The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $savingsplans = Paws->service('SavingsPlans');
    my $DescribeSavingsPlansOfferingRatesResponse =
      $savingsplans->DescribeSavingsPlansOfferingRates(
      Filters => [
        {
          Name => 'region'
          , # values: region, instanceFamily, instanceType, productDescription, tenancy, productId; OPTIONAL
          Values => [ 'MyJsonSafeFilterValueString', ... ],    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
      MaxResults => 1,                      # OPTIONAL
      NextToken  => 'MyPaginationToken',    # OPTIONAL
      Operations => [
        'MySavingsPlanRateOperation', ...    # max: 255
      ],    # OPTIONAL
      Products => [
        'EC2', ...    # values: EC2, Fargate, Lambda, SageMaker
      ],    # OPTIONAL
      SavingsPlanOfferingIds    => [ 'MyUUID', ... ],    # OPTIONAL
      SavingsPlanPaymentOptions => [
        'All Upfront', ...    # values: All Upfront, Partial Upfront, No Upfront
      ],    # OPTIONAL
      SavingsPlanTypes => [
        'Compute', ...    # values: Compute, EC2Instance, SageMaker
      ],    # OPTIONAL
      ServiceCodes => [
        'AmazonEC2',
        ... # values: AmazonEC2, AmazonECS, AmazonEKS, AWSLambda, AmazonSageMaker
      ],    # OPTIONAL
      UsageTypes => [
        'MySavingsPlanRateUsageType', ...    # max: 255
      ],    # OPTIONAL
      );

    # Results:
    my $NextToken = $DescribeSavingsPlansOfferingRatesResponse->NextToken;
    my $SearchResults =
      $DescribeSavingsPlansOfferingRatesResponse->SearchResults;

# Returns a Paws::SavingsPlans::DescribeSavingsPlansOfferingRatesResponse 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/DescribeSavingsPlansOfferingRates

ATTRIBUTES

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

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.

Operations => ArrayRef[Str|Undef]

The specific AWS operation for the line item in the billing report.

Products => ArrayRef[Str|Undef]

The AWS products.

SavingsPlanOfferingIds => ArrayRef[Str|Undef]

The IDs of the offerings.

SavingsPlanPaymentOptions => ArrayRef[Str|Undef]

The payment options.

SavingsPlanTypes => ArrayRef[Str|Undef]

The plan types.

ServiceCodes => ArrayRef[Str|Undef]

The services.

UsageTypes => ArrayRef[Str|Undef]

The usage details of the line item in the billing report.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeSavingsPlansOfferingRates 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