list_thing_registration_tasks

list_thing_registration_tasks(**kwargs)

List bulk thing provisioning tasks.

Requires permission to access the ListThingRegistrationTasks action.

See also: AWS API Documentation

Request Syntax

response = client.list_thing_registration_tasks(
    nextToken='string',
    maxResults=123,
    status='InProgress'|'Completed'|'Failed'|'Cancelled'|'Cancelling'
)
Parameters
  • nextToken (string) -- To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
  • maxResults (integer) -- The maximum number of results to return at one time.
  • status (string) -- The status of the bulk thing provisioning task.
Return type

dict

Returns

Response Syntax

{
    'taskIds': [
        'string',
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • taskIds (list) --

      A list of bulk thing provisioning task IDs.

      • (string) --
    • nextToken (string) --

      The token to use to get the next set of results, or null if there are no additional results.

Exceptions

  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.ThrottlingException
  • IoT.Client.exceptions.UnauthorizedException
  • IoT.Client.exceptions.InternalFailureException