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 |
Synopsis
- data NamedQuery = NamedQuery' {
- namedQueryId :: Maybe Text
- description :: Maybe Text
- workGroup :: Maybe Text
- name :: Text
- database :: Text
- queryString :: Text
- newNamedQuery :: Text -> Text -> Text -> NamedQuery
- namedQuery_namedQueryId :: Lens' NamedQuery (Maybe Text)
- namedQuery_description :: Lens' NamedQuery (Maybe Text)
- namedQuery_workGroup :: Lens' NamedQuery (Maybe Text)
- namedQuery_name :: Lens' NamedQuery Text
- namedQuery_database :: Lens' NamedQuery Text
- namedQuery_queryString :: Lens' NamedQuery Text
Documentation
data NamedQuery Source #
A query, where QueryString
is the list of SQL query statements that
comprise the query.
See: newNamedQuery
smart constructor.
NamedQuery' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> NamedQuery |
Create a value of NamedQuery
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:NamedQuery'
, namedQuery_namedQueryId
- The unique identifier of the query.
$sel:description:NamedQuery'
, namedQuery_description
- The query description.
$sel:workGroup:NamedQuery'
, namedQuery_workGroup
- The name of the workgroup that contains the named query.
$sel:name:NamedQuery'
, namedQuery_name
- The query name.
$sel:database:NamedQuery'
, namedQuery_database
- The database to which the query belongs.
$sel:queryString:NamedQuery'
, namedQuery_queryString
- The SQL query statements that comprise the query.
namedQuery_namedQueryId :: Lens' NamedQuery (Maybe Text) Source #
The unique identifier of the query.
namedQuery_description :: Lens' NamedQuery (Maybe Text) Source #
The query description.
namedQuery_workGroup :: Lens' NamedQuery (Maybe Text) Source #
The name of the workgroup that contains the named query.
namedQuery_name :: Lens' NamedQuery Text Source #
The query name.
namedQuery_database :: Lens' NamedQuery Text Source #
The database to which the query belongs.
namedQuery_queryString :: Lens' NamedQuery Text Source #
The SQL query statements that comprise the query.