Skip to content

Bedrock AgentCore Control  >  Operations  >  delete_agent_runtime

delete_agent_runtime

Operation

delete_agent_runtime async

delete_agent_runtime(input: DeleteAgentRuntimeInput, plugins: list[Plugin] | None = None) -> DeleteAgentRuntimeOutput

Deletes an Amazon Bedrock AgentCore Runtime, or a single version of an AgentCore Runtime when you provide the version qualifier.

Parameters:

Name Type Description Default
input DeleteAgentRuntimeInput

An instance of DeleteAgentRuntimeInput.

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
DeleteAgentRuntimeOutput

An instance of DeleteAgentRuntimeOutput.

Input

DeleteAgentRuntimeInput dataclass

Dataclass for DeleteAgentRuntimeInput structure.

Attributes

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

The unique identifier of the AgentCore Runtime to delete.

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

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 class-attribute instance-attribute
client_token: str | None = None

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 dataclass

Dataclass for DeleteAgentRuntimeOutput structure.

Attributes

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

The unique identifier of the AgentCore Runtime.

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

The version of the AgentCore Runtime that was deleted. This value is present only when you delete a single version.

status instance-attribute

The current status of the AgentCore Runtime deletion.