GetDeployment - AWS Launch Wizard

GetDeployment

Returns information about the deployment.

Request Syntax

POST /getDeployment HTTP/1.1 Content-type: application/json { "deploymentId": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

deploymentId

The ID of the deployment.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 128.

Pattern: ^[a-zA-Z0-9-]+$

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "deployment": { "createdAt": number, "deletedAt": number, "deploymentArn": "string", "id": "string", "name": "string", "patternName": "string", "resourceGroup": "string", "specifications": { "string" : "string" }, "status": "string", "tags": { "string" : "string" }, "workloadName": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

deployment

An object that details the deployment.

Type: DeploymentData object

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on re:Post.

HTTP Status Code: 500

ResourceNotFoundException

The specified workload or deployment resource can't be found.

HTTP Status Code: 404

ValidationException

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: