Actions12
- Cost Anomaly Detection Actions
- Cost and Usage Actions
- Cost Forecast Actions
- Dimension Values Actions
- Reserved Instances Actions
- Savings Plans Actions
Reserved Instances → Get Recommendations
AI-generatedSummary
Retrieve Reserved Instance purchase recommendations from AWS Cost Explorer for a selected service, commitment term, payment option, and usage lookback period.
Inputs
- riRecommendationService — Service to request recommendations for: Amazon EC2, ElastiCache, Elasticsearch Service, RDS, or Redshift. Defaults to Amazon EC2.
- riTerm — Commitment term: ONE_YEAR or THREE_YEARS. Defaults to ONE_YEAR.
- riPaymentOption — Payment option: ALL_UPFRONT, NO_UPFRONT, or PARTIAL_UPFRONT. Defaults to NO_UPFRONT.
- riLookbackPeriod — Usage lookback period: SEVEN_DAYS, THIRTY_DAYS, or SIXTY_DAYS. Defaults to THIRTY_DAYS.
Output shape
One JSON item per input item, containing a Recommendations array.
Automatically collects all pages and preserves recommendation objects as returned by AWS. The array can be empty; other response metadata is omitted. With Continue On Fail enabled, a failed request returns an item containing an error message.