Bedrock / Paginator / ListProvisionedModelThroughputs

ListProvisionedModelThroughputs#

class Bedrock.Paginator.ListProvisionedModelThroughputs#
paginator = client.get_paginator('list_provisioned_model_throughputs')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    creationTimeAfter=datetime(2015, 1, 1),
    creationTimeBefore=datetime(2015, 1, 1),
    statusEquals='Creating'|'InService'|'Updating'|'Failed',
    modelArnEquals='string',
    nameContains='string',
    sortBy='CreationTime',
    sortOrder='Ascending'|'Descending',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • creationTimeAfter (datetime) – Return provisioned capacities created after the specified time.

  • creationTimeBefore (datetime) – Return provisioned capacities created before the specified time.

  • statusEquals (string) – Return the list of provisioned capacities that match the specified status.

  • modelArnEquals (string) – Return the list of provisioned capacities where their model ARN is equal to this parameter.

  • nameContains (string) – Return the list of provisioned capacities if their name contains these characters.

  • sortBy (string) – The field to sort by in the returned list of provisioned capacities.

  • sortOrder (string) – The sort order of the results.

  • 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

{
    'provisionedModelSummaries': [
        {
            'provisionedModelName': 'string',
            'provisionedModelArn': 'string',
            'modelArn': 'string',
            'desiredModelArn': 'string',
            'foundationModelArn': 'string',
            'modelUnits': 123,
            'desiredModelUnits': 123,
            'status': 'Creating'|'InService'|'Updating'|'Failed',
            'commitmentDuration': 'OneMonth'|'SixMonths',
            'commitmentExpirationTime': datetime(2015, 1, 1),
            'creationTime': datetime(2015, 1, 1),
            'lastModifiedTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • provisionedModelSummaries (list) –

      List of summaries, one for each provisioned throughput in the response.

      • (dict) –

        Set of fields associated with a provisioned throughput.

        • provisionedModelName (string) –

          The name of the provisioned throughput.

        • provisionedModelArn (string) –

          The ARN of the provisioned throughput.

        • modelArn (string) –

          The ARN of the model associated with this provisioned throughput.

        • desiredModelArn (string) –

          Desired model ARN.

        • foundationModelArn (string) –

          Foundation model ARN.

        • modelUnits (integer) –

          The number of model units allocated.

        • desiredModelUnits (integer) –

          Desired model units.

        • status (string) –

          Status of the provisioned throughput.

        • commitmentDuration (string) –

          Commitment duration for the provisioned throughput.

        • commitmentExpirationTime (datetime) –

          Commitment expiration time for the provisioned throughput.

        • creationTime (datetime) –

          The time that this provisioned throughput was created.

        • lastModifiedTime (datetime) –

          The time that this provisioned throughput was last modified.

    • NextToken (string) –

      A token to resume pagination.