list_pricing_rules
async
¶
list_pricing_rules(
*,
config_overrides: Optional[AsyncbillingconductorClientConfig] = None,
billing_period: Optional[BillingPeriod] = None,
filters: Optional[ListPricingRulesFilter] = None,
max_results: Optional[MaxPricingRuleResults] = None,
next_token: Optional[Token] = None,
) -> ListPricingRulesOutput
Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
Parameters:
-
billing_period(Optional[BillingPeriod], default:None) –The preferred billing period to get the pricing plan.
-
filters(Optional[ListPricingRulesFilter], default:None) –A
DescribePricingRuleFilterthat specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information. -
max_results(Optional[MaxPricingRuleResults], default:None) –The maximum number of pricing rules to retrieve.
-
next_token(Optional[Token], default:None) –The pagination token that's used on subsequent call to get pricing rules.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred while processing a request.
-
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
2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 | |