@aws-sdk/client-mediaconvert 3.315.0 → 3.319.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/MediaConvert.js +32 -392
- package/dist-cjs/models/models_0.js +20 -19
- package/dist-cjs/models/models_1.js +23 -9
- package/dist-cjs/models/models_2.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +23 -1
- package/dist-es/MediaConvert.js +32 -392
- package/dist-es/models/models_0.js +17 -16
- package/dist-es/models/models_1.js +18 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +23 -1
- package/dist-types/MediaConvert.d.ts +35 -61
- package/dist-types/commands/CreateJobCommand.d.ts +8 -2
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +8 -2
- package/dist-types/commands/CreatePresetCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobTemplateCommand.d.ts +8 -2
- package/dist-types/commands/UpdatePresetCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +90 -73
- package/dist-types/models/models_1.d.ts +89 -78
- package/dist-types/models/models_2.d.ts +58 -1
- package/dist-types/ts3.4/MediaConvert.d.ts +4 -1
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +34 -29
- package/dist-types/ts3.4/models/models_1.d.ts +31 -25
- package/dist-types/ts3.4/models/models_2.d.ts +20 -1
- package/package.json +8 -8
|
@@ -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`],
|
|
@@ -2236,6 +2236,12 @@ const se_AccelerationSettings = (input, context) => {
|
|
|
2236
2236
|
mode: [, , `Mode`],
|
|
2237
2237
|
});
|
|
2238
2238
|
};
|
|
2239
|
+
const se_AdvancedInputFilterSettings = (input, context) => {
|
|
2240
|
+
return (0, smithy_client_1.take)(input, {
|
|
2241
|
+
addTexture: [, , `AddTexture`],
|
|
2242
|
+
sharpening: [, , `Sharpening`],
|
|
2243
|
+
});
|
|
2244
|
+
};
|
|
2239
2245
|
const se_AiffSettings = (input, context) => {
|
|
2240
2246
|
return (0, smithy_client_1.take)(input, {
|
|
2241
2247
|
bitDepth: [, , `BitDepth`],
|
|
@@ -2837,6 +2843,7 @@ const se_FileGroupSettings = (input, context) => {
|
|
|
2837
2843
|
const se_FileSourceSettings = (input, context) => {
|
|
2838
2844
|
return (0, smithy_client_1.take)(input, {
|
|
2839
2845
|
convert608To708: [, , `Convert608To708`],
|
|
2846
|
+
convertPaintToPop: [, , `ConvertPaintToPop`],
|
|
2840
2847
|
framerate: [, (_) => se_CaptionSourceFramerate(_, context), `Framerate`],
|
|
2841
2848
|
sourceFile: [, , `SourceFile`],
|
|
2842
2849
|
timeDelta: [, , `TimeDelta`],
|
|
@@ -3103,6 +3110,8 @@ const se_ImscDestinationSettings = (input, context) => {
|
|
|
3103
3110
|
};
|
|
3104
3111
|
const se_Input = (input, context) => {
|
|
3105
3112
|
return (0, smithy_client_1.take)(input, {
|
|
3113
|
+
advancedInputFilter: [, , `AdvancedInputFilter`],
|
|
3114
|
+
advancedInputFilterSettings: [, (_) => se_AdvancedInputFilterSettings(_, context), `AdvancedInputFilterSettings`],
|
|
3106
3115
|
audioSelectorGroups: [, (_) => se___mapOfAudioSelectorGroup(_, context), `AudioSelectorGroups`],
|
|
3107
3116
|
audioSelectors: [, (_) => se___mapOfAudioSelector(_, context), `AudioSelectors`],
|
|
3108
3117
|
captionSelectors: [, (_) => se___mapOfCaptionSelector(_, context), `CaptionSelectors`],
|
|
@@ -3143,6 +3152,8 @@ const se_InputDecryptionSettings = (input, context) => {
|
|
|
3143
3152
|
};
|
|
3144
3153
|
const se_InputTemplate = (input, context) => {
|
|
3145
3154
|
return (0, smithy_client_1.take)(input, {
|
|
3155
|
+
advancedInputFilter: [, , `AdvancedInputFilter`],
|
|
3156
|
+
advancedInputFilterSettings: [, (_) => se_AdvancedInputFilterSettings(_, context), `AdvancedInputFilterSettings`],
|
|
3146
3157
|
audioSelectorGroups: [, (_) => se___mapOfAudioSelectorGroup(_, context), `AudioSelectorGroups`],
|
|
3147
3158
|
audioSelectors: [, (_) => se___mapOfAudioSelector(_, context), `AudioSelectors`],
|
|
3148
3159
|
captionSelectors: [, (_) => se___mapOfCaptionSelector(_, context), `CaptionSelectors`],
|
|
@@ -4227,6 +4238,12 @@ const de_AccelerationSettings = (output, context) => {
|
|
|
4227
4238
|
Mode: [, smithy_client_1.expectString, `mode`],
|
|
4228
4239
|
});
|
|
4229
4240
|
};
|
|
4241
|
+
const de_AdvancedInputFilterSettings = (output, context) => {
|
|
4242
|
+
return (0, smithy_client_1.take)(output, {
|
|
4243
|
+
AddTexture: [, smithy_client_1.expectString, `addTexture`],
|
|
4244
|
+
Sharpening: [, smithy_client_1.expectString, `sharpening`],
|
|
4245
|
+
});
|
|
4246
|
+
};
|
|
4230
4247
|
const de_AiffSettings = (output, context) => {
|
|
4231
4248
|
return (0, smithy_client_1.take)(output, {
|
|
4232
4249
|
BitDepth: [, smithy_client_1.expectInt32, `bitDepth`],
|
|
@@ -4833,6 +4850,7 @@ const de_FileGroupSettings = (output, context) => {
|
|
|
4833
4850
|
const de_FileSourceSettings = (output, context) => {
|
|
4834
4851
|
return (0, smithy_client_1.take)(output, {
|
|
4835
4852
|
Convert608To708: [, smithy_client_1.expectString, `convert608To708`],
|
|
4853
|
+
ConvertPaintToPop: [, smithy_client_1.expectString, `convertPaintToPop`],
|
|
4836
4854
|
Framerate: (_) => [, de_CaptionSourceFramerate(_, context), `framerate`],
|
|
4837
4855
|
SourceFile: [, smithy_client_1.expectString, `sourceFile`],
|
|
4838
4856
|
TimeDelta: [, smithy_client_1.expectInt32, `timeDelta`],
|
|
@@ -5099,6 +5117,8 @@ const de_ImscDestinationSettings = (output, context) => {
|
|
|
5099
5117
|
};
|
|
5100
5118
|
const de_Input = (output, context) => {
|
|
5101
5119
|
return (0, smithy_client_1.take)(output, {
|
|
5120
|
+
AdvancedInputFilter: [, smithy_client_1.expectString, `advancedInputFilter`],
|
|
5121
|
+
AdvancedInputFilterSettings: (_) => [, de_AdvancedInputFilterSettings(_, context), `advancedInputFilterSettings`],
|
|
5102
5122
|
AudioSelectorGroups: (_) => [, de___mapOfAudioSelectorGroup(_, context), `audioSelectorGroups`],
|
|
5103
5123
|
AudioSelectors: (_) => [, de___mapOfAudioSelector(_, context), `audioSelectors`],
|
|
5104
5124
|
CaptionSelectors: (_) => [, de___mapOfCaptionSelector(_, context), `captionSelectors`],
|
|
@@ -5139,6 +5159,8 @@ const de_InputDecryptionSettings = (output, context) => {
|
|
|
5139
5159
|
};
|
|
5140
5160
|
const de_InputTemplate = (output, context) => {
|
|
5141
5161
|
return (0, smithy_client_1.take)(output, {
|
|
5162
|
+
AdvancedInputFilter: [, smithy_client_1.expectString, `advancedInputFilter`],
|
|
5163
|
+
AdvancedInputFilterSettings: (_) => [, de_AdvancedInputFilterSettings(_, context), `advancedInputFilterSettings`],
|
|
5142
5164
|
AudioSelectorGroups: (_) => [, de___mapOfAudioSelectorGroup(_, context), `audioSelectorGroups`],
|
|
5143
5165
|
AudioSelectors: (_) => [, de___mapOfAudioSelector(_, context), `audioSelectors`],
|
|
5144
5166
|
CaptionSelectors: (_) => [, de___mapOfCaptionSelector(_, context), `captionSelectors`],
|
package/dist-es/MediaConvert.js
CHANGED
|
@@ -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);
|
|
@@ -654,6 +654,19 @@ export const HlsAdMarkers = {
|
|
|
654
654
|
ELEMENTAL: "ELEMENTAL",
|
|
655
655
|
ELEMENTAL_SCTE35: "ELEMENTAL_SCTE35",
|
|
656
656
|
};
|
|
657
|
+
export const AdvancedInputFilter = {
|
|
658
|
+
DISABLED: "DISABLED",
|
|
659
|
+
ENABLED: "ENABLED",
|
|
660
|
+
};
|
|
661
|
+
export const AdvancedInputFilterAddTexture = {
|
|
662
|
+
DISABLED: "DISABLED",
|
|
663
|
+
ENABLED: "ENABLED",
|
|
664
|
+
};
|
|
665
|
+
export const AdvancedInputFilterSharpen = {
|
|
666
|
+
HIGH: "HIGH",
|
|
667
|
+
LOW: "LOW",
|
|
668
|
+
OFF: "OFF",
|
|
669
|
+
};
|
|
657
670
|
export const AudioDurationCorrection = {
|
|
658
671
|
AUTO: "AUTO",
|
|
659
672
|
DISABLED: "DISABLED",
|
|
@@ -690,6 +703,10 @@ export const FileSourceConvert608To708 = {
|
|
|
690
703
|
DISABLED: "DISABLED",
|
|
691
704
|
UPCONVERT: "UPCONVERT",
|
|
692
705
|
};
|
|
706
|
+
export const CaptionSourceConvertPaintOnToPopOn = {
|
|
707
|
+
DISABLED: "DISABLED",
|
|
708
|
+
ENABLED: "ENABLED",
|
|
709
|
+
};
|
|
693
710
|
export const FileSourceTimeDeltaUnits = {
|
|
694
711
|
MILLISECONDS: "MILLISECONDS",
|
|
695
712
|
SECONDS: "SECONDS",
|
|
@@ -1142,19 +1159,3 @@ export const F4vMoovPlacement = {
|
|
|
1142
1159
|
NORMAL: "NORMAL",
|
|
1143
1160
|
PROGRESSIVE_DOWNLOAD: "PROGRESSIVE_DOWNLOAD",
|
|
1144
1161
|
};
|
|
1145
|
-
export const M2tsAudioBufferModel = {
|
|
1146
|
-
ATSC: "ATSC",
|
|
1147
|
-
DVB: "DVB",
|
|
1148
|
-
};
|
|
1149
|
-
export const M2tsAudioDuration = {
|
|
1150
|
-
DEFAULT_CODEC_DURATION: "DEFAULT_CODEC_DURATION",
|
|
1151
|
-
MATCH_VIDEO_DURATION: "MATCH_VIDEO_DURATION",
|
|
1152
|
-
};
|
|
1153
|
-
export const M2tsBufferModel = {
|
|
1154
|
-
MULTIPLEX: "MULTIPLEX",
|
|
1155
|
-
NONE: "NONE",
|
|
1156
|
-
};
|
|
1157
|
-
export const M2tsDataPtsControl = {
|
|
1158
|
-
ALIGN_TO_VIDEO: "ALIGN_TO_VIDEO",
|
|
1159
|
-
AUTO: "AUTO",
|
|
1160
|
-
};
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import { MediaConvertServiceException as __BaseException } from "./MediaConvertServiceException";
|
|
2
|
+
export const M2tsAudioBufferModel = {
|
|
3
|
+
ATSC: "ATSC",
|
|
4
|
+
DVB: "DVB",
|
|
5
|
+
};
|
|
6
|
+
export const M2tsAudioDuration = {
|
|
7
|
+
DEFAULT_CODEC_DURATION: "DEFAULT_CODEC_DURATION",
|
|
8
|
+
MATCH_VIDEO_DURATION: "MATCH_VIDEO_DURATION",
|
|
9
|
+
};
|
|
10
|
+
export const M2tsBufferModel = {
|
|
11
|
+
MULTIPLEX: "MULTIPLEX",
|
|
12
|
+
NONE: "NONE",
|
|
13
|
+
};
|
|
14
|
+
export const M2tsDataPtsControl = {
|
|
15
|
+
ALIGN_TO_VIDEO: "ALIGN_TO_VIDEO",
|
|
16
|
+
AUTO: "AUTO",
|
|
17
|
+
};
|
|
2
18
|
export const OutputSdt = {
|
|
3
19
|
SDT_FOLLOW: "SDT_FOLLOW",
|
|
4
20
|
SDT_FOLLOW_IF_PRESENT: "SDT_FOLLOW_IF_PRESENT",
|
|
@@ -259,6 +275,7 @@ export const VideoCodec = {
|
|
|
259
275
|
H_264: "H_264",
|
|
260
276
|
H_265: "H_265",
|
|
261
277
|
MPEG2: "MPEG2",
|
|
278
|
+
PASSTHROUGH: "PASSTHROUGH",
|
|
262
279
|
PRORES: "PRORES",
|
|
263
280
|
VC3: "VC3",
|
|
264
281
|
VP8: "VP8",
|
|
@@ -889,6 +906,7 @@ export const DeinterlaceAlgorithm = {
|
|
|
889
906
|
BLEND_TICKER: "BLEND_TICKER",
|
|
890
907
|
INTERPOLATE: "INTERPOLATE",
|
|
891
908
|
INTERPOLATE_TICKER: "INTERPOLATE_TICKER",
|
|
909
|
+
LINEAR_INTERPOLATION: "LINEAR_INTERPOLATION",
|
|
892
910
|
};
|
|
893
911
|
export const DeinterlacerControl = {
|
|
894
912
|
FORCE_ALL_FRAMES: "FORCE_ALL_FRAMES",
|
|
@@ -1084,7 +1102,3 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
1084
1102
|
this.Message = opts.Message;
|
|
1085
1103
|
}
|
|
1086
1104
|
}
|
|
1087
|
-
export const DescribeEndpointsMode = {
|
|
1088
|
-
DEFAULT: "DEFAULT",
|
|
1089
|
-
GET_ONLY: "GET_ONLY",
|
|
1090
|
-
};
|