| 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.DrS.DescribeRecoverySnapshots
Description
Lists all Recovery Snapshots for a single Source Server.
This operation returns paginated results.
Synopsis
- data DescribeRecoverySnapshots = DescribeRecoverySnapshots' {}
- newDescribeRecoverySnapshots :: Text -> DescribeRecoverySnapshots
- describeRecoverySnapshots_filters :: Lens' DescribeRecoverySnapshots (Maybe DescribeRecoverySnapshotsRequestFilters)
- describeRecoverySnapshots_maxResults :: Lens' DescribeRecoverySnapshots (Maybe Natural)
- describeRecoverySnapshots_nextToken :: Lens' DescribeRecoverySnapshots (Maybe Text)
- describeRecoverySnapshots_order :: Lens' DescribeRecoverySnapshots (Maybe RecoverySnapshotsOrder)
- describeRecoverySnapshots_sourceServerID :: Lens' DescribeRecoverySnapshots Text
- data DescribeRecoverySnapshotsResponse = DescribeRecoverySnapshotsResponse' {
- items :: Maybe [RecoverySnapshot]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeRecoverySnapshotsResponse :: Int -> DescribeRecoverySnapshotsResponse
- describeRecoverySnapshotsResponse_items :: Lens' DescribeRecoverySnapshotsResponse (Maybe [RecoverySnapshot])
- describeRecoverySnapshotsResponse_nextToken :: Lens' DescribeRecoverySnapshotsResponse (Maybe Text)
- describeRecoverySnapshotsResponse_httpStatus :: Lens' DescribeRecoverySnapshotsResponse Int
Creating a Request
data DescribeRecoverySnapshots Source #
See: newDescribeRecoverySnapshots smart constructor.
Constructors
| DescribeRecoverySnapshots' | |
Fields
| |
Instances
newDescribeRecoverySnapshots Source #
Arguments
| :: Text | |
| -> DescribeRecoverySnapshots |
Create a value of DescribeRecoverySnapshots 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:filters:DescribeRecoverySnapshots', describeRecoverySnapshots_filters - A set of filters by which to return Recovery Snapshots.
$sel:maxResults:DescribeRecoverySnapshots', describeRecoverySnapshots_maxResults - Maximum number of Recovery Snapshots to retrieve.
DescribeRecoverySnapshots, describeRecoverySnapshots_nextToken - The token of the next Recovery Snapshot to retrieve.
$sel:order:DescribeRecoverySnapshots', describeRecoverySnapshots_order - The sorted ordering by which to return Recovery Snapshots.
DescribeRecoverySnapshots, describeRecoverySnapshots_sourceServerID - Filter Recovery Snapshots by Source Server ID.
Request Lenses
describeRecoverySnapshots_filters :: Lens' DescribeRecoverySnapshots (Maybe DescribeRecoverySnapshotsRequestFilters) Source #
A set of filters by which to return Recovery Snapshots.
describeRecoverySnapshots_maxResults :: Lens' DescribeRecoverySnapshots (Maybe Natural) Source #
Maximum number of Recovery Snapshots to retrieve.
describeRecoverySnapshots_nextToken :: Lens' DescribeRecoverySnapshots (Maybe Text) Source #
The token of the next Recovery Snapshot to retrieve.
describeRecoverySnapshots_order :: Lens' DescribeRecoverySnapshots (Maybe RecoverySnapshotsOrder) Source #
The sorted ordering by which to return Recovery Snapshots.
describeRecoverySnapshots_sourceServerID :: Lens' DescribeRecoverySnapshots Text Source #
Filter Recovery Snapshots by Source Server ID.
Destructuring the Response
data DescribeRecoverySnapshotsResponse Source #
See: newDescribeRecoverySnapshotsResponse smart constructor.
Constructors
| DescribeRecoverySnapshotsResponse' | |
Fields
| |
Instances
newDescribeRecoverySnapshotsResponse Source #
Arguments
| :: Int | |
| -> DescribeRecoverySnapshotsResponse |
Create a value of DescribeRecoverySnapshotsResponse 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:items:DescribeRecoverySnapshotsResponse', describeRecoverySnapshotsResponse_items - An array of Recovery Snapshots.
DescribeRecoverySnapshots, describeRecoverySnapshotsResponse_nextToken - The token of the next Recovery Snapshot to retrieve.
$sel:httpStatus:DescribeRecoverySnapshotsResponse', describeRecoverySnapshotsResponse_httpStatus - The response's http status code.
Response Lenses
describeRecoverySnapshotsResponse_items :: Lens' DescribeRecoverySnapshotsResponse (Maybe [RecoverySnapshot]) Source #
An array of Recovery Snapshots.
describeRecoverySnapshotsResponse_nextToken :: Lens' DescribeRecoverySnapshotsResponse (Maybe Text) Source #
The token of the next Recovery Snapshot to retrieve.
describeRecoverySnapshotsResponse_httpStatus :: Lens' DescribeRecoverySnapshotsResponse Int Source #
The response's http status code.