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 DB snapshot. If the snapshot is being copied, the copy operation is terminated.
The DB snapshot must be in the available
state to be deleted.
Synopsis
- data DeleteDBSnapshot = DeleteDBSnapshot' {}
- newDeleteDBSnapshot :: Text -> DeleteDBSnapshot
- deleteDBSnapshot_dbSnapshotIdentifier :: Lens' DeleteDBSnapshot Text
- data DeleteDBSnapshotResponse = DeleteDBSnapshotResponse' {}
- newDeleteDBSnapshotResponse :: Int -> DeleteDBSnapshotResponse
- deleteDBSnapshotResponse_dbSnapshot :: Lens' DeleteDBSnapshotResponse (Maybe DBSnapshot)
- deleteDBSnapshotResponse_httpStatus :: Lens' DeleteDBSnapshotResponse Int
Creating a Request
data DeleteDBSnapshot Source #
See: newDeleteDBSnapshot
smart constructor.
DeleteDBSnapshot' | |
|
Instances
Create a value of DeleteDBSnapshot
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:dbSnapshotIdentifier:DeleteDBSnapshot'
, deleteDBSnapshot_dbSnapshotIdentifier
- The DB snapshot identifier.
Constraints: Must be the name of an existing DB snapshot in the
available
state.
Request Lenses
deleteDBSnapshot_dbSnapshotIdentifier :: Lens' DeleteDBSnapshot Text Source #
The DB snapshot identifier.
Constraints: Must be the name of an existing DB snapshot in the
available
state.
Destructuring the Response
data DeleteDBSnapshotResponse Source #
See: newDeleteDBSnapshotResponse
smart constructor.
DeleteDBSnapshotResponse' | |
|
Instances
newDeleteDBSnapshotResponse Source #
Create a value of DeleteDBSnapshotResponse
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:dbSnapshot:DeleteDBSnapshotResponse'
, deleteDBSnapshotResponse_dbSnapshot
- Undocumented member.
$sel:httpStatus:DeleteDBSnapshotResponse'
, deleteDBSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDBSnapshotResponse_dbSnapshot :: Lens' DeleteDBSnapshotResponse (Maybe DBSnapshot) Source #
Undocumented member.
deleteDBSnapshotResponse_httpStatus :: Lens' DeleteDBSnapshotResponse Int Source #
The response's http status code.