BedrockAgentCoreControl / Paginator / ListCapacityProviders

ListCapacityProviders

class BedrockAgentCoreControl.Paginator.ListCapacityProviders
paginator = client.get_paginator('list_capacity_providers')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

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

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

{
    'capacityProviders': [
        {
            'capacityProviderId': 'string',
            'capacityProviderArn': 'string',
            'name': 'string',
            'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED',
            'lastUpdatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • capacityProviders (list) –

      The list of capacity provider summaries.

      • (dict) –

        A summary of a capacity provider, as returned by ListCapacityProviders. Each summary includes the capacity provider identifier, Amazon Resource Name (ARN), name, status, and last-updated timestamp.

        • capacityProviderId (string) –

          The unique identifier of the capacity provider.

        • capacityProviderArn (string) –

          The Amazon Resource Name (ARN) of the capacity provider.

        • name (string) –

          The name of the capacity provider.

        • status (string) –

          The current status of the capacity provider. For possible values, see CapacityProviderStatus.

        • lastUpdatedAt (datetime) –

          The timestamp when the capacity provider was last updated.

    • NextToken (string) –

      A token to resume pagination.