@aws-sdk/client-batch 3.296.0 → 3.297.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.
Files changed (35) hide show
  1. package/dist-types/Batch.d.ts +25 -0
  2. package/dist-types/BatchClient.d.ts +24 -4
  3. package/dist-types/commands/CancelJobCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateJobQueueCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +16 -0
  7. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +16 -0
  8. package/dist-types/commands/DeleteJobQueueCommand.d.ts +16 -0
  9. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +16 -0
  10. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +16 -0
  11. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +16 -0
  12. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +16 -0
  13. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +16 -0
  14. package/dist-types/commands/DescribeJobsCommand.d.ts +16 -0
  15. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +16 -0
  16. package/dist-types/commands/ListJobsCommand.d.ts +16 -0
  17. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +16 -0
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  19. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +16 -0
  20. package/dist-types/commands/SubmitJobCommand.d.ts +16 -0
  21. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  22. package/dist-types/commands/TerminateJobCommand.d.ts +16 -0
  23. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  24. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +16 -0
  25. package/dist-types/commands/UpdateJobQueueCommand.d.ts +16 -0
  26. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +16 -0
  27. package/dist-types/models/BatchServiceException.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +236 -5
  29. package/dist-types/pagination/DescribeComputeEnvironmentsPaginator.d.ts +3 -0
  30. package/dist-types/pagination/DescribeJobDefinitionsPaginator.d.ts +3 -0
  31. package/dist-types/pagination/DescribeJobQueuesPaginator.d.ts +3 -0
  32. package/dist-types/pagination/Interfaces.d.ts +3 -0
  33. package/dist-types/pagination/ListJobsPaginator.d.ts +3 -0
  34. package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +3 -0
  35. package/package.json +3 -3
@@ -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,6 +40,7 @@ import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput
39
40
  */
40
41
  export declare class Batch extends BatchClient {
41
42
  /**
43
+ * @public
42
44
  * <p>Cancels a job in an Batch job queue. Jobs that are in the <code>SUBMITTED</code>, <code>PENDING</code>, or
43
45
  * <code>RUNNABLE</code> state are canceled. Jobs that progressed to the <code>STARTING</code> or <code>RUNNING</code>
44
46
  * state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be
@@ -48,6 +50,7 @@ export declare class Batch extends BatchClient {
48
50
  cancelJob(args: CancelJobCommandInput, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
49
51
  cancelJob(args: CancelJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
50
52
  /**
53
+ * @public
51
54
  * <p>Creates an Batch compute environment. You can create <code>MANAGED</code> or <code>UNMANAGED</code> compute
52
55
  * environments. <code>MANAGED</code> compute environments can use Amazon EC2 or Fargate resources.
53
56
  * <code>UNMANAGED</code> compute environments can only use EC2 resources.</p>
@@ -132,6 +135,7 @@ export declare class Batch extends BatchClient {
132
135
  createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
133
136
  createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
134
137
  /**
138
+ * @public
135
139
  * <p>Creates an Batch job queue. When you create a job queue, you associate one or more compute environments to the
136
140
  * queue and assign an order of preference for the compute environments.</p>
137
141
  * <p>You also set a priority to the job queue that determines the order that the Batch scheduler places jobs onto
@@ -143,12 +147,14 @@ export declare class Batch extends BatchClient {
143
147
  createJobQueue(args: CreateJobQueueCommandInput, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
144
148
  createJobQueue(args: CreateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
145
149
  /**
150
+ * @public
146
151
  * <p>Creates an Batch scheduling policy.</p>
147
152
  */
148
153
  createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchedulingPolicyCommandOutput>;
149
154
  createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
150
155
  createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
151
156
  /**
157
+ * @public
152
158
  * <p>Deletes an Batch compute environment.</p>
153
159
  * <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
160
  * active jobs on that compute environment before deleting the compute environment. If this isn't done, the compute
@@ -158,6 +164,7 @@ export declare class Batch extends BatchClient {
158
164
  deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
159
165
  deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
160
166
  /**
167
+ * @public
161
168
  * <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
169
  * The jobs are terminated at a rate of about 16 jobs each second.</p>
163
170
  * <p>It's not necessary to disassociate compute environments from a queue before submitting a
@@ -167,6 +174,7 @@ export declare class Batch extends BatchClient {
167
174
  deleteJobQueue(args: DeleteJobQueueCommandInput, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
168
175
  deleteJobQueue(args: DeleteJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
169
176
  /**
177
+ * @public
170
178
  * <p>Deletes the specified scheduling policy.</p>
171
179
  * <p>You can't delete a scheduling policy that's used in any job queues.</p>
172
180
  */
@@ -174,12 +182,14 @@ export declare class Batch extends BatchClient {
174
182
  deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
175
183
  deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
176
184
  /**
185
+ * @public
177
186
  * <p>Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.</p>
178
187
  */
179
188
  deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterJobDefinitionCommandOutput>;
180
189
  deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
181
190
  deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
182
191
  /**
192
+ * @public
183
193
  * <p>Describes one or more of your compute environments.</p>
184
194
  * <p>If you're using an unmanaged compute environment, you can use the <code>DescribeComputeEnvironment</code>
185
195
  * operation to determine the <code>ecsClusterArn</code> that you launch your Amazon ECS container instances
@@ -189,6 +199,7 @@ export declare class Batch extends BatchClient {
189
199
  describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
190
200
  describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
191
201
  /**
202
+ * @public
192
203
  * <p>Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only
193
204
  * return job definitions that match that status.</p>
194
205
  */
@@ -196,24 +207,28 @@ export declare class Batch extends BatchClient {
196
207
  describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void): void;
197
208
  describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void): void;
198
209
  /**
210
+ * @public
199
211
  * <p>Describes one or more of your job queues.</p>
200
212
  */
201
213
  describeJobQueues(args: DescribeJobQueuesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobQueuesCommandOutput>;
202
214
  describeJobQueues(args: DescribeJobQueuesCommandInput, cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void): void;
203
215
  describeJobQueues(args: DescribeJobQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void): void;
204
216
  /**
217
+ * @public
205
218
  * <p>Describes a list of Batch jobs.</p>
206
219
  */
207
220
  describeJobs(args: DescribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobsCommandOutput>;
208
221
  describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
209
222
  describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
210
223
  /**
224
+ * @public
211
225
  * <p>Describes one or more of your scheduling policies.</p>
212
226
  */
213
227
  describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
214
228
  describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
215
229
  describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
216
230
  /**
231
+ * @public
217
232
  * <p>Returns a list of Batch jobs.</p>
218
233
  * <p>You must specify only one of the following items:</p>
219
234
  * <ul>
@@ -234,12 +249,14 @@ export declare class Batch extends BatchClient {
234
249
  listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
235
250
  listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
236
251
  /**
252
+ * @public
237
253
  * <p>Returns a list of Batch scheduling policies.</p>
238
254
  */
239
255
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulingPoliciesCommandOutput>;
240
256
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
241
257
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
242
258
  /**
259
+ * @public
243
260
  * <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
244
261
  * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.</p>
245
262
  */
@@ -247,12 +264,14 @@ export declare class Batch extends BatchClient {
247
264
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
248
265
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
249
266
  /**
267
+ * @public
250
268
  * <p>Registers an Batch job definition.</p>
251
269
  */
252
270
  registerJobDefinition(args: RegisterJobDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<RegisterJobDefinitionCommandOutput>;
253
271
  registerJobDefinition(args: RegisterJobDefinitionCommandInput, cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void): void;
254
272
  registerJobDefinition(args: RegisterJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void): void;
255
273
  /**
274
+ * @public
256
275
  * <p>Submits an Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a>
257
276
  * override parameters defined in the job definition. vCPU and memory requirements that are specified in the
258
277
  * <code>resourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way
@@ -271,6 +290,7 @@ export declare class Batch extends BatchClient {
271
290
  submitJob(args: SubmitJobCommandInput, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
272
291
  submitJob(args: SubmitJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
273
292
  /**
293
+ * @public
274
294
  * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a
275
295
  * resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that
276
296
  * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
@@ -280,6 +300,7 @@ export declare class Batch extends BatchClient {
280
300
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
281
301
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
282
302
  /**
303
+ * @public
283
304
  * <p>Terminates a job in a job queue. Jobs that are in the <code>STARTING</code> or <code>RUNNING</code> state are
284
305
  * terminated, which causes them to transition to <code>FAILED</code>. Jobs that have not progressed to the
285
306
  * <code>STARTING</code> state are cancelled.</p>
@@ -288,24 +309,28 @@ export declare class Batch extends BatchClient {
288
309
  terminateJob(args: TerminateJobCommandInput, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
289
310
  terminateJob(args: TerminateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
290
311
  /**
312
+ * @public
291
313
  * <p>Deletes specified tags from an Batch resource.</p>
292
314
  */
293
315
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
294
316
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
295
317
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
296
318
  /**
319
+ * @public
297
320
  * <p>Updates an Batch compute environment.</p>
298
321
  */
299
322
  updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComputeEnvironmentCommandOutput>;
300
323
  updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
301
324
  updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
302
325
  /**
326
+ * @public
303
327
  * <p>Updates a job queue.</p>
304
328
  */
305
329
  updateJobQueue(args: UpdateJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobQueueCommandOutput>;
306
330
  updateJobQueue(args: UpdateJobQueueCommandInput, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
307
331
  updateJobQueue(args: UpdateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
308
332
  /**
333
+ * @public
309
334
  * <p>Updates a scheduling policy.</p>
310
335
  */
311
336
  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 __Checksum} interface
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 __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
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
- * The configuration interface of BatchClient class constructor that set the region, credentials and other options.
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
- * The resolved configuration interface of BatchClient class. This is resolved and normalized from the {@link BatchClientConfig | constructor configuration interface}.
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,16 +4,21 @@ 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
  /**
21
+ * @public
17
22
  * <p>Cancels a job in an Batch job queue. Jobs that are in the <code>SUBMITTED</code>, <code>PENDING</code>, or
18
23
  * <code>RUNNABLE</code> state are canceled. Jobs that progressed to the <code>STARTING</code> or <code>RUNNING</code>
19
24
  * state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be
@@ -28,6 +33,8 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
28
33
  * const response = await client.send(command);
29
34
  * ```
30
35
  *
36
+ * @param CancelJobCommandInput - {@link CancelJobCommandInput}
37
+ * @returns {@link CancelJobCommandOutput}
31
38
  * @see {@link CancelJobCommandInput} for command's `input` shape.
32
39
  * @see {@link CancelJobCommandOutput} for command's `response` shape.
33
40
  * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
@@ -57,11 +64,20 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
57
64
  export declare class CancelJobCommand extends $Command<CancelJobCommandInput, CancelJobCommandOutput, BatchClientResolvedConfig> {
58
65
  readonly input: CancelJobCommandInput;
59
66
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
60
70
  constructor(input: CancelJobCommandInput);
61
71
  /**
62
72
  * @internal
63
73
  */
64
74
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobCommandInput, CancelJobCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
65
78
  private serialize;
79
+ /**
80
+ * @internal
81
+ */
66
82
  private deserialize;
67
83
  }
@@ -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
  }