deleteDomain method

Future<DeleteDomainOutput> deleteDomain({
  1. required String domainId,
})

Deletes a Domain and all associated resources.

May throw ResourceNotFoundException.

Parameter domainId : The id of the Domain to delete

Implementation

Future<DeleteDomainOutput> deleteDomain({
  required String domainId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/domain/${Uri.encodeComponent(domainId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteDomainOutput.fromJson(response);
}