blib/lib/Paws/DevOpsGuru.pm untested

filter: Statementstmt 0.0% 0 / 292 Branchbran 0.0% 0 / 36 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 36 Podpod 0.0% 0 / 35 totaltotal 0.0% 0 / 399 CC 19 SCAR 19.5
CC
19
Cov
0%
DescribeAllResourceCollectionHealth
12.0
GetAllCostEstimation
12.0
GetAllResourceCollection
12.0
CRAP 7.0
1 package Paws::DevOpsGuru;
2 use Moose;
3 sub service { 'devops-guru' }
4 sub signing_name { 'devops-guru' }
5 sub version { '2020-12-01' }
6 sub flattened_arrays { 0 }
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::RestJsonCaller';
15  
16
17 sub AddNotificationChannel {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::AddNotificationChannel', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub DescribeAccountHealth {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::DescribeAccountHealth', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub DescribeAccountOverview {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::DescribeAccountOverview', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub DescribeAnomaly {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::DescribeAnomaly', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub DescribeFeedback {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::DescribeFeedback', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DescribeInsight {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::DescribeInsight', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub DescribeResourceCollectionHealth {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::DescribeResourceCollectionHealth', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DescribeServiceIntegration {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::DescribeServiceIntegration', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub GetCostEstimation {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::GetCostEstimation', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub GetResourceCollection {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::GetResourceCollection', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub ListAnomaliesForInsight {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::ListAnomaliesForInsight', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub ListEvents {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::ListEvents', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub ListInsights {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::ListInsights', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub ListNotificationChannels {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::ListNotificationChannels', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub ListRecommendations {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::ListRecommendations', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub PutFeedback {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::PutFeedback', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub RemoveNotificationChannel {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::RemoveNotificationChannel', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub SearchInsights {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::SearchInsights', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub StartCostEstimation {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::StartCostEstimation', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub UpdateResourceCollection {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::UpdateResourceCollection', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub UpdateServiceIntegration {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::DevOpsGuru::UpdateServiceIntegration', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122
123 sub DescribeAllResourceCollectionHealth {
124 my $self = shift;
125  
126 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
127 my $result = $self->DescribeResourceCollectionHealth(@_);
128 my $next_result = $result;
129  
130 if (not defined $callback) {
131 while ($next_result->NextToken) {
132 $next_result = $self->DescribeResourceCollectionHealth(@_, NextToken => $next_result->NextToken);
133 push @{ $result->CloudFormation }, @{ $next_result->CloudFormation };
134 push @{ $result->Service }, @{ $next_result->Service };
135 }
136 return $result;
137 } else {
138 while ($result->NextToken) {
139 $callback->($_ => 'CloudFormation') foreach (@{ $result->CloudFormation });
140 $callback->($_ => 'Service') foreach (@{ $result->Service });
141 $result = $self->DescribeResourceCollectionHealth(@_, NextToken => $result->NextToken);
142 }
143 $callback->($_ => 'CloudFormation') foreach (@{ $result->CloudFormation });
144 $callback->($_ => 'Service') foreach (@{ $result->Service });
145 }
146  
147 return undef
148 }
149 sub GetAllCostEstimation {
150 my $self = shift;
151  
152 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
153 my $result = $self->GetCostEstimation(@_);
154 my $next_result = $result;
155  
156 if (not defined $callback) {
157 while ($next_result->NextToken) {
158 $next_result = $self->GetCostEstimation(@_, NextToken => $next_result->NextToken);
159 push @{ $result->Costs }, @{ $next_result->Costs };
160 }
161 return $result;
162 } else {
163 while ($result->NextToken) {
164 $callback->($_ => 'Costs') foreach (@{ $result->Costs });
165 $result = $self->GetCostEstimation(@_, NextToken => $result->NextToken);
166 }
167 $callback->($_ => 'Costs') foreach (@{ $result->Costs });
168 }
169  
170 return undef
171 }
172 sub GetAllResourceCollection {
173 my $self = shift;
174  
175 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
176 my $result = $self->GetResourceCollection(@_);
177 my $next_result = $result;
178  
179 if (not defined $callback) {
180 while ($next_result->NextToken) {
181 $next_result = $self->GetResourceCollection(@_, NextToken => $next_result->NextToken);
182 push @{ $result->ResourceCollection->CloudFormation->StackNames }, @{ $next_result->ResourceCollection->CloudFormation->StackNames };
183 }
184 return $result;
185 } else {
186 while ($result->NextToken) {
187 $callback->($_ => 'ResourceCollection.CloudFormation.StackNames') foreach (@{ $result->ResourceCollection->CloudFormation->StackNames });
188 $result = $self->GetResourceCollection(@_, NextToken => $result->NextToken);
189 }
190 $callback->($_ => 'ResourceCollection.CloudFormation.StackNames') foreach (@{ $result->ResourceCollection->CloudFormation->StackNames });
191 }
192  
193 return undef
194 }
195 sub ListAllAnomaliesForInsight {
196 my $self = shift;
197  
198 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
199 my $result = $self->ListAnomaliesForInsight(@_);
200 my $next_result = $result;
201  
202 if (not defined $callback) {
203 while ($next_result->NextToken) {
204 $next_result = $self->ListAnomaliesForInsight(@_, NextToken => $next_result->NextToken);
205 push @{ $result->ReactiveAnomalies }, @{ $next_result->ReactiveAnomalies };
206 push @{ $result->ProactiveAnomalies }, @{ $next_result->ProactiveAnomalies };
207 }
208 return $result;
209 } else {
210 while ($result->NextToken) {
211 $callback->($_ => 'ReactiveAnomalies') foreach (@{ $result->ReactiveAnomalies });
212 $callback->($_ => 'ProactiveAnomalies') foreach (@{ $result->ProactiveAnomalies });
213 $result = $self->ListAnomaliesForInsight(@_, NextToken => $result->NextToken);
214 }
215 $callback->($_ => 'ReactiveAnomalies') foreach (@{ $result->ReactiveAnomalies });
216 $callback->($_ => 'ProactiveAnomalies') foreach (@{ $result->ProactiveAnomalies });
217 }
218  
219 return undef
220 }
221 sub ListAllEvents {
222 my $self = shift;
223  
224 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
225 my $result = $self->ListEvents(@_);
226 my $next_result = $result;
227  
228 if (not defined $callback) {
229 while ($next_result->NextToken) {
230 $next_result = $self->ListEvents(@_, NextToken => $next_result->NextToken);
231 push @{ $result->Events }, @{ $next_result->Events };
232 }
233 return $result;
234 } else {
235 while ($result->NextToken) {
236 $callback->($_ => 'Events') foreach (@{ $result->Events });
237 $result = $self->ListEvents(@_, NextToken => $result->NextToken);
238 }
239 $callback->($_ => 'Events') foreach (@{ $result->Events });
240 }
241  
242 return undef
243 }
244 sub ListAllInsights {
245 my $self = shift;
246  
247 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
248 my $result = $self->ListInsights(@_);
249 my $next_result = $result;
250  
251 if (not defined $callback) {
252 while ($next_result->NextToken) {
253 $next_result = $self->ListInsights(@_, NextToken => $next_result->NextToken);
254 push @{ $result->ProactiveInsights }, @{ $next_result->ProactiveInsights };
255 push @{ $result->ReactiveInsights }, @{ $next_result->ReactiveInsights };
256 }
257 return $result;
258 } else {
259 while ($result->NextToken) {
260 $callback->($_ => 'ProactiveInsights') foreach (@{ $result->ProactiveInsights });
261 $callback->($_ => 'ReactiveInsights') foreach (@{ $result->ReactiveInsights });
262 $result = $self->ListInsights(@_, NextToken => $result->NextToken);
263 }
264 $callback->($_ => 'ProactiveInsights') foreach (@{ $result->ProactiveInsights });
265 $callback->($_ => 'ReactiveInsights') foreach (@{ $result->ReactiveInsights });
266 }
267  
268 return undef
269 }
270 sub ListAllNotificationChannels {
271 my $self = shift;
272  
273 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
274 my $result = $self->ListNotificationChannels(@_);
275 my $next_result = $result;
276  
277 if (not defined $callback) {
278 while ($next_result->NextToken) {
279 $next_result = $self->ListNotificationChannels(@_, NextToken => $next_result->NextToken);
280 push @{ $result->Channels }, @{ $next_result->Channels };
281 }
282 return $result;
283 } else {
284 while ($result->NextToken) {
285 $callback->($_ => 'Channels') foreach (@{ $result->Channels });
286 $result = $self->ListNotificationChannels(@_, NextToken => $result->NextToken);
287 }
288 $callback->($_ => 'Channels') foreach (@{ $result->Channels });
289 }
290  
291 return undef
292 }
293 sub ListAllRecommendations {
294 my $self = shift;
295  
296 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
297 my $result = $self->ListRecommendations(@_);
298 my $next_result = $result;
299  
300 if (not defined $callback) {
301 while ($next_result->NextToken) {
302 $next_result = $self->ListRecommendations(@_, NextToken => $next_result->NextToken);
303 push @{ $result->Recommendations }, @{ $next_result->Recommendations };
304 }
305 return $result;
306 } else {
307 while ($result->NextToken) {
308 $callback->($_ => 'Recommendations') foreach (@{ $result->Recommendations });
309 $result = $self->ListRecommendations(@_, NextToken => $result->NextToken);
310 }
311 $callback->($_ => 'Recommendations') foreach (@{ $result->Recommendations });
312 }
313  
314 return undef
315 }
316 sub SearchAllInsights {
317 my $self = shift;
318  
319 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
320 my $result = $self->SearchInsights(@_);
321 my $next_result = $result;
322  
323 if (not defined $callback) {
324 while ($next_result->NextToken) {
325 $next_result = $self->SearchInsights(@_, NextToken => $next_result->NextToken);
326 push @{ $result->ProactiveInsights }, @{ $next_result->ProactiveInsights };
327 push @{ $result->ReactiveInsights }, @{ $next_result->ReactiveInsights };
328 }
329 return $result;
330 } else {
331 while ($result->NextToken) {
332 $callback->($_ => 'ProactiveInsights') foreach (@{ $result->ProactiveInsights });
333 $callback->($_ => 'ReactiveInsights') foreach (@{ $result->ReactiveInsights });
334 $result = $self->SearchInsights(@_, NextToken => $result->NextToken);
335 }
336 $callback->($_ => 'ProactiveInsights') foreach (@{ $result->ProactiveInsights });
337 $callback->($_ => 'ReactiveInsights') foreach (@{ $result->ReactiveInsights });
338 }
339  
340 return undef
341 }
342  
343  
344 sub operations { qw/AddNotificationChannel DescribeAccountHealth DescribeAccountOverview DescribeAnomaly DescribeFeedback DescribeInsight DescribeResourceCollectionHealth DescribeServiceIntegration GetCostEstimation GetResourceCollection ListAnomaliesForInsight ListEvents ListInsights ListNotificationChannels ListRecommendations PutFeedback RemoveNotificationChannel SearchInsights StartCostEstimation UpdateResourceCollection UpdateServiceIntegration / }
345  
346 1;
347  
348 ### main pod documentation begin ###
349  
350 =head1 NAME
351  
352 Paws::DevOpsGuru - Perl Interface to AWS Amazon DevOps Guru
353  
354 =head1 SYNOPSIS
355  
356 use Paws;
357  
358 my $obj = Paws->service('DevOpsGuru');
359 my $res = $obj->Method(
360 Arg1 => $val1,
361 Arg2 => [ 'V1', 'V2' ],
362 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
363 # of the arguments type
364 Arg3 => { Att1 => 'Val1' },
365 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
366 # the constructor of the arguments type
367 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
368 );
369  
370 =head1 DESCRIPTION
371  
372 Amazon DevOps Guru is a fully managed service that helps you identify
373 anomalous behavior in business critical operational applications. You
374 specify the AWS resources that you want DevOps Guru to cover, then the
375 Amazon CloudWatch metrics and AWS CloudTrail events related to those
376 resources are analyzed. When anomalous behavior is detected, DevOps
377 Guru creates an I<insight> that includes recommendations, related
378 events, and related metrics that can help you improve your operational
379 applications. For more information, see What is Amazon DevOps Guru
380 (https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html).
381  
382 You can specify 1 or 2 Amazon Simple Notification Service topics so you
383 are notified every time a new insight is created. You can also enable
384 DevOps Guru to generate an OpsItem in AWS Systems Manager for each
385 insight to help you manage and track your work addressing insights.
386  
387 To learn about the DevOps Guru workflow, see How DevOps Guru works
388 (https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html#how-it-works).
389 To learn about DevOps Guru concepts, see Concepts in DevOps Guru
390 (https://docs.aws.amazon.com/devops-guru/latest/userguide/concepts.html).
391  
392 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01>
393  
394  
395 =head1 METHODS
396  
397 =head2 AddNotificationChannel
398  
399 =over
400  
401 =item Config => L<Paws::DevOpsGuru::NotificationChannelConfig>
402  
403  
404 =back
405  
406 Each argument is described in detail in: L<Paws::DevOpsGuru::AddNotificationChannel>
407  
408 Returns: a L<Paws::DevOpsGuru::AddNotificationChannelResponse> instance
409  
410 Adds a notification channel to DevOps Guru. A notification channel is
411 used to notify you about important DevOps Guru events, such as when an
412 insight is generated.
413  
414 If you use an Amazon SNS topic in another account, you must attach a
415 policy to it that grants DevOps Guru permission to it notifications.
416 DevOps Guru adds the required policy on your behalf to send
417 notifications using Amazon SNS in your account. For more information,
418 see Permissions for cross account Amazon SNS topics
419 (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html).
420  
421 If you use an Amazon SNS topic that is encrypted by an AWS Key
422 Management Service customer-managed key (CMK), then you must add
423 permissions to the CMK. For more information, see Permissions for AWS
424 KMSE<ndash>encrypted Amazon SNS topics
425 (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html).
426  
427  
428 =head2 DescribeAccountHealth
429  
430  
431  
432  
433  
434  
435 Each argument is described in detail in: L<Paws::DevOpsGuru::DescribeAccountHealth>
436  
437 Returns: a L<Paws::DevOpsGuru::DescribeAccountHealthResponse> instance
438  
439 Returns the number of open reactive insights, the number of open
440 proactive insights, and the number of metrics analyzed in your AWS
441 account. Use these numbers to gauge the health of operations in your
442 AWS account.
443  
444  
445 =head2 DescribeAccountOverview
446  
447 =over
448  
449 =item FromTime => Str
450  
451 =item [ToTime => Str]
452  
453  
454 =back
455  
456 Each argument is described in detail in: L<Paws::DevOpsGuru::DescribeAccountOverview>
457  
458 Returns: a L<Paws::DevOpsGuru::DescribeAccountOverviewResponse> instance
459  
460 For the time range passed in, returns the number of open reactive
461 insight that were created, the number of open proactive insights that
462 were created, and the Mean Time to Recover (MTTR) for all closed
463 reactive insights.
464  
465  
466 =head2 DescribeAnomaly
467  
468 =over
469  
470 =item Id => Str
471  
472  
473 =back
474  
475 Each argument is described in detail in: L<Paws::DevOpsGuru::DescribeAnomaly>
476  
477 Returns: a L<Paws::DevOpsGuru::DescribeAnomalyResponse> instance
478  
479 Returns details about an anomaly that you specify using its ID.
480  
481  
482 =head2 DescribeFeedback
483  
484 =over
485  
486 =item [InsightId => Str]
487  
488  
489 =back
490  
491 Each argument is described in detail in: L<Paws::DevOpsGuru::DescribeFeedback>
492  
493 Returns: a L<Paws::DevOpsGuru::DescribeFeedbackResponse> instance
494  
495 Returns the most recent feedback submitted in the current AWS account
496 and Region.
497  
498  
499 =head2 DescribeInsight
500  
501 =over
502  
503 =item Id => Str
504  
505  
506 =back
507  
508 Each argument is described in detail in: L<Paws::DevOpsGuru::DescribeInsight>
509  
510 Returns: a L<Paws::DevOpsGuru::DescribeInsightResponse> instance
511  
512 Returns details about an insight that you specify using its ID.
513  
514  
515 =head2 DescribeResourceCollectionHealth
516  
517 =over
518  
519 =item ResourceCollectionType => Str
520  
521 =item [NextToken => Str]
522  
523  
524 =back
525  
526 Each argument is described in detail in: L<Paws::DevOpsGuru::DescribeResourceCollectionHealth>
527  
528 Returns: a L<Paws::DevOpsGuru::DescribeResourceCollectionHealthResponse> instance
529  
530 Returns the number of open proactive insights, open reactive insights,
531 and the Mean Time to Recover (MTTR) for all closed insights in resource
532 collections in your account. You specify the type of AWS resources
533 collection. The one type of AWS resource collection supported is AWS
534 CloudFormation stacks. DevOps Guru can be configured to analyze only
535 the AWS resources that are defined in the stacks. You can specify up to
536 500 AWS CloudFormation stacks.
537  
538  
539 =head2 DescribeServiceIntegration
540  
541  
542  
543  
544  
545  
546 Each argument is described in detail in: L<Paws::DevOpsGuru::DescribeServiceIntegration>
547  
548 Returns: a L<Paws::DevOpsGuru::DescribeServiceIntegrationResponse> instance
549  
550 Returns the integration status of services that are integrated with
551 DevOps Guru. The one service that can be integrated with DevOps Guru is
552 AWS Systems Manager, which can be used to create an OpsItem for each
553 generated insight.
554  
555  
556 =head2 GetCostEstimation
557  
558 =over
559  
560 =item [NextToken => Str]
561  
562  
563 =back
564  
565 Each argument is described in detail in: L<Paws::DevOpsGuru::GetCostEstimation>
566  
567 Returns: a L<Paws::DevOpsGuru::GetCostEstimationResponse> instance
568  
569 Returns an estimate of the monthly cost for DevOps Guru to analyze your
570 AWS resources. For more information, see Estimate your Amazon DevOps
571 Guru costs
572 (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html)
573 and Amazon DevOps Guru pricing
574 (http://aws.amazon.com/devops-guru/pricing/).
575  
576  
577 =head2 GetResourceCollection
578  
579 =over
580  
581 =item ResourceCollectionType => Str
582  
583 =item [NextToken => Str]
584  
585  
586 =back
587  
588 Each argument is described in detail in: L<Paws::DevOpsGuru::GetResourceCollection>
589  
590 Returns: a L<Paws::DevOpsGuru::GetResourceCollectionResponse> instance
591  
592 Returns lists AWS resources that are of the specified resource
593 collection type. The one type of AWS resource collection supported is
594 AWS CloudFormation stacks. DevOps Guru can be configured to analyze
595 only the AWS resources that are defined in the stacks. You can specify
596 up to 500 AWS CloudFormation stacks.
597  
598  
599 =head2 ListAnomaliesForInsight
600  
601 =over
602  
603 =item InsightId => Str
604  
605 =item [MaxResults => Int]
606  
607 =item [NextToken => Str]
608  
609 =item [StartTimeRange => L<Paws::DevOpsGuru::StartTimeRange>]
610  
611  
612 =back
613  
614 Each argument is described in detail in: L<Paws::DevOpsGuru::ListAnomaliesForInsight>
615  
616 Returns: a L<Paws::DevOpsGuru::ListAnomaliesForInsightResponse> instance
617  
618 Returns a list of the anomalies that belong to an insight that you
619 specify using its ID.
620  
621  
622 =head2 ListEvents
623  
624 =over
625  
626 =item Filters => L<Paws::DevOpsGuru::ListEventsFilters>
627  
628 =item [MaxResults => Int]
629  
630 =item [NextToken => Str]
631  
632  
633 =back
634  
635 Each argument is described in detail in: L<Paws::DevOpsGuru::ListEvents>
636  
637 Returns: a L<Paws::DevOpsGuru::ListEventsResponse> instance
638  
639 Returns a list of the events emitted by the resources that are
640 evaluated by DevOps Guru. You can use filters to specify which events
641 are returned.
642  
643  
644 =head2 ListInsights
645  
646 =over
647  
648 =item StatusFilter => L<Paws::DevOpsGuru::ListInsightsStatusFilter>
649  
650 =item [MaxResults => Int]
651  
652 =item [NextToken => Str]
653  
654  
655 =back
656  
657 Each argument is described in detail in: L<Paws::DevOpsGuru::ListInsights>
658  
659 Returns: a L<Paws::DevOpsGuru::ListInsightsResponse> instance
660  
661 Returns a list of insights in your AWS account. You can specify which
662 insights are returned by their start time and status (C<ONGOING>,
663 C<CLOSED>, or C<ANY>).
664  
665  
666 =head2 ListNotificationChannels
667  
668 =over
669  
670 =item [NextToken => Str]
671  
672  
673 =back
674  
675 Each argument is described in detail in: L<Paws::DevOpsGuru::ListNotificationChannels>
676  
677 Returns: a L<Paws::DevOpsGuru::ListNotificationChannelsResponse> instance
678  
679 Returns a list of notification channels configured for DevOps Guru.
680 Each notification channel is used to notify you when DevOps Guru
681 generates an insight that contains information about how to improve
682 your operations. The one supported notification channel is Amazon
683 Simple Notification Service (Amazon SNS).
684  
685  
686 =head2 ListRecommendations
687  
688 =over
689  
690 =item InsightId => Str
691  
692 =item [Locale => Str]
693  
694 =item [NextToken => Str]
695  
696  
697 =back
698  
699 Each argument is described in detail in: L<Paws::DevOpsGuru::ListRecommendations>
700  
701 Returns: a L<Paws::DevOpsGuru::ListRecommendationsResponse> instance
702  
703 Returns a list of a specified insight's recommendations. Each
704 recommendation includes a list of related metrics and a list of related
705 events.
706  
707  
708 =head2 PutFeedback
709  
710 =over
711  
712 =item [InsightFeedback => L<Paws::DevOpsGuru::InsightFeedback>]
713  
714  
715 =back
716  
717 Each argument is described in detail in: L<Paws::DevOpsGuru::PutFeedback>
718  
719 Returns: a L<Paws::DevOpsGuru::PutFeedbackResponse> instance
720  
721 Collects customer feedback about the specified insight.
722  
723  
724 =head2 RemoveNotificationChannel
725  
726 =over
727  
728 =item Id => Str
729  
730  
731 =back
732  
733 Each argument is described in detail in: L<Paws::DevOpsGuru::RemoveNotificationChannel>
734  
735 Returns: a L<Paws::DevOpsGuru::RemoveNotificationChannelResponse> instance
736  
737 Removes a notification channel from DevOps Guru. A notification channel
738 is used to notify you when DevOps Guru generates an insight that
739 contains information about how to improve your operations.
740  
741  
742 =head2 SearchInsights
743  
744 =over
745  
746 =item StartTimeRange => L<Paws::DevOpsGuru::StartTimeRange>
747  
748 =item Type => Str
749  
750 =item [Filters => L<Paws::DevOpsGuru::SearchInsightsFilters>]
751  
752 =item [MaxResults => Int]
753  
754 =item [NextToken => Str]
755  
756  
757 =back
758  
759 Each argument is described in detail in: L<Paws::DevOpsGuru::SearchInsights>
760  
761 Returns: a L<Paws::DevOpsGuru::SearchInsightsResponse> instance
762  
763 Returns a list of insights in your AWS account. You can specify which
764 insights are returned by their start time, one or more statuses
765 (C<ONGOING>, C<CLOSED>, and C<CLOSED>), one or more severities (C<LOW>,
766 C<MEDIUM>, and C<HIGH>), and type (C<REACTIVE> or C<PROACTIVE>).
767  
768 Use the C<Filters> parameter to specify status and severity search
769 parameters. Use the C<Type> parameter to specify C<REACTIVE> or
770 C<PROACTIVE> in your search.
771  
772  
773 =head2 StartCostEstimation
774  
775 =over
776  
777 =item ResourceCollection => L<Paws::DevOpsGuru::CostEstimationResourceCollectionFilter>
778  
779 =item [ClientToken => Str]
780  
781  
782 =back
783  
784 Each argument is described in detail in: L<Paws::DevOpsGuru::StartCostEstimation>
785  
786 Returns: a L<Paws::DevOpsGuru::StartCostEstimationResponse> instance
787  
788 Starts the creation of an estimate of the monthly cost to analyze your
789 AWS resources.
790  
791  
792 =head2 UpdateResourceCollection
793  
794 =over
795  
796 =item Action => Str
797  
798 =item ResourceCollection => L<Paws::DevOpsGuru::UpdateResourceCollectionFilter>
799  
800  
801 =back
802  
803 Each argument is described in detail in: L<Paws::DevOpsGuru::UpdateResourceCollection>
804  
805 Returns: a L<Paws::DevOpsGuru::UpdateResourceCollectionResponse> instance
806  
807 Updates the collection of resources that DevOps Guru analyzes. The one
808 type of AWS resource collection supported is AWS CloudFormation stacks.
809 DevOps Guru can be configured to analyze only the AWS resources that
810 are defined in the stacks. You can specify up to 500 AWS CloudFormation
811 stacks. This method also creates the IAM role required for you to use
812 DevOps Guru.
813  
814  
815 =head2 UpdateServiceIntegration
816  
817 =over
818  
819 =item ServiceIntegration => L<Paws::DevOpsGuru::UpdateServiceIntegrationConfig>
820  
821  
822 =back
823  
824 Each argument is described in detail in: L<Paws::DevOpsGuru::UpdateServiceIntegration>
825  
826 Returns: a L<Paws::DevOpsGuru::UpdateServiceIntegrationResponse> instance
827  
828 Enables or disables integration with a service that can be integrated
829 with DevOps Guru. The one service that can be integrated with DevOps
830 Guru is AWS Systems Manager, which can be used to create an OpsItem for
831 each generated insight.
832  
833  
834  
835  
836 =head1 PAGINATORS
837  
838 Paginator methods are helpers that repetively call methods that return partial results
839  
840 =head2 DescribeAllResourceCollectionHealth(sub { },ResourceCollectionType => Str, [NextToken => Str])
841  
842 =head2 DescribeAllResourceCollectionHealth(ResourceCollectionType => Str, [NextToken => Str])
843  
844  
845 If passed a sub as first parameter, it will call the sub for each element found in :
846  
847 - CloudFormation, passing the object as the first parameter, and the string 'CloudFormation' as the second parameter
848  
849 - Service, passing the object as the first parameter, and the string 'Service' as the second parameter
850  
851 If not, it will return a a L<Paws::DevOpsGuru::DescribeResourceCollectionHealthResponse> instance with all the C<param>s; andC<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
852  
853  
854 =head2 GetAllCostEstimation(sub { },[NextToken => Str])
855  
856 =head2 GetAllCostEstimation([NextToken => Str])
857  
858  
859 If passed a sub as first parameter, it will call the sub for each element found in :
860  
861 - Costs, passing the object as the first parameter, and the string 'Costs' as the second parameter
862  
863 If not, it will return a a L<Paws::DevOpsGuru::GetCostEstimationResponse> 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.
864  
865  
866 =head2 GetAllResourceCollection(sub { },ResourceCollectionType => Str, [NextToken => Str])
867  
868 =head2 GetAllResourceCollection(ResourceCollectionType => Str, [NextToken => Str])
869  
870  
871 If passed a sub as first parameter, it will call the sub for each element found in :
872  
873 - ResourceCollection.CloudFormation.StackNames, passing the object as the first parameter, and the string 'ResourceCollection.CloudFormation.StackNames' as the second parameter
874  
875 If not, it will return a a L<Paws::DevOpsGuru::GetResourceCollectionResponse> 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.
876  
877  
878 =head2 ListAllAnomaliesForInsight(sub { },InsightId => Str, [MaxResults => Int, NextToken => Str, StartTimeRange => L<Paws::DevOpsGuru::StartTimeRange>])
879  
880 =head2 ListAllAnomaliesForInsight(InsightId => Str, [MaxResults => Int, NextToken => Str, StartTimeRange => L<Paws::DevOpsGuru::StartTimeRange>])
881  
882  
883 If passed a sub as first parameter, it will call the sub for each element found in :
884  
885 - ReactiveAnomalies, passing the object as the first parameter, and the string 'ReactiveAnomalies' as the second parameter
886  
887 - ProactiveAnomalies, passing the object as the first parameter, and the string 'ProactiveAnomalies' as the second parameter
888  
889 If not, it will return a a L<Paws::DevOpsGuru::ListAnomaliesForInsightResponse> instance with all the C<param>s; andC<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
890  
891  
892 =head2 ListAllEvents(sub { },Filters => L<Paws::DevOpsGuru::ListEventsFilters>, [MaxResults => Int, NextToken => Str])
893  
894 =head2 ListAllEvents(Filters => L<Paws::DevOpsGuru::ListEventsFilters>, [MaxResults => Int, NextToken => Str])
895  
896  
897 If passed a sub as first parameter, it will call the sub for each element found in :
898  
899 - Events, passing the object as the first parameter, and the string 'Events' as the second parameter
900  
901 If not, it will return a a L<Paws::DevOpsGuru::ListEventsResponse> 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.
902  
903  
904 =head2 ListAllInsights(sub { },StatusFilter => L<Paws::DevOpsGuru::ListInsightsStatusFilter>, [MaxResults => Int, NextToken => Str])
905  
906 =head2 ListAllInsights(StatusFilter => L<Paws::DevOpsGuru::ListInsightsStatusFilter>, [MaxResults => Int, NextToken => Str])
907  
908  
909 If passed a sub as first parameter, it will call the sub for each element found in :
910  
911 - ProactiveInsights, passing the object as the first parameter, and the string 'ProactiveInsights' as the second parameter
912  
913 - ReactiveInsights, passing the object as the first parameter, and the string 'ReactiveInsights' as the second parameter
914  
915 If not, it will return a a L<Paws::DevOpsGuru::ListInsightsResponse> instance with all the C<param>s; andC<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
916  
917  
918 =head2 ListAllNotificationChannels(sub { },[NextToken => Str])
919  
920 =head2 ListAllNotificationChannels([NextToken => Str])
921  
922  
923 If passed a sub as first parameter, it will call the sub for each element found in :
924  
925 - Channels, passing the object as the first parameter, and the string 'Channels' as the second parameter
926  
927 If not, it will return a a L<Paws::DevOpsGuru::ListNotificationChannelsResponse> 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.
928  
929  
930 =head2 ListAllRecommendations(sub { },InsightId => Str, [Locale => Str, NextToken => Str])
931  
932 =head2 ListAllRecommendations(InsightId => Str, [Locale => Str, NextToken => Str])
933  
934  
935 If passed a sub as first parameter, it will call the sub for each element found in :
936  
937 - Recommendations, passing the object as the first parameter, and the string 'Recommendations' as the second parameter
938  
939 If not, it will return a a L<Paws::DevOpsGuru::ListRecommendationsResponse> 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.
940  
941  
942 =head2 SearchAllInsights(sub { },StartTimeRange => L<Paws::DevOpsGuru::StartTimeRange>, Type => Str, [Filters => L<Paws::DevOpsGuru::SearchInsightsFilters>, MaxResults => Int, NextToken => Str])
943  
944 =head2 SearchAllInsights(StartTimeRange => L<Paws::DevOpsGuru::StartTimeRange>, Type => Str, [Filters => L<Paws::DevOpsGuru::SearchInsightsFilters>, MaxResults => Int, NextToken => Str])
945  
946  
947 If passed a sub as first parameter, it will call the sub for each element found in :
948  
949 - ProactiveInsights, passing the object as the first parameter, and the string 'ProactiveInsights' as the second parameter
950  
951 - ReactiveInsights, passing the object as the first parameter, and the string 'ReactiveInsights' as the second parameter
952  
953 If not, it will return a a L<Paws::DevOpsGuru::SearchInsightsResponse> instance with all the C<param>s; andC<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
954  
955  
956  
957  
958  
959 =head1 SEE ALSO
960  
961 This service class forms part of L<Paws>
962  
963 =head1 BUGS and CONTRIBUTIONS
964  
965 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
966  
967 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
968  
969 =cut
970