BedrockAgentCoreControl / Client / list_agent_runtime_versions_by_capacity_provider
list_agent_runtime_versions_by_capacity_provider¶
- BedrockAgentCoreControl.Client.list_agent_runtime_versions_by_capacity_provider(**kwargs)¶
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
nextTokenparameter to retrieve additional results.See also: AWS API Documentation
Request Syntax
response = client.list_agent_runtime_versions_by_capacity_provider( capacityProviderId='string', maxResults=123, nextToken='string' )
- Parameters:
capacityProviderId (string) –
[REQUIRED]
The unique identifier of the capacity provider.
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
nextTokenfield when making another request to return the next batch of results.nextToken (string) – If the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'agentRuntimes': [ { 'agentRuntimeArn': 'string', 'agentRuntimeVersion': 'string', 'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
agentRuntimes (list) –
The list of agent runtime versions that are associated with the capacity provider.
(dict) –
Summary information about an agent runtime version associated with a capacity provider. This is returned by
ListAgentRuntimeVersionsByCapacityProvider.agentRuntimeArn (string) –
The Amazon Resource Name (ARN) of the agent runtime.
agentRuntimeVersion (string) –
The version of the agent runtime.
status (string) –
The current status of the agent runtime version.
nextToken (string) –
If the total number of results is greater than the
maxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.
Exceptions