Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use ListNamedQueries
to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId
. Named queries are different from executed queries. Use BatchGetQueryExecution
to get details about each unique query execution, and ListQueryExecutions
to get a list of query execution IDs.
Synopsis
- batchGetNamedQuery :: NonEmpty Text -> BatchGetNamedQuery
- data BatchGetNamedQuery
- bgnqNamedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text)
- batchGetNamedQueryResponse :: Int -> BatchGetNamedQueryResponse
- data BatchGetNamedQueryResponse
- bgnqrsNamedQueries :: Lens' BatchGetNamedQueryResponse [NamedQuery]
- bgnqrsUnprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse [UnprocessedNamedQueryId]
- bgnqrsResponseStatus :: Lens' BatchGetNamedQueryResponse Int
Creating a Request
Creates a value of BatchGetNamedQuery
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgnqNamedQueryIds
- An array of query IDs.
data BatchGetNamedQuery Source #
See: batchGetNamedQuery
smart constructor.
Instances
Request Lenses
bgnqNamedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text) Source #
An array of query IDs.
Destructuring the Response
batchGetNamedQueryResponse Source #
Creates a value of BatchGetNamedQueryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgnqrsNamedQueries
- Information about the named query IDs submitted.bgnqrsUnprocessedNamedQueryIds
- Information about provided query IDs.bgnqrsResponseStatus
- -- | The response status code.
data BatchGetNamedQueryResponse Source #
See: batchGetNamedQueryResponse
smart constructor.
Instances
Response Lenses
bgnqrsNamedQueries :: Lens' BatchGetNamedQueryResponse [NamedQuery] Source #
Information about the named query IDs submitted.
bgnqrsUnprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse [UnprocessedNamedQueryId] Source #
Information about provided query IDs.
bgnqrsResponseStatus :: Lens' BatchGetNamedQueryResponse Int Source #
- - | The response status code.