deleteCluster method

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

Delete a cluster.

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

Parameter clusterArn : The Amazon Resource Name (ARN) of the cluster that you're deleting.

Implementation

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