Class: Aws::DevOpsAgent::Types::UpdateApprovalActionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DevOpsAgent::Types::UpdateApprovalActionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-devopsagent/types.rb
Overview
Request structure for UpdateApprovalAction. Submits the terminal
decision (APPROVED or REJECTED) against an approval request,
optionally carrying the finalized pattern and time-to-live when the
action is APPROVED, or a free-text rationale when the action is
REJECTED. Cross-field invariants between action and the
approve-only / reject-only members are enforced by service-side
validation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action to take on the approval request — APPROVED or REJECTED.
-
#agent_space_id ⇒ String
The agent space identifier — multi-tenant workspace scope.
-
#approval_id ⇒ String
Identifier of the approval request being resolved.
-
#final_pattern ⇒ Types::ApprovalPattern
The finalized pattern (tool + argumentPins) that scopes the approval.
-
#reason ⇒ String
Optional free-text rationale for the decision.
-
#single_use ⇒ Boolean
Whether the approved action backs a single executed tool call (true) or is reusable within ttlSeconds (false).
-
#ttl_seconds ⇒ Integer
Approval lifetime in seconds, starting from when the decision is submitted.
Instance Attribute Details
#action ⇒ String
The action to take on the approval request — APPROVED or REJECTED.
6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 6665 class UpdateApprovalActionRequest < Struct.new( :agent_space_id, :approval_id, :action, :final_pattern, :reason, :ttl_seconds, :single_use) SENSITIVE = [] include Aws::Structure end |
#agent_space_id ⇒ String
The agent space identifier — multi-tenant workspace scope. Bound from the request URI.
6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 6665 class UpdateApprovalActionRequest < Struct.new( :agent_space_id, :approval_id, :action, :final_pattern, :reason, :ttl_seconds, :single_use) SENSITIVE = [] include Aws::Structure end |
#approval_id ⇒ String
Identifier of the approval request being resolved. A UUID. Bound from the request URI.
6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 6665 class UpdateApprovalActionRequest < Struct.new( :agent_space_id, :approval_id, :action, :final_pattern, :reason, :ttl_seconds, :single_use) SENSITIVE = [] include Aws::Structure end |
#final_pattern ⇒ Types::ApprovalPattern
The finalized pattern (tool + argumentPins) that scopes the
approval. Required when action is APPROVED; must be absent when
action is REJECTED. The pattern narrows, and must not widen, the
invocation originally requested by the agent. This cross-field
invariant is enforced by service-side validation.
6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 6665 class UpdateApprovalActionRequest < Struct.new( :agent_space_id, :approval_id, :action, :final_pattern, :reason, :ttl_seconds, :single_use) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
Optional free-text rationale for the decision. Permitted when
action is REJECTED; ignored when action is APPROVED.
6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 6665 class UpdateApprovalActionRequest < Struct.new( :agent_space_id, :approval_id, :action, :final_pattern, :reason, :ttl_seconds, :single_use) SENSITIVE = [] include Aws::Structure end |
#single_use ⇒ Boolean
Whether the approved action backs a single executed tool call (true)
or is reusable within ttlSeconds (false). Required when action
is APPROVED; must be absent when action is REJECTED. When true,
ttlSeconds must be absent (the redemption window collapses to the
single use). When false, ttlSeconds is required and bounds the reuse
window. Cross-field invariants are enforced by service-side
validation.
6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 6665 class UpdateApprovalActionRequest < Struct.new( :agent_space_id, :approval_id, :action, :final_pattern, :reason, :ttl_seconds, :single_use) SENSITIVE = [] include Aws::Structure end |
#ttl_seconds ⇒ Integer
Approval lifetime in seconds, starting from when the decision is
submitted. Required when action is APPROVED AND singleUse is
false; must be absent when action is REJECTED or when
singleUse is true (a single-use approval backs one executed
action and the redemption window collapses). Cross-field invariants
are enforced by service-side validation; the @range bound here is
the operation-boundary check that always applies (a maximum of 4
hours).
6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 |
# File 'lib/aws-sdk-devopsagent/types.rb', line 6665 class UpdateApprovalActionRequest < Struct.new( :agent_space_id, :approval_id, :action, :final_pattern, :reason, :ttl_seconds, :single_use) SENSITIVE = [] include Aws::Structure end |