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 |
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.
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) 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.
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: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.