Class: Aws::DevOpsAgent::Types::SendMessageContext

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-devopsagent/types.rb

Overview

Context object for additional message metadata

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_pageString

The current page or view the user is on

Returns:

  • (String)


5318
5319
5320
5321
5322
5323
5324
# File 'lib/aws-sdk-devopsagent/types.rb', line 5318

class SendMessageContext < Struct.new(
  :current_page,
  :last_message,
  :user_action_response)
  SENSITIVE = []
  include Aws::Structure
end

#last_messageString

The ID of the last message in the conversation

Returns:

  • (String)


5318
5319
5320
5321
5322
5323
5324
# File 'lib/aws-sdk-devopsagent/types.rb', line 5318

class SendMessageContext < Struct.new(
  :current_page,
  :last_message,
  :user_action_response)
  SENSITIVE = []
  include Aws::Structure
end

#user_action_responseString

Response to a UI prompt (not a text conversation message). Operator App SDK clients set this to the control-string sentinel ‘“APPROVAL_ACTION”` when the request is resuming a paused tool call after an operator approval decision; in that case the structured decision context lives on the sibling `approvalAction` member and the chat agent reads from there. Preserved as a String for back-compat: pre-typed-approval clients still encode arbitrary UI-prompt responses as JSON in this field, and the chat agent parses them out during the transition.

Returns:

  • (String)


5318
5319
5320
5321
5322
5323
5324
# File 'lib/aws-sdk-devopsagent/types.rb', line 5318

class SendMessageContext < Struct.new(
  :current_page,
  :last_message,
  :user_action_response)
  SENSITIVE = []
  include Aws::Structure
end