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 |
Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.
Synopsis
- data DisableFastSnapshotRestores = DisableFastSnapshotRestores' {
- dryRun :: Maybe Bool
- availabilityZones :: [Text]
- sourceSnapshotIds :: [Text]
- newDisableFastSnapshotRestores :: DisableFastSnapshotRestores
- disableFastSnapshotRestores_dryRun :: Lens' DisableFastSnapshotRestores (Maybe Bool)
- disableFastSnapshotRestores_availabilityZones :: Lens' DisableFastSnapshotRestores [Text]
- disableFastSnapshotRestores_sourceSnapshotIds :: Lens' DisableFastSnapshotRestores [Text]
- data DisableFastSnapshotRestoresResponse = DisableFastSnapshotRestoresResponse' {}
- newDisableFastSnapshotRestoresResponse :: Int -> DisableFastSnapshotRestoresResponse
- disableFastSnapshotRestoresResponse_successful :: Lens' DisableFastSnapshotRestoresResponse (Maybe [DisableFastSnapshotRestoreSuccessItem])
- disableFastSnapshotRestoresResponse_unsuccessful :: Lens' DisableFastSnapshotRestoresResponse (Maybe [DisableFastSnapshotRestoreErrorItem])
- disableFastSnapshotRestoresResponse_httpStatus :: Lens' DisableFastSnapshotRestoresResponse Int
Creating a Request
data DisableFastSnapshotRestores Source #
See: newDisableFastSnapshotRestores
smart constructor.
DisableFastSnapshotRestores' | |
|
Instances
newDisableFastSnapshotRestores :: DisableFastSnapshotRestores Source #
Create a value of DisableFastSnapshotRestores
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:dryRun:DisableFastSnapshotRestores'
, disableFastSnapshotRestores_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DisableFastSnapshotRestores
, disableFastSnapshotRestores_availabilityZones
- One or more Availability Zones. For example, us-east-2a
.
$sel:sourceSnapshotIds:DisableFastSnapshotRestores'
, disableFastSnapshotRestores_sourceSnapshotIds
- The IDs of one or more snapshots. For example, snap-1234567890abcdef0
.
Request Lenses
disableFastSnapshotRestores_dryRun :: Lens' DisableFastSnapshotRestores (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
disableFastSnapshotRestores_availabilityZones :: Lens' DisableFastSnapshotRestores [Text] Source #
One or more Availability Zones. For example, us-east-2a
.
disableFastSnapshotRestores_sourceSnapshotIds :: Lens' DisableFastSnapshotRestores [Text] Source #
The IDs of one or more snapshots. For example, snap-1234567890abcdef0
.
Destructuring the Response
data DisableFastSnapshotRestoresResponse Source #
See: newDisableFastSnapshotRestoresResponse
smart constructor.
DisableFastSnapshotRestoresResponse' | |
|
Instances
newDisableFastSnapshotRestoresResponse Source #
Create a value of DisableFastSnapshotRestoresResponse
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:successful:DisableFastSnapshotRestoresResponse'
, disableFastSnapshotRestoresResponse_successful
- Information about the snapshots for which fast snapshot restores were
successfully disabled.
$sel:unsuccessful:DisableFastSnapshotRestoresResponse'
, disableFastSnapshotRestoresResponse_unsuccessful
- Information about the snapshots for which fast snapshot restores could
not be disabled.
$sel:httpStatus:DisableFastSnapshotRestoresResponse'
, disableFastSnapshotRestoresResponse_httpStatus
- The response's http status code.
Response Lenses
disableFastSnapshotRestoresResponse_successful :: Lens' DisableFastSnapshotRestoresResponse (Maybe [DisableFastSnapshotRestoreSuccessItem]) Source #
Information about the snapshots for which fast snapshot restores were successfully disabled.
disableFastSnapshotRestoresResponse_unsuccessful :: Lens' DisableFastSnapshotRestoresResponse (Maybe [DisableFastSnapshotRestoreErrorItem]) Source #
Information about the snapshots for which fast snapshot restores could not be disabled.
disableFastSnapshotRestoresResponse_httpStatus :: Lens' DisableFastSnapshotRestoresResponse Int Source #
The response's http status code.