CmdID

CmdID / aws / aws greengrass

aws greengrass reset-deployments

Resets a group's deployments. 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 clean up deployment information for a Greengrass group

The following reset-deployments example cleans up deployment information for the specified Greengrass group. When you add the --force option, the deployment information is reset without waiting for the core device to respond.

aws greengrass reset-deployments --group-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --forceIdentify
--group-idThe ID of the Greengrass group.
--forceIf true, performs a best-effort only core reset.
Its output
{
    "DeploymentArn": "arn:aws:greengrass:us-west-2:123456789012:/greengrass/groups/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/deployments/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
    "DeploymentId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
}

For more information, see Reset deployments in the AWS IoT Greengrass Developer Guide.

Options

3 in the AWS CLI reference
--amzn-client-tokenA client token used to correlate requests and responses.
--forceIf true, performs a best-effort only core reset.
--group-idThe ID of the Greengrass group.