@aws-sdk/client-mediaconvert 3.315.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MediaConvert = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const AssociateCertificateCommand_1 = require("./commands/AssociateCertificateCommand");
5
6
  const CancelJobCommand_1 = require("./commands/CancelJobCommand");
6
7
  const CreateJobCommand_1 = require("./commands/CreateJobCommand");
@@ -30,398 +31,37 @@ const UpdateJobTemplateCommand_1 = require("./commands/UpdateJobTemplateCommand"
30
31
  const UpdatePresetCommand_1 = require("./commands/UpdatePresetCommand");
31
32
  const UpdateQueueCommand_1 = require("./commands/UpdateQueueCommand");
32
33
  const MediaConvertClient_1 = require("./MediaConvertClient");
34
+ const commands = {
35
+ AssociateCertificateCommand: AssociateCertificateCommand_1.AssociateCertificateCommand,
36
+ CancelJobCommand: CancelJobCommand_1.CancelJobCommand,
37
+ CreateJobCommand: CreateJobCommand_1.CreateJobCommand,
38
+ CreateJobTemplateCommand: CreateJobTemplateCommand_1.CreateJobTemplateCommand,
39
+ CreatePresetCommand: CreatePresetCommand_1.CreatePresetCommand,
40
+ CreateQueueCommand: CreateQueueCommand_1.CreateQueueCommand,
41
+ DeleteJobTemplateCommand: DeleteJobTemplateCommand_1.DeleteJobTemplateCommand,
42
+ DeletePolicyCommand: DeletePolicyCommand_1.DeletePolicyCommand,
43
+ DeletePresetCommand: DeletePresetCommand_1.DeletePresetCommand,
44
+ DeleteQueueCommand: DeleteQueueCommand_1.DeleteQueueCommand,
45
+ DescribeEndpointsCommand: DescribeEndpointsCommand_1.DescribeEndpointsCommand,
46
+ DisassociateCertificateCommand: DisassociateCertificateCommand_1.DisassociateCertificateCommand,
47
+ GetJobCommand: GetJobCommand_1.GetJobCommand,
48
+ GetJobTemplateCommand: GetJobTemplateCommand_1.GetJobTemplateCommand,
49
+ GetPolicyCommand: GetPolicyCommand_1.GetPolicyCommand,
50
+ GetPresetCommand: GetPresetCommand_1.GetPresetCommand,
51
+ GetQueueCommand: GetQueueCommand_1.GetQueueCommand,
52
+ ListJobsCommand: ListJobsCommand_1.ListJobsCommand,
53
+ ListJobTemplatesCommand: ListJobTemplatesCommand_1.ListJobTemplatesCommand,
54
+ ListPresetsCommand: ListPresetsCommand_1.ListPresetsCommand,
55
+ ListQueuesCommand: ListQueuesCommand_1.ListQueuesCommand,
56
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
57
+ PutPolicyCommand: PutPolicyCommand_1.PutPolicyCommand,
58
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
59
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
60
+ UpdateJobTemplateCommand: UpdateJobTemplateCommand_1.UpdateJobTemplateCommand,
61
+ UpdatePresetCommand: UpdatePresetCommand_1.UpdatePresetCommand,
62
+ UpdateQueueCommand: UpdateQueueCommand_1.UpdateQueueCommand,
63
+ };
33
64
  class MediaConvert extends MediaConvertClient_1.MediaConvertClient {
34
- associateCertificate(args, optionsOrCb, cb) {
35
- const command = new AssociateCertificateCommand_1.AssociateCertificateCommand(args);
36
- if (typeof optionsOrCb === "function") {
37
- this.send(command, optionsOrCb);
38
- }
39
- else if (typeof cb === "function") {
40
- if (typeof optionsOrCb !== "object")
41
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
42
- this.send(command, optionsOrCb || {}, cb);
43
- }
44
- else {
45
- return this.send(command, optionsOrCb);
46
- }
47
- }
48
- cancelJob(args, optionsOrCb, cb) {
49
- const command = new CancelJobCommand_1.CancelJobCommand(args);
50
- if (typeof optionsOrCb === "function") {
51
- this.send(command, optionsOrCb);
52
- }
53
- else if (typeof cb === "function") {
54
- if (typeof optionsOrCb !== "object")
55
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
56
- this.send(command, optionsOrCb || {}, cb);
57
- }
58
- else {
59
- return this.send(command, optionsOrCb);
60
- }
61
- }
62
- createJob(args, optionsOrCb, cb) {
63
- const command = new CreateJobCommand_1.CreateJobCommand(args);
64
- if (typeof optionsOrCb === "function") {
65
- this.send(command, optionsOrCb);
66
- }
67
- else if (typeof cb === "function") {
68
- if (typeof optionsOrCb !== "object")
69
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
70
- this.send(command, optionsOrCb || {}, cb);
71
- }
72
- else {
73
- return this.send(command, optionsOrCb);
74
- }
75
- }
76
- createJobTemplate(args, optionsOrCb, cb) {
77
- const command = new CreateJobTemplateCommand_1.CreateJobTemplateCommand(args);
78
- if (typeof optionsOrCb === "function") {
79
- this.send(command, optionsOrCb);
80
- }
81
- else if (typeof cb === "function") {
82
- if (typeof optionsOrCb !== "object")
83
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
84
- this.send(command, optionsOrCb || {}, cb);
85
- }
86
- else {
87
- return this.send(command, optionsOrCb);
88
- }
89
- }
90
- createPreset(args, optionsOrCb, cb) {
91
- const command = new CreatePresetCommand_1.CreatePresetCommand(args);
92
- if (typeof optionsOrCb === "function") {
93
- this.send(command, optionsOrCb);
94
- }
95
- else if (typeof cb === "function") {
96
- if (typeof optionsOrCb !== "object")
97
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
98
- this.send(command, optionsOrCb || {}, cb);
99
- }
100
- else {
101
- return this.send(command, optionsOrCb);
102
- }
103
- }
104
- createQueue(args, optionsOrCb, cb) {
105
- const command = new CreateQueueCommand_1.CreateQueueCommand(args);
106
- if (typeof optionsOrCb === "function") {
107
- this.send(command, optionsOrCb);
108
- }
109
- else if (typeof cb === "function") {
110
- if (typeof optionsOrCb !== "object")
111
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
112
- this.send(command, optionsOrCb || {}, cb);
113
- }
114
- else {
115
- return this.send(command, optionsOrCb);
116
- }
117
- }
118
- deleteJobTemplate(args, optionsOrCb, cb) {
119
- const command = new DeleteJobTemplateCommand_1.DeleteJobTemplateCommand(args);
120
- if (typeof optionsOrCb === "function") {
121
- this.send(command, optionsOrCb);
122
- }
123
- else if (typeof cb === "function") {
124
- if (typeof optionsOrCb !== "object")
125
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
126
- this.send(command, optionsOrCb || {}, cb);
127
- }
128
- else {
129
- return this.send(command, optionsOrCb);
130
- }
131
- }
132
- deletePolicy(args, optionsOrCb, cb) {
133
- const command = new DeletePolicyCommand_1.DeletePolicyCommand(args);
134
- if (typeof optionsOrCb === "function") {
135
- this.send(command, optionsOrCb);
136
- }
137
- else if (typeof cb === "function") {
138
- if (typeof optionsOrCb !== "object")
139
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
140
- this.send(command, optionsOrCb || {}, cb);
141
- }
142
- else {
143
- return this.send(command, optionsOrCb);
144
- }
145
- }
146
- deletePreset(args, optionsOrCb, cb) {
147
- const command = new DeletePresetCommand_1.DeletePresetCommand(args);
148
- if (typeof optionsOrCb === "function") {
149
- this.send(command, optionsOrCb);
150
- }
151
- else if (typeof cb === "function") {
152
- if (typeof optionsOrCb !== "object")
153
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
154
- this.send(command, optionsOrCb || {}, cb);
155
- }
156
- else {
157
- return this.send(command, optionsOrCb);
158
- }
159
- }
160
- deleteQueue(args, optionsOrCb, cb) {
161
- const command = new DeleteQueueCommand_1.DeleteQueueCommand(args);
162
- if (typeof optionsOrCb === "function") {
163
- this.send(command, optionsOrCb);
164
- }
165
- else if (typeof cb === "function") {
166
- if (typeof optionsOrCb !== "object")
167
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
168
- this.send(command, optionsOrCb || {}, cb);
169
- }
170
- else {
171
- return this.send(command, optionsOrCb);
172
- }
173
- }
174
- describeEndpoints(args, optionsOrCb, cb) {
175
- const command = new DescribeEndpointsCommand_1.DescribeEndpointsCommand(args);
176
- if (typeof optionsOrCb === "function") {
177
- this.send(command, optionsOrCb);
178
- }
179
- else if (typeof cb === "function") {
180
- if (typeof optionsOrCb !== "object")
181
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
182
- this.send(command, optionsOrCb || {}, cb);
183
- }
184
- else {
185
- return this.send(command, optionsOrCb);
186
- }
187
- }
188
- disassociateCertificate(args, optionsOrCb, cb) {
189
- const command = new DisassociateCertificateCommand_1.DisassociateCertificateCommand(args);
190
- if (typeof optionsOrCb === "function") {
191
- this.send(command, optionsOrCb);
192
- }
193
- else if (typeof cb === "function") {
194
- if (typeof optionsOrCb !== "object")
195
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
196
- this.send(command, optionsOrCb || {}, cb);
197
- }
198
- else {
199
- return this.send(command, optionsOrCb);
200
- }
201
- }
202
- getJob(args, optionsOrCb, cb) {
203
- const command = new GetJobCommand_1.GetJobCommand(args);
204
- if (typeof optionsOrCb === "function") {
205
- this.send(command, optionsOrCb);
206
- }
207
- else if (typeof cb === "function") {
208
- if (typeof optionsOrCb !== "object")
209
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
210
- this.send(command, optionsOrCb || {}, cb);
211
- }
212
- else {
213
- return this.send(command, optionsOrCb);
214
- }
215
- }
216
- getJobTemplate(args, optionsOrCb, cb) {
217
- const command = new GetJobTemplateCommand_1.GetJobTemplateCommand(args);
218
- if (typeof optionsOrCb === "function") {
219
- this.send(command, optionsOrCb);
220
- }
221
- else if (typeof cb === "function") {
222
- if (typeof optionsOrCb !== "object")
223
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
224
- this.send(command, optionsOrCb || {}, cb);
225
- }
226
- else {
227
- return this.send(command, optionsOrCb);
228
- }
229
- }
230
- getPolicy(args, optionsOrCb, cb) {
231
- const command = new GetPolicyCommand_1.GetPolicyCommand(args);
232
- if (typeof optionsOrCb === "function") {
233
- this.send(command, optionsOrCb);
234
- }
235
- else if (typeof cb === "function") {
236
- if (typeof optionsOrCb !== "object")
237
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
238
- this.send(command, optionsOrCb || {}, cb);
239
- }
240
- else {
241
- return this.send(command, optionsOrCb);
242
- }
243
- }
244
- getPreset(args, optionsOrCb, cb) {
245
- const command = new GetPresetCommand_1.GetPresetCommand(args);
246
- if (typeof optionsOrCb === "function") {
247
- this.send(command, optionsOrCb);
248
- }
249
- else if (typeof cb === "function") {
250
- if (typeof optionsOrCb !== "object")
251
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
252
- this.send(command, optionsOrCb || {}, cb);
253
- }
254
- else {
255
- return this.send(command, optionsOrCb);
256
- }
257
- }
258
- getQueue(args, optionsOrCb, cb) {
259
- const command = new GetQueueCommand_1.GetQueueCommand(args);
260
- if (typeof optionsOrCb === "function") {
261
- this.send(command, optionsOrCb);
262
- }
263
- else if (typeof cb === "function") {
264
- if (typeof optionsOrCb !== "object")
265
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
266
- this.send(command, optionsOrCb || {}, cb);
267
- }
268
- else {
269
- return this.send(command, optionsOrCb);
270
- }
271
- }
272
- listJobs(args, optionsOrCb, cb) {
273
- const command = new ListJobsCommand_1.ListJobsCommand(args);
274
- if (typeof optionsOrCb === "function") {
275
- this.send(command, optionsOrCb);
276
- }
277
- else if (typeof cb === "function") {
278
- if (typeof optionsOrCb !== "object")
279
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
280
- this.send(command, optionsOrCb || {}, cb);
281
- }
282
- else {
283
- return this.send(command, optionsOrCb);
284
- }
285
- }
286
- listJobTemplates(args, optionsOrCb, cb) {
287
- const command = new ListJobTemplatesCommand_1.ListJobTemplatesCommand(args);
288
- if (typeof optionsOrCb === "function") {
289
- this.send(command, optionsOrCb);
290
- }
291
- else if (typeof cb === "function") {
292
- if (typeof optionsOrCb !== "object")
293
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
294
- this.send(command, optionsOrCb || {}, cb);
295
- }
296
- else {
297
- return this.send(command, optionsOrCb);
298
- }
299
- }
300
- listPresets(args, optionsOrCb, cb) {
301
- const command = new ListPresetsCommand_1.ListPresetsCommand(args);
302
- if (typeof optionsOrCb === "function") {
303
- this.send(command, optionsOrCb);
304
- }
305
- else if (typeof cb === "function") {
306
- if (typeof optionsOrCb !== "object")
307
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
308
- this.send(command, optionsOrCb || {}, cb);
309
- }
310
- else {
311
- return this.send(command, optionsOrCb);
312
- }
313
- }
314
- listQueues(args, optionsOrCb, cb) {
315
- const command = new ListQueuesCommand_1.ListQueuesCommand(args);
316
- if (typeof optionsOrCb === "function") {
317
- this.send(command, optionsOrCb);
318
- }
319
- else if (typeof cb === "function") {
320
- if (typeof optionsOrCb !== "object")
321
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
322
- this.send(command, optionsOrCb || {}, cb);
323
- }
324
- else {
325
- return this.send(command, optionsOrCb);
326
- }
327
- }
328
- listTagsForResource(args, optionsOrCb, cb) {
329
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
330
- if (typeof optionsOrCb === "function") {
331
- this.send(command, optionsOrCb);
332
- }
333
- else if (typeof cb === "function") {
334
- if (typeof optionsOrCb !== "object")
335
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
336
- this.send(command, optionsOrCb || {}, cb);
337
- }
338
- else {
339
- return this.send(command, optionsOrCb);
340
- }
341
- }
342
- putPolicy(args, optionsOrCb, cb) {
343
- const command = new PutPolicyCommand_1.PutPolicyCommand(args);
344
- if (typeof optionsOrCb === "function") {
345
- this.send(command, optionsOrCb);
346
- }
347
- else if (typeof cb === "function") {
348
- if (typeof optionsOrCb !== "object")
349
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
350
- this.send(command, optionsOrCb || {}, cb);
351
- }
352
- else {
353
- return this.send(command, optionsOrCb);
354
- }
355
- }
356
- tagResource(args, optionsOrCb, cb) {
357
- const command = new TagResourceCommand_1.TagResourceCommand(args);
358
- if (typeof optionsOrCb === "function") {
359
- this.send(command, optionsOrCb);
360
- }
361
- else if (typeof cb === "function") {
362
- if (typeof optionsOrCb !== "object")
363
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
364
- this.send(command, optionsOrCb || {}, cb);
365
- }
366
- else {
367
- return this.send(command, optionsOrCb);
368
- }
369
- }
370
- untagResource(args, optionsOrCb, cb) {
371
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
372
- if (typeof optionsOrCb === "function") {
373
- this.send(command, optionsOrCb);
374
- }
375
- else if (typeof cb === "function") {
376
- if (typeof optionsOrCb !== "object")
377
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
378
- this.send(command, optionsOrCb || {}, cb);
379
- }
380
- else {
381
- return this.send(command, optionsOrCb);
382
- }
383
- }
384
- updateJobTemplate(args, optionsOrCb, cb) {
385
- const command = new UpdateJobTemplateCommand_1.UpdateJobTemplateCommand(args);
386
- if (typeof optionsOrCb === "function") {
387
- this.send(command, optionsOrCb);
388
- }
389
- else if (typeof cb === "function") {
390
- if (typeof optionsOrCb !== "object")
391
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
392
- this.send(command, optionsOrCb || {}, cb);
393
- }
394
- else {
395
- return this.send(command, optionsOrCb);
396
- }
397
- }
398
- updatePreset(args, optionsOrCb, cb) {
399
- const command = new UpdatePresetCommand_1.UpdatePresetCommand(args);
400
- if (typeof optionsOrCb === "function") {
401
- this.send(command, optionsOrCb);
402
- }
403
- else if (typeof cb === "function") {
404
- if (typeof optionsOrCb !== "object")
405
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
406
- this.send(command, optionsOrCb || {}, cb);
407
- }
408
- else {
409
- return this.send(command, optionsOrCb);
410
- }
411
- }
412
- updateQueue(args, optionsOrCb, cb) {
413
- const command = new UpdateQueueCommand_1.UpdateQueueCommand(args);
414
- if (typeof optionsOrCb === "function") {
415
- this.send(command, optionsOrCb);
416
- }
417
- else if (typeof cb === "function") {
418
- if (typeof optionsOrCb !== "object")
419
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
420
- this.send(command, optionsOrCb || {}, cb);
421
- }
422
- else {
423
- return this.send(command, optionsOrCb);
424
- }
425
- }
426
65
  }
427
66
  exports.MediaConvert = MediaConvert;
67
+ (0, smithy_client_1.createAggregatedClient)(commands, MediaConvert);
@@ -55,7 +55,7 @@ const se_CreateJobCommand = async (input, context) => {
55
55
  body = JSON.stringify((0, smithy_client_1.take)(input, {
56
56
  accelerationSettings: [, (_) => se_AccelerationSettings(_, context), `AccelerationSettings`],
57
57
  billingTagsSource: [, , `BillingTagsSource`],
58
- clientRequestToken: [, (_) => _ ?? (0, uuid_1.v4)(), `ClientRequestToken`],
58
+ clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `ClientRequestToken`],
59
59
  hopDestinations: [, (_) => se___listOfHopDestination(_, context), `HopDestinations`],
60
60
  jobTemplate: [, , `JobTemplate`],
61
61
  priority: [, , `Priority`],
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { AssociateCertificateCommand, } from "./commands/AssociateCertificateCommand";
2
3
  import { CancelJobCommand } from "./commands/CancelJobCommand";
3
4
  import { CreateJobCommand } from "./commands/CreateJobCommand";
@@ -27,397 +28,36 @@ import { UpdateJobTemplateCommand, } from "./commands/UpdateJobTemplateCommand";
27
28
  import { UpdatePresetCommand, } from "./commands/UpdatePresetCommand";
28
29
  import { UpdateQueueCommand } from "./commands/UpdateQueueCommand";
29
30
  import { MediaConvertClient } from "./MediaConvertClient";
31
+ const commands = {
32
+ AssociateCertificateCommand,
33
+ CancelJobCommand,
34
+ CreateJobCommand,
35
+ CreateJobTemplateCommand,
36
+ CreatePresetCommand,
37
+ CreateQueueCommand,
38
+ DeleteJobTemplateCommand,
39
+ DeletePolicyCommand,
40
+ DeletePresetCommand,
41
+ DeleteQueueCommand,
42
+ DescribeEndpointsCommand,
43
+ DisassociateCertificateCommand,
44
+ GetJobCommand,
45
+ GetJobTemplateCommand,
46
+ GetPolicyCommand,
47
+ GetPresetCommand,
48
+ GetQueueCommand,
49
+ ListJobsCommand,
50
+ ListJobTemplatesCommand,
51
+ ListPresetsCommand,
52
+ ListQueuesCommand,
53
+ ListTagsForResourceCommand,
54
+ PutPolicyCommand,
55
+ TagResourceCommand,
56
+ UntagResourceCommand,
57
+ UpdateJobTemplateCommand,
58
+ UpdatePresetCommand,
59
+ UpdateQueueCommand,
60
+ };
30
61
  export class MediaConvert extends MediaConvertClient {
31
- associateCertificate(args, optionsOrCb, cb) {
32
- const command = new AssociateCertificateCommand(args);
33
- if (typeof optionsOrCb === "function") {
34
- this.send(command, optionsOrCb);
35
- }
36
- else if (typeof cb === "function") {
37
- if (typeof optionsOrCb !== "object")
38
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
39
- this.send(command, optionsOrCb || {}, cb);
40
- }
41
- else {
42
- return this.send(command, optionsOrCb);
43
- }
44
- }
45
- cancelJob(args, optionsOrCb, cb) {
46
- const command = new CancelJobCommand(args);
47
- if (typeof optionsOrCb === "function") {
48
- this.send(command, optionsOrCb);
49
- }
50
- else if (typeof cb === "function") {
51
- if (typeof optionsOrCb !== "object")
52
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
53
- this.send(command, optionsOrCb || {}, cb);
54
- }
55
- else {
56
- return this.send(command, optionsOrCb);
57
- }
58
- }
59
- createJob(args, optionsOrCb, cb) {
60
- const command = new CreateJobCommand(args);
61
- if (typeof optionsOrCb === "function") {
62
- this.send(command, optionsOrCb);
63
- }
64
- else if (typeof cb === "function") {
65
- if (typeof optionsOrCb !== "object")
66
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
67
- this.send(command, optionsOrCb || {}, cb);
68
- }
69
- else {
70
- return this.send(command, optionsOrCb);
71
- }
72
- }
73
- createJobTemplate(args, optionsOrCb, cb) {
74
- const command = new CreateJobTemplateCommand(args);
75
- if (typeof optionsOrCb === "function") {
76
- this.send(command, optionsOrCb);
77
- }
78
- else if (typeof cb === "function") {
79
- if (typeof optionsOrCb !== "object")
80
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
81
- this.send(command, optionsOrCb || {}, cb);
82
- }
83
- else {
84
- return this.send(command, optionsOrCb);
85
- }
86
- }
87
- createPreset(args, optionsOrCb, cb) {
88
- const command = new CreatePresetCommand(args);
89
- if (typeof optionsOrCb === "function") {
90
- this.send(command, optionsOrCb);
91
- }
92
- else if (typeof cb === "function") {
93
- if (typeof optionsOrCb !== "object")
94
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
95
- this.send(command, optionsOrCb || {}, cb);
96
- }
97
- else {
98
- return this.send(command, optionsOrCb);
99
- }
100
- }
101
- createQueue(args, optionsOrCb, cb) {
102
- const command = new CreateQueueCommand(args);
103
- if (typeof optionsOrCb === "function") {
104
- this.send(command, optionsOrCb);
105
- }
106
- else if (typeof cb === "function") {
107
- if (typeof optionsOrCb !== "object")
108
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
109
- this.send(command, optionsOrCb || {}, cb);
110
- }
111
- else {
112
- return this.send(command, optionsOrCb);
113
- }
114
- }
115
- deleteJobTemplate(args, optionsOrCb, cb) {
116
- const command = new DeleteJobTemplateCommand(args);
117
- if (typeof optionsOrCb === "function") {
118
- this.send(command, optionsOrCb);
119
- }
120
- else if (typeof cb === "function") {
121
- if (typeof optionsOrCb !== "object")
122
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
123
- this.send(command, optionsOrCb || {}, cb);
124
- }
125
- else {
126
- return this.send(command, optionsOrCb);
127
- }
128
- }
129
- deletePolicy(args, optionsOrCb, cb) {
130
- const command = new DeletePolicyCommand(args);
131
- if (typeof optionsOrCb === "function") {
132
- this.send(command, optionsOrCb);
133
- }
134
- else if (typeof cb === "function") {
135
- if (typeof optionsOrCb !== "object")
136
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
137
- this.send(command, optionsOrCb || {}, cb);
138
- }
139
- else {
140
- return this.send(command, optionsOrCb);
141
- }
142
- }
143
- deletePreset(args, optionsOrCb, cb) {
144
- const command = new DeletePresetCommand(args);
145
- if (typeof optionsOrCb === "function") {
146
- this.send(command, optionsOrCb);
147
- }
148
- else if (typeof cb === "function") {
149
- if (typeof optionsOrCb !== "object")
150
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
151
- this.send(command, optionsOrCb || {}, cb);
152
- }
153
- else {
154
- return this.send(command, optionsOrCb);
155
- }
156
- }
157
- deleteQueue(args, optionsOrCb, cb) {
158
- const command = new DeleteQueueCommand(args);
159
- if (typeof optionsOrCb === "function") {
160
- this.send(command, optionsOrCb);
161
- }
162
- else if (typeof cb === "function") {
163
- if (typeof optionsOrCb !== "object")
164
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
165
- this.send(command, optionsOrCb || {}, cb);
166
- }
167
- else {
168
- return this.send(command, optionsOrCb);
169
- }
170
- }
171
- describeEndpoints(args, optionsOrCb, cb) {
172
- const command = new DescribeEndpointsCommand(args);
173
- if (typeof optionsOrCb === "function") {
174
- this.send(command, optionsOrCb);
175
- }
176
- else if (typeof cb === "function") {
177
- if (typeof optionsOrCb !== "object")
178
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
179
- this.send(command, optionsOrCb || {}, cb);
180
- }
181
- else {
182
- return this.send(command, optionsOrCb);
183
- }
184
- }
185
- disassociateCertificate(args, optionsOrCb, cb) {
186
- const command = new DisassociateCertificateCommand(args);
187
- if (typeof optionsOrCb === "function") {
188
- this.send(command, optionsOrCb);
189
- }
190
- else if (typeof cb === "function") {
191
- if (typeof optionsOrCb !== "object")
192
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
193
- this.send(command, optionsOrCb || {}, cb);
194
- }
195
- else {
196
- return this.send(command, optionsOrCb);
197
- }
198
- }
199
- getJob(args, optionsOrCb, cb) {
200
- const command = new GetJobCommand(args);
201
- if (typeof optionsOrCb === "function") {
202
- this.send(command, optionsOrCb);
203
- }
204
- else if (typeof cb === "function") {
205
- if (typeof optionsOrCb !== "object")
206
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
207
- this.send(command, optionsOrCb || {}, cb);
208
- }
209
- else {
210
- return this.send(command, optionsOrCb);
211
- }
212
- }
213
- getJobTemplate(args, optionsOrCb, cb) {
214
- const command = new GetJobTemplateCommand(args);
215
- if (typeof optionsOrCb === "function") {
216
- this.send(command, optionsOrCb);
217
- }
218
- else if (typeof cb === "function") {
219
- if (typeof optionsOrCb !== "object")
220
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
221
- this.send(command, optionsOrCb || {}, cb);
222
- }
223
- else {
224
- return this.send(command, optionsOrCb);
225
- }
226
- }
227
- getPolicy(args, optionsOrCb, cb) {
228
- const command = new GetPolicyCommand(args);
229
- if (typeof optionsOrCb === "function") {
230
- this.send(command, optionsOrCb);
231
- }
232
- else if (typeof cb === "function") {
233
- if (typeof optionsOrCb !== "object")
234
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
235
- this.send(command, optionsOrCb || {}, cb);
236
- }
237
- else {
238
- return this.send(command, optionsOrCb);
239
- }
240
- }
241
- getPreset(args, optionsOrCb, cb) {
242
- const command = new GetPresetCommand(args);
243
- if (typeof optionsOrCb === "function") {
244
- this.send(command, optionsOrCb);
245
- }
246
- else if (typeof cb === "function") {
247
- if (typeof optionsOrCb !== "object")
248
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
249
- this.send(command, optionsOrCb || {}, cb);
250
- }
251
- else {
252
- return this.send(command, optionsOrCb);
253
- }
254
- }
255
- getQueue(args, optionsOrCb, cb) {
256
- const command = new GetQueueCommand(args);
257
- if (typeof optionsOrCb === "function") {
258
- this.send(command, optionsOrCb);
259
- }
260
- else if (typeof cb === "function") {
261
- if (typeof optionsOrCb !== "object")
262
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
263
- this.send(command, optionsOrCb || {}, cb);
264
- }
265
- else {
266
- return this.send(command, optionsOrCb);
267
- }
268
- }
269
- listJobs(args, optionsOrCb, cb) {
270
- const command = new ListJobsCommand(args);
271
- if (typeof optionsOrCb === "function") {
272
- this.send(command, optionsOrCb);
273
- }
274
- else if (typeof cb === "function") {
275
- if (typeof optionsOrCb !== "object")
276
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
277
- this.send(command, optionsOrCb || {}, cb);
278
- }
279
- else {
280
- return this.send(command, optionsOrCb);
281
- }
282
- }
283
- listJobTemplates(args, optionsOrCb, cb) {
284
- const command = new ListJobTemplatesCommand(args);
285
- if (typeof optionsOrCb === "function") {
286
- this.send(command, optionsOrCb);
287
- }
288
- else if (typeof cb === "function") {
289
- if (typeof optionsOrCb !== "object")
290
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
291
- this.send(command, optionsOrCb || {}, cb);
292
- }
293
- else {
294
- return this.send(command, optionsOrCb);
295
- }
296
- }
297
- listPresets(args, optionsOrCb, cb) {
298
- const command = new ListPresetsCommand(args);
299
- if (typeof optionsOrCb === "function") {
300
- this.send(command, optionsOrCb);
301
- }
302
- else if (typeof cb === "function") {
303
- if (typeof optionsOrCb !== "object")
304
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
305
- this.send(command, optionsOrCb || {}, cb);
306
- }
307
- else {
308
- return this.send(command, optionsOrCb);
309
- }
310
- }
311
- listQueues(args, optionsOrCb, cb) {
312
- const command = new ListQueuesCommand(args);
313
- if (typeof optionsOrCb === "function") {
314
- this.send(command, optionsOrCb);
315
- }
316
- else if (typeof cb === "function") {
317
- if (typeof optionsOrCb !== "object")
318
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
319
- this.send(command, optionsOrCb || {}, cb);
320
- }
321
- else {
322
- return this.send(command, optionsOrCb);
323
- }
324
- }
325
- listTagsForResource(args, optionsOrCb, cb) {
326
- const command = new ListTagsForResourceCommand(args);
327
- if (typeof optionsOrCb === "function") {
328
- this.send(command, optionsOrCb);
329
- }
330
- else if (typeof cb === "function") {
331
- if (typeof optionsOrCb !== "object")
332
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
333
- this.send(command, optionsOrCb || {}, cb);
334
- }
335
- else {
336
- return this.send(command, optionsOrCb);
337
- }
338
- }
339
- putPolicy(args, optionsOrCb, cb) {
340
- const command = new PutPolicyCommand(args);
341
- if (typeof optionsOrCb === "function") {
342
- this.send(command, optionsOrCb);
343
- }
344
- else if (typeof cb === "function") {
345
- if (typeof optionsOrCb !== "object")
346
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
347
- this.send(command, optionsOrCb || {}, cb);
348
- }
349
- else {
350
- return this.send(command, optionsOrCb);
351
- }
352
- }
353
- tagResource(args, optionsOrCb, cb) {
354
- const command = new TagResourceCommand(args);
355
- if (typeof optionsOrCb === "function") {
356
- this.send(command, optionsOrCb);
357
- }
358
- else if (typeof cb === "function") {
359
- if (typeof optionsOrCb !== "object")
360
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
361
- this.send(command, optionsOrCb || {}, cb);
362
- }
363
- else {
364
- return this.send(command, optionsOrCb);
365
- }
366
- }
367
- untagResource(args, optionsOrCb, cb) {
368
- const command = new UntagResourceCommand(args);
369
- if (typeof optionsOrCb === "function") {
370
- this.send(command, optionsOrCb);
371
- }
372
- else if (typeof cb === "function") {
373
- if (typeof optionsOrCb !== "object")
374
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
375
- this.send(command, optionsOrCb || {}, cb);
376
- }
377
- else {
378
- return this.send(command, optionsOrCb);
379
- }
380
- }
381
- updateJobTemplate(args, optionsOrCb, cb) {
382
- const command = new UpdateJobTemplateCommand(args);
383
- if (typeof optionsOrCb === "function") {
384
- this.send(command, optionsOrCb);
385
- }
386
- else if (typeof cb === "function") {
387
- if (typeof optionsOrCb !== "object")
388
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
389
- this.send(command, optionsOrCb || {}, cb);
390
- }
391
- else {
392
- return this.send(command, optionsOrCb);
393
- }
394
- }
395
- updatePreset(args, optionsOrCb, cb) {
396
- const command = new UpdatePresetCommand(args);
397
- if (typeof optionsOrCb === "function") {
398
- this.send(command, optionsOrCb);
399
- }
400
- else if (typeof cb === "function") {
401
- if (typeof optionsOrCb !== "object")
402
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
403
- this.send(command, optionsOrCb || {}, cb);
404
- }
405
- else {
406
- return this.send(command, optionsOrCb);
407
- }
408
- }
409
- updateQueue(args, optionsOrCb, cb) {
410
- const command = new UpdateQueueCommand(args);
411
- if (typeof optionsOrCb === "function") {
412
- this.send(command, optionsOrCb);
413
- }
414
- else if (typeof cb === "function") {
415
- if (typeof optionsOrCb !== "object")
416
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
417
- this.send(command, optionsOrCb || {}, cb);
418
- }
419
- else {
420
- return this.send(command, optionsOrCb);
421
- }
422
- }
423
62
  }
63
+ createAggregatedClient(commands, MediaConvert);
@@ -49,7 +49,7 @@ export const se_CreateJobCommand = async (input, context) => {
49
49
  body = JSON.stringify(take(input, {
50
50
  accelerationSettings: [, (_) => se_AccelerationSettings(_, context), `AccelerationSettings`],
51
51
  billingTagsSource: [, , `BillingTagsSource`],
52
- clientRequestToken: [, (_) => _ ?? generateIdempotencyToken(), `ClientRequestToken`],
52
+ clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken(), `ClientRequestToken`],
53
53
  hopDestinations: [, (_) => se___listOfHopDestination(_, context), `HopDestinations`],
54
54
  jobTemplate: [, , `JobTemplate`],
55
55
  priority: [, , `Priority`],
@@ -28,205 +28,179 @@ import { UpdateJobTemplateCommandInput, UpdateJobTemplateCommandOutput } from ".
28
28
  import { UpdatePresetCommandInput, UpdatePresetCommandOutput } from "./commands/UpdatePresetCommand";
29
29
  import { UpdateQueueCommandInput, UpdateQueueCommandOutput } from "./commands/UpdateQueueCommand";
30
30
  import { MediaConvertClient } from "./MediaConvertClient";
31
- /**
32
- * @public
33
- * AWS Elemental MediaConvert
34
- */
35
- export declare class MediaConvert extends MediaConvertClient {
31
+ export interface MediaConvert {
36
32
  /**
37
- * @public
38
- * Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.
33
+ * @see {@link AssociateCertificateCommand}
39
34
  */
40
35
  associateCertificate(args: AssociateCertificateCommandInput, options?: __HttpHandlerOptions): Promise<AssociateCertificateCommandOutput>;
41
36
  associateCertificate(args: AssociateCertificateCommandInput, cb: (err: any, data?: AssociateCertificateCommandOutput) => void): void;
42
37
  associateCertificate(args: AssociateCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateCertificateCommandOutput) => void): void;
43
38
  /**
44
- * @public
45
- * Permanently cancel a job. Once you have canceled a job, you can't start it again.
39
+ * @see {@link CancelJobCommand}
46
40
  */
47
41
  cancelJob(args: CancelJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobCommandOutput>;
48
42
  cancelJob(args: CancelJobCommandInput, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
49
43
  cancelJob(args: CancelJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
50
44
  /**
51
- * @public
52
- * Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
45
+ * @see {@link CreateJobCommand}
53
46
  */
54
47
  createJob(args: CreateJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateJobCommandOutput>;
55
48
  createJob(args: CreateJobCommandInput, cb: (err: any, data?: CreateJobCommandOutput) => void): void;
56
49
  createJob(args: CreateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobCommandOutput) => void): void;
57
50
  /**
58
- * @public
59
- * Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
51
+ * @see {@link CreateJobTemplateCommand}
60
52
  */
61
53
  createJobTemplate(args: CreateJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateJobTemplateCommandOutput>;
62
54
  createJobTemplate(args: CreateJobTemplateCommandInput, cb: (err: any, data?: CreateJobTemplateCommandOutput) => void): void;
63
55
  createJobTemplate(args: CreateJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobTemplateCommandOutput) => void): void;
64
56
  /**
65
- * @public
66
- * Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
57
+ * @see {@link CreatePresetCommand}
67
58
  */
68
59
  createPreset(args: CreatePresetCommandInput, options?: __HttpHandlerOptions): Promise<CreatePresetCommandOutput>;
69
60
  createPreset(args: CreatePresetCommandInput, cb: (err: any, data?: CreatePresetCommandOutput) => void): void;
70
61
  createPreset(args: CreatePresetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePresetCommandOutput) => void): void;
71
62
  /**
72
- * @public
73
- * Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
63
+ * @see {@link CreateQueueCommand}
74
64
  */
75
65
  createQueue(args: CreateQueueCommandInput, options?: __HttpHandlerOptions): Promise<CreateQueueCommandOutput>;
76
66
  createQueue(args: CreateQueueCommandInput, cb: (err: any, data?: CreateQueueCommandOutput) => void): void;
77
67
  createQueue(args: CreateQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQueueCommandOutput) => void): void;
78
68
  /**
79
- * @public
80
- * Permanently delete a job template you have created.
69
+ * @see {@link DeleteJobTemplateCommand}
81
70
  */
82
71
  deleteJobTemplate(args: DeleteJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteJobTemplateCommandOutput>;
83
72
  deleteJobTemplate(args: DeleteJobTemplateCommandInput, cb: (err: any, data?: DeleteJobTemplateCommandOutput) => void): void;
84
73
  deleteJobTemplate(args: DeleteJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobTemplateCommandOutput) => void): void;
85
74
  /**
86
- * @public
87
- * Permanently delete a policy that you created.
75
+ * @see {@link DeletePolicyCommand}
88
76
  */
89
77
  deletePolicy(args: DeletePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePolicyCommandOutput>;
90
78
  deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
91
79
  deletePolicy(args: DeletePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
92
80
  /**
93
- * @public
94
- * Permanently delete a preset you have created.
81
+ * @see {@link DeletePresetCommand}
95
82
  */
96
83
  deletePreset(args: DeletePresetCommandInput, options?: __HttpHandlerOptions): Promise<DeletePresetCommandOutput>;
97
84
  deletePreset(args: DeletePresetCommandInput, cb: (err: any, data?: DeletePresetCommandOutput) => void): void;
98
85
  deletePreset(args: DeletePresetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePresetCommandOutput) => void): void;
99
86
  /**
100
- * @public
101
- * Permanently delete a queue you have created.
87
+ * @see {@link DeleteQueueCommand}
102
88
  */
103
89
  deleteQueue(args: DeleteQueueCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQueueCommandOutput>;
104
90
  deleteQueue(args: DeleteQueueCommandInput, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void;
105
91
  deleteQueue(args: DeleteQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueueCommandOutput) => void): void;
106
92
  /**
107
- * @public
108
- * Send an request with an empty body to the regional API endpoint to get your account API endpoint.
93
+ * @see {@link DescribeEndpointsCommand}
109
94
  */
110
95
  describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
111
96
  describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
112
97
  describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
113
98
  /**
114
- * @public
115
- * Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
99
+ * @see {@link DisassociateCertificateCommand}
116
100
  */
117
101
  disassociateCertificate(args: DisassociateCertificateCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateCertificateCommandOutput>;
118
102
  disassociateCertificate(args: DisassociateCertificateCommandInput, cb: (err: any, data?: DisassociateCertificateCommandOutput) => void): void;
119
103
  disassociateCertificate(args: DisassociateCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateCertificateCommandOutput) => void): void;
120
104
  /**
121
- * @public
122
- * Retrieve the JSON for a specific completed transcoding job.
105
+ * @see {@link GetJobCommand}
123
106
  */
124
107
  getJob(args: GetJobCommandInput, options?: __HttpHandlerOptions): Promise<GetJobCommandOutput>;
125
108
  getJob(args: GetJobCommandInput, cb: (err: any, data?: GetJobCommandOutput) => void): void;
126
109
  getJob(args: GetJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobCommandOutput) => void): void;
127
110
  /**
128
- * @public
129
- * Retrieve the JSON for a specific job template.
111
+ * @see {@link GetJobTemplateCommand}
130
112
  */
131
113
  getJobTemplate(args: GetJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetJobTemplateCommandOutput>;
132
114
  getJobTemplate(args: GetJobTemplateCommandInput, cb: (err: any, data?: GetJobTemplateCommandOutput) => void): void;
133
115
  getJobTemplate(args: GetJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobTemplateCommandOutput) => void): void;
134
116
  /**
135
- * @public
136
- * Retrieve the JSON for your policy.
117
+ * @see {@link GetPolicyCommand}
137
118
  */
138
119
  getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
139
120
  getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
140
121
  getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
141
122
  /**
142
- * @public
143
- * Retrieve the JSON for a specific preset.
123
+ * @see {@link GetPresetCommand}
144
124
  */
145
125
  getPreset(args: GetPresetCommandInput, options?: __HttpHandlerOptions): Promise<GetPresetCommandOutput>;
146
126
  getPreset(args: GetPresetCommandInput, cb: (err: any, data?: GetPresetCommandOutput) => void): void;
147
127
  getPreset(args: GetPresetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPresetCommandOutput) => void): void;
148
128
  /**
149
- * @public
150
- * Retrieve the JSON for a specific queue.
129
+ * @see {@link GetQueueCommand}
151
130
  */
152
131
  getQueue(args: GetQueueCommandInput, options?: __HttpHandlerOptions): Promise<GetQueueCommandOutput>;
153
132
  getQueue(args: GetQueueCommandInput, cb: (err: any, data?: GetQueueCommandOutput) => void): void;
154
133
  getQueue(args: GetQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueueCommandOutput) => void): void;
155
134
  /**
156
- * @public
157
- * Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
135
+ * @see {@link ListJobsCommand}
158
136
  */
159
137
  listJobs(args: ListJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsCommandOutput>;
160
138
  listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
161
139
  listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
162
140
  /**
163
- * @public
164
- * Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
141
+ * @see {@link ListJobTemplatesCommand}
165
142
  */
166
143
  listJobTemplates(args: ListJobTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListJobTemplatesCommandOutput>;
167
144
  listJobTemplates(args: ListJobTemplatesCommandInput, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
168
145
  listJobTemplates(args: ListJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
169
146
  /**
170
- * @public
171
- * Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
147
+ * @see {@link ListPresetsCommand}
172
148
  */
173
149
  listPresets(args: ListPresetsCommandInput, options?: __HttpHandlerOptions): Promise<ListPresetsCommandOutput>;
174
150
  listPresets(args: ListPresetsCommandInput, cb: (err: any, data?: ListPresetsCommandOutput) => void): void;
175
151
  listPresets(args: ListPresetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPresetsCommandOutput) => void): void;
176
152
  /**
177
- * @public
178
- * Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
153
+ * @see {@link ListQueuesCommand}
179
154
  */
180
155
  listQueues(args: ListQueuesCommandInput, options?: __HttpHandlerOptions): Promise<ListQueuesCommandOutput>;
181
156
  listQueues(args: ListQueuesCommandInput, cb: (err: any, data?: ListQueuesCommandOutput) => void): void;
182
157
  listQueues(args: ListQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueuesCommandOutput) => void): void;
183
158
  /**
184
- * @public
185
- * Retrieve the tags for a MediaConvert resource.
159
+ * @see {@link ListTagsForResourceCommand}
186
160
  */
187
161
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
188
162
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
189
163
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
190
164
  /**
191
- * @public
192
- * Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
165
+ * @see {@link PutPolicyCommand}
193
166
  */
194
167
  putPolicy(args: PutPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutPolicyCommandOutput>;
195
168
  putPolicy(args: PutPolicyCommandInput, cb: (err: any, data?: PutPolicyCommandOutput) => void): void;
196
169
  putPolicy(args: PutPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPolicyCommandOutput) => void): void;
197
170
  /**
198
- * @public
199
- * Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
171
+ * @see {@link TagResourceCommand}
200
172
  */
201
173
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
202
174
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
203
175
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
204
176
  /**
205
- * @public
206
- * Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
177
+ * @see {@link UntagResourceCommand}
207
178
  */
208
179
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
209
180
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
210
181
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
211
182
  /**
212
- * @public
213
- * Modify one of your existing job templates.
183
+ * @see {@link UpdateJobTemplateCommand}
214
184
  */
215
185
  updateJobTemplate(args: UpdateJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobTemplateCommandOutput>;
216
186
  updateJobTemplate(args: UpdateJobTemplateCommandInput, cb: (err: any, data?: UpdateJobTemplateCommandOutput) => void): void;
217
187
  updateJobTemplate(args: UpdateJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobTemplateCommandOutput) => void): void;
218
188
  /**
219
- * @public
220
- * Modify one of your existing presets.
189
+ * @see {@link UpdatePresetCommand}
221
190
  */
222
191
  updatePreset(args: UpdatePresetCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePresetCommandOutput>;
223
192
  updatePreset(args: UpdatePresetCommandInput, cb: (err: any, data?: UpdatePresetCommandOutput) => void): void;
224
193
  updatePreset(args: UpdatePresetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePresetCommandOutput) => void): void;
225
194
  /**
226
- * @public
227
- * Modify one of your existing queues.
195
+ * @see {@link UpdateQueueCommand}
228
196
  */
229
197
  updateQueue(args: UpdateQueueCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQueueCommandOutput>;
230
198
  updateQueue(args: UpdateQueueCommandInput, cb: (err: any, data?: UpdateQueueCommandOutput) => void): void;
231
199
  updateQueue(args: UpdateQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQueueCommandOutput) => void): void;
232
200
  }
201
+ /**
202
+ * @public
203
+ * AWS Elemental MediaConvert
204
+ */
205
+ export declare class MediaConvert extends MediaConvertClient implements MediaConvert {
206
+ }
@@ -112,7 +112,7 @@ import {
112
112
  UpdateQueueCommandOutput,
113
113
  } from "./commands/UpdateQueueCommand";
114
114
  import { MediaConvertClient } from "./MediaConvertClient";
115
- export declare class MediaConvert extends MediaConvertClient {
115
+ export interface MediaConvert {
116
116
  associateCertificate(
117
117
  args: AssociateCertificateCommandInput,
118
118
  options?: __HttpHandlerOptions
@@ -478,3 +478,6 @@ export declare class MediaConvert extends MediaConvertClient {
478
478
  cb: (err: any, data?: UpdateQueueCommandOutput) => void
479
479
  ): void;
480
480
  }
481
+ export declare class MediaConvert
482
+ extends MediaConvertClient
483
+ implements MediaConvert {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconvert",
3
3
  "description": "AWS SDK for JavaScript Mediaconvert Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",