| 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.DocDbElastic.GetCluster
Description
Returns information about a specific Elastic DocumentDB cluster.
Synopsis
- data GetCluster = GetCluster' {
- clusterArn :: Text
- newGetCluster :: Text -> GetCluster
- getCluster_clusterArn :: Lens' GetCluster Text
- data GetClusterResponse = GetClusterResponse' {
- httpStatus :: Int
- cluster :: Cluster
- newGetClusterResponse :: Int -> Cluster -> GetClusterResponse
- getClusterResponse_httpStatus :: Lens' GetClusterResponse Int
- getClusterResponse_cluster :: Lens' GetClusterResponse Cluster
Creating a Request
data GetCluster Source #
See: newGetCluster smart constructor.
Constructors
| GetCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetCluster |
Create a value of GetCluster 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:
GetCluster, getCluster_clusterArn - The arn of the Elastic DocumentDB cluster.
Request Lenses
getCluster_clusterArn :: Lens' GetCluster Text Source #
The arn of the Elastic DocumentDB cluster.
Destructuring the Response
data GetClusterResponse Source #
See: newGetClusterResponse smart constructor.
Constructors
| GetClusterResponse' | |
Fields
| |
Instances
newGetClusterResponse Source #
Arguments
| :: Int | |
| -> Cluster | |
| -> GetClusterResponse |
Create a value of GetClusterResponse 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:GetClusterResponse', getClusterResponse_httpStatus - The response's http status code.
$sel:cluster:GetClusterResponse', getClusterResponse_cluster - Returns information about a specific Elastic DocumentDB cluster.
Response Lenses
getClusterResponse_httpStatus :: Lens' GetClusterResponse Int Source #
The response's http status code.
getClusterResponse_cluster :: Lens' GetClusterResponse Cluster Source #
Returns information about a specific Elastic DocumentDB cluster.