| 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 |
Amazonka.Wisdom.ListAssistantAssociations
Description
Lists information about assistant associations.
This operation returns paginated results.
Synopsis
- data ListAssistantAssociations = ListAssistantAssociations' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- assistantId :: Text
- newListAssistantAssociations :: Text -> ListAssistantAssociations
- listAssistantAssociations_maxResults :: Lens' ListAssistantAssociations (Maybe Natural)
- listAssistantAssociations_nextToken :: Lens' ListAssistantAssociations (Maybe Text)
- 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.
Constructors
| ListAssistantAssociations' | |
Fields
| |
Instances
newListAssistantAssociations Source #
Arguments
| :: Text | |
| -> ListAssistantAssociations |
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:maxResults:ListAssistantAssociations', listAssistantAssociations_maxResults - The maximum number of results to return per page.
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.
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_maxResults :: Lens' ListAssistantAssociations (Maybe Natural) Source #
The maximum number of results to return per page.
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_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.
Constructors
| ListAssistantAssociationsResponse' | |
Fields
| |
Instances
newListAssistantAssociationsResponse Source #
Arguments
| :: Int | |
| -> ListAssistantAssociationsResponse |
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:
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.