BillingConductor / Client / list_pricing_plans_associated_with_pricing_rule

list_pricing_plans_associated_with_pricing_rule#

BillingConductor.Client.list_pricing_plans_associated_with_pricing_rule(**kwargs)#

A list of the pricing plans that are associated with a pricing rule.

See also: AWS API Documentation

Request Syntax

response = client.list_pricing_plans_associated_with_pricing_rule(
    BillingPeriod='string',
    PricingRuleArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • BillingPeriod (string) – The pricing plan billing period for which associations will be listed.

  • PricingRuleArn (string) –

    [REQUIRED]

    The pricing rule Amazon Resource Name (ARN) for which associations will 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',
    'PricingRuleArn': 'string',
    'PricingPlanArns': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • BillingPeriod (string) –

      The pricing plan billing period for which associations will be listed.

    • PricingRuleArn (string) –

      The pricing rule Amazon Resource Name (ARN) for which associations will be listed.

    • PricingPlanArns (list) –

      The list containing pricing plans that are associated with the requested pricing rule.

      • (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