libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.CreateContactFlow

Description

Creates a contact flow for the specified Amazon Connect instance.

You can also create and update contact flows using the Amazon Connect Flow language.

Synopsis

Creating a Request

data CreateContactFlow Source #

See: newCreateContactFlow smart constructor.

Constructors

CreateContactFlow' 

Fields

Instances

Instances details
Eq CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Read CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Show CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Generic CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Associated Types

type Rep CreateContactFlow :: Type -> Type #

NFData CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Methods

rnf :: CreateContactFlow -> () #

Hashable CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

ToJSON CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

AWSRequest CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Associated Types

type AWSResponse CreateContactFlow #

ToHeaders CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

ToPath CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

ToQuery CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

type Rep CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

type AWSResponse CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

newCreateContactFlow Source #

Create a value of CreateContactFlow 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:description:CreateContactFlow', createContactFlow_description - The description of the contact flow.

$sel:tags:CreateContactFlow', createContactFlow_tags - One or more tags.

$sel:instanceId:CreateContactFlow', createContactFlow_instanceId - The identifier of the Amazon Connect instance.

$sel:name:CreateContactFlow', createContactFlow_name - The name of the contact flow.

$sel:type':CreateContactFlow', createContactFlow_type - The type of the contact flow. For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide.

$sel:content:CreateContactFlow', createContactFlow_content - The content of the contact flow.

Request Lenses

createContactFlow_description :: Lens' CreateContactFlow (Maybe Text) Source #

The description of the contact flow.

createContactFlow_instanceId :: Lens' CreateContactFlow Text Source #

The identifier of the Amazon Connect instance.

createContactFlow_name :: Lens' CreateContactFlow Text Source #

The name of the contact flow.

createContactFlow_type :: Lens' CreateContactFlow ContactFlowType Source #

The type of the contact flow. For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide.

createContactFlow_content :: Lens' CreateContactFlow Text Source #

The content of the contact flow.

Destructuring the Response

data CreateContactFlowResponse Source #

See: newCreateContactFlowResponse smart constructor.

Constructors

CreateContactFlowResponse' 

Fields

Instances

Instances details
Eq CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Read CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Show CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Generic CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Associated Types

type Rep CreateContactFlowResponse :: Type -> Type #

NFData CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

type Rep CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

type Rep CreateContactFlowResponse = D1 ('MetaData "CreateContactFlowResponse" "Amazonka.Connect.CreateContactFlow" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateContactFlowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactFlowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contactFlowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateContactFlowResponse Source #

Create a value of CreateContactFlowResponse 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:contactFlowArn:CreateContactFlowResponse', createContactFlowResponse_contactFlowArn - The Amazon Resource Name (ARN) of the contact flow.

$sel:contactFlowId:CreateContactFlowResponse', createContactFlowResponse_contactFlowId - The identifier of the contact flow.

$sel:httpStatus:CreateContactFlowResponse', createContactFlowResponse_httpStatus - The response's http status code.

Response Lenses

createContactFlowResponse_contactFlowArn :: Lens' CreateContactFlowResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the contact flow.