blib/lib/Paws/SSMIncidents/IncidentRecord.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SSMIncidents::IncidentRecord;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1);
5 has AutomationExecutions => (is => 'ro', isa => 'ArrayRef[Paws::SSMIncidents::AutomationExecution]', request_name => 'automationExecutions', traits => ['NameInRequest']);
6 has ChatChannel => (is => 'ro', isa => 'Paws::SSMIncidents::ChatChannel', request_name => 'chatChannel', traits => ['NameInRequest']);
7 has CreationTime => (is => 'ro', isa => 'Str', request_name => 'creationTime', traits => ['NameInRequest'], required => 1);
8 has DedupeString => (is => 'ro', isa => 'Str', request_name => 'dedupeString', traits => ['NameInRequest'], required => 1);
9 has Impact => (is => 'ro', isa => 'Int', request_name => 'impact', traits => ['NameInRequest'], required => 1);
10 has IncidentRecordSource => (is => 'ro', isa => 'Paws::SSMIncidents::IncidentRecordSource', request_name => 'incidentRecordSource', traits => ['NameInRequest'], required => 1);
11 has LastModifiedBy => (is => 'ro', isa => 'Str', request_name => 'lastModifiedBy', traits => ['NameInRequest'], required => 1);
12 has LastModifiedTime => (is => 'ro', isa => 'Str', request_name => 'lastModifiedTime', traits => ['NameInRequest'], required => 1);
13 has NotificationTargets => (is => 'ro', isa => 'ArrayRef[Paws::SSMIncidents::NotificationTargetItem]', request_name => 'notificationTargets', traits => ['NameInRequest']);
14 has ResolvedTime => (is => 'ro', isa => 'Str', request_name => 'resolvedTime', traits => ['NameInRequest']);
15 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1);
16 has Summary => (is => 'ro', isa => 'Str', request_name => 'summary', traits => ['NameInRequest']);
17 has Title => (is => 'ro', isa => 'Str', request_name => 'title', traits => ['NameInRequest'], required => 1);
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::SSMIncidents::IncidentRecord
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::SSMIncidents::IncidentRecord object:
37  
38 $service_obj->Method(Att1 => { Arn => $value, ..., Title => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::SSMIncidents::IncidentRecord object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->Arn
46  
47 =head1 DESCRIPTION
48  
49 The record of the incident that's created when an incident occurs.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> Arn => Str
55  
56 The Amazon Resource Name (ARN) of the incident record.
57  
58  
59 =head2 AutomationExecutions => ArrayRef[L<Paws::SSMIncidents::AutomationExecution>]
60  
61 The runbook, or automation document, that's run at the beginning of the
62 incident.
63  
64  
65 =head2 ChatChannel => L<Paws::SSMIncidents::ChatChannel>
66  
67 The chat channel used for collaboration during an incident.
68  
69  
70 =head2 B<REQUIRED> CreationTime => Str
71  
72 The time that Incident Manager created the incident record.
73  
74  
75 =head2 B<REQUIRED> DedupeString => Str
76  
77 The string Incident Manager uses to prevent duplicate incidents from
78 being created by the same incident.
79  
80  
81 =head2 B<REQUIRED> Impact => Int
82  
83 The impact of the incident on customers and applications.
84  
85  
86 =head2 B<REQUIRED> IncidentRecordSource => L<Paws::SSMIncidents::IncidentRecordSource>
87  
88 Details about the action that started the incident.
89  
90  
91 =head2 B<REQUIRED> LastModifiedBy => Str
92  
93 Who modified the incident most recently.
94  
95  
96 =head2 B<REQUIRED> LastModifiedTime => Str
97  
98 The time at which the incident was most recently modified.
99  
100  
101 =head2 NotificationTargets => ArrayRef[L<Paws::SSMIncidents::NotificationTargetItem>]
102  
103 The SNS targets that AWS Chatbot uses to notify the chat channels and
104 perform actions on the incident record.
105  
106  
107 =head2 ResolvedTime => Str
108  
109 The time at which the incident was resolved. This appears as a timeline
110 event.
111  
112  
113 =head2 B<REQUIRED> Status => Str
114  
115 The current status of the incident.
116  
117  
118 =head2 Summary => Str
119  
120 The summary of the incident. The summary is a brief synopsis of what
121 occurred, what is currently happening, and context.
122  
123  
124 =head2 B<REQUIRED> Title => Str
125  
126 The title of the incident.
127  
128  
129  
130 =head1 SEE ALSO
131  
132 This class forms part of L<Paws>, describing an object used in L<Paws::SSMIncidents>
133  
134 =head1 BUGS and CONTRIBUTIONS
135  
136 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
137  
138 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
139  
140 =cut
141