GetDeployment - AWS AppConfig

GetDeployment

Retrieve information about a configuration deployment.

Request Syntax

GET /applications/ApplicationId/environments/EnvironmentId/deployments/DeploymentNumber HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

ApplicationId

The ID of the application that includes the deployment you want to get.

Pattern: [a-z0-9]{4,7}

Required: Yes

DeploymentNumber

The sequence number of the deployment.

Required: Yes

EnvironmentId

The ID of the environment that includes the deployment you want to get.

Pattern: [a-z0-9]{4,7}

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "ApplicationId": "string", "CompletedAt": number, "ConfigurationLocationUri": "string", "ConfigurationName": "string", "ConfigurationProfileId": "string", "ConfigurationVersion": "string", "DeploymentDurationInMinutes": number, "DeploymentNumber": number, "DeploymentStrategyId": "string", "Description": "string", "EnvironmentId": "string", "EventLog": [ { "Description": "string", "EventType": "string", "OccurredAt": number, "TriggeredBy": "string" } ], "FinalBakeTimeInMinutes": number, "GrowthFactor": number, "GrowthType": "string", "PercentageComplete": number, "StartedAt": number, "State": "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.

ApplicationId

The ID of the application that was deployed.

Type: String

Pattern: [a-z0-9]{4,7}

CompletedAt

The time the deployment completed.

Type: Timestamp

ConfigurationLocationUri

Information about the source location of the configuration.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

ConfigurationName

The name of the configuration.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

ConfigurationProfileId

The ID of the configuration profile that was deployed.

Type: String

Pattern: [a-z0-9]{4,7}

ConfigurationVersion

The configuration version that was deployed.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

DeploymentDurationInMinutes

Total amount of time the deployment lasted.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 1440.

DeploymentNumber

The sequence number of the deployment.

Type: Integer

DeploymentStrategyId

The ID of the deployment strategy that was deployed.

Type: String

Pattern: [a-z0-9]{4,7}

Description

The description of the deployment.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

EnvironmentId

The ID of the environment that was deployed.

Type: String

Pattern: [a-z0-9]{4,7}

EventLog

A list containing all events related to a deployment. The most recent events are displayed first.

Type: Array of DeploymentEvent objects

FinalBakeTimeInMinutes

The amount of time AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic roll back.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 1440.

GrowthFactor

The percentage of targets to receive a deployed configuration during each interval.

Type: Float

Valid Range: Minimum value of 1.0. Maximum value of 100.0.

GrowthType

The algorithm used to define how percentage grew over time.

Type: String

Valid Values: LINEAR | EXPONENTIAL

PercentageComplete

The percentage of targets for which the deployment is available.

Type: Float

Valid Range: Minimum value of 1.0. Maximum value of 100.0.

StartedAt

The time the deployment started.

Type: Timestamp

State

The state of the deployment.

Type: String

Valid Values: BAKING | VALIDATING | DEPLOYING | COMPLETE | ROLLING_BACK | ROLLED_BACK

Errors

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

BadRequestException

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

HTTP Status Code: 400

InternalServerException

There was an internal failure in the AppConfig service.

HTTP Status Code: 500

ResourceNotFoundException

The requested resource could not be found.

HTTP Status Code: 404

See Also

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