Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a set of cluster snapshots.
Synopsis
- data BatchDeleteClusterSnapshots = BatchDeleteClusterSnapshots' {}
- newBatchDeleteClusterSnapshots :: BatchDeleteClusterSnapshots
- batchDeleteClusterSnapshots_identifiers :: Lens' BatchDeleteClusterSnapshots [DeleteClusterSnapshotMessage]
- data BatchDeleteClusterSnapshotsResponse = BatchDeleteClusterSnapshotsResponse' {
- resources :: Maybe [Text]
- errors :: Maybe [SnapshotErrorMessage]
- httpStatus :: Int
- newBatchDeleteClusterSnapshotsResponse :: Int -> BatchDeleteClusterSnapshotsResponse
- batchDeleteClusterSnapshotsResponse_resources :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [Text])
- batchDeleteClusterSnapshotsResponse_errors :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [SnapshotErrorMessage])
- batchDeleteClusterSnapshotsResponse_httpStatus :: Lens' BatchDeleteClusterSnapshotsResponse Int
Creating a Request
data BatchDeleteClusterSnapshots Source #
See: newBatchDeleteClusterSnapshots
smart constructor.
BatchDeleteClusterSnapshots' | |
|
Instances
newBatchDeleteClusterSnapshots :: BatchDeleteClusterSnapshots Source #
Create a value of BatchDeleteClusterSnapshots
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:identifiers:BatchDeleteClusterSnapshots'
, batchDeleteClusterSnapshots_identifiers
- A list of identifiers for the snapshots that you want to delete.
Request Lenses
batchDeleteClusterSnapshots_identifiers :: Lens' BatchDeleteClusterSnapshots [DeleteClusterSnapshotMessage] Source #
A list of identifiers for the snapshots that you want to delete.
Destructuring the Response
data BatchDeleteClusterSnapshotsResponse Source #
See: newBatchDeleteClusterSnapshotsResponse
smart constructor.
BatchDeleteClusterSnapshotsResponse' | |
|
Instances
newBatchDeleteClusterSnapshotsResponse Source #
Create a value of BatchDeleteClusterSnapshotsResponse
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:resources:BatchDeleteClusterSnapshotsResponse'
, batchDeleteClusterSnapshotsResponse_resources
- A list of the snapshot identifiers that were deleted.
$sel:errors:BatchDeleteClusterSnapshotsResponse'
, batchDeleteClusterSnapshotsResponse_errors
- A list of any errors returned.
$sel:httpStatus:BatchDeleteClusterSnapshotsResponse'
, batchDeleteClusterSnapshotsResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteClusterSnapshotsResponse_resources :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [Text]) Source #
A list of the snapshot identifiers that were deleted.
batchDeleteClusterSnapshotsResponse_errors :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [SnapshotErrorMessage]) Source #
A list of any errors returned.
batchDeleteClusterSnapshotsResponse_httpStatus :: Lens' BatchDeleteClusterSnapshotsResponse Int Source #
The response's http status code.