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 |
Lists information about assistants.
This operation returns paginated results.
Synopsis
- data ListAssistants = ListAssistants' {}
- newListAssistants :: ListAssistants
- listAssistants_nextToken :: Lens' ListAssistants (Maybe Text)
- listAssistants_maxResults :: Lens' ListAssistants (Maybe Natural)
- 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:nextToken: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.
$sel:maxResults:ListAssistants'
, listAssistants_maxResults
- The maximum number of results to return per page.
Request Lenses
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.
listAssistants_maxResults :: Lens' ListAssistants (Maybe Natural) Source #
The maximum number of results to return per page.
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:
$sel:nextToken: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.