{ "info": { "_postman_id": "beb3f471-aae0-4856-ae02-f0732b57526b", "name": "AWS CodeDeploy Applications #X Amz Target=CodeDeploy 20141006.BatchGetDeployments API", "description": "

CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, serverless Lambda functions, or applications in an Amazon ECS service.

You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, updated applications in an Amazon ECS service, code, web and configuration files, executables, packages, scripts, multimedia files, and so on. CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use CodeDeploy.

CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications, without many of the risks associated with error-prone manual deployments.

CodeDeploy Components

Use the information in this guide to help you work with the following CodeDeploy components:

This guide also contains information to help you get details about the instances in your deployments, to make on-premises instances available for CodeDeploy deployments, to get details about a Lambda function deployment, and to get details about Amazon ECS service deployments.

CodeDeploy Information Resources

\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T10:11:04.000Z", "updatedAt": "2026-07-28T10:11:05.000Z", "lastUpdatedBy": "35240", "uid": "35240-beb3f471-aae0-4856-ae02-f0732b57526b" }, "item": [ { "name": "#X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments", "item": [ { "name": "Amazon CodeDeploy Batch Get Deployments", "id": "d9d18afd-6b39-4707-ae17-e108607ffc12", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "description": "(Required) ", "key": "X-Amz-Target", "value": "CodeDeploy_20141006.BatchGetDeployments" }, { "key": "X-Amz-Content-Sha256", "value": "" }, { "key": "X-Amz-Date", "value": "" }, { "key": "X-Amz-Algorithm", "value": "" }, { "key": "X-Amz-Credential", "value": "" }, { "key": "X-Amz-Security-Token", "value": "" }, { "key": "X-Amz-Signature", "value": "" }, { "key": "X-Amz-SignedHeaders", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"deploymentIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/#X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments", "host": [ "{{baseUrl}}" ], "path": [ "" ], "hash": "X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments" }, "description": "Gets information about one or more deployments. The maximum number of deployments that can be returned is 25." }, "response": [ { "id": "51d85c4b-129d-439a-babe-0a20fda02573", "name": "Success", "originalRequest": { "method": "POST", "header": [ { "description": "(Required) ", "key": "X-Amz-Target", "value": "CodeDeploy_20141006.BatchGetDeployments" }, { "key": "X-Amz-Content-Sha256", "value": "" }, { "key": "X-Amz-Date", "value": "" }, { "key": "X-Amz-Algorithm", "value": "" }, { "key": "X-Amz-Credential", "value": "" }, { "key": "X-Amz-Security-Token", "value": "" }, { "key": "X-Amz-Signature", "value": "" }, { "key": "X-Amz-SignedHeaders", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"deploymentIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/#X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments", "host": [ "{{baseUrl}}" ], "path": [ "" ], "hash": "X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments" } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"deploymentsInfo\": [\n {\n \"applicationName\": \"\",\n \"deploymentGroupName\": \"\",\n \"deploymentConfigName\": \"\",\n \"deploymentId\": \"\",\n \"previousRevision\": {\n \"revisionType\": \"AppSpecContent\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"tgz\",\n \"version\": \"\",\n \"eTag\": \"\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n },\n \"string\": {\n \"content\": \"\",\n \"sha256\": \"\"\n },\n \"appSpecContent\": {\n \"content\": \"\",\n \"sha256\": \"\"\n }\n },\n \"revision\": {\n \"revisionType\": \"AppSpecContent\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"tar\",\n \"version\": \"\",\n \"eTag\": \"\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n },\n \"string\": {\n \"content\": \"\",\n \"sha256\": \"\"\n },\n \"appSpecContent\": {\n \"content\": \"\",\n \"sha256\": \"\"\n }\n },\n \"status\": \"Queued\",\n \"errorInformation\": {\n \"code\": \"AUTO_SCALING_CONFIGURATION\",\n \"message\": \"\"\n },\n \"createTime\": \"\",\n \"startTime\": \"\",\n \"completeTime\": \"\",\n \"deploymentOverview\": {\n \"Pending\": \"\",\n \"InProgress\": \"\",\n \"Succeeded\": \"\",\n \"Failed\": \"\",\n \"Skipped\": \"\",\n \"Ready\": \"\"\n },\n \"description\": \"\",\n \"creator\": \"autoscaling\",\n \"ignoreApplicationStopFailures\": \"\",\n \"autoRollbackConfiguration\": {\n \"enabled\": \"\",\n \"events\": [\n \"DEPLOYMENT_STOP_ON_ALARM\",\n \"DEPLOYMENT_STOP_ON_REQUEST\"\n ]\n },\n \"updateOutdatedInstancesOnly\": \"\",\n \"rollbackInfo\": {\n \"rollbackDeploymentId\": \"\",\n \"rollbackTriggeringDeploymentId\": \"\",\n \"rollbackMessage\": \"\"\n },\n \"deploymentStyle\": {\n \"deploymentType\": \"IN_PLACE\",\n \"deploymentOption\": \"WITH_TRAFFIC_CONTROL\"\n },\n \"targetInstances\": {\n \"tagFilters\": [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_ONLY\"\n },\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"VALUE_ONLY\"\n }\n ],\n \"autoScalingGroups\": [\n \"\",\n \"\"\n ],\n \"ec2TagSet\": {\n \"ec2TagSetList\": [\n [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_AND_VALUE\"\n },\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_AND_VALUE\"\n }\n ],\n [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_ONLY\"\n },\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_ONLY\"\n }\n ]\n ]\n }\n },\n \"instanceTerminationWaitTimeStarted\": \"\",\n \"blueGreenDeploymentConfiguration\": {\n \"terminateBlueInstancesOnDeploymentSuccess\": {\n \"action\": \"KEEP_ALIVE\",\n \"terminationWaitTimeInMinutes\": \"\"\n },\n \"deploymentReadyOption\": {\n \"actionOnTimeout\": \"CONTINUE_DEPLOYMENT\",\n \"waitTimeInMinutes\": \"\"\n },\n \"greenFleetProvisioningOption\": {\n \"action\": \"COPY_AUTO_SCALING_GROUP\"\n }\n },\n \"loadBalancerInfo\": {\n \"elbInfoList\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"targetGroupInfoList\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"targetGroupPairInfoList\": [\n {\n \"targetGroups\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"prodTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n },\n \"testTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"targetGroups\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"prodTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n },\n \"testTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n }\n }\n ]\n },\n \"additionalDeploymentStatusInfo\": \"\",\n \"fileExistsBehavior\": \"OVERWRITE\",\n \"deploymentStatusMessages\": [\n \"\",\n \"\"\n ],\n \"computePlatform\": \"ECS\",\n \"externalId\": \"\",\n \"relatedDeployments\": {\n \"autoUpdateOutdatedInstancesRootDeploymentId\": \"\",\n \"autoUpdateOutdatedInstancesDeploymentIds\": [\n \"\",\n \"\"\n ]\n },\n \"overrideAlarmConfiguration\": {\n \"enabled\": \"\",\n \"ignorePollAlarmFailure\": \"\",\n \"alarms\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ]\n }\n },\n {\n \"applicationName\": \"\",\n \"deploymentGroupName\": \"\",\n \"deploymentConfigName\": \"\",\n \"deploymentId\": \"\",\n \"previousRevision\": {\n \"revisionType\": \"S3\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"JSON\",\n \"version\": \"\",\n \"eTag\": \"\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n },\n \"string\": {\n \"content\": \"\",\n \"sha256\": \"\"\n },\n \"appSpecContent\": {\n \"content\": \"\",\n \"sha256\": \"\"\n }\n },\n \"revision\": {\n \"revisionType\": \"S3\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"zip\",\n \"version\": \"\",\n \"eTag\": \"\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n },\n \"string\": {\n \"content\": \"\",\n \"sha256\": \"\"\n },\n \"appSpecContent\": {\n \"content\": \"\",\n \"sha256\": \"\"\n }\n },\n \"status\": \"InProgress\",\n \"errorInformation\": {\n \"code\": \"MISSING_ELB_INFORMATION\",\n \"message\": \"\"\n },\n \"createTime\": \"\",\n \"startTime\": \"\",\n \"completeTime\": \"\",\n \"deploymentOverview\": {\n \"Pending\": \"\",\n \"InProgress\": \"\",\n \"Succeeded\": \"\",\n \"Failed\": \"\",\n \"Skipped\": \"\",\n \"Ready\": \"\"\n },\n \"description\": \"\",\n \"creator\": \"codeDeployRollback\",\n \"ignoreApplicationStopFailures\": \"\",\n \"autoRollbackConfiguration\": {\n \"enabled\": \"\",\n \"events\": [\n \"DEPLOYMENT_FAILURE\",\n \"DEPLOYMENT_STOP_ON_ALARM\"\n ]\n },\n \"updateOutdatedInstancesOnly\": \"\",\n \"rollbackInfo\": {\n \"rollbackDeploymentId\": \"\",\n \"rollbackTriggeringDeploymentId\": \"\",\n \"rollbackMessage\": \"\"\n },\n \"deploymentStyle\": {\n \"deploymentType\": \"BLUE_GREEN\",\n \"deploymentOption\": \"WITH_TRAFFIC_CONTROL\"\n },\n \"targetInstances\": {\n \"tagFilters\": [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"VALUE_ONLY\"\n },\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"VALUE_ONLY\"\n }\n ],\n \"autoScalingGroups\": [\n \"\",\n \"\"\n ],\n \"ec2TagSet\": {\n \"ec2TagSetList\": [\n [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_ONLY\"\n },\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"VALUE_ONLY\"\n }\n ],\n [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_ONLY\"\n },\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Type\": \"KEY_AND_VALUE\"\n }\n ]\n ]\n }\n },\n \"instanceTerminationWaitTimeStarted\": \"\",\n \"blueGreenDeploymentConfiguration\": {\n \"terminateBlueInstancesOnDeploymentSuccess\": {\n \"action\": \"TERMINATE\",\n \"terminationWaitTimeInMinutes\": \"\"\n },\n \"deploymentReadyOption\": {\n \"actionOnTimeout\": \"STOP_DEPLOYMENT\",\n \"waitTimeInMinutes\": \"\"\n },\n \"greenFleetProvisioningOption\": {\n \"action\": \"COPY_AUTO_SCALING_GROUP\"\n }\n },\n \"loadBalancerInfo\": {\n \"elbInfoList\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"targetGroupInfoList\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"targetGroupPairInfoList\": [\n {\n \"targetGroups\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"prodTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n },\n \"testTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"targetGroups\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ],\n \"prodTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n },\n \"testTrafficRoute\": {\n \"listenerArns\": [\n \"\",\n \"\"\n ]\n }\n }\n ]\n },\n \"additionalDeploymentStatusInfo\": \"\",\n \"fileExistsBehavior\": \"DISALLOW\",\n \"deploymentStatusMessages\": [\n \"\",\n \"\"\n ],\n \"computePlatform\": \"Lambda\",\n \"externalId\": \"\",\n \"relatedDeployments\": {\n \"autoUpdateOutdatedInstancesRootDeploymentId\": \"\",\n \"autoUpdateOutdatedInstancesDeploymentIds\": [\n \"\",\n \"\"\n ]\n },\n \"overrideAlarmConfiguration\": {\n \"enabled\": \"\",\n \"ignorePollAlarmFailure\": \"\",\n \"alarms\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ]\n }\n }\n ]\n}", "createdAt": "2026-07-28T10:11:05.000Z", "updatedAt": "2026-07-28T10:11:05.000Z", "uid": "35240-51d85c4b-129d-439a-babe-0a20fda02573" }, { "id": "947ae54f-660f-4828-b635-8aa623b790b7", "name": "DeploymentIdRequiredException", "originalRequest": { "method": "POST", "header": [ { "description": "(Required) ", "key": "X-Amz-Target", "value": "CodeDeploy_20141006.BatchGetDeployments" }, { "key": "X-Amz-Content-Sha256", "value": "" }, { "key": "X-Amz-Date", "value": "" }, { "key": "X-Amz-Algorithm", "value": "" }, { "key": "X-Amz-Credential", "value": "" }, { "key": "X-Amz-Security-Token", "value": "" }, { "key": "X-Amz-Signature", "value": "" }, { "key": "X-Amz-SignedHeaders", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"deploymentIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/#X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments", "host": [ "{{baseUrl}}" ], "path": [ "" ], "hash": "X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments" } }, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T10:11:05.000Z", "updatedAt": "2026-07-28T10:11:05.000Z", "uid": "35240-947ae54f-660f-4828-b635-8aa623b790b7" }, { "id": "a471ccd7-2f31-4cd9-b12a-68c96c188380", "name": "InvalidDeploymentIdException", "originalRequest": { "method": "POST", "header": [ { "description": "(Required) ", "key": "X-Amz-Target", "value": "CodeDeploy_20141006.BatchGetDeployments" }, { "key": "X-Amz-Content-Sha256", "value": "" }, { "key": "X-Amz-Date", "value": "" }, { "key": "X-Amz-Algorithm", "value": "" }, { "key": "X-Amz-Credential", "value": "" }, { "key": "X-Amz-Security-Token", "value": "" }, { "key": "X-Amz-Signature", "value": "" }, { "key": "X-Amz-SignedHeaders", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"deploymentIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/#X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments", "host": [ "{{baseUrl}}" ], "path": [ "" ], "hash": "X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments" } }, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T10:11:05.000Z", "updatedAt": "2026-07-28T10:11:05.000Z", "uid": "35240-a471ccd7-2f31-4cd9-b12a-68c96c188380" }, { "id": "a22d24f5-9e70-4782-b96b-291c97645853", "name": "BatchLimitExceededException", "originalRequest": { "method": "POST", "header": [ { "description": "(Required) ", "key": "X-Amz-Target", "value": "CodeDeploy_20141006.BatchGetDeployments" }, { "key": "X-Amz-Content-Sha256", "value": "" }, { "key": "X-Amz-Date", "value": "" }, { "key": "X-Amz-Algorithm", "value": "" }, { "key": "X-Amz-Credential", "value": "" }, { "key": "X-Amz-Security-Token", "value": "" }, { "key": "X-Amz-Signature", "value": "" }, { "key": "X-Amz-SignedHeaders", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"deploymentIds\": [\n \"\",\n \"\"\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/#X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments", "host": [ "{{baseUrl}}" ], "path": [ "" ], "hash": "X-Amz-Target=CodeDeploy_20141006.BatchGetDeployments" } }, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{}", "createdAt": "2026-07-28T10:11:05.000Z", "updatedAt": "2026-07-28T10:11:05.000Z", "uid": "35240-a22d24f5-9e70-4782-b96b-291c97645853" } ], "createdAt": "2026-07-28T10:11:05.000Z", "updatedAt": "2026-07-28T10:11:05.000Z", "uid": "35240-d9d18afd-6b39-4707-ae17-e108607ffc12" } ], "id": "5645486b-bbc2-4b78-83c3-90f5e0e5e7e2", "createdAt": "2026-07-28T10:11:05.000Z", "updatedAt": "2026-07-28T10:11:05.000Z", "uid": "35240-5645486b-bbc2-4b78-83c3-90f5e0e5e7e2" } ], "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "Authorization", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "variable": [ { "key": "region", "value": "us-east-1" }, { "key": "baseUrl", "value": "http://codedeploy.{{region}}.amazonaws.com" } ] }