| 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.Redshift.BatchDeleteClusterSnapshots
Description
Deletes a set of cluster snapshots.
Synopsis
- data BatchDeleteClusterSnapshots = BatchDeleteClusterSnapshots' {}
- newBatchDeleteClusterSnapshots :: BatchDeleteClusterSnapshots
- batchDeleteClusterSnapshots_identifiers :: Lens' BatchDeleteClusterSnapshots [DeleteClusterSnapshotMessage]
- data BatchDeleteClusterSnapshotsResponse = BatchDeleteClusterSnapshotsResponse' {
- errors :: Maybe [SnapshotErrorMessage]
- resources :: Maybe [Text]
- httpStatus :: Int
- newBatchDeleteClusterSnapshotsResponse :: Int -> BatchDeleteClusterSnapshotsResponse
- batchDeleteClusterSnapshotsResponse_errors :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [SnapshotErrorMessage])
- batchDeleteClusterSnapshotsResponse_resources :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [Text])
- batchDeleteClusterSnapshotsResponse_httpStatus :: Lens' BatchDeleteClusterSnapshotsResponse Int
Creating a Request
data BatchDeleteClusterSnapshots Source #
See: newBatchDeleteClusterSnapshots smart constructor.
Constructors
| BatchDeleteClusterSnapshots' | |
Fields
| |
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.
Constructors
| BatchDeleteClusterSnapshotsResponse' | |
Fields
| |
Instances
newBatchDeleteClusterSnapshotsResponse Source #
Arguments
| :: Int | |
| -> BatchDeleteClusterSnapshotsResponse |
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:errors:BatchDeleteClusterSnapshotsResponse', batchDeleteClusterSnapshotsResponse_errors - A list of any errors returned.
$sel:resources:BatchDeleteClusterSnapshotsResponse', batchDeleteClusterSnapshotsResponse_resources - A list of the snapshot identifiers that were deleted.
$sel:httpStatus:BatchDeleteClusterSnapshotsResponse', batchDeleteClusterSnapshotsResponse_httpStatus - The response's http status code.
Response Lenses
batchDeleteClusterSnapshotsResponse_errors :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [SnapshotErrorMessage]) Source #
A list of any errors returned.
batchDeleteClusterSnapshotsResponse_resources :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [Text]) Source #
A list of the snapshot identifiers that were deleted.
batchDeleteClusterSnapshotsResponse_httpStatus :: Lens' BatchDeleteClusterSnapshotsResponse Int Source #
The response's http status code.