@aws-sdk/client-batch 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/Batch.js +105 -98
- package/dist-es/BatchClient.js +28 -22
- package/dist-es/commands/CancelJobCommand.js +28 -21
- package/dist-es/commands/CreateComputeEnvironmentCommand.js +28 -21
- package/dist-es/commands/CreateJobQueueCommand.js +28 -21
- package/dist-es/commands/CreateSchedulingPolicyCommand.js +28 -21
- package/dist-es/commands/DeleteComputeEnvironmentCommand.js +28 -21
- package/dist-es/commands/DeleteJobQueueCommand.js +28 -21
- package/dist-es/commands/DeleteSchedulingPolicyCommand.js +28 -21
- package/dist-es/commands/DeregisterJobDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +28 -21
- package/dist-es/commands/DescribeJobDefinitionsCommand.js +28 -21
- package/dist-es/commands/DescribeJobQueuesCommand.js +28 -21
- package/dist-es/commands/DescribeJobsCommand.js +28 -21
- package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +28 -21
- package/dist-es/commands/ListJobsCommand.js +28 -21
- package/dist-es/commands/ListSchedulingPoliciesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/RegisterJobDefinitionCommand.js +28 -21
- package/dist-es/commands/SubmitJobCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/TerminateJobCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateComputeEnvironmentCommand.js +28 -21
- package/dist-es/commands/UpdateJobQueueCommand.js +28 -21
- package/dist-es/commands/UpdateSchedulingPolicyCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/BatchServiceException.js +10 -5
- package/dist-es/models/models_0.js +122 -319
- package/dist-es/pagination/DescribeComputeEnvironmentsPaginator.js +68 -25
- package/dist-es/pagination/DescribeJobDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeJobQueuesPaginator.js +68 -25
- package/dist-es/pagination/ListJobsPaginator.js +68 -25
- package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +2471 -2036
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
2
3
|
export var ArrayJobDependency;
|
|
3
4
|
(function (ArrayJobDependency) {
|
|
@@ -9,30 +10,30 @@ export var AssignPublicIp;
|
|
|
9
10
|
AssignPublicIp["DISABLED"] = "DISABLED";
|
|
10
11
|
AssignPublicIp["ENABLED"] = "ENABLED";
|
|
11
12
|
})(AssignPublicIp || (AssignPublicIp = {}));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
this.$fault = "client";
|
|
21
|
-
Object.setPrototypeOf(this, ClientException.prototype);
|
|
13
|
+
var ClientException = (function (_super) {
|
|
14
|
+
__extends(ClientException, _super);
|
|
15
|
+
function ClientException(opts) {
|
|
16
|
+
var _this = _super.call(this, __assign({ name: "ClientException", $fault: "client" }, opts)) || this;
|
|
17
|
+
_this.name = "ClientException";
|
|
18
|
+
_this.$fault = "client";
|
|
19
|
+
Object.setPrototypeOf(_this, ClientException.prototype);
|
|
20
|
+
return _this;
|
|
22
21
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
return ClientException;
|
|
23
|
+
}(__BaseException));
|
|
24
|
+
export { ClientException };
|
|
25
|
+
var ServerException = (function (_super) {
|
|
26
|
+
__extends(ServerException, _super);
|
|
27
|
+
function ServerException(opts) {
|
|
28
|
+
var _this = _super.call(this, __assign({ name: "ServerException", $fault: "server" }, opts)) || this;
|
|
29
|
+
_this.name = "ServerException";
|
|
30
|
+
_this.$fault = "server";
|
|
31
|
+
Object.setPrototypeOf(_this, ServerException.prototype);
|
|
32
|
+
return _this;
|
|
34
33
|
}
|
|
35
|
-
|
|
34
|
+
return ServerException;
|
|
35
|
+
}(__BaseException));
|
|
36
|
+
export { ServerException };
|
|
36
37
|
export var CRAllocationStrategy;
|
|
37
38
|
(function (CRAllocationStrategy) {
|
|
38
39
|
CRAllocationStrategy["BEST_FIT"] = "BEST_FIT";
|
|
@@ -141,300 +142,102 @@ export var CRUpdateAllocationStrategy;
|
|
|
141
142
|
CRUpdateAllocationStrategy["BEST_FIT_PROGRESSIVE"] = "BEST_FIT_PROGRESSIVE";
|
|
142
143
|
CRUpdateAllocationStrategy["SPOT_CAPACITY_OPTIMIZED"] = "SPOT_CAPACITY_OPTIMIZED";
|
|
143
144
|
})(CRUpdateAllocationStrategy || (CRUpdateAllocationStrategy = {}));
|
|
144
|
-
export
|
|
145
|
-
|
|
146
|
-
});
|
|
147
|
-
export
|
|
148
|
-
|
|
149
|
-
});
|
|
150
|
-
export
|
|
151
|
-
|
|
152
|
-
});
|
|
153
|
-
export
|
|
154
|
-
|
|
155
|
-
});
|
|
156
|
-
export
|
|
157
|
-
|
|
158
|
-
});
|
|
159
|
-
export
|
|
160
|
-
|
|
161
|
-
});
|
|
162
|
-
export
|
|
163
|
-
|
|
164
|
-
});
|
|
165
|
-
export
|
|
166
|
-
|
|
167
|
-
});
|
|
168
|
-
export
|
|
169
|
-
|
|
170
|
-
});
|
|
171
|
-
export
|
|
172
|
-
|
|
173
|
-
});
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
});
|
|
177
|
-
export
|
|
178
|
-
|
|
179
|
-
});
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
});
|
|
183
|
-
export
|
|
184
|
-
|
|
185
|
-
});
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
});
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
});
|
|
192
|
-
export
|
|
193
|
-
|
|
194
|
-
});
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
});
|
|
198
|
-
export
|
|
199
|
-
|
|
200
|
-
});
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
});
|
|
204
|
-
export
|
|
205
|
-
|
|
206
|
-
});
|
|
207
|
-
export
|
|
208
|
-
|
|
209
|
-
});
|
|
210
|
-
export
|
|
211
|
-
|
|
212
|
-
});
|
|
213
|
-
export
|
|
214
|
-
|
|
215
|
-
});
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
});
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
});
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
});
|
|
225
|
-
export
|
|
226
|
-
|
|
227
|
-
});
|
|
228
|
-
export
|
|
229
|
-
|
|
230
|
-
});
|
|
231
|
-
export
|
|
232
|
-
|
|
233
|
-
});
|
|
234
|
-
export
|
|
235
|
-
|
|
236
|
-
});
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
});
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
});
|
|
243
|
-
export const KeyValuePairFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
});
|
|
246
|
-
export const FargatePlatformConfigurationFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
});
|
|
249
|
-
export const DeviceFilterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
});
|
|
252
|
-
export const TmpfsFilterSensitiveLog = (obj) => ({
|
|
253
|
-
...obj,
|
|
254
|
-
});
|
|
255
|
-
export const LinuxParametersFilterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
});
|
|
258
|
-
export const SecretFilterSensitiveLog = (obj) => ({
|
|
259
|
-
...obj,
|
|
260
|
-
});
|
|
261
|
-
export const LogConfigurationFilterSensitiveLog = (obj) => ({
|
|
262
|
-
...obj,
|
|
263
|
-
});
|
|
264
|
-
export const MountPointFilterSensitiveLog = (obj) => ({
|
|
265
|
-
...obj,
|
|
266
|
-
});
|
|
267
|
-
export const NetworkConfigurationFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
});
|
|
270
|
-
export const ResourceRequirementFilterSensitiveLog = (obj) => ({
|
|
271
|
-
...obj,
|
|
272
|
-
});
|
|
273
|
-
export const UlimitFilterSensitiveLog = (obj) => ({
|
|
274
|
-
...obj,
|
|
275
|
-
});
|
|
276
|
-
export const EFSAuthorizationConfigFilterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
});
|
|
279
|
-
export const EFSVolumeConfigurationFilterSensitiveLog = (obj) => ({
|
|
280
|
-
...obj,
|
|
281
|
-
});
|
|
282
|
-
export const HostFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
});
|
|
285
|
-
export const VolumeFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
});
|
|
288
|
-
export const ContainerPropertiesFilterSensitiveLog = (obj) => ({
|
|
289
|
-
...obj,
|
|
290
|
-
});
|
|
291
|
-
export const NodeRangePropertyFilterSensitiveLog = (obj) => ({
|
|
292
|
-
...obj,
|
|
293
|
-
});
|
|
294
|
-
export const NodePropertiesFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
});
|
|
297
|
-
export const EvaluateOnExitFilterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
});
|
|
300
|
-
export const RetryStrategyFilterSensitiveLog = (obj) => ({
|
|
301
|
-
...obj,
|
|
302
|
-
});
|
|
303
|
-
export const JobTimeoutFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
});
|
|
306
|
-
export const JobDefinitionFilterSensitiveLog = (obj) => ({
|
|
307
|
-
...obj,
|
|
308
|
-
});
|
|
309
|
-
export const DescribeJobDefinitionsResponseFilterSensitiveLog = (obj) => ({
|
|
310
|
-
...obj,
|
|
311
|
-
});
|
|
312
|
-
export const DescribeJobQueuesRequestFilterSensitiveLog = (obj) => ({
|
|
313
|
-
...obj,
|
|
314
|
-
});
|
|
315
|
-
export const JobQueueDetailFilterSensitiveLog = (obj) => ({
|
|
316
|
-
...obj,
|
|
317
|
-
});
|
|
318
|
-
export const DescribeJobQueuesResponseFilterSensitiveLog = (obj) => ({
|
|
319
|
-
...obj,
|
|
320
|
-
});
|
|
321
|
-
export const DescribeJobsRequestFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
});
|
|
324
|
-
export const ContainerDetailFilterSensitiveLog = (obj) => ({
|
|
325
|
-
...obj,
|
|
326
|
-
});
|
|
327
|
-
export const JobDependencyFilterSensitiveLog = (obj) => ({
|
|
328
|
-
...obj,
|
|
329
|
-
});
|
|
330
|
-
export const NodeDetailsFilterSensitiveLog = (obj) => ({
|
|
331
|
-
...obj,
|
|
332
|
-
});
|
|
333
|
-
export const JobDetailFilterSensitiveLog = (obj) => ({
|
|
334
|
-
...obj,
|
|
335
|
-
});
|
|
336
|
-
export const DescribeJobsResponseFilterSensitiveLog = (obj) => ({
|
|
337
|
-
...obj,
|
|
338
|
-
});
|
|
339
|
-
export const DescribeSchedulingPoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
340
|
-
...obj,
|
|
341
|
-
});
|
|
342
|
-
export const SchedulingPolicyDetailFilterSensitiveLog = (obj) => ({
|
|
343
|
-
...obj,
|
|
344
|
-
});
|
|
345
|
-
export const DescribeSchedulingPoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
346
|
-
...obj,
|
|
347
|
-
});
|
|
348
|
-
export const KeyValuesPairFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
});
|
|
351
|
-
export const ListJobsRequestFilterSensitiveLog = (obj) => ({
|
|
352
|
-
...obj,
|
|
353
|
-
});
|
|
354
|
-
export const ContainerSummaryFilterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
export const NodePropertiesSummaryFilterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
});
|
|
360
|
-
export const JobSummaryFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
});
|
|
363
|
-
export const ListJobsResponseFilterSensitiveLog = (obj) => ({
|
|
364
|
-
...obj,
|
|
365
|
-
});
|
|
366
|
-
export const ListSchedulingPoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
367
|
-
...obj,
|
|
368
|
-
});
|
|
369
|
-
export const SchedulingPolicyListingDetailFilterSensitiveLog = (obj) => ({
|
|
370
|
-
...obj,
|
|
371
|
-
});
|
|
372
|
-
export const ListSchedulingPoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
});
|
|
375
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
376
|
-
...obj,
|
|
377
|
-
});
|
|
378
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
});
|
|
381
|
-
export const RegisterJobDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
382
|
-
...obj,
|
|
383
|
-
});
|
|
384
|
-
export const RegisterJobDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
385
|
-
...obj,
|
|
386
|
-
});
|
|
387
|
-
export const ContainerOverridesFilterSensitiveLog = (obj) => ({
|
|
388
|
-
...obj,
|
|
389
|
-
});
|
|
390
|
-
export const NodePropertyOverrideFilterSensitiveLog = (obj) => ({
|
|
391
|
-
...obj,
|
|
392
|
-
});
|
|
393
|
-
export const NodeOverridesFilterSensitiveLog = (obj) => ({
|
|
394
|
-
...obj,
|
|
395
|
-
});
|
|
396
|
-
export const SubmitJobRequestFilterSensitiveLog = (obj) => ({
|
|
397
|
-
...obj,
|
|
398
|
-
});
|
|
399
|
-
export const SubmitJobResponseFilterSensitiveLog = (obj) => ({
|
|
400
|
-
...obj,
|
|
401
|
-
});
|
|
402
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
403
|
-
...obj,
|
|
404
|
-
});
|
|
405
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
406
|
-
...obj,
|
|
407
|
-
});
|
|
408
|
-
export const TerminateJobRequestFilterSensitiveLog = (obj) => ({
|
|
409
|
-
...obj,
|
|
410
|
-
});
|
|
411
|
-
export const TerminateJobResponseFilterSensitiveLog = (obj) => ({
|
|
412
|
-
...obj,
|
|
413
|
-
});
|
|
414
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
415
|
-
...obj,
|
|
416
|
-
});
|
|
417
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
});
|
|
420
|
-
export const ComputeResourceUpdateFilterSensitiveLog = (obj) => ({
|
|
421
|
-
...obj,
|
|
422
|
-
});
|
|
423
|
-
export const UpdateComputeEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
424
|
-
...obj,
|
|
425
|
-
});
|
|
426
|
-
export const UpdateComputeEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
});
|
|
429
|
-
export const UpdateJobQueueRequestFilterSensitiveLog = (obj) => ({
|
|
430
|
-
...obj,
|
|
431
|
-
});
|
|
432
|
-
export const UpdateJobQueueResponseFilterSensitiveLog = (obj) => ({
|
|
433
|
-
...obj,
|
|
434
|
-
});
|
|
435
|
-
export const UpdateSchedulingPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
});
|
|
438
|
-
export const UpdateSchedulingPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
439
|
-
...obj,
|
|
440
|
-
});
|
|
145
|
+
export var ArrayPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
export var ArrayPropertiesDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var ArrayPropertiesSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
|
+
export var NetworkInterfaceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
export var AttemptContainerDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
+
export var AttemptDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
+
export var CancelJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
+
export var CancelJobResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
export var Ec2ConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
+
export var LaunchTemplateSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
|
+
export var ComputeResourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
+
export var CreateComputeEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
+
export var CreateComputeEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
158
|
+
export var ComputeEnvironmentOrderFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
|
+
export var CreateJobQueueRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
|
+
export var CreateJobQueueResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
+
export var ShareAttributesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
|
+
export var FairsharePolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
+
export var CreateSchedulingPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
164
|
+
export var CreateSchedulingPolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
export var DeleteComputeEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
166
|
+
export var DeleteComputeEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
+
export var DeleteJobQueueRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
export var DeleteJobQueueResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
+
export var DeleteSchedulingPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
|
+
export var DeleteSchedulingPolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
|
+
export var DeregisterJobDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
export var DeregisterJobDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
+
export var DescribeComputeEnvironmentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
export var UpdatePolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
export var ComputeEnvironmentDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
|
+
export var DescribeComputeEnvironmentsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
export var DescribeJobDefinitionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
export var KeyValuePairFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var FargatePlatformConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var DeviceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var TmpfsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
export var LinuxParametersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var SecretFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var LogConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var MountPointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
export var NetworkConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
export var ResourceRequirementFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
+
export var UlimitFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
export var EFSAuthorizationConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
export var EFSVolumeConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var HostFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var VolumeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var ContainerPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var NodeRangePropertyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var NodePropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var EvaluateOnExitFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var RetryStrategyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var JobTimeoutFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
+
export var JobDefinitionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
+
export var DescribeJobDefinitionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
+
export var DescribeJobQueuesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
|
+
export var JobQueueDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
+
export var DescribeJobQueuesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
+
export var DescribeJobsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
+
export var ContainerDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
export var JobDependencyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
export var NodeDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
+
export var JobDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
export var DescribeJobsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
export var DescribeSchedulingPoliciesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
+
export var SchedulingPolicyDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var DescribeSchedulingPoliciesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
export var KeyValuesPairFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
export var ListJobsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
export var ContainerSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
export var NodePropertiesSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
export var JobSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
+
export var ListJobsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
+
export var ListSchedulingPoliciesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
export var SchedulingPolicyListingDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
export var ListSchedulingPoliciesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var RegisterJobDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
export var RegisterJobDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
+
export var ContainerOverridesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var NodePropertyOverrideFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
export var NodeOverridesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
export var SubmitJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
+
export var SubmitJobResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
export var TerminateJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
+
export var TerminateJobResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var ComputeResourceUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
+
export var UpdateComputeEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
|
+
export var UpdateComputeEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
+
export var UpdateJobQueueRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
+
export var UpdateJobQueueResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
242
|
+
export var UpdateSchedulingPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
243
|
+
export var UpdateSchedulingPolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { Batch } from "../Batch";
|
|
2
3
|
import { BatchClient } from "../BatchClient";
|
|
3
4
|
import { DescribeComputeEnvironmentsCommand, } from "../commands/DescribeComputeEnvironmentsCommand";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeComputeEnvironmentsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.describeComputeEnvironments.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.nextToken = token;
|
|
16
|
-
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof Batch) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof BatchClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected Batch | BatchClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateDescribeComputeEnvironments(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateDescribeComputeEnvironments_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Batch)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof BatchClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Batch | BatchClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.nextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|