| 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.KeySpaces.DeleteKeyspace
Description
The DeleteKeyspace operation deletes a keyspace and all of its tables.
Synopsis
- data DeleteKeyspace = DeleteKeyspace' {
- keyspaceName :: Text
- newDeleteKeyspace :: Text -> DeleteKeyspace
- deleteKeyspace_keyspaceName :: Lens' DeleteKeyspace Text
- data DeleteKeyspaceResponse = DeleteKeyspaceResponse' {
- httpStatus :: Int
- newDeleteKeyspaceResponse :: Int -> DeleteKeyspaceResponse
- deleteKeyspaceResponse_httpStatus :: Lens' DeleteKeyspaceResponse Int
Creating a Request
data DeleteKeyspace Source #
See: newDeleteKeyspace smart constructor.
Constructors
| DeleteKeyspace' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteKeyspace |
Create a value of DeleteKeyspace 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:
DeleteKeyspace, deleteKeyspace_keyspaceName - The name of the keyspace to be deleted.
Request Lenses
deleteKeyspace_keyspaceName :: Lens' DeleteKeyspace Text Source #
The name of the keyspace to be deleted.
Destructuring the Response
data DeleteKeyspaceResponse Source #
See: newDeleteKeyspaceResponse smart constructor.
Constructors
| DeleteKeyspaceResponse' | |
Fields
| |
Instances
newDeleteKeyspaceResponse Source #
Create a value of DeleteKeyspaceResponse 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:DeleteKeyspaceResponse', deleteKeyspaceResponse_httpStatus - The response's http status code.
Response Lenses
deleteKeyspaceResponse_httpStatus :: Lens' DeleteKeyspaceResponse Int Source #
The response's http status code.