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 information about assistants.
This operation returns paginated results.
Synopsis
- data ListAssistants = ListAssistants' {}
- newListAssistants :: ListAssistants
- listAssistants_maxResults :: Lens' ListAssistants (Maybe Natural)
- listAssistants_nextToken :: Lens' ListAssistants (Maybe Text)
- data ListAssistantsResponse = ListAssistantsResponse' {}
- newListAssistantsResponse :: Int -> ListAssistantsResponse
- listAssistantsResponse_nextToken :: Lens' ListAssistantsResponse (Maybe Text)
- listAssistantsResponse_httpStatus :: Lens' ListAssistantsResponse Int
- listAssistantsResponse_assistantSummaries :: Lens' ListAssistantsResponse [AssistantSummary]
Creating a Request
data ListAssistants Source #
See: newListAssistants
smart constructor.
Instances
newListAssistants :: ListAssistants Source #
Create a value of ListAssistants
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:maxResults:ListAssistants'
, listAssistants_maxResults
- The maximum number of results to return per page.
ListAssistants
, listAssistants_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
Request Lenses
listAssistants_maxResults :: Lens' ListAssistants (Maybe Natural) Source #
The maximum number of results to return per page.
listAssistants_nextToken :: Lens' ListAssistants (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Destructuring the Response
data ListAssistantsResponse Source #
See: newListAssistantsResponse
smart constructor.
ListAssistantsResponse' | |
|
Instances
newListAssistantsResponse Source #
Create a value of ListAssistantsResponse
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:
ListAssistants
, listAssistantsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListAssistantsResponse'
, listAssistantsResponse_httpStatus
- The response's http status code.
$sel:assistantSummaries:ListAssistantsResponse'
, listAssistantsResponse_assistantSummaries
- Information about the assistants.
Response Lenses
listAssistantsResponse_nextToken :: Lens' ListAssistantsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listAssistantsResponse_httpStatus :: Lens' ListAssistantsResponse Int Source #
The response's http status code.
listAssistantsResponse_assistantSummaries :: Lens' ListAssistantsResponse [AssistantSummary] Source #
Information about the assistants.