Operation to update a Harness
Source:R/bedrockagentcorecontrol_operations.R
bedrockagentcorecontrol_update_harness.RdOperation to update a Harness.
See https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_harness/ for full documentation.
Usage
bedrockagentcorecontrol_update_harness(
harnessId,
clientToken = NULL,
executionRoleArn = NULL,
environment = NULL,
environmentArtifact = NULL,
environmentVariables = NULL,
authorizerConfiguration = NULL,
model = NULL,
systemPrompt = NULL,
tools = NULL,
skills = NULL,
allowedTools = NULL,
memory = NULL,
truncation = NULL,
maxIterations = NULL,
maxTokens = NULL,
timeoutSeconds = NULL
)Arguments
- harnessId
[required] The ID of the harness to update.
- clientToken
A unique, case-sensitive identifier to ensure idempotency of the request.
- executionRoleArn
The ARN of the IAM role that the harness assumes when running. If not specified, the existing value is retained.
- environment
The compute environment configuration for the harness. If not specified, the existing value is retained.
- environmentArtifact
The environment artifact for the harness. Use the optionalValue wrapper to set a new value, or set it to null to clear the existing configuration.
- environmentVariables
Environment variables to set in the harness runtime environment. If specified, this replaces all existing environment variables. If not specified, the existing value is retained.
Wrapper for updating an optional AuthorizerConfiguration field with PATCH semantics. When present in an update request, the authorizer configuration is replaced with optionalValue. When absent, the authorizer configuration is left unchanged. To unset, include the wrapper with optionalValue not specified.
- model
The model configuration for the harness. If not specified, the existing value is retained.
- systemPrompt
The system prompt that defines the agent's behavior. If not specified, the existing value is retained.
- tools
The tools available to the agent. If specified, this replaces all existing tools. If not specified, the existing value is retained.
- skills
The skills available to the agent. If specified, this replaces all existing skills. If not specified, the existing value is retained.
- allowedTools
The tools that the agent is allowed to use. If specified, this replaces all existing allowed tools. If not specified, the existing value is retained.
- memory
The AgentCore Memory configuration. Use the optionalValue wrapper to set a new value, or set it to null to clear the existing configuration.
- truncation
The truncation configuration for managing conversation context. If not specified, the existing value is retained.
- maxIterations
The maximum number of iterations the agent loop can execute per invocation. If not specified, the existing value is retained.
- maxTokens
The maximum total number of output tokens the agent can generate across all model calls within a single invocation. If not specified, the existing value is retained.
- timeoutSeconds
The maximum duration in seconds for the agent loop execution per invocation. If not specified, the existing value is retained.