describeThingRegistrationTask method
Future<DescribeThingRegistrationTaskResponse>
describeThingRegistrationTask({
- required String taskId,
Describes a bulk thing provisioning task.
May throw InvalidRequestException. May throw ThrottlingException. May throw UnauthorizedException. May throw InternalFailureException. May throw ResourceNotFoundException.
Parameter taskId
:
The task ID.
Implementation
Future<DescribeThingRegistrationTaskResponse> describeThingRegistrationTask({
required String taskId,
}) async {
ArgumentError.checkNotNull(taskId, 'taskId');
_s.validateStringLength(
'taskId',
taskId,
0,
40,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/thing-registration-tasks/${Uri.encodeComponent(taskId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeThingRegistrationTaskResponse.fromJson(response);
}