SnowDeviceManagement.Client.describe_task(**kwargs)¶Checks the metadata for a given task on a device.
See also: AWS API Documentation
Request Syntax
response = client.describe_task(
taskId='string'
)
[REQUIRED]
The ID of the task to be described.
{
'completedAt': datetime(2015, 1, 1),
'createdAt': datetime(2015, 1, 1),
'description': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'state': 'IN_PROGRESS'|'CANCELED'|'COMPLETED',
'tags': {
'string': 'string'
},
'targets': [
'string',
],
'taskArn': 'string',
'taskId': 'string'
}
Response Structure
When the task was completed.
When the CreateTask operation was called.
The description provided of the task and managed devices.
When the state of the task was last updated.
The current state of the task.
Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.
The managed devices that the task was sent to.
The Amazon Resource Name (ARN) of the task.
The ID of the task.
Exceptions
SnowDeviceManagement.Client.exceptions.ThrottlingExceptionSnowDeviceManagement.Client.exceptions.InternalServerExceptionSnowDeviceManagement.Client.exceptions.ResourceNotFoundExceptionSnowDeviceManagement.Client.exceptions.ValidationExceptionSnowDeviceManagement.Client.exceptions.AccessDeniedException