blib/lib/Paws/SavingsPlans/DescribeSavingsPlansOfferingRates.pm untested

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SavingsPlans::DescribeSavingsPlansOfferingRates;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::SavingsPlans::SavingsPlanOfferingRateFilterElement]', traits => ['NameInRequest'], request_name => 'filters');
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults');
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken');
7 has Operations => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'operations');
8 has Products => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'products');
9 has SavingsPlanOfferingIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'savingsPlanOfferingIds');
10 has SavingsPlanPaymentOptions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'savingsPlanPaymentOptions');
11 has SavingsPlanTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'savingsPlanTypes');
12 has ServiceCodes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'serviceCodes');
13 has UsageTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'usageTypes');
14  
15 use MooseX::ClassAttribute;
16  
17 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeSavingsPlansOfferingRates');
18 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/DescribeSavingsPlansOfferingRates');
19 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
20 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SavingsPlans::DescribeSavingsPlansOfferingRatesResponse');
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::SavingsPlans::DescribeSavingsPlansOfferingRates - Arguments for method DescribeSavingsPlansOfferingRates on L<Paws::SavingsPlans>
28  
29 =head1 DESCRIPTION
30  
31 This class represents the parameters used for calling the method DescribeSavingsPlansOfferingRates on the
32 L<AWS Savings Plans|Paws::SavingsPlans> service. Use the attributes of this class
33 as arguments to method DescribeSavingsPlansOfferingRates.
34  
35 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeSavingsPlansOfferingRates.
36  
37 =head1 SYNOPSIS
38  
39 my $savingsplans = Paws->service('SavingsPlans');
40 my $DescribeSavingsPlansOfferingRatesResponse =
41 $savingsplans->DescribeSavingsPlansOfferingRates(
42 Filters => [
43 {
44 Name => 'region'
45 , # values: region, instanceFamily, instanceType, productDescription, tenancy, productId; OPTIONAL
46 Values => [ 'MyJsonSafeFilterValueString', ... ], # OPTIONAL
47 },
48 ...
49 ], # OPTIONAL
50 MaxResults => 1, # OPTIONAL
51 NextToken => 'MyPaginationToken', # OPTIONAL
52 Operations => [
53 'MySavingsPlanRateOperation', ... # max: 255
54 ], # OPTIONAL
55 Products => [
56 'EC2', ... # values: EC2, Fargate, Lambda, SageMaker
57 ], # OPTIONAL
58 SavingsPlanOfferingIds => [ 'MyUUID', ... ], # OPTIONAL
59 SavingsPlanPaymentOptions => [
60 'All Upfront', ... # values: All Upfront, Partial Upfront, No Upfront
61 ], # OPTIONAL
62 SavingsPlanTypes => [
63 'Compute', ... # values: Compute, EC2Instance, SageMaker
64 ], # OPTIONAL
65 ServiceCodes => [
66 'AmazonEC2',
67 ... # values: AmazonEC2, AmazonECS, AmazonEKS, AWSLambda, AmazonSageMaker
68 ], # OPTIONAL
69 UsageTypes => [
70 'MySavingsPlanRateUsageType', ... # max: 255
71 ], # OPTIONAL
72 );
73  
74 # Results:
75 my $NextToken = $DescribeSavingsPlansOfferingRatesResponse->NextToken;
76 my $SearchResults =
77 $DescribeSavingsPlansOfferingRatesResponse->SearchResults;
78  
79 # Returns a L<Paws::SavingsPlans::DescribeSavingsPlansOfferingRatesResponse> object.
80  
81 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.
82 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/savingsplans/DescribeSavingsPlansOfferingRates>
83  
84 =head1 ATTRIBUTES
85  
86  
87 =head2 Filters => ArrayRef[L<Paws::SavingsPlans::SavingsPlanOfferingRateFilterElement>]
88  
89 The filters.
90  
91  
92  
93 =head2 MaxResults => Int
94  
95 The maximum number of results to return with a single call. To retrieve
96 additional results, make another call with the returned token value.
97  
98  
99  
100 =head2 NextToken => Str
101  
102 The token for the next page of results.
103  
104  
105  
106 =head2 Operations => ArrayRef[Str|Undef]
107  
108 The specific AWS operation for the line item in the billing report.
109  
110  
111  
112 =head2 Products => ArrayRef[Str|Undef]
113  
114 The AWS products.
115  
116  
117  
118 =head2 SavingsPlanOfferingIds => ArrayRef[Str|Undef]
119  
120 The IDs of the offerings.
121  
122  
123  
124 =head2 SavingsPlanPaymentOptions => ArrayRef[Str|Undef]
125  
126 The payment options.
127  
128  
129  
130 =head2 SavingsPlanTypes => ArrayRef[Str|Undef]
131  
132 The plan types.
133  
134  
135  
136 =head2 ServiceCodes => ArrayRef[Str|Undef]
137  
138 The services.
139  
140  
141  
142 =head2 UsageTypes => ArrayRef[Str|Undef]
143  
144 The usage details of the line item in the billing report.
145  
146  
147  
148  
149 =head1 SEE ALSO
150  
151 This class forms part of L<Paws>, documenting arguments for method DescribeSavingsPlansOfferingRates in L<Paws::SavingsPlans>
152  
153 =head1 BUGS and CONTRIBUTIONS
154  
155 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
156  
157 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
158  
159 =cut
160