list_savings_plans_purchase_recommendation_generation
¶
list_savings_plans_purchase_recommendation_generation(
*,
config_overrides: Optional[CostExplorerClientConfig] = None,
generation_status: Optional[GenerationStatus] = None,
recommendation_ids: Optional[RecommendationIdList] = None,
page_size: Optional[RecommendationsPageSize] = None,
next_page_token: Optional[NextPageToken] = None,
) -> ListSavingsPlansPurchaseRecommendationGenerationResponse
Retrieves a list of your historical recommendation generations within the past 30 days.
Parameters:
-
generation_status(Optional[GenerationStatus], default:None) –The status of the recommendation generation.
-
recommendation_ids(Optional[RecommendationIdList], default:None) –The IDs for each specific recommendation.
-
page_size(Optional[RecommendationsPageSize], default:None) –The number of recommendations that you want returned in a single response object.
-
next_page_token(Optional[NextPageToken], default:None) –The token to retrieve the next set of results.
Raises:
-
DataUnavailableException–The requested data is unavailable.
-
InvalidNextTokenException–The pagination token is invalid. Try again without a pagination token.
-
LimitExceededException–You made too many calls in a short period of time. Try again later.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cost_explorer/_services/cost_explorer.py
3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 | |