NAME
Paws::CostExplorer::GetReservationPurchaseRecommendation - Arguments for method GetReservationPurchaseRecommendation on Paws::CostExplorer
DESCRIPTION
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.
SYNOPSIS
my $ce = Paws->service('CostExplorer');
my $GetReservationPurchaseRecommendationResponse =
$ce->GetReservationPurchaseRecommendation(
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 =
$GetReservationPurchaseRecommendationResponse->NextPageToken;
my $Recommendations =
$GetReservationPurchaseRecommendationResponse->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 https://docs.aws.amazon.com/goto/WebAPI/ce/GetReservationPurchaseRecommendation
ATTRIBUTES
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.
Valid values are: "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
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"
SEE ALSO
This class forms part of Paws, documenting arguments for method GetReservationPurchaseRecommendation in Paws::CostExplorer
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues