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 |
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. Requires you to have access to the workgroup in which the queries were saved. Use ListNamedQueriesInput to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput to get details about each unique query execution, and ListQueryExecutionsInput to get a list of query execution IDs.
Synopsis
- data BatchGetNamedQuery = BatchGetNamedQuery' {}
- newBatchGetNamedQuery :: NonEmpty Text -> BatchGetNamedQuery
- batchGetNamedQuery_namedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text)
- data BatchGetNamedQueryResponse = BatchGetNamedQueryResponse' {}
- newBatchGetNamedQueryResponse :: Int -> BatchGetNamedQueryResponse
- batchGetNamedQueryResponse_namedQueries :: Lens' BatchGetNamedQueryResponse (Maybe [NamedQuery])
- batchGetNamedQueryResponse_unprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse (Maybe [UnprocessedNamedQueryId])
- batchGetNamedQueryResponse_httpStatus :: Lens' BatchGetNamedQueryResponse Int
Creating a Request
data BatchGetNamedQuery Source #
See: newBatchGetNamedQuery
smart constructor.
BatchGetNamedQuery' | |
|
Instances
newBatchGetNamedQuery Source #
Create a value of BatchGetNamedQuery
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:namedQueryIds:BatchGetNamedQuery'
, batchGetNamedQuery_namedQueryIds
- An array of query IDs.
Request Lenses
batchGetNamedQuery_namedQueryIds :: Lens' BatchGetNamedQuery (NonEmpty Text) Source #
An array of query IDs.
Destructuring the Response
data BatchGetNamedQueryResponse Source #
See: newBatchGetNamedQueryResponse
smart constructor.
BatchGetNamedQueryResponse' | |
|
Instances
newBatchGetNamedQueryResponse Source #
Create a value of BatchGetNamedQueryResponse
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:namedQueries:BatchGetNamedQueryResponse'
, batchGetNamedQueryResponse_namedQueries
- Information about the named query IDs submitted.
$sel:unprocessedNamedQueryIds:BatchGetNamedQueryResponse'
, batchGetNamedQueryResponse_unprocessedNamedQueryIds
- Information about provided query IDs.
$sel:httpStatus:BatchGetNamedQueryResponse'
, batchGetNamedQueryResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetNamedQueryResponse_namedQueries :: Lens' BatchGetNamedQueryResponse (Maybe [NamedQuery]) Source #
Information about the named query IDs submitted.
batchGetNamedQueryResponse_unprocessedNamedQueryIds :: Lens' BatchGetNamedQueryResponse (Maybe [UnprocessedNamedQueryId]) Source #
Information about provided query IDs.
batchGetNamedQueryResponse_httpStatus :: Lens' BatchGetNamedQueryResponse Int Source #
The response's http status code.