deleteDNSView method
Deletes a DNS view. This operation cannot be undone.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter dnsViewId :
The unique identifier of the DNS view to delete.
Implementation
Future<DeleteDNSViewOutput> deleteDNSView({
required String dnsViewId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/dns-views/${Uri.encodeComponent(dnsViewId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteDNSViewOutput.fromJson(response);
}