Paws::CostExplorer::GetReservationPurchaseRecommendation - Arguments for method GetReservationPurchaseRecommendation on Paws::CostExplorer


This class represents the parameters used for calling the method GetReservationPurchaseRecommendation on the AWS Cost Explorer Service service. Use the attributes of this class as arguments to method GetReservationPurchaseRecommendation.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetReservationPurchaseRecommendation.


    my $ce = Paws->service('CostExplorer');
    my $GetReservationPurchaseRecommendationResponse =
      Service              => 'MyGenericString',
      AccountId            => 'MyGenericString',    # OPTIONAL
      AccountScope         => 'PAYER',              # OPTIONAL
      LookbackPeriodInDays => 'SEVEN_DAYS',         # OPTIONAL
      NextPageToken        => 'MyNextPageToken',    # OPTIONAL
      PageSize             => 1,                    # OPTIONAL
      PaymentOption        => 'NO_UPFRONT',         # OPTIONAL
      ServiceSpecification => {
        EC2Specification => {
          OfferingClass => 'STANDARD', # values: STANDARD, CONVERTIBLE; OPTIONAL
        },    # OPTIONAL
      },    # OPTIONAL
      TermInYears => 'ONE_YEAR',    # OPTIONAL

    # Results:
    my $Metadata = $GetReservationPurchaseRecommendationResponse->Metadata;
    my $NextPageToken =
    my $Recommendations =

# Returns a Paws::CostExplorer::GetReservationPurchaseRecommendationResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


AccountId => Str

The account ID that is associated with the recommendation.

AccountScope => Str

The account scope that you want recommendations for. PAYER means that AWS includes the master account and any member accounts when it calculates its recommendations. LINKED means that AWS includes only member accounts when it calculates its recommendations.

Valid values are PAYER and LINKED.

Valid values are: "PAYER", "LINKED"

LookbackPeriodInDays => Str

The number of previous days that you want AWS to consider when it calculates your recommendations.

Valid values are: "SEVEN_DAYS", "THIRTY_DAYS", "SIXTY_DAYS"

NextPageToken => Str

The pagination token that indicates the next set of results that you want to retrieve.

PageSize => Int

The number of recommendations that you want returned in a single response object.

PaymentOption => Str

The reservation purchase option that you want recommendations for.


REQUIRED Service => Str

The specific service that you want recommendations for.

ServiceSpecification => Paws::CostExplorer::ServiceSpecification

The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.

TermInYears => Str

The reservation term that you want recommendations for.

Valid values are: "ONE_YEAR", "THREE_YEARS"


This class forms part of Paws, documenting arguments for method GetReservationPurchaseRecommendation in Paws::CostExplorer


The source code is located here:

Please report bugs to: