CmdID

CmdID / aws / aws greengrass

aws greengrass list-core-definition-versions

Lists the versions of a core definition. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list the versions of a Greengrass core definition

The following list-core-definition-versions example lists all versions of the specified Greengrass core definition. You can use the list-core-definitions command to get the version ID.

aws greengrass list-core-definition-versions --core-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify
--core-definition-idThe ID of the core definition.
Its output
{
    "Versions": [
        {
            "Arn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/definition/cores/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/versions/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "CreationTimestamp": "2019-06-18T16:14:17.709Z",
            "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "Version": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
        }
    ]
}

For more information, see Configure the AWS IoT Greengrass core in the AWS IoT Greengrass Developer Guide.

Options

3 in the AWS CLI reference
--core-definition-idThe ID of the core 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.