update_pricing_rule
async
¶
update_pricing_rule(
arn: PricingRuleArn,
*,
config_overrides: Optional[AsyncbillingconductorClientConfig] = None,
name: Optional[PricingRuleName] = None,
description: Optional[PricingRuleDescription] = None,
type: Optional[PricingRuleType] = None,
modifier_percentage: Optional[ModifierPercentage] = None,
tiering: Optional[UpdateTieringInput] = None,
) -> UpdatePricingRuleOutput
Updates an existing pricing rule.
Parameters:
-
arn(PricingRuleArn) –The Amazon Resource Name (ARN) of the pricing rule to update.
-
name(Optional[PricingRuleName], default:None) –The new name of the pricing rule. The name must be unique to each pricing rule.
-
description(Optional[PricingRuleDescription], default:None) –The new description for the pricing rule.
-
type(Optional[PricingRuleType], default:None) –The new pricing rule type.
-
modifier_percentage(Optional[ModifierPercentage], default:None) –The new modifier to show pricing plan rates as a percentage. Your entry will be rounded to the nearest 2 decimal places.
-
tiering(Optional[UpdateTieringInput], default:None) –The set of tiering configurations for the pricing rule.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–You can cause an inconsistent state by updating or deleting a resource.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–The request references a resource that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input doesn't match with the constraints specified by Amazon Web Services services.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_billingconductor/_services/async_billingconductor.py
2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 | |