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

Description

Creates a flow module for the specified Amazon Connect instance.

Synopsis

Creating a Request

data CreateContactFlowModule Source #

See: newCreateContactFlowModule smart constructor.

Constructors

CreateContactFlowModule' 

Fields

  • clientToken :: Maybe Text

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

  • description :: Maybe Text

    The description of the flow module.

  • tags :: Maybe (HashMap Text Text)

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

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • name :: Text

    The name of the flow module.

  • content :: Text

    The content of the flow module.

Instances

Instances details
ToJSON CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

ToHeaders CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

ToPath CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

ToQuery CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

AWSRequest CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Generic CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Associated Types

type Rep CreateContactFlowModule :: Type -> Type #

Read CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Show CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

NFData CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Methods

rnf :: CreateContactFlowModule -> () #

Eq CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Hashable CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

type AWSResponse CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

type Rep CreateContactFlowModule Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

type Rep CreateContactFlowModule = D1 ('MetaData "CreateContactFlowModule" "Amazonka.Connect.CreateContactFlowModule" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateContactFlowModule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateContactFlowModule Source #

Create a value of CreateContactFlowModule 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:CreateContactFlowModule', createContactFlowModule_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

CreateContactFlowModule, createContactFlowModule_description - The description of the flow module.

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

CreateContactFlowModule, createContactFlowModule_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

CreateContactFlowModule, createContactFlowModule_name - The name of the flow module.

CreateContactFlowModule, createContactFlowModule_content - The content of the flow module.

Request Lenses

createContactFlowModule_clientToken :: Lens' CreateContactFlowModule (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

createContactFlowModule_tags :: Lens' CreateContactFlowModule (Maybe (HashMap Text Text)) Source #

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

createContactFlowModule_instanceId :: Lens' CreateContactFlowModule Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data CreateContactFlowModuleResponse Source #

See: newCreateContactFlowModuleResponse smart constructor.

Constructors

CreateContactFlowModuleResponse' 

Fields

Instances

Instances details
Generic CreateContactFlowModuleResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Associated Types

type Rep CreateContactFlowModuleResponse :: Type -> Type #

Read CreateContactFlowModuleResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Show CreateContactFlowModuleResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

NFData CreateContactFlowModuleResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

Eq CreateContactFlowModuleResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

type Rep CreateContactFlowModuleResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateContactFlowModule

type Rep CreateContactFlowModuleResponse = D1 ('MetaData "CreateContactFlowModuleResponse" "Amazonka.Connect.CreateContactFlowModule" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateContactFlowModuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateContactFlowModuleResponse Source #

Create a value of CreateContactFlowModuleResponse 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:

CreateContactFlowModuleResponse, createContactFlowModuleResponse_arn - The Amazon Resource Name (ARN) of the flow module.

CreateContactFlowModuleResponse, createContactFlowModuleResponse_id - The identifier of the flow module.

$sel:httpStatus:CreateContactFlowModuleResponse', createContactFlowModuleResponse_httpStatus - The response's http status code.

Response Lenses

createContactFlowModuleResponse_arn :: Lens' CreateContactFlowModuleResponse (Maybe Text) Source #

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