Class: Aws::DevOpsAgent::Types::ApprovalAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::DevOpsAgent::Types::ApprovalAction
- Defined in:
- gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb
Overview
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. This structure carries the decision back to the service — which paused tool invocation is being resumed, the opaque interrupt identifier that resumes it, the identifier of the approval request being resolved, optional display text of the control the user chose, and the action taken (APPROVED or REJECTED) — so the service can resume the paused execution. All members are optional on the wire; service-side validation is applied against the populated subset.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action taken on the approval request — APPROVED or REJECTED.
-
#approval_id ⇒ String
Identifier of the approval request being resolved.
-
#button_text ⇒ String
Optional display text of the UI control the user chose (for example, "Approve Exact", "Approve Broader", or "Reject"), provided as auxiliary decision context.
-
#interrupt_id ⇒ String
An opaque resume identifier issued by the service when an agent execution pauses for approval.
-
#tool_use_id ⇒ String
Identifier of the specific paused tool invocation that requested approval.
Instance Attribute Details
#action ⇒ String
The action taken on the approval request — APPROVED or REJECTED.
303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 303 class ApprovalAction < Struct.new( :tool_use_id, :interrupt_id, :approval_id, :button_text, :action) SENSITIVE = [] include Aws::Structure end |
#approval_id ⇒ String
Identifier of the approval request being resolved.
303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 303 class ApprovalAction < Struct.new( :tool_use_id, :interrupt_id, :approval_id, :button_text, :action) SENSITIVE = [] include Aws::Structure end |
#button_text ⇒ String
Optional display text of the UI control the user chose (for example, "Approve Exact", "Approve Broader", or "Reject"), provided as auxiliary decision context.
303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 303 class ApprovalAction < Struct.new( :tool_use_id, :interrupt_id, :approval_id, :button_text, :action) SENSITIVE = [] include Aws::Structure end |
#interrupt_id ⇒ String
An opaque resume identifier issued by the service when an agent execution pauses for approval. Provide it when resuming so the service can resume the correct paused execution.
303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 303 class ApprovalAction < Struct.new( :tool_use_id, :interrupt_id, :approval_id, :button_text, :action) SENSITIVE = [] include Aws::Structure end |
#tool_use_id ⇒ String
Identifier of the specific paused tool invocation that requested approval. Correlates the approval decision back to the paused invocation.
303 304 305 306 307 308 309 310 311 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 303 class ApprovalAction < Struct.new( :tool_use_id, :interrupt_id, :approval_id, :button_text, :action) SENSITIVE = [] include Aws::Structure end |