CmdID / aws / aws greengrass
aws greengrass list-connector-definition-versions
Lists the versions of a connector definition, which are containers for connectors. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list the versions that are available for a connector definition
The following list-connector-definition-versions example lists the versions that are available for the specified connector definition. Use the list-connector-definitions command to get the connector definition ID.
aws greengrass list-connector-definition-versions --connector-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify--connector-definition-idThe ID of the connector definition.Its output
{
"Versions": [
{
"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",
"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.--max-resultsThe maximum number of results to be returned per request.--next-tokenThe token for the next set of results, or ''null'' if there are no additional results.