blib/lib/Paws/Budgets.pm untested

filter: Statementstmt 0.0% 0 / 221 Branchbran 0.0% 0 / 28 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 36 Podpod 0.0% 0 / 35 totaltotal 0.0% 0 / 320 CC 15 SCAR 18.2
CC
15
Cov
0%
DescribeAllBudgetActionHistories
12.0
DescribeAllBudgetActionsForAccount
12.0
DescribeAllBudgetActionsForBudget
12.0
CRAP 6.2
1 package Paws::Budgets;
2 use Moose;
3 sub service { 'budgets' }
4 sub signing_name { 'budgets' }
5 sub version { '2016-10-20' }
6 sub target_prefix { 'AWSBudgetServiceGateway' }
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 CreateBudget {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::Budgets::CreateBudget', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub CreateBudgetAction {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::Budgets::CreateBudgetAction', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub CreateNotification {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::Budgets::CreateNotification', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub CreateSubscriber {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::Budgets::CreateSubscriber', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DeleteBudget {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::Budgets::DeleteBudget', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DeleteBudgetAction {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::Budgets::DeleteBudgetAction', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub DeleteNotification {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::Budgets::DeleteNotification', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub DeleteSubscriber {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::Budgets::DeleteSubscriber', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub DescribeBudget {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudget', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub DescribeBudgetAction {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudgetAction', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub DescribeBudgetActionHistories {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudgetActionHistories', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub DescribeBudgetActionsForAccount {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudgetActionsForAccount', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub DescribeBudgetActionsForBudget {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudgetActionsForBudget', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub DescribeBudgetPerformanceHistory {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudgetPerformanceHistory', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub DescribeBudgets {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudgets', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub DescribeNotificationsForBudget {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeNotificationsForBudget', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub DescribeSubscribersForNotification {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeSubscribersForNotification', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub ExecuteBudgetAction {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::Budgets::ExecuteBudgetAction', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub UpdateBudget {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::Budgets::UpdateBudget', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub UpdateBudgetAction {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::Budgets::UpdateBudgetAction', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub UpdateNotification {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::Budgets::UpdateNotification', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub UpdateSubscriber {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::Budgets::UpdateSubscriber', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128
129 sub DescribeAllBudgetActionHistories {
130 my $self = shift;
131  
132 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
133 my $result = $self->DescribeBudgetActionHistories(@_);
134 my $next_result = $result;
135  
136 if (not defined $callback) {
137 while ($next_result->NextToken) {
138 $next_result = $self->DescribeBudgetActionHistories(@_, NextToken => $next_result->NextToken);
139 push @{ $result->ActionHistories }, @{ $next_result->ActionHistories };
140 }
141 return $result;
142 } else {
143 while ($result->NextToken) {
144 $callback->($_ => 'ActionHistories') foreach (@{ $result->ActionHistories });
145 $result = $self->DescribeBudgetActionHistories(@_, NextToken => $result->NextToken);
146 }
147 $callback->($_ => 'ActionHistories') foreach (@{ $result->ActionHistories });
148 }
149  
150 return undef
151 }
152 sub DescribeAllBudgetActionsForAccount {
153 my $self = shift;
154  
155 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
156 my $result = $self->DescribeBudgetActionsForAccount(@_);
157 my $next_result = $result;
158  
159 if (not defined $callback) {
160 while ($next_result->NextToken) {
161 $next_result = $self->DescribeBudgetActionsForAccount(@_, NextToken => $next_result->NextToken);
162 push @{ $result->Actions }, @{ $next_result->Actions };
163 }
164 return $result;
165 } else {
166 while ($result->NextToken) {
167 $callback->($_ => 'Actions') foreach (@{ $result->Actions });
168 $result = $self->DescribeBudgetActionsForAccount(@_, NextToken => $result->NextToken);
169 }
170 $callback->($_ => 'Actions') foreach (@{ $result->Actions });
171 }
172  
173 return undef
174 }
175 sub DescribeAllBudgetActionsForBudget {
176 my $self = shift;
177  
178 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
179 my $result = $self->DescribeBudgetActionsForBudget(@_);
180 my $next_result = $result;
181  
182 if (not defined $callback) {
183 while ($next_result->NextToken) {
184 $next_result = $self->DescribeBudgetActionsForBudget(@_, NextToken => $next_result->NextToken);
185 push @{ $result->Actions }, @{ $next_result->Actions };
186 }
187 return $result;
188 } else {
189 while ($result->NextToken) {
190 $callback->($_ => 'Actions') foreach (@{ $result->Actions });
191 $result = $self->DescribeBudgetActionsForBudget(@_, NextToken => $result->NextToken);
192 }
193 $callback->($_ => 'Actions') foreach (@{ $result->Actions });
194 }
195  
196 return undef
197 }
198 sub DescribeAllBudgetPerformanceHistory {
199 my $self = shift;
200  
201 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
202 my $result = $self->DescribeBudgetPerformanceHistory(@_);
203 my $next_result = $result;
204  
205 if (not defined $callback) {
206 while ($next_result->NextToken) {
207 $next_result = $self->DescribeBudgetPerformanceHistory(@_, NextToken => $next_result->NextToken);
208 push @{ $result->BudgetPerformanceHistory }, @{ $next_result->BudgetPerformanceHistory };
209 }
210 return $result;
211 } else {
212 while ($result->NextToken) {
213 $callback->($_ => 'BudgetPerformanceHistory') foreach (@{ $result->BudgetPerformanceHistory });
214 $result = $self->DescribeBudgetPerformanceHistory(@_, NextToken => $result->NextToken);
215 }
216 $callback->($_ => 'BudgetPerformanceHistory') foreach (@{ $result->BudgetPerformanceHistory });
217 }
218  
219 return undef
220 }
221 sub DescribeAllBudgets {
222 my $self = shift;
223  
224 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
225 my $result = $self->DescribeBudgets(@_);
226 my $next_result = $result;
227  
228 if (not defined $callback) {
229 while ($next_result->NextToken) {
230 $next_result = $self->DescribeBudgets(@_, NextToken => $next_result->NextToken);
231 push @{ $result->Budgets }, @{ $next_result->Budgets };
232 }
233 return $result;
234 } else {
235 while ($result->NextToken) {
236 $callback->($_ => 'Budgets') foreach (@{ $result->Budgets });
237 $result = $self->DescribeBudgets(@_, NextToken => $result->NextToken);
238 }
239 $callback->($_ => 'Budgets') foreach (@{ $result->Budgets });
240 }
241  
242 return undef
243 }
244 sub DescribeAllNotificationsForBudget {
245 my $self = shift;
246  
247 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
248 my $result = $self->DescribeNotificationsForBudget(@_);
249 my $next_result = $result;
250  
251 if (not defined $callback) {
252 while ($next_result->NextToken) {
253 $next_result = $self->DescribeNotificationsForBudget(@_, NextToken => $next_result->NextToken);
254 push @{ $result->Notifications }, @{ $next_result->Notifications };
255 }
256 return $result;
257 } else {
258 while ($result->NextToken) {
259 $callback->($_ => 'Notifications') foreach (@{ $result->Notifications });
260 $result = $self->DescribeNotificationsForBudget(@_, NextToken => $result->NextToken);
261 }
262 $callback->($_ => 'Notifications') foreach (@{ $result->Notifications });
263 }
264  
265 return undef
266 }
267 sub DescribeAllSubscribersForNotification {
268 my $self = shift;
269  
270 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
271 my $result = $self->DescribeSubscribersForNotification(@_);
272 my $next_result = $result;
273  
274 if (not defined $callback) {
275 while ($next_result->NextToken) {
276 $next_result = $self->DescribeSubscribersForNotification(@_, NextToken => $next_result->NextToken);
277 push @{ $result->Subscribers }, @{ $next_result->Subscribers };
278 }
279 return $result;
280 } else {
281 while ($result->NextToken) {
282 $callback->($_ => 'Subscribers') foreach (@{ $result->Subscribers });
283 $result = $self->DescribeSubscribersForNotification(@_, NextToken => $result->NextToken);
284 }
285 $callback->($_ => 'Subscribers') foreach (@{ $result->Subscribers });
286 }
287  
288 return undef
289 }
290  
291  
292 sub operations { qw/CreateBudget CreateBudgetAction CreateNotification CreateSubscriber DeleteBudget DeleteBudgetAction DeleteNotification DeleteSubscriber DescribeBudget DescribeBudgetAction DescribeBudgetActionHistories DescribeBudgetActionsForAccount DescribeBudgetActionsForBudget DescribeBudgetPerformanceHistory DescribeBudgets DescribeNotificationsForBudget DescribeSubscribersForNotification ExecuteBudgetAction UpdateBudget UpdateBudgetAction UpdateNotification UpdateSubscriber / }
293  
294 1;
295  
296 ### main pod documentation begin ###
297  
298 =head1 NAME
299  
300 Paws::Budgets - Perl Interface to AWS AWS Budgets
301  
302 =head1 SYNOPSIS
303  
304 use Paws;
305  
306 my $obj = Paws->service('Budgets');
307 my $res = $obj->Method(
308 Arg1 => $val1,
309 Arg2 => [ 'V1', 'V2' ],
310 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
311 # of the arguments type
312 Arg3 => { Att1 => 'Val1' },
313 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
314 # the constructor of the arguments type
315 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
316 );
317  
318 =head1 DESCRIPTION
319  
320 The AWS Budgets API enables you to use AWS Budgets to plan your service
321 usage, service costs, and instance reservations. The API reference
322 provides descriptions, syntax, and usage examples for each of the
323 actions and data types for AWS Budgets.
324  
325 Budgets provide you with a way to see the following information:
326  
327 =over
328  
329 =item *
330  
331 How close your plan is to your budgeted amount or to the free tier
332 limits
333  
334 =item *
335  
336 Your usage-to-date, including how much you've used of your Reserved
337 Instances (RIs)
338  
339 =item *
340  
341 Your current estimated charges from AWS, and how much your predicted
342 usage will accrue in charges by the end of the month
343  
344 =item *
345  
346 How much of your budget has been used
347  
348 =back
349  
350 AWS updates your budget status several times a day. Budgets track your
351 unblended costs, subscriptions, refunds, and RIs. You can create the
352 following types of budgets:
353  
354 =over
355  
356 =item *
357  
358 B<Cost budgets> - Plan how much you want to spend on a service.
359  
360 =item *
361  
362 B<Usage budgets> - Plan how much you want to use one or more services.
363  
364 =item *
365  
366 B<RI utilization budgets> - Define a utilization threshold, and receive
367 alerts when your RI usage falls below that threshold. This lets you see
368 if your RIs are unused or under-utilized.
369  
370 =item *
371  
372 B<RI coverage budgets> - Define a coverage threshold, and receive
373 alerts when the number of your instance hours that are covered by RIs
374 fall below that threshold. This lets you see how much of your instance
375 usage is covered by a reservation.
376  
377 =back
378  
379 Service Endpoint
380  
381 The AWS Budgets API provides the following endpoint:
382  
383 =over
384  
385 =item *
386  
387 https://budgets.amazonaws.com
388  
389 =back
390  
391 For information about costs that are associated with the AWS Budgets
392 API, see AWS Cost Management Pricing
393 (https://aws.amazon.com/aws-cost-management/pricing/).
394  
395 For the AWS API documentation, see L<https://docs.aws.amazon.com/account-billing/>
396  
397  
398 =head1 METHODS
399  
400 =head2 CreateBudget
401  
402 =over
403  
404 =item AccountId => Str
405  
406 =item Budget => L<Paws::Budgets::Budget>
407  
408 =item [NotificationsWithSubscribers => ArrayRef[L<Paws::Budgets::NotificationWithSubscribers>]]
409  
410  
411 =back
412  
413 Each argument is described in detail in: L<Paws::Budgets::CreateBudget>
414  
415 Returns: a L<Paws::Budgets::CreateBudgetResponse> instance
416  
417 Creates a budget and, if included, notifications and subscribers.
418  
419 Only one of C<BudgetLimit> or C<PlannedBudgetLimits> can be present in
420 the syntax at one time. Use the syntax that matches your case. The
421 Request Syntax section shows the C<BudgetLimit> syntax. For
422 C<PlannedBudgetLimits>, see the Examples
423 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_CreateBudget.html#API_CreateBudget_Examples)
424 section.
425  
426  
427 =head2 CreateBudgetAction
428  
429 =over
430  
431 =item AccountId => Str
432  
433 =item ActionThreshold => L<Paws::Budgets::ActionThreshold>
434  
435 =item ActionType => Str
436  
437 =item ApprovalModel => Str
438  
439 =item BudgetName => Str
440  
441 =item Definition => L<Paws::Budgets::Definition>
442  
443 =item ExecutionRoleArn => Str
444  
445 =item NotificationType => Str
446  
447 =item Subscribers => ArrayRef[L<Paws::Budgets::Subscriber>]
448  
449  
450 =back
451  
452 Each argument is described in detail in: L<Paws::Budgets::CreateBudgetAction>
453  
454 Returns: a L<Paws::Budgets::CreateBudgetActionResponse> instance
455  
456 Creates a budget action.
457  
458  
459 =head2 CreateNotification
460  
461 =over
462  
463 =item AccountId => Str
464  
465 =item BudgetName => Str
466  
467 =item Notification => L<Paws::Budgets::Notification>
468  
469 =item Subscribers => ArrayRef[L<Paws::Budgets::Subscriber>]
470  
471  
472 =back
473  
474 Each argument is described in detail in: L<Paws::Budgets::CreateNotification>
475  
476 Returns: a L<Paws::Budgets::CreateNotificationResponse> instance
477  
478 Creates a notification. You must create the budget before you create
479 the associated notification.
480  
481  
482 =head2 CreateSubscriber
483  
484 =over
485  
486 =item AccountId => Str
487  
488 =item BudgetName => Str
489  
490 =item Notification => L<Paws::Budgets::Notification>
491  
492 =item Subscriber => L<Paws::Budgets::Subscriber>
493  
494  
495 =back
496  
497 Each argument is described in detail in: L<Paws::Budgets::CreateSubscriber>
498  
499 Returns: a L<Paws::Budgets::CreateSubscriberResponse> instance
500  
501 Creates a subscriber. You must create the associated budget and
502 notification before you create the subscriber.
503  
504  
505 =head2 DeleteBudget
506  
507 =over
508  
509 =item AccountId => Str
510  
511 =item BudgetName => Str
512  
513  
514 =back
515  
516 Each argument is described in detail in: L<Paws::Budgets::DeleteBudget>
517  
518 Returns: a L<Paws::Budgets::DeleteBudgetResponse> instance
519  
520 Deletes a budget. You can delete your budget at any time.
521  
522 Deleting a budget also deletes the notifications and subscribers that
523 are associated with that budget.
524  
525  
526 =head2 DeleteBudgetAction
527  
528 =over
529  
530 =item AccountId => Str
531  
532 =item ActionId => Str
533  
534 =item BudgetName => Str
535  
536  
537 =back
538  
539 Each argument is described in detail in: L<Paws::Budgets::DeleteBudgetAction>
540  
541 Returns: a L<Paws::Budgets::DeleteBudgetActionResponse> instance
542  
543 Deletes a budget action.
544  
545  
546 =head2 DeleteNotification
547  
548 =over
549  
550 =item AccountId => Str
551  
552 =item BudgetName => Str
553  
554 =item Notification => L<Paws::Budgets::Notification>
555  
556  
557 =back
558  
559 Each argument is described in detail in: L<Paws::Budgets::DeleteNotification>
560  
561 Returns: a L<Paws::Budgets::DeleteNotificationResponse> instance
562  
563 Deletes a notification.
564  
565 Deleting a notification also deletes the subscribers that are
566 associated with the notification.
567  
568  
569 =head2 DeleteSubscriber
570  
571 =over
572  
573 =item AccountId => Str
574  
575 =item BudgetName => Str
576  
577 =item Notification => L<Paws::Budgets::Notification>
578  
579 =item Subscriber => L<Paws::Budgets::Subscriber>
580  
581  
582 =back
583  
584 Each argument is described in detail in: L<Paws::Budgets::DeleteSubscriber>
585  
586 Returns: a L<Paws::Budgets::DeleteSubscriberResponse> instance
587  
588 Deletes a subscriber.
589  
590 Deleting the last subscriber to a notification also deletes the
591 notification.
592  
593  
594 =head2 DescribeBudget
595  
596 =over
597  
598 =item AccountId => Str
599  
600 =item BudgetName => Str
601  
602  
603 =back
604  
605 Each argument is described in detail in: L<Paws::Budgets::DescribeBudget>
606  
607 Returns: a L<Paws::Budgets::DescribeBudgetResponse> instance
608  
609 Describes a budget.
610  
611 The Request Syntax section shows the C<BudgetLimit> syntax. For
612 C<PlannedBudgetLimits>, see the Examples
613 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudget.html#API_DescribeBudget_Examples)
614 section.
615  
616  
617 =head2 DescribeBudgetAction
618  
619 =over
620  
621 =item AccountId => Str
622  
623 =item ActionId => Str
624  
625 =item BudgetName => Str
626  
627  
628 =back
629  
630 Each argument is described in detail in: L<Paws::Budgets::DescribeBudgetAction>
631  
632 Returns: a L<Paws::Budgets::DescribeBudgetActionResponse> instance
633  
634 Describes a budget action detail.
635  
636  
637 =head2 DescribeBudgetActionHistories
638  
639 =over
640  
641 =item AccountId => Str
642  
643 =item ActionId => Str
644  
645 =item BudgetName => Str
646  
647 =item [MaxResults => Int]
648  
649 =item [NextToken => Str]
650  
651 =item [TimePeriod => L<Paws::Budgets::TimePeriod>]
652  
653  
654 =back
655  
656 Each argument is described in detail in: L<Paws::Budgets::DescribeBudgetActionHistories>
657  
658 Returns: a L<Paws::Budgets::DescribeBudgetActionHistoriesResponse> instance
659  
660 Describes a budget action history detail.
661  
662  
663 =head2 DescribeBudgetActionsForAccount
664  
665 =over
666  
667 =item AccountId => Str
668  
669 =item [MaxResults => Int]
670  
671 =item [NextToken => Str]
672  
673  
674 =back
675  
676 Each argument is described in detail in: L<Paws::Budgets::DescribeBudgetActionsForAccount>
677  
678 Returns: a L<Paws::Budgets::DescribeBudgetActionsForAccountResponse> instance
679  
680 Describes all of the budget actions for an account.
681  
682  
683 =head2 DescribeBudgetActionsForBudget
684  
685 =over
686  
687 =item AccountId => Str
688  
689 =item BudgetName => Str
690  
691 =item [MaxResults => Int]
692  
693 =item [NextToken => Str]
694  
695  
696 =back
697  
698 Each argument is described in detail in: L<Paws::Budgets::DescribeBudgetActionsForBudget>
699  
700 Returns: a L<Paws::Budgets::DescribeBudgetActionsForBudgetResponse> instance
701  
702 Describes all of the budget actions for a budget.
703  
704  
705 =head2 DescribeBudgetPerformanceHistory
706  
707 =over
708  
709 =item AccountId => Str
710  
711 =item BudgetName => Str
712  
713 =item [MaxResults => Int]
714  
715 =item [NextToken => Str]
716  
717 =item [TimePeriod => L<Paws::Budgets::TimePeriod>]
718  
719  
720 =back
721  
722 Each argument is described in detail in: L<Paws::Budgets::DescribeBudgetPerformanceHistory>
723  
724 Returns: a L<Paws::Budgets::DescribeBudgetPerformanceHistoryResponse> instance
725  
726 Describes the history for C<DAILY>, C<MONTHLY>, and C<QUARTERLY>
727 budgets. Budget history isn't available for C<ANNUAL> budgets.
728  
729  
730 =head2 DescribeBudgets
731  
732 =over
733  
734 =item AccountId => Str
735  
736 =item [MaxResults => Int]
737  
738 =item [NextToken => Str]
739  
740  
741 =back
742  
743 Each argument is described in detail in: L<Paws::Budgets::DescribeBudgets>
744  
745 Returns: a L<Paws::Budgets::DescribeBudgetsResponse> instance
746  
747 Lists the budgets that are associated with an account.
748  
749 The Request Syntax section shows the C<BudgetLimit> syntax. For
750 C<PlannedBudgetLimits>, see the Examples
751 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudgets.html#API_DescribeBudgets_Examples)
752 section.
753  
754  
755 =head2 DescribeNotificationsForBudget
756  
757 =over
758  
759 =item AccountId => Str
760  
761 =item BudgetName => Str
762  
763 =item [MaxResults => Int]
764  
765 =item [NextToken => Str]
766  
767  
768 =back
769  
770 Each argument is described in detail in: L<Paws::Budgets::DescribeNotificationsForBudget>
771  
772 Returns: a L<Paws::Budgets::DescribeNotificationsForBudgetResponse> instance
773  
774 Lists the notifications that are associated with a budget.
775  
776  
777 =head2 DescribeSubscribersForNotification
778  
779 =over
780  
781 =item AccountId => Str
782  
783 =item BudgetName => Str
784  
785 =item Notification => L<Paws::Budgets::Notification>
786  
787 =item [MaxResults => Int]
788  
789 =item [NextToken => Str]
790  
791  
792 =back
793  
794 Each argument is described in detail in: L<Paws::Budgets::DescribeSubscribersForNotification>
795  
796 Returns: a L<Paws::Budgets::DescribeSubscribersForNotificationResponse> instance
797  
798 Lists the subscribers that are associated with a notification.
799  
800  
801 =head2 ExecuteBudgetAction
802  
803 =over
804  
805 =item AccountId => Str
806  
807 =item ActionId => Str
808  
809 =item BudgetName => Str
810  
811 =item ExecutionType => Str
812  
813  
814 =back
815  
816 Each argument is described in detail in: L<Paws::Budgets::ExecuteBudgetAction>
817  
818 Returns: a L<Paws::Budgets::ExecuteBudgetActionResponse> instance
819  
820 Executes a budget action.
821  
822  
823 =head2 UpdateBudget
824  
825 =over
826  
827 =item AccountId => Str
828  
829 =item NewBudget => L<Paws::Budgets::Budget>
830  
831  
832 =back
833  
834 Each argument is described in detail in: L<Paws::Budgets::UpdateBudget>
835  
836 Returns: a L<Paws::Budgets::UpdateBudgetResponse> instance
837  
838 Updates a budget. You can change every part of a budget except for the
839 C<budgetName> and the C<calculatedSpend>. When you modify a budget, the
840 C<calculatedSpend> drops to zero until AWS has new usage data to use
841 for forecasting.
842  
843 Only one of C<BudgetLimit> or C<PlannedBudgetLimits> can be present in
844 the syntax at one time. Use the syntax that matches your case. The
845 Request Syntax section shows the C<BudgetLimit> syntax. For
846 C<PlannedBudgetLimits>, see the Examples
847 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_UpdateBudget.html#API_UpdateBudget_Examples)
848 section.
849  
850  
851 =head2 UpdateBudgetAction
852  
853 =over
854  
855 =item AccountId => Str
856  
857 =item ActionId => Str
858  
859 =item BudgetName => Str
860  
861 =item [ActionThreshold => L<Paws::Budgets::ActionThreshold>]
862  
863 =item [ApprovalModel => Str]
864  
865 =item [Definition => L<Paws::Budgets::Definition>]
866  
867 =item [ExecutionRoleArn => Str]
868  
869 =item [NotificationType => Str]
870  
871 =item [Subscribers => ArrayRef[L<Paws::Budgets::Subscriber>]]
872  
873  
874 =back
875  
876 Each argument is described in detail in: L<Paws::Budgets::UpdateBudgetAction>
877  
878 Returns: a L<Paws::Budgets::UpdateBudgetActionResponse> instance
879  
880 Updates a budget action.
881  
882  
883 =head2 UpdateNotification
884  
885 =over
886  
887 =item AccountId => Str
888  
889 =item BudgetName => Str
890  
891 =item NewNotification => L<Paws::Budgets::Notification>
892  
893 =item OldNotification => L<Paws::Budgets::Notification>
894  
895  
896 =back
897  
898 Each argument is described in detail in: L<Paws::Budgets::UpdateNotification>
899  
900 Returns: a L<Paws::Budgets::UpdateNotificationResponse> instance
901  
902 Updates a notification.
903  
904  
905 =head2 UpdateSubscriber
906  
907 =over
908  
909 =item AccountId => Str
910  
911 =item BudgetName => Str
912  
913 =item NewSubscriber => L<Paws::Budgets::Subscriber>
914  
915 =item Notification => L<Paws::Budgets::Notification>
916  
917 =item OldSubscriber => L<Paws::Budgets::Subscriber>
918  
919  
920 =back
921  
922 Each argument is described in detail in: L<Paws::Budgets::UpdateSubscriber>
923  
924 Returns: a L<Paws::Budgets::UpdateSubscriberResponse> instance
925  
926 Updates a subscriber.
927  
928  
929  
930  
931 =head1 PAGINATORS
932  
933 Paginator methods are helpers that repetively call methods that return partial results
934  
935 =head2 DescribeAllBudgetActionHistories(sub { },AccountId => Str, ActionId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str, TimePeriod => L<Paws::Budgets::TimePeriod>])
936  
937 =head2 DescribeAllBudgetActionHistories(AccountId => Str, ActionId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str, TimePeriod => L<Paws::Budgets::TimePeriod>])
938  
939  
940 If passed a sub as first parameter, it will call the sub for each element found in :
941  
942 - ActionHistories, passing the object as the first parameter, and the string 'ActionHistories' as the second parameter
943  
944 If not, it will return a a L<Paws::Budgets::DescribeBudgetActionHistoriesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
945  
946  
947 =head2 DescribeAllBudgetActionsForAccount(sub { },AccountId => Str, [MaxResults => Int, NextToken => Str])
948  
949 =head2 DescribeAllBudgetActionsForAccount(AccountId => Str, [MaxResults => Int, NextToken => Str])
950  
951  
952 If passed a sub as first parameter, it will call the sub for each element found in :
953  
954 - Actions, passing the object as the first parameter, and the string 'Actions' as the second parameter
955  
956 If not, it will return a a L<Paws::Budgets::DescribeBudgetActionsForAccountResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
957  
958  
959 =head2 DescribeAllBudgetActionsForBudget(sub { },AccountId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str])
960  
961 =head2 DescribeAllBudgetActionsForBudget(AccountId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str])
962  
963  
964 If passed a sub as first parameter, it will call the sub for each element found in :
965  
966 - Actions, passing the object as the first parameter, and the string 'Actions' as the second parameter
967  
968 If not, it will return a a L<Paws::Budgets::DescribeBudgetActionsForBudgetResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
969  
970  
971 =head2 DescribeAllBudgetPerformanceHistory(sub { },AccountId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str, TimePeriod => L<Paws::Budgets::TimePeriod>])
972  
973 =head2 DescribeAllBudgetPerformanceHistory(AccountId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str, TimePeriod => L<Paws::Budgets::TimePeriod>])
974  
975  
976 If passed a sub as first parameter, it will call the sub for each element found in :
977  
978 - BudgetPerformanceHistory, passing the object as the first parameter, and the string 'BudgetPerformanceHistory' as the second parameter
979  
980 If not, it will return a a L<Paws::Budgets::DescribeBudgetPerformanceHistoryResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
981  
982  
983 =head2 DescribeAllBudgets(sub { },AccountId => Str, [MaxResults => Int, NextToken => Str])
984  
985 =head2 DescribeAllBudgets(AccountId => Str, [MaxResults => Int, NextToken => Str])
986  
987  
988 If passed a sub as first parameter, it will call the sub for each element found in :
989  
990 - Budgets, passing the object as the first parameter, and the string 'Budgets' as the second parameter
991  
992 If not, it will return a a L<Paws::Budgets::DescribeBudgetsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
993  
994  
995 =head2 DescribeAllNotificationsForBudget(sub { },AccountId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str])
996  
997 =head2 DescribeAllNotificationsForBudget(AccountId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str])
998  
999  
1000 If passed a sub as first parameter, it will call the sub for each element found in :
1001  
1002 - Notifications, passing the object as the first parameter, and the string 'Notifications' as the second parameter
1003  
1004 If not, it will return a a L<Paws::Budgets::DescribeNotificationsForBudgetResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1005  
1006  
1007 =head2 DescribeAllSubscribersForNotification(sub { },AccountId => Str, BudgetName => Str, Notification => L<Paws::Budgets::Notification>, [MaxResults => Int, NextToken => Str])
1008  
1009 =head2 DescribeAllSubscribersForNotification(AccountId => Str, BudgetName => Str, Notification => L<Paws::Budgets::Notification>, [MaxResults => Int, NextToken => Str])
1010  
1011  
1012 If passed a sub as first parameter, it will call the sub for each element found in :
1013  
1014 - Subscribers, passing the object as the first parameter, and the string 'Subscribers' as the second parameter
1015  
1016 If not, it will return a a L<Paws::Budgets::DescribeSubscribersForNotificationResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1017  
1018  
1019  
1020  
1021  
1022 =head1 SEE ALSO
1023  
1024 This service class forms part of L<Paws>
1025  
1026 =head1 BUGS and CONTRIBUTIONS
1027  
1028 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1029  
1030 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1031  
1032 =cut
1033