amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.CreateContactFlow

Description

Creates a flow for the specified Amazon Connect instance.

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

Synopsis

Creating a Request

data CreateContactFlow Source #

See: newCreateContactFlow smart constructor.

Constructors

CreateContactFlow' 

Fields

Instances

Instances details
ToJSON CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.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

AWSRequest CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Associated Types

type AWSResponse CreateContactFlow #

Generic CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Associated Types

type Rep CreateContactFlow :: Type -> Type #

Read CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Show CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

NFData CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Methods

rnf :: CreateContactFlow -> () #

Eq CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Hashable CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

type AWSResponse CreateContactFlow Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

type Rep 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:

CreateContactFlow, createContactFlow_description - The description of the flow.

CreateContactFlow, createContactFlow_tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

CreateContactFlow, createContactFlow_instanceId - The identifier of the Amazon Connect instance.

CreateContactFlow, createContactFlow_name - The name of the flow.

CreateContactFlow, createContactFlow_type - The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.

CreateContactFlow, createContactFlow_content - The content of the flow.

Request Lenses

createContactFlow_tags :: Lens' CreateContactFlow (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

createContactFlow_instanceId :: Lens' CreateContactFlow Text Source #

The identifier of the Amazon Connect instance.

createContactFlow_type :: Lens' CreateContactFlow ContactFlowType Source #

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

Destructuring the Response

data CreateContactFlowResponse Source #

See: newCreateContactFlowResponse smart constructor.

Constructors

CreateContactFlowResponse' 

Fields

Instances

Instances details
Generic CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Associated Types

type Rep CreateContactFlowResponse :: Type -> Type #

Read CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Show CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

NFData CreateContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlow

Eq 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" '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 flow.

CreateContactFlowResponse, createContactFlowResponse_contactFlowId - The identifier of the flow.

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

Response Lenses