@aws-sdk/client-batch 3.490.0 → 3.495.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/Batch.js +1 -59
- package/dist-cjs/BatchClient.js +1 -43
- package/dist-cjs/commands/CancelJobCommand.js +1 -28
- package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/CreateJobQueueCommand.js +1 -28
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/DeleteJobQueueCommand.js +1 -28
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +1 -28
- package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +1 -28
- package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/DescribeJobQueuesCommand.js +1 -28
- package/dist-cjs/commands/DescribeJobsCommand.js +1 -28
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListJobsCommand.js +1 -28
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RegisterJobDefinitionCommand.js +1 -28
- package/dist-cjs/commands/SubmitJobCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TerminateJobCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/UpdateJobQueueCommand.js +1 -28
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -27
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2241 -11
- package/dist-cjs/models/BatchServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -135
- package/dist-cjs/pagination/DescribeComputeEnvironmentsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeJobDefinitionsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeJobQueuesPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSchedulingPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1411
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2242 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ArrayJobDependency: () => ArrayJobDependency,
|
|
25
|
+
AssignPublicIp: () => AssignPublicIp,
|
|
26
|
+
Batch: () => Batch,
|
|
27
|
+
BatchClient: () => BatchClient,
|
|
28
|
+
BatchServiceException: () => BatchServiceException,
|
|
29
|
+
CEState: () => CEState,
|
|
30
|
+
CEStatus: () => CEStatus,
|
|
31
|
+
CEType: () => CEType,
|
|
32
|
+
CRAllocationStrategy: () => CRAllocationStrategy,
|
|
33
|
+
CRType: () => CRType,
|
|
34
|
+
CRUpdateAllocationStrategy: () => CRUpdateAllocationStrategy,
|
|
35
|
+
CancelJobCommand: () => CancelJobCommand,
|
|
36
|
+
ClientException: () => ClientException,
|
|
37
|
+
CreateComputeEnvironmentCommand: () => CreateComputeEnvironmentCommand,
|
|
38
|
+
CreateJobQueueCommand: () => CreateJobQueueCommand,
|
|
39
|
+
CreateSchedulingPolicyCommand: () => CreateSchedulingPolicyCommand,
|
|
40
|
+
DeleteComputeEnvironmentCommand: () => DeleteComputeEnvironmentCommand,
|
|
41
|
+
DeleteJobQueueCommand: () => DeleteJobQueueCommand,
|
|
42
|
+
DeleteSchedulingPolicyCommand: () => DeleteSchedulingPolicyCommand,
|
|
43
|
+
DeregisterJobDefinitionCommand: () => DeregisterJobDefinitionCommand,
|
|
44
|
+
DescribeComputeEnvironmentsCommand: () => DescribeComputeEnvironmentsCommand,
|
|
45
|
+
DescribeJobDefinitionsCommand: () => DescribeJobDefinitionsCommand,
|
|
46
|
+
DescribeJobQueuesCommand: () => DescribeJobQueuesCommand,
|
|
47
|
+
DescribeJobsCommand: () => DescribeJobsCommand,
|
|
48
|
+
DescribeSchedulingPoliciesCommand: () => DescribeSchedulingPoliciesCommand,
|
|
49
|
+
DeviceCgroupPermission: () => DeviceCgroupPermission,
|
|
50
|
+
EFSAuthorizationConfigIAM: () => EFSAuthorizationConfigIAM,
|
|
51
|
+
EFSTransitEncryption: () => EFSTransitEncryption,
|
|
52
|
+
JQState: () => JQState,
|
|
53
|
+
JQStatus: () => JQStatus,
|
|
54
|
+
JobDefinitionType: () => JobDefinitionType,
|
|
55
|
+
JobStatus: () => JobStatus,
|
|
56
|
+
ListJobsCommand: () => ListJobsCommand,
|
|
57
|
+
ListSchedulingPoliciesCommand: () => ListSchedulingPoliciesCommand,
|
|
58
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
59
|
+
LogDriver: () => LogDriver,
|
|
60
|
+
OrchestrationType: () => OrchestrationType,
|
|
61
|
+
PlatformCapability: () => PlatformCapability,
|
|
62
|
+
RegisterJobDefinitionCommand: () => RegisterJobDefinitionCommand,
|
|
63
|
+
ResourceType: () => ResourceType,
|
|
64
|
+
RetryAction: () => RetryAction,
|
|
65
|
+
ServerException: () => ServerException,
|
|
66
|
+
SubmitJobCommand: () => SubmitJobCommand,
|
|
67
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
68
|
+
TerminateJobCommand: () => TerminateJobCommand,
|
|
69
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
70
|
+
UpdateComputeEnvironmentCommand: () => UpdateComputeEnvironmentCommand,
|
|
71
|
+
UpdateJobQueueCommand: () => UpdateJobQueueCommand,
|
|
72
|
+
UpdateSchedulingPolicyCommand: () => UpdateSchedulingPolicyCommand,
|
|
73
|
+
__Client: () => import_smithy_client.Client,
|
|
74
|
+
paginateDescribeComputeEnvironments: () => paginateDescribeComputeEnvironments,
|
|
75
|
+
paginateDescribeJobDefinitions: () => paginateDescribeJobDefinitions,
|
|
76
|
+
paginateDescribeJobQueues: () => paginateDescribeJobQueues,
|
|
77
|
+
paginateListJobs: () => paginateListJobs,
|
|
78
|
+
paginateListSchedulingPolicies: () => paginateListSchedulingPolicies
|
|
79
|
+
});
|
|
80
|
+
module.exports = __toCommonJS(src_exports);
|
|
81
|
+
|
|
82
|
+
// src/BatchClient.ts
|
|
83
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
84
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
85
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
86
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
87
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
88
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
89
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
90
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
91
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
// src/endpoint/EndpointParameters.ts
|
|
95
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
96
|
+
return {
|
|
97
|
+
...options,
|
|
98
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
99
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
100
|
+
defaultSigningName: "batch"
|
|
101
|
+
};
|
|
102
|
+
}, "resolveClientEndpointParameters");
|
|
103
|
+
var commonParams = {
|
|
104
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
105
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
106
|
+
Region: { type: "builtInParams", name: "region" },
|
|
107
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
// src/BatchClient.ts
|
|
111
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
112
|
+
|
|
113
|
+
// src/runtimeExtensions.ts
|
|
114
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
115
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
116
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
117
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
118
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
119
|
+
const extensionConfiguration = {
|
|
120
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
121
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
122
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
123
|
+
};
|
|
124
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
125
|
+
return {
|
|
126
|
+
...runtimeConfig,
|
|
127
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
128
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
129
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
130
|
+
};
|
|
131
|
+
}, "resolveRuntimeExtensions");
|
|
132
|
+
|
|
133
|
+
// src/BatchClient.ts
|
|
134
|
+
var _BatchClient = class _BatchClient extends import_smithy_client.Client {
|
|
135
|
+
constructor(...[configuration]) {
|
|
136
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
137
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
138
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
139
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
140
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
141
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
142
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
143
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
144
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
145
|
+
super(_config_8);
|
|
146
|
+
this.config = _config_8;
|
|
147
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
148
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
149
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
150
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
151
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
152
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
153
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
157
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
158
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
159
|
+
*/
|
|
160
|
+
destroy() {
|
|
161
|
+
super.destroy();
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
__name(_BatchClient, "BatchClient");
|
|
165
|
+
var BatchClient = _BatchClient;
|
|
166
|
+
|
|
167
|
+
// src/Batch.ts
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
// src/commands/CancelJobCommand.ts
|
|
171
|
+
|
|
172
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
173
|
+
|
|
174
|
+
var import_types = require("@smithy/types");
|
|
175
|
+
|
|
176
|
+
// src/protocols/Aws_restJson1.ts
|
|
177
|
+
var import_core = require("@smithy/core");
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
// src/models/BatchServiceException.ts
|
|
181
|
+
|
|
182
|
+
var _BatchServiceException = class _BatchServiceException extends import_smithy_client.ServiceException {
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(options) {
|
|
187
|
+
super(options);
|
|
188
|
+
Object.setPrototypeOf(this, _BatchServiceException.prototype);
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
__name(_BatchServiceException, "BatchServiceException");
|
|
192
|
+
var BatchServiceException = _BatchServiceException;
|
|
193
|
+
|
|
194
|
+
// src/models/models_0.ts
|
|
195
|
+
var ArrayJobDependency = {
|
|
196
|
+
N_TO_N: "N_TO_N",
|
|
197
|
+
SEQUENTIAL: "SEQUENTIAL"
|
|
198
|
+
};
|
|
199
|
+
var AssignPublicIp = {
|
|
200
|
+
DISABLED: "DISABLED",
|
|
201
|
+
ENABLED: "ENABLED"
|
|
202
|
+
};
|
|
203
|
+
var _ClientException = class _ClientException extends BatchServiceException {
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
constructor(opts) {
|
|
208
|
+
super({
|
|
209
|
+
name: "ClientException",
|
|
210
|
+
$fault: "client",
|
|
211
|
+
...opts
|
|
212
|
+
});
|
|
213
|
+
this.name = "ClientException";
|
|
214
|
+
this.$fault = "client";
|
|
215
|
+
Object.setPrototypeOf(this, _ClientException.prototype);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
__name(_ClientException, "ClientException");
|
|
219
|
+
var ClientException = _ClientException;
|
|
220
|
+
var _ServerException = class _ServerException extends BatchServiceException {
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "ServerException",
|
|
227
|
+
$fault: "server",
|
|
228
|
+
...opts
|
|
229
|
+
});
|
|
230
|
+
this.name = "ServerException";
|
|
231
|
+
this.$fault = "server";
|
|
232
|
+
Object.setPrototypeOf(this, _ServerException.prototype);
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
__name(_ServerException, "ServerException");
|
|
236
|
+
var ServerException = _ServerException;
|
|
237
|
+
var CRAllocationStrategy = {
|
|
238
|
+
BEST_FIT: "BEST_FIT",
|
|
239
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
240
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
241
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED"
|
|
242
|
+
};
|
|
243
|
+
var CRType = {
|
|
244
|
+
EC2: "EC2",
|
|
245
|
+
FARGATE: "FARGATE",
|
|
246
|
+
FARGATE_SPOT: "FARGATE_SPOT",
|
|
247
|
+
SPOT: "SPOT"
|
|
248
|
+
};
|
|
249
|
+
var CEState = {
|
|
250
|
+
DISABLED: "DISABLED",
|
|
251
|
+
ENABLED: "ENABLED"
|
|
252
|
+
};
|
|
253
|
+
var CEType = {
|
|
254
|
+
MANAGED: "MANAGED",
|
|
255
|
+
UNMANAGED: "UNMANAGED"
|
|
256
|
+
};
|
|
257
|
+
var JQState = {
|
|
258
|
+
DISABLED: "DISABLED",
|
|
259
|
+
ENABLED: "ENABLED"
|
|
260
|
+
};
|
|
261
|
+
var OrchestrationType = {
|
|
262
|
+
ECS: "ECS",
|
|
263
|
+
EKS: "EKS"
|
|
264
|
+
};
|
|
265
|
+
var CEStatus = {
|
|
266
|
+
CREATING: "CREATING",
|
|
267
|
+
DELETED: "DELETED",
|
|
268
|
+
DELETING: "DELETING",
|
|
269
|
+
INVALID: "INVALID",
|
|
270
|
+
UPDATING: "UPDATING",
|
|
271
|
+
VALID: "VALID"
|
|
272
|
+
};
|
|
273
|
+
var DeviceCgroupPermission = {
|
|
274
|
+
MKNOD: "MKNOD",
|
|
275
|
+
READ: "READ",
|
|
276
|
+
WRITE: "WRITE"
|
|
277
|
+
};
|
|
278
|
+
var LogDriver = {
|
|
279
|
+
AWSLOGS: "awslogs",
|
|
280
|
+
FLUENTD: "fluentd",
|
|
281
|
+
GELF: "gelf",
|
|
282
|
+
JOURNALD: "journald",
|
|
283
|
+
JSON_FILE: "json-file",
|
|
284
|
+
SPLUNK: "splunk",
|
|
285
|
+
SYSLOG: "syslog"
|
|
286
|
+
};
|
|
287
|
+
var ResourceType = {
|
|
288
|
+
GPU: "GPU",
|
|
289
|
+
MEMORY: "MEMORY",
|
|
290
|
+
VCPU: "VCPU"
|
|
291
|
+
};
|
|
292
|
+
var EFSAuthorizationConfigIAM = {
|
|
293
|
+
DISABLED: "DISABLED",
|
|
294
|
+
ENABLED: "ENABLED"
|
|
295
|
+
};
|
|
296
|
+
var EFSTransitEncryption = {
|
|
297
|
+
DISABLED: "DISABLED",
|
|
298
|
+
ENABLED: "ENABLED"
|
|
299
|
+
};
|
|
300
|
+
var PlatformCapability = {
|
|
301
|
+
EC2: "EC2",
|
|
302
|
+
FARGATE: "FARGATE"
|
|
303
|
+
};
|
|
304
|
+
var RetryAction = {
|
|
305
|
+
EXIT: "EXIT",
|
|
306
|
+
RETRY: "RETRY"
|
|
307
|
+
};
|
|
308
|
+
var JQStatus = {
|
|
309
|
+
CREATING: "CREATING",
|
|
310
|
+
DELETED: "DELETED",
|
|
311
|
+
DELETING: "DELETING",
|
|
312
|
+
INVALID: "INVALID",
|
|
313
|
+
UPDATING: "UPDATING",
|
|
314
|
+
VALID: "VALID"
|
|
315
|
+
};
|
|
316
|
+
var JobStatus = {
|
|
317
|
+
FAILED: "FAILED",
|
|
318
|
+
PENDING: "PENDING",
|
|
319
|
+
RUNNABLE: "RUNNABLE",
|
|
320
|
+
RUNNING: "RUNNING",
|
|
321
|
+
STARTING: "STARTING",
|
|
322
|
+
SUBMITTED: "SUBMITTED",
|
|
323
|
+
SUCCEEDED: "SUCCEEDED"
|
|
324
|
+
};
|
|
325
|
+
var JobDefinitionType = {
|
|
326
|
+
Container: "container",
|
|
327
|
+
Multinode: "multinode"
|
|
328
|
+
};
|
|
329
|
+
var CRUpdateAllocationStrategy = {
|
|
330
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
331
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
332
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED"
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
// src/protocols/Aws_restJson1.ts
|
|
336
|
+
var se_CancelJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
337
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
338
|
+
const headers = {
|
|
339
|
+
"content-type": "application/json"
|
|
340
|
+
};
|
|
341
|
+
b.bp("/v1/canceljob");
|
|
342
|
+
let body;
|
|
343
|
+
body = JSON.stringify(
|
|
344
|
+
(0, import_smithy_client.take)(input, {
|
|
345
|
+
jobId: [],
|
|
346
|
+
reason: []
|
|
347
|
+
})
|
|
348
|
+
);
|
|
349
|
+
b.m("POST").h(headers).b(body);
|
|
350
|
+
return b.build();
|
|
351
|
+
}, "se_CancelJobCommand");
|
|
352
|
+
var se_CreateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
353
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
354
|
+
const headers = {
|
|
355
|
+
"content-type": "application/json"
|
|
356
|
+
};
|
|
357
|
+
b.bp("/v1/createcomputeenvironment");
|
|
358
|
+
let body;
|
|
359
|
+
body = JSON.stringify(
|
|
360
|
+
(0, import_smithy_client.take)(input, {
|
|
361
|
+
computeEnvironmentName: [],
|
|
362
|
+
computeResources: (_) => (0, import_smithy_client._json)(_),
|
|
363
|
+
eksConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
364
|
+
serviceRole: [],
|
|
365
|
+
state: [],
|
|
366
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
367
|
+
type: [],
|
|
368
|
+
unmanagedvCpus: []
|
|
369
|
+
})
|
|
370
|
+
);
|
|
371
|
+
b.m("POST").h(headers).b(body);
|
|
372
|
+
return b.build();
|
|
373
|
+
}, "se_CreateComputeEnvironmentCommand");
|
|
374
|
+
var se_CreateJobQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
375
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
376
|
+
const headers = {
|
|
377
|
+
"content-type": "application/json"
|
|
378
|
+
};
|
|
379
|
+
b.bp("/v1/createjobqueue");
|
|
380
|
+
let body;
|
|
381
|
+
body = JSON.stringify(
|
|
382
|
+
(0, import_smithy_client.take)(input, {
|
|
383
|
+
computeEnvironmentOrder: (_) => (0, import_smithy_client._json)(_),
|
|
384
|
+
jobQueueName: [],
|
|
385
|
+
priority: [],
|
|
386
|
+
schedulingPolicyArn: [],
|
|
387
|
+
state: [],
|
|
388
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
389
|
+
})
|
|
390
|
+
);
|
|
391
|
+
b.m("POST").h(headers).b(body);
|
|
392
|
+
return b.build();
|
|
393
|
+
}, "se_CreateJobQueueCommand");
|
|
394
|
+
var se_CreateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
395
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
396
|
+
const headers = {
|
|
397
|
+
"content-type": "application/json"
|
|
398
|
+
};
|
|
399
|
+
b.bp("/v1/createschedulingpolicy");
|
|
400
|
+
let body;
|
|
401
|
+
body = JSON.stringify(
|
|
402
|
+
(0, import_smithy_client.take)(input, {
|
|
403
|
+
fairsharePolicy: (_) => se_FairsharePolicy(_, context),
|
|
404
|
+
name: [],
|
|
405
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
406
|
+
})
|
|
407
|
+
);
|
|
408
|
+
b.m("POST").h(headers).b(body);
|
|
409
|
+
return b.build();
|
|
410
|
+
}, "se_CreateSchedulingPolicyCommand");
|
|
411
|
+
var se_DeleteComputeEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
412
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
413
|
+
const headers = {
|
|
414
|
+
"content-type": "application/json"
|
|
415
|
+
};
|
|
416
|
+
b.bp("/v1/deletecomputeenvironment");
|
|
417
|
+
let body;
|
|
418
|
+
body = JSON.stringify(
|
|
419
|
+
(0, import_smithy_client.take)(input, {
|
|
420
|
+
computeEnvironment: []
|
|
421
|
+
})
|
|
422
|
+
);
|
|
423
|
+
b.m("POST").h(headers).b(body);
|
|
424
|
+
return b.build();
|
|
425
|
+
}, "se_DeleteComputeEnvironmentCommand");
|
|
426
|
+
var se_DeleteJobQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
427
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
428
|
+
const headers = {
|
|
429
|
+
"content-type": "application/json"
|
|
430
|
+
};
|
|
431
|
+
b.bp("/v1/deletejobqueue");
|
|
432
|
+
let body;
|
|
433
|
+
body = JSON.stringify(
|
|
434
|
+
(0, import_smithy_client.take)(input, {
|
|
435
|
+
jobQueue: []
|
|
436
|
+
})
|
|
437
|
+
);
|
|
438
|
+
b.m("POST").h(headers).b(body);
|
|
439
|
+
return b.build();
|
|
440
|
+
}, "se_DeleteJobQueueCommand");
|
|
441
|
+
var se_DeleteSchedulingPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
442
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
443
|
+
const headers = {
|
|
444
|
+
"content-type": "application/json"
|
|
445
|
+
};
|
|
446
|
+
b.bp("/v1/deleteschedulingpolicy");
|
|
447
|
+
let body;
|
|
448
|
+
body = JSON.stringify(
|
|
449
|
+
(0, import_smithy_client.take)(input, {
|
|
450
|
+
arn: []
|
|
451
|
+
})
|
|
452
|
+
);
|
|
453
|
+
b.m("POST").h(headers).b(body);
|
|
454
|
+
return b.build();
|
|
455
|
+
}, "se_DeleteSchedulingPolicyCommand");
|
|
456
|
+
var se_DeregisterJobDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
457
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
458
|
+
const headers = {
|
|
459
|
+
"content-type": "application/json"
|
|
460
|
+
};
|
|
461
|
+
b.bp("/v1/deregisterjobdefinition");
|
|
462
|
+
let body;
|
|
463
|
+
body = JSON.stringify(
|
|
464
|
+
(0, import_smithy_client.take)(input, {
|
|
465
|
+
jobDefinition: []
|
|
466
|
+
})
|
|
467
|
+
);
|
|
468
|
+
b.m("POST").h(headers).b(body);
|
|
469
|
+
return b.build();
|
|
470
|
+
}, "se_DeregisterJobDefinitionCommand");
|
|
471
|
+
var se_DescribeComputeEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
472
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
473
|
+
const headers = {
|
|
474
|
+
"content-type": "application/json"
|
|
475
|
+
};
|
|
476
|
+
b.bp("/v1/describecomputeenvironments");
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify(
|
|
479
|
+
(0, import_smithy_client.take)(input, {
|
|
480
|
+
computeEnvironments: (_) => (0, import_smithy_client._json)(_),
|
|
481
|
+
maxResults: [],
|
|
482
|
+
nextToken: []
|
|
483
|
+
})
|
|
484
|
+
);
|
|
485
|
+
b.m("POST").h(headers).b(body);
|
|
486
|
+
return b.build();
|
|
487
|
+
}, "se_DescribeComputeEnvironmentsCommand");
|
|
488
|
+
var se_DescribeJobDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
489
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
490
|
+
const headers = {
|
|
491
|
+
"content-type": "application/json"
|
|
492
|
+
};
|
|
493
|
+
b.bp("/v1/describejobdefinitions");
|
|
494
|
+
let body;
|
|
495
|
+
body = JSON.stringify(
|
|
496
|
+
(0, import_smithy_client.take)(input, {
|
|
497
|
+
jobDefinitionName: [],
|
|
498
|
+
jobDefinitions: (_) => (0, import_smithy_client._json)(_),
|
|
499
|
+
maxResults: [],
|
|
500
|
+
nextToken: [],
|
|
501
|
+
status: []
|
|
502
|
+
})
|
|
503
|
+
);
|
|
504
|
+
b.m("POST").h(headers).b(body);
|
|
505
|
+
return b.build();
|
|
506
|
+
}, "se_DescribeJobDefinitionsCommand");
|
|
507
|
+
var se_DescribeJobQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
508
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
509
|
+
const headers = {
|
|
510
|
+
"content-type": "application/json"
|
|
511
|
+
};
|
|
512
|
+
b.bp("/v1/describejobqueues");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(
|
|
515
|
+
(0, import_smithy_client.take)(input, {
|
|
516
|
+
jobQueues: (_) => (0, import_smithy_client._json)(_),
|
|
517
|
+
maxResults: [],
|
|
518
|
+
nextToken: []
|
|
519
|
+
})
|
|
520
|
+
);
|
|
521
|
+
b.m("POST").h(headers).b(body);
|
|
522
|
+
return b.build();
|
|
523
|
+
}, "se_DescribeJobQueuesCommand");
|
|
524
|
+
var se_DescribeJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
525
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
526
|
+
const headers = {
|
|
527
|
+
"content-type": "application/json"
|
|
528
|
+
};
|
|
529
|
+
b.bp("/v1/describejobs");
|
|
530
|
+
let body;
|
|
531
|
+
body = JSON.stringify(
|
|
532
|
+
(0, import_smithy_client.take)(input, {
|
|
533
|
+
jobs: (_) => (0, import_smithy_client._json)(_)
|
|
534
|
+
})
|
|
535
|
+
);
|
|
536
|
+
b.m("POST").h(headers).b(body);
|
|
537
|
+
return b.build();
|
|
538
|
+
}, "se_DescribeJobsCommand");
|
|
539
|
+
var se_DescribeSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
540
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
541
|
+
const headers = {
|
|
542
|
+
"content-type": "application/json"
|
|
543
|
+
};
|
|
544
|
+
b.bp("/v1/describeschedulingpolicies");
|
|
545
|
+
let body;
|
|
546
|
+
body = JSON.stringify(
|
|
547
|
+
(0, import_smithy_client.take)(input, {
|
|
548
|
+
arns: (_) => (0, import_smithy_client._json)(_)
|
|
549
|
+
})
|
|
550
|
+
);
|
|
551
|
+
b.m("POST").h(headers).b(body);
|
|
552
|
+
return b.build();
|
|
553
|
+
}, "se_DescribeSchedulingPoliciesCommand");
|
|
554
|
+
var se_ListJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
555
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
556
|
+
const headers = {
|
|
557
|
+
"content-type": "application/json"
|
|
558
|
+
};
|
|
559
|
+
b.bp("/v1/listjobs");
|
|
560
|
+
let body;
|
|
561
|
+
body = JSON.stringify(
|
|
562
|
+
(0, import_smithy_client.take)(input, {
|
|
563
|
+
arrayJobId: [],
|
|
564
|
+
filters: (_) => (0, import_smithy_client._json)(_),
|
|
565
|
+
jobQueue: [],
|
|
566
|
+
jobStatus: [],
|
|
567
|
+
maxResults: [],
|
|
568
|
+
multiNodeJobId: [],
|
|
569
|
+
nextToken: []
|
|
570
|
+
})
|
|
571
|
+
);
|
|
572
|
+
b.m("POST").h(headers).b(body);
|
|
573
|
+
return b.build();
|
|
574
|
+
}, "se_ListJobsCommand");
|
|
575
|
+
var se_ListSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
576
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
577
|
+
const headers = {
|
|
578
|
+
"content-type": "application/json"
|
|
579
|
+
};
|
|
580
|
+
b.bp("/v1/listschedulingpolicies");
|
|
581
|
+
let body;
|
|
582
|
+
body = JSON.stringify(
|
|
583
|
+
(0, import_smithy_client.take)(input, {
|
|
584
|
+
maxResults: [],
|
|
585
|
+
nextToken: []
|
|
586
|
+
})
|
|
587
|
+
);
|
|
588
|
+
b.m("POST").h(headers).b(body);
|
|
589
|
+
return b.build();
|
|
590
|
+
}, "se_ListSchedulingPoliciesCommand");
|
|
591
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
592
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
593
|
+
const headers = {};
|
|
594
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
595
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
596
|
+
let body;
|
|
597
|
+
b.m("GET").h(headers).b(body);
|
|
598
|
+
return b.build();
|
|
599
|
+
}, "se_ListTagsForResourceCommand");
|
|
600
|
+
var se_RegisterJobDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
601
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
602
|
+
const headers = {
|
|
603
|
+
"content-type": "application/json"
|
|
604
|
+
};
|
|
605
|
+
b.bp("/v1/registerjobdefinition");
|
|
606
|
+
let body;
|
|
607
|
+
body = JSON.stringify(
|
|
608
|
+
(0, import_smithy_client.take)(input, {
|
|
609
|
+
containerProperties: (_) => (0, import_smithy_client._json)(_),
|
|
610
|
+
eksProperties: (_) => (0, import_smithy_client._json)(_),
|
|
611
|
+
jobDefinitionName: [],
|
|
612
|
+
nodeProperties: (_) => (0, import_smithy_client._json)(_),
|
|
613
|
+
parameters: (_) => (0, import_smithy_client._json)(_),
|
|
614
|
+
platformCapabilities: (_) => (0, import_smithy_client._json)(_),
|
|
615
|
+
propagateTags: [],
|
|
616
|
+
retryStrategy: (_) => (0, import_smithy_client._json)(_),
|
|
617
|
+
schedulingPriority: [],
|
|
618
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
619
|
+
timeout: (_) => (0, import_smithy_client._json)(_),
|
|
620
|
+
type: []
|
|
621
|
+
})
|
|
622
|
+
);
|
|
623
|
+
b.m("POST").h(headers).b(body);
|
|
624
|
+
return b.build();
|
|
625
|
+
}, "se_RegisterJobDefinitionCommand");
|
|
626
|
+
var se_SubmitJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
627
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
628
|
+
const headers = {
|
|
629
|
+
"content-type": "application/json"
|
|
630
|
+
};
|
|
631
|
+
b.bp("/v1/submitjob");
|
|
632
|
+
let body;
|
|
633
|
+
body = JSON.stringify(
|
|
634
|
+
(0, import_smithy_client.take)(input, {
|
|
635
|
+
arrayProperties: (_) => (0, import_smithy_client._json)(_),
|
|
636
|
+
containerOverrides: (_) => (0, import_smithy_client._json)(_),
|
|
637
|
+
dependsOn: (_) => (0, import_smithy_client._json)(_),
|
|
638
|
+
eksPropertiesOverride: (_) => (0, import_smithy_client._json)(_),
|
|
639
|
+
jobDefinition: [],
|
|
640
|
+
jobName: [],
|
|
641
|
+
jobQueue: [],
|
|
642
|
+
nodeOverrides: (_) => (0, import_smithy_client._json)(_),
|
|
643
|
+
parameters: (_) => (0, import_smithy_client._json)(_),
|
|
644
|
+
propagateTags: [],
|
|
645
|
+
retryStrategy: (_) => (0, import_smithy_client._json)(_),
|
|
646
|
+
schedulingPriorityOverride: [],
|
|
647
|
+
shareIdentifier: [],
|
|
648
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
649
|
+
timeout: (_) => (0, import_smithy_client._json)(_)
|
|
650
|
+
})
|
|
651
|
+
);
|
|
652
|
+
b.m("POST").h(headers).b(body);
|
|
653
|
+
return b.build();
|
|
654
|
+
}, "se_SubmitJobCommand");
|
|
655
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
656
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
657
|
+
const headers = {
|
|
658
|
+
"content-type": "application/json"
|
|
659
|
+
};
|
|
660
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
661
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
662
|
+
let body;
|
|
663
|
+
body = JSON.stringify(
|
|
664
|
+
(0, import_smithy_client.take)(input, {
|
|
665
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
666
|
+
})
|
|
667
|
+
);
|
|
668
|
+
b.m("POST").h(headers).b(body);
|
|
669
|
+
return b.build();
|
|
670
|
+
}, "se_TagResourceCommand");
|
|
671
|
+
var se_TerminateJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
672
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
673
|
+
const headers = {
|
|
674
|
+
"content-type": "application/json"
|
|
675
|
+
};
|
|
676
|
+
b.bp("/v1/terminatejob");
|
|
677
|
+
let body;
|
|
678
|
+
body = JSON.stringify(
|
|
679
|
+
(0, import_smithy_client.take)(input, {
|
|
680
|
+
jobId: [],
|
|
681
|
+
reason: []
|
|
682
|
+
})
|
|
683
|
+
);
|
|
684
|
+
b.m("POST").h(headers).b(body);
|
|
685
|
+
return b.build();
|
|
686
|
+
}, "se_TerminateJobCommand");
|
|
687
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
688
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
689
|
+
const headers = {};
|
|
690
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
691
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
692
|
+
const query = (0, import_smithy_client.map)({
|
|
693
|
+
[_tK]: [
|
|
694
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
695
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
696
|
+
]
|
|
697
|
+
});
|
|
698
|
+
let body;
|
|
699
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
700
|
+
return b.build();
|
|
701
|
+
}, "se_UntagResourceCommand");
|
|
702
|
+
var se_UpdateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
703
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
704
|
+
const headers = {
|
|
705
|
+
"content-type": "application/json"
|
|
706
|
+
};
|
|
707
|
+
b.bp("/v1/updatecomputeenvironment");
|
|
708
|
+
let body;
|
|
709
|
+
body = JSON.stringify(
|
|
710
|
+
(0, import_smithy_client.take)(input, {
|
|
711
|
+
computeEnvironment: [],
|
|
712
|
+
computeResources: (_) => (0, import_smithy_client._json)(_),
|
|
713
|
+
serviceRole: [],
|
|
714
|
+
state: [],
|
|
715
|
+
unmanagedvCpus: [],
|
|
716
|
+
updatePolicy: (_) => (0, import_smithy_client._json)(_)
|
|
717
|
+
})
|
|
718
|
+
);
|
|
719
|
+
b.m("POST").h(headers).b(body);
|
|
720
|
+
return b.build();
|
|
721
|
+
}, "se_UpdateComputeEnvironmentCommand");
|
|
722
|
+
var se_UpdateJobQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
723
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
724
|
+
const headers = {
|
|
725
|
+
"content-type": "application/json"
|
|
726
|
+
};
|
|
727
|
+
b.bp("/v1/updatejobqueue");
|
|
728
|
+
let body;
|
|
729
|
+
body = JSON.stringify(
|
|
730
|
+
(0, import_smithy_client.take)(input, {
|
|
731
|
+
computeEnvironmentOrder: (_) => (0, import_smithy_client._json)(_),
|
|
732
|
+
jobQueue: [],
|
|
733
|
+
priority: [],
|
|
734
|
+
schedulingPolicyArn: [],
|
|
735
|
+
state: []
|
|
736
|
+
})
|
|
737
|
+
);
|
|
738
|
+
b.m("POST").h(headers).b(body);
|
|
739
|
+
return b.build();
|
|
740
|
+
}, "se_UpdateJobQueueCommand");
|
|
741
|
+
var se_UpdateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
742
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
743
|
+
const headers = {
|
|
744
|
+
"content-type": "application/json"
|
|
745
|
+
};
|
|
746
|
+
b.bp("/v1/updateschedulingpolicy");
|
|
747
|
+
let body;
|
|
748
|
+
body = JSON.stringify(
|
|
749
|
+
(0, import_smithy_client.take)(input, {
|
|
750
|
+
arn: [],
|
|
751
|
+
fairsharePolicy: (_) => se_FairsharePolicy(_, context)
|
|
752
|
+
})
|
|
753
|
+
);
|
|
754
|
+
b.m("POST").h(headers).b(body);
|
|
755
|
+
return b.build();
|
|
756
|
+
}, "se_UpdateSchedulingPolicyCommand");
|
|
757
|
+
var de_CancelJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
758
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
|
+
return de_CancelJobCommandError(output, context);
|
|
760
|
+
}
|
|
761
|
+
const contents = (0, import_smithy_client.map)({
|
|
762
|
+
$metadata: deserializeMetadata(output)
|
|
763
|
+
});
|
|
764
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
765
|
+
return contents;
|
|
766
|
+
}, "de_CancelJobCommand");
|
|
767
|
+
var de_CancelJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
768
|
+
const parsedOutput = {
|
|
769
|
+
...output,
|
|
770
|
+
body: await parseErrorBody(output.body, context)
|
|
771
|
+
};
|
|
772
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
773
|
+
switch (errorCode) {
|
|
774
|
+
case "ClientException":
|
|
775
|
+
case "com.amazonaws.batch#ClientException":
|
|
776
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
777
|
+
case "ServerException":
|
|
778
|
+
case "com.amazonaws.batch#ServerException":
|
|
779
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
780
|
+
default:
|
|
781
|
+
const parsedBody = parsedOutput.body;
|
|
782
|
+
return throwDefaultError({
|
|
783
|
+
output,
|
|
784
|
+
parsedBody,
|
|
785
|
+
errorCode
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
}, "de_CancelJobCommandError");
|
|
789
|
+
var de_CreateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
790
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
791
|
+
return de_CreateComputeEnvironmentCommandError(output, context);
|
|
792
|
+
}
|
|
793
|
+
const contents = (0, import_smithy_client.map)({
|
|
794
|
+
$metadata: deserializeMetadata(output)
|
|
795
|
+
});
|
|
796
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
797
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
798
|
+
computeEnvironmentArn: import_smithy_client.expectString,
|
|
799
|
+
computeEnvironmentName: import_smithy_client.expectString
|
|
800
|
+
});
|
|
801
|
+
Object.assign(contents, doc);
|
|
802
|
+
return contents;
|
|
803
|
+
}, "de_CreateComputeEnvironmentCommand");
|
|
804
|
+
var de_CreateComputeEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
805
|
+
const parsedOutput = {
|
|
806
|
+
...output,
|
|
807
|
+
body: await parseErrorBody(output.body, context)
|
|
808
|
+
};
|
|
809
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
810
|
+
switch (errorCode) {
|
|
811
|
+
case "ClientException":
|
|
812
|
+
case "com.amazonaws.batch#ClientException":
|
|
813
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
814
|
+
case "ServerException":
|
|
815
|
+
case "com.amazonaws.batch#ServerException":
|
|
816
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
817
|
+
default:
|
|
818
|
+
const parsedBody = parsedOutput.body;
|
|
819
|
+
return throwDefaultError({
|
|
820
|
+
output,
|
|
821
|
+
parsedBody,
|
|
822
|
+
errorCode
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
}, "de_CreateComputeEnvironmentCommandError");
|
|
826
|
+
var de_CreateJobQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
827
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
|
+
return de_CreateJobQueueCommandError(output, context);
|
|
829
|
+
}
|
|
830
|
+
const contents = (0, import_smithy_client.map)({
|
|
831
|
+
$metadata: deserializeMetadata(output)
|
|
832
|
+
});
|
|
833
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
834
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
835
|
+
jobQueueArn: import_smithy_client.expectString,
|
|
836
|
+
jobQueueName: import_smithy_client.expectString
|
|
837
|
+
});
|
|
838
|
+
Object.assign(contents, doc);
|
|
839
|
+
return contents;
|
|
840
|
+
}, "de_CreateJobQueueCommand");
|
|
841
|
+
var de_CreateJobQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
842
|
+
const parsedOutput = {
|
|
843
|
+
...output,
|
|
844
|
+
body: await parseErrorBody(output.body, context)
|
|
845
|
+
};
|
|
846
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
847
|
+
switch (errorCode) {
|
|
848
|
+
case "ClientException":
|
|
849
|
+
case "com.amazonaws.batch#ClientException":
|
|
850
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
851
|
+
case "ServerException":
|
|
852
|
+
case "com.amazonaws.batch#ServerException":
|
|
853
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
854
|
+
default:
|
|
855
|
+
const parsedBody = parsedOutput.body;
|
|
856
|
+
return throwDefaultError({
|
|
857
|
+
output,
|
|
858
|
+
parsedBody,
|
|
859
|
+
errorCode
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
}, "de_CreateJobQueueCommandError");
|
|
863
|
+
var de_CreateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
864
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
865
|
+
return de_CreateSchedulingPolicyCommandError(output, context);
|
|
866
|
+
}
|
|
867
|
+
const contents = (0, import_smithy_client.map)({
|
|
868
|
+
$metadata: deserializeMetadata(output)
|
|
869
|
+
});
|
|
870
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
871
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
872
|
+
arn: import_smithy_client.expectString,
|
|
873
|
+
name: import_smithy_client.expectString
|
|
874
|
+
});
|
|
875
|
+
Object.assign(contents, doc);
|
|
876
|
+
return contents;
|
|
877
|
+
}, "de_CreateSchedulingPolicyCommand");
|
|
878
|
+
var de_CreateSchedulingPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
879
|
+
const parsedOutput = {
|
|
880
|
+
...output,
|
|
881
|
+
body: await parseErrorBody(output.body, context)
|
|
882
|
+
};
|
|
883
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
884
|
+
switch (errorCode) {
|
|
885
|
+
case "ClientException":
|
|
886
|
+
case "com.amazonaws.batch#ClientException":
|
|
887
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
888
|
+
case "ServerException":
|
|
889
|
+
case "com.amazonaws.batch#ServerException":
|
|
890
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
891
|
+
default:
|
|
892
|
+
const parsedBody = parsedOutput.body;
|
|
893
|
+
return throwDefaultError({
|
|
894
|
+
output,
|
|
895
|
+
parsedBody,
|
|
896
|
+
errorCode
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
}, "de_CreateSchedulingPolicyCommandError");
|
|
900
|
+
var de_DeleteComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
901
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
902
|
+
return de_DeleteComputeEnvironmentCommandError(output, context);
|
|
903
|
+
}
|
|
904
|
+
const contents = (0, import_smithy_client.map)({
|
|
905
|
+
$metadata: deserializeMetadata(output)
|
|
906
|
+
});
|
|
907
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
908
|
+
return contents;
|
|
909
|
+
}, "de_DeleteComputeEnvironmentCommand");
|
|
910
|
+
var de_DeleteComputeEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
911
|
+
const parsedOutput = {
|
|
912
|
+
...output,
|
|
913
|
+
body: await parseErrorBody(output.body, context)
|
|
914
|
+
};
|
|
915
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
916
|
+
switch (errorCode) {
|
|
917
|
+
case "ClientException":
|
|
918
|
+
case "com.amazonaws.batch#ClientException":
|
|
919
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
920
|
+
case "ServerException":
|
|
921
|
+
case "com.amazonaws.batch#ServerException":
|
|
922
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
923
|
+
default:
|
|
924
|
+
const parsedBody = parsedOutput.body;
|
|
925
|
+
return throwDefaultError({
|
|
926
|
+
output,
|
|
927
|
+
parsedBody,
|
|
928
|
+
errorCode
|
|
929
|
+
});
|
|
930
|
+
}
|
|
931
|
+
}, "de_DeleteComputeEnvironmentCommandError");
|
|
932
|
+
var de_DeleteJobQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
933
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
934
|
+
return de_DeleteJobQueueCommandError(output, context);
|
|
935
|
+
}
|
|
936
|
+
const contents = (0, import_smithy_client.map)({
|
|
937
|
+
$metadata: deserializeMetadata(output)
|
|
938
|
+
});
|
|
939
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
940
|
+
return contents;
|
|
941
|
+
}, "de_DeleteJobQueueCommand");
|
|
942
|
+
var de_DeleteJobQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
943
|
+
const parsedOutput = {
|
|
944
|
+
...output,
|
|
945
|
+
body: await parseErrorBody(output.body, context)
|
|
946
|
+
};
|
|
947
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
948
|
+
switch (errorCode) {
|
|
949
|
+
case "ClientException":
|
|
950
|
+
case "com.amazonaws.batch#ClientException":
|
|
951
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
952
|
+
case "ServerException":
|
|
953
|
+
case "com.amazonaws.batch#ServerException":
|
|
954
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
955
|
+
default:
|
|
956
|
+
const parsedBody = parsedOutput.body;
|
|
957
|
+
return throwDefaultError({
|
|
958
|
+
output,
|
|
959
|
+
parsedBody,
|
|
960
|
+
errorCode
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
}, "de_DeleteJobQueueCommandError");
|
|
964
|
+
var de_DeleteSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
965
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
966
|
+
return de_DeleteSchedulingPolicyCommandError(output, context);
|
|
967
|
+
}
|
|
968
|
+
const contents = (0, import_smithy_client.map)({
|
|
969
|
+
$metadata: deserializeMetadata(output)
|
|
970
|
+
});
|
|
971
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
972
|
+
return contents;
|
|
973
|
+
}, "de_DeleteSchedulingPolicyCommand");
|
|
974
|
+
var de_DeleteSchedulingPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
975
|
+
const parsedOutput = {
|
|
976
|
+
...output,
|
|
977
|
+
body: await parseErrorBody(output.body, context)
|
|
978
|
+
};
|
|
979
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
980
|
+
switch (errorCode) {
|
|
981
|
+
case "ClientException":
|
|
982
|
+
case "com.amazonaws.batch#ClientException":
|
|
983
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
984
|
+
case "ServerException":
|
|
985
|
+
case "com.amazonaws.batch#ServerException":
|
|
986
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
987
|
+
default:
|
|
988
|
+
const parsedBody = parsedOutput.body;
|
|
989
|
+
return throwDefaultError({
|
|
990
|
+
output,
|
|
991
|
+
parsedBody,
|
|
992
|
+
errorCode
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
}, "de_DeleteSchedulingPolicyCommandError");
|
|
996
|
+
var de_DeregisterJobDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
997
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
998
|
+
return de_DeregisterJobDefinitionCommandError(output, context);
|
|
999
|
+
}
|
|
1000
|
+
const contents = (0, import_smithy_client.map)({
|
|
1001
|
+
$metadata: deserializeMetadata(output)
|
|
1002
|
+
});
|
|
1003
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1004
|
+
return contents;
|
|
1005
|
+
}, "de_DeregisterJobDefinitionCommand");
|
|
1006
|
+
var de_DeregisterJobDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1007
|
+
const parsedOutput = {
|
|
1008
|
+
...output,
|
|
1009
|
+
body: await parseErrorBody(output.body, context)
|
|
1010
|
+
};
|
|
1011
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1012
|
+
switch (errorCode) {
|
|
1013
|
+
case "ClientException":
|
|
1014
|
+
case "com.amazonaws.batch#ClientException":
|
|
1015
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1016
|
+
case "ServerException":
|
|
1017
|
+
case "com.amazonaws.batch#ServerException":
|
|
1018
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1019
|
+
default:
|
|
1020
|
+
const parsedBody = parsedOutput.body;
|
|
1021
|
+
return throwDefaultError({
|
|
1022
|
+
output,
|
|
1023
|
+
parsedBody,
|
|
1024
|
+
errorCode
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
}, "de_DeregisterJobDefinitionCommandError");
|
|
1028
|
+
var de_DescribeComputeEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1029
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1030
|
+
return de_DescribeComputeEnvironmentsCommandError(output, context);
|
|
1031
|
+
}
|
|
1032
|
+
const contents = (0, import_smithy_client.map)({
|
|
1033
|
+
$metadata: deserializeMetadata(output)
|
|
1034
|
+
});
|
|
1035
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1036
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1037
|
+
computeEnvironments: import_smithy_client._json,
|
|
1038
|
+
nextToken: import_smithy_client.expectString
|
|
1039
|
+
});
|
|
1040
|
+
Object.assign(contents, doc);
|
|
1041
|
+
return contents;
|
|
1042
|
+
}, "de_DescribeComputeEnvironmentsCommand");
|
|
1043
|
+
var de_DescribeComputeEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1044
|
+
const parsedOutput = {
|
|
1045
|
+
...output,
|
|
1046
|
+
body: await parseErrorBody(output.body, context)
|
|
1047
|
+
};
|
|
1048
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1049
|
+
switch (errorCode) {
|
|
1050
|
+
case "ClientException":
|
|
1051
|
+
case "com.amazonaws.batch#ClientException":
|
|
1052
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1053
|
+
case "ServerException":
|
|
1054
|
+
case "com.amazonaws.batch#ServerException":
|
|
1055
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1056
|
+
default:
|
|
1057
|
+
const parsedBody = parsedOutput.body;
|
|
1058
|
+
return throwDefaultError({
|
|
1059
|
+
output,
|
|
1060
|
+
parsedBody,
|
|
1061
|
+
errorCode
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
1064
|
+
}, "de_DescribeComputeEnvironmentsCommandError");
|
|
1065
|
+
var de_DescribeJobDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1067
|
+
return de_DescribeJobDefinitionsCommandError(output, context);
|
|
1068
|
+
}
|
|
1069
|
+
const contents = (0, import_smithy_client.map)({
|
|
1070
|
+
$metadata: deserializeMetadata(output)
|
|
1071
|
+
});
|
|
1072
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1073
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1074
|
+
jobDefinitions: import_smithy_client._json,
|
|
1075
|
+
nextToken: import_smithy_client.expectString
|
|
1076
|
+
});
|
|
1077
|
+
Object.assign(contents, doc);
|
|
1078
|
+
return contents;
|
|
1079
|
+
}, "de_DescribeJobDefinitionsCommand");
|
|
1080
|
+
var de_DescribeJobDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1081
|
+
const parsedOutput = {
|
|
1082
|
+
...output,
|
|
1083
|
+
body: await parseErrorBody(output.body, context)
|
|
1084
|
+
};
|
|
1085
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1086
|
+
switch (errorCode) {
|
|
1087
|
+
case "ClientException":
|
|
1088
|
+
case "com.amazonaws.batch#ClientException":
|
|
1089
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1090
|
+
case "ServerException":
|
|
1091
|
+
case "com.amazonaws.batch#ServerException":
|
|
1092
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1093
|
+
default:
|
|
1094
|
+
const parsedBody = parsedOutput.body;
|
|
1095
|
+
return throwDefaultError({
|
|
1096
|
+
output,
|
|
1097
|
+
parsedBody,
|
|
1098
|
+
errorCode
|
|
1099
|
+
});
|
|
1100
|
+
}
|
|
1101
|
+
}, "de_DescribeJobDefinitionsCommandError");
|
|
1102
|
+
var de_DescribeJobQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1103
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1104
|
+
return de_DescribeJobQueuesCommandError(output, context);
|
|
1105
|
+
}
|
|
1106
|
+
const contents = (0, import_smithy_client.map)({
|
|
1107
|
+
$metadata: deserializeMetadata(output)
|
|
1108
|
+
});
|
|
1109
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1110
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1111
|
+
jobQueues: import_smithy_client._json,
|
|
1112
|
+
nextToken: import_smithy_client.expectString
|
|
1113
|
+
});
|
|
1114
|
+
Object.assign(contents, doc);
|
|
1115
|
+
return contents;
|
|
1116
|
+
}, "de_DescribeJobQueuesCommand");
|
|
1117
|
+
var de_DescribeJobQueuesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1118
|
+
const parsedOutput = {
|
|
1119
|
+
...output,
|
|
1120
|
+
body: await parseErrorBody(output.body, context)
|
|
1121
|
+
};
|
|
1122
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1123
|
+
switch (errorCode) {
|
|
1124
|
+
case "ClientException":
|
|
1125
|
+
case "com.amazonaws.batch#ClientException":
|
|
1126
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1127
|
+
case "ServerException":
|
|
1128
|
+
case "com.amazonaws.batch#ServerException":
|
|
1129
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1130
|
+
default:
|
|
1131
|
+
const parsedBody = parsedOutput.body;
|
|
1132
|
+
return throwDefaultError({
|
|
1133
|
+
output,
|
|
1134
|
+
parsedBody,
|
|
1135
|
+
errorCode
|
|
1136
|
+
});
|
|
1137
|
+
}
|
|
1138
|
+
}, "de_DescribeJobQueuesCommandError");
|
|
1139
|
+
var de_DescribeJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1140
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1141
|
+
return de_DescribeJobsCommandError(output, context);
|
|
1142
|
+
}
|
|
1143
|
+
const contents = (0, import_smithy_client.map)({
|
|
1144
|
+
$metadata: deserializeMetadata(output)
|
|
1145
|
+
});
|
|
1146
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1147
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1148
|
+
jobs: import_smithy_client._json
|
|
1149
|
+
});
|
|
1150
|
+
Object.assign(contents, doc);
|
|
1151
|
+
return contents;
|
|
1152
|
+
}, "de_DescribeJobsCommand");
|
|
1153
|
+
var de_DescribeJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1154
|
+
const parsedOutput = {
|
|
1155
|
+
...output,
|
|
1156
|
+
body: await parseErrorBody(output.body, context)
|
|
1157
|
+
};
|
|
1158
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1159
|
+
switch (errorCode) {
|
|
1160
|
+
case "ClientException":
|
|
1161
|
+
case "com.amazonaws.batch#ClientException":
|
|
1162
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1163
|
+
case "ServerException":
|
|
1164
|
+
case "com.amazonaws.batch#ServerException":
|
|
1165
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1166
|
+
default:
|
|
1167
|
+
const parsedBody = parsedOutput.body;
|
|
1168
|
+
return throwDefaultError({
|
|
1169
|
+
output,
|
|
1170
|
+
parsedBody,
|
|
1171
|
+
errorCode
|
|
1172
|
+
});
|
|
1173
|
+
}
|
|
1174
|
+
}, "de_DescribeJobsCommandError");
|
|
1175
|
+
var de_DescribeSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1176
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1177
|
+
return de_DescribeSchedulingPoliciesCommandError(output, context);
|
|
1178
|
+
}
|
|
1179
|
+
const contents = (0, import_smithy_client.map)({
|
|
1180
|
+
$metadata: deserializeMetadata(output)
|
|
1181
|
+
});
|
|
1182
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1183
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1184
|
+
schedulingPolicies: (_) => de_SchedulingPolicyDetailList(_, context)
|
|
1185
|
+
});
|
|
1186
|
+
Object.assign(contents, doc);
|
|
1187
|
+
return contents;
|
|
1188
|
+
}, "de_DescribeSchedulingPoliciesCommand");
|
|
1189
|
+
var de_DescribeSchedulingPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1190
|
+
const parsedOutput = {
|
|
1191
|
+
...output,
|
|
1192
|
+
body: await parseErrorBody(output.body, context)
|
|
1193
|
+
};
|
|
1194
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1195
|
+
switch (errorCode) {
|
|
1196
|
+
case "ClientException":
|
|
1197
|
+
case "com.amazonaws.batch#ClientException":
|
|
1198
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1199
|
+
case "ServerException":
|
|
1200
|
+
case "com.amazonaws.batch#ServerException":
|
|
1201
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1202
|
+
default:
|
|
1203
|
+
const parsedBody = parsedOutput.body;
|
|
1204
|
+
return throwDefaultError({
|
|
1205
|
+
output,
|
|
1206
|
+
parsedBody,
|
|
1207
|
+
errorCode
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
}, "de_DescribeSchedulingPoliciesCommandError");
|
|
1211
|
+
var de_ListJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1212
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1213
|
+
return de_ListJobsCommandError(output, context);
|
|
1214
|
+
}
|
|
1215
|
+
const contents = (0, import_smithy_client.map)({
|
|
1216
|
+
$metadata: deserializeMetadata(output)
|
|
1217
|
+
});
|
|
1218
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1219
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1220
|
+
jobSummaryList: import_smithy_client._json,
|
|
1221
|
+
nextToken: import_smithy_client.expectString
|
|
1222
|
+
});
|
|
1223
|
+
Object.assign(contents, doc);
|
|
1224
|
+
return contents;
|
|
1225
|
+
}, "de_ListJobsCommand");
|
|
1226
|
+
var de_ListJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1227
|
+
const parsedOutput = {
|
|
1228
|
+
...output,
|
|
1229
|
+
body: await parseErrorBody(output.body, context)
|
|
1230
|
+
};
|
|
1231
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1232
|
+
switch (errorCode) {
|
|
1233
|
+
case "ClientException":
|
|
1234
|
+
case "com.amazonaws.batch#ClientException":
|
|
1235
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1236
|
+
case "ServerException":
|
|
1237
|
+
case "com.amazonaws.batch#ServerException":
|
|
1238
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1239
|
+
default:
|
|
1240
|
+
const parsedBody = parsedOutput.body;
|
|
1241
|
+
return throwDefaultError({
|
|
1242
|
+
output,
|
|
1243
|
+
parsedBody,
|
|
1244
|
+
errorCode
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
}, "de_ListJobsCommandError");
|
|
1248
|
+
var de_ListSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1249
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1250
|
+
return de_ListSchedulingPoliciesCommandError(output, context);
|
|
1251
|
+
}
|
|
1252
|
+
const contents = (0, import_smithy_client.map)({
|
|
1253
|
+
$metadata: deserializeMetadata(output)
|
|
1254
|
+
});
|
|
1255
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1256
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1257
|
+
nextToken: import_smithy_client.expectString,
|
|
1258
|
+
schedulingPolicies: import_smithy_client._json
|
|
1259
|
+
});
|
|
1260
|
+
Object.assign(contents, doc);
|
|
1261
|
+
return contents;
|
|
1262
|
+
}, "de_ListSchedulingPoliciesCommand");
|
|
1263
|
+
var de_ListSchedulingPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1264
|
+
const parsedOutput = {
|
|
1265
|
+
...output,
|
|
1266
|
+
body: await parseErrorBody(output.body, context)
|
|
1267
|
+
};
|
|
1268
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1269
|
+
switch (errorCode) {
|
|
1270
|
+
case "ClientException":
|
|
1271
|
+
case "com.amazonaws.batch#ClientException":
|
|
1272
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1273
|
+
case "ServerException":
|
|
1274
|
+
case "com.amazonaws.batch#ServerException":
|
|
1275
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1276
|
+
default:
|
|
1277
|
+
const parsedBody = parsedOutput.body;
|
|
1278
|
+
return throwDefaultError({
|
|
1279
|
+
output,
|
|
1280
|
+
parsedBody,
|
|
1281
|
+
errorCode
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
}, "de_ListSchedulingPoliciesCommandError");
|
|
1285
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1286
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1287
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1288
|
+
}
|
|
1289
|
+
const contents = (0, import_smithy_client.map)({
|
|
1290
|
+
$metadata: deserializeMetadata(output)
|
|
1291
|
+
});
|
|
1292
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1293
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1294
|
+
tags: import_smithy_client._json
|
|
1295
|
+
});
|
|
1296
|
+
Object.assign(contents, doc);
|
|
1297
|
+
return contents;
|
|
1298
|
+
}, "de_ListTagsForResourceCommand");
|
|
1299
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1300
|
+
const parsedOutput = {
|
|
1301
|
+
...output,
|
|
1302
|
+
body: await parseErrorBody(output.body, context)
|
|
1303
|
+
};
|
|
1304
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1305
|
+
switch (errorCode) {
|
|
1306
|
+
case "ClientException":
|
|
1307
|
+
case "com.amazonaws.batch#ClientException":
|
|
1308
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1309
|
+
case "ServerException":
|
|
1310
|
+
case "com.amazonaws.batch#ServerException":
|
|
1311
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1312
|
+
default:
|
|
1313
|
+
const parsedBody = parsedOutput.body;
|
|
1314
|
+
return throwDefaultError({
|
|
1315
|
+
output,
|
|
1316
|
+
parsedBody,
|
|
1317
|
+
errorCode
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1321
|
+
var de_RegisterJobDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1323
|
+
return de_RegisterJobDefinitionCommandError(output, context);
|
|
1324
|
+
}
|
|
1325
|
+
const contents = (0, import_smithy_client.map)({
|
|
1326
|
+
$metadata: deserializeMetadata(output)
|
|
1327
|
+
});
|
|
1328
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1329
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1330
|
+
jobDefinitionArn: import_smithy_client.expectString,
|
|
1331
|
+
jobDefinitionName: import_smithy_client.expectString,
|
|
1332
|
+
revision: import_smithy_client.expectInt32
|
|
1333
|
+
});
|
|
1334
|
+
Object.assign(contents, doc);
|
|
1335
|
+
return contents;
|
|
1336
|
+
}, "de_RegisterJobDefinitionCommand");
|
|
1337
|
+
var de_RegisterJobDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1338
|
+
const parsedOutput = {
|
|
1339
|
+
...output,
|
|
1340
|
+
body: await parseErrorBody(output.body, context)
|
|
1341
|
+
};
|
|
1342
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1343
|
+
switch (errorCode) {
|
|
1344
|
+
case "ClientException":
|
|
1345
|
+
case "com.amazonaws.batch#ClientException":
|
|
1346
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1347
|
+
case "ServerException":
|
|
1348
|
+
case "com.amazonaws.batch#ServerException":
|
|
1349
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1350
|
+
default:
|
|
1351
|
+
const parsedBody = parsedOutput.body;
|
|
1352
|
+
return throwDefaultError({
|
|
1353
|
+
output,
|
|
1354
|
+
parsedBody,
|
|
1355
|
+
errorCode
|
|
1356
|
+
});
|
|
1357
|
+
}
|
|
1358
|
+
}, "de_RegisterJobDefinitionCommandError");
|
|
1359
|
+
var de_SubmitJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1360
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1361
|
+
return de_SubmitJobCommandError(output, context);
|
|
1362
|
+
}
|
|
1363
|
+
const contents = (0, import_smithy_client.map)({
|
|
1364
|
+
$metadata: deserializeMetadata(output)
|
|
1365
|
+
});
|
|
1366
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1367
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1368
|
+
jobArn: import_smithy_client.expectString,
|
|
1369
|
+
jobId: import_smithy_client.expectString,
|
|
1370
|
+
jobName: import_smithy_client.expectString
|
|
1371
|
+
});
|
|
1372
|
+
Object.assign(contents, doc);
|
|
1373
|
+
return contents;
|
|
1374
|
+
}, "de_SubmitJobCommand");
|
|
1375
|
+
var de_SubmitJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1376
|
+
const parsedOutput = {
|
|
1377
|
+
...output,
|
|
1378
|
+
body: await parseErrorBody(output.body, context)
|
|
1379
|
+
};
|
|
1380
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1381
|
+
switch (errorCode) {
|
|
1382
|
+
case "ClientException":
|
|
1383
|
+
case "com.amazonaws.batch#ClientException":
|
|
1384
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1385
|
+
case "ServerException":
|
|
1386
|
+
case "com.amazonaws.batch#ServerException":
|
|
1387
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1388
|
+
default:
|
|
1389
|
+
const parsedBody = parsedOutput.body;
|
|
1390
|
+
return throwDefaultError({
|
|
1391
|
+
output,
|
|
1392
|
+
parsedBody,
|
|
1393
|
+
errorCode
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
}, "de_SubmitJobCommandError");
|
|
1397
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1399
|
+
return de_TagResourceCommandError(output, context);
|
|
1400
|
+
}
|
|
1401
|
+
const contents = (0, import_smithy_client.map)({
|
|
1402
|
+
$metadata: deserializeMetadata(output)
|
|
1403
|
+
});
|
|
1404
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1405
|
+
return contents;
|
|
1406
|
+
}, "de_TagResourceCommand");
|
|
1407
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1408
|
+
const parsedOutput = {
|
|
1409
|
+
...output,
|
|
1410
|
+
body: await parseErrorBody(output.body, context)
|
|
1411
|
+
};
|
|
1412
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1413
|
+
switch (errorCode) {
|
|
1414
|
+
case "ClientException":
|
|
1415
|
+
case "com.amazonaws.batch#ClientException":
|
|
1416
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1417
|
+
case "ServerException":
|
|
1418
|
+
case "com.amazonaws.batch#ServerException":
|
|
1419
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1420
|
+
default:
|
|
1421
|
+
const parsedBody = parsedOutput.body;
|
|
1422
|
+
return throwDefaultError({
|
|
1423
|
+
output,
|
|
1424
|
+
parsedBody,
|
|
1425
|
+
errorCode
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1428
|
+
}, "de_TagResourceCommandError");
|
|
1429
|
+
var de_TerminateJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1430
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1431
|
+
return de_TerminateJobCommandError(output, context);
|
|
1432
|
+
}
|
|
1433
|
+
const contents = (0, import_smithy_client.map)({
|
|
1434
|
+
$metadata: deserializeMetadata(output)
|
|
1435
|
+
});
|
|
1436
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1437
|
+
return contents;
|
|
1438
|
+
}, "de_TerminateJobCommand");
|
|
1439
|
+
var de_TerminateJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1440
|
+
const parsedOutput = {
|
|
1441
|
+
...output,
|
|
1442
|
+
body: await parseErrorBody(output.body, context)
|
|
1443
|
+
};
|
|
1444
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1445
|
+
switch (errorCode) {
|
|
1446
|
+
case "ClientException":
|
|
1447
|
+
case "com.amazonaws.batch#ClientException":
|
|
1448
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1449
|
+
case "ServerException":
|
|
1450
|
+
case "com.amazonaws.batch#ServerException":
|
|
1451
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1452
|
+
default:
|
|
1453
|
+
const parsedBody = parsedOutput.body;
|
|
1454
|
+
return throwDefaultError({
|
|
1455
|
+
output,
|
|
1456
|
+
parsedBody,
|
|
1457
|
+
errorCode
|
|
1458
|
+
});
|
|
1459
|
+
}
|
|
1460
|
+
}, "de_TerminateJobCommandError");
|
|
1461
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1462
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1463
|
+
return de_UntagResourceCommandError(output, context);
|
|
1464
|
+
}
|
|
1465
|
+
const contents = (0, import_smithy_client.map)({
|
|
1466
|
+
$metadata: deserializeMetadata(output)
|
|
1467
|
+
});
|
|
1468
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1469
|
+
return contents;
|
|
1470
|
+
}, "de_UntagResourceCommand");
|
|
1471
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1472
|
+
const parsedOutput = {
|
|
1473
|
+
...output,
|
|
1474
|
+
body: await parseErrorBody(output.body, context)
|
|
1475
|
+
};
|
|
1476
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1477
|
+
switch (errorCode) {
|
|
1478
|
+
case "ClientException":
|
|
1479
|
+
case "com.amazonaws.batch#ClientException":
|
|
1480
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1481
|
+
case "ServerException":
|
|
1482
|
+
case "com.amazonaws.batch#ServerException":
|
|
1483
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1484
|
+
default:
|
|
1485
|
+
const parsedBody = parsedOutput.body;
|
|
1486
|
+
return throwDefaultError({
|
|
1487
|
+
output,
|
|
1488
|
+
parsedBody,
|
|
1489
|
+
errorCode
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
}, "de_UntagResourceCommandError");
|
|
1493
|
+
var de_UpdateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1494
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1495
|
+
return de_UpdateComputeEnvironmentCommandError(output, context);
|
|
1496
|
+
}
|
|
1497
|
+
const contents = (0, import_smithy_client.map)({
|
|
1498
|
+
$metadata: deserializeMetadata(output)
|
|
1499
|
+
});
|
|
1500
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1501
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1502
|
+
computeEnvironmentArn: import_smithy_client.expectString,
|
|
1503
|
+
computeEnvironmentName: import_smithy_client.expectString
|
|
1504
|
+
});
|
|
1505
|
+
Object.assign(contents, doc);
|
|
1506
|
+
return contents;
|
|
1507
|
+
}, "de_UpdateComputeEnvironmentCommand");
|
|
1508
|
+
var de_UpdateComputeEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1509
|
+
const parsedOutput = {
|
|
1510
|
+
...output,
|
|
1511
|
+
body: await parseErrorBody(output.body, context)
|
|
1512
|
+
};
|
|
1513
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1514
|
+
switch (errorCode) {
|
|
1515
|
+
case "ClientException":
|
|
1516
|
+
case "com.amazonaws.batch#ClientException":
|
|
1517
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1518
|
+
case "ServerException":
|
|
1519
|
+
case "com.amazonaws.batch#ServerException":
|
|
1520
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1521
|
+
default:
|
|
1522
|
+
const parsedBody = parsedOutput.body;
|
|
1523
|
+
return throwDefaultError({
|
|
1524
|
+
output,
|
|
1525
|
+
parsedBody,
|
|
1526
|
+
errorCode
|
|
1527
|
+
});
|
|
1528
|
+
}
|
|
1529
|
+
}, "de_UpdateComputeEnvironmentCommandError");
|
|
1530
|
+
var de_UpdateJobQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1531
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1532
|
+
return de_UpdateJobQueueCommandError(output, context);
|
|
1533
|
+
}
|
|
1534
|
+
const contents = (0, import_smithy_client.map)({
|
|
1535
|
+
$metadata: deserializeMetadata(output)
|
|
1536
|
+
});
|
|
1537
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1538
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1539
|
+
jobQueueArn: import_smithy_client.expectString,
|
|
1540
|
+
jobQueueName: import_smithy_client.expectString
|
|
1541
|
+
});
|
|
1542
|
+
Object.assign(contents, doc);
|
|
1543
|
+
return contents;
|
|
1544
|
+
}, "de_UpdateJobQueueCommand");
|
|
1545
|
+
var de_UpdateJobQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1546
|
+
const parsedOutput = {
|
|
1547
|
+
...output,
|
|
1548
|
+
body: await parseErrorBody(output.body, context)
|
|
1549
|
+
};
|
|
1550
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1551
|
+
switch (errorCode) {
|
|
1552
|
+
case "ClientException":
|
|
1553
|
+
case "com.amazonaws.batch#ClientException":
|
|
1554
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1555
|
+
case "ServerException":
|
|
1556
|
+
case "com.amazonaws.batch#ServerException":
|
|
1557
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1558
|
+
default:
|
|
1559
|
+
const parsedBody = parsedOutput.body;
|
|
1560
|
+
return throwDefaultError({
|
|
1561
|
+
output,
|
|
1562
|
+
parsedBody,
|
|
1563
|
+
errorCode
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
}, "de_UpdateJobQueueCommandError");
|
|
1567
|
+
var de_UpdateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1568
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1569
|
+
return de_UpdateSchedulingPolicyCommandError(output, context);
|
|
1570
|
+
}
|
|
1571
|
+
const contents = (0, import_smithy_client.map)({
|
|
1572
|
+
$metadata: deserializeMetadata(output)
|
|
1573
|
+
});
|
|
1574
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1575
|
+
return contents;
|
|
1576
|
+
}, "de_UpdateSchedulingPolicyCommand");
|
|
1577
|
+
var de_UpdateSchedulingPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1578
|
+
const parsedOutput = {
|
|
1579
|
+
...output,
|
|
1580
|
+
body: await parseErrorBody(output.body, context)
|
|
1581
|
+
};
|
|
1582
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1583
|
+
switch (errorCode) {
|
|
1584
|
+
case "ClientException":
|
|
1585
|
+
case "com.amazonaws.batch#ClientException":
|
|
1586
|
+
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1587
|
+
case "ServerException":
|
|
1588
|
+
case "com.amazonaws.batch#ServerException":
|
|
1589
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1590
|
+
default:
|
|
1591
|
+
const parsedBody = parsedOutput.body;
|
|
1592
|
+
return throwDefaultError({
|
|
1593
|
+
output,
|
|
1594
|
+
parsedBody,
|
|
1595
|
+
errorCode
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1598
|
+
}, "de_UpdateSchedulingPolicyCommandError");
|
|
1599
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(BatchServiceException);
|
|
1600
|
+
var de_ClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1601
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1602
|
+
const data = parsedOutput.body;
|
|
1603
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1604
|
+
message: import_smithy_client.expectString
|
|
1605
|
+
});
|
|
1606
|
+
Object.assign(contents, doc);
|
|
1607
|
+
const exception = new ClientException({
|
|
1608
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1609
|
+
...contents
|
|
1610
|
+
});
|
|
1611
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1612
|
+
}, "de_ClientExceptionRes");
|
|
1613
|
+
var de_ServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1614
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1615
|
+
const data = parsedOutput.body;
|
|
1616
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1617
|
+
message: import_smithy_client.expectString
|
|
1618
|
+
});
|
|
1619
|
+
Object.assign(contents, doc);
|
|
1620
|
+
const exception = new ServerException({
|
|
1621
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1622
|
+
...contents
|
|
1623
|
+
});
|
|
1624
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1625
|
+
}, "de_ServerExceptionRes");
|
|
1626
|
+
var se_FairsharePolicy = /* @__PURE__ */ __name((input, context) => {
|
|
1627
|
+
return (0, import_smithy_client.take)(input, {
|
|
1628
|
+
computeReservation: [],
|
|
1629
|
+
shareDecaySeconds: [],
|
|
1630
|
+
shareDistribution: (_) => se_ShareAttributesList(_, context)
|
|
1631
|
+
});
|
|
1632
|
+
}, "se_FairsharePolicy");
|
|
1633
|
+
var se_ShareAttributes = /* @__PURE__ */ __name((input, context) => {
|
|
1634
|
+
return (0, import_smithy_client.take)(input, {
|
|
1635
|
+
shareIdentifier: [],
|
|
1636
|
+
weightFactor: import_smithy_client.serializeFloat
|
|
1637
|
+
});
|
|
1638
|
+
}, "se_ShareAttributes");
|
|
1639
|
+
var se_ShareAttributesList = /* @__PURE__ */ __name((input, context) => {
|
|
1640
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
1641
|
+
return se_ShareAttributes(entry, context);
|
|
1642
|
+
});
|
|
1643
|
+
}, "se_ShareAttributesList");
|
|
1644
|
+
var de_FairsharePolicy = /* @__PURE__ */ __name((output, context) => {
|
|
1645
|
+
return (0, import_smithy_client.take)(output, {
|
|
1646
|
+
computeReservation: import_smithy_client.expectInt32,
|
|
1647
|
+
shareDecaySeconds: import_smithy_client.expectInt32,
|
|
1648
|
+
shareDistribution: (_) => de_ShareAttributesList(_, context)
|
|
1649
|
+
});
|
|
1650
|
+
}, "de_FairsharePolicy");
|
|
1651
|
+
var de_SchedulingPolicyDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1652
|
+
return (0, import_smithy_client.take)(output, {
|
|
1653
|
+
arn: import_smithy_client.expectString,
|
|
1654
|
+
fairsharePolicy: (_) => de_FairsharePolicy(_, context),
|
|
1655
|
+
name: import_smithy_client.expectString,
|
|
1656
|
+
tags: import_smithy_client._json
|
|
1657
|
+
});
|
|
1658
|
+
}, "de_SchedulingPolicyDetail");
|
|
1659
|
+
var de_SchedulingPolicyDetailList = /* @__PURE__ */ __name((output, context) => {
|
|
1660
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1661
|
+
return de_SchedulingPolicyDetail(entry, context);
|
|
1662
|
+
});
|
|
1663
|
+
return retVal;
|
|
1664
|
+
}, "de_SchedulingPolicyDetailList");
|
|
1665
|
+
var de_ShareAttributes = /* @__PURE__ */ __name((output, context) => {
|
|
1666
|
+
return (0, import_smithy_client.take)(output, {
|
|
1667
|
+
shareIdentifier: import_smithy_client.expectString,
|
|
1668
|
+
weightFactor: import_smithy_client.limitedParseFloat32
|
|
1669
|
+
});
|
|
1670
|
+
}, "de_ShareAttributes");
|
|
1671
|
+
var de_ShareAttributesList = /* @__PURE__ */ __name((output, context) => {
|
|
1672
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1673
|
+
return de_ShareAttributes(entry, context);
|
|
1674
|
+
});
|
|
1675
|
+
return retVal;
|
|
1676
|
+
}, "de_ShareAttributesList");
|
|
1677
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1678
|
+
httpStatusCode: output.statusCode,
|
|
1679
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1680
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1681
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1682
|
+
}), "deserializeMetadata");
|
|
1683
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1684
|
+
var _tK = "tagKeys";
|
|
1685
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1686
|
+
if (encoded.length) {
|
|
1687
|
+
return JSON.parse(encoded);
|
|
1688
|
+
}
|
|
1689
|
+
return {};
|
|
1690
|
+
}), "parseBody");
|
|
1691
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1692
|
+
const value = await parseBody(errorBody, context);
|
|
1693
|
+
value.message = value.message ?? value.Message;
|
|
1694
|
+
return value;
|
|
1695
|
+
}, "parseErrorBody");
|
|
1696
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1697
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1698
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1699
|
+
let cleanValue = rawValue;
|
|
1700
|
+
if (typeof cleanValue === "number") {
|
|
1701
|
+
cleanValue = cleanValue.toString();
|
|
1702
|
+
}
|
|
1703
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1704
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1705
|
+
}
|
|
1706
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1707
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1708
|
+
}
|
|
1709
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1710
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1711
|
+
}
|
|
1712
|
+
return cleanValue;
|
|
1713
|
+
}, "sanitizeErrorCode");
|
|
1714
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1715
|
+
if (headerKey !== void 0) {
|
|
1716
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1717
|
+
}
|
|
1718
|
+
if (data.code !== void 0) {
|
|
1719
|
+
return sanitizeErrorCode(data.code);
|
|
1720
|
+
}
|
|
1721
|
+
if (data["__type"] !== void 0) {
|
|
1722
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1723
|
+
}
|
|
1724
|
+
}, "loadRestJsonErrorCode");
|
|
1725
|
+
|
|
1726
|
+
// src/commands/CancelJobCommand.ts
|
|
1727
|
+
var _CancelJobCommand = class _CancelJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1728
|
+
...commonParams
|
|
1729
|
+
}).m(function(Command, cs, config, o) {
|
|
1730
|
+
return [
|
|
1731
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1732
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1733
|
+
];
|
|
1734
|
+
}).s("AWSBatchV20160810", "CancelJob", {}).n("BatchClient", "CancelJobCommand").f(void 0, void 0).ser(se_CancelJobCommand).de(de_CancelJobCommand).build() {
|
|
1735
|
+
};
|
|
1736
|
+
__name(_CancelJobCommand, "CancelJobCommand");
|
|
1737
|
+
var CancelJobCommand = _CancelJobCommand;
|
|
1738
|
+
|
|
1739
|
+
// src/commands/CreateComputeEnvironmentCommand.ts
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
var _CreateComputeEnvironmentCommand = class _CreateComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1745
|
+
...commonParams
|
|
1746
|
+
}).m(function(Command, cs, config, o) {
|
|
1747
|
+
return [
|
|
1748
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1749
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1750
|
+
];
|
|
1751
|
+
}).s("AWSBatchV20160810", "CreateComputeEnvironment", {}).n("BatchClient", "CreateComputeEnvironmentCommand").f(void 0, void 0).ser(se_CreateComputeEnvironmentCommand).de(de_CreateComputeEnvironmentCommand).build() {
|
|
1752
|
+
};
|
|
1753
|
+
__name(_CreateComputeEnvironmentCommand, "CreateComputeEnvironmentCommand");
|
|
1754
|
+
var CreateComputeEnvironmentCommand = _CreateComputeEnvironmentCommand;
|
|
1755
|
+
|
|
1756
|
+
// src/commands/CreateJobQueueCommand.ts
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
var _CreateJobQueueCommand = class _CreateJobQueueCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1762
|
+
...commonParams
|
|
1763
|
+
}).m(function(Command, cs, config, o) {
|
|
1764
|
+
return [
|
|
1765
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1766
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1767
|
+
];
|
|
1768
|
+
}).s("AWSBatchV20160810", "CreateJobQueue", {}).n("BatchClient", "CreateJobQueueCommand").f(void 0, void 0).ser(se_CreateJobQueueCommand).de(de_CreateJobQueueCommand).build() {
|
|
1769
|
+
};
|
|
1770
|
+
__name(_CreateJobQueueCommand, "CreateJobQueueCommand");
|
|
1771
|
+
var CreateJobQueueCommand = _CreateJobQueueCommand;
|
|
1772
|
+
|
|
1773
|
+
// src/commands/CreateSchedulingPolicyCommand.ts
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
|
|
1778
|
+
var _CreateSchedulingPolicyCommand = class _CreateSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1779
|
+
...commonParams
|
|
1780
|
+
}).m(function(Command, cs, config, o) {
|
|
1781
|
+
return [
|
|
1782
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1783
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1784
|
+
];
|
|
1785
|
+
}).s("AWSBatchV20160810", "CreateSchedulingPolicy", {}).n("BatchClient", "CreateSchedulingPolicyCommand").f(void 0, void 0).ser(se_CreateSchedulingPolicyCommand).de(de_CreateSchedulingPolicyCommand).build() {
|
|
1786
|
+
};
|
|
1787
|
+
__name(_CreateSchedulingPolicyCommand, "CreateSchedulingPolicyCommand");
|
|
1788
|
+
var CreateSchedulingPolicyCommand = _CreateSchedulingPolicyCommand;
|
|
1789
|
+
|
|
1790
|
+
// src/commands/DeleteComputeEnvironmentCommand.ts
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
var _DeleteComputeEnvironmentCommand = class _DeleteComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1796
|
+
...commonParams
|
|
1797
|
+
}).m(function(Command, cs, config, o) {
|
|
1798
|
+
return [
|
|
1799
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1800
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1801
|
+
];
|
|
1802
|
+
}).s("AWSBatchV20160810", "DeleteComputeEnvironment", {}).n("BatchClient", "DeleteComputeEnvironmentCommand").f(void 0, void 0).ser(se_DeleteComputeEnvironmentCommand).de(de_DeleteComputeEnvironmentCommand).build() {
|
|
1803
|
+
};
|
|
1804
|
+
__name(_DeleteComputeEnvironmentCommand, "DeleteComputeEnvironmentCommand");
|
|
1805
|
+
var DeleteComputeEnvironmentCommand = _DeleteComputeEnvironmentCommand;
|
|
1806
|
+
|
|
1807
|
+
// src/commands/DeleteJobQueueCommand.ts
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
var _DeleteJobQueueCommand = class _DeleteJobQueueCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1813
|
+
...commonParams
|
|
1814
|
+
}).m(function(Command, cs, config, o) {
|
|
1815
|
+
return [
|
|
1816
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1817
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1818
|
+
];
|
|
1819
|
+
}).s("AWSBatchV20160810", "DeleteJobQueue", {}).n("BatchClient", "DeleteJobQueueCommand").f(void 0, void 0).ser(se_DeleteJobQueueCommand).de(de_DeleteJobQueueCommand).build() {
|
|
1820
|
+
};
|
|
1821
|
+
__name(_DeleteJobQueueCommand, "DeleteJobQueueCommand");
|
|
1822
|
+
var DeleteJobQueueCommand = _DeleteJobQueueCommand;
|
|
1823
|
+
|
|
1824
|
+
// src/commands/DeleteSchedulingPolicyCommand.ts
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
var _DeleteSchedulingPolicyCommand = class _DeleteSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1830
|
+
...commonParams
|
|
1831
|
+
}).m(function(Command, cs, config, o) {
|
|
1832
|
+
return [
|
|
1833
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1834
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1835
|
+
];
|
|
1836
|
+
}).s("AWSBatchV20160810", "DeleteSchedulingPolicy", {}).n("BatchClient", "DeleteSchedulingPolicyCommand").f(void 0, void 0).ser(se_DeleteSchedulingPolicyCommand).de(de_DeleteSchedulingPolicyCommand).build() {
|
|
1837
|
+
};
|
|
1838
|
+
__name(_DeleteSchedulingPolicyCommand, "DeleteSchedulingPolicyCommand");
|
|
1839
|
+
var DeleteSchedulingPolicyCommand = _DeleteSchedulingPolicyCommand;
|
|
1840
|
+
|
|
1841
|
+
// src/commands/DeregisterJobDefinitionCommand.ts
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
var _DeregisterJobDefinitionCommand = class _DeregisterJobDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1847
|
+
...commonParams
|
|
1848
|
+
}).m(function(Command, cs, config, o) {
|
|
1849
|
+
return [
|
|
1850
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1851
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1852
|
+
];
|
|
1853
|
+
}).s("AWSBatchV20160810", "DeregisterJobDefinition", {}).n("BatchClient", "DeregisterJobDefinitionCommand").f(void 0, void 0).ser(se_DeregisterJobDefinitionCommand).de(de_DeregisterJobDefinitionCommand).build() {
|
|
1854
|
+
};
|
|
1855
|
+
__name(_DeregisterJobDefinitionCommand, "DeregisterJobDefinitionCommand");
|
|
1856
|
+
var DeregisterJobDefinitionCommand = _DeregisterJobDefinitionCommand;
|
|
1857
|
+
|
|
1858
|
+
// src/commands/DescribeComputeEnvironmentsCommand.ts
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
var _DescribeComputeEnvironmentsCommand = class _DescribeComputeEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1864
|
+
...commonParams
|
|
1865
|
+
}).m(function(Command, cs, config, o) {
|
|
1866
|
+
return [
|
|
1867
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1868
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1869
|
+
];
|
|
1870
|
+
}).s("AWSBatchV20160810", "DescribeComputeEnvironments", {}).n("BatchClient", "DescribeComputeEnvironmentsCommand").f(void 0, void 0).ser(se_DescribeComputeEnvironmentsCommand).de(de_DescribeComputeEnvironmentsCommand).build() {
|
|
1871
|
+
};
|
|
1872
|
+
__name(_DescribeComputeEnvironmentsCommand, "DescribeComputeEnvironmentsCommand");
|
|
1873
|
+
var DescribeComputeEnvironmentsCommand = _DescribeComputeEnvironmentsCommand;
|
|
1874
|
+
|
|
1875
|
+
// src/commands/DescribeJobDefinitionsCommand.ts
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
var _DescribeJobDefinitionsCommand = class _DescribeJobDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1881
|
+
...commonParams
|
|
1882
|
+
}).m(function(Command, cs, config, o) {
|
|
1883
|
+
return [
|
|
1884
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1885
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1886
|
+
];
|
|
1887
|
+
}).s("AWSBatchV20160810", "DescribeJobDefinitions", {}).n("BatchClient", "DescribeJobDefinitionsCommand").f(void 0, void 0).ser(se_DescribeJobDefinitionsCommand).de(de_DescribeJobDefinitionsCommand).build() {
|
|
1888
|
+
};
|
|
1889
|
+
__name(_DescribeJobDefinitionsCommand, "DescribeJobDefinitionsCommand");
|
|
1890
|
+
var DescribeJobDefinitionsCommand = _DescribeJobDefinitionsCommand;
|
|
1891
|
+
|
|
1892
|
+
// src/commands/DescribeJobQueuesCommand.ts
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
var _DescribeJobQueuesCommand = class _DescribeJobQueuesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1898
|
+
...commonParams
|
|
1899
|
+
}).m(function(Command, cs, config, o) {
|
|
1900
|
+
return [
|
|
1901
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1902
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1903
|
+
];
|
|
1904
|
+
}).s("AWSBatchV20160810", "DescribeJobQueues", {}).n("BatchClient", "DescribeJobQueuesCommand").f(void 0, void 0).ser(se_DescribeJobQueuesCommand).de(de_DescribeJobQueuesCommand).build() {
|
|
1905
|
+
};
|
|
1906
|
+
__name(_DescribeJobQueuesCommand, "DescribeJobQueuesCommand");
|
|
1907
|
+
var DescribeJobQueuesCommand = _DescribeJobQueuesCommand;
|
|
1908
|
+
|
|
1909
|
+
// src/commands/DescribeJobsCommand.ts
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
var _DescribeJobsCommand = class _DescribeJobsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1915
|
+
...commonParams
|
|
1916
|
+
}).m(function(Command, cs, config, o) {
|
|
1917
|
+
return [
|
|
1918
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1919
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1920
|
+
];
|
|
1921
|
+
}).s("AWSBatchV20160810", "DescribeJobs", {}).n("BatchClient", "DescribeJobsCommand").f(void 0, void 0).ser(se_DescribeJobsCommand).de(de_DescribeJobsCommand).build() {
|
|
1922
|
+
};
|
|
1923
|
+
__name(_DescribeJobsCommand, "DescribeJobsCommand");
|
|
1924
|
+
var DescribeJobsCommand = _DescribeJobsCommand;
|
|
1925
|
+
|
|
1926
|
+
// src/commands/DescribeSchedulingPoliciesCommand.ts
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
var _DescribeSchedulingPoliciesCommand = class _DescribeSchedulingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1932
|
+
...commonParams
|
|
1933
|
+
}).m(function(Command, cs, config, o) {
|
|
1934
|
+
return [
|
|
1935
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1936
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1937
|
+
];
|
|
1938
|
+
}).s("AWSBatchV20160810", "DescribeSchedulingPolicies", {}).n("BatchClient", "DescribeSchedulingPoliciesCommand").f(void 0, void 0).ser(se_DescribeSchedulingPoliciesCommand).de(de_DescribeSchedulingPoliciesCommand).build() {
|
|
1939
|
+
};
|
|
1940
|
+
__name(_DescribeSchedulingPoliciesCommand, "DescribeSchedulingPoliciesCommand");
|
|
1941
|
+
var DescribeSchedulingPoliciesCommand = _DescribeSchedulingPoliciesCommand;
|
|
1942
|
+
|
|
1943
|
+
// src/commands/ListJobsCommand.ts
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
var _ListJobsCommand = class _ListJobsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1949
|
+
...commonParams
|
|
1950
|
+
}).m(function(Command, cs, config, o) {
|
|
1951
|
+
return [
|
|
1952
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1953
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1954
|
+
];
|
|
1955
|
+
}).s("AWSBatchV20160810", "ListJobs", {}).n("BatchClient", "ListJobsCommand").f(void 0, void 0).ser(se_ListJobsCommand).de(de_ListJobsCommand).build() {
|
|
1956
|
+
};
|
|
1957
|
+
__name(_ListJobsCommand, "ListJobsCommand");
|
|
1958
|
+
var ListJobsCommand = _ListJobsCommand;
|
|
1959
|
+
|
|
1960
|
+
// src/commands/ListSchedulingPoliciesCommand.ts
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
|
|
1964
|
+
|
|
1965
|
+
var _ListSchedulingPoliciesCommand = class _ListSchedulingPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1966
|
+
...commonParams
|
|
1967
|
+
}).m(function(Command, cs, config, o) {
|
|
1968
|
+
return [
|
|
1969
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1970
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1971
|
+
];
|
|
1972
|
+
}).s("AWSBatchV20160810", "ListSchedulingPolicies", {}).n("BatchClient", "ListSchedulingPoliciesCommand").f(void 0, void 0).ser(se_ListSchedulingPoliciesCommand).de(de_ListSchedulingPoliciesCommand).build() {
|
|
1973
|
+
};
|
|
1974
|
+
__name(_ListSchedulingPoliciesCommand, "ListSchedulingPoliciesCommand");
|
|
1975
|
+
var ListSchedulingPoliciesCommand = _ListSchedulingPoliciesCommand;
|
|
1976
|
+
|
|
1977
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1983
|
+
...commonParams
|
|
1984
|
+
}).m(function(Command, cs, config, o) {
|
|
1985
|
+
return [
|
|
1986
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1987
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1988
|
+
];
|
|
1989
|
+
}).s("AWSBatchV20160810", "ListTagsForResource", {}).n("BatchClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1990
|
+
};
|
|
1991
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1992
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1993
|
+
|
|
1994
|
+
// src/commands/RegisterJobDefinitionCommand.ts
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
var _RegisterJobDefinitionCommand = class _RegisterJobDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2000
|
+
...commonParams
|
|
2001
|
+
}).m(function(Command, cs, config, o) {
|
|
2002
|
+
return [
|
|
2003
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2004
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2005
|
+
];
|
|
2006
|
+
}).s("AWSBatchV20160810", "RegisterJobDefinition", {}).n("BatchClient", "RegisterJobDefinitionCommand").f(void 0, void 0).ser(se_RegisterJobDefinitionCommand).de(de_RegisterJobDefinitionCommand).build() {
|
|
2007
|
+
};
|
|
2008
|
+
__name(_RegisterJobDefinitionCommand, "RegisterJobDefinitionCommand");
|
|
2009
|
+
var RegisterJobDefinitionCommand = _RegisterJobDefinitionCommand;
|
|
2010
|
+
|
|
2011
|
+
// src/commands/SubmitJobCommand.ts
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
var _SubmitJobCommand = class _SubmitJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2017
|
+
...commonParams
|
|
2018
|
+
}).m(function(Command, cs, config, o) {
|
|
2019
|
+
return [
|
|
2020
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2021
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2022
|
+
];
|
|
2023
|
+
}).s("AWSBatchV20160810", "SubmitJob", {}).n("BatchClient", "SubmitJobCommand").f(void 0, void 0).ser(se_SubmitJobCommand).de(de_SubmitJobCommand).build() {
|
|
2024
|
+
};
|
|
2025
|
+
__name(_SubmitJobCommand, "SubmitJobCommand");
|
|
2026
|
+
var SubmitJobCommand = _SubmitJobCommand;
|
|
2027
|
+
|
|
2028
|
+
// src/commands/TagResourceCommand.ts
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2034
|
+
...commonParams
|
|
2035
|
+
}).m(function(Command, cs, config, o) {
|
|
2036
|
+
return [
|
|
2037
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2038
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2039
|
+
];
|
|
2040
|
+
}).s("AWSBatchV20160810", "TagResource", {}).n("BatchClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2041
|
+
};
|
|
2042
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2043
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2044
|
+
|
|
2045
|
+
// src/commands/TerminateJobCommand.ts
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
|
|
2050
|
+
var _TerminateJobCommand = class _TerminateJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2051
|
+
...commonParams
|
|
2052
|
+
}).m(function(Command, cs, config, o) {
|
|
2053
|
+
return [
|
|
2054
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2055
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2056
|
+
];
|
|
2057
|
+
}).s("AWSBatchV20160810", "TerminateJob", {}).n("BatchClient", "TerminateJobCommand").f(void 0, void 0).ser(se_TerminateJobCommand).de(de_TerminateJobCommand).build() {
|
|
2058
|
+
};
|
|
2059
|
+
__name(_TerminateJobCommand, "TerminateJobCommand");
|
|
2060
|
+
var TerminateJobCommand = _TerminateJobCommand;
|
|
2061
|
+
|
|
2062
|
+
// src/commands/UntagResourceCommand.ts
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2068
|
+
...commonParams
|
|
2069
|
+
}).m(function(Command, cs, config, o) {
|
|
2070
|
+
return [
|
|
2071
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2072
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2073
|
+
];
|
|
2074
|
+
}).s("AWSBatchV20160810", "UntagResource", {}).n("BatchClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2075
|
+
};
|
|
2076
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2077
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2078
|
+
|
|
2079
|
+
// src/commands/UpdateComputeEnvironmentCommand.ts
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
var _UpdateComputeEnvironmentCommand = class _UpdateComputeEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2085
|
+
...commonParams
|
|
2086
|
+
}).m(function(Command, cs, config, o) {
|
|
2087
|
+
return [
|
|
2088
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2089
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2090
|
+
];
|
|
2091
|
+
}).s("AWSBatchV20160810", "UpdateComputeEnvironment", {}).n("BatchClient", "UpdateComputeEnvironmentCommand").f(void 0, void 0).ser(se_UpdateComputeEnvironmentCommand).de(de_UpdateComputeEnvironmentCommand).build() {
|
|
2092
|
+
};
|
|
2093
|
+
__name(_UpdateComputeEnvironmentCommand, "UpdateComputeEnvironmentCommand");
|
|
2094
|
+
var UpdateComputeEnvironmentCommand = _UpdateComputeEnvironmentCommand;
|
|
2095
|
+
|
|
2096
|
+
// src/commands/UpdateJobQueueCommand.ts
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
var _UpdateJobQueueCommand = class _UpdateJobQueueCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2102
|
+
...commonParams
|
|
2103
|
+
}).m(function(Command, cs, config, o) {
|
|
2104
|
+
return [
|
|
2105
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2106
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2107
|
+
];
|
|
2108
|
+
}).s("AWSBatchV20160810", "UpdateJobQueue", {}).n("BatchClient", "UpdateJobQueueCommand").f(void 0, void 0).ser(se_UpdateJobQueueCommand).de(de_UpdateJobQueueCommand).build() {
|
|
2109
|
+
};
|
|
2110
|
+
__name(_UpdateJobQueueCommand, "UpdateJobQueueCommand");
|
|
2111
|
+
var UpdateJobQueueCommand = _UpdateJobQueueCommand;
|
|
2112
|
+
|
|
2113
|
+
// src/commands/UpdateSchedulingPolicyCommand.ts
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
var _UpdateSchedulingPolicyCommand = class _UpdateSchedulingPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2119
|
+
...commonParams
|
|
2120
|
+
}).m(function(Command, cs, config, o) {
|
|
2121
|
+
return [
|
|
2122
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2123
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2124
|
+
];
|
|
2125
|
+
}).s("AWSBatchV20160810", "UpdateSchedulingPolicy", {}).n("BatchClient", "UpdateSchedulingPolicyCommand").f(void 0, void 0).ser(se_UpdateSchedulingPolicyCommand).de(de_UpdateSchedulingPolicyCommand).build() {
|
|
2126
|
+
};
|
|
2127
|
+
__name(_UpdateSchedulingPolicyCommand, "UpdateSchedulingPolicyCommand");
|
|
2128
|
+
var UpdateSchedulingPolicyCommand = _UpdateSchedulingPolicyCommand;
|
|
2129
|
+
|
|
2130
|
+
// src/Batch.ts
|
|
2131
|
+
var commands = {
|
|
2132
|
+
CancelJobCommand,
|
|
2133
|
+
CreateComputeEnvironmentCommand,
|
|
2134
|
+
CreateJobQueueCommand,
|
|
2135
|
+
CreateSchedulingPolicyCommand,
|
|
2136
|
+
DeleteComputeEnvironmentCommand,
|
|
2137
|
+
DeleteJobQueueCommand,
|
|
2138
|
+
DeleteSchedulingPolicyCommand,
|
|
2139
|
+
DeregisterJobDefinitionCommand,
|
|
2140
|
+
DescribeComputeEnvironmentsCommand,
|
|
2141
|
+
DescribeJobDefinitionsCommand,
|
|
2142
|
+
DescribeJobQueuesCommand,
|
|
2143
|
+
DescribeJobsCommand,
|
|
2144
|
+
DescribeSchedulingPoliciesCommand,
|
|
2145
|
+
ListJobsCommand,
|
|
2146
|
+
ListSchedulingPoliciesCommand,
|
|
2147
|
+
ListTagsForResourceCommand,
|
|
2148
|
+
RegisterJobDefinitionCommand,
|
|
2149
|
+
SubmitJobCommand,
|
|
2150
|
+
TagResourceCommand,
|
|
2151
|
+
TerminateJobCommand,
|
|
2152
|
+
UntagResourceCommand,
|
|
2153
|
+
UpdateComputeEnvironmentCommand,
|
|
2154
|
+
UpdateJobQueueCommand,
|
|
2155
|
+
UpdateSchedulingPolicyCommand
|
|
2156
|
+
};
|
|
2157
|
+
var _Batch = class _Batch extends BatchClient {
|
|
2158
|
+
};
|
|
2159
|
+
__name(_Batch, "Batch");
|
|
2160
|
+
var Batch = _Batch;
|
|
2161
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Batch);
|
|
2162
|
+
|
|
2163
|
+
// src/pagination/DescribeComputeEnvironmentsPaginator.ts
|
|
2164
|
+
|
|
2165
|
+
var paginateDescribeComputeEnvironments = (0, import_core.createPaginator)(BatchClient, DescribeComputeEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
2166
|
+
|
|
2167
|
+
// src/pagination/DescribeJobDefinitionsPaginator.ts
|
|
2168
|
+
|
|
2169
|
+
var paginateDescribeJobDefinitions = (0, import_core.createPaginator)(BatchClient, DescribeJobDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
2170
|
+
|
|
2171
|
+
// src/pagination/DescribeJobQueuesPaginator.ts
|
|
2172
|
+
|
|
2173
|
+
var paginateDescribeJobQueues = (0, import_core.createPaginator)(BatchClient, DescribeJobQueuesCommand, "nextToken", "nextToken", "maxResults");
|
|
2174
|
+
|
|
2175
|
+
// src/pagination/ListJobsPaginator.ts
|
|
2176
|
+
|
|
2177
|
+
var paginateListJobs = (0, import_core.createPaginator)(BatchClient, ListJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
2178
|
+
|
|
2179
|
+
// src/pagination/ListSchedulingPoliciesPaginator.ts
|
|
2180
|
+
|
|
2181
|
+
var paginateListSchedulingPolicies = (0, import_core.createPaginator)(BatchClient, ListSchedulingPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
2182
|
+
|
|
2183
|
+
// src/index.ts
|
|
2184
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2185
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2186
|
+
0 && (module.exports = {
|
|
2187
|
+
ArrayJobDependency,
|
|
2188
|
+
AssignPublicIp,
|
|
2189
|
+
Batch,
|
|
2190
|
+
BatchClient,
|
|
2191
|
+
BatchServiceException,
|
|
2192
|
+
CEState,
|
|
2193
|
+
CEStatus,
|
|
2194
|
+
CEType,
|
|
2195
|
+
CRAllocationStrategy,
|
|
2196
|
+
CRType,
|
|
2197
|
+
CRUpdateAllocationStrategy,
|
|
2198
|
+
CancelJobCommand,
|
|
2199
|
+
ClientException,
|
|
2200
|
+
CreateComputeEnvironmentCommand,
|
|
2201
|
+
CreateJobQueueCommand,
|
|
2202
|
+
CreateSchedulingPolicyCommand,
|
|
2203
|
+
DeleteComputeEnvironmentCommand,
|
|
2204
|
+
DeleteJobQueueCommand,
|
|
2205
|
+
DeleteSchedulingPolicyCommand,
|
|
2206
|
+
DeregisterJobDefinitionCommand,
|
|
2207
|
+
DescribeComputeEnvironmentsCommand,
|
|
2208
|
+
DescribeJobDefinitionsCommand,
|
|
2209
|
+
DescribeJobQueuesCommand,
|
|
2210
|
+
DescribeJobsCommand,
|
|
2211
|
+
DescribeSchedulingPoliciesCommand,
|
|
2212
|
+
DeviceCgroupPermission,
|
|
2213
|
+
EFSAuthorizationConfigIAM,
|
|
2214
|
+
EFSTransitEncryption,
|
|
2215
|
+
JQState,
|
|
2216
|
+
JQStatus,
|
|
2217
|
+
JobDefinitionType,
|
|
2218
|
+
JobStatus,
|
|
2219
|
+
ListJobsCommand,
|
|
2220
|
+
ListSchedulingPoliciesCommand,
|
|
2221
|
+
ListTagsForResourceCommand,
|
|
2222
|
+
LogDriver,
|
|
2223
|
+
OrchestrationType,
|
|
2224
|
+
PlatformCapability,
|
|
2225
|
+
RegisterJobDefinitionCommand,
|
|
2226
|
+
ResourceType,
|
|
2227
|
+
RetryAction,
|
|
2228
|
+
ServerException,
|
|
2229
|
+
SubmitJobCommand,
|
|
2230
|
+
TagResourceCommand,
|
|
2231
|
+
TerminateJobCommand,
|
|
2232
|
+
UntagResourceCommand,
|
|
2233
|
+
UpdateComputeEnvironmentCommand,
|
|
2234
|
+
UpdateJobQueueCommand,
|
|
2235
|
+
UpdateSchedulingPolicyCommand,
|
|
2236
|
+
__Client,
|
|
2237
|
+
paginateDescribeComputeEnvironments,
|
|
2238
|
+
paginateDescribeJobDefinitions,
|
|
2239
|
+
paginateDescribeJobQueues,
|
|
2240
|
+
paginateListJobs,
|
|
2241
|
+
paginateListSchedulingPolicies
|
|
2242
|
+
});
|