The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Connect::StartTaskContact - Arguments for method StartTaskContact on Paws::Connect

DESCRIPTION

This class represents the parameters used for calling the method StartTaskContact on the Amazon Connect Service service. Use the attributes of this class as arguments to method StartTaskContact.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartTaskContact.

SYNOPSIS

my $connect = Paws->service('Connect');
my $StartTaskContactResponse = $connect->StartTaskContact(
  ContactFlowId => 'MyContactFlowId',
  InstanceId    => 'MyInstanceId',
  Name          => 'MyName',
  Attributes    => {
    'MyAttributeName' =>
      'MyAttributeValue',    # key: min: 1, max: 32767, value: max: 32767
  },    # OPTIONAL
  ClientToken       => 'MyClientToken',    # OPTIONAL
  Description       => 'MyDescription',    # OPTIONAL
  PreviousContactId => 'MyContactId',      # OPTIONAL
  References        => {
    'MyReferenceKey' => {
      Type  => 'URL',                 # values: URL
      Value => 'MyReferenceValue',    # max: 4096

    },    # key: min: 1, max: 4096
  },    # OPTIONAL
);

# Results:
my $ContactId = $StartTaskContactResponse->ContactId;

# Returns a L<Paws::Connect::StartTaskContactResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/connect/StartTaskContact

ATTRIBUTES

Attributes => Paws::Connect::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.

ClientToken => Str

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

REQUIRED ContactFlowId => Str

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

Description => Str

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

REQUIRED InstanceId => Str

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

REQUIRED Name => Str

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

PreviousContactId => Str

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

References => Paws::Connect::ContactReferences

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

SEE ALSO

This class forms part of Paws, documenting arguments for method StartTaskContact in Paws::Connect

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues