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 |
Updates a NamedQuery object. The database or workgroup cannot be updated.
Synopsis
- data UpdateNamedQuery = UpdateNamedQuery' {
- description :: Maybe Text
- namedQueryId :: Text
- name :: Text
- queryString :: Text
- newUpdateNamedQuery :: Text -> Text -> Text -> UpdateNamedQuery
- updateNamedQuery_description :: Lens' UpdateNamedQuery (Maybe Text)
- updateNamedQuery_namedQueryId :: Lens' UpdateNamedQuery Text
- updateNamedQuery_name :: Lens' UpdateNamedQuery Text
- updateNamedQuery_queryString :: Lens' UpdateNamedQuery Text
- data UpdateNamedQueryResponse = UpdateNamedQueryResponse' {
- httpStatus :: Int
- newUpdateNamedQueryResponse :: Int -> UpdateNamedQueryResponse
- updateNamedQueryResponse_httpStatus :: Lens' UpdateNamedQueryResponse Int
Creating a Request
data UpdateNamedQuery Source #
See: newUpdateNamedQuery
smart constructor.
UpdateNamedQuery' | |
|
Instances
Create a value of UpdateNamedQuery
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:
UpdateNamedQuery
, updateNamedQuery_description
- The query description.
UpdateNamedQuery
, updateNamedQuery_namedQueryId
- The unique identifier (UUID) of the query.
UpdateNamedQuery
, updateNamedQuery_name
- The name of the query.
UpdateNamedQuery
, updateNamedQuery_queryString
- The contents of the query with all query statements.
Request Lenses
updateNamedQuery_description :: Lens' UpdateNamedQuery (Maybe Text) Source #
The query description.
updateNamedQuery_namedQueryId :: Lens' UpdateNamedQuery Text Source #
The unique identifier (UUID) of the query.
updateNamedQuery_name :: Lens' UpdateNamedQuery Text Source #
The name of the query.
updateNamedQuery_queryString :: Lens' UpdateNamedQuery Text Source #
The contents of the query with all query statements.
Destructuring the Response
data UpdateNamedQueryResponse Source #
See: newUpdateNamedQueryResponse
smart constructor.
UpdateNamedQueryResponse' | |
|
Instances
newUpdateNamedQueryResponse Source #
Create a value of UpdateNamedQueryResponse
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:UpdateNamedQueryResponse'
, updateNamedQueryResponse_httpStatus
- The response's http status code.
Response Lenses
updateNamedQueryResponse_httpStatus :: Lens' UpdateNamedQueryResponse Int Source #
The response's http status code.