deleteGlobalResolver method
Deletes a Route 53 Global Resolver instance. This operation cannot be undone. All associated DNS views, access sources, tokens, and firewall rules are also deleted.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter globalResolverId :
The unique identifier of the Route 53 Global Resolver to delete.
Implementation
Future<DeleteGlobalResolverOutput> deleteGlobalResolver({
required String globalResolverId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/global-resolver/${Uri.encodeComponent(globalResolverId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteGlobalResolverOutput.fromJson(response);
}