libZSservicesZSamazonka-wisdomZSamazonka-wisdom
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Wisdom.CreateAssistantAssociation

Description

Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.

Synopsis

Creating a Request

data CreateAssistantAssociation Source #

See: newCreateAssistantAssociation smart constructor.

Constructors

CreateAssistantAssociation' 

Fields

Instances

Instances details
Eq CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Read CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Show CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Generic CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Associated Types

type Rep CreateAssistantAssociation :: Type -> Type #

NFData CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Hashable CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

ToJSON CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

AWSRequest CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

ToHeaders CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

ToPath CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

ToQuery CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

type Rep CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

type Rep CreateAssistantAssociation = D1 ('MetaData "CreateAssistantAssociation" "Amazonka.Wisdom.CreateAssistantAssociation" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "CreateAssistantAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "assistantId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "association") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssistantAssociationInputData) :*: S1 ('MetaSel ('Just "associationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssociationType)))))
type AWSResponse CreateAssistantAssociation Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

newCreateAssistantAssociation Source #

Create a value of CreateAssistantAssociation 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:clientToken:CreateAssistantAssociation', createAssistantAssociation_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:tags:CreateAssistantAssociation', createAssistantAssociation_tags - The tags used to organize, track, or control access for this resource.

$sel:assistantId:CreateAssistantAssociation', createAssistantAssociation_assistantId - The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

$sel:association:CreateAssistantAssociation', createAssistantAssociation_association - The identifier of the associated resource.

$sel:associationType:CreateAssistantAssociation', createAssistantAssociation_associationType - The type of association.

Request Lenses

createAssistantAssociation_clientToken :: Lens' CreateAssistantAssociation (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createAssistantAssociation_tags :: Lens' CreateAssistantAssociation (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource.

createAssistantAssociation_assistantId :: Lens' CreateAssistantAssociation 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 CreateAssistantAssociationResponse Source #

Constructors

CreateAssistantAssociationResponse' 

Fields

Instances

Instances details
Eq CreateAssistantAssociationResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Read CreateAssistantAssociationResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Show CreateAssistantAssociationResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Generic CreateAssistantAssociationResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

Associated Types

type Rep CreateAssistantAssociationResponse :: Type -> Type #

NFData CreateAssistantAssociationResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

type Rep CreateAssistantAssociationResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistantAssociation

type Rep CreateAssistantAssociationResponse = D1 ('MetaData "CreateAssistantAssociationResponse" "Amazonka.Wisdom.CreateAssistantAssociation" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "CreateAssistantAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assistantAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssistantAssociationData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateAssistantAssociationResponse Source #

Create a value of CreateAssistantAssociationResponse 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:CreateAssistantAssociationResponse', createAssistantAssociationResponse_assistantAssociation - The assistant association.

$sel:httpStatus:CreateAssistantAssociationResponse', createAssistantAssociationResponse_httpStatus - The response's http status code.

Response Lenses