deleteDomainConfiguration method

Future<void> deleteDomainConfiguration({
  1. required String domainConfigurationName,
})

Deletes the specified domain configuration.

Requires permission to access the DeleteDomainConfiguration action.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException. May throw UnauthorizedException.

Parameter domainConfigurationName : The name of the domain configuration to be deleted.

Implementation

Future<void> deleteDomainConfiguration({
  required String domainConfigurationName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/domainConfigurations/${Uri.encodeComponent(domainConfigurationName)}',
    exceptionFnMap: _exceptionFns,
  );
}