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 |
Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on.
Synopsis
- data DescribeCluster = DescribeCluster' {}
- newDescribeCluster :: Text -> DescribeCluster
- describeCluster_clusterId :: Lens' DescribeCluster Text
- data DescribeClusterResponse = DescribeClusterResponse' {
- httpStatus :: Int
- cluster :: Cluster
- newDescribeClusterResponse :: Int -> Cluster -> DescribeClusterResponse
- describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int
- describeClusterResponse_cluster :: Lens' DescribeClusterResponse Cluster
Creating a Request
data DescribeCluster Source #
This input determines which cluster to describe.
See: newDescribeCluster
smart constructor.
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:clusterId:DescribeCluster'
, describeCluster_clusterId
- The identifier of the cluster to describe.
Request Lenses
describeCluster_clusterId :: Lens' DescribeCluster Text Source #
The identifier of the cluster to describe.
Destructuring the Response
data DescribeClusterResponse Source #
This output contains the description of the cluster.
See: newDescribeClusterResponse
smart constructor.
DescribeClusterResponse' | |
|
Instances
newDescribeClusterResponse Source #
:: Int | |
-> Cluster | |
-> DescribeClusterResponse |
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:httpStatus:DescribeClusterResponse'
, describeClusterResponse_httpStatus
- The response's http status code.
$sel:cluster:DescribeClusterResponse'
, describeClusterResponse_cluster
- This output contains the details for the requested cluster.
Response Lenses
describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int Source #
The response's http status code.
describeClusterResponse_cluster :: Lens' DescribeClusterResponse Cluster Source #
This output contains the details for the requested cluster.