You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CostExplorer::Types::GetReservationPurchaseRecommendationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::GetReservationPurchaseRecommendationRequest
- Defined in:
- (unknown)
Overview
When passing GetReservationPurchaseRecommendationRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
account_id: "GenericString",
service: "GenericString", # required
account_scope: "PAYER", # accepts PAYER, LINKED
lookback_period_in_days: "SEVEN_DAYS", # accepts SEVEN_DAYS, THIRTY_DAYS, SIXTY_DAYS
term_in_years: "ONE_YEAR", # accepts ONE_YEAR, THREE_YEARS
payment_option: "NO_UPFRONT", # accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
service_specification: {
ec2_specification: {
offering_class: "STANDARD", # accepts STANDARD, CONVERTIBLE
},
},
page_size: 1,
next_page_token: "NextPageToken",
}
Instance Attribute Summary collapse
-
#account_id ⇒ String
The account ID that is associated with the recommendation.
-
#account_scope ⇒ String
The account scope that you want your recommendations for.
-
#lookback_period_in_days ⇒ String
The number of previous days that you want AWS to consider when it calculates your recommendations.
-
#next_page_token ⇒ String
The pagination token that indicates the next set of results that you want to retrieve.
-
#page_size ⇒ Integer
The number of recommendations that you want returned in a single response object.
-
#payment_option ⇒ String
The reservation purchase option that you want recommendations for.
-
#service ⇒ String
The specific service that you want recommendations for.
-
#service_specification ⇒ Types::ServiceSpecification
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
-
#term_in_years ⇒ String
The reservation term that you want recommendations for.
Instance Attribute Details
#account_id ⇒ String
The account ID that is associated with the recommendation.
#account_scope ⇒ String
The account scope that you want your recommendations for. Amazon Web
Services calculates recommendations including the management account and
member accounts if the value is set to PAYER. If the value is
LINKED, recommendations are calculated for individual member accounts
only.
Possible values:
- PAYER
- LINKED
#lookback_period_in_days ⇒ String
The number of previous days that you want AWS to consider when it calculates your recommendations.
Possible values:
- SEVEN_DAYS
- THIRTY_DAYS
- SIXTY_DAYS
#next_page_token ⇒ String
The pagination token that indicates the next set of results that you want to retrieve.
#page_size ⇒ Integer
The number of recommendations that you want returned in a single response object.
#payment_option ⇒ String
The reservation purchase option that you want recommendations for.
Possible values:
- NO_UPFRONT
- PARTIAL_UPFRONT
- ALL_UPFRONT
- LIGHT_UTILIZATION
- MEDIUM_UTILIZATION
- HEAVY_UTILIZATION
#service ⇒ String
The specific service that you want recommendations for.
#service_specification ⇒ Types::ServiceSpecification
The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.
#term_in_years ⇒ String
The reservation term that you want recommendations for.
Possible values:
- ONE_YEAR
- THREE_YEARS