| 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.EMR.DescribeCluster
Description
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.
Constructors
| DescribeCluster' | |
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:
$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.
Constructors
| DescribeClusterResponse' | |
Fields
| |
Instances
newDescribeClusterResponse Source #
Arguments
| :: 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.