deleteClusterSnapshot method

Future<DeleteClusterSnapshotOutput> deleteClusterSnapshot({
  1. required String snapshotArn,
})

Delete an elastic cluster snapshot.

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

Parameter snapshotArn : The ARN identifier of the elastic cluster snapshot that is to be deleted.

Implementation

Future<DeleteClusterSnapshotOutput> deleteClusterSnapshot({
  required String snapshotArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/cluster-snapshot/${Uri.encodeComponent(snapshotArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteClusterSnapshotOutput.fromJson(response);
}