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 |
Lists statements for the session.
Synopsis
- data ListStatements = ListStatements' {}
- newListStatements :: Text -> ListStatements
- listStatements_nextToken :: Lens' ListStatements (Maybe Text)
- listStatements_requestOrigin :: Lens' ListStatements (Maybe Text)
- listStatements_sessionId :: Lens' ListStatements Text
- data ListStatementsResponse = ListStatementsResponse' {
- nextToken :: Maybe Text
- statements :: Maybe [Statement]
- httpStatus :: Int
- newListStatementsResponse :: Int -> ListStatementsResponse
- listStatementsResponse_nextToken :: Lens' ListStatementsResponse (Maybe Text)
- listStatementsResponse_statements :: Lens' ListStatementsResponse (Maybe [Statement])
- listStatementsResponse_httpStatus :: Lens' ListStatementsResponse Int
Creating a Request
data ListStatements Source #
See: newListStatements
smart constructor.
Instances
Create a value of ListStatements
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:
ListStatements
, listStatements_nextToken
- A continuation token, if this is a continuation call.
$sel:requestOrigin:ListStatements'
, listStatements_requestOrigin
- The origin of the request to list statements.
$sel:sessionId:ListStatements'
, listStatements_sessionId
- The Session ID of the statements.
Request Lenses
listStatements_nextToken :: Lens' ListStatements (Maybe Text) Source #
A continuation token, if this is a continuation call.
listStatements_requestOrigin :: Lens' ListStatements (Maybe Text) Source #
The origin of the request to list statements.
listStatements_sessionId :: Lens' ListStatements Text Source #
The Session ID of the statements.
Destructuring the Response
data ListStatementsResponse Source #
See: newListStatementsResponse
smart constructor.
ListStatementsResponse' | |
|
Instances
newListStatementsResponse Source #
Create a value of ListStatementsResponse
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:
ListStatements
, listStatementsResponse_nextToken
- A continuation token, if not all statements have yet been returned.
$sel:statements:ListStatementsResponse'
, listStatementsResponse_statements
- Returns the list of statements.
$sel:httpStatus:ListStatementsResponse'
, listStatementsResponse_httpStatus
- The response's http status code.
Response Lenses
listStatementsResponse_nextToken :: Lens' ListStatementsResponse (Maybe Text) Source #
A continuation token, if not all statements have yet been returned.
listStatementsResponse_statements :: Lens' ListStatementsResponse (Maybe [Statement]) Source #
Returns the list of statements.
listStatementsResponse_httpStatus :: Lens' ListStatementsResponse Int Source #
The response's http status code.