deleteEndpointAccess method

Future<EndpointAccess> deleteEndpointAccess({
  1. required String endpointName,
})

Deletes a Redshift-managed VPC endpoint.

May throw ClusterNotFoundFault. May throw EndpointNotFoundFault. May throw InvalidClusterSecurityGroupStateFault. May throw InvalidClusterStateFault. May throw InvalidEndpointStateFault.

Parameter endpointName : The Redshift-managed VPC endpoint to delete.

Implementation

Future<EndpointAccess> deleteEndpointAccess({
  required String endpointName,
}) async {
  final $request = <String, String>{
    'EndpointName': endpointName,
  };
  final $result = await _protocol.send(
    $request,
    action: 'DeleteEndpointAccess',
    version: '2012-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    resultWrapper: 'DeleteEndpointAccessResult',
  );
  return EndpointAccess.fromXml($result);
}