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 |
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.
DeletePreparedStatement' | |
|
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.
DeletePreparedStatementResponse' | |
|
Instances
Generic DeletePreparedStatementResponse Source # | |
Read DeletePreparedStatementResponse Source # | |
Show DeletePreparedStatementResponse Source # | |
Defined in Amazonka.Athena.DeletePreparedStatement | |
NFData DeletePreparedStatementResponse Source # | |
Defined in Amazonka.Athena.DeletePreparedStatement rnf :: DeletePreparedStatementResponse -> () # | |
Eq DeletePreparedStatementResponse Source # | |
type Rep DeletePreparedStatementResponse Source # | |
Defined in Amazonka.Athena.DeletePreparedStatement type Rep DeletePreparedStatementResponse = D1 ('MetaData "DeletePreparedStatementResponse" "Amazonka.Athena.DeletePreparedStatement" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "DeletePreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.