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 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 #
:: Text | |
-> Text | |
-> DeletePreparedStatement |
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:
$sel:statementName:DeletePreparedStatement'
, deletePreparedStatement_statementName
- The name of the prepared statement to delete.
$sel:workGroup: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
Eq DeletePreparedStatementResponse Source # | |
Read DeletePreparedStatementResponse Source # | |
Show DeletePreparedStatementResponse Source # | |
Defined in Amazonka.Athena.DeletePreparedStatement | |
Generic DeletePreparedStatementResponse Source # | |
NFData DeletePreparedStatementResponse Source # | |
Defined in Amazonka.Athena.DeletePreparedStatement rnf :: DeletePreparedStatementResponse -> () # | |
type Rep DeletePreparedStatementResponse Source # | |
Defined in Amazonka.Athena.DeletePreparedStatement type Rep DeletePreparedStatementResponse = D1 ('MetaData "DeletePreparedStatementResponse" "Amazonka.Athena.DeletePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" '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.