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 named query if you have access to the workgroup in which the query was saved.
For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
Synopsis
- data DeleteNamedQuery = DeleteNamedQuery' {
- namedQueryId :: Text
- newDeleteNamedQuery :: Text -> DeleteNamedQuery
- deleteNamedQuery_namedQueryId :: Lens' DeleteNamedQuery Text
- data DeleteNamedQueryResponse = DeleteNamedQueryResponse' {
- httpStatus :: Int
- newDeleteNamedQueryResponse :: Int -> DeleteNamedQueryResponse
- deleteNamedQueryResponse_httpStatus :: Lens' DeleteNamedQueryResponse Int
Creating a Request
data DeleteNamedQuery Source #
See: newDeleteNamedQuery
smart constructor.
DeleteNamedQuery' | |
|
Instances
Create a value of DeleteNamedQuery
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:namedQueryId:DeleteNamedQuery'
, deleteNamedQuery_namedQueryId
- The unique ID of the query to delete.
Request Lenses
deleteNamedQuery_namedQueryId :: Lens' DeleteNamedQuery Text Source #
The unique ID of the query to delete.
Destructuring the Response
data DeleteNamedQueryResponse Source #
See: newDeleteNamedQueryResponse
smart constructor.
DeleteNamedQueryResponse' | |
|
Instances
newDeleteNamedQueryResponse Source #
Create a value of DeleteNamedQueryResponse
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:DeleteNamedQueryResponse'
, deleteNamedQueryResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNamedQueryResponse_httpStatus :: Lens' DeleteNamedQueryResponse Int Source #
The response's http status code.