![]() |
![]()
| ![]() |
![]()
NAMEPaws::Connect::StartChatContact - Arguments for method StartChatContact on Paws::Connect DESCRIPTIONThis class represents the parameters used for calling the method StartChatContact on the Amazon Connect Service service. Use the attributes of this class as arguments to method StartChatContact. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartChatContact. SYNOPSISmy $connect = Paws->service('Connect'); my $StartChatContactResponse = $connect->StartChatContact( ContactFlowId => 'MyContactFlowId', InstanceId => 'MyInstanceId', ParticipantDetails => { DisplayName => 'MyDisplayName', # min: 1, max: 256 }, Attributes => { 'MyAttributeName' => 'MyAttributeValue', # key: min: 1, max: 32767, value: max: 32767 }, # OPTIONAL ClientToken => 'MyClientToken', # OPTIONAL InitialMessage => { Content => 'MyChatContent', # min: 1, max: 1024 ContentType => 'MyChatContentType', # min: 1, max: 100 }, # OPTIONAL ); # Results: my $ContactId = $StartChatContactResponse->ContactId; my $ParticipantId = $StartChatContactResponse->ParticipantId; my $ParticipantToken = $StartChatContactResponse->ParticipantToken; # Returns a L<Paws::Connect::StartChatContactResponse> 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/StartChatContact> ATTRIBUTESAttributes => Paws::Connect::AttributesA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They 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 => StrA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. REQUIRED ContactFlowId => StrThe identifier of the contact flow for initiating the chat. 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 InitialMessage => Paws::Connect::ChatMessageThe initial message to be sent to the newly created chat. REQUIRED InstanceId => StrThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. REQUIRED ParticipantDetails => Paws::Connect::ParticipantDetailsInformation identifying the participant. SEE ALSOThis class forms part of Paws, documenting arguments for method StartChatContact in Paws::Connect BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|