SsmSap.Client.
get_operation
(**kwargs)¶Gets the details of an operation by specifying the operation ID.
See also: AWS API Documentation
Request Syntax
response = client.get_operation(
OperationId='string'
)
[REQUIRED]
The ID of the operation.
{
'Operation': {
'Id': 'string',
'Type': 'string',
'Status': 'INPROGRESS'|'SUCCESS'|'ERROR',
'StatusMessage': 'string',
'Properties': {
'string': 'string'
},
'ResourceType': 'string',
'ResourceId': 'string',
'ResourceArn': 'string',
'StartTime': datetime(2015, 1, 1),
'EndTime': datetime(2015, 1, 1),
'LastUpdatedTime': datetime(2015, 1, 1)
}
}
Response Structure
Returns the details of an operation.
The ID of the operation.
The type of the operation.
The status of the operation.
The status message of the operation.
The properties of the operation.
The resource type of the operation.
The resource ID of the operation.
The Amazon Resource Name (ARN) of the operation.
The start time of the operation.
The end time of the operation.
The time at which the operation was last updated.
Exceptions
SsmSap.Client.exceptions.ValidationException
SsmSap.Client.exceptions.InternalServerException