| 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.Athena.DeletePreparedStatement
Description
Deletes the prepared statement with the specified name from the specified workgroup.
Synopsis
- data DeletePreparedStatement = DeletePreparedStatement' {
- statementName :: Text
- workGroup :: Text
- newDeletePreparedStatement :: Text -> Text -> DeletePreparedStatement
- deletePreparedStatement_statementName :: Lens' DeletePreparedStatement Text
- deletePreparedStatement_workGroup :: Lens' DeletePreparedStatement Text
- data DeletePreparedStatementResponse = DeletePreparedStatementResponse' {
- httpStatus :: Int
- newDeletePreparedStatementResponse :: Int -> DeletePreparedStatementResponse
- deletePreparedStatementResponse_httpStatus :: Lens' DeletePreparedStatementResponse Int
Creating a Request
data DeletePreparedStatement Source #
See: newDeletePreparedStatement smart constructor.
Constructors
| DeletePreparedStatement' | |
Fields
| |
Instances
newDeletePreparedStatement Source #
Create a value of DeletePreparedStatement 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:
DeletePreparedStatement, deletePreparedStatement_statementName - The name of the prepared statement to delete.
DeletePreparedStatement, deletePreparedStatement_workGroup - The workgroup to which the statement to be deleted belongs.
Request Lenses
deletePreparedStatement_statementName :: Lens' DeletePreparedStatement Text Source #
The name of the prepared statement to delete.
deletePreparedStatement_workGroup :: Lens' DeletePreparedStatement Text Source #
The workgroup to which the statement to be deleted belongs.
Destructuring the Response
data DeletePreparedStatementResponse Source #
See: newDeletePreparedStatementResponse smart constructor.
Constructors
| DeletePreparedStatementResponse' | |
Fields
| |
Instances
newDeletePreparedStatementResponse Source #
Create a value of DeletePreparedStatementResponse 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:DeletePreparedStatementResponse', deletePreparedStatementResponse_httpStatus - The response's http status code.
Response Lenses
deletePreparedStatementResponse_httpStatus :: Lens' DeletePreparedStatementResponse Int Source #
The response's http status code.