HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/awscli/examples/greengrass/get-deployment-status.rst
**To retrieve the status of a deployment**

The following ``get-deployment-status`` example retrieves the status for the specified deployment of the specified Greengrass group. To get the deployment ID, use the ``list-deployments`` command and specify the group ID. ::

    aws greengrass get-deployment-status \
        --group-id "1013db12-8b58-45ff-acc7-704248f66731" \
        --deployment-id "1065b8a0-812b-4f21-9d5d-e89b232a530f"
    
Output::

    {
        "DeploymentStatus": "Success",
        "DeploymentType": "NewDeployment",
        "UpdatedAt": "2019-06-18T17:04:44.761Z"
    }