agent_runtime_versions_by_capacity_providers
Creates, updates, deletes, gets or lists an agent_runtime_versions_by_capacity_providers resource.
Overview
| Name | agent_runtime_versions_by_capacity_providers |
| Type | Resource |
| Id | aws.bedrock_agentcore_control.agent_runtime_versions_by_capacity_providers |
Fields
The following fields are returned by SELECT queries:
- list_agent_runtime_versions_by_capacity_provider
| Name | Datatype | Description |
|---|---|---|
agent_runtime_arn | string | The 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_version | string | The version of the agent runtime. (pattern: <code>([1-9][0-9]{0,4})</code>) |
status | string | The current status of the agent runtime version. (CREATING, CREATE_FAILED, UPDATING, UPDATE_FAILED, READY, DELETING) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_agent_runtime_versions_by_capacity_provider | select | capacity_provider_id, region | maxResults, nextToken | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
capacity_provider_id | string | The unique identifier of the capacity provider. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The 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. |
nextToken | string | If 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
- list_agent_runtime_versions_by_capacity_provider
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 }}'
;