deleteDomainConfiguration method

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

Deletes the specified domain configuration.

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

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

Implementation

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