BillingConductor / Client / associate_pricing_rules

associate_pricing_rules#

BillingConductor.Client.associate_pricing_rules(**kwargs)#

Connects an array of PricingRuleArns to a defined PricingPlan. The maximum number PricingRuleArn that can be associated in one call is 30.

See also: AWS API Documentation

Request Syntax

response = client.associate_pricing_rules(
    Arn='string',
    PricingRuleArns=[
        'string',
    ]
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The PricingPlanArn that the PricingRuleArns are associated with.

  • PricingRuleArns (list) –

    [REQUIRED]

    The PricingRuleArns that are associated with the Pricing Plan.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string'
}

Response Structure

  • (dict) –

    • Arn (string) –

      The PricingPlanArn that the PricingRuleArns are associated with.

Exceptions