| 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.GetAssistantAssociation
Description
Retrieves information about an assistant association.
Synopsis
- data GetAssistantAssociation = GetAssistantAssociation' {}
- newGetAssistantAssociation :: Text -> Text -> GetAssistantAssociation
- getAssistantAssociation_assistantAssociationId :: Lens' GetAssistantAssociation Text
- getAssistantAssociation_assistantId :: Lens' GetAssistantAssociation Text
- data GetAssistantAssociationResponse = GetAssistantAssociationResponse' {}
- newGetAssistantAssociationResponse :: Int -> GetAssistantAssociationResponse
- getAssistantAssociationResponse_assistantAssociation :: Lens' GetAssistantAssociationResponse (Maybe AssistantAssociationData)
- getAssistantAssociationResponse_httpStatus :: Lens' GetAssistantAssociationResponse Int
Creating a Request
data GetAssistantAssociation Source #
See: newGetAssistantAssociation smart constructor.
Constructors
| GetAssistantAssociation' | |
Fields
| |
Instances
newGetAssistantAssociation Source #
Create a value of GetAssistantAssociation 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:
GetAssistantAssociation, getAssistantAssociation_assistantAssociationId - The identifier of the assistant association. Can be either the ID or the
ARN. URLs cannot contain the ARN.
GetAssistantAssociation, getAssistantAssociation_assistantId - The identifier of the Wisdom assistant. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Request Lenses
getAssistantAssociation_assistantAssociationId :: Lens' GetAssistantAssociation Text Source #
The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.
getAssistantAssociation_assistantId :: Lens' GetAssistantAssociation 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 GetAssistantAssociationResponse Source #
See: newGetAssistantAssociationResponse smart constructor.
Constructors
| GetAssistantAssociationResponse' | |
Fields
| |
Instances
newGetAssistantAssociationResponse Source #
Create a value of GetAssistantAssociationResponse 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:assistantAssociation:GetAssistantAssociationResponse', getAssistantAssociationResponse_assistantAssociation - The assistant association.
$sel:httpStatus:GetAssistantAssociationResponse', getAssistantAssociationResponse_httpStatus - The response's http status code.
Response Lenses
getAssistantAssociationResponse_assistantAssociation :: Lens' GetAssistantAssociationResponse (Maybe AssistantAssociationData) Source #
The assistant association.
getAssistantAssociationResponse_httpStatus :: Lens' GetAssistantAssociationResponse Int Source #
The response's http status code.