deleteSink method

Future<void> deleteSink({
  1. required String identifier,
})

Deletes a sink. You must delete all links to a sink before you can delete that sink.

May throw ConflictException. May throw InternalServiceFault. May throw InvalidParameterException. May throw MissingRequiredParameterException. May throw ResourceNotFoundException.

Parameter identifier : The ARN of the sink to delete.

Implementation

Future<void> deleteSink({
  required String identifier,
}) async {
  final $payload = <String, dynamic>{
    'Identifier': identifier,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/DeleteSink',
    exceptionFnMap: _exceptionFns,
  );
}