| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53RecoveryControlConfig.DescribeCluster
Description
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.
Constructors
| DescribeCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeCluster |
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:
DescribeCluster, describeCluster_clusterArn - The Amazon Resource Name (ARN) of the cluster.
Request Lenses
describeCluster_clusterArn :: Lens' DescribeCluster Text Source #
The Amazon Resource Name (ARN) of the cluster.
Destructuring the Response
data DescribeClusterResponse Source #
See: newDescribeClusterResponse smart constructor.
Constructors
| DescribeClusterResponse' | |
Fields
| |
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.