AppMonetization / Paginator / ListThirdPartyCosts

ListThirdPartyCosts

class AppMonetization.Paginator.ListThirdPartyCosts
paginator = client.get_paginator('list_third_party_costs')
paginate(**kwargs)

Creates an iterator that will paginate through responses from AppMonetization.Client.list_third_party_costs().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the app.

  • 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': [
        {
            'appId': 'string',
            'costId': 'string',
            'label': 'string',
            'amount': 'string',
            'frequency': 'MONTHLY',
            'currency': 'USD',
            'description': 'string',
            'effectiveFrom': 'string',
            'effectiveTo': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    Output for ListThirdPartyCosts.

    • items (list) –

      The app’s declared third-party costs.

      • (dict) –

        A seller-declared, non-AWS recurring cost for an app. A flat monthly charge that stands until the developer updates or removes it (no proration, no usage scaling).

        • appId (string) –

          The ID of the app the cost belongs to.

        • costId (string) –

          The ID of the cost.

        • label (string) –

          A human-readable label for the cost (for example, “Anthropic API”).

        • amount (string) –

          The flat monthly amount as a decimal string (for example, “12.50”).

        • frequency (string) –

          How often the cost recurs. MONTHLY is the only value today.

        • currency (string) –

          The currency of the amount. USD is the only supported currency.

        • description (string) –

          A free-form description of the cost.

        • effectiveFrom (string) –

          First month (YYYY-MM) the cost applies in. Absent means the cost has no start month.

        • effectiveTo (string) –

          Last month (YYYY-MM) the cost applies in. Absent means the cost has no end month.

        • createdAt (datetime) –

          The time the cost was created.

        • updatedAt (datetime) –

          The time the cost was last updated.

    • NextToken (string) –

      A token to resume pagination.