AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetReservationPurchaseRecommendation operation. Gets recommendations for reservation purchases. These recommendations might help you to reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.
Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage into categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations in each category of usage to identify the best number of each type of Reserved Instance (RI) to purchase to maximize your estimated savings.
For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared
tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you
buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web
Services recommends the smallest size instance in an instance family. This makes it
easier to purchase a size-flexible Reserved Instance (RI). Amazon Web Services also
shows the equal number of normalized units. This way, you can purchase any instance
size that you want. For this example, your RI recommendation is for c4.large
because that is the smallest size instance in the c4 instance family.
Namespace: Amazon.CostExplorer.Model
Assembly: AWSSDK.CostExplorer.dll
Version: 3.x.y.z
public class GetReservationPurchaseRecommendationRequest : AmazonCostExplorerRequest IAmazonWebServiceRequest
The GetReservationPurchaseRecommendationRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetReservationPurchaseRecommendationRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AccountId | System.String |
Gets and sets the property AccountId. The account ID that's associated with the recommendation. |
![]() |
AccountScope | Amazon.CostExplorer.AccountScope |
Gets and sets the property AccountScope.
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 |
![]() |
Filter | Amazon.CostExplorer.Model.Expression |
Gets and sets the property Filter. |
![]() |
LookbackPeriodInDays | Amazon.CostExplorer.LookbackPeriodInDays |
Gets and sets the property LookbackPeriodInDays. The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations. |
![]() |
NextPageToken | System.String |
Gets and sets the property NextPageToken. The pagination token that indicates the next set of results that you want to retrieve. |
![]() |
PageSize | System.Int32 |
Gets and sets the property PageSize. The number of recommendations that you want returned in a single response object. |
![]() |
PaymentOption | Amazon.CostExplorer.PaymentOption |
Gets and sets the property PaymentOption. The reservation purchase option that you want recommendations for. |
![]() |
Service | System.String |
Gets and sets the property Service. The specific service that you want recommendations for. |
![]() |
ServiceSpecification | Amazon.CostExplorer.Model.ServiceSpecification |
Gets and sets the property ServiceSpecification. The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances. |
![]() |
TermInYears | Amazon.CostExplorer.TermInYears |
Gets and sets the property TermInYears. The reservation term that you want recommendations for. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5