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 |
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.
GetAssistantAssociation' | |
|
Instances
newGetAssistantAssociation Source #
:: Text | |
-> Text | |
-> GetAssistantAssociation |
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:
$sel:assistantAssociationId:GetAssistantAssociation'
, getAssistantAssociation_assistantAssociationId
- The identifier of the assistant association. Can be either the ID or the
ARN. URLs cannot contain the ARN.
$sel:assistantId: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.
GetAssistantAssociationResponse' | |
|
Instances
Eq GetAssistantAssociationResponse Source # | |
Read GetAssistantAssociationResponse Source # | |
Show GetAssistantAssociationResponse Source # | |
Defined in Amazonka.Wisdom.GetAssistantAssociation | |
Generic GetAssistantAssociationResponse Source # | |
NFData GetAssistantAssociationResponse Source # | |
Defined in Amazonka.Wisdom.GetAssistantAssociation rnf :: GetAssistantAssociationResponse -> () # | |
type Rep GetAssistantAssociationResponse Source # | |
Defined in Amazonka.Wisdom.GetAssistantAssociation type Rep GetAssistantAssociationResponse = D1 ('MetaData "GetAssistantAssociationResponse" "Amazonka.Wisdom.GetAssistantAssociation" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "GetAssistantAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assistantAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssistantAssociationData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.