File Coverage

blib/lib/Paws/Batch/JobDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Batch::JobDetail;
2 1     1   685 use Moose;
  1         3  
  1         11  
3             has Attempts => (is => 'ro', isa => 'ArrayRef[Paws::Batch::AttemptDetail]', request_name => 'attempts', traits => ['NameInRequest']);
4             has Container => (is => 'ro', isa => 'Paws::Batch::ContainerDetail', request_name => 'container', traits => ['NameInRequest']);
5             has CreatedAt => (is => 'ro', isa => 'Int', request_name => 'createdAt', traits => ['NameInRequest']);
6             has DependsOn => (is => 'ro', isa => 'ArrayRef[Paws::Batch::JobDependency]', request_name => 'dependsOn', traits => ['NameInRequest']);
7             has JobDefinition => (is => 'ro', isa => 'Str', request_name => 'jobDefinition', traits => ['NameInRequest'], required => 1);
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 JobQueue => (is => 'ro', isa => 'Str', request_name => 'jobQueue', traits => ['NameInRequest'], required => 1);
11             has Parameters => (is => 'ro', isa => 'Paws::Batch::ParametersMap', request_name => 'parameters', traits => ['NameInRequest']);
12             has RetryStrategy => (is => 'ro', isa => 'Paws::Batch::RetryStrategy', request_name => 'retryStrategy', traits => ['NameInRequest']);
13             has StartedAt => (is => 'ro', isa => 'Int', request_name => 'startedAt', traits => ['NameInRequest'], required => 1);
14             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1);
15             has StatusReason => (is => 'ro', isa => 'Str', request_name => 'statusReason', traits => ['NameInRequest']);
16             has StoppedAt => (is => 'ro', isa => 'Int', request_name => 'stoppedAt', traits => ['NameInRequest']);
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Batch::JobDetail
24              
25             =head1 USAGE
26              
27             This class represents one of two things:
28              
29             =head3 Arguments in a call to a service
30              
31             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32             Each attribute should be used as a named argument in the calls that expect this type of object.
33              
34             As an example, if Att1 is expected to be a Paws::Batch::JobDetail object:
35              
36             $service_obj->Method(Att1 => { Attempts => $value, ..., StoppedAt => $value });
37              
38             =head3 Results returned from an API call
39              
40             Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::JobDetail object:
41              
42             $result = $service_obj->Method(...);
43             $result->Att1->Attempts
44              
45             =head1 DESCRIPTION
46              
47             An object representing an AWS Batch job.
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 Attempts => ArrayRef[L<Paws::Batch::AttemptDetail>]
53              
54             A list of job attempts associated with this job.
55              
56              
57             =head2 Container => L<Paws::Batch::ContainerDetail>
58              
59             An object representing the details of the container that is associated
60             with the job.
61              
62              
63             =head2 CreatedAt => Int
64              
65             The Unix timestamp for when the job was created (when the task entered
66             the C<PENDING> state).
67              
68              
69             =head2 DependsOn => ArrayRef[L<Paws::Batch::JobDependency>]
70              
71             A list of job names or IDs on which this job depends.
72              
73              
74             =head2 B<REQUIRED> JobDefinition => Str
75              
76             The job definition that is used by this job.
77              
78              
79             =head2 B<REQUIRED> JobId => Str
80              
81             The ID for the job.
82              
83              
84             =head2 B<REQUIRED> JobName => Str
85              
86             The name of the job.
87              
88              
89             =head2 B<REQUIRED> JobQueue => Str
90              
91             The Amazon Resource Name (ARN) of the job queue with which the job is
92             associated.
93              
94              
95             =head2 Parameters => L<Paws::Batch::ParametersMap>
96              
97             Additional parameters passed to the job that replace parameter
98             substitution placeholders or override any corresponding parameter
99             defaults from the job definition.
100              
101              
102             =head2 RetryStrategy => L<Paws::Batch::RetryStrategy>
103              
104             The retry strategy to use for this job if an attempt fails.
105              
106              
107             =head2 B<REQUIRED> StartedAt => Int
108              
109             The Unix timestamp for when the job was started (when the task
110             transitioned from the C<PENDING> state to the C<RUNNING> state).
111              
112              
113             =head2 B<REQUIRED> Status => Str
114              
115             The current status for the job.
116              
117              
118             =head2 StatusReason => Str
119              
120             A short, human-readable string to provide additional details about the
121             current status of the job.
122              
123              
124             =head2 StoppedAt => Int
125              
126             The Unix timestamp for when the job was stopped (when the task
127             transitioned from the C<RUNNING> state to the C<STOPPED> state).
128              
129              
130              
131             =head1 SEE ALSO
132              
133             This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
134              
135             =head1 BUGS and CONTRIBUTIONS
136              
137             The source code is located here: https://github.com/pplu/aws-sdk-perl
138              
139             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
140              
141             =cut
142