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