NAME

Paws::SavingsPlans::DescribeSavingsPlanRates - Arguments for method DescribeSavingsPlanRates on Paws::SavingsPlans

DESCRIPTION

This class represents the parameters used for calling the method DescribeSavingsPlanRates on the AWS Savings Plans service. Use the attributes of this class as arguments to method DescribeSavingsPlanRates.

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

SYNOPSIS

my $savingsplans = Paws->service('SavingsPlans');
my $DescribeSavingsPlanRatesResponse =
  $savingsplans->DescribeSavingsPlanRates(
  SavingsPlanId => 'MySavingsPlanId',
  Filters       => [
    {
      Name => 'region'
      , # values: region, instanceType, productDescription, tenancy, productType, serviceCode, usageType, operation; OPTIONAL
      Values => [ 'MyString', ... ],    # OPTIONAL
    },
    ...
  ],    # OPTIONAL
  MaxResults => 1,                      # OPTIONAL
  NextToken  => 'MyPaginationToken',    # OPTIONAL
  );

# Results:
my $NextToken     = $DescribeSavingsPlanRatesResponse->NextToken;
my $SavingsPlanId = $DescribeSavingsPlanRatesResponse->SavingsPlanId;
my $SearchResults = $DescribeSavingsPlanRatesResponse->SearchResults;

# Returns a L<Paws::SavingsPlans::DescribeSavingsPlanRatesResponse> 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/savingsplans/DescribeSavingsPlanRates

ATTRIBUTES

Filters => ArrayRef[Paws::SavingsPlans::SavingsPlanRateFilter]

The filters.

MaxResults => Int

The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

NextToken => Str

The token for the next page of results.

REQUIRED SavingsPlanId => Str

The ID of the Savings Plan.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeSavingsPlanRates in Paws::SavingsPlans

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