deleteDestination method
Deletes a notification destination specified by name.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter name :
The id of the customer-managed destination.
Implementation
Future<void> deleteDestination({
required String name,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/destinations/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
}