{ "info": { "_postman_id": "959e49ad-faf5-4a65-8915-ce8fbaaea783", "name": "AWS CodeDeploy Applications Deployments 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:10:56.000Z", "updatedAt": "2026-07-28T10:10:56.000Z", "lastUpdatedBy": "35240", "uid": "35240-959e49ad-faf5-4a65-8915-ce8fbaaea783" }, "item": [ { "name": "deployments", "item": [ { "name": "{deploymentId}", "item": [ { "name": "Amazon CodeDeploy Get Deployment Details", "id": "595ec68c-1335-4496-84fb-1daa4c11c039", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/deployments/:deploymentId", "host": [ "{{baseUrl}}" ], "path": [ "deployments", ":deploymentId" ], "variable": [ { "id": "569050ec-5f64-478c-8d7c-3bbcad4210d4", "key": "deploymentId", "value": "", "description": "(Required) The unique ID of a deployment." } ] }, "description": "Gets information about a deployment, including details about the deployment status." }, "response": [ { "id": "e8da8ef8-0daf-4a9a-9852-450f17455c18", "name": "Successful response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/deployments/:deploymentId", "host": [ "{{baseUrl}}" ], "path": [ "deployments", ":deploymentId" ], "variable": [ { "key": "deploymentId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"deploymentInfo\": {\n \"deploymentId\": \"\",\n \"applicationName\": \"\",\n \"deploymentGroupName\": \"\",\n \"status\": \"Stopped\",\n \"createTime\": \"\",\n \"startTime\": \"\",\n \"completeTime\": \"\",\n \"description\": \"\",\n \"creator\": \"\",\n \"computePlatform\": \"\"\n }\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-e8da8ef8-0daf-4a9a-9852-450f17455c18" }, { "id": "0eb6fbad-a9da-45b5-9bb6-3cdfeaa40c1e", "name": "Bad request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/deployments/:deploymentId", "host": [ "{{baseUrl}}" ], "path": [ "deployments", ":deploymentId" ], "variable": [ { "key": "deploymentId" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-0eb6fbad-a9da-45b5-9bb6-3cdfeaa40c1e" }, { "id": "52758b5c-fd66-4168-b451-f4c31342f5af", "name": "Deployment not found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/deployments/:deploymentId", "host": [ "{{baseUrl}}" ], "path": [ "deployments", ":deploymentId" ], "variable": [ { "key": "deploymentId" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-52758b5c-fd66-4168-b451-f4c31342f5af" }, { "id": "9b954979-2bfe-4ecd-ac18-c8ed9daa9548", "name": "Internal server error", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/deployments/:deploymentId", "host": [ "{{baseUrl}}" ], "path": [ "deployments", ":deploymentId" ], "variable": [ { "key": "deploymentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-9b954979-2bfe-4ecd-ac18-c8ed9daa9548" } ], "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-595ec68c-1335-4496-84fb-1daa4c11c039" } ], "id": "94240c18-2c74-4d7c-9606-d9975e229b91", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-94240c18-2c74-4d7c-9606-d9975e229b91" }, { "name": "Amazon CodeDeploy Create a Deployment", "id": "3e640fbc-9bcf-48da-ae8a-53d9e046af86", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"applicationName\": \"\",\n \"deploymentGroupName\": \"\",\n \"revision\": {\n \"revisionType\": \"String\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"tar\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n }\n },\n \"description\": \"\",\n \"autoRollbackConfiguration\": {\n \"enabled\": \"\",\n \"events\": [\n \"DEPLOYMENT_STOP_ON_REQUEST\",\n \"DEPLOYMENT_STOP_ON_REQUEST\"\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/deployments", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ] }, "description": "Deploys an application revision through the specified deployment group." }, "response": [ { "id": "159f7771-f138-4c6f-a504-f125f1b9487c", "name": "Deployment created", "originalRequest": { "method": "POST", "header": [ { "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 \"applicationName\": \"\",\n \"deploymentGroupName\": \"\",\n \"revision\": {\n \"revisionType\": \"String\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"tar\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n }\n },\n \"description\": \"\",\n \"autoRollbackConfiguration\": {\n \"enabled\": \"\",\n \"events\": [\n \"DEPLOYMENT_STOP_ON_REQUEST\",\n \"DEPLOYMENT_STOP_ON_REQUEST\"\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/deployments", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"deploymentId\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-159f7771-f138-4c6f-a504-f125f1b9487c" }, { "id": "2807789e-48ed-4941-9059-b1866ad7c453", "name": "Bad request", "originalRequest": { "method": "POST", "header": [ { "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 \"applicationName\": \"\",\n \"deploymentGroupName\": \"\",\n \"revision\": {\n \"revisionType\": \"String\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"tar\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n }\n },\n \"description\": \"\",\n \"autoRollbackConfiguration\": {\n \"enabled\": \"\",\n \"events\": [\n \"DEPLOYMENT_STOP_ON_REQUEST\",\n \"DEPLOYMENT_STOP_ON_REQUEST\"\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/deployments", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-2807789e-48ed-4941-9059-b1866ad7c453" }, { "id": "50cc5620-bc66-45d0-a0b4-e1d822732436", "name": "Internal server error", "originalRequest": { "method": "POST", "header": [ { "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 \"applicationName\": \"\",\n \"deploymentGroupName\": \"\",\n \"revision\": {\n \"revisionType\": \"String\",\n \"s3Location\": {\n \"bucket\": \"\",\n \"key\": \"\",\n \"bundleType\": \"tar\"\n },\n \"gitHubLocation\": {\n \"repository\": \"\",\n \"commitId\": \"\"\n }\n },\n \"description\": \"\",\n \"autoRollbackConfiguration\": {\n \"enabled\": \"\",\n \"events\": [\n \"DEPLOYMENT_STOP_ON_REQUEST\",\n \"DEPLOYMENT_STOP_ON_REQUEST\"\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/deployments", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-50cc5620-bc66-45d0-a0b4-e1d822732436" } ], "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-3e640fbc-9bcf-48da-ae8a-53d9e046af86" }, { "name": "Amazon CodeDeploy List Deployments", "id": "723287a8-f47b-451a-8bfd-6135e13510f1", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/deployments?applicationName=&deploymentGroupName=&nextToken=&includeOnlyStatuses=Baking&includeOnlyStatuses=InProgress", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ], "query": [ { "description": "The name of the application.", "key": "applicationName", "value": "" }, { "description": "The name of the deployment group.", "key": "deploymentGroupName", "value": "" }, { "description": "Token for pagination.", "key": "nextToken", "value": "" }, { "description": "Filter by deployment status.", "key": "includeOnlyStatuses", "value": "Baking" }, { "description": "Filter by deployment status.", "key": "includeOnlyStatuses", "value": "InProgress" } ] }, "description": "Lists the deployments in a deployment group for an application registered with the user or AWS account." }, "response": [ { "id": "c5cdb0e7-9f11-488e-a10a-02cf057c2c70", "name": "Successful response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/deployments?applicationName=&deploymentGroupName=&nextToken=&includeOnlyStatuses=InProgress", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ], "query": [ { "description": "The name of the application.", "key": "applicationName", "value": "" }, { "description": "The name of the deployment group.", "key": "deploymentGroupName", "value": "" }, { "description": "Token for pagination.", "key": "nextToken", "value": "" }, { "description": "Filter by deployment status.", "key": "includeOnlyStatuses", "value": "InProgress" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"deployments\": [\n \"\",\n \"\"\n ],\n \"nextToken\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-c5cdb0e7-9f11-488e-a10a-02cf057c2c70" }, { "id": "66c29e92-c463-4ae1-8824-a8fe3e1d167b", "name": "Bad request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/deployments?applicationName=&deploymentGroupName=&nextToken=&includeOnlyStatuses=InProgress", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ], "query": [ { "description": "The name of the application.", "key": "applicationName", "value": "" }, { "description": "The name of the deployment group.", "key": "deploymentGroupName", "value": "" }, { "description": "Token for pagination.", "key": "nextToken", "value": "" }, { "description": "Filter by deployment status.", "key": "includeOnlyStatuses", "value": "InProgress" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-66c29e92-c463-4ae1-8824-a8fe3e1d167b" }, { "id": "68d8fa35-fcc7-4e70-85c2-d2327319fa9d", "name": "Internal server error", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/deployments?applicationName=&deploymentGroupName=&nextToken=&includeOnlyStatuses=InProgress", "host": [ "{{baseUrl}}" ], "path": [ "deployments" ], "query": [ { "description": "The name of the application.", "key": "applicationName", "value": "" }, { "description": "The name of the deployment group.", "key": "deploymentGroupName", "value": "" }, { "description": "Token for pagination.", "key": "nextToken", "value": "" }, { "description": "Filter by deployment status.", "key": "includeOnlyStatuses", "value": "InProgress" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\"\n}", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-68d8fa35-fcc7-4e70-85c2-d2327319fa9d" } ], "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-723287a8-f47b-451a-8bfd-6135e13510f1" } ], "id": "f40c94d2-af2a-45fb-a1e9-df3957fc6095", "createdAt": "2026-07-28T10:10:57.000Z", "updatedAt": "2026-07-28T10:10:57.000Z", "uid": "35240-f40c94d2-af2a-45fb-a1e9-df3957fc6095" } ], "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" } ] }