deleteProvisioningTemplate method
Deletes a provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
May throw ConflictingResourceUpdateException.
May throw DeleteConflictException.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter templateName :
The name of the fleet provision template to delete.
Implementation
Future<void> deleteProvisioningTemplate({
required String templateName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/provisioning-templates/${Uri.encodeComponent(templateName)}',
exceptionFnMap: _exceptionFns,
);
}