deleteDBClusterEndpoint method

Future<DBClusterEndpoint> deleteDBClusterEndpoint({
  1. required String dBClusterEndpointIdentifier,
})

Deletes a custom endpoint and removes it from an Amazon Aurora DB cluster.

May throw InvalidDBClusterEndpointStateFault. May throw DBClusterEndpointNotFoundFault. May throw InvalidDBClusterStateFault.

Parameter dBClusterEndpointIdentifier : The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.

Implementation

Future<DBClusterEndpoint> deleteDBClusterEndpoint({
  required String dBClusterEndpointIdentifier,
}) async {
  ArgumentError.checkNotNull(
      dBClusterEndpointIdentifier, 'dBClusterEndpointIdentifier');
  final $request = <String, dynamic>{};
  $request['DBClusterEndpointIdentifier'] = dBClusterEndpointIdentifier;
  final $result = await _protocol.send(
    $request,
    action: 'DeleteDBClusterEndpoint',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DeleteDBClusterEndpointMessage'],
    shapes: shapes,
    resultWrapper: 'DeleteDBClusterEndpointResult',
  );
  return DBClusterEndpoint.fromXml($result);
}