CmdID

CmdID / aws / aws greengrass

aws greengrass list-deployments

Returns a history of deployments for the group. 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 deployments for a Greengrass group

The following list-deployments example lists the deployments for the specified Greengrass group. You can use the list-groups command to look up your group ID.

aws greengrass list-deployments --group-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify
--group-idThe ID of the Greengrass group.
Its output
{
    "Deployments": [
        {
            "CreatedAt": "2019-06-18T17:04:32.702Z",
            "DeploymentId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "DeploymentType": "NewDeployment",
            "GroupArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/groups/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/versions/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333"
        }
    ]
}

For more information, see Deploy AWS IoT Greengrass groups to an AWS IoT Greengrass core in the AWS IoT Greengrass Version 1 Developer Guide.

Options

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