Skip to main content

agent_runtime_endpoints

Creates, updates, deletes, gets or lists an agent_runtime_endpoints resource.

Overview

Nameagent_runtime_endpoints
TypeResource
Idaws.bedrock_agentcore_control.agent_runtime_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the AgentCore Runtime endpoint. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}</code>)
namestringThe name of the AgentCore Runtime endpoint. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,47}</code>)
agent_runtime_arnstringThe Amazon Resource Name (ARN) of the AgentCore Runtime. (pattern: <code>arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:runtime/[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}</code>)
agent_runtime_endpoint_arnstringThe Amazon Resource Name (ARN) of the AgentCore Runtime endpoint. (pattern: <code>arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:runtime/[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}/runtime-endpoint/[a-zA-Z][a-zA-Z0-9_]{0,47}</code>)
created_atstring (date-time)The timestamp when the AgentCore Runtime endpoint was created.
descriptionstringThe description of the AgentCore Runtime endpoint.
failure_reasonstringThe reason for failure if the AgentCore Runtime endpoint is in a failed state.
last_updated_atstring (date-time)The timestamp when the AgentCore Runtime endpoint was last updated.
live_versionstringThe currently deployed version of the AgentCore Runtime on the endpoint. (pattern: <code>([1-9][0-9]{0,4})</code>)
statusstringThe current status of the AgentCore Runtime endpoint. (CREATING, CREATE_FAILED, UPDATING, UPDATE_FAILED, READY, DELETING)
target_versionstringThe target version of the AgentCore Runtime for the endpoint. (pattern: <code>([1-9][0-9]{0,4})</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_agent_runtime_endpointselectagent_runtime_id, endpoint_name, regionGets information about an Amazon Secure AgentEndpoint.
list_agent_runtime_endpointsselectagent_runtime_id, regionmaxResults, nextTokenLists all endpoints for a specific Amazon Secure Agent.
create_agent_runtime_endpointinsertagent_runtime_id, region, nameCreates an AgentCore Runtime endpoint.
update_agent_runtime_endpointupdateagent_runtime_id, endpoint_name, regionUpdates an existing Amazon Bedrock AgentCore Runtime endpoint.
delete_agent_runtime_endpointdeleteagent_runtime_id, endpoint_name, regionclientTokenDeletes an AgentCore Runtime endpoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agent_runtime_idstringThe unique identifier of the AgentCore Runtime associated with the endpoint.
endpoint_namestringThe name of the AgentCore Runtime endpoint to delete.
regionstringAWS region (default: us-east-1)
clientTokenstringA unique, case-sensitive identifier to ensure idempotency of the request.
maxResultsintegerThe maximum number of results to return in the response.
nextTokenstringA token to retrieve the next page of results.

SELECT examples

Gets information about an Amazon Secure AgentEndpoint.

SELECT
id,
name,
agent_runtime_arn,
agent_runtime_endpoint_arn,
created_at,
description,
failure_reason,
last_updated_at,
live_version,
status,
target_version
FROM aws.bedrock_agentcore_control.agent_runtime_endpoints
WHERE agent_runtime_id = '{{ agent_runtime_id }}' -- required
AND endpoint_name = '{{ endpoint_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an AgentCore Runtime endpoint.

INSERT INTO aws.bedrock_agentcore_control.agent_runtime_endpoints (
name,
agentRuntimeVersion,
description,
clientToken,
tags,
agent_runtime_id,
region
)
SELECT
'{{ name }}' /* required */,
'{{ agentRuntimeVersion }}',
'{{ description }}',
'{{ clientToken }}',
'{{ tags }}',
'{{ agent_runtime_id }}',
'{{ region }}'
RETURNING
agent_runtime_arn,
agent_runtime_endpoint_arn,
agent_runtime_id,
created_at,
endpoint_name,
status,
target_version
;

UPDATE examples

Updates an existing Amazon Bedrock AgentCore Runtime endpoint.

UPDATE aws.bedrock_agentcore_control.agent_runtime_endpoints
SET
agentRuntimeVersion = '{{ agentRuntimeVersion }}',
description = '{{ description }}',
clientToken = '{{ clientToken }}'
WHERE
agent_runtime_id = '{{ agent_runtime_id }}' --required
AND endpoint_name = '{{ endpoint_name }}' --required
AND region = '{{ region }}' --required
RETURNING
agent_runtime_arn,
agent_runtime_endpoint_arn,
created_at,
last_updated_at,
live_version,
status,
target_version;

DELETE examples

Deletes an AgentCore Runtime endpoint.

DELETE FROM aws.bedrock_agentcore_control.agent_runtime_endpoints
WHERE agent_runtime_id = '{{ agent_runtime_id }}' --required
AND endpoint_name = '{{ endpoint_name }}' --required
AND region = '{{ region }}' --required
AND clientToken = '{{ clientToken }}'
;