BillingConductor / Client / associate_pricing_rules
associate_pricing_rules#
- BillingConductor.Client.associate_pricing_rules(**kwargs)#
Connects an array of
PricingRuleArnsto a definedPricingPlan. The maximum numberPricingRuleArnthat 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
PricingPlanArnthat thePricingRuleArnsare associated with.PricingRuleArns (list) –
[REQUIRED]
The
PricingRuleArnsthat are associated with the Pricing Plan.(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string' }
Response Structure
(dict) –
Arn (string) –
The
PricingPlanArnthat thePricingRuleArnsare associated with.
Exceptions
BillingConductor.Client.exceptions.ThrottlingExceptionBillingConductor.Client.exceptions.ConflictExceptionBillingConductor.Client.exceptions.AccessDeniedExceptionBillingConductor.Client.exceptions.ValidationExceptionBillingConductor.Client.exceptions.ServiceLimitExceededExceptionBillingConductor.Client.exceptions.InternalServerExceptionBillingConductor.Client.exceptions.ResourceNotFoundException