Bedrock / Paginator / ListInferenceProfiles

ListInferenceProfiles#

class Bedrock.Paginator.ListInferenceProfiles#
paginator = client.get_paginator('list_inference_profiles')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Bedrock.Client.list_inference_profiles().

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

{
    'inferenceProfileSummaries': [
        {
            'inferenceProfileName': 'string',
            'models': [
                {
                    'modelArn': 'string'
                },
            ],
            'description': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'inferenceProfileArn': 'string',
            'inferenceProfileId': 'string',
            'status': 'ACTIVE',
            'type': 'SYSTEM_DEFINED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • inferenceProfileSummaries (list) –

      A list of information about each inference profile that you can use.

      • (dict) –

        Contains information about an inference profile.

        • inferenceProfileName (string) –

          The name of the inference profile.

        • models (list) –

          A list of information about each model in the inference profile.

          • (dict) –

            Contains information about a model.

            • modelArn (string) –

              The Amazon Resource Name (ARN) of the model.

        • description (string) –

          The description of the inference profile.

        • createdAt (datetime) –

          The time at which the inference profile was created.

        • updatedAt (datetime) –

          The time at which the inference profile was last updated.

        • inferenceProfileArn (string) –

          The Amazon Resource Name (ARN) of the inference profile.

        • inferenceProfileId (string) –

          The unique identifier of the inference profile.

        • status (string) –

          The status of the inference profile. ACTIVE means that the inference profile is available to use.

        • type (string) –

          The type of the inference profile. SYSTEM_DEFINED means that the inference profile is defined by Amazon Bedrock.

    • NextToken (string) –

      A token to resume pagination.