/AWS1/CL_DOAAPPROVALPATTERN¶
Tool-invocation pattern primitive used to express both an agent-requested approval and a finalized approval. The primitive is uniform across AWS and third-party tools: a tool identifier plus a map of argument pins that narrow which invocations the pattern matches.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_tool TYPE /AWS1/DOATOOLIDENTIFIER /AWS1/DOATOOLIDENTIFIER¶
Identifier of the tool the pattern applies to (e.g.
use_awsfor AWS actions, or a third-party tool name).
it_argumentpins TYPE /AWS1/CL_DOAAPPRARGUMENTPINS_W=>TT_APPROVALARGUMENTPINS TT_APPROVALARGUMENTPINS¶
Argument constraints that narrow which tool invocations the pattern matches. For AWS tools, the map must include
operation(the IAM action, e.g.ec2:AuthorizeSecurityGroupIngress) andresource_arn(the resource ARN or ARN glob); additional narrowing arguments go in further pin keys. The same{tool, argumentPins}shape is used uniformly for AWS and third-party tools, with tool-specific keys for third-party tools. Requests whose argument pins are collectively too large are rejected with a ValidationException.
Queryable Attributes¶
tool¶
Identifier of the tool the pattern applies to (e.g.
use_awsfor AWS actions, or a third-party tool name).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOOL() |
Getter for TOOL, with configurable default |
ASK_TOOL() |
Getter for TOOL w/ exceptions if field has no value |
HAS_TOOL() |
Determine if TOOL has a value |
argumentPins¶
Argument constraints that narrow which tool invocations the pattern matches. For AWS tools, the map must include
operation(the IAM action, e.g.ec2:AuthorizeSecurityGroupIngress) andresource_arn(the resource ARN or ARN glob); additional narrowing arguments go in further pin keys. The same{tool, argumentPins}shape is used uniformly for AWS and third-party tools, with tool-specific keys for third-party tools. Requests whose argument pins are collectively too large are rejected with a ValidationException.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ARGUMENTPINS() |
Getter for ARGUMENTPINS, with configurable default |
ASK_ARGUMENTPINS() |
Getter for ARGUMENTPINS w/ exceptions if field has no value |
HAS_ARGUMENTPINS() |
Determine if ARGUMENTPINS has a value |