BillingConductor / Client / associate_pricing_rules
associate_pricing_rules#
- BillingConductor.Client.associate_pricing_rules(**kwargs)#
Connects an array of
PricingRuleArns
to a definedPricingPlan
. The maximum numberPricingRuleArn
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 thePricingRuleArns
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 thePricingRuleArns
are associated with.
Exceptions
BillingConductor.Client.exceptions.ThrottlingException
BillingConductor.Client.exceptions.ConflictException
BillingConductor.Client.exceptions.AccessDeniedException
BillingConductor.Client.exceptions.ValidationException
BillingConductor.Client.exceptions.ServiceLimitExceededException
BillingConductor.Client.exceptions.InternalServerException
BillingConductor.Client.exceptions.ResourceNotFoundException