| 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.GetClusterSnapshot
Description
Returns information about a specific Elastic DocumentDB snapshot
Synopsis
- data GetClusterSnapshot = GetClusterSnapshot' {
- snapshotArn :: Text
- newGetClusterSnapshot :: Text -> GetClusterSnapshot
- getClusterSnapshot_snapshotArn :: Lens' GetClusterSnapshot Text
- data GetClusterSnapshotResponse = GetClusterSnapshotResponse' {}
- newGetClusterSnapshotResponse :: Int -> ClusterSnapshot -> GetClusterSnapshotResponse
- getClusterSnapshotResponse_httpStatus :: Lens' GetClusterSnapshotResponse Int
- getClusterSnapshotResponse_snapshot :: Lens' GetClusterSnapshotResponse ClusterSnapshot
Creating a Request
data GetClusterSnapshot Source #
See: newGetClusterSnapshot smart constructor.
Constructors
| GetClusterSnapshot' | |
Fields
| |
Instances
newGetClusterSnapshot Source #
Arguments
| :: Text | |
| -> GetClusterSnapshot |
Create a value of GetClusterSnapshot 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:
GetClusterSnapshot, getClusterSnapshot_snapshotArn - The arn of the Elastic DocumentDB snapshot.
Request Lenses
getClusterSnapshot_snapshotArn :: Lens' GetClusterSnapshot Text Source #
The arn of the Elastic DocumentDB snapshot.
Destructuring the Response
data GetClusterSnapshotResponse Source #
See: newGetClusterSnapshotResponse smart constructor.
Constructors
| GetClusterSnapshotResponse' | |
Fields
| |
Instances
newGetClusterSnapshotResponse Source #
Arguments
| :: Int | |
| -> ClusterSnapshot | |
| -> GetClusterSnapshotResponse |
Create a value of GetClusterSnapshotResponse 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:GetClusterSnapshotResponse', getClusterSnapshotResponse_httpStatus - The response's http status code.
$sel:snapshot:GetClusterSnapshotResponse', getClusterSnapshotResponse_snapshot - Returns information about a specific Elastic DocumentDB snapshot.
Response Lenses
getClusterSnapshotResponse_httpStatus :: Lens' GetClusterSnapshotResponse Int Source #
The response's http status code.
getClusterSnapshotResponse_snapshot :: Lens' GetClusterSnapshotResponse ClusterSnapshot Source #
Returns information about a specific Elastic DocumentDB snapshot.