list_savings_plans_purchase_recommendation_generation
async
¶
list_savings_plans_purchase_recommendation_generation(
*,
config_overrides: Optional[AsyncCostExplorerClientConfig] = 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/async_cost_explorer.py
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 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 | |