describe_savings_plans
¶
describe_savings_plans(
*,
config_overrides: Optional[savingsplansClientConfig] = 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.