line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Budgets; |
2
|
1
|
|
|
1
|
|
4087
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
3
|
|
|
|
|
|
|
sub service { 'budgets' } |
4
|
|
|
|
|
|
|
sub version { '2016-10-20' } |
5
|
|
|
|
|
|
|
sub target_prefix { 'AWSBudgetServiceGateway' } |
6
|
|
|
|
|
|
|
sub json_version { "1.1" } |
7
|
|
|
|
|
|
|
has max_attempts => (is => 'ro', isa => 'Int', default => 5); |
8
|
|
|
|
|
|
|
has retry => (is => 'ro', isa => 'HashRef', default => sub { |
9
|
|
|
|
|
|
|
{ base => 'rand', type => 'exponential', growth_factor => 2 } |
10
|
|
|
|
|
|
|
}); |
11
|
|
|
|
|
|
|
has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ |
12
|
|
|
|
|
|
|
] }); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub CreateBudget { |
18
|
|
|
|
|
|
|
my $self = shift; |
19
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::CreateBudget', @_); |
20
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
sub CreateNotification { |
23
|
|
|
|
|
|
|
my $self = shift; |
24
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::CreateNotification', @_); |
25
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
sub CreateSubscriber { |
28
|
|
|
|
|
|
|
my $self = shift; |
29
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::CreateSubscriber', @_); |
30
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
sub DeleteBudget { |
33
|
|
|
|
|
|
|
my $self = shift; |
34
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::DeleteBudget', @_); |
35
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
sub DeleteNotification { |
38
|
|
|
|
|
|
|
my $self = shift; |
39
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::DeleteNotification', @_); |
40
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
sub DeleteSubscriber { |
43
|
|
|
|
|
|
|
my $self = shift; |
44
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::DeleteSubscriber', @_); |
45
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
sub DescribeBudget { |
48
|
|
|
|
|
|
|
my $self = shift; |
49
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudget', @_); |
50
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
sub DescribeBudgets { |
53
|
|
|
|
|
|
|
my $self = shift; |
54
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeBudgets', @_); |
55
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
sub DescribeNotificationsForBudget { |
58
|
|
|
|
|
|
|
my $self = shift; |
59
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeNotificationsForBudget', @_); |
60
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
sub DescribeSubscribersForNotification { |
63
|
|
|
|
|
|
|
my $self = shift; |
64
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::DescribeSubscribersForNotification', @_); |
65
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
sub UpdateBudget { |
68
|
|
|
|
|
|
|
my $self = shift; |
69
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::UpdateBudget', @_); |
70
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
sub UpdateNotification { |
73
|
|
|
|
|
|
|
my $self = shift; |
74
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::UpdateNotification', @_); |
75
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
sub UpdateSubscriber { |
78
|
|
|
|
|
|
|
my $self = shift; |
79
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Budgets::UpdateSubscriber', @_); |
80
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub operations { qw/CreateBudget CreateNotification CreateSubscriber DeleteBudget DeleteNotification DeleteSubscriber DescribeBudget DescribeBudgets DescribeNotificationsForBudget DescribeSubscribersForNotification UpdateBudget UpdateNotification UpdateSubscriber / } |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
1; |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
### main pod documentation begin ### |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 NAME |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Paws::Budgets - Perl Interface to AWS AWS Budgets |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 SYNOPSIS |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
use Paws; |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
my $obj = Paws->service('Budgets'); |
100
|
|
|
|
|
|
|
my $res = $obj->Method( |
101
|
|
|
|
|
|
|
Arg1 => $val1, |
102
|
|
|
|
|
|
|
Arg2 => [ 'V1', 'V2' ], |
103
|
|
|
|
|
|
|
# if Arg3 is an object, the HashRef will be used as arguments to the constructor |
104
|
|
|
|
|
|
|
# of the arguments type |
105
|
|
|
|
|
|
|
Arg3 => { Att1 => 'Val1' }, |
106
|
|
|
|
|
|
|
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to |
107
|
|
|
|
|
|
|
# the constructor of the arguments type |
108
|
|
|
|
|
|
|
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], |
109
|
|
|
|
|
|
|
); |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head1 DESCRIPTION |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
All public APIs for AWS Budgets |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 METHODS |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head2 CreateBudget(AccountId => Str, Budget => L<Paws::Budgets::Budget>, [NotificationsWithSubscribers => ArrayRef[L<Paws::Budgets::NotificationWithSubscribers>]]) |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::CreateBudget> |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::CreateBudgetResponse> instance |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Create a new budget |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 CreateNotification(AccountId => Str, BudgetName => Str, Notification => L<Paws::Budgets::Notification>, Subscribers => ArrayRef[L<Paws::Budgets::Subscriber>]) |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::CreateNotification> |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::CreateNotificationResponse> instance |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Create a new Notification with subscribers for a budget |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 CreateSubscriber(AccountId => Str, BudgetName => Str, Notification => L<Paws::Budgets::Notification>, Subscriber => L<Paws::Budgets::Subscriber>) |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::CreateSubscriber> |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::CreateSubscriberResponse> instance |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Create a new Subscriber for a notification |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=head2 DeleteBudget(AccountId => Str, BudgetName => Str) |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::DeleteBudget> |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::DeleteBudgetResponse> instance |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Delete a budget and related notifications |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 DeleteNotification(AccountId => Str, BudgetName => Str, Notification => L<Paws::Budgets::Notification>) |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::DeleteNotification> |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::DeleteNotificationResponse> instance |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
Delete a notification and related subscribers |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 DeleteSubscriber(AccountId => Str, BudgetName => Str, Notification => L<Paws::Budgets::Notification>, Subscriber => L<Paws::Budgets::Subscriber>) |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::DeleteSubscriber> |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::DeleteSubscriberResponse> instance |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
Delete a Subscriber for a notification |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 DescribeBudget(AccountId => Str, BudgetName => Str) |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::DescribeBudget> |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::DescribeBudgetResponse> instance |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Get a single budget |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 DescribeBudgets(AccountId => Str, [MaxResults => Int, NextToken => Str]) |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::DescribeBudgets> |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::DescribeBudgetsResponse> instance |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
Get all budgets for an account |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=head2 DescribeNotificationsForBudget(AccountId => Str, BudgetName => Str, [MaxResults => Int, NextToken => Str]) |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::DescribeNotificationsForBudget> |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::DescribeNotificationsForBudgetResponse> instance |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
Get notifications of a budget |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head2 DescribeSubscribersForNotification(AccountId => Str, BudgetName => Str, Notification => L<Paws::Budgets::Notification>, [MaxResults => Int, NextToken => Str]) |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::DescribeSubscribersForNotification> |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::DescribeSubscribersForNotificationResponse> instance |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
Get subscribers of a notification |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=head2 UpdateBudget(AccountId => Str, NewBudget => L<Paws::Budgets::Budget>) |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::UpdateBudget> |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::UpdateBudgetResponse> instance |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
Update the information of a budget already created |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
=head2 UpdateNotification(AccountId => Str, BudgetName => Str, NewNotification => L<Paws::Budgets::Notification>, OldNotification => L<Paws::Budgets::Notification>) |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::UpdateNotification> |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::UpdateNotificationResponse> instance |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
Update the information about a notification already created |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=head2 UpdateSubscriber(AccountId => Str, BudgetName => Str, NewSubscriber => L<Paws::Budgets::Subscriber>, Notification => L<Paws::Budgets::Notification>, OldSubscriber => L<Paws::Budgets::Subscriber>) |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Budgets::UpdateSubscriber> |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
Returns: a L<Paws::Budgets::UpdateSubscriberResponse> instance |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
Update a subscriber |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=head1 PAGINATORS |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
Paginator methods are helpers that repetively call methods that return partial results |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=head1 SEE ALSO |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
This service class forms part of L<Paws> |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
=cut |
254
|
|
|
|
|
|
|
|