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 database snapshot in Amazon Lightsail.
The delete relational database snapshot
operation supports tag-based
access control via resource tags applied to the resource identified by
relationalDatabaseName. For more information, see the
Amazon Lightsail Developer Guide.
Synopsis
- data DeleteRelationalDatabaseSnapshot = DeleteRelationalDatabaseSnapshot' {}
- newDeleteRelationalDatabaseSnapshot :: Text -> DeleteRelationalDatabaseSnapshot
- deleteRelationalDatabaseSnapshot_relationalDatabaseSnapshotName :: Lens' DeleteRelationalDatabaseSnapshot Text
- data DeleteRelationalDatabaseSnapshotResponse = DeleteRelationalDatabaseSnapshotResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newDeleteRelationalDatabaseSnapshotResponse :: Int -> DeleteRelationalDatabaseSnapshotResponse
- deleteRelationalDatabaseSnapshotResponse_operations :: Lens' DeleteRelationalDatabaseSnapshotResponse (Maybe [Operation])
- deleteRelationalDatabaseSnapshotResponse_httpStatus :: Lens' DeleteRelationalDatabaseSnapshotResponse Int
Creating a Request
data DeleteRelationalDatabaseSnapshot Source #
See: newDeleteRelationalDatabaseSnapshot
smart constructor.
DeleteRelationalDatabaseSnapshot' | |
|
Instances
newDeleteRelationalDatabaseSnapshot Source #
:: Text |
|
-> DeleteRelationalDatabaseSnapshot |
Create a value of DeleteRelationalDatabaseSnapshot
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:relationalDatabaseSnapshotName:DeleteRelationalDatabaseSnapshot'
, deleteRelationalDatabaseSnapshot_relationalDatabaseSnapshotName
- The name of the database snapshot that you are deleting.
Request Lenses
deleteRelationalDatabaseSnapshot_relationalDatabaseSnapshotName :: Lens' DeleteRelationalDatabaseSnapshot Text Source #
The name of the database snapshot that you are deleting.
Destructuring the Response
data DeleteRelationalDatabaseSnapshotResponse Source #
See: newDeleteRelationalDatabaseSnapshotResponse
smart constructor.
DeleteRelationalDatabaseSnapshotResponse' | |
|
Instances
newDeleteRelationalDatabaseSnapshotResponse Source #
Create a value of DeleteRelationalDatabaseSnapshotResponse
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:operations:DeleteRelationalDatabaseSnapshotResponse'
, deleteRelationalDatabaseSnapshotResponse_operations
- An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:DeleteRelationalDatabaseSnapshotResponse'
, deleteRelationalDatabaseSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRelationalDatabaseSnapshotResponse_operations :: Lens' DeleteRelationalDatabaseSnapshotResponse (Maybe [Operation]) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
deleteRelationalDatabaseSnapshotResponse_httpStatus :: Lens' DeleteRelationalDatabaseSnapshotResponse Int Source #
The response's http status code.