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)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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.



10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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.



10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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:



10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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>)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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)


10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10492

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