MainframeModernization.Client.
get_deployment
(**kwargs)¶Gets details of a specific deployment with a given deployment identifier.
See also: AWS API Documentation
Request Syntax
response = client.get_deployment(
applicationId='string',
deploymentId='string'
)
[REQUIRED]
The unique identifier of the application.
[REQUIRED]
The unique identifier for the deployment.
dict
Response Syntax
{
'applicationId': 'string',
'applicationVersion': 123,
'creationTime': datetime(2015, 1, 1),
'deploymentId': 'string',
'environmentId': 'string',
'status': 'Deploying'|'Succeeded'|'Failed',
'statusReason': 'string'
}
Response Structure
(dict) --
applicationId (string) --
The unique identifier of the application.
applicationVersion (integer) --
The application version.
creationTime (datetime) --
The timestamp when the deployment was created.
deploymentId (string) --
The unique identifier of the deployment.
environmentId (string) --
The unique identifier of the runtime environment.
status (string) --
The status of the deployment.
statusReason (string) --
The reason for the reported status.
Exceptions
MainframeModernization.Client.exceptions.ValidationException
MainframeModernization.Client.exceptions.InternalServerException
MainframeModernization.Client.exceptions.AccessDeniedException
MainframeModernization.Client.exceptions.ThrottlingException
MainframeModernization.Client.exceptions.ResourceNotFoundException