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 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.
GetClusterSnapshot' | |
|
Instances
newGetClusterSnapshot Source #
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.
GetClusterSnapshotResponse' | |
|
Instances
newGetClusterSnapshotResponse Source #
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.