describe_thing_registration_task
(**kwargs)¶Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
See also: AWS API Documentation
Request Syntax
response = client.describe_thing_registration_task(
taskId='string'
)
[REQUIRED]
The task ID.
{
'taskId': 'string',
'creationDate': datetime(2015, 1, 1),
'lastModifiedDate': datetime(2015, 1, 1),
'templateBody': 'string',
'inputFileBucket': 'string',
'inputFileKey': 'string',
'roleArn': 'string',
'status': 'InProgress'|'Completed'|'Failed'|'Cancelled'|'Cancelling',
'message': 'string',
'successCount': 123,
'failureCount': 123,
'percentageProgress': 123
}
Response Structure
The task ID.
The task creation date.
The date when the task was last modified.
The task's template.
The S3 bucket that contains the input file.
The input file key.
The role ARN that grants access to the input file bucket.
The status of the bulk thing provisioning task.
The message.
The number of things successfully provisioned.
The number of things that failed to be provisioned.
The progress of the bulk provisioning task expressed as a percentage.
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.ResourceNotFoundException