Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/deploy/list-deployments.rst
1567 views
**To get information about deployments**

The following ``list-deployments`` example displays information about all deployments that are associated with the specified application and deployment group. ::

    aws deploy list-deployments \
        --application-name WordPress_App \
        --create-time-range start=2014-08-19T00:00:00,end=2014-08-20T00:00:00 \
        --deployment-group-name WordPress_DG \
        --include-only-statuses Failed

Output::

    {
        "deployments": [
            "d-EXAMPLE11",
            "d-EXAMPLE22",
            "d-EXAMPLE33"
        ]
    }