Skip to main content

agent_runtime_versions_by_capacity_providers

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

Overview

Nameagent_runtime_versions_by_capacity_providers
TypeResource
Idaws.bedrock_agentcore_control.agent_runtime_versions_by_capacity_providers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
agent_runtime_arnstringThe Amazon Resource Name (ARN) of the agent 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_versionstringThe version of the agent runtime. (pattern: <code>([1-9][0-9]{0,4})</code>)
statusstringThe current status of the agent runtime version. (CREATING, CREATE_FAILED, UPDATING, UPDATE_FAILED, READY, DELETING)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_agent_runtime_versions_by_capacity_providerselectcapacity_provider_id, regionmaxResults, nextTokenLists the agent runtime versions that are associated with a capacity provider. Use this operation to identify the runtimes you must disassociate before you can delete the capacity provider. Results are paginated; use the nextToken parameter to retrieve additional results.

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
capacity_provider_idstringThe unique identifier of the capacity provider.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
nextTokenstringIf the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

SELECT examples

Lists the agent runtime versions that are associated with a capacity provider. Use this operation to identify the runtimes you must disassociate before you can delete the capacity provider. Results are paginated; use the nextToken parameter to retrieve additional results.

SELECT
agent_runtime_arn,
agent_runtime_version,
status
FROM aws.bedrock_agentcore_control.agent_runtime_versions_by_capacity_providers
WHERE capacity_provider_id = '{{ capacity_provider_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;