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::DescribeSavingsPlans - Arguments for method DescribeSavingsPlans on Paws::SavingsPlans

DESCRIPTION

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

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

SYNOPSIS

    my $savingsplans = Paws->service('SavingsPlans');
    my $DescribeSavingsPlansResponse = $savingsplans->DescribeSavingsPlans(
      Filters => [
        {
          Name => 'region'
          , # values: region, ec2-instance-family, commitment, upfront, term, savings-plan-type, payment-option, start, end; OPTIONAL
          Values => [ 'MyString', ... ],    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
      MaxResults      => 1,                              # OPTIONAL
      NextToken       => 'MyPaginationToken',            # OPTIONAL
      SavingsPlanArns => [ 'MySavingsPlanArn', ... ],    # OPTIONAL
      SavingsPlanIds  => [ 'MySavingsPlanId',  ... ],    # OPTIONAL
      States          => [
        'payment-pending',
        ... # values: payment-pending, payment-failed, active, retired, queued, queued-deleted
      ],    # OPTIONAL
    );

    # Results:
    my $NextToken    = $DescribeSavingsPlansResponse->NextToken;
    my $SavingsPlans = $DescribeSavingsPlansResponse->SavingsPlans;

    # Returns a L<Paws::SavingsPlans::DescribeSavingsPlansResponse> 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/DescribeSavingsPlans

ATTRIBUTES

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

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.

SavingsPlanArns => ArrayRef[Str|Undef]

The Amazon Resource Names (ARN) of the Savings Plans.

SavingsPlanIds => ArrayRef[Str|Undef]

The IDs of the Savings Plans.

States => ArrayRef[Str|Undef]

The states.

SEE ALSO

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