deleteEndpoint method

Future<void> deleteEndpoint({
  1. required String endpointId,
  2. required String outpostId,
})

Deletes an endpoint.

Related actions include:

May throw AccessDeniedException. May throw InternalServerException. May throw OutpostOfflineException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter endpointId : The ID of the endpoint.

Parameter outpostId : The ID of the Outposts.

Implementation

Future<void> deleteEndpoint({
  required String endpointId,
  required String outpostId,
}) async {
  final $query = <String, List<String>>{
    'endpointId': [endpointId],
    'outpostId': [outpostId],
  };
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/S3Outposts/DeleteEndpoint',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
}