Skip to content

BedrockAgentCoreControlClient.delete_agent_runtime

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): Deletes an Amazon Bedrock AgentCore Runtime, or a single version of an AgentCore Runtime when you provide the version qualifier.

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
    DeleteAgentRuntimeOutput,
)

Signature

async def delete_agent_runtime(
    *,
    agent_runtime_id: str,
    agent_runtime_version: str | None = None,
    client_token: str | None = None,
) -> DeleteAgentRuntimeOutput: ...

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 delete.
agent_runtime_version No The version of the AgentCore Runtime to delete. When you provide this value, only that version is deleted. When you omit it, the entire AgentCore Runtime and all of its versions are deleted.
client_token No A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.

Output

DeleteAgentRuntimeOutput.

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
status AgentRuntimeStatusOutput Always present AgentRuntimeStatusOutput
agent_runtime_id str | None Always present —
agent_runtime_version str | None Always present —

| 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.

DeleteAgentRuntimeOutput

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, ThrottlingError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model