| 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.RDS.DeleteDBClusterSnapshot
Description
Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.
The DB cluster snapshot must be in the available state to be deleted.
For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide.
Synopsis
- data DeleteDBClusterSnapshot = DeleteDBClusterSnapshot' {}
- newDeleteDBClusterSnapshot :: Text -> DeleteDBClusterSnapshot
- deleteDBClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' DeleteDBClusterSnapshot Text
- data DeleteDBClusterSnapshotResponse = DeleteDBClusterSnapshotResponse' {}
- newDeleteDBClusterSnapshotResponse :: Int -> DeleteDBClusterSnapshotResponse
- deleteDBClusterSnapshotResponse_dbClusterSnapshot :: Lens' DeleteDBClusterSnapshotResponse (Maybe DBClusterSnapshot)
- deleteDBClusterSnapshotResponse_httpStatus :: Lens' DeleteDBClusterSnapshotResponse Int
Creating a Request
data DeleteDBClusterSnapshot Source #
See: newDeleteDBClusterSnapshot smart constructor.
Constructors
| DeleteDBClusterSnapshot' | |
Fields
| |
Instances
newDeleteDBClusterSnapshot Source #
Arguments
| :: Text | |
| -> DeleteDBClusterSnapshot |
Create a value of DeleteDBClusterSnapshot 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:
DeleteDBClusterSnapshot, deleteDBClusterSnapshot_dbClusterSnapshotIdentifier - The identifier of the DB cluster snapshot to delete.
Constraints: Must be the name of an existing DB cluster snapshot in the
available state.
Request Lenses
deleteDBClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' DeleteDBClusterSnapshot Text Source #
The identifier of the DB cluster snapshot to delete.
Constraints: Must be the name of an existing DB cluster snapshot in the
available state.
Destructuring the Response
data DeleteDBClusterSnapshotResponse Source #
See: newDeleteDBClusterSnapshotResponse smart constructor.
Constructors
| DeleteDBClusterSnapshotResponse' | |
Fields
| |
Instances
newDeleteDBClusterSnapshotResponse Source #
Create a value of DeleteDBClusterSnapshotResponse 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:dbClusterSnapshot:DeleteDBClusterSnapshotResponse', deleteDBClusterSnapshotResponse_dbClusterSnapshot - Undocumented member.
$sel:httpStatus:DeleteDBClusterSnapshotResponse', deleteDBClusterSnapshotResponse_httpStatus - The response's http status code.
Response Lenses
deleteDBClusterSnapshotResponse_dbClusterSnapshot :: Lens' DeleteDBClusterSnapshotResponse (Maybe DBClusterSnapshot) Source #
Undocumented member.
deleteDBClusterSnapshotResponse_httpStatus :: Lens' DeleteDBClusterSnapshotResponse Int Source #
The response's http status code.