Skip to content

Bedrock Agentcore Control  >  Operations  >  update_agent_runtime

update_agent_runtime

Operation

update_agent_runtime async

update_agent_runtime(input: UpdateAgentRuntimeInput, plugins: list[Plugin] | None = None) -> UpdateAgentRuntimeOutput

Updates an existing Amazon Secure Agent.

Parameters:

Name Type Description Default
input UpdateAgentRuntimeInput

An instance of UpdateAgentRuntimeInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateAgentRuntimeOutput

An instance of UpdateAgentRuntimeOutput.

Input

UpdateAgentRuntimeInput dataclass

Dataclass for UpdateAgentRuntimeInput structure.

Attributes

agent_runtime_artifact class-attribute instance-attribute
agent_runtime_artifact: AgentRuntimeArtifact | None = None

The updated artifact of the AgentCore Runtime.

agent_runtime_id class-attribute instance-attribute
agent_runtime_id: str | None = None

The unique identifier of the AgentCore Runtime to update.

authorizer_configuration class-attribute instance-attribute
authorizer_configuration: AuthorizerConfiguration | None = None

The updated authorizer configuration for the AgentCore Runtime.

client_token class-attribute instance-attribute
client_token: str | None = None

A unique, case-sensitive identifier to ensure idempotency of the request.

description class-attribute instance-attribute
description: str | None = field(repr=False, default=None)

The updated description of the AgentCore Runtime.

environment_variables class-attribute instance-attribute
environment_variables: dict[str, str] | None = field(repr=False, default=None)

Updated environment variables to set in the AgentCore Runtime environment.

filesystem_configurations class-attribute instance-attribute
filesystem_configurations: list[FilesystemConfiguration] | None = None

The updated filesystem configurations to mount into the AgentCore Runtime.

lifecycle_configuration class-attribute instance-attribute
lifecycle_configuration: LifecycleConfiguration | None = None

The updated life cycle configuration for the AgentCore Runtime.

metadata_configuration class-attribute instance-attribute
metadata_configuration: RuntimeMetadataConfiguration | None = None

The updated configuration for microVM Metadata Service (MMDS) settings for the AgentCore Runtime.

network_configuration class-attribute instance-attribute
network_configuration: NetworkConfiguration | None = None

The updated network configuration for the AgentCore Runtime.

protocol_configuration class-attribute instance-attribute
protocol_configuration: ProtocolConfiguration | None = None

The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.

request_header_configuration class-attribute instance-attribute
request_header_configuration: RequestHeaderConfiguration | None = None

The updated configuration for HTTP request headers that will be passed through to the runtime.

role_arn class-attribute instance-attribute
role_arn: str | None = None

The updated IAM role ARN that provides permissions for the AgentCore Runtime.

Output

UpdateAgentRuntimeOutput dataclass

Dataclass for UpdateAgentRuntimeOutput structure.

Attributes

agent_runtime_arn instance-attribute
agent_runtime_arn: str

The Amazon Resource Name (ARN) of the updated AgentCore Runtime.

agent_runtime_id instance-attribute
agent_runtime_id: str

The unique identifier of the updated AgentCore Runtime.

agent_runtime_version instance-attribute
agent_runtime_version: str

The version of the updated AgentCore Runtime.

created_at instance-attribute
created_at: datetime

The timestamp when the AgentCore Runtime was created.

last_updated_at instance-attribute
last_updated_at: datetime

The timestamp when the AgentCore Runtime was last updated.

status instance-attribute

The current status of the updated AgentCore Runtime.

workload_identity_details class-attribute instance-attribute
workload_identity_details: WorkloadIdentityDetails | None = None

The workload identity details for the updated AgentCore Runtime.