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 descriptive information about an Amazon EKS cluster.
The API server endpoint and certificate authority data returned by this
operation are required for kubelet
and kubectl
to communicate with
your Kubernetes API server. For more information, see
Create a kubeconfig for Amazon EKS.
The API server endpoint and certificate authority data aren't available
until the cluster reaches the ACTIVE
state.
Synopsis
- data DescribeCluster = DescribeCluster' {}
- newDescribeCluster :: Text -> DescribeCluster
- describeCluster_name :: 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.
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:name:DescribeCluster'
, describeCluster_name
- The name of the cluster to describe.
Request Lenses
describeCluster_name :: Lens' DescribeCluster Text Source #
The name of the cluster to describe.
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:cluster:DescribeClusterResponse'
, describeClusterResponse_cluster
- The full description of your specified cluster.
$sel:httpStatus:DescribeClusterResponse'
, describeClusterResponse_httpStatus
- The response's http status code.
Response Lenses
describeClusterResponse_cluster :: Lens' DescribeClusterResponse (Maybe Cluster) Source #
The full description of your specified cluster.
describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int Source #
The response's http status code.