CmdID / aws / aws greengrass
aws greengrass get-connector-definition-version
Retrieves information about a connector definition version, including the connectors that the version contains. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To retrieve information about a specific version of a connector definition
The following get-connector-definition-version example retrieves information about the specified version of the specified connector definition. To retrieve the IDs of all versions of the connector definition, use the list-connector-definition-versions command. To retrieve the ID of the last version added to the connector definition, use the get-connector-definition command and check the LatestVersion property.
aws greengrass get-connector-definition-version --connector-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --connector-definition-version-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"Identify--connector-definition-idThe ID of the connector definition.--connector-definition-version-idThe ID of the connector definition version.Its output
{
"Arn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/connectors/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/versions/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"CreationTimestamp": "2019-06-19T19:30:01.300Z",
"Definition": {
"Connectors": [
{
"ConnectorArn": "arn:aws:greengrass:us-west-2::/connectors/SNS/versions/1",
"Id": "MySNSConnector",
"Parameters": {
"DefaultSNSArn": "arn:aws:sns:us-west-2:123456789012:GGConnectorTopic"
}
}
]
},
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"Version": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
}For more information, see Integrate with services and protocols using Greengrass connectors in the AWS IoT Greengrass Developer Guide.
Options
--connector-definition-idThe ID of the connector definition.--connector-definition-version-idThe ID of the connector definition version.--next-tokenThe token for the next set of results, or ''null'' if there are no additional results.