BedrockAgentCoreControlClient.update_agent_runtime
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Updates an existing Amazon Secure Agent.
Install and imports
from rboto import BedrockAgentCoreControlClient
from collections.abc import Sequence
from rboto_bedrock_agentcore_control.types import (
AgentRuntimeArtifact,
AllowedPort,
AuthorizerConfiguration,
CapacityProviderConfiguration,
FilesystemConfiguration,
LifecycleConfiguration,
NetworkConfiguration,
ProtocolConfiguration,
RequestHeaderConfiguration,
ResourceConfiguration,
RuntimeHooksConfiguration,
RuntimeMetadataConfiguration,
UpdateAgentRuntimeOutput,
)
Signature
async def update_agent_runtime(
*,
agent_runtime_id: str,
agent_runtime_artifact: AgentRuntimeArtifact,
role_arn: str,
network_configuration: NetworkConfiguration | None = None,
description: str | None = None,
authorizer_configuration: AuthorizerConfiguration | None = None,
request_header_configuration: RequestHeaderConfiguration | None = None,
protocol_configuration: ProtocolConfiguration | None = None,
lifecycle_configuration: LifecycleConfiguration | None = None,
hooks_configuration: RuntimeHooksConfiguration | None = None,
metadata_configuration: RuntimeMetadataConfiguration | None = None,
environment_variables: dict[str, str] | None = None,
filesystem_configurations: Sequence[FilesystemConfiguration] | None = None,
capacity_provider_configuration: CapacityProviderConfiguration | None = None,
platform_version: str | None = None,
allowed_ports: Sequence[AllowedPort] | None = None,
resource_configurations: Sequence[ResourceConfiguration] | None = None,
client_token: str | None = None,
) -> UpdateAgentRuntimeOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
agent_runtime_id |
Yes | The unique identifier of the AgentCore Runtime to update. |
agent_runtime_artifact |
Yes | The updated artifact of the AgentCore Runtime. |
role_arn |
Yes | The updated IAM role ARN that provides permissions for the AgentCore Runtime. |
network_configuration |
No | The updated network configuration for the AgentCore Runtime. |
description |
No | The updated description of the AgentCore Runtime. |
authorizer_configuration |
No | The updated authorizer configuration for the AgentCore Runtime. |
request_header_configuration |
No | The updated configuration for HTTP request headers that will be passed through to the runtime. |
protocol_configuration |
No | The updated protocol configuration for the AgentCore Runtime, including the protocol, port, and path on which the agent server is available. |
lifecycle_configuration |
No | The updated life cycle configuration for the AgentCore Runtime. |
hooks_configuration |
No | The updated lifecycle hooks configuration for the AgentCore Runtime. |
metadata_configuration |
No | The updated configuration for microVM Metadata Service (MMDS) settings for the AgentCore Runtime. |
environment_variables |
No | Updated environment variables to set in the AgentCore Runtime environment. |
filesystem_configurations |
No | The updated filesystem configurations to mount into the AgentCore Runtime. |
capacity_provider_configuration |
No | The updated capacity provider configuration for the AgentCore Runtime. |
platform_version |
No | The updated version of the runtime platform to use for the AgentCore Runtime. |
allowed_ports |
No | The updated additional ports on the AgentCore Runtime that are reachable through the runtime's session URL. Specify one to five non-overlapping entries, each containing either a single port or an inclusive port range. Ports must be between 8000 and 12000 , excluding the reserved port 8443 . |
resource_configurations |
No | The updated resource configurations for the AgentCore Runtime. You can specify at most one resource configuration. |
client_token |
No | A unique, case-sensitive identifier to ensure idempotency of the request. |
Output
UpdateAgentRuntimeOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
agent_runtime_arn |
str |
Always present | — |
agent_runtime_id |
str |
Always present | — |
workload_identity_details |
WorkloadIdentityDetailsOutput | None |
Always present | WorkloadIdentityDetailsOutput |
agent_runtime_version |
str |
Always present | — |
created_at |
str |
Always present | — |
last_updated_at |
str |
Always present | — |
status |
AgentRuntimeStatusOutput |
Always present | AgentRuntimeStatusOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
AgentRuntimeArtifact, AllowedPort, AuthorizerConfiguration, CapacityProviderConfiguration, FilesystemConfiguration, LifecycleConfiguration, NetworkConfiguration, ProtocolConfiguration, RequestHeaderConfiguration, ResourceConfiguration, RuntimeHooksConfiguration, RuntimeMetadataConfiguration, UpdateAgentRuntimeOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore_control.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.