describeCluster method

Future<DescribeClusterResponse> describeCluster({
  1. required String clusterArn,
})

Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).

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.

Implementation

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