NAME

Paws::ConnectParticipant - Perl Interface to AWS Amazon Connect Participant Service

SYNOPSIS

use Paws;

my $obj = Paws->service('ConnectParticipant');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect enables customer contacts through voice or chat.

The APIs described here are used by chat participants, such as agents and customers.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/participant.connect-2018-09-07

METHODS

CreateParticipantConnection

ParticipantToken => Str
Type => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::ConnectParticipant::CreateParticipantConnection

Returns: a Paws::ConnectParticipant::CreateParticipantConnectionResponse instance

Creates the participant's connection. Note that ParticipantToken is used for invoking this API instead of ConnectionToken.

The participant token is valid for the lifetime of the participant – until the they are part of a contact.

The response URL for WEBSOCKET Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.

For chat, you need to publish the following on the established websocket connection:

{"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}

Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.

DisconnectParticipant

ConnectionToken => Str
[ClientToken => Str]

Each argument is described in detail in: Paws::ConnectParticipant::DisconnectParticipant

Returns: a Paws::ConnectParticipant::DisconnectParticipantResponse instance

Disconnects a participant. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.

GetTranscript

ConnectionToken => Str
[ContactId => Str]
[MaxResults => Int]
[NextToken => Str]
[ScanDirection => Str]
[SortOrder => Str]
[StartPosition => Paws::ConnectParticipant::StartPosition]

Each argument is described in detail in: Paws::ConnectParticipant::GetTranscript

Returns: a Paws::ConnectParticipant::GetTranscriptResponse instance

Retrieves a transcript of the session. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.

SendEvent

ConnectionToken => Str
ContentType => Str
[ClientToken => Str]
[Content => Str]

Each argument is described in detail in: Paws::ConnectParticipant::SendEvent

Returns: a Paws::ConnectParticipant::SendEventResponse instance

Sends an event. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.

SendMessage

ConnectionToken => Str
Content => Str
ContentType => Str
[ClientToken => Str]

Each argument is described in detail in: Paws::ConnectParticipant::SendMessage

Returns: a Paws::ConnectParticipant::SendMessageResponse instance

Sends a message. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

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