line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Batch; |
2
|
1
|
|
|
1
|
|
1227
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
3
|
|
|
|
|
|
|
sub service { 'batch' } |
4
|
|
|
|
|
|
|
sub version { '2016-08-10' } |
5
|
|
|
|
|
|
|
sub flattened_arrays { 0 } |
6
|
|
|
|
|
|
|
has max_attempts => (is => 'ro', isa => 'Int', default => 5); |
7
|
|
|
|
|
|
|
has retry => (is => 'ro', isa => 'HashRef', default => sub { |
8
|
|
|
|
|
|
|
{ base => 'rand', type => 'exponential', growth_factor => 2 } |
9
|
|
|
|
|
|
|
}); |
10
|
|
|
|
|
|
|
has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ |
11
|
|
|
|
|
|
|
] }); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller', 'Paws::Net::RestJsonResponse'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub CancelJob { |
17
|
|
|
|
|
|
|
my $self = shift; |
18
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::CancelJob', @_); |
19
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
sub CreateComputeEnvironment { |
22
|
|
|
|
|
|
|
my $self = shift; |
23
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::CreateComputeEnvironment', @_); |
24
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
sub CreateJobQueue { |
27
|
|
|
|
|
|
|
my $self = shift; |
28
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::CreateJobQueue', @_); |
29
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
sub DeleteComputeEnvironment { |
32
|
|
|
|
|
|
|
my $self = shift; |
33
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::DeleteComputeEnvironment', @_); |
34
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
sub DeleteJobQueue { |
37
|
|
|
|
|
|
|
my $self = shift; |
38
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::DeleteJobQueue', @_); |
39
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
sub DeregisterJobDefinition { |
42
|
|
|
|
|
|
|
my $self = shift; |
43
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::DeregisterJobDefinition', @_); |
44
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
sub DescribeComputeEnvironments { |
47
|
|
|
|
|
|
|
my $self = shift; |
48
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::DescribeComputeEnvironments', @_); |
49
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub DescribeJobDefinitions { |
52
|
|
|
|
|
|
|
my $self = shift; |
53
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::DescribeJobDefinitions', @_); |
54
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
sub DescribeJobQueues { |
57
|
|
|
|
|
|
|
my $self = shift; |
58
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::DescribeJobQueues', @_); |
59
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
60
|
|
|
|
|
|
|
} |
61
|
|
|
|
|
|
|
sub DescribeJobs { |
62
|
|
|
|
|
|
|
my $self = shift; |
63
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::DescribeJobs', @_); |
64
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
sub ListJobs { |
67
|
|
|
|
|
|
|
my $self = shift; |
68
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::ListJobs', @_); |
69
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
sub RegisterJobDefinition { |
72
|
|
|
|
|
|
|
my $self = shift; |
73
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::RegisterJobDefinition', @_); |
74
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
sub SubmitJob { |
77
|
|
|
|
|
|
|
my $self = shift; |
78
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::SubmitJob', @_); |
79
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
80
|
|
|
|
|
|
|
} |
81
|
|
|
|
|
|
|
sub TerminateJob { |
82
|
|
|
|
|
|
|
my $self = shift; |
83
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::TerminateJob', @_); |
84
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
sub UpdateComputeEnvironment { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::UpdateComputeEnvironment', @_); |
89
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
sub UpdateJobQueue { |
92
|
|
|
|
|
|
|
my $self = shift; |
93
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Batch::UpdateJobQueue', @_); |
94
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
95
|
|
|
|
|
|
|
} |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub operations { qw/CancelJob CreateComputeEnvironment CreateJobQueue DeleteComputeEnvironment DeleteJobQueue DeregisterJobDefinition DescribeComputeEnvironments DescribeJobDefinitions DescribeJobQueues DescribeJobs ListJobs RegisterJobDefinition SubmitJob TerminateJob UpdateComputeEnvironment UpdateJobQueue / } |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
1; |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
### main pod documentation begin ### |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head1 NAME |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Paws::Batch - Perl Interface to AWS AWS Batch |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head1 SYNOPSIS |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
use Paws; |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
my $obj = Paws->service('Batch'); |
114
|
|
|
|
|
|
|
my $res = $obj->Method( |
115
|
|
|
|
|
|
|
Arg1 => $val1, |
116
|
|
|
|
|
|
|
Arg2 => [ 'V1', 'V2' ], |
117
|
|
|
|
|
|
|
# if Arg3 is an object, the HashRef will be used as arguments to the constructor |
118
|
|
|
|
|
|
|
# of the arguments type |
119
|
|
|
|
|
|
|
Arg3 => { Att1 => 'Val1' }, |
120
|
|
|
|
|
|
|
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to |
121
|
|
|
|
|
|
|
# the constructor of the arguments type |
122
|
|
|
|
|
|
|
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], |
123
|
|
|
|
|
|
|
); |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head1 DESCRIPTION |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
AWS Batch enables you to run batch computing workloads on the AWS |
128
|
|
|
|
|
|
|
Cloud. Batch computing is a common way for developers, scientists, and |
129
|
|
|
|
|
|
|
engineers to access large amounts of compute resources, and AWS Batch |
130
|
|
|
|
|
|
|
removes the undifferentiated heavy lifting of configuring and managing |
131
|
|
|
|
|
|
|
the required infrastructure. AWS Batch will be familiar to users of |
132
|
|
|
|
|
|
|
traditional batch computing software. This service can efficiently |
133
|
|
|
|
|
|
|
provision resources in response to jobs submitted in order to eliminate |
134
|
|
|
|
|
|
|
capacity constraints, reduce compute costs, and deliver results |
135
|
|
|
|
|
|
|
quickly. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
As a fully managed service, AWS Batch enables developers, scientists, |
138
|
|
|
|
|
|
|
and engineers to run batch computing workloads of any scale. AWS Batch |
139
|
|
|
|
|
|
|
automatically provisions compute resources and optimizes the workload |
140
|
|
|
|
|
|
|
distribution based on the quantity and scale of the workloads. With AWS |
141
|
|
|
|
|
|
|
Batch, there is no need to install or manage batch computing software, |
142
|
|
|
|
|
|
|
which allows you to focus on analyzing results and solving problems. |
143
|
|
|
|
|
|
|
AWS Batch reduces operational complexities, saves time, and reduces |
144
|
|
|
|
|
|
|
costs, which makes it easy for developers, scientists, and engineers to |
145
|
|
|
|
|
|
|
run their batch jobs in the AWS Cloud. |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head1 METHODS |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=head2 CancelJob(JobId => Str, Reason => Str) |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::CancelJob> |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::CancelJobResponse> instance |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
Cancels jobs in an AWS Batch job queue. Jobs that are in the |
156
|
|
|
|
|
|
|
C<SUBMITTED>, C<PENDING>, or C<RUNNABLE> state are cancelled. Jobs that |
157
|
|
|
|
|
|
|
have progressed to C<STARTING> or C<RUNNING> are not cancelled (but the |
158
|
|
|
|
|
|
|
API operation still succeeds, even if no jobs are cancelled); these |
159
|
|
|
|
|
|
|
jobs must be terminated with the TerminateJob operation. |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 CreateComputeEnvironment(ComputeEnvironmentName => Str, ServiceRole => Str, Type => Str, [ComputeResources => L<Paws::Batch::ComputeResource>, State => Str]) |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::CreateComputeEnvironment> |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::CreateComputeEnvironmentResponse> instance |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
Creates an AWS Batch compute environment. You can create C<MANAGED> or |
169
|
|
|
|
|
|
|
C<UNMANAGED> compute environments. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
In a managed compute environment, AWS Batch manages the compute |
172
|
|
|
|
|
|
|
resources within the environment, based on the compute resources that |
173
|
|
|
|
|
|
|
you specify. Instances launched into a managed compute environment use |
174
|
|
|
|
|
|
|
the latest Amazon ECS-optimized AMI. You can choose to use Amazon EC2 |
175
|
|
|
|
|
|
|
On-Demand instances in your managed compute environment, or you can use |
176
|
|
|
|
|
|
|
Amazon EC2 Spot instances that only launch when the Spot bid price is |
177
|
|
|
|
|
|
|
below a specified percentage of the On-Demand price. |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
In an unmanaged compute environment, you can manage your own compute |
180
|
|
|
|
|
|
|
resources. This provides more compute resource configuration options, |
181
|
|
|
|
|
|
|
such as using a custom AMI, but you must ensure that your AMI meets the |
182
|
|
|
|
|
|
|
Amazon ECS container instance AMI specification. For more information, |
183
|
|
|
|
|
|
|
see Container Instance AMIs in the I<Amazon EC2 Container Service |
184
|
|
|
|
|
|
|
Developer Guide>. After you have created your unmanaged compute |
185
|
|
|
|
|
|
|
environment, you can use the DescribeComputeEnvironments operation to |
186
|
|
|
|
|
|
|
find the Amazon ECS cluster that is associated with it and then |
187
|
|
|
|
|
|
|
manually launch your container instances into that Amazon ECS cluster. |
188
|
|
|
|
|
|
|
For more information, see Launching an Amazon ECS Container Instance in |
189
|
|
|
|
|
|
|
the I<Amazon EC2 Container Service Developer Guide>. |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=head2 CreateJobQueue(ComputeEnvironmentOrder => ArrayRef[L<Paws::Batch::ComputeEnvironmentOrder>], JobQueueName => Str, Priority => Int, [State => Str]) |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::CreateJobQueue> |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::CreateJobQueueResponse> instance |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
Creates an AWS Batch job queue. When you create a job queue, you |
199
|
|
|
|
|
|
|
associate one or more compute environments to the queue and assign an |
200
|
|
|
|
|
|
|
order of preference for the compute environments. |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
You also set a priority to the job queue that determines the order in |
203
|
|
|
|
|
|
|
which the AWS Batch scheduler places jobs onto its associated compute |
204
|
|
|
|
|
|
|
environments. For example, if a compute environment is associated with |
205
|
|
|
|
|
|
|
more than one job queue, the job queue with a higher priority is given |
206
|
|
|
|
|
|
|
preference for scheduling jobs to that compute environment. |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
=head2 DeleteComputeEnvironment(ComputeEnvironment => Str) |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::DeleteComputeEnvironment> |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::DeleteComputeEnvironmentResponse> instance |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
Deletes an AWS Batch compute environment. |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
Before you can delete a compute environment, you must set its state to |
218
|
|
|
|
|
|
|
C<DISABLED> with the UpdateComputeEnvironment API operation and |
219
|
|
|
|
|
|
|
disassociate it from any job queues with the UpdateJobQueue API |
220
|
|
|
|
|
|
|
operation. |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=head2 DeleteJobQueue(JobQueue => Str) |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::DeleteJobQueue> |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::DeleteJobQueueResponse> instance |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
Deletes the specified job queue. You must first disable submissions for |
230
|
|
|
|
|
|
|
a queue with the UpdateJobQueue operation and terminate any jobs that |
231
|
|
|
|
|
|
|
have not completed with the TerminateJob. |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
It is not necessary to disassociate compute environments from a queue |
234
|
|
|
|
|
|
|
before submitting a C<DeleteJobQueue> request. |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
=head2 DeregisterJobDefinition(JobDefinition => Str) |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::DeregisterJobDefinition> |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::DeregisterJobDefinitionResponse> instance |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
Deregisters an AWS Batch job definition. |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
=head2 DescribeComputeEnvironments([ComputeEnvironments => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str]) |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::DescribeComputeEnvironments> |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::DescribeComputeEnvironmentsResponse> instance |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
Describes one or more of your compute environments. |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
If you are using an unmanaged compute environment, you can use the |
255
|
|
|
|
|
|
|
C<DescribeComputeEnvironment> operation to determine the |
256
|
|
|
|
|
|
|
C<ecsClusterArn> that you should launch your Amazon ECS container |
257
|
|
|
|
|
|
|
instances into. |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
=head2 DescribeJobDefinitions([JobDefinitionName => Str, JobDefinitions => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str, Status => Str]) |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::DescribeJobDefinitions> |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::DescribeJobDefinitionsResponse> instance |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
Describes a list of job definitions. You can specify a C<status> (such |
267
|
|
|
|
|
|
|
as C<ACTIVE>) to only return job definitions that match that status. |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
=head2 DescribeJobQueues([JobQueues => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str]) |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::DescribeJobQueues> |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::DescribeJobQueuesResponse> instance |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
Describes one or more of your job queues. |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
=head2 DescribeJobs(Jobs => ArrayRef[Str|Undef]) |
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::DescribeJobs> |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::DescribeJobsResponse> instance |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
Describes a list of AWS Batch jobs. |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
=head2 ListJobs(JobQueue => Str, [JobStatus => Str, MaxResults => Int, NextToken => Str]) |
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::ListJobs> |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::ListJobsResponse> instance |
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
Returns a list of task jobs for a specified job queue. You can filter |
295
|
|
|
|
|
|
|
the results by job status with the C<jobStatus> parameter. |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
=head2 RegisterJobDefinition(JobDefinitionName => Str, Type => Str, [ContainerProperties => L<Paws::Batch::ContainerProperties>, Parameters => L<Paws::Batch::ParametersMap>, RetryStrategy => L<Paws::Batch::RetryStrategy>]) |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::RegisterJobDefinition> |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::RegisterJobDefinitionResponse> instance |
303
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
Registers an AWS Batch job definition. |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
=head2 SubmitJob(JobDefinition => Str, JobName => Str, JobQueue => Str, [ContainerOverrides => L<Paws::Batch::ContainerOverrides>, DependsOn => ArrayRef[L<Paws::Batch::JobDependency>], Parameters => L<Paws::Batch::ParametersMap>, RetryStrategy => L<Paws::Batch::RetryStrategy>]) |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::SubmitJob> |
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::SubmitJobResponse> instance |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
Submits an AWS Batch job from a job definition. Parameters specified |
314
|
|
|
|
|
|
|
during SubmitJob override parameters defined in the job definition. |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
=head2 TerminateJob(JobId => Str, Reason => Str) |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::TerminateJob> |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::TerminateJobResponse> instance |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
Terminates jobs in a job queue. Jobs that are in the C<STARTING> or |
324
|
|
|
|
|
|
|
C<RUNNING> state are terminated, which causes them to transition to |
325
|
|
|
|
|
|
|
C<FAILED>. Jobs that have not progressed to the C<STARTING> state are |
326
|
|
|
|
|
|
|
cancelled. |
327
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
=head2 UpdateComputeEnvironment(ComputeEnvironment => Str, [ComputeResources => L<Paws::Batch::ComputeResourceUpdate>, ServiceRole => Str, State => Str]) |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::UpdateComputeEnvironment> |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::UpdateComputeEnvironmentResponse> instance |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
Updates an AWS Batch compute environment. |
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
=head2 UpdateJobQueue(JobQueue => Str, [ComputeEnvironmentOrder => ArrayRef[L<Paws::Batch::ComputeEnvironmentOrder>], Priority => Int, State => Str]) |
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Batch::UpdateJobQueue> |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
Returns: a L<Paws::Batch::UpdateJobQueueResponse> instance |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
Updates a job queue. |
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
=head1 PAGINATORS |
350
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
Paginator methods are helpers that repetively call methods that return partial results |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
=head1 SEE ALSO |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
This service class forms part of L<Paws> |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
=cut |
367
|
|
|
|
|
|
|
|