@aws-sdk/client-batch 3.312.0 → 3.316.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 +28 -336
- package/dist-cjs/protocols/Aws_restJson1.js +297 -1958
- package/dist-es/Batch.js +28 -336
- package/dist-es/protocols/Aws_restJson1.js +271 -1932
- package/dist-types/Batch.d.ts +41 -201
- package/dist-types/ts3.4/Batch.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/Batch.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Batch = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const BatchClient_1 = require("./BatchClient");
|
|
5
6
|
const CancelJobCommand_1 = require("./commands/CancelJobCommand");
|
|
6
7
|
const CreateComputeEnvironmentCommand_1 = require("./commands/CreateComputeEnvironmentCommand");
|
|
@@ -26,342 +27,33 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
26
27
|
const UpdateComputeEnvironmentCommand_1 = require("./commands/UpdateComputeEnvironmentCommand");
|
|
27
28
|
const UpdateJobQueueCommand_1 = require("./commands/UpdateJobQueueCommand");
|
|
28
29
|
const UpdateSchedulingPolicyCommand_1 = require("./commands/UpdateSchedulingPolicyCommand");
|
|
30
|
+
const commands = {
|
|
31
|
+
CancelJobCommand: CancelJobCommand_1.CancelJobCommand,
|
|
32
|
+
CreateComputeEnvironmentCommand: CreateComputeEnvironmentCommand_1.CreateComputeEnvironmentCommand,
|
|
33
|
+
CreateJobQueueCommand: CreateJobQueueCommand_1.CreateJobQueueCommand,
|
|
34
|
+
CreateSchedulingPolicyCommand: CreateSchedulingPolicyCommand_1.CreateSchedulingPolicyCommand,
|
|
35
|
+
DeleteComputeEnvironmentCommand: DeleteComputeEnvironmentCommand_1.DeleteComputeEnvironmentCommand,
|
|
36
|
+
DeleteJobQueueCommand: DeleteJobQueueCommand_1.DeleteJobQueueCommand,
|
|
37
|
+
DeleteSchedulingPolicyCommand: DeleteSchedulingPolicyCommand_1.DeleteSchedulingPolicyCommand,
|
|
38
|
+
DeregisterJobDefinitionCommand: DeregisterJobDefinitionCommand_1.DeregisterJobDefinitionCommand,
|
|
39
|
+
DescribeComputeEnvironmentsCommand: DescribeComputeEnvironmentsCommand_1.DescribeComputeEnvironmentsCommand,
|
|
40
|
+
DescribeJobDefinitionsCommand: DescribeJobDefinitionsCommand_1.DescribeJobDefinitionsCommand,
|
|
41
|
+
DescribeJobQueuesCommand: DescribeJobQueuesCommand_1.DescribeJobQueuesCommand,
|
|
42
|
+
DescribeJobsCommand: DescribeJobsCommand_1.DescribeJobsCommand,
|
|
43
|
+
DescribeSchedulingPoliciesCommand: DescribeSchedulingPoliciesCommand_1.DescribeSchedulingPoliciesCommand,
|
|
44
|
+
ListJobsCommand: ListJobsCommand_1.ListJobsCommand,
|
|
45
|
+
ListSchedulingPoliciesCommand: ListSchedulingPoliciesCommand_1.ListSchedulingPoliciesCommand,
|
|
46
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
47
|
+
RegisterJobDefinitionCommand: RegisterJobDefinitionCommand_1.RegisterJobDefinitionCommand,
|
|
48
|
+
SubmitJobCommand: SubmitJobCommand_1.SubmitJobCommand,
|
|
49
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
50
|
+
TerminateJobCommand: TerminateJobCommand_1.TerminateJobCommand,
|
|
51
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
52
|
+
UpdateComputeEnvironmentCommand: UpdateComputeEnvironmentCommand_1.UpdateComputeEnvironmentCommand,
|
|
53
|
+
UpdateJobQueueCommand: UpdateJobQueueCommand_1.UpdateJobQueueCommand,
|
|
54
|
+
UpdateSchedulingPolicyCommand: UpdateSchedulingPolicyCommand_1.UpdateSchedulingPolicyCommand,
|
|
55
|
+
};
|
|
29
56
|
class Batch extends BatchClient_1.BatchClient {
|
|
30
|
-
cancelJob(args, optionsOrCb, cb) {
|
|
31
|
-
const command = new CancelJobCommand_1.CancelJobCommand(args);
|
|
32
|
-
if (typeof optionsOrCb === "function") {
|
|
33
|
-
this.send(command, optionsOrCb);
|
|
34
|
-
}
|
|
35
|
-
else if (typeof cb === "function") {
|
|
36
|
-
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
38
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
return this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
createComputeEnvironment(args, optionsOrCb, cb) {
|
|
45
|
-
const command = new CreateComputeEnvironmentCommand_1.CreateComputeEnvironmentCommand(args);
|
|
46
|
-
if (typeof optionsOrCb === "function") {
|
|
47
|
-
this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
else if (typeof cb === "function") {
|
|
50
|
-
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
52
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
return this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
createJobQueue(args, optionsOrCb, cb) {
|
|
59
|
-
const command = new CreateJobQueueCommand_1.CreateJobQueueCommand(args);
|
|
60
|
-
if (typeof optionsOrCb === "function") {
|
|
61
|
-
this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
else if (typeof cb === "function") {
|
|
64
|
-
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
createSchedulingPolicy(args, optionsOrCb, cb) {
|
|
73
|
-
const command = new CreateSchedulingPolicyCommand_1.CreateSchedulingPolicyCommand(args);
|
|
74
|
-
if (typeof optionsOrCb === "function") {
|
|
75
|
-
this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
else if (typeof cb === "function") {
|
|
78
|
-
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
return this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
deleteComputeEnvironment(args, optionsOrCb, cb) {
|
|
87
|
-
const command = new DeleteComputeEnvironmentCommand_1.DeleteComputeEnvironmentCommand(args);
|
|
88
|
-
if (typeof optionsOrCb === "function") {
|
|
89
|
-
this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
else if (typeof cb === "function") {
|
|
92
|
-
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
deleteJobQueue(args, optionsOrCb, cb) {
|
|
101
|
-
const command = new DeleteJobQueueCommand_1.DeleteJobQueueCommand(args);
|
|
102
|
-
if (typeof optionsOrCb === "function") {
|
|
103
|
-
this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
else if (typeof cb === "function") {
|
|
106
|
-
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
deleteSchedulingPolicy(args, optionsOrCb, cb) {
|
|
115
|
-
const command = new DeleteSchedulingPolicyCommand_1.DeleteSchedulingPolicyCommand(args);
|
|
116
|
-
if (typeof optionsOrCb === "function") {
|
|
117
|
-
this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
else if (typeof cb === "function") {
|
|
120
|
-
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
return this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
deregisterJobDefinition(args, optionsOrCb, cb) {
|
|
129
|
-
const command = new DeregisterJobDefinitionCommand_1.DeregisterJobDefinitionCommand(args);
|
|
130
|
-
if (typeof optionsOrCb === "function") {
|
|
131
|
-
this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
else if (typeof cb === "function") {
|
|
134
|
-
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
return this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
describeComputeEnvironments(args, optionsOrCb, cb) {
|
|
143
|
-
const command = new DescribeComputeEnvironmentsCommand_1.DescribeComputeEnvironmentsCommand(args);
|
|
144
|
-
if (typeof optionsOrCb === "function") {
|
|
145
|
-
this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
else if (typeof cb === "function") {
|
|
148
|
-
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
describeJobDefinitions(args, optionsOrCb, cb) {
|
|
157
|
-
const command = new DescribeJobDefinitionsCommand_1.DescribeJobDefinitionsCommand(args);
|
|
158
|
-
if (typeof optionsOrCb === "function") {
|
|
159
|
-
this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
else if (typeof cb === "function") {
|
|
162
|
-
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
164
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
return this.send(command, optionsOrCb);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
describeJobQueues(args, optionsOrCb, cb) {
|
|
171
|
-
const command = new DescribeJobQueuesCommand_1.DescribeJobQueuesCommand(args);
|
|
172
|
-
if (typeof optionsOrCb === "function") {
|
|
173
|
-
this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
else if (typeof cb === "function") {
|
|
176
|
-
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
return this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
describeJobs(args, optionsOrCb, cb) {
|
|
185
|
-
const command = new DescribeJobsCommand_1.DescribeJobsCommand(args);
|
|
186
|
-
if (typeof optionsOrCb === "function") {
|
|
187
|
-
this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
else if (typeof cb === "function") {
|
|
190
|
-
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
return this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
describeSchedulingPolicies(args, optionsOrCb, cb) {
|
|
199
|
-
const command = new DescribeSchedulingPoliciesCommand_1.DescribeSchedulingPoliciesCommand(args);
|
|
200
|
-
if (typeof optionsOrCb === "function") {
|
|
201
|
-
this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
else if (typeof cb === "function") {
|
|
204
|
-
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
206
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
return this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
listJobs(args, optionsOrCb, cb) {
|
|
213
|
-
const command = new ListJobsCommand_1.ListJobsCommand(args);
|
|
214
|
-
if (typeof optionsOrCb === "function") {
|
|
215
|
-
this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
else if (typeof cb === "function") {
|
|
218
|
-
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
-
}
|
|
222
|
-
else {
|
|
223
|
-
return this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
listSchedulingPolicies(args, optionsOrCb, cb) {
|
|
227
|
-
const command = new ListSchedulingPoliciesCommand_1.ListSchedulingPoliciesCommand(args);
|
|
228
|
-
if (typeof optionsOrCb === "function") {
|
|
229
|
-
this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
else if (typeof cb === "function") {
|
|
232
|
-
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
234
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
return this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
241
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
242
|
-
if (typeof optionsOrCb === "function") {
|
|
243
|
-
this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
else if (typeof cb === "function") {
|
|
246
|
-
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
return this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
registerJobDefinition(args, optionsOrCb, cb) {
|
|
255
|
-
const command = new RegisterJobDefinitionCommand_1.RegisterJobDefinitionCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
else if (typeof cb === "function") {
|
|
260
|
-
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
262
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
return this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
submitJob(args, optionsOrCb, cb) {
|
|
269
|
-
const command = new SubmitJobCommand_1.SubmitJobCommand(args);
|
|
270
|
-
if (typeof optionsOrCb === "function") {
|
|
271
|
-
this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
else if (typeof cb === "function") {
|
|
274
|
-
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
276
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
277
|
-
}
|
|
278
|
-
else {
|
|
279
|
-
return this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
tagResource(args, optionsOrCb, cb) {
|
|
283
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
284
|
-
if (typeof optionsOrCb === "function") {
|
|
285
|
-
this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
else if (typeof cb === "function") {
|
|
288
|
-
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
290
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
291
|
-
}
|
|
292
|
-
else {
|
|
293
|
-
return this.send(command, optionsOrCb);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
terminateJob(args, optionsOrCb, cb) {
|
|
297
|
-
const command = new TerminateJobCommand_1.TerminateJobCommand(args);
|
|
298
|
-
if (typeof optionsOrCb === "function") {
|
|
299
|
-
this.send(command, optionsOrCb);
|
|
300
|
-
}
|
|
301
|
-
else if (typeof cb === "function") {
|
|
302
|
-
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
305
|
-
}
|
|
306
|
-
else {
|
|
307
|
-
return this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
untagResource(args, optionsOrCb, cb) {
|
|
311
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
312
|
-
if (typeof optionsOrCb === "function") {
|
|
313
|
-
this.send(command, optionsOrCb);
|
|
314
|
-
}
|
|
315
|
-
else if (typeof cb === "function") {
|
|
316
|
-
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
-
}
|
|
320
|
-
else {
|
|
321
|
-
return this.send(command, optionsOrCb);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
updateComputeEnvironment(args, optionsOrCb, cb) {
|
|
325
|
-
const command = new UpdateComputeEnvironmentCommand_1.UpdateComputeEnvironmentCommand(args);
|
|
326
|
-
if (typeof optionsOrCb === "function") {
|
|
327
|
-
this.send(command, optionsOrCb);
|
|
328
|
-
}
|
|
329
|
-
else if (typeof cb === "function") {
|
|
330
|
-
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
333
|
-
}
|
|
334
|
-
else {
|
|
335
|
-
return this.send(command, optionsOrCb);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
updateJobQueue(args, optionsOrCb, cb) {
|
|
339
|
-
const command = new UpdateJobQueueCommand_1.UpdateJobQueueCommand(args);
|
|
340
|
-
if (typeof optionsOrCb === "function") {
|
|
341
|
-
this.send(command, optionsOrCb);
|
|
342
|
-
}
|
|
343
|
-
else if (typeof cb === "function") {
|
|
344
|
-
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
346
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
347
|
-
}
|
|
348
|
-
else {
|
|
349
|
-
return this.send(command, optionsOrCb);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
updateSchedulingPolicy(args, optionsOrCb, cb) {
|
|
353
|
-
const command = new UpdateSchedulingPolicyCommand_1.UpdateSchedulingPolicyCommand(args);
|
|
354
|
-
if (typeof optionsOrCb === "function") {
|
|
355
|
-
this.send(command, optionsOrCb);
|
|
356
|
-
}
|
|
357
|
-
else if (typeof cb === "function") {
|
|
358
|
-
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
360
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
361
|
-
}
|
|
362
|
-
else {
|
|
363
|
-
return this.send(command, optionsOrCb);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
57
|
}
|
|
367
58
|
exports.Batch = Batch;
|
|
59
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Batch);
|