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 assistant associations.
This operation returns paginated results.
Synopsis
- data ListAssistantAssociations = ListAssistantAssociations' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- assistantId :: Text
- newListAssistantAssociations :: Text -> ListAssistantAssociations
- listAssistantAssociations_nextToken :: Lens' ListAssistantAssociations (Maybe Text)
- listAssistantAssociations_maxResults :: Lens' ListAssistantAssociations (Maybe Natural)
- listAssistantAssociations_assistantId :: Lens' ListAssistantAssociations Text
- data ListAssistantAssociationsResponse = ListAssistantAssociationsResponse' {}
- newListAssistantAssociationsResponse :: Int -> ListAssistantAssociationsResponse
- listAssistantAssociationsResponse_nextToken :: Lens' ListAssistantAssociationsResponse (Maybe Text)
- listAssistantAssociationsResponse_httpStatus :: Lens' ListAssistantAssociationsResponse Int
- listAssistantAssociationsResponse_assistantAssociationSummaries :: Lens' ListAssistantAssociationsResponse [AssistantAssociationSummary]
Creating a Request
data ListAssistantAssociations Source #
See: newListAssistantAssociations
smart constructor.
ListAssistantAssociations' | |
|
Instances
newListAssistantAssociations Source #
Create a value of ListAssistantAssociations
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:ListAssistantAssociations'
, listAssistantAssociations_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:ListAssistantAssociations'
, listAssistantAssociations_maxResults
- The maximum number of results to return per page.
$sel:assistantId:ListAssistantAssociations'
, listAssistantAssociations_assistantId
- The identifier of the Wisdom assistant. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Request Lenses
listAssistantAssociations_nextToken :: Lens' ListAssistantAssociations (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.
listAssistantAssociations_maxResults :: Lens' ListAssistantAssociations (Maybe Natural) Source #
The maximum number of results to return per page.
listAssistantAssociations_assistantId :: Lens' ListAssistantAssociations Text Source #
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
Destructuring the Response
data ListAssistantAssociationsResponse Source #
See: newListAssistantAssociationsResponse
smart constructor.
ListAssistantAssociationsResponse' | |
|
Instances
newListAssistantAssociationsResponse Source #
Create a value of ListAssistantAssociationsResponse
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:ListAssistantAssociations'
, listAssistantAssociationsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListAssistantAssociationsResponse'
, listAssistantAssociationsResponse_httpStatus
- The response's http status code.
$sel:assistantAssociationSummaries:ListAssistantAssociationsResponse'
, listAssistantAssociationsResponse_assistantAssociationSummaries
- Summary information about assistant associations.
Response Lenses
listAssistantAssociationsResponse_nextToken :: Lens' ListAssistantAssociationsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listAssistantAssociationsResponse_httpStatus :: Lens' ListAssistantAssociationsResponse Int Source #
The response's http status code.
listAssistantAssociationsResponse_assistantAssociationSummaries :: Lens' ListAssistantAssociationsResponse [AssistantAssociationSummary] Source #
Summary information about assistant associations.