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

Description

Initiates a contact flow to start a new task.

Synopsis

Creating a Request

data StartTaskContact Source #

See: newStartTaskContact smart constructor.

Constructors

StartTaskContact' 

Fields

  • clientToken :: Maybe Text

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

  • references :: Maybe (HashMap Text Reference)

    A formatted URL that is shown to an agent in the Contact Control Panel (CCP).

  • previousContactId :: Maybe Text

    The identifier of the previous chat, voice, or task contact.

  • attributes :: Maybe (HashMap Text Text)

    A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.

    There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

  • description :: Maybe Text

    A description of the task that is shown to an agent in the Contact Control Panel (CCP).

  • instanceId :: Text

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

  • contactFlowId :: Text

    The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

    arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

  • name :: Text

    The name of a task that is shown to an agent in the Contact Control Panel (CCP).

Instances

Instances details
Eq StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Read StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Show StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Generic StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Associated Types

type Rep StartTaskContact :: Type -> Type #

NFData StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Methods

rnf :: StartTaskContact -> () #

Hashable StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

ToJSON StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

AWSRequest StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Associated Types

type AWSResponse StartTaskContact #

ToHeaders StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

ToPath StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

ToQuery StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

type Rep StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

type AWSResponse StartTaskContact Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

newStartTaskContact Source #

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

$sel:references:StartTaskContact', startTaskContact_references - A formatted URL that is shown to an agent in the Contact Control Panel (CCP).

$sel:previousContactId:StartTaskContact', startTaskContact_previousContactId - The identifier of the previous chat, voice, or task contact.

$sel:attributes:StartTaskContact', startTaskContact_attributes - A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

$sel:description:StartTaskContact', startTaskContact_description - A description of the task that is shown to an agent in the Contact Control Panel (CCP).

$sel:instanceId:StartTaskContact', startTaskContact_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

$sel:contactFlowId:StartTaskContact', startTaskContact_contactFlowId - The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

$sel:name:StartTaskContact', startTaskContact_name - The name of a task that is shown to an agent in the Contact Control Panel (CCP).

Request Lenses

startTaskContact_clientToken :: Lens' StartTaskContact (Maybe Text) Source #

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

startTaskContact_references :: Lens' StartTaskContact (Maybe (HashMap Text Reference)) Source #

A formatted URL that is shown to an agent in the Contact Control Panel (CCP).

startTaskContact_previousContactId :: Lens' StartTaskContact (Maybe Text) Source #

The identifier of the previous chat, voice, or task contact.

startTaskContact_attributes :: Lens' StartTaskContact (Maybe (HashMap Text Text)) Source #

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

startTaskContact_description :: Lens' StartTaskContact (Maybe Text) Source #

A description of the task that is shown to an agent in the Contact Control Panel (CCP).

startTaskContact_instanceId :: Lens' StartTaskContact Text Source #

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

startTaskContact_contactFlowId :: Lens' StartTaskContact Text Source #

The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

startTaskContact_name :: Lens' StartTaskContact Text Source #

The name of a task that is shown to an agent in the Contact Control Panel (CCP).

Destructuring the Response

data StartTaskContactResponse Source #

See: newStartTaskContactResponse smart constructor.

Constructors

StartTaskContactResponse' 

Fields

Instances

Instances details
Eq StartTaskContactResponse Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Read StartTaskContactResponse Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Show StartTaskContactResponse Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Generic StartTaskContactResponse Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

Associated Types

type Rep StartTaskContactResponse :: Type -> Type #

NFData StartTaskContactResponse Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

type Rep StartTaskContactResponse Source # 
Instance details

Defined in Amazonka.Connect.StartTaskContact

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

newStartTaskContactResponse Source #

Create a value of StartTaskContactResponse 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:contactId:StartTaskContactResponse', startTaskContactResponse_contactId - The identifier of this contact within the Amazon Connect instance.

$sel:httpStatus:StartTaskContactResponse', startTaskContactResponse_httpStatus - The response's http status code.

Response Lenses

startTaskContactResponse_contactId :: Lens' StartTaskContactResponse (Maybe Text) Source #

The identifier of this contact within the Amazon Connect instance.