Class: Aws::QConnect::Types::SendMessageRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ai_agent_idString

The identifier of the AI Agent to use for processing the message.

Returns:

  • (String)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#assistant_idString

The identifier of the Amazon Q in Connect assistant.

Returns:

  • (String)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS 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)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#configurationTypes::MessageConfiguration

The configuration of the SendMessage request.



10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#conversation_contextTypes::ConversationContext

The conversation context before the Amazon Q in Connect session.



10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#messageTypes::MessageInput

The message data to submit to the Amazon Q in Connect session.

Returns:



10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#metadataHash<String,String>

Additional metadata for the message.

Returns:

  • (Hash<String,String>)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#orchestrator_use_caseString

The orchestrator use case for message processing.

Returns:

  • (String)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#origin_request_idString

Request identifier from the origin system, used for end-to-end tracing across spans.

Returns:

  • (String)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#session_idString

The identifier of the Amazon Q in Connect session.

Returns:

  • (String)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The message type.

Returns:

  • (String)


10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10354

class SendMessageRequest < Struct.new(
  :assistant_id,
  :session_id,
  :type,
  :message,
  :ai_agent_id,
  :conversation_context,
  :configuration,
  :client_token,
  :orchestrator_use_case,
  :metadata,
  :origin_request_id)
  SENSITIVE = []
  include Aws::Structure
end