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 |
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
Synopsis
- data DescribeClusterV2 = DescribeClusterV2' {
- clusterArn :: Text
- newDescribeClusterV2 :: Text -> DescribeClusterV2
- describeClusterV2_clusterArn :: Lens' DescribeClusterV2 Text
- data DescribeClusterV2Response = DescribeClusterV2Response' {
- clusterInfo :: Maybe Cluster
- httpStatus :: Int
- newDescribeClusterV2Response :: Int -> DescribeClusterV2Response
- describeClusterV2Response_clusterInfo :: Lens' DescribeClusterV2Response (Maybe Cluster)
- describeClusterV2Response_httpStatus :: Lens' DescribeClusterV2Response Int
Creating a Request
data DescribeClusterV2 Source #
See: newDescribeClusterV2
smart constructor.
DescribeClusterV2' | |
|
Instances
Create a value of DescribeClusterV2
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:
DescribeClusterV2
, describeClusterV2_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Request Lenses
describeClusterV2_clusterArn :: Lens' DescribeClusterV2 Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Destructuring the Response
data DescribeClusterV2Response Source #
See: newDescribeClusterV2Response
smart constructor.
DescribeClusterV2Response' | |
|
Instances
newDescribeClusterV2Response Source #
Create a value of DescribeClusterV2Response
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:DescribeClusterV2Response'
, describeClusterV2Response_clusterInfo
- The cluster information.
$sel:httpStatus:DescribeClusterV2Response'
, describeClusterV2Response_httpStatus
- The response's http status code.
Response Lenses
describeClusterV2Response_clusterInfo :: Lens' DescribeClusterV2Response (Maybe Cluster) Source #
The cluster information.
describeClusterV2Response_httpStatus :: Lens' DescribeClusterV2Response Int Source #
The response's http status code.