Class: Aws::DevOpsAgent::Types::ApprovalAction

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#actionString

The action taken on the approval request — APPROVED or REJECTED.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devopsagent/types.rb', line 288

class ApprovalAction < Struct.new(
  :tool_use_id,
  :interrupt_id,
  :approval_id,
  :button_text,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#approval_idString

Identifier of the approval request being resolved.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devopsagent/types.rb', line 288

class ApprovalAction < Struct.new(
  :tool_use_id,
  :interrupt_id,
  :approval_id,
  :button_text,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#button_textString

Optional display text of the UI control the user chose (for example, "Approve Exact", "Approve Broader", or "Reject"), provided as auxiliary decision context.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devopsagent/types.rb', line 288

class ApprovalAction < Struct.new(
  :tool_use_id,
  :interrupt_id,
  :approval_id,
  :button_text,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#interrupt_idString

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.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devopsagent/types.rb', line 288

class ApprovalAction < Struct.new(
  :tool_use_id,
  :interrupt_id,
  :approval_id,
  :button_text,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#tool_use_idString

Identifier of the specific paused tool invocation that requested approval. Correlates the approval decision back to the paused invocation.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devopsagent/types.rb', line 288

class ApprovalAction < Struct.new(
  :tool_use_id,
  :interrupt_id,
  :approval_id,
  :button_text,
  :action)
  SENSITIVE = []
  include Aws::Structure
end