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 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.
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.
DeleteDBClusterSnapshot' | |
|
Instances
newDeleteDBClusterSnapshot Source #
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:
$sel:dbClusterSnapshotIdentifier: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.
DeleteDBClusterSnapshotResponse' | |
|
Instances
Eq DeleteDBClusterSnapshotResponse Source # | |
Read DeleteDBClusterSnapshotResponse Source # | |
Show DeleteDBClusterSnapshotResponse Source # | |
Defined in Amazonka.Neptune.DeleteDBClusterSnapshot | |
Generic DeleteDBClusterSnapshotResponse Source # | |
NFData DeleteDBClusterSnapshotResponse Source # | |
Defined in Amazonka.Neptune.DeleteDBClusterSnapshot rnf :: DeleteDBClusterSnapshotResponse -> () # | |
type Rep DeleteDBClusterSnapshotResponse Source # | |
Defined in Amazonka.Neptune.DeleteDBClusterSnapshot type Rep DeleteDBClusterSnapshotResponse = D1 ('MetaData "DeleteDBClusterSnapshotResponse" "Amazonka.Neptune.DeleteDBClusterSnapshot" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "DeleteDBClusterSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbClusterSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBClusterSnapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.