describeThingRegistrationTask method
Future<DescribeThingRegistrationTaskResponse>
describeThingRegistrationTask({
- required String taskId,
Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter taskId :
The task ID.
Implementation
Future<DescribeThingRegistrationTaskResponse> describeThingRegistrationTask({
required String taskId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/thing-registration-tasks/${Uri.encodeComponent(taskId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeThingRegistrationTaskResponse.fromJson(response);
}