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.CreateAssistant

Description

Creates an Amazon Connect Wisdom assistant.

Synopsis

Creating a Request

data CreateAssistant Source #

See: newCreateAssistant smart constructor.

Constructors

CreateAssistant' 

Fields

Instances

Instances details
Eq CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Read CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Show CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Generic CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Associated Types

type Rep CreateAssistant :: Type -> Type #

NFData CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Methods

rnf :: CreateAssistant -> () #

Hashable CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

ToJSON CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

AWSRequest CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Associated Types

type AWSResponse CreateAssistant #

ToHeaders CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

ToPath CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

ToQuery CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

type Rep CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

type AWSResponse CreateAssistant Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

newCreateAssistant Source #

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

$sel:description:CreateAssistant', createAssistant_description - The description of the assistant.

$sel:serverSideEncryptionConfiguration:CreateAssistant', createAssistant_serverSideEncryptionConfiguration - The KMS key used for encryption.

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

$sel:name:CreateAssistant', createAssistant_name - The name of the assistant.

$sel:type':CreateAssistant', createAssistant_type - The type of assistant.

Request Lenses

createAssistant_clientToken :: Lens' CreateAssistant (Maybe Text) Source #

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

createAssistant_description :: Lens' CreateAssistant (Maybe Text) Source #

The description of the assistant.

createAssistant_tags :: Lens' CreateAssistant (Maybe (HashMap Text Text)) Source #

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

createAssistant_name :: Lens' CreateAssistant Text Source #

The name of the assistant.

Destructuring the Response

data CreateAssistantResponse Source #

See: newCreateAssistantResponse smart constructor.

Constructors

CreateAssistantResponse' 

Fields

Instances

Instances details
Eq CreateAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Read CreateAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Show CreateAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Generic CreateAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Associated Types

type Rep CreateAssistantResponse :: Type -> Type #

NFData CreateAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

Methods

rnf :: CreateAssistantResponse -> () #

type Rep CreateAssistantResponse Source # 
Instance details

Defined in Amazonka.Wisdom.CreateAssistant

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

newCreateAssistantResponse Source #

Create a value of CreateAssistantResponse 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:assistant:CreateAssistantResponse', createAssistantResponse_assistant - Information about the assistant.

$sel:httpStatus:CreateAssistantResponse', createAssistantResponse_httpStatus - The response's http status code.

Response Lenses