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 |
Returns the details of a single prepared statement or a list of up to
256 prepared statements for the array of prepared statement names that
you provide. Requires you to have access to the workgroup to which the
prepared statements belong. If a prepared statement cannot be retrieved
for the name specified, the statement is listed in
UnprocessedPreparedStatementNames
.
Synopsis
- data BatchGetPreparedStatement = BatchGetPreparedStatement' {
- preparedStatementNames :: [Text]
- workGroup :: Text
- newBatchGetPreparedStatement :: Text -> BatchGetPreparedStatement
- batchGetPreparedStatement_preparedStatementNames :: Lens' BatchGetPreparedStatement [Text]
- batchGetPreparedStatement_workGroup :: Lens' BatchGetPreparedStatement Text
- data BatchGetPreparedStatementResponse = BatchGetPreparedStatementResponse' {}
- newBatchGetPreparedStatementResponse :: Int -> BatchGetPreparedStatementResponse
- batchGetPreparedStatementResponse_preparedStatements :: Lens' BatchGetPreparedStatementResponse (Maybe [PreparedStatement])
- batchGetPreparedStatementResponse_unprocessedPreparedStatementNames :: Lens' BatchGetPreparedStatementResponse (Maybe [UnprocessedPreparedStatementName])
- batchGetPreparedStatementResponse_httpStatus :: Lens' BatchGetPreparedStatementResponse Int
Creating a Request
data BatchGetPreparedStatement Source #
See: newBatchGetPreparedStatement
smart constructor.
BatchGetPreparedStatement' | |
|
Instances
newBatchGetPreparedStatement Source #
Create a value of BatchGetPreparedStatement
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:preparedStatementNames:BatchGetPreparedStatement'
, batchGetPreparedStatement_preparedStatementNames
- A list of prepared statement names to return.
BatchGetPreparedStatement
, batchGetPreparedStatement_workGroup
- The name of the workgroup to which the prepared statements belong.
Request Lenses
batchGetPreparedStatement_preparedStatementNames :: Lens' BatchGetPreparedStatement [Text] Source #
A list of prepared statement names to return.
batchGetPreparedStatement_workGroup :: Lens' BatchGetPreparedStatement Text Source #
The name of the workgroup to which the prepared statements belong.
Destructuring the Response
data BatchGetPreparedStatementResponse Source #
See: newBatchGetPreparedStatementResponse
smart constructor.
BatchGetPreparedStatementResponse' | |
|
Instances
newBatchGetPreparedStatementResponse Source #
Create a value of BatchGetPreparedStatementResponse
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:preparedStatements:BatchGetPreparedStatementResponse'
, batchGetPreparedStatementResponse_preparedStatements
- The list of prepared statements returned.
$sel:unprocessedPreparedStatementNames:BatchGetPreparedStatementResponse'
, batchGetPreparedStatementResponse_unprocessedPreparedStatementNames
- A list of one or more prepared statements that were requested but could
not be returned.
$sel:httpStatus:BatchGetPreparedStatementResponse'
, batchGetPreparedStatementResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetPreparedStatementResponse_preparedStatements :: Lens' BatchGetPreparedStatementResponse (Maybe [PreparedStatement]) Source #
The list of prepared statements returned.
batchGetPreparedStatementResponse_unprocessedPreparedStatementNames :: Lens' BatchGetPreparedStatementResponse (Maybe [UnprocessedPreparedStatementName]) Source #
A list of one or more prepared statements that were requested but could not be returned.
batchGetPreparedStatementResponse_httpStatus :: Lens' BatchGetPreparedStatementResponse Int Source #
The response's http status code.