BedrockAgentCoreControl / Paginator / ListAgentRuntimeVersionsByCapacityProvider

ListAgentRuntimeVersionsByCapacityProvider

class BedrockAgentCoreControl.Paginator.ListAgentRuntimeVersionsByCapacityProvider
paginator = client.get_paginator('list_agent_runtime_versions_by_capacity_provider')
paginate(**kwargs)

Creates an iterator that will paginate through responses from BedrockAgentCoreControl.Client.list_agent_runtime_versions_by_capacity_provider().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    capacityProviderId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • capacityProviderId (string) –

    [REQUIRED]

    The unique identifier of the capacity provider.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

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) –

      A token to resume pagination.