list_pricing_plans
¶
list_pricing_plans(
*,
config_overrides: Optional[billingconductorClientConfig] = 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/billingconductor.py
2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 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 | |