describe_savings_plans
async
¶
describe_savings_plans(
*,
config_overrides: Optional[AsyncsavingsplansClientConfig] = None,
savings_plan_arns: Optional[SavingsPlanArnList] = None,
savings_plan_ids: Optional[SavingsPlanIdList] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
states: Optional[SavingsPlanStateList] = None,
filters: Optional[SavingsPlanFilterList] = None,
) -> DescribeSavingsPlansResponse
Describes the specified Savings Plans.
Parameters:
-
savings_plan_arns(Optional[SavingsPlanArnList], default:None) –The Amazon Resource Names (ARN) of the Savings Plans.
-
savings_plan_ids(Optional[SavingsPlanIdList], default:None) –The IDs of the Savings Plans.
-
next_token(Optional[PaginationToken], default:None) –The token for the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
-
states(Optional[SavingsPlanStateList], default:None) –The current states of the Savings Plans.
-
filters(Optional[SavingsPlanFilterList], default:None) –The filters.
Raises:
-
InternalServerException–An unexpected error occurred.
-
ValidationException–One of the input parameters is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_savingsplans/_services/async_savingsplans.py
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 | |