blib/lib/Paws/SSMIncidents.pm untested

filter: Statementstmt 0.0% 0 / 220 Branchbran 0.0% 0 / 24 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 41 Podpod 0.0% 0 / 40 totaltotal 0.0% 0 / 325 CC 13 SCAR 16.9
CC
13
Cov
0%
GetAllResourcePolicies
12.0
ListAllIncidentRecords
12.0
ListAllRelatedItems
12.0
CRAP 5.4
1 package Paws::SSMIncidents;
2 use Moose;
3 sub service { 'ssm-incidents' }
4 sub signing_name { 'ssm-incidents' }
5 sub version { '2018-05-10' }
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 CreateReplicationSet {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::CreateReplicationSet', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub CreateResponsePlan {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::CreateResponsePlan', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub CreateTimelineEvent {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::CreateTimelineEvent', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub DeleteIncidentRecord {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::DeleteIncidentRecord', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub DeleteReplicationSet {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::DeleteReplicationSet', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DeleteResourcePolicy {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::DeleteResourcePolicy', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub DeleteResponsePlan {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::DeleteResponsePlan', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DeleteTimelineEvent {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::DeleteTimelineEvent', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub GetIncidentRecord {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::GetIncidentRecord', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub GetReplicationSet {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::GetReplicationSet', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub GetResourcePolicies {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::GetResourcePolicies', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub GetResponsePlan {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::GetResponsePlan', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub GetTimelineEvent {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::GetTimelineEvent', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub ListIncidentRecords {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::ListIncidentRecords', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub ListRelatedItems {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::ListRelatedItems', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub ListReplicationSets {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::ListReplicationSets', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub ListResponsePlans {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::ListResponsePlans', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub ListTagsForResource {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::ListTagsForResource', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub ListTimelineEvents {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::ListTimelineEvents', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub PutResourcePolicy {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::PutResourcePolicy', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub StartIncident {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::StartIncident', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub TagResource {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::TagResource', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub UntagResource {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::UntagResource', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub UpdateDeletionProtection {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::UpdateDeletionProtection', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub UpdateIncidentRecord {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::UpdateIncidentRecord', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub UpdateRelatedItems {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::UpdateRelatedItems', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub UpdateReplicationSet {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::UpdateReplicationSet', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub UpdateResponsePlan {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::UpdateResponsePlan', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub UpdateTimelineEvent {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::SSMIncidents::UpdateTimelineEvent', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162
163 sub GetAllResourcePolicies {
164 my $self = shift;
165  
166 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
167 my $result = $self->GetResourcePolicies(@_);
168 my $next_result = $result;
169  
170 if (not defined $callback) {
171 while ($next_result->nextToken) {
172 $next_result = $self->GetResourcePolicies(@_, nextToken => $next_result->nextToken);
173 push @{ $result->resourcePolicies }, @{ $next_result->resourcePolicies };
174 }
175 return $result;
176 } else {
177 while ($result->nextToken) {
178 $callback->($_ => 'resourcePolicies') foreach (@{ $result->resourcePolicies });
179 $result = $self->GetResourcePolicies(@_, nextToken => $result->nextToken);
180 }
181 $callback->($_ => 'resourcePolicies') foreach (@{ $result->resourcePolicies });
182 }
183  
184 return undef
185 }
186 sub ListAllIncidentRecords {
187 my $self = shift;
188  
189 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
190 my $result = $self->ListIncidentRecords(@_);
191 my $next_result = $result;
192  
193 if (not defined $callback) {
194 while ($next_result->nextToken) {
195 $next_result = $self->ListIncidentRecords(@_, nextToken => $next_result->nextToken);
196 push @{ $result->incidentRecordSummaries }, @{ $next_result->incidentRecordSummaries };
197 }
198 return $result;
199 } else {
200 while ($result->nextToken) {
201 $callback->($_ => 'incidentRecordSummaries') foreach (@{ $result->incidentRecordSummaries });
202 $result = $self->ListIncidentRecords(@_, nextToken => $result->nextToken);
203 }
204 $callback->($_ => 'incidentRecordSummaries') foreach (@{ $result->incidentRecordSummaries });
205 }
206  
207 return undef
208 }
209 sub ListAllRelatedItems {
210 my $self = shift;
211  
212 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
213 my $result = $self->ListRelatedItems(@_);
214 my $next_result = $result;
215  
216 if (not defined $callback) {
217 while ($next_result->nextToken) {
218 $next_result = $self->ListRelatedItems(@_, nextToken => $next_result->nextToken);
219 push @{ $result->relatedItems }, @{ $next_result->relatedItems };
220 }
221 return $result;
222 } else {
223 while ($result->nextToken) {
224 $callback->($_ => 'relatedItems') foreach (@{ $result->relatedItems });
225 $result = $self->ListRelatedItems(@_, nextToken => $result->nextToken);
226 }
227 $callback->($_ => 'relatedItems') foreach (@{ $result->relatedItems });
228 }
229  
230 return undef
231 }
232 sub ListAllReplicationSets {
233 my $self = shift;
234  
235 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
236 my $result = $self->ListReplicationSets(@_);
237 my $next_result = $result;
238  
239 if (not defined $callback) {
240 while ($next_result->nextToken) {
241 $next_result = $self->ListReplicationSets(@_, nextToken => $next_result->nextToken);
242 push @{ $result->replicationSetArns }, @{ $next_result->replicationSetArns };
243 }
244 return $result;
245 } else {
246 while ($result->nextToken) {
247 $callback->($_ => 'replicationSetArns') foreach (@{ $result->replicationSetArns });
248 $result = $self->ListReplicationSets(@_, nextToken => $result->nextToken);
249 }
250 $callback->($_ => 'replicationSetArns') foreach (@{ $result->replicationSetArns });
251 }
252  
253 return undef
254 }
255 sub ListAllResponsePlans {
256 my $self = shift;
257  
258 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
259 my $result = $self->ListResponsePlans(@_);
260 my $next_result = $result;
261  
262 if (not defined $callback) {
263 while ($next_result->nextToken) {
264 $next_result = $self->ListResponsePlans(@_, nextToken => $next_result->nextToken);
265 push @{ $result->responsePlanSummaries }, @{ $next_result->responsePlanSummaries };
266 }
267 return $result;
268 } else {
269 while ($result->nextToken) {
270 $callback->($_ => 'responsePlanSummaries') foreach (@{ $result->responsePlanSummaries });
271 $result = $self->ListResponsePlans(@_, nextToken => $result->nextToken);
272 }
273 $callback->($_ => 'responsePlanSummaries') foreach (@{ $result->responsePlanSummaries });
274 }
275  
276 return undef
277 }
278 sub ListAllTimelineEvents {
279 my $self = shift;
280  
281 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
282 my $result = $self->ListTimelineEvents(@_);
283 my $next_result = $result;
284  
285 if (not defined $callback) {
286 while ($next_result->nextToken) {
287 $next_result = $self->ListTimelineEvents(@_, nextToken => $next_result->nextToken);
288 push @{ $result->eventSummaries }, @{ $next_result->eventSummaries };
289 }
290 return $result;
291 } else {
292 while ($result->nextToken) {
293 $callback->($_ => 'eventSummaries') foreach (@{ $result->eventSummaries });
294 $result = $self->ListTimelineEvents(@_, nextToken => $result->nextToken);
295 }
296 $callback->($_ => 'eventSummaries') foreach (@{ $result->eventSummaries });
297 }
298  
299 return undef
300 }
301  
302  
303 sub operations { qw/CreateReplicationSet CreateResponsePlan CreateTimelineEvent DeleteIncidentRecord DeleteReplicationSet DeleteResourcePolicy DeleteResponsePlan DeleteTimelineEvent GetIncidentRecord GetReplicationSet GetResourcePolicies GetResponsePlan GetTimelineEvent ListIncidentRecords ListRelatedItems ListReplicationSets ListResponsePlans ListTagsForResource ListTimelineEvents PutResourcePolicy StartIncident TagResource UntagResource UpdateDeletionProtection UpdateIncidentRecord UpdateRelatedItems UpdateReplicationSet UpdateResponsePlan UpdateTimelineEvent / }
304  
305 1;
306  
307 ### main pod documentation begin ###
308  
309 =head1 NAME
310  
311 Paws::SSMIncidents - Perl Interface to AWS AWS Systems Manager Incident Manager
312  
313 =head1 SYNOPSIS
314  
315 use Paws;
316  
317 my $obj = Paws->service('SSMIncidents');
318 my $res = $obj->Method(
319 Arg1 => $val1,
320 Arg2 => [ 'V1', 'V2' ],
321 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
322 # of the arguments type
323 Arg3 => { Att1 => 'Val1' },
324 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
325 # the constructor of the arguments type
326 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
327 );
328  
329 =head1 DESCRIPTION
330  
331 AWS Systems Manager Incident Manager is an incident management console
332 designed to help users mitigate and recover from incidents affecting
333 their AWS-hosted applications. An incident is any unplanned
334 interruption or reduction in quality of services.
335  
336 Incident Manager increases incident resolution by notifying responders
337 of impact, highlighting relevant troubleshooting data, and providing
338 collaboration tools to get services back up and running. To achieve the
339 primary goal of reducing the time-to-resolution of critical incidents,
340 Incident Manager automates response plans and enables responder team
341 escalation.
342  
343 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10>
344  
345  
346 =head1 METHODS
347  
348 =head2 CreateReplicationSet
349  
350 =over
351  
352 =item Regions => L<Paws::SSMIncidents::RegionMapInput>
353  
354 =item [ClientToken => Str]
355  
356  
357 =back
358  
359 Each argument is described in detail in: L<Paws::SSMIncidents::CreateReplicationSet>
360  
361 Returns: a L<Paws::SSMIncidents::CreateReplicationSetOutput> instance
362  
363 A replication set replicates and encrypts your data to the provided
364 Regions with the provided KMS key.
365  
366  
367 =head2 CreateResponsePlan
368  
369 =over
370  
371 =item IncidentTemplate => L<Paws::SSMIncidents::IncidentTemplate>
372  
373 =item Name => Str
374  
375 =item [Actions => ArrayRef[L<Paws::SSMIncidents::Action>]]
376  
377 =item [ChatChannel => L<Paws::SSMIncidents::ChatChannel>]
378  
379 =item [ClientToken => Str]
380  
381 =item [DisplayName => Str]
382  
383 =item [Engagements => ArrayRef[Str|Undef]]
384  
385 =item [Tags => L<Paws::SSMIncidents::TagMap>]
386  
387  
388 =back
389  
390 Each argument is described in detail in: L<Paws::SSMIncidents::CreateResponsePlan>
391  
392 Returns: a L<Paws::SSMIncidents::CreateResponsePlanOutput> instance
393  
394 Creates a response plan that automates the initial response to
395 incidents. A response plan engages contacts, starts chat channel
396 collaboration, and initiates runbooks at the beginning of an incident.
397  
398  
399 =head2 CreateTimelineEvent
400  
401 =over
402  
403 =item ClientToken => Str
404  
405 =item EventData => Str
406  
407 =item EventTime => Str
408  
409 =item EventType => Str
410  
411 =item IncidentRecordArn => Str
412  
413  
414 =back
415  
416 Each argument is described in detail in: L<Paws::SSMIncidents::CreateTimelineEvent>
417  
418 Returns: a L<Paws::SSMIncidents::CreateTimelineEventOutput> instance
419  
420 Creates a custom timeline event on the incident details page of an
421 incident record. Timeline events are automatically created by Incident
422 Manager, marking key moment during an incident. You can create custom
423 timeline events to mark important events that are automatically
424 detected by Incident Manager.
425  
426  
427 =head2 DeleteIncidentRecord
428  
429 =over
430  
431 =item Arn => Str
432  
433  
434 =back
435  
436 Each argument is described in detail in: L<Paws::SSMIncidents::DeleteIncidentRecord>
437  
438 Returns: a L<Paws::SSMIncidents::DeleteIncidentRecordOutput> instance
439  
440 Delete an incident record from Incident Manager.
441  
442  
443 =head2 DeleteReplicationSet
444  
445 =over
446  
447 =item Arn => Str
448  
449  
450 =back
451  
452 Each argument is described in detail in: L<Paws::SSMIncidents::DeleteReplicationSet>
453  
454 Returns: a L<Paws::SSMIncidents::DeleteReplicationSetOutput> instance
455  
456 Deletes all Regions in your replication set. Deleting the replication
457 set deletes all Incident Manager data.
458  
459  
460 =head2 DeleteResourcePolicy
461  
462 =over
463  
464 =item PolicyId => Str
465  
466 =item ResourceArn => Str
467  
468  
469 =back
470  
471 Each argument is described in detail in: L<Paws::SSMIncidents::DeleteResourcePolicy>
472  
473 Returns: a L<Paws::SSMIncidents::DeleteResourcePolicyOutput> instance
474  
475 Deletes the resource policy that AWS Resource Access Manager uses to
476 share your Incident Manager resource.
477  
478  
479 =head2 DeleteResponsePlan
480  
481 =over
482  
483 =item Arn => Str
484  
485  
486 =back
487  
488 Each argument is described in detail in: L<Paws::SSMIncidents::DeleteResponsePlan>
489  
490 Returns: a L<Paws::SSMIncidents::DeleteResponsePlanOutput> instance
491  
492 Deletes the specified response plan. Deleting a response plan stops all
493 linked CloudWatch alarms and EventBridge events from creating an
494 incident with this response plan.
495  
496  
497 =head2 DeleteTimelineEvent
498  
499 =over
500  
501 =item EventId => Str
502  
503 =item IncidentRecordArn => Str
504  
505  
506 =back
507  
508 Each argument is described in detail in: L<Paws::SSMIncidents::DeleteTimelineEvent>
509  
510 Returns: a L<Paws::SSMIncidents::DeleteTimelineEventOutput> instance
511  
512 Deletes a timeline event from an incident.
513  
514  
515 =head2 GetIncidentRecord
516  
517 =over
518  
519 =item Arn => Str
520  
521  
522 =back
523  
524 Each argument is described in detail in: L<Paws::SSMIncidents::GetIncidentRecord>
525  
526 Returns: a L<Paws::SSMIncidents::GetIncidentRecordOutput> instance
527  
528 Returns the details of the specified incident record.
529  
530  
531 =head2 GetReplicationSet
532  
533 =over
534  
535 =item Arn => Str
536  
537  
538 =back
539  
540 Each argument is described in detail in: L<Paws::SSMIncidents::GetReplicationSet>
541  
542 Returns: a L<Paws::SSMIncidents::GetReplicationSetOutput> instance
543  
544 Retrieve your Incident Manager replication set.
545  
546  
547 =head2 GetResourcePolicies
548  
549 =over
550  
551 =item ResourceArn => Str
552  
553 =item [MaxResults => Int]
554  
555 =item [NextToken => Str]
556  
557  
558 =back
559  
560 Each argument is described in detail in: L<Paws::SSMIncidents::GetResourcePolicies>
561  
562 Returns: a L<Paws::SSMIncidents::GetResourcePoliciesOutput> instance
563  
564 Retrieves the resource policies attached to the specified response
565 plan.
566  
567  
568 =head2 GetResponsePlan
569  
570 =over
571  
572 =item Arn => Str
573  
574  
575 =back
576  
577 Each argument is described in detail in: L<Paws::SSMIncidents::GetResponsePlan>
578  
579 Returns: a L<Paws::SSMIncidents::GetResponsePlanOutput> instance
580  
581 Retrieves the details of the specified response plan.
582  
583  
584 =head2 GetTimelineEvent
585  
586 =over
587  
588 =item EventId => Str
589  
590 =item IncidentRecordArn => Str
591  
592  
593 =back
594  
595 Each argument is described in detail in: L<Paws::SSMIncidents::GetTimelineEvent>
596  
597 Returns: a L<Paws::SSMIncidents::GetTimelineEventOutput> instance
598  
599 Retrieves a timeline event based on its ID and incident record.
600  
601  
602 =head2 ListIncidentRecords
603  
604 =over
605  
606 =item [Filters => ArrayRef[L<Paws::SSMIncidents::Filter>]]
607  
608 =item [MaxResults => Int]
609  
610 =item [NextToken => Str]
611  
612  
613 =back
614  
615 Each argument is described in detail in: L<Paws::SSMIncidents::ListIncidentRecords>
616  
617 Returns: a L<Paws::SSMIncidents::ListIncidentRecordsOutput> instance
618  
619 Lists all incident records in your account. Use this command to
620 retrieve the Amazon Resource Name (ARN) of the incident record you want
621 to update.
622  
623  
624 =head2 ListRelatedItems
625  
626 =over
627  
628 =item IncidentRecordArn => Str
629  
630 =item [MaxResults => Int]
631  
632 =item [NextToken => Str]
633  
634  
635 =back
636  
637 Each argument is described in detail in: L<Paws::SSMIncidents::ListRelatedItems>
638  
639 Returns: a L<Paws::SSMIncidents::ListRelatedItemsOutput> instance
640  
641 List all related items for an incident record.
642  
643  
644 =head2 ListReplicationSets
645  
646 =over
647  
648 =item [MaxResults => Int]
649  
650 =item [NextToken => Str]
651  
652  
653 =back
654  
655 Each argument is described in detail in: L<Paws::SSMIncidents::ListReplicationSets>
656  
657 Returns: a L<Paws::SSMIncidents::ListReplicationSetsOutput> instance
658  
659 Lists details about the replication set configured in your account.
660  
661  
662 =head2 ListResponsePlans
663  
664 =over
665  
666 =item [MaxResults => Int]
667  
668 =item [NextToken => Str]
669  
670  
671 =back
672  
673 Each argument is described in detail in: L<Paws::SSMIncidents::ListResponsePlans>
674  
675 Returns: a L<Paws::SSMIncidents::ListResponsePlansOutput> instance
676  
677 Lists all response plans in your account.
678  
679  
680 =head2 ListTagsForResource
681  
682 =over
683  
684 =item ResourceArn => Str
685  
686  
687 =back
688  
689 Each argument is described in detail in: L<Paws::SSMIncidents::ListTagsForResource>
690  
691 Returns: a L<Paws::SSMIncidents::ListTagsForResourceResponse> instance
692  
693 Lists the tags that are attached to the specified response plan.
694  
695  
696 =head2 ListTimelineEvents
697  
698 =over
699  
700 =item IncidentRecordArn => Str
701  
702 =item [Filters => ArrayRef[L<Paws::SSMIncidents::Filter>]]
703  
704 =item [MaxResults => Int]
705  
706 =item [NextToken => Str]
707  
708 =item [SortBy => Str]
709  
710 =item [SortOrder => Str]
711  
712  
713 =back
714  
715 Each argument is described in detail in: L<Paws::SSMIncidents::ListTimelineEvents>
716  
717 Returns: a L<Paws::SSMIncidents::ListTimelineEventsOutput> instance
718  
719 Lists timeline events of the specified incident record.
720  
721  
722 =head2 PutResourcePolicy
723  
724 =over
725  
726 =item Policy => Str
727  
728 =item ResourceArn => Str
729  
730  
731 =back
732  
733 Each argument is described in detail in: L<Paws::SSMIncidents::PutResourcePolicy>
734  
735 Returns: a L<Paws::SSMIncidents::PutResourcePolicyOutput> instance
736  
737 Adds a resource policy to the specified response plan.
738  
739  
740 =head2 StartIncident
741  
742 =over
743  
744 =item ResponsePlanArn => Str
745  
746 =item [ClientToken => Str]
747  
748 =item [Impact => Int]
749  
750 =item [RelatedItems => ArrayRef[L<Paws::SSMIncidents::RelatedItem>]]
751  
752 =item [Title => Str]
753  
754 =item [TriggerDetails => L<Paws::SSMIncidents::TriggerDetails>]
755  
756  
757 =back
758  
759 Each argument is described in detail in: L<Paws::SSMIncidents::StartIncident>
760  
761 Returns: a L<Paws::SSMIncidents::StartIncidentOutput> instance
762  
763 Used to start an incident from CloudWatch alarms, EventBridge events,
764 or manually.
765  
766  
767 =head2 TagResource
768  
769 =over
770  
771 =item ResourceArn => Str
772  
773 =item Tags => L<Paws::SSMIncidents::TagMap>
774  
775  
776 =back
777  
778 Each argument is described in detail in: L<Paws::SSMIncidents::TagResource>
779  
780 Returns: a L<Paws::SSMIncidents::TagResourceResponse> instance
781  
782 Adds a tag to a response plan.
783  
784  
785 =head2 UntagResource
786  
787 =over
788  
789 =item ResourceArn => Str
790  
791 =item TagKeys => ArrayRef[Str|Undef]
792  
793  
794 =back
795  
796 Each argument is described in detail in: L<Paws::SSMIncidents::UntagResource>
797  
798 Returns: a L<Paws::SSMIncidents::UntagResourceResponse> instance
799  
800 Removes a tag from a resource.
801  
802  
803 =head2 UpdateDeletionProtection
804  
805 =over
806  
807 =item Arn => Str
808  
809 =item DeletionProtected => Bool
810  
811 =item [ClientToken => Str]
812  
813  
814 =back
815  
816 Each argument is described in detail in: L<Paws::SSMIncidents::UpdateDeletionProtection>
817  
818 Returns: a L<Paws::SSMIncidents::UpdateDeletionProtectionOutput> instance
819  
820 Update deletion protection to either allow or deny deletion of the
821 final Region in a replication set.
822  
823  
824 =head2 UpdateIncidentRecord
825  
826 =over
827  
828 =item Arn => Str
829  
830 =item [ChatChannel => L<Paws::SSMIncidents::ChatChannel>]
831  
832 =item [ClientToken => Str]
833  
834 =item [Impact => Int]
835  
836 =item [NotificationTargets => ArrayRef[L<Paws::SSMIncidents::NotificationTargetItem>]]
837  
838 =item [Status => Str]
839  
840 =item [Summary => Str]
841  
842 =item [Title => Str]
843  
844  
845 =back
846  
847 Each argument is described in detail in: L<Paws::SSMIncidents::UpdateIncidentRecord>
848  
849 Returns: a L<Paws::SSMIncidents::UpdateIncidentRecordOutput> instance
850  
851 Update the details of an incident record. You can use this action to
852 update an incident record from the defined chat channel. For more
853 information about using actions in chat channels, see Interacting
854 through chat
855 (https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact).
856  
857  
858 =head2 UpdateRelatedItems
859  
860 =over
861  
862 =item IncidentRecordArn => Str
863  
864 =item RelatedItemsUpdate => L<Paws::SSMIncidents::RelatedItemsUpdate>
865  
866 =item [ClientToken => Str]
867  
868  
869 =back
870  
871 Each argument is described in detail in: L<Paws::SSMIncidents::UpdateRelatedItems>
872  
873 Returns: a L<Paws::SSMIncidents::UpdateRelatedItemsOutput> instance
874  
875 Add or remove related items from the related items tab of an incident
876 record.
877  
878  
879 =head2 UpdateReplicationSet
880  
881 =over
882  
883 =item Actions => ArrayRef[L<Paws::SSMIncidents::UpdateReplicationSetAction>]
884  
885 =item Arn => Str
886  
887 =item [ClientToken => Str]
888  
889  
890 =back
891  
892 Each argument is described in detail in: L<Paws::SSMIncidents::UpdateReplicationSet>
893  
894 Returns: a L<Paws::SSMIncidents::UpdateReplicationSetOutput> instance
895  
896 Add or delete Regions from your replication set.
897  
898  
899 =head2 UpdateResponsePlan
900  
901 =over
902  
903 =item Arn => Str
904  
905 =item [Actions => ArrayRef[L<Paws::SSMIncidents::Action>]]
906  
907 =item [ChatChannel => L<Paws::SSMIncidents::ChatChannel>]
908  
909 =item [ClientToken => Str]
910  
911 =item [DisplayName => Str]
912  
913 =item [Engagements => ArrayRef[Str|Undef]]
914  
915 =item [IncidentTemplateDedupeString => Str]
916  
917 =item [IncidentTemplateImpact => Int]
918  
919 =item [IncidentTemplateNotificationTargets => ArrayRef[L<Paws::SSMIncidents::NotificationTargetItem>]]
920  
921 =item [IncidentTemplateSummary => Str]
922  
923 =item [IncidentTemplateTitle => Str]
924  
925  
926 =back
927  
928 Each argument is described in detail in: L<Paws::SSMIncidents::UpdateResponsePlan>
929  
930 Returns: a L<Paws::SSMIncidents::UpdateResponsePlanOutput> instance
931  
932 Updates the specified response plan.
933  
934  
935 =head2 UpdateTimelineEvent
936  
937 =over
938  
939 =item ClientToken => Str
940  
941 =item EventId => Str
942  
943 =item IncidentRecordArn => Str
944  
945 =item [EventData => Str]
946  
947 =item [EventTime => Str]
948  
949 =item [EventType => Str]
950  
951  
952 =back
953  
954 Each argument is described in detail in: L<Paws::SSMIncidents::UpdateTimelineEvent>
955  
956 Returns: a L<Paws::SSMIncidents::UpdateTimelineEventOutput> instance
957  
958 Updates a timeline event. You can update events of type C<Custom
959 Event>.
960  
961  
962  
963  
964 =head1 PAGINATORS
965  
966 Paginator methods are helpers that repetively call methods that return partial results
967  
968 =head2 GetAllResourcePolicies(sub { },ResourceArn => Str, [MaxResults => Int, NextToken => Str])
969  
970 =head2 GetAllResourcePolicies(ResourceArn => Str, [MaxResults => Int, NextToken => Str])
971  
972  
973 If passed a sub as first parameter, it will call the sub for each element found in :
974  
975 - resourcePolicies, passing the object as the first parameter, and the string 'resourcePolicies' as the second parameter
976  
977 If not, it will return a a L<Paws::SSMIncidents::GetResourcePoliciesOutput> 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.
978  
979  
980 =head2 ListAllIncidentRecords(sub { },[Filters => ArrayRef[L<Paws::SSMIncidents::Filter>], MaxResults => Int, NextToken => Str])
981  
982 =head2 ListAllIncidentRecords([Filters => ArrayRef[L<Paws::SSMIncidents::Filter>], MaxResults => Int, NextToken => Str])
983  
984  
985 If passed a sub as first parameter, it will call the sub for each element found in :
986  
987 - incidentRecordSummaries, passing the object as the first parameter, and the string 'incidentRecordSummaries' as the second parameter
988  
989 If not, it will return a a L<Paws::SSMIncidents::ListIncidentRecordsOutput> 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.
990  
991  
992 =head2 ListAllRelatedItems(sub { },IncidentRecordArn => Str, [MaxResults => Int, NextToken => Str])
993  
994 =head2 ListAllRelatedItems(IncidentRecordArn => Str, [MaxResults => Int, NextToken => Str])
995  
996  
997 If passed a sub as first parameter, it will call the sub for each element found in :
998  
999 - relatedItems, passing the object as the first parameter, and the string 'relatedItems' as the second parameter
1000  
1001 If not, it will return a a L<Paws::SSMIncidents::ListRelatedItemsOutput> 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.
1002  
1003  
1004 =head2 ListAllReplicationSets(sub { },[MaxResults => Int, NextToken => Str])
1005  
1006 =head2 ListAllReplicationSets([MaxResults => Int, NextToken => Str])
1007  
1008  
1009 If passed a sub as first parameter, it will call the sub for each element found in :
1010  
1011 - replicationSetArns, passing the object as the first parameter, and the string 'replicationSetArns' as the second parameter
1012  
1013 If not, it will return a a L<Paws::SSMIncidents::ListReplicationSetsOutput> 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.
1014  
1015  
1016 =head2 ListAllResponsePlans(sub { },[MaxResults => Int, NextToken => Str])
1017  
1018 =head2 ListAllResponsePlans([MaxResults => Int, NextToken => Str])
1019  
1020  
1021 If passed a sub as first parameter, it will call the sub for each element found in :
1022  
1023 - responsePlanSummaries, passing the object as the first parameter, and the string 'responsePlanSummaries' as the second parameter
1024  
1025 If not, it will return a a L<Paws::SSMIncidents::ListResponsePlansOutput> 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.
1026  
1027  
1028 =head2 ListAllTimelineEvents(sub { },IncidentRecordArn => Str, [Filters => ArrayRef[L<Paws::SSMIncidents::Filter>], MaxResults => Int, NextToken => Str, SortBy => Str, SortOrder => Str])
1029  
1030 =head2 ListAllTimelineEvents(IncidentRecordArn => Str, [Filters => ArrayRef[L<Paws::SSMIncidents::Filter>], MaxResults => Int, NextToken => Str, SortBy => Str, SortOrder => Str])
1031  
1032  
1033 If passed a sub as first parameter, it will call the sub for each element found in :
1034  
1035 - eventSummaries, passing the object as the first parameter, and the string 'eventSummaries' as the second parameter
1036  
1037 If not, it will return a a L<Paws::SSMIncidents::ListTimelineEventsOutput> 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.
1038  
1039  
1040  
1041  
1042  
1043 =head1 SEE ALSO
1044  
1045 This service class forms part of L<Paws>
1046  
1047 =head1 BUGS and CONTRIBUTIONS
1048  
1049 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1050  
1051 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1052  
1053 =cut
1054