Skip to content

/AWS1/CL_DOAAPPROVALACTION

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_tooluseid TYPE /AWS1/DOATOOLUSEID /AWS1/DOATOOLUSEID

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

iv_interruptid TYPE /AWS1/DOAINTERRUPTID /AWS1/DOAINTERRUPTID

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.

iv_approvalid TYPE /AWS1/DOAAPPROVALID /AWS1/DOAAPPROVALID

Identifier of the approval request being resolved.

iv_buttontext TYPE /AWS1/DOABUTTONTEXT /AWS1/DOABUTTONTEXT

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

iv_action TYPE /AWS1/DOAAPPROVALACTIONTYPE /AWS1/DOAAPPROVALACTIONTYPE

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


Queryable Attributes

toolUseId

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

Accessible with the following methods

Method Description
GET_TOOLUSEID() Getter for TOOLUSEID, with configurable default
ASK_TOOLUSEID() Getter for TOOLUSEID w/ exceptions if field has no value
HAS_TOOLUSEID() Determine if TOOLUSEID has a value

interruptId

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.

Accessible with the following methods

Method Description
GET_INTERRUPTID() Getter for INTERRUPTID, with configurable default
ASK_INTERRUPTID() Getter for INTERRUPTID w/ exceptions if field has no value
HAS_INTERRUPTID() Determine if INTERRUPTID has a value

approvalId

Identifier of the approval request being resolved.

Accessible with the following methods

Method Description
GET_APPROVALID() Getter for APPROVALID, with configurable default
ASK_APPROVALID() Getter for APPROVALID w/ exceptions if field has no value
HAS_APPROVALID() Determine if APPROVALID has a value

buttonText

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

Accessible with the following methods

Method Description
GET_BUTTONTEXT() Getter for BUTTONTEXT, with configurable default
ASK_BUTTONTEXT() Getter for BUTTONTEXT w/ exceptions if field has no value
HAS_BUTTONTEXT() Determine if BUTTONTEXT has a value

action

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

Accessible with the following methods

Method Description
GET_ACTION() Getter for ACTION, with configurable default
ASK_ACTION() Getter for ACTION w/ exceptions if field has no value
HAS_ACTION() Determine if ACTION has a value