list_pricing_plans
async
¶
list_pricing_plans(
*,
config_overrides: Optional[AsyncbillingconductorClientConfig] = None,
billing_period: Optional[BillingPeriod] = None,
filters: Optional[ListPricingPlansFilter] = None,
max_results: Optional[MaxPricingPlanResults] = None,
next_token: Optional[Token] = None,
) -> ListPricingPlansOutput
A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
Parameters:
-
billing_period(Optional[BillingPeriod], default:None) –The preferred billing period to get pricing plan.
-
filters(Optional[ListPricingPlansFilter], default:None) –A
ListPricingPlansFilterthat specifies the Amazon Resource Name (ARNs) of pricing plans to retrieve pricing plans information. -
max_results(Optional[MaxPricingPlanResults], default:None) –The maximum number of pricing plans to retrieve.
-
next_token(Optional[Token], default:None) –The pagination token that's used on subsequent call to get pricing plans.
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
2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 | |