Class: Aws::ConnectParticipant::Types::SendEventRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


569
570
571
572
573
574
575
576
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 569

class SendEventRequest < Struct.new(
  :content_type,
  :content,
  :client_token,
  :connection_token)
  SENSITIVE = []
  include Aws::Structure
end

#connection_tokenString

The authentication token associated with the participant's connection.

Returns:

  • (String)


569
570
571
572
573
574
575
576
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 569

class SendEventRequest < Struct.new(
  :content_type,
  :content,
  :client_token,
  :connection_token)
  SENSITIVE = []
  include Aws::Structure
end

#contentString

The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"\}"

Returns:

  • (String)


569
570
571
572
573
574
575
576
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 569

class SendEventRequest < Struct.new(
  :content_type,
  :content,
  :client_token,
  :connection_token)
  SENSITIVE = []
  include Aws::Structure
end

#content_typeString

The content type of the request. Supported types are:

  • application/vnd.amazonaws.connect.event.typing

  • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

  • application/vnd.amazonaws.connect.event.message.delivered

  • application/vnd.amazonaws.connect.event.message.read

Returns:

  • (String)


569
570
571
572
573
574
575
576
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 569

class SendEventRequest < Struct.new(
  :content_type,
  :content,
  :client_token,
  :connection_token)
  SENSITIVE = []
  include Aws::Structure
end