@aws-sdk/client-batch 3.296.0 → 3.298.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CancelJobCommand.js +2 -3
- package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +2 -3
- package/dist-cjs/commands/CreateJobQueueCommand.js +2 -3
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +2 -3
- package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +2 -3
- package/dist-cjs/commands/DeleteJobQueueCommand.js +2 -3
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +2 -3
- package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +2 -3
- package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +2 -3
- package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +2 -3
- package/dist-cjs/commands/DescribeJobQueuesCommand.js +2 -3
- package/dist-cjs/commands/DescribeJobsCommand.js +2 -3
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +2 -3
- package/dist-cjs/commands/ListJobsCommand.js +2 -3
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/RegisterJobDefinitionCommand.js +2 -3
- package/dist-cjs/commands/SubmitJobCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/TerminateJobCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +2 -3
- package/dist-cjs/commands/UpdateJobQueueCommand.js +2 -3
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +2 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -479
- package/dist-cjs/protocols/Aws_restJson1.js +50 -0
- package/dist-es/commands/CancelJobCommand.js +2 -3
- package/dist-es/commands/CreateComputeEnvironmentCommand.js +2 -3
- package/dist-es/commands/CreateJobQueueCommand.js +2 -3
- package/dist-es/commands/CreateSchedulingPolicyCommand.js +2 -3
- package/dist-es/commands/DeleteComputeEnvironmentCommand.js +2 -3
- package/dist-es/commands/DeleteJobQueueCommand.js +2 -3
- package/dist-es/commands/DeleteSchedulingPolicyCommand.js +2 -3
- package/dist-es/commands/DeregisterJobDefinitionCommand.js +2 -3
- package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +2 -3
- package/dist-es/commands/DescribeJobDefinitionsCommand.js +2 -3
- package/dist-es/commands/DescribeJobQueuesCommand.js +2 -3
- package/dist-es/commands/DescribeJobsCommand.js +2 -3
- package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +2 -3
- package/dist-es/commands/ListJobsCommand.js +2 -3
- package/dist-es/commands/ListSchedulingPoliciesCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/RegisterJobDefinitionCommand.js +2 -3
- package/dist-es/commands/SubmitJobCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/TerminateJobCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdateComputeEnvironmentCommand.js +2 -3
- package/dist-es/commands/UpdateJobQueueCommand.js +2 -3
- package/dist-es/commands/UpdateSchedulingPolicyCommand.js +2 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +0 -357
- package/dist-es/protocols/Aws_restJson1.js +50 -0
- package/dist-types/Batch.d.ts +38 -4
- package/dist-types/BatchClient.d.ts +24 -4
- package/dist-types/commands/CancelJobCommand.d.ts +29 -4
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/CreateJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/SubmitJobCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TerminateJobCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/BatchServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1618 -1584
- package/dist-types/pagination/DescribeComputeEnvironmentsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeJobDefinitionsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeJobQueuesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +10 -321
- package/package.json +4 -3
package/dist-types/Batch.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOu
|
|
|
25
25
|
import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
|
|
26
26
|
import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
|
|
27
27
|
/**
|
|
28
|
+
* @public
|
|
28
29
|
* <fullname>Batch</fullname>
|
|
29
30
|
* <p>Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for
|
|
30
31
|
* developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
|
|
@@ -39,15 +40,26 @@ import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput
|
|
|
39
40
|
*/
|
|
40
41
|
export declare class Batch extends BatchClient {
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* @public
|
|
44
|
+
* <p>Cancels a job in an Batch job queue. Jobs that are in the
|
|
45
|
+
* <code>SUBMITTED</code>
|
|
46
|
+
* or
|
|
47
|
+
* <code>PENDING</code>
|
|
48
|
+
* are
|
|
49
|
+
* canceled. A job
|
|
50
|
+
* in<code>RUNNABLE</code> remains in <code>RUNNABLE</code> until it reaches the head of the
|
|
51
|
+
* job queue. Then the job status is updated to
|
|
52
|
+
* <code>FAILED</code>.</p>
|
|
53
|
+
* <p>Jobs that progressed to the <code>STARTING</code> or
|
|
54
|
+
* <code>RUNNING</code> state aren't canceled. However, the API operation still succeeds, even
|
|
55
|
+
* if no job is canceled. These jobs must be terminated with the <a>TerminateJob</a>
|
|
56
|
+
* operation.</p>
|
|
46
57
|
*/
|
|
47
58
|
cancelJob(args: CancelJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobCommandOutput>;
|
|
48
59
|
cancelJob(args: CancelJobCommandInput, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
|
|
49
60
|
cancelJob(args: CancelJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
|
|
50
61
|
/**
|
|
62
|
+
* @public
|
|
51
63
|
* <p>Creates an Batch compute environment. You can create <code>MANAGED</code> or <code>UNMANAGED</code> compute
|
|
52
64
|
* environments. <code>MANAGED</code> compute environments can use Amazon EC2 or Fargate resources.
|
|
53
65
|
* <code>UNMANAGED</code> compute environments can only use EC2 resources.</p>
|
|
@@ -132,6 +144,7 @@ export declare class Batch extends BatchClient {
|
|
|
132
144
|
createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
|
|
133
145
|
createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
|
|
134
146
|
/**
|
|
147
|
+
* @public
|
|
135
148
|
* <p>Creates an Batch job queue. When you create a job queue, you associate one or more compute environments to the
|
|
136
149
|
* queue and assign an order of preference for the compute environments.</p>
|
|
137
150
|
* <p>You also set a priority to the job queue that determines the order that the Batch scheduler places jobs onto
|
|
@@ -143,12 +156,14 @@ export declare class Batch extends BatchClient {
|
|
|
143
156
|
createJobQueue(args: CreateJobQueueCommandInput, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
|
|
144
157
|
createJobQueue(args: CreateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
|
|
145
158
|
/**
|
|
159
|
+
* @public
|
|
146
160
|
* <p>Creates an Batch scheduling policy.</p>
|
|
147
161
|
*/
|
|
148
162
|
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchedulingPolicyCommandOutput>;
|
|
149
163
|
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
|
|
150
164
|
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
|
|
151
165
|
/**
|
|
166
|
+
* @public
|
|
152
167
|
* <p>Deletes an Batch compute environment.</p>
|
|
153
168
|
* <p>Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the <a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the <a>UpdateJobQueue</a> API operation. Compute environments that use Fargate resources must terminate all
|
|
154
169
|
* active jobs on that compute environment before deleting the compute environment. If this isn't done, the compute
|
|
@@ -158,6 +173,7 @@ export declare class Batch extends BatchClient {
|
|
|
158
173
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
|
|
159
174
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
|
|
160
175
|
/**
|
|
176
|
+
* @public
|
|
161
177
|
* <p>Deletes the specified job queue. You must first disable submissions for a queue with the <a>UpdateJobQueue</a> operation. All jobs in the queue are eventually terminated when you delete a job queue.
|
|
162
178
|
* The jobs are terminated at a rate of about 16 jobs each second.</p>
|
|
163
179
|
* <p>It's not necessary to disassociate compute environments from a queue before submitting a
|
|
@@ -167,6 +183,7 @@ export declare class Batch extends BatchClient {
|
|
|
167
183
|
deleteJobQueue(args: DeleteJobQueueCommandInput, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
|
|
168
184
|
deleteJobQueue(args: DeleteJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
|
|
169
185
|
/**
|
|
186
|
+
* @public
|
|
170
187
|
* <p>Deletes the specified scheduling policy.</p>
|
|
171
188
|
* <p>You can't delete a scheduling policy that's used in any job queues.</p>
|
|
172
189
|
*/
|
|
@@ -174,12 +191,14 @@ export declare class Batch extends BatchClient {
|
|
|
174
191
|
deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
|
|
175
192
|
deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
|
|
176
193
|
/**
|
|
194
|
+
* @public
|
|
177
195
|
* <p>Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.</p>
|
|
178
196
|
*/
|
|
179
197
|
deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterJobDefinitionCommandOutput>;
|
|
180
198
|
deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
|
|
181
199
|
deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
|
|
182
200
|
/**
|
|
201
|
+
* @public
|
|
183
202
|
* <p>Describes one or more of your compute environments.</p>
|
|
184
203
|
* <p>If you're using an unmanaged compute environment, you can use the <code>DescribeComputeEnvironment</code>
|
|
185
204
|
* operation to determine the <code>ecsClusterArn</code> that you launch your Amazon ECS container instances
|
|
@@ -189,6 +208,7 @@ export declare class Batch extends BatchClient {
|
|
|
189
208
|
describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
|
|
190
209
|
describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
|
|
191
210
|
/**
|
|
211
|
+
* @public
|
|
192
212
|
* <p>Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only
|
|
193
213
|
* return job definitions that match that status.</p>
|
|
194
214
|
*/
|
|
@@ -196,24 +216,28 @@ export declare class Batch extends BatchClient {
|
|
|
196
216
|
describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void): void;
|
|
197
217
|
describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void): void;
|
|
198
218
|
/**
|
|
219
|
+
* @public
|
|
199
220
|
* <p>Describes one or more of your job queues.</p>
|
|
200
221
|
*/
|
|
201
222
|
describeJobQueues(args: DescribeJobQueuesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobQueuesCommandOutput>;
|
|
202
223
|
describeJobQueues(args: DescribeJobQueuesCommandInput, cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void): void;
|
|
203
224
|
describeJobQueues(args: DescribeJobQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void): void;
|
|
204
225
|
/**
|
|
226
|
+
* @public
|
|
205
227
|
* <p>Describes a list of Batch jobs.</p>
|
|
206
228
|
*/
|
|
207
229
|
describeJobs(args: DescribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobsCommandOutput>;
|
|
208
230
|
describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
209
231
|
describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
210
232
|
/**
|
|
233
|
+
* @public
|
|
211
234
|
* <p>Describes one or more of your scheduling policies.</p>
|
|
212
235
|
*/
|
|
213
236
|
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
|
|
214
237
|
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
|
|
215
238
|
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
|
|
216
239
|
/**
|
|
240
|
+
* @public
|
|
217
241
|
* <p>Returns a list of Batch jobs.</p>
|
|
218
242
|
* <p>You must specify only one of the following items:</p>
|
|
219
243
|
* <ul>
|
|
@@ -234,12 +258,14 @@ export declare class Batch extends BatchClient {
|
|
|
234
258
|
listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
235
259
|
listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
236
260
|
/**
|
|
261
|
+
* @public
|
|
237
262
|
* <p>Returns a list of Batch scheduling policies.</p>
|
|
238
263
|
*/
|
|
239
264
|
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulingPoliciesCommandOutput>;
|
|
240
265
|
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
|
|
241
266
|
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
|
|
242
267
|
/**
|
|
268
|
+
* @public
|
|
243
269
|
* <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
|
|
244
270
|
* and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.</p>
|
|
245
271
|
*/
|
|
@@ -247,12 +273,14 @@ export declare class Batch extends BatchClient {
|
|
|
247
273
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
248
274
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
249
275
|
/**
|
|
276
|
+
* @public
|
|
250
277
|
* <p>Registers an Batch job definition.</p>
|
|
251
278
|
*/
|
|
252
279
|
registerJobDefinition(args: RegisterJobDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<RegisterJobDefinitionCommandOutput>;
|
|
253
280
|
registerJobDefinition(args: RegisterJobDefinitionCommandInput, cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void): void;
|
|
254
281
|
registerJobDefinition(args: RegisterJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void): void;
|
|
255
282
|
/**
|
|
283
|
+
* @public
|
|
256
284
|
* <p>Submits an Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a>
|
|
257
285
|
* override parameters defined in the job definition. vCPU and memory requirements that are specified in the
|
|
258
286
|
* <code>resourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way
|
|
@@ -271,6 +299,7 @@ export declare class Batch extends BatchClient {
|
|
|
271
299
|
submitJob(args: SubmitJobCommandInput, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
|
|
272
300
|
submitJob(args: SubmitJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
|
|
273
301
|
/**
|
|
302
|
+
* @public
|
|
274
303
|
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a
|
|
275
304
|
* resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that
|
|
276
305
|
* are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
|
|
@@ -280,6 +309,7 @@ export declare class Batch extends BatchClient {
|
|
|
280
309
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
281
310
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
282
311
|
/**
|
|
312
|
+
* @public
|
|
283
313
|
* <p>Terminates a job in a job queue. Jobs that are in the <code>STARTING</code> or <code>RUNNING</code> state are
|
|
284
314
|
* terminated, which causes them to transition to <code>FAILED</code>. Jobs that have not progressed to the
|
|
285
315
|
* <code>STARTING</code> state are cancelled.</p>
|
|
@@ -288,24 +318,28 @@ export declare class Batch extends BatchClient {
|
|
|
288
318
|
terminateJob(args: TerminateJobCommandInput, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
|
|
289
319
|
terminateJob(args: TerminateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
|
|
290
320
|
/**
|
|
321
|
+
* @public
|
|
291
322
|
* <p>Deletes specified tags from an Batch resource.</p>
|
|
292
323
|
*/
|
|
293
324
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
294
325
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
295
326
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
296
327
|
/**
|
|
328
|
+
* @public
|
|
297
329
|
* <p>Updates an Batch compute environment.</p>
|
|
298
330
|
*/
|
|
299
331
|
updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComputeEnvironmentCommandOutput>;
|
|
300
332
|
updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
|
|
301
333
|
updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
|
|
302
334
|
/**
|
|
335
|
+
* @public
|
|
303
336
|
* <p>Updates a job queue.</p>
|
|
304
337
|
*/
|
|
305
338
|
updateJobQueue(args: UpdateJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobQueueCommandOutput>;
|
|
306
339
|
updateJobQueue(args: UpdateJobQueueCommandInput, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
|
|
307
340
|
updateJobQueue(args: UpdateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
|
|
308
341
|
/**
|
|
342
|
+
* @public
|
|
309
343
|
* <p>Updates a scheduling policy.</p>
|
|
310
344
|
*/
|
|
311
345
|
updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchedulingPolicyCommandOutput>;
|
|
@@ -32,15 +32,24 @@ import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOu
|
|
|
32
32
|
import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
|
|
33
33
|
import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
|
|
34
34
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
35
38
|
export type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput;
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
36
42
|
export type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput;
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
37
46
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
38
47
|
/**
|
|
39
48
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
40
49
|
*/
|
|
41
50
|
requestHandler?: __HttpHandler;
|
|
42
51
|
/**
|
|
43
|
-
* A constructor for a class implementing the {@link
|
|
52
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
44
53
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
45
54
|
* @internal
|
|
46
55
|
*/
|
|
@@ -130,23 +139,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
130
139
|
*/
|
|
131
140
|
logger?: __Logger;
|
|
132
141
|
/**
|
|
133
|
-
* The {@link
|
|
142
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
134
143
|
*/
|
|
135
144
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
136
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
137
149
|
type BatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
138
150
|
/**
|
|
139
|
-
*
|
|
151
|
+
* @public
|
|
152
|
+
*
|
|
153
|
+
* The configuration interface of BatchClient class constructor that set the region, credentials and other options.
|
|
140
154
|
*/
|
|
141
155
|
export interface BatchClientConfig extends BatchClientConfigType {
|
|
142
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
143
160
|
type BatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
144
161
|
/**
|
|
145
|
-
*
|
|
162
|
+
* @public
|
|
163
|
+
*
|
|
164
|
+
* The resolved configuration interface of BatchClient class. This is resolved and normalized from the {@link BatchClientConfig | constructor configuration interface}.
|
|
146
165
|
*/
|
|
147
166
|
export interface BatchClientResolvedConfig extends BatchClientResolvedConfigType {
|
|
148
167
|
}
|
|
149
168
|
/**
|
|
169
|
+
* @public
|
|
150
170
|
* <fullname>Batch</fullname>
|
|
151
171
|
* <p>Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for
|
|
152
172
|
* developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
|
|
@@ -4,20 +4,34 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { CancelJobRequest, CancelJobResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CancelJobCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CancelJobCommandInput extends CancelJobRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CancelJobCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Cancels a job in an Batch job queue. Jobs that are in the
|
|
23
|
+
* <code>SUBMITTED</code>
|
|
24
|
+
* or
|
|
25
|
+
* <code>PENDING</code>
|
|
26
|
+
* are
|
|
27
|
+
* canceled. A job
|
|
28
|
+
* in<code>RUNNABLE</code> remains in <code>RUNNABLE</code> until it reaches the head of the
|
|
29
|
+
* job queue. Then the job status is updated to
|
|
30
|
+
* <code>FAILED</code>.</p>
|
|
31
|
+
* <p>Jobs that progressed to the <code>STARTING</code> or
|
|
32
|
+
* <code>RUNNING</code> state aren't canceled. However, the API operation still succeeds, even
|
|
33
|
+
* if no job is canceled. These jobs must be terminated with the <a>TerminateJob</a>
|
|
34
|
+
* operation.</p>
|
|
21
35
|
* @example
|
|
22
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
37
|
* ```javascript
|
|
@@ -28,6 +42,8 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
|
|
|
28
42
|
* const response = await client.send(command);
|
|
29
43
|
* ```
|
|
30
44
|
*
|
|
45
|
+
* @param CancelJobCommandInput - {@link CancelJobCommandInput}
|
|
46
|
+
* @returns {@link CancelJobCommandOutput}
|
|
31
47
|
* @see {@link CancelJobCommandInput} for command's `input` shape.
|
|
32
48
|
* @see {@link CancelJobCommandOutput} for command's `response` shape.
|
|
33
49
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -57,11 +73,20 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
|
|
|
57
73
|
export declare class CancelJobCommand extends $Command<CancelJobCommandInput, CancelJobCommandOutput, BatchClientResolvedConfig> {
|
|
58
74
|
readonly input: CancelJobCommandInput;
|
|
59
75
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
60
79
|
constructor(input: CancelJobCommandInput);
|
|
61
80
|
/**
|
|
62
81
|
* @internal
|
|
63
82
|
*/
|
|
64
83
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobCommandInput, CancelJobCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
65
87
|
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
66
91
|
private deserialize;
|
|
67
92
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { CreateComputeEnvironmentRequest, CreateComputeEnvironmentResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateComputeEnvironmentCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateComputeEnvironmentCommandInput extends CreateComputeEnvironmentRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateComputeEnvironmentCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvironmentResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an Batch compute environment. You can create <code>MANAGED</code> or <code>UNMANAGED</code> compute
|
|
18
23
|
* environments. <code>MANAGED</code> compute environments can use Amazon EC2 or Fargate resources.
|
|
19
24
|
* <code>UNMANAGED</code> compute environments can only use EC2 resources.</p>
|
|
@@ -103,6 +108,8 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
103
108
|
* const response = await client.send(command);
|
|
104
109
|
* ```
|
|
105
110
|
*
|
|
111
|
+
* @param CreateComputeEnvironmentCommandInput - {@link CreateComputeEnvironmentCommandInput}
|
|
112
|
+
* @returns {@link CreateComputeEnvironmentCommandOutput}
|
|
106
113
|
* @see {@link CreateComputeEnvironmentCommandInput} for command's `input` shape.
|
|
107
114
|
* @see {@link CreateComputeEnvironmentCommandOutput} for command's `response` shape.
|
|
108
115
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -210,11 +217,20 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
210
217
|
export declare class CreateComputeEnvironmentCommand extends $Command<CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
|
|
211
218
|
readonly input: CreateComputeEnvironmentCommandInput;
|
|
212
219
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
213
223
|
constructor(input: CreateComputeEnvironmentCommandInput);
|
|
214
224
|
/**
|
|
215
225
|
* @internal
|
|
216
226
|
*/
|
|
217
227
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput>;
|
|
228
|
+
/**
|
|
229
|
+
* @internal
|
|
230
|
+
*/
|
|
218
231
|
private serialize;
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
219
235
|
private deserialize;
|
|
220
236
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { CreateJobQueueRequest, CreateJobQueueResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateJobQueueCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateJobQueueCommandInput extends CreateJobQueueRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateJobQueueCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an Batch job queue. When you create a job queue, you associate one or more compute environments to the
|
|
18
23
|
* queue and assign an order of preference for the compute environments.</p>
|
|
19
24
|
* <p>You also set a priority to the job queue that determines the order that the Batch scheduler places jobs onto
|
|
@@ -30,6 +35,8 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param CreateJobQueueCommandInput - {@link CreateJobQueueCommandInput}
|
|
39
|
+
* @returns {@link CreateJobQueueCommandOutput}
|
|
33
40
|
* @see {@link CreateJobQueueCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link CreateJobQueueCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -101,11 +108,20 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
|
|
|
101
108
|
export declare class CreateJobQueueCommand extends $Command<CreateJobQueueCommandInput, CreateJobQueueCommandOutput, BatchClientResolvedConfig> {
|
|
102
109
|
readonly input: CreateJobQueueCommandInput;
|
|
103
110
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
104
114
|
constructor(input: CreateJobQueueCommandInput);
|
|
105
115
|
/**
|
|
106
116
|
* @internal
|
|
107
117
|
*/
|
|
108
118
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateJobQueueCommandInput, CreateJobQueueCommandOutput>;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
109
122
|
private serialize;
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
110
126
|
private deserialize;
|
|
111
127
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { CreateSchedulingPolicyRequest, CreateSchedulingPolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateSchedulingPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateSchedulingPolicyCommandInput extends CreateSchedulingPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateSchedulingPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an Batch scheduling policy.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateSchedulingPolicyCommandInput - {@link CreateSchedulingPolicyCommandInput}
|
|
34
|
+
* @returns {@link CreateSchedulingPolicyCommandOutput}
|
|
28
35
|
* @see {@link CreateSchedulingPolicyCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateSchedulingPolicyCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -42,11 +49,20 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
|
|
|
42
49
|
export declare class CreateSchedulingPolicyCommand extends $Command<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
43
50
|
readonly input: CreateSchedulingPolicyCommandInput;
|
|
44
51
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
45
55
|
constructor(input: CreateSchedulingPolicyCommandInput);
|
|
46
56
|
/**
|
|
47
57
|
* @internal
|
|
48
58
|
*/
|
|
49
59
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput>;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
50
63
|
private serialize;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
51
67
|
private deserialize;
|
|
52
68
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { DeleteComputeEnvironmentRequest, DeleteComputeEnvironmentResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteComputeEnvironmentCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteComputeEnvironmentCommandInput extends DeleteComputeEnvironmentRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteComputeEnvironmentCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvironmentResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes an Batch compute environment.</p>
|
|
18
23
|
* <p>Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the <a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the <a>UpdateJobQueue</a> API operation. Compute environments that use Fargate resources must terminate all
|
|
19
24
|
* active jobs on that compute environment before deleting the compute environment. If this isn't done, the compute
|
|
@@ -28,6 +33,8 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param DeleteComputeEnvironmentCommandInput - {@link DeleteComputeEnvironmentCommandInput}
|
|
37
|
+
* @returns {@link DeleteComputeEnvironmentCommandOutput}
|
|
31
38
|
* @see {@link DeleteComputeEnvironmentCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link DeleteComputeEnvironmentCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
|
|
|
56
63
|
export declare class DeleteComputeEnvironmentCommand extends $Command<DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
|
|
57
64
|
readonly input: DeleteComputeEnvironmentCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: DeleteComputeEnvironmentCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { DeleteJobQueueRequest, DeleteJobQueueResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteJobQueueCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteJobQueueCommandInput extends DeleteJobQueueRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteJobQueueCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified job queue. You must first disable submissions for a queue with the <a>UpdateJobQueue</a> operation. All jobs in the queue are eventually terminated when you delete a job queue.
|
|
18
23
|
* The jobs are terminated at a rate of about 16 jobs each second.</p>
|
|
19
24
|
* <p>It's not necessary to disassociate compute environments from a queue before submitting a
|
|
@@ -28,6 +33,8 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param DeleteJobQueueCommandInput - {@link DeleteJobQueueCommandInput}
|
|
37
|
+
* @returns {@link DeleteJobQueueCommandOutput}
|
|
31
38
|
* @see {@link DeleteJobQueueCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link DeleteJobQueueCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
|
|
|
56
63
|
export declare class DeleteJobQueueCommand extends $Command<DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput, BatchClientResolvedConfig> {
|
|
57
64
|
readonly input: DeleteJobQueueCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: DeleteJobQueueCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { DeleteSchedulingPolicyRequest, DeleteSchedulingPolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteSchedulingPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteSchedulingPolicyCommandInput extends DeleteSchedulingPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteSchedulingPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified scheduling policy.</p>
|
|
18
23
|
* <p>You can't delete a scheduling policy that's used in any job queues.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param DeleteSchedulingPolicyCommandInput - {@link DeleteSchedulingPolicyCommandInput}
|
|
35
|
+
* @returns {@link DeleteSchedulingPolicyCommandOutput}
|
|
29
36
|
* @see {@link DeleteSchedulingPolicyCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link DeleteSchedulingPolicyCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
|
|
|
43
50
|
export declare class DeleteSchedulingPolicyCommand extends $Command<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
44
51
|
readonly input: DeleteSchedulingPolicyCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: DeleteSchedulingPolicyCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|