list_pricing_rules_associated_to_pricing_plan

BillingConductor.Client.list_pricing_rules_associated_to_pricing_plan(**kwargs)

Lists the pricing rules that are associated with a pricing plan.

See also: AWS API Documentation

Request Syntax

response = client.list_pricing_rules_associated_to_pricing_plan(
    BillingPeriod='string',
    PricingPlanArn='string',
    MaxResults=123,
    NextToken='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.

  • MaxResults (integer) -- The optional maximum number of pricing rule associations to retrieve.
  • NextToken (string) -- The optional pagination token returned by a previous call.
Return type

dict

Returns

Response Syntax

{
    'BillingPeriod': 'string',
    'PricingPlanArn': 'string',
    'PricingRuleArns': [
        'string',
    ],
    'NextToken': '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) --
    • NextToken (string) --

      The pagination token to be used on subsequent calls.

Exceptions

  • BillingConductor.Client.exceptions.ThrottlingException
  • BillingConductor.Client.exceptions.AccessDeniedException
  • BillingConductor.Client.exceptions.ValidationException
  • BillingConductor.Client.exceptions.InternalServerException
  • BillingConductor.Client.exceptions.ResourceNotFoundException