/AWS1/CL_BDOHARNESS¶
Representation of a Harness.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_harnessid TYPE /AWS1/BDOHARNESSID /AWS1/BDOHARNESSID¶
The ID of the Harness.
iv_harnessname TYPE /AWS1/BDOHARNESSNAME /AWS1/BDOHARNESSNAME¶
The name of the Harness.
iv_arn TYPE /AWS1/BDOHARNESSARN /AWS1/BDOHARNESSARN¶
The ARN of the Harness.
iv_status TYPE /AWS1/BDOHARNESSSTATUS /AWS1/BDOHARNESSSTATUS¶
The status of the Harness.
iv_executionrolearn TYPE /AWS1/BDOROLEARN /AWS1/BDOROLEARN¶
IAM role the Harness assumes when running.
iv_createdat TYPE /AWS1/BDODATETIMESTAMP /AWS1/BDODATETIMESTAMP¶
The createdAt time of the Harness.
iv_updatedat TYPE /AWS1/BDODATETIMESTAMP /AWS1/BDODATETIMESTAMP¶
The updatedAt time of the Harness.
io_model TYPE REF TO /AWS1/CL_BDOHARNESSMODELCONF /AWS1/CL_BDOHARNESSMODELCONF¶
The configuration of the default model used by the Harness.
it_systemprompt TYPE /AWS1/CL_BDOHARNSYSCONTBLOCK=>TT_HARNESSSYSTEMPROMPT TT_HARNESSSYSTEMPROMPT¶
The system prompt of the Harness.
it_tools TYPE /AWS1/CL_BDOHARNESSTOOL=>TT_HARNESSTOOLS TT_HARNESSTOOLS¶
The tools of the Harness.
it_skills TYPE /AWS1/CL_BDOHARNESSSKILL=>TT_HARNESSSKILLS TT_HARNESSSKILLS¶
The skills of the Harness.
it_allowedtools TYPE /AWS1/CL_BDOHARNESSALWDTOOLS_W=>TT_HARNESSALLOWEDTOOLS TT_HARNESSALLOWEDTOOLS¶
The allowed tools of the Harness. All tools are allowed by default.
io_truncation TYPE REF TO /AWS1/CL_BDOHARNESSTRNCTNCONF /AWS1/CL_BDOHARNESSTRNCTNCONF¶
Configuration for truncating model context.
io_environment TYPE REF TO /AWS1/CL_BDOHARNESSENVPROVIDER /AWS1/CL_BDOHARNESSENVPROVIDER¶
The compute environment on which the Harness runs.
Optional arguments:¶
io_environmentartifact TYPE REF TO /AWS1/CL_BDOHARNESSENVARTIFACT /AWS1/CL_BDOHARNESSENVARTIFACT¶
The environment artifact (e.g., container) in which the Harness operates.
it_environmentvariables TYPE /AWS1/CL_BDOENVVARIABLESMAP_W=>TT_ENVIRONMENTVARIABLESMAP TT_ENVIRONMENTVARIABLESMAP¶
Environment variables exposed in the environment in which the Harness operates.
io_authorizerconfiguration TYPE REF TO /AWS1/CL_BDOAUTHORIZERCONF /AWS1/CL_BDOAUTHORIZERCONF¶
Represents inbound authorization configuration options used to authenticate incoming requests.
io_memory TYPE REF TO /AWS1/CL_BDOHARNESSMEMORYCONF /AWS1/CL_BDOHARNESSMEMORYCONF¶
AgentCore Memory instance configuration for short and long term memory.
iv_maxiterations TYPE /AWS1/BDOINTEGER /AWS1/BDOINTEGER¶
The maximum number of iterations in the agent loop allowed before exiting per invocation.
iv_maxtokens TYPE /AWS1/BDOINTEGER /AWS1/BDOINTEGER¶
The maximum number of tokens allowed before exiting per invocation.
iv_timeoutseconds TYPE /AWS1/BDOINTEGER /AWS1/BDOINTEGER¶
The maximum duration per invocation.
iv_failurereason TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING¶
Reason why create or update operations fail.
Queryable Attributes¶
harnessId¶
The ID of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HARNESSID() |
Getter for HARNESSID, with configurable default |
ASK_HARNESSID() |
Getter for HARNESSID w/ exceptions if field has no value |
HAS_HARNESSID() |
Determine if HARNESSID has a value |
harnessName¶
The name of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HARNESSNAME() |
Getter for HARNESSNAME, with configurable default |
ASK_HARNESSNAME() |
Getter for HARNESSNAME w/ exceptions if field has no value |
HAS_HARNESSNAME() |
Determine if HARNESSNAME has a value |
arn¶
The ARN of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ARN() |
Getter for ARN, with configurable default |
ASK_ARN() |
Getter for ARN w/ exceptions if field has no value |
HAS_ARN() |
Determine if ARN has a value |
status¶
The status of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
executionRoleArn¶
IAM role the Harness assumes when running.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXECUTIONROLEARN() |
Getter for EXECUTIONROLEARN, with configurable default |
ASK_EXECUTIONROLEARN() |
Getter for EXECUTIONROLEARN w/ exceptions if field has no va |
HAS_EXECUTIONROLEARN() |
Determine if EXECUTIONROLEARN has a value |
createdAt¶
The createdAt time of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDAT() |
Getter for CREATEDAT, with configurable default |
ASK_CREATEDAT() |
Getter for CREATEDAT w/ exceptions if field has no value |
HAS_CREATEDAT() |
Determine if CREATEDAT has a value |
updatedAt¶
The updatedAt time of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPDATEDAT() |
Getter for UPDATEDAT, with configurable default |
ASK_UPDATEDAT() |
Getter for UPDATEDAT w/ exceptions if field has no value |
HAS_UPDATEDAT() |
Determine if UPDATEDAT has a value |
model¶
The configuration of the default model used by the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MODEL() |
Getter for MODEL |
systemPrompt¶
The system prompt of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SYSTEMPROMPT() |
Getter for SYSTEMPROMPT, with configurable default |
ASK_SYSTEMPROMPT() |
Getter for SYSTEMPROMPT w/ exceptions if field has no value |
HAS_SYSTEMPROMPT() |
Determine if SYSTEMPROMPT has a value |
tools¶
The tools of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOOLS() |
Getter for TOOLS, with configurable default |
ASK_TOOLS() |
Getter for TOOLS w/ exceptions if field has no value |
HAS_TOOLS() |
Determine if TOOLS has a value |
skills¶
The skills of the Harness.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SKILLS() |
Getter for SKILLS, with configurable default |
ASK_SKILLS() |
Getter for SKILLS w/ exceptions if field has no value |
HAS_SKILLS() |
Determine if SKILLS has a value |
allowedTools¶
The allowed tools of the Harness. All tools are allowed by default.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALLOWEDTOOLS() |
Getter for ALLOWEDTOOLS, with configurable default |
ASK_ALLOWEDTOOLS() |
Getter for ALLOWEDTOOLS w/ exceptions if field has no value |
HAS_ALLOWEDTOOLS() |
Determine if ALLOWEDTOOLS has a value |
truncation¶
Configuration for truncating model context.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRUNCATION() |
Getter for TRUNCATION |
environment¶
The compute environment on which the Harness runs.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENVIRONMENT() |
Getter for ENVIRONMENT |
environmentArtifact¶
The environment artifact (e.g., container) in which the Harness operates.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENVIRONMENTARTIFACT() |
Getter for ENVIRONMENTARTIFACT |
environmentVariables¶
Environment variables exposed in the environment in which the Harness operates.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENVIRONMENTVARIABLES() |
Getter for ENVIRONMENTVARIABLES, with configurable default |
ASK_ENVIRONMENTVARIABLES() |
Getter for ENVIRONMENTVARIABLES w/ exceptions if field has n |
HAS_ENVIRONMENTVARIABLES() |
Determine if ENVIRONMENTVARIABLES has a value |
authorizerConfiguration¶
Represents inbound authorization configuration options used to authenticate incoming requests.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUTHORIZERCONFIGURATION() |
Getter for AUTHORIZERCONFIGURATION |
memory¶
AgentCore Memory instance configuration for short and long term memory.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MEMORY() |
Getter for MEMORY |
maxIterations¶
The maximum number of iterations in the agent loop allowed before exiting per invocation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXITERATIONS() |
Getter for MAXITERATIONS, with configurable default |
ASK_MAXITERATIONS() |
Getter for MAXITERATIONS w/ exceptions if field has no value |
HAS_MAXITERATIONS() |
Determine if MAXITERATIONS has a value |
maxTokens¶
The maximum number of tokens allowed before exiting per invocation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXTOKENS() |
Getter for MAXTOKENS, with configurable default |
ASK_MAXTOKENS() |
Getter for MAXTOKENS w/ exceptions if field has no value |
HAS_MAXTOKENS() |
Determine if MAXTOKENS has a value |
timeoutSeconds¶
The maximum duration per invocation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMEOUTSECONDS() |
Getter for TIMEOUTSECONDS, with configurable default |
ASK_TIMEOUTSECONDS() |
Getter for TIMEOUTSECONDS w/ exceptions if field has no valu |
HAS_TIMEOUTSECONDS() |
Determine if TIMEOUTSECONDS has a value |
failureReason¶
Reason why create or update operations fail.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FAILUREREASON() |
Getter for FAILUREREASON, with configurable default |
ASK_FAILUREREASON() |
Getter for FAILUREREASON w/ exceptions if field has no value |
HAS_FAILUREREASON() |
Determine if FAILUREREASON has a value |