Class: Aws::Connect::Types::NewSessionDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb

Overview

Payload of chat properties to apply when starting a new contact.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributes ⇒ Hash<String,String>

A custom key-value pair using an attribute map. The attributes are standard Connect Customer attributes. They can be accessed in 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.

Returns:

  • (Hash<String,String>)


26721
26722
26723
26724
26725
26726
26727
26728
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26721

class NewSessionDetails < Struct.new(
  :supported_messaging_content_types,
  :participant_details,
  :attributes,
  :streaming_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#participant_details ⇒ Types::ParticipantDetails

The details of the participant, including their display name.



26721
26722
26723
26724
26725
26726
26727
26728
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26721

class NewSessionDetails < Struct.new(
  :supported_messaging_content_types,
  :participant_details,
  :attributes,
  :streaming_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#streaming_configuration ⇒ Types::ChatStreamingConfiguration

The streaming configuration, such as the Amazon SNS streaming endpoint.



26721
26722
26723
26724
26725
26726
26727
26728
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26721

class NewSessionDetails < Struct.new(
  :supported_messaging_content_types,
  :participant_details,
  :attributes,
  :streaming_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#supported_messaging_content_types ⇒ Array<String>

The supported chat message content types. Supported types are text/plain, text/markdown, application/json, application/vnd.amazonaws.connect.message.interactive, and application/vnd.amazonaws.connect.message.interactive.response.

Content types must always contain text/plain. You can then put any other supported type in the list. For example, all the following lists are valid because they contain text/plain: [text/plain, text/markdown, application/json], [text/markdown, text/plain], [text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response].

Returns:

  • (Array<String>)


26721
26722
26723
26724
26725
26726
26727
26728
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26721

class NewSessionDetails < Struct.new(
  :supported_messaging_content_types,
  :participant_details,
  :attributes,
  :streaming_configuration)
  SENSITIVE = []
  include Aws::Structure
end