| 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.Kafka.DescribeCluster
Description
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
Synopsis
- data DescribeCluster = DescribeCluster' {
- clusterArn :: Text
- newDescribeCluster :: Text -> DescribeCluster
- describeCluster_clusterArn :: Lens' DescribeCluster Text
- data DescribeClusterResponse = DescribeClusterResponse' {}
- newDescribeClusterResponse :: Int -> DescribeClusterResponse
- describeClusterResponse_clusterInfo :: Lens' DescribeClusterResponse (Maybe ClusterInfo)
- 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) that uniquely identifies the cluster.
Request Lenses
describeCluster_clusterArn :: Lens' DescribeCluster Text Source #
The Amazon Resource Name (ARN) that uniquely identifies 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:clusterInfo:DescribeClusterResponse', describeClusterResponse_clusterInfo - The cluster information.
$sel:httpStatus:DescribeClusterResponse', describeClusterResponse_httpStatus - The response's http status code.
Response Lenses
describeClusterResponse_clusterInfo :: Lens' DescribeClusterResponse (Maybe ClusterInfo) Source #
The cluster information.
describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int Source #
The response's http status code.