BillingandCostManagementPricingCalculator / Paginator / ListBillEstimates

ListBillEstimates#

class BillingandCostManagementPricingCalculator.Paginator.ListBillEstimates#
paginator = client.get_paginator('list_bill_estimates')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from BillingandCostManagementPricingCalculator.Client.list_bill_estimates().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    filters=[
        {
            'name': 'STATUS'|'NAME',
            'values': [
                'string',
            ],
            'matchOption': 'EQUALS'|'STARTS_WITH'|'CONTAINS'
        },
    ],
    createdAtFilter={
        'afterTimestamp': datetime(2015, 1, 1),
        'beforeTimestamp': datetime(2015, 1, 1)
    },
    expiresAtFilter={
        'afterTimestamp': datetime(2015, 1, 1),
        'beforeTimestamp': datetime(2015, 1, 1)
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • filters (list) –

    Filters to apply to the list of bill estimates.

    • (dict) –

      Represents a filter for listing bill estimates.

      • name (string) – [REQUIRED]

        The name of the filter attribute.

      • values (list) – [REQUIRED]

        The values to filter by.

        • (string) –

      • matchOption (string) –

        The match option for the filter (e.g., equals, contains).

  • createdAtFilter (dict) –

    Filter bill estimates based on their creation date.

    • afterTimestamp (datetime) –

      Include results after this timestamp.

    • beforeTimestamp (datetime) –

      Include results before this timestamp.

  • expiresAtFilter (dict) –

    Filter bill estimates based on their expiration date.

    • afterTimestamp (datetime) –

      Include results after this timestamp.

    • beforeTimestamp (datetime) –

      Include results before this timestamp.

  • 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

{
    'items': [
        {
            'id': 'string',
            'name': 'string',
            'status': 'IN_PROGRESS'|'COMPLETE'|'FAILED',
            'billInterval': {
                'start': datetime(2015, 1, 1),
                'end': datetime(2015, 1, 1)
            },
            'createdAt': datetime(2015, 1, 1),
            'expiresAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The list of bill estimates for the account.

      • (dict) –

        Provides a summary of a bill estimate.

        • id (string) –

          The unique identifier of the bill estimate.

        • name (string) –

          The name of the bill estimate.

        • status (string) –

          The current status of the bill estimate.

        • billInterval (dict) –

          The time period covered by the bill estimate.

          • start (datetime) –

            The start date and time of the interval.

          • end (datetime) –

            The end date and time of the interval.

        • createdAt (datetime) –

          The timestamp when the bill estimate was created.

        • expiresAt (datetime) –

          The timestamp when the bill estimate will expire.

    • NextToken (string) –

      A token to resume pagination.