blib/lib/Paws/Batch/JobSummary.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Batch::JobSummary;
3 use Moose;
4 has ArrayProperties => (is => 'ro', isa => 'Paws::Batch::ArrayPropertiesSummary', request_name => 'arrayProperties', traits => ['NameInRequest']);
5 has Container => (is => 'ro', isa => 'Paws::Batch::ContainerSummary', request_name => 'container', traits => ['NameInRequest']);
6 has CreatedAt => (is => 'ro', isa => 'Int', request_name => 'createdAt', traits => ['NameInRequest']);
7 has JobArn => (is => 'ro', isa => 'Str', request_name => 'jobArn', traits => ['NameInRequest']);
8 has JobId => (is => 'ro', isa => 'Str', request_name => 'jobId', traits => ['NameInRequest'], required => 1);
9 has JobName => (is => 'ro', isa => 'Str', request_name => 'jobName', traits => ['NameInRequest'], required => 1);
10 has NodeProperties => (is => 'ro', isa => 'Paws::Batch::NodePropertiesSummary', request_name => 'nodeProperties', traits => ['NameInRequest']);
11 has StartedAt => (is => 'ro', isa => 'Int', request_name => 'startedAt', traits => ['NameInRequest']);
12 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
13 has StatusReason => (is => 'ro', isa => 'Str', request_name => 'statusReason', traits => ['NameInRequest']);
14 has StoppedAt => (is => 'ro', isa => 'Int', request_name => 'stoppedAt', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Batch::JobSummary
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::Batch::JobSummary object:
34  
35 $service_obj->Method(Att1 => { ArrayProperties => $value, ..., StoppedAt => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::JobSummary object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->ArrayProperties
43  
44 =head1 DESCRIPTION
45  
46 An object representing summary details of a job.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ArrayProperties => L<Paws::Batch::ArrayPropertiesSummary>
52  
53 The array properties of the job, if it is an array job.
54  
55  
56 =head2 Container => L<Paws::Batch::ContainerSummary>
57  
58 An object representing the details of the container that's associated
59 with the job.
60  
61  
62 =head2 CreatedAt => Int
63  
64 The Unix timestamp for when the job was created. For non-array jobs and
65 parent array jobs, this is when the job entered the C<SUBMITTED> state
66 (at the time SubmitJob was called). For array child jobs, this is when
67 the child job was spawned by its parent and entered the C<PENDING>
68 state.
69  
70  
71 =head2 JobArn => Str
72  
73 The Amazon Resource Name (ARN) of the job.
74  
75  
76 =head2 B<REQUIRED> JobId => Str
77  
78 The ID of the job.
79  
80  
81 =head2 B<REQUIRED> JobName => Str
82  
83 The name of the job.
84  
85  
86 =head2 NodeProperties => L<Paws::Batch::NodePropertiesSummary>
87  
88 The node properties for a single node in a job summary list.
89  
90 This isn't applicable to jobs running on Fargate resources.
91  
92  
93 =head2 StartedAt => Int
94  
95 The Unix timestamp for when the job was started (when the job
96 transitioned from the C<STARTING> state to the C<RUNNING> state).
97  
98  
99 =head2 Status => Str
100  
101 The current status for the job.
102  
103  
104 =head2 StatusReason => Str
105  
106 A short, human-readable string to provide additional details about the
107 current status of the job.
108  
109  
110 =head2 StoppedAt => Int
111  
112 The Unix timestamp for when the job was stopped (when the job
113 transitioned from the C<RUNNING> state to a terminal state, such as
114 C<SUCCEEDED> or C<FAILED>).
115  
116  
117  
118 =head1 SEE ALSO
119  
120 This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
121  
122 =head1 BUGS and CONTRIBUTIONS
123  
124 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
125  
126 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
127  
128 =cut
129