Class: Aws::DevOpsAgent::Types::SendMessageContext
- Inherits:
-
Struct
- Object
- Struct
- Aws::DevOpsAgent::Types::SendMessageContext
- 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
-
#approval_action ⇒ Types::ApprovalAction
An approval decision supplied when resuming a paused agent execution.
-
#current_page ⇒ String
The current page or view the user is on.
-
#last_message ⇒ String
The ID of the last message in the conversation.
-
#user_action_response ⇒ String
Response to a UI prompt (not a text conversation message).
Instance Attribute Details
#approval_action ⇒ Types::ApprovalAction
An approval decision supplied when resuming a paused agent
execution. When an agent execution pauses to request approval for an
elevated action, SendMessage streams an approval request carrying
interrupt identifiers. To resume the paused execution, call
SendMessage again with userActionResponse set to
"APPROVAL\_ACTION" and this member populated with those
identifiers and the decision (APPROVED or REJECTED). Optional; omit
it for messages that are not resuming an approval.
5510 5511 5512 5513 5514 5515 5516 5517 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 5510 class SendMessageContext < Struct.new( :current_page, :last_message, :user_action_response, :approval_action) SENSITIVE = [] include Aws::Structure end |
#current_page ⇒ String
The current page or view the user is on
5510 5511 5512 5513 5514 5515 5516 5517 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 5510 class SendMessageContext < Struct.new( :current_page, :last_message, :user_action_response, :approval_action) SENSITIVE = [] include Aws::Structure end |
#last_message ⇒ String
The ID of the last message in the conversation
5510 5511 5512 5513 5514 5515 5516 5517 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 5510 class SendMessageContext < Struct.new( :current_page, :last_message, :user_action_response, :approval_action) SENSITIVE = [] include Aws::Structure end |
#user_action_response ⇒ String
Response to a UI prompt (not a text conversation message). Set this
to the sentinel value "APPROVAL\_ACTION" when the request is
resuming a paused execution after an approval decision; in that case
the structured decision is provided on the sibling
approvalAction member. Preserved as a String for backward
compatibility: clients that predate the typed approval field may
still encode UI-prompt responses as JSON in this field.
5510 5511 5512 5513 5514 5515 5516 5517 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 5510 class SendMessageContext < Struct.new( :current_page, :last_message, :user_action_response, :approval_action) SENSITIVE = [] include Aws::Structure end |