| 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.DocDbElastic.DeleteClusterSnapshot
Description
Delete a Elastic DocumentDB snapshot.
Synopsis
- data DeleteClusterSnapshot = DeleteClusterSnapshot' {
- snapshotArn :: Text
- newDeleteClusterSnapshot :: Text -> DeleteClusterSnapshot
- deleteClusterSnapshot_snapshotArn :: Lens' DeleteClusterSnapshot Text
- data DeleteClusterSnapshotResponse = DeleteClusterSnapshotResponse' {}
- newDeleteClusterSnapshotResponse :: Int -> ClusterSnapshot -> DeleteClusterSnapshotResponse
- deleteClusterSnapshotResponse_httpStatus :: Lens' DeleteClusterSnapshotResponse Int
- deleteClusterSnapshotResponse_snapshot :: Lens' DeleteClusterSnapshotResponse ClusterSnapshot
Creating a Request
data DeleteClusterSnapshot Source #
See: newDeleteClusterSnapshot smart constructor.
Constructors
| DeleteClusterSnapshot' | |
Fields
| |
Instances
newDeleteClusterSnapshot Source #
Arguments
| :: Text | |
| -> DeleteClusterSnapshot |
Create a value of DeleteClusterSnapshot 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:
DeleteClusterSnapshot, deleteClusterSnapshot_snapshotArn - The arn of the Elastic DocumentDB snapshot that is to be deleted.
Request Lenses
deleteClusterSnapshot_snapshotArn :: Lens' DeleteClusterSnapshot Text Source #
The arn of the Elastic DocumentDB snapshot that is to be deleted.
Destructuring the Response
data DeleteClusterSnapshotResponse Source #
See: newDeleteClusterSnapshotResponse smart constructor.
Constructors
| DeleteClusterSnapshotResponse' | |
Fields
| |
Instances
newDeleteClusterSnapshotResponse Source #
Arguments
| :: Int | |
| -> ClusterSnapshot | |
| -> DeleteClusterSnapshotResponse |
Create a value of DeleteClusterSnapshotResponse 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:httpStatus:DeleteClusterSnapshotResponse', deleteClusterSnapshotResponse_httpStatus - The response's http status code.
$sel:snapshot:DeleteClusterSnapshotResponse', deleteClusterSnapshotResponse_snapshot - Returns information about the newly deleted Elastic DocumentDB snapshot.
Response Lenses
deleteClusterSnapshotResponse_httpStatus :: Lens' DeleteClusterSnapshotResponse Int Source #
The response's http status code.
deleteClusterSnapshotResponse_snapshot :: Lens' DeleteClusterSnapshotResponse ClusterSnapshot Source #
Returns information about the newly deleted Elastic DocumentDB snapshot.