ListPricingRulesAssociatedToPricingPlan

class BillingConductor.Paginator.ListPricingRulesAssociatedToPricingPlan
paginator = client.get_paginator('list_pricing_rules_associated_to_pricing_plan')
paginate(**kwargs)

Creates an iterator that will paginate through responses from BillingConductor.Client.list_pricing_rules_associated_to_pricing_plan().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    BillingPeriod='string',
    PricingPlanArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • BillingPeriod (string) -- The billing period for which the pricing rule associations are to be listed.
  • PricingPlanArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the pricing plan for which associations are to be listed.

  • 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

{
    'BillingPeriod': 'string',
    'PricingPlanArn': 'string',
    'PricingRuleArns': [
        'string',
    ],

}

Response Structure

  • (dict) --

    • BillingPeriod (string) --

      The billing period for which the pricing rule associations are listed.

    • PricingPlanArn (string) --

      The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.

    • PricingRuleArns (list) --

      A list containing pricing rules that are associated with the requested pricing plan.

      • (string) --