CmdID

CmdID / aws / aws deploy

aws deploy batch-get-deployments

Gets information about one or more deployments. AWS CLI reference

1 example 1 option 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 get information about multiple deployments

The following batch-get-deployments example displays information about multiple deployments that are associated with the user's AWS account.

aws deploy batch-get-deployments --deployment-ids d-A1B2C3111 d-A1B2C3222Identify
--deployment-idsA list of deployment IDs, separated by spaces.
Its output, shortened
{
    "deploymentsInfo": [
        {
            "applicationName": "WordPress_App",
            "status": "Failed",
            "deploymentOverview": {
                "Failed": 0,
                "InProgress": 0,
                "Skipped": 0,
                "Succeeded": 1,
                "Pending": 0
            },
            "deploymentConfigName": "CodeDeployDefault.OneAtATime",
            "creator": "user",
            "deploymentGroupName": "WordPress_DG",
            "revision": {
                "revisionType": "S3",
                "s3Location": {
                "bundleType": "zip",
                "version": "uTecLusEXAMPLEFXtfUcyfV8bEXAMPLE",
                "bucket": "CodeDeployDemoBucket",
                "key": "WordPressApp.zip"
                }
            },
            "deploymentId": "d-A1B2C3111",
            "createTime": 1408480721.9,
            "completeTime": 1408480741.822
        },
        {
            "applicationName": "MyOther_App",
… 30 more lines

For more information, see View CodeDeploy deployment details in the AWS CodeDeploy User Guide.

Options

1 in the AWS CLI reference
--deployment-idsA list of deployment IDs, separated by spaces.