MainframeModernization / Client / get_deployment
get_deployment#
- 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' )
- Parameters:
applicationId (string) –
[REQUIRED]
The unique identifier of the application.
deploymentId (string) –
[REQUIRED]
The unique identifier for the deployment.
- Return type:
dict
- Returns:
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.ResourceNotFoundException
MainframeModernization.Client.exceptions.ThrottlingException
MainframeModernization.Client.exceptions.AccessDeniedException
MainframeModernization.Client.exceptions.ValidationException
MainframeModernization.Client.exceptions.InternalServerException