deleteCluster method

Future<DeleteClusterOutput> deleteCluster({
  1. required String clusterArn,
})

Delete an elastic cluster.

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

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

Implementation

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