blib/lib/Paws/CostExplorer.pm untested

filter: Statementstmt 0.0% 0 / 105 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 37 Podpod 0.0% 0 / 36 totaltotal 0.0% 0 / 178 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::CostExplorer;
2 use Moose;
3 sub service { 'ce' }
4 sub signing_name { 'ce' }
5 sub version { '2017-10-25' }
6 sub target_prefix { 'AWSInsightsIndexService' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub CreateAnomalyMonitor {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::CostExplorer::CreateAnomalyMonitor', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub CreateAnomalySubscription {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::CostExplorer::CreateAnomalySubscription', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub CreateCostCategoryDefinition {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::CostExplorer::CreateCostCategoryDefinition', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub DeleteAnomalyMonitor {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::CostExplorer::DeleteAnomalyMonitor', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DeleteAnomalySubscription {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::CostExplorer::DeleteAnomalySubscription', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DeleteCostCategoryDefinition {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::CostExplorer::DeleteCostCategoryDefinition', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub DescribeCostCategoryDefinition {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::CostExplorer::DescribeCostCategoryDefinition', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub GetAnomalies {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetAnomalies', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub GetAnomalyMonitors {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetAnomalyMonitors', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub GetAnomalySubscriptions {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetAnomalySubscriptions', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub GetCostAndUsage {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetCostAndUsage', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub GetCostAndUsageWithResources {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetCostAndUsageWithResources', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub GetCostCategories {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetCostCategories', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub GetCostForecast {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetCostForecast', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub GetDimensionValues {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetDimensionValues', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub GetReservationCoverage {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetReservationCoverage', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub GetReservationPurchaseRecommendation {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetReservationPurchaseRecommendation', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub GetReservationUtilization {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetReservationUtilization', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub GetRightsizingRecommendation {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetRightsizingRecommendation', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub GetSavingsPlansCoverage {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetSavingsPlansCoverage', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub GetSavingsPlansPurchaseRecommendation {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetSavingsPlansPurchaseRecommendation', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub GetSavingsPlansUtilization {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetSavingsPlansUtilization', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub GetSavingsPlansUtilizationDetails {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetSavingsPlansUtilizationDetails', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub GetTags {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetTags', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub GetUsageForecast {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::CostExplorer::GetUsageForecast', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub ListCostCategoryDefinitions {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::CostExplorer::ListCostCategoryDefinitions', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148 sub ProvideAnomalyFeedback {
149 my $self = shift;
150 my $call_object = $self->new_with_coercions('Paws::CostExplorer::ProvideAnomalyFeedback', @_);
151 return $self->caller->do_call($self, $call_object);
152 }
153 sub UpdateAnomalyMonitor {
154 my $self = shift;
155 my $call_object = $self->new_with_coercions('Paws::CostExplorer::UpdateAnomalyMonitor', @_);
156 return $self->caller->do_call($self, $call_object);
157 }
158 sub UpdateAnomalySubscription {
159 my $self = shift;
160 my $call_object = $self->new_with_coercions('Paws::CostExplorer::UpdateAnomalySubscription', @_);
161 return $self->caller->do_call($self, $call_object);
162 }
163 sub UpdateCostCategoryDefinition {
164 my $self = shift;
165 my $call_object = $self->new_with_coercions('Paws::CostExplorer::UpdateCostCategoryDefinition', @_);
166 return $self->caller->do_call($self, $call_object);
167 }
168
169  
170  
171 sub operations { qw/CreateAnomalyMonitor CreateAnomalySubscription CreateCostCategoryDefinition DeleteAnomalyMonitor DeleteAnomalySubscription DeleteCostCategoryDefinition DescribeCostCategoryDefinition GetAnomalies GetAnomalyMonitors GetAnomalySubscriptions GetCostAndUsage GetCostAndUsageWithResources GetCostCategories GetCostForecast GetDimensionValues GetReservationCoverage GetReservationPurchaseRecommendation GetReservationUtilization GetRightsizingRecommendation GetSavingsPlansCoverage GetSavingsPlansPurchaseRecommendation GetSavingsPlansUtilization GetSavingsPlansUtilizationDetails GetTags GetUsageForecast ListCostCategoryDefinitions ProvideAnomalyFeedback UpdateAnomalyMonitor UpdateAnomalySubscription UpdateCostCategoryDefinition / }
172  
173 1;
174  
175 ### main pod documentation begin ###
176  
177 =head1 NAME
178  
179 Paws::CostExplorer - Perl Interface to AWS AWS Cost Explorer Service
180  
181 =head1 SYNOPSIS
182  
183 use Paws;
184  
185 my $obj = Paws->service('CostExplorer');
186 my $res = $obj->Method(
187 Arg1 => $val1,
188 Arg2 => [ 'V1', 'V2' ],
189 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
190 # of the arguments type
191 Arg3 => { Att1 => 'Val1' },
192 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
193 # the constructor of the arguments type
194 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
195 );
196  
197 =head1 DESCRIPTION
198  
199 The Cost Explorer API enables you to programmatically query your cost
200 and usage data. You can query for aggregated data such as total monthly
201 costs or total daily usage. You can also query for granular data, such
202 as the number of daily write operations for Amazon DynamoDB database
203 tables in your production environment.
204  
205 Service Endpoint
206  
207 The Cost Explorer API provides the following endpoint:
208  
209 =over
210  
211 =item *
212  
213 C<https://ce.us-east-1.amazonaws.com>
214  
215 =back
216  
217 For information about costs associated with the Cost Explorer API, see
218 AWS Cost Management Pricing
219 (http://aws.amazon.com/aws-cost-management/pricing/).
220  
221 For the AWS API documentation, see L<https://docs.aws.amazon.com/account-billing/>
222  
223  
224 =head1 METHODS
225  
226 =head2 CreateAnomalyMonitor
227  
228 =over
229  
230 =item AnomalyMonitor => L<Paws::CostExplorer::AnomalyMonitor>
231  
232  
233 =back
234  
235 Each argument is described in detail in: L<Paws::CostExplorer::CreateAnomalyMonitor>
236  
237 Returns: a L<Paws::CostExplorer::CreateAnomalyMonitorResponse> instance
238  
239 Creates a new cost anomaly detection monitor with the requested type
240 and monitor specification.
241  
242  
243 =head2 CreateAnomalySubscription
244  
245 =over
246  
247 =item AnomalySubscription => L<Paws::CostExplorer::AnomalySubscription>
248  
249  
250 =back
251  
252 Each argument is described in detail in: L<Paws::CostExplorer::CreateAnomalySubscription>
253  
254 Returns: a L<Paws::CostExplorer::CreateAnomalySubscriptionResponse> instance
255  
256 Adds a subscription to a cost anomaly detection monitor. You can use
257 each subscription to define subscribers with email or SNS
258 notifications. Email subscribers can set a dollar threshold and a time
259 frequency for receiving notifications.
260  
261  
262 =head2 CreateCostCategoryDefinition
263  
264 =over
265  
266 =item Name => Str
267  
268 =item Rules => ArrayRef[L<Paws::CostExplorer::CostCategoryRule>]
269  
270 =item RuleVersion => Str
271  
272 =item [DefaultValue => Str]
273  
274  
275 =back
276  
277 Each argument is described in detail in: L<Paws::CostExplorer::CreateCostCategoryDefinition>
278  
279 Returns: a L<Paws::CostExplorer::CreateCostCategoryDefinitionResponse> instance
280  
281 Creates a new Cost Category with the requested name and rules.
282  
283  
284 =head2 DeleteAnomalyMonitor
285  
286 =over
287  
288 =item MonitorArn => Str
289  
290  
291 =back
292  
293 Each argument is described in detail in: L<Paws::CostExplorer::DeleteAnomalyMonitor>
294  
295 Returns: a L<Paws::CostExplorer::DeleteAnomalyMonitorResponse> instance
296  
297 Deletes a cost anomaly monitor.
298  
299  
300 =head2 DeleteAnomalySubscription
301  
302 =over
303  
304 =item SubscriptionArn => Str
305  
306  
307 =back
308  
309 Each argument is described in detail in: L<Paws::CostExplorer::DeleteAnomalySubscription>
310  
311 Returns: a L<Paws::CostExplorer::DeleteAnomalySubscriptionResponse> instance
312  
313 Deletes a cost anomaly subscription.
314  
315  
316 =head2 DeleteCostCategoryDefinition
317  
318 =over
319  
320 =item CostCategoryArn => Str
321  
322  
323 =back
324  
325 Each argument is described in detail in: L<Paws::CostExplorer::DeleteCostCategoryDefinition>
326  
327 Returns: a L<Paws::CostExplorer::DeleteCostCategoryDefinitionResponse> instance
328  
329 Deletes a Cost Category. Expenses from this month going forward will no
330 longer be categorized with this Cost Category.
331  
332  
333 =head2 DescribeCostCategoryDefinition
334  
335 =over
336  
337 =item CostCategoryArn => Str
338  
339 =item [EffectiveOn => Str]
340  
341  
342 =back
343  
344 Each argument is described in detail in: L<Paws::CostExplorer::DescribeCostCategoryDefinition>
345  
346 Returns: a L<Paws::CostExplorer::DescribeCostCategoryDefinitionResponse> instance
347  
348 Returns the name, ARN, rules, definition, and effective dates of a Cost
349 Category that's defined in the account.
350  
351 You have the option to use C<EffectiveOn> to return a Cost Category
352 that is active on a specific date. If there is no C<EffectiveOn>
353 specified, youE<rsquo>ll see a Cost Category that is effective on the
354 current date. If Cost Category is still effective, C<EffectiveEnd> is
355 omitted in the response.
356  
357  
358 =head2 GetAnomalies
359  
360 =over
361  
362 =item DateInterval => L<Paws::CostExplorer::AnomalyDateInterval>
363  
364 =item [Feedback => Str]
365  
366 =item [MaxResults => Int]
367  
368 =item [MonitorArn => Str]
369  
370 =item [NextPageToken => Str]
371  
372 =item [TotalImpact => L<Paws::CostExplorer::TotalImpactFilter>]
373  
374  
375 =back
376  
377 Each argument is described in detail in: L<Paws::CostExplorer::GetAnomalies>
378  
379 Returns: a L<Paws::CostExplorer::GetAnomaliesResponse> instance
380  
381 Retrieves all of the cost anomalies detected on your account, during
382 the time period specified by the C<DateInterval> object.
383  
384  
385 =head2 GetAnomalyMonitors
386  
387 =over
388  
389 =item [MaxResults => Int]
390  
391 =item [MonitorArnList => ArrayRef[Str|Undef]]
392  
393 =item [NextPageToken => Str]
394  
395  
396 =back
397  
398 Each argument is described in detail in: L<Paws::CostExplorer::GetAnomalyMonitors>
399  
400 Returns: a L<Paws::CostExplorer::GetAnomalyMonitorsResponse> instance
401  
402 Retrieves the cost anomaly monitor definitions for your account. You
403 can filter using a list of cost anomaly monitor Amazon Resource Names
404 (ARNs).
405  
406  
407 =head2 GetAnomalySubscriptions
408  
409 =over
410  
411 =item [MaxResults => Int]
412  
413 =item [MonitorArn => Str]
414  
415 =item [NextPageToken => Str]
416  
417 =item [SubscriptionArnList => ArrayRef[Str|Undef]]
418  
419  
420 =back
421  
422 Each argument is described in detail in: L<Paws::CostExplorer::GetAnomalySubscriptions>
423  
424 Returns: a L<Paws::CostExplorer::GetAnomalySubscriptionsResponse> instance
425  
426 Retrieves the cost anomaly subscription objects for your account. You
427 can filter using a list of cost anomaly monitor Amazon Resource Names
428 (ARNs).
429  
430  
431 =head2 GetCostAndUsage
432  
433 =over
434  
435 =item Granularity => Str
436  
437 =item Metrics => ArrayRef[Str|Undef]
438  
439 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
440  
441 =item [Filter => L<Paws::CostExplorer::Expression>]
442  
443 =item [GroupBy => ArrayRef[L<Paws::CostExplorer::GroupDefinition>]]
444  
445 =item [NextPageToken => Str]
446  
447  
448 =back
449  
450 Each argument is described in detail in: L<Paws::CostExplorer::GetCostAndUsage>
451  
452 Returns: a L<Paws::CostExplorer::GetCostAndUsageResponse> instance
453  
454 Retrieves cost and usage metrics for your account. You can specify
455 which cost and usage-related metric, such as C<BlendedCosts> or
456 C<UsageQuantity>, that you want the request to return. You can also
457 filter and group your data by various dimensions, such as C<SERVICE> or
458 C<AZ>, in a specific time range. For a complete list of valid
459 dimensions, see the GetDimensionValues
460 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html)
461 operation. Management account in an organization in AWS Organizations
462 have access to all member accounts.
463  
464 For information about filter limitations, see Quotas and restrictions
465 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html)
466 in the I<Billing and Cost Management User Guide>.
467  
468  
469 =head2 GetCostAndUsageWithResources
470  
471 =over
472  
473 =item Filter => L<Paws::CostExplorer::Expression>
474  
475 =item Granularity => Str
476  
477 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
478  
479 =item [GroupBy => ArrayRef[L<Paws::CostExplorer::GroupDefinition>]]
480  
481 =item [Metrics => ArrayRef[Str|Undef]]
482  
483 =item [NextPageToken => Str]
484  
485  
486 =back
487  
488 Each argument is described in detail in: L<Paws::CostExplorer::GetCostAndUsageWithResources>
489  
490 Returns: a L<Paws::CostExplorer::GetCostAndUsageWithResourcesResponse> instance
491  
492 Retrieves cost and usage metrics with resources for your account. You
493 can specify which cost and usage-related metric, such as
494 C<BlendedCosts> or C<UsageQuantity>, that you want the request to
495 return. You can also filter and group your data by various dimensions,
496 such as C<SERVICE> or C<AZ>, in a specific time range. For a complete
497 list of valid dimensions, see the GetDimensionValues
498 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html)
499 operation. Management account in an organization in AWS Organizations
500 have access to all member accounts. This API is currently available for
501 the Amazon Elastic Compute Cloud E<ndash> Compute service only.
502  
503 This is an opt-in only feature. You can enable this feature from the
504 Cost Explorer Settings page. For information on how to access the
505 Settings page, see Controlling Access for Cost Explorer
506 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html)
507 in the I<AWS Billing and Cost Management User Guide>.
508  
509  
510 =head2 GetCostCategories
511  
512 =over
513  
514 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
515  
516 =item [CostCategoryName => Str]
517  
518 =item [Filter => L<Paws::CostExplorer::Expression>]
519  
520 =item [MaxResults => Int]
521  
522 =item [NextPageToken => Str]
523  
524 =item [SearchString => Str]
525  
526 =item [SortBy => ArrayRef[L<Paws::CostExplorer::SortDefinition>]]
527  
528  
529 =back
530  
531 Each argument is described in detail in: L<Paws::CostExplorer::GetCostCategories>
532  
533 Returns: a L<Paws::CostExplorer::GetCostCategoriesResponse> instance
534  
535 Retrieves an array of Cost Category names and values incurred cost.
536  
537 If some Cost Category names and values are not associated with any
538 cost, they will not be returned by this API.
539  
540  
541 =head2 GetCostForecast
542  
543 =over
544  
545 =item Granularity => Str
546  
547 =item Metric => Str
548  
549 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
550  
551 =item [Filter => L<Paws::CostExplorer::Expression>]
552  
553 =item [PredictionIntervalLevel => Int]
554  
555  
556 =back
557  
558 Each argument is described in detail in: L<Paws::CostExplorer::GetCostForecast>
559  
560 Returns: a L<Paws::CostExplorer::GetCostForecastResponse> instance
561  
562 Retrieves a forecast for how much Amazon Web Services predicts that you
563 will spend over the forecast time period that you select, based on your
564 past costs.
565  
566  
567 =head2 GetDimensionValues
568  
569 =over
570  
571 =item Dimension => Str
572  
573 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
574  
575 =item [Context => Str]
576  
577 =item [Filter => L<Paws::CostExplorer::Expression>]
578  
579 =item [MaxResults => Int]
580  
581 =item [NextPageToken => Str]
582  
583 =item [SearchString => Str]
584  
585 =item [SortBy => ArrayRef[L<Paws::CostExplorer::SortDefinition>]]
586  
587  
588 =back
589  
590 Each argument is described in detail in: L<Paws::CostExplorer::GetDimensionValues>
591  
592 Returns: a L<Paws::CostExplorer::GetDimensionValuesResponse> instance
593  
594 Retrieves all available filter values for a specified filter over a
595 period of time. You can search the dimension values for an arbitrary
596 string.
597  
598  
599 =head2 GetReservationCoverage
600  
601 =over
602  
603 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
604  
605 =item [Filter => L<Paws::CostExplorer::Expression>]
606  
607 =item [Granularity => Str]
608  
609 =item [GroupBy => ArrayRef[L<Paws::CostExplorer::GroupDefinition>]]
610  
611 =item [MaxResults => Int]
612  
613 =item [Metrics => ArrayRef[Str|Undef]]
614  
615 =item [NextPageToken => Str]
616  
617 =item [SortBy => L<Paws::CostExplorer::SortDefinition>]
618  
619  
620 =back
621  
622 Each argument is described in detail in: L<Paws::CostExplorer::GetReservationCoverage>
623  
624 Returns: a L<Paws::CostExplorer::GetReservationCoverageResponse> instance
625  
626 Retrieves the reservation coverage for your account. This enables you
627 to see how much of your Amazon Elastic Compute Cloud, Amazon
628 ElastiCache, Amazon Relational Database Service, or Amazon Redshift
629 usage is covered by a reservation. An organization's management account
630 can see the coverage of the associated member accounts. This supports
631 dimensions, Cost Categories, and nested expressions. For any time
632 period, you can filter data about reservation usage by the following
633 dimensions:
634  
635 =over
636  
637 =item *
638  
639 AZ
640  
641 =item *
642  
643 CACHE_ENGINE
644  
645 =item *
646  
647 DATABASE_ENGINE
648  
649 =item *
650  
651 DEPLOYMENT_OPTION
652  
653 =item *
654  
655 INSTANCE_TYPE
656  
657 =item *
658  
659 LINKED_ACCOUNT
660  
661 =item *
662  
663 OPERATING_SYSTEM
664  
665 =item *
666  
667 PLATFORM
668  
669 =item *
670  
671 REGION
672  
673 =item *
674  
675 SERVICE
676  
677 =item *
678  
679 TAG
680  
681 =item *
682  
683 TENANCY
684  
685 =back
686  
687 To determine valid values for a dimension, use the
688 C<GetDimensionValues> operation.
689  
690  
691 =head2 GetReservationPurchaseRecommendation
692  
693 =over
694  
695 =item Service => Str
696  
697 =item [AccountId => Str]
698  
699 =item [AccountScope => Str]
700  
701 =item [Filter => L<Paws::CostExplorer::Expression>]
702  
703 =item [LookbackPeriodInDays => Str]
704  
705 =item [NextPageToken => Str]
706  
707 =item [PageSize => Int]
708  
709 =item [PaymentOption => Str]
710  
711 =item [ServiceSpecification => L<Paws::CostExplorer::ServiceSpecification>]
712  
713 =item [TermInYears => Str]
714  
715  
716 =back
717  
718 Each argument is described in detail in: L<Paws::CostExplorer::GetReservationPurchaseRecommendation>
719  
720 Returns: a L<Paws::CostExplorer::GetReservationPurchaseRecommendationResponse> instance
721  
722 Gets recommendations for which reservations to purchase. These
723 recommendations could help you reduce your costs. Reservations provide
724 a discounted hourly rate (up to 75%) compared to On-Demand pricing.
725  
726 AWS generates your recommendations by identifying your On-Demand usage
727 during a specific time period and collecting your usage into categories
728 that are eligible for a reservation. After AWS has these categories, it
729 simulates every combination of reservations in each category of usage
730 to identify the best number of each type of RI to purchase to maximize
731 your estimated savings.
732  
733 For example, AWS automatically aggregates your Amazon EC2 Linux, shared
734 tenancy, and c4 family usage in the US West (Oregon) Region and
735 recommends that you buy size-flexible regional reservations to apply to
736 the c4 family usage. AWS recommends the smallest size instance in an
737 instance family. This makes it easier to purchase a size-flexible RI.
738 AWS also shows the equal number of normalized units so that you can
739 purchase any instance size that you want. For this example, your RI
740 recommendation would be for C<c4.large> because that is the smallest
741 size instance in the c4 instance family.
742  
743  
744 =head2 GetReservationUtilization
745  
746 =over
747  
748 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
749  
750 =item [Filter => L<Paws::CostExplorer::Expression>]
751  
752 =item [Granularity => Str]
753  
754 =item [GroupBy => ArrayRef[L<Paws::CostExplorer::GroupDefinition>]]
755  
756 =item [MaxResults => Int]
757  
758 =item [NextPageToken => Str]
759  
760 =item [SortBy => L<Paws::CostExplorer::SortDefinition>]
761  
762  
763 =back
764  
765 Each argument is described in detail in: L<Paws::CostExplorer::GetReservationUtilization>
766  
767 Returns: a L<Paws::CostExplorer::GetReservationUtilizationResponse> instance
768  
769 Retrieves the reservation utilization for your account. Management
770 account in an organization have access to member accounts. You can
771 filter data by dimensions in a time period. You can use
772 C<GetDimensionValues> to determine the possible dimension values.
773 Currently, you can group only by C<SUBSCRIPTION_ID>.
774  
775  
776 =head2 GetRightsizingRecommendation
777  
778 =over
779  
780 =item Service => Str
781  
782 =item [Configuration => L<Paws::CostExplorer::RightsizingRecommendationConfiguration>]
783  
784 =item [Filter => L<Paws::CostExplorer::Expression>]
785  
786 =item [NextPageToken => Str]
787  
788 =item [PageSize => Int]
789  
790  
791 =back
792  
793 Each argument is described in detail in: L<Paws::CostExplorer::GetRightsizingRecommendation>
794  
795 Returns: a L<Paws::CostExplorer::GetRightsizingRecommendationResponse> instance
796  
797 Creates recommendations that help you save cost by identifying idle and
798 underutilized Amazon EC2 instances.
799  
800 Recommendations are generated to either downsize or terminate
801 instances, along with providing savings detail and metrics. For details
802 on calculation and function, see Optimizing Your Cost with Rightsizing
803 Recommendations
804 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html)
805 in the I<AWS Billing and Cost Management User Guide>.
806  
807  
808 =head2 GetSavingsPlansCoverage
809  
810 =over
811  
812 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
813  
814 =item [Filter => L<Paws::CostExplorer::Expression>]
815  
816 =item [Granularity => Str]
817  
818 =item [GroupBy => ArrayRef[L<Paws::CostExplorer::GroupDefinition>]]
819  
820 =item [MaxResults => Int]
821  
822 =item [Metrics => ArrayRef[Str|Undef]]
823  
824 =item [NextToken => Str]
825  
826 =item [SortBy => L<Paws::CostExplorer::SortDefinition>]
827  
828  
829 =back
830  
831 Each argument is described in detail in: L<Paws::CostExplorer::GetSavingsPlansCoverage>
832  
833 Returns: a L<Paws::CostExplorer::GetSavingsPlansCoverageResponse> instance
834  
835 Retrieves the Savings Plans covered for your account. This enables you
836 to see how much of your cost is covered by a Savings Plan. An
837 organizationE<rsquo>s management account can see the coverage of the
838 associated member accounts. This supports dimensions, Cost Categories,
839 and nested expressions. For any time period, you can filter data for
840 Savings Plans usage with the following dimensions:
841  
842 =over
843  
844 =item *
845  
846 C<LINKED_ACCOUNT>
847  
848 =item *
849  
850 C<REGION>
851  
852 =item *
853  
854 C<SERVICE>
855  
856 =item *
857  
858 C<INSTANCE_FAMILY>
859  
860 =back
861  
862 To determine valid values for a dimension, use the
863 C<GetDimensionValues> operation.
864  
865  
866 =head2 GetSavingsPlansPurchaseRecommendation
867  
868 =over
869  
870 =item LookbackPeriodInDays => Str
871  
872 =item PaymentOption => Str
873  
874 =item SavingsPlansType => Str
875  
876 =item TermInYears => Str
877  
878 =item [AccountScope => Str]
879  
880 =item [Filter => L<Paws::CostExplorer::Expression>]
881  
882 =item [NextPageToken => Str]
883  
884 =item [PageSize => Int]
885  
886  
887 =back
888  
889 Each argument is described in detail in: L<Paws::CostExplorer::GetSavingsPlansPurchaseRecommendation>
890  
891 Returns: a L<Paws::CostExplorer::GetSavingsPlansPurchaseRecommendationResponse> instance
892  
893 Retrieves your request parameters, Savings Plan Recommendations Summary
894 and Details.
895  
896  
897 =head2 GetSavingsPlansUtilization
898  
899 =over
900  
901 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
902  
903 =item [Filter => L<Paws::CostExplorer::Expression>]
904  
905 =item [Granularity => Str]
906  
907 =item [SortBy => L<Paws::CostExplorer::SortDefinition>]
908  
909  
910 =back
911  
912 Each argument is described in detail in: L<Paws::CostExplorer::GetSavingsPlansUtilization>
913  
914 Returns: a L<Paws::CostExplorer::GetSavingsPlansUtilizationResponse> instance
915  
916 Retrieves the Savings Plans utilization for your account across date
917 ranges with daily or monthly granularity. Management account in an
918 organization have access to member accounts. You can use
919 C<GetDimensionValues> in C<SAVINGS_PLANS> to determine the possible
920 dimension values.
921  
922 You cannot group by any dimension values for
923 C<GetSavingsPlansUtilization>.
924  
925  
926 =head2 GetSavingsPlansUtilizationDetails
927  
928 =over
929  
930 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
931  
932 =item [DataType => ArrayRef[Str|Undef]]
933  
934 =item [Filter => L<Paws::CostExplorer::Expression>]
935  
936 =item [MaxResults => Int]
937  
938 =item [NextToken => Str]
939  
940 =item [SortBy => L<Paws::CostExplorer::SortDefinition>]
941  
942  
943 =back
944  
945 Each argument is described in detail in: L<Paws::CostExplorer::GetSavingsPlansUtilizationDetails>
946  
947 Returns: a L<Paws::CostExplorer::GetSavingsPlansUtilizationDetailsResponse> instance
948  
949 Retrieves attribute data along with aggregate utilization and savings
950 data for a given time period. This doesn't support granular or grouped
951 data (daily/monthly) in response. You can't retrieve data by dates in a
952 single response similar to C<GetSavingsPlanUtilization>, but you have
953 the option to make multiple calls to
954 C<GetSavingsPlanUtilizationDetails> by providing individual dates. You
955 can use C<GetDimensionValues> in C<SAVINGS_PLANS> to determine the
956 possible dimension values.
957  
958 C<GetSavingsPlanUtilizationDetails> internally groups data by
959 C<SavingsPlansArn>.
960  
961  
962 =head2 GetTags
963  
964 =over
965  
966 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
967  
968 =item [Filter => L<Paws::CostExplorer::Expression>]
969  
970 =item [MaxResults => Int]
971  
972 =item [NextPageToken => Str]
973  
974 =item [SearchString => Str]
975  
976 =item [SortBy => ArrayRef[L<Paws::CostExplorer::SortDefinition>]]
977  
978 =item [TagKey => Str]
979  
980  
981 =back
982  
983 Each argument is described in detail in: L<Paws::CostExplorer::GetTags>
984  
985 Returns: a L<Paws::CostExplorer::GetTagsResponse> instance
986  
987 Queries for available tag keys and tag values for a specified period.
988 You can search the tag values for an arbitrary string.
989  
990  
991 =head2 GetUsageForecast
992  
993 =over
994  
995 =item Granularity => Str
996  
997 =item Metric => Str
998  
999 =item TimePeriod => L<Paws::CostExplorer::DateInterval>
1000  
1001 =item [Filter => L<Paws::CostExplorer::Expression>]
1002  
1003 =item [PredictionIntervalLevel => Int]
1004  
1005  
1006 =back
1007  
1008 Each argument is described in detail in: L<Paws::CostExplorer::GetUsageForecast>
1009  
1010 Returns: a L<Paws::CostExplorer::GetUsageForecastResponse> instance
1011  
1012 Retrieves a forecast for how much Amazon Web Services predicts that you
1013 will use over the forecast time period that you select, based on your
1014 past usage.
1015  
1016  
1017 =head2 ListCostCategoryDefinitions
1018  
1019 =over
1020  
1021 =item [EffectiveOn => Str]
1022  
1023 =item [MaxResults => Int]
1024  
1025 =item [NextToken => Str]
1026  
1027  
1028 =back
1029  
1030 Each argument is described in detail in: L<Paws::CostExplorer::ListCostCategoryDefinitions>
1031  
1032 Returns: a L<Paws::CostExplorer::ListCostCategoryDefinitionsResponse> instance
1033  
1034 Returns the name, ARN, C<NumberOfRules> and effective dates of all Cost
1035 Categories defined in the account. You have the option to use
1036 C<EffectiveOn> to return a list of Cost Categories that were active on
1037 a specific date. If there is no C<EffectiveOn> specified, youE<rsquo>ll
1038 see Cost Categories that are effective on the current date. If Cost
1039 Category is still effective, C<EffectiveEnd> is omitted in the
1040 response. C<ListCostCategoryDefinitions> supports pagination. The
1041 request can have a C<MaxResults> range up to 100.
1042  
1043  
1044 =head2 ProvideAnomalyFeedback
1045  
1046 =over
1047  
1048 =item AnomalyId => Str
1049  
1050 =item Feedback => Str
1051  
1052  
1053 =back
1054  
1055 Each argument is described in detail in: L<Paws::CostExplorer::ProvideAnomalyFeedback>
1056  
1057 Returns: a L<Paws::CostExplorer::ProvideAnomalyFeedbackResponse> instance
1058  
1059 Modifies the feedback property of a given cost anomaly.
1060  
1061  
1062 =head2 UpdateAnomalyMonitor
1063  
1064 =over
1065  
1066 =item MonitorArn => Str
1067  
1068 =item [MonitorName => Str]
1069  
1070  
1071 =back
1072  
1073 Each argument is described in detail in: L<Paws::CostExplorer::UpdateAnomalyMonitor>
1074  
1075 Returns: a L<Paws::CostExplorer::UpdateAnomalyMonitorResponse> instance
1076  
1077 Updates an existing cost anomaly monitor. The changes made are applied
1078 going forward, and does not change anomalies detected in the past.
1079  
1080  
1081 =head2 UpdateAnomalySubscription
1082  
1083 =over
1084  
1085 =item SubscriptionArn => Str
1086  
1087 =item [Frequency => Str]
1088  
1089 =item [MonitorArnList => ArrayRef[Str|Undef]]
1090  
1091 =item [Subscribers => ArrayRef[L<Paws::CostExplorer::Subscriber>]]
1092  
1093 =item [SubscriptionName => Str]
1094  
1095 =item [Threshold => Num]
1096  
1097  
1098 =back
1099  
1100 Each argument is described in detail in: L<Paws::CostExplorer::UpdateAnomalySubscription>
1101  
1102 Returns: a L<Paws::CostExplorer::UpdateAnomalySubscriptionResponse> instance
1103  
1104 Updates an existing cost anomaly monitor subscription.
1105  
1106  
1107 =head2 UpdateCostCategoryDefinition
1108  
1109 =over
1110  
1111 =item CostCategoryArn => Str
1112  
1113 =item Rules => ArrayRef[L<Paws::CostExplorer::CostCategoryRule>]
1114  
1115 =item RuleVersion => Str
1116  
1117 =item [DefaultValue => Str]
1118  
1119  
1120 =back
1121  
1122 Each argument is described in detail in: L<Paws::CostExplorer::UpdateCostCategoryDefinition>
1123  
1124 Returns: a L<Paws::CostExplorer::UpdateCostCategoryDefinitionResponse> instance
1125  
1126 Updates an existing Cost Category. Changes made to the Cost Category
1127 rules will be used to categorize the current monthE<rsquo>s expenses
1128 and future expenses. This wonE<rsquo>t change categorization for the
1129 previous months.
1130  
1131  
1132  
1133  
1134 =head1 PAGINATORS
1135  
1136 Paginator methods are helpers that repetively call methods that return partial results
1137  
1138  
1139  
1140  
1141 =head1 SEE ALSO
1142  
1143 This service class forms part of L<Paws>
1144  
1145 =head1 BUGS and CONTRIBUTIONS
1146  
1147 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1148  
1149 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1150  
1151 =cut
1152