deleteDBClusterEndpoint method

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

Deletes a custom endpoint and removes it from an Amazon Neptune 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<DeleteDBClusterEndpointOutput> 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 DeleteDBClusterEndpointOutput.fromXml($result);
}