Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).
Synopsis
- data DescribeCluster = DescribeCluster' {
- clusterArn :: Text
- newDescribeCluster :: Text -> DescribeCluster
- describeCluster_clusterArn :: Lens' DescribeCluster Text
- data DescribeClusterResponse = DescribeClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newDescribeClusterResponse :: Int -> DescribeClusterResponse
- describeClusterResponse_cluster :: Lens' DescribeClusterResponse (Maybe Cluster)
- describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int
Creating a Request
data DescribeCluster Source #
See: newDescribeCluster
smart constructor.
DescribeCluster' | |
|
Instances
Create a value of DescribeCluster
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterArn:DescribeCluster'
, describeCluster_clusterArn
- The Amazon Resource Name (ARN) of the cluster that you're getting
details for.
Request Lenses
describeCluster_clusterArn :: Lens' DescribeCluster Text Source #
The Amazon Resource Name (ARN) of the cluster that you're getting details for.
Destructuring the Response
data DescribeClusterResponse Source #
See: newDescribeClusterResponse
smart constructor.
DescribeClusterResponse' | |
|
Instances
newDescribeClusterResponse Source #
Create a value of DescribeClusterResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cluster:DescribeClusterResponse'
, describeClusterResponse_cluster
- The cluster for the DescribeCluster request.
$sel:httpStatus:DescribeClusterResponse'
, describeClusterResponse_httpStatus
- The response's http status code.
Response Lenses
describeClusterResponse_cluster :: Lens' DescribeClusterResponse (Maybe Cluster) Source #
The cluster for the DescribeCluster request.
describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int Source #
The response's http status code.