line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Batch::SubmitJob; |
3
|
1
|
|
|
1
|
|
332
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
4
|
|
|
|
|
|
|
has ContainerOverrides => (is => 'ro', isa => 'Paws::Batch::ContainerOverrides'); |
5
|
|
|
|
|
|
|
has DependsOn => (is => 'ro', isa => 'ArrayRef[Paws::Batch::JobDependency]'); |
6
|
|
|
|
|
|
|
has JobDefinition => (is => 'ro', isa => 'Str', required => 1); |
7
|
|
|
|
|
|
|
has JobName => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
has JobQueue => (is => 'ro', isa => 'Str', required => 1); |
9
|
|
|
|
|
|
|
has Parameters => (is => 'ro', isa => 'Paws::Batch::ParametersMap'); |
10
|
|
|
|
|
|
|
has RetryStrategy => (is => 'ro', isa => 'Paws::Batch::RetryStrategy'); |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
5439
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'SubmitJob'); |
15
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/submitjob'); |
16
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); |
17
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Batch::SubmitJobResponse'); |
18
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
### main pod documentation begin ### |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Paws::Batch::SubmitJob - Arguments for method SubmitJob on Paws::Batch |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 DESCRIPTION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
This class represents the parameters used for calling the method SubmitJob on the |
30
|
|
|
|
|
|
|
AWS Batch service. Use the attributes of this class |
31
|
|
|
|
|
|
|
as arguments to method SubmitJob. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SubmitJob. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
As an example: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$service_obj->SubmitJob(Att1 => $value1, Att2 => $value2, ...); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 ContainerOverrides => L<Paws::Batch::ContainerOverrides> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
A list of container overrides in JSON format that specify the name of a |
47
|
|
|
|
|
|
|
container in the specified job definition and the overrides it should |
48
|
|
|
|
|
|
|
receive. You can override the default command for a container (that is |
49
|
|
|
|
|
|
|
specified in the job definition or the Docker image) with a C<command> |
50
|
|
|
|
|
|
|
override. You can also override existing environment variables (that |
51
|
|
|
|
|
|
|
are specified in the job definition or Docker image) on a container or |
52
|
|
|
|
|
|
|
add new environment variables to it with an C<environment> override. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 DependsOn => ArrayRef[L<Paws::Batch::JobDependency>] |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
A list of job IDs on which this job depends. A job can depend upon a |
59
|
|
|
|
|
|
|
maximum of 20 jobs. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 B<REQUIRED> JobDefinition => Str |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
The job definition used by this job. This value can be either a |
66
|
|
|
|
|
|
|
C<name:revision> or the Amazon Resource Name (ARN) for the job |
67
|
|
|
|
|
|
|
definition. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 B<REQUIRED> JobName => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The name of the job. The first character must be alphanumeric, and up |
74
|
|
|
|
|
|
|
to 128 letters (uppercase and lowercase), numbers, hyphens, and |
75
|
|
|
|
|
|
|
underscores are allowed. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 B<REQUIRED> JobQueue => Str |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The job queue into which the job will be submitted. You can specify |
82
|
|
|
|
|
|
|
either the name or the Amazon Resource Name (ARN) of the queue. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 Parameters => L<Paws::Batch::ParametersMap> |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Additional parameters passed to the job that replace parameter |
89
|
|
|
|
|
|
|
substitution placeholders that are set in the job definition. |
90
|
|
|
|
|
|
|
Parameters are specified as a key and value pair mapping. Parameters in |
91
|
|
|
|
|
|
|
a C<SubmitJob> request override any corresponding parameter defaults |
92
|
|
|
|
|
|
|
from the job definition. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head2 RetryStrategy => L<Paws::Batch::RetryStrategy> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
The retry strategy to use for failed jobs from this SubmitJob |
99
|
|
|
|
|
|
|
operation. When a retry strategy is specified here, it overrides the |
100
|
|
|
|
|
|
|
retry strategy defined in the job definition. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head1 SEE ALSO |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method SubmitJob in L<Paws::Batch> |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=cut |
116
|
|
|
|
|
|
|
|