The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::SavingsPlans - Perl Interface to AWS AWS Savings Plans

SYNOPSIS

  use Paws;

  my $obj = Paws->service('SavingsPlans');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

Savings Plans are a pricing model that offer significant savings on AWS usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For more information, see the AWS Savings Plans User Guide (https://docs.aws.amazon.com/savingsplans/latest/userguide/).

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28

METHODS

CreateSavingsPlan

Commitment => Str
SavingsPlanOfferingId => Str
[ClientToken => Str]
[PurchaseTime => Str]
[Tags => Paws::SavingsPlans::TagMap]
[UpfrontPaymentAmount => Str]

Each argument is described in detail in: Paws::SavingsPlans::CreateSavingsPlan

Returns: a Paws::SavingsPlans::CreateSavingsPlanResponse instance

Creates a Savings Plan.

DeleteQueuedSavingsPlan

SavingsPlanId => Str

Each argument is described in detail in: Paws::SavingsPlans::DeleteQueuedSavingsPlan

Returns: a Paws::SavingsPlans::DeleteQueuedSavingsPlanResponse instance

Deletes the queued purchase for the specified Savings Plan.

DescribeSavingsPlanRates

SavingsPlanId => Str
[Filters => ArrayRef[Paws::SavingsPlans::SavingsPlanRateFilter]]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::SavingsPlans::DescribeSavingsPlanRates

Returns: a Paws::SavingsPlans::DescribeSavingsPlanRatesResponse instance

Describes the specified Savings Plans rates.

DescribeSavingsPlans

[Filters => ArrayRef[Paws::SavingsPlans::SavingsPlanFilter]]
[MaxResults => Int]
[NextToken => Str]
[SavingsPlanArns => ArrayRef[Str|Undef]]
[SavingsPlanIds => ArrayRef[Str|Undef]]
[States => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::SavingsPlans::DescribeSavingsPlans

Returns: a Paws::SavingsPlans::DescribeSavingsPlansResponse instance

Describes the specified Savings Plans.

DescribeSavingsPlansOfferingRates

[Filters => ArrayRef[Paws::SavingsPlans::SavingsPlanOfferingRateFilterElement]]
[MaxResults => Int]
[NextToken => Str]
[Operations => ArrayRef[Str|Undef]]
[Products => ArrayRef[Str|Undef]]
[SavingsPlanOfferingIds => ArrayRef[Str|Undef]]
[SavingsPlanPaymentOptions => ArrayRef[Str|Undef]]
[SavingsPlanTypes => ArrayRef[Str|Undef]]
[ServiceCodes => ArrayRef[Str|Undef]]
[UsageTypes => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::SavingsPlans::DescribeSavingsPlansOfferingRates

Returns: a Paws::SavingsPlans::DescribeSavingsPlansOfferingRatesResponse instance

Describes the specified Savings Plans offering rates.

DescribeSavingsPlansOfferings

[Currencies => ArrayRef[Str|Undef]]
[Descriptions => ArrayRef[Str|Undef]]
[Durations => ArrayRef[Int]]
[Filters => ArrayRef[Paws::SavingsPlans::SavingsPlanOfferingFilterElement]]
[MaxResults => Int]
[NextToken => Str]
[OfferingIds => ArrayRef[Str|Undef]]
[Operations => ArrayRef[Str|Undef]]
[PaymentOptions => ArrayRef[Str|Undef]]
[PlanTypes => ArrayRef[Str|Undef]]
[ProductType => Str]
[ServiceCodes => ArrayRef[Str|Undef]]
[UsageTypes => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::SavingsPlans::DescribeSavingsPlansOfferings

Returns: a Paws::SavingsPlans::DescribeSavingsPlansOfferingsResponse instance

Describes the specified Savings Plans offerings.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::SavingsPlans::ListTagsForResource

Returns: a Paws::SavingsPlans::ListTagsForResourceResponse instance

Lists the tags for the specified resource.

TagResource

ResourceArn => Str
Tags => Paws::SavingsPlans::TagMap

Each argument is described in detail in: Paws::SavingsPlans::TagResource

Returns: a Paws::SavingsPlans::TagResourceResponse instance

Adds the specified tags to the specified resource.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::SavingsPlans::UntagResource

Returns: a Paws::SavingsPlans::UntagResourceResponse instance

Removes the specified tags from the specified resource.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

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