@aws-sdk/client-medialive 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/MediaLive.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MediaLive = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AcceptInputDeviceTransferCommand_1 = require("./commands/AcceptInputDeviceTransferCommand");
|
|
5
6
|
const BatchDeleteCommand_1 = require("./commands/BatchDeleteCommand");
|
|
6
7
|
const BatchStartCommand_1 = require("./commands/BatchStartCommand");
|
|
@@ -61,832 +62,68 @@ const UpdateMultiplexCommand_1 = require("./commands/UpdateMultiplexCommand");
|
|
|
61
62
|
const UpdateMultiplexProgramCommand_1 = require("./commands/UpdateMultiplexProgramCommand");
|
|
62
63
|
const UpdateReservationCommand_1 = require("./commands/UpdateReservationCommand");
|
|
63
64
|
const MediaLiveClient_1 = require("./MediaLiveClient");
|
|
65
|
+
const commands = {
|
|
66
|
+
AcceptInputDeviceTransferCommand: AcceptInputDeviceTransferCommand_1.AcceptInputDeviceTransferCommand,
|
|
67
|
+
BatchDeleteCommand: BatchDeleteCommand_1.BatchDeleteCommand,
|
|
68
|
+
BatchStartCommand: BatchStartCommand_1.BatchStartCommand,
|
|
69
|
+
BatchStopCommand: BatchStopCommand_1.BatchStopCommand,
|
|
70
|
+
BatchUpdateScheduleCommand: BatchUpdateScheduleCommand_1.BatchUpdateScheduleCommand,
|
|
71
|
+
CancelInputDeviceTransferCommand: CancelInputDeviceTransferCommand_1.CancelInputDeviceTransferCommand,
|
|
72
|
+
ClaimDeviceCommand: ClaimDeviceCommand_1.ClaimDeviceCommand,
|
|
73
|
+
CreateChannelCommand: CreateChannelCommand_1.CreateChannelCommand,
|
|
74
|
+
CreateInputCommand: CreateInputCommand_1.CreateInputCommand,
|
|
75
|
+
CreateInputSecurityGroupCommand: CreateInputSecurityGroupCommand_1.CreateInputSecurityGroupCommand,
|
|
76
|
+
CreateMultiplexCommand: CreateMultiplexCommand_1.CreateMultiplexCommand,
|
|
77
|
+
CreateMultiplexProgramCommand: CreateMultiplexProgramCommand_1.CreateMultiplexProgramCommand,
|
|
78
|
+
CreatePartnerInputCommand: CreatePartnerInputCommand_1.CreatePartnerInputCommand,
|
|
79
|
+
CreateTagsCommand: CreateTagsCommand_1.CreateTagsCommand,
|
|
80
|
+
DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
|
|
81
|
+
DeleteInputCommand: DeleteInputCommand_1.DeleteInputCommand,
|
|
82
|
+
DeleteInputSecurityGroupCommand: DeleteInputSecurityGroupCommand_1.DeleteInputSecurityGroupCommand,
|
|
83
|
+
DeleteMultiplexCommand: DeleteMultiplexCommand_1.DeleteMultiplexCommand,
|
|
84
|
+
DeleteMultiplexProgramCommand: DeleteMultiplexProgramCommand_1.DeleteMultiplexProgramCommand,
|
|
85
|
+
DeleteReservationCommand: DeleteReservationCommand_1.DeleteReservationCommand,
|
|
86
|
+
DeleteScheduleCommand: DeleteScheduleCommand_1.DeleteScheduleCommand,
|
|
87
|
+
DeleteTagsCommand: DeleteTagsCommand_1.DeleteTagsCommand,
|
|
88
|
+
DescribeChannelCommand: DescribeChannelCommand_1.DescribeChannelCommand,
|
|
89
|
+
DescribeInputCommand: DescribeInputCommand_1.DescribeInputCommand,
|
|
90
|
+
DescribeInputDeviceCommand: DescribeInputDeviceCommand_1.DescribeInputDeviceCommand,
|
|
91
|
+
DescribeInputDeviceThumbnailCommand: DescribeInputDeviceThumbnailCommand_1.DescribeInputDeviceThumbnailCommand,
|
|
92
|
+
DescribeInputSecurityGroupCommand: DescribeInputSecurityGroupCommand_1.DescribeInputSecurityGroupCommand,
|
|
93
|
+
DescribeMultiplexCommand: DescribeMultiplexCommand_1.DescribeMultiplexCommand,
|
|
94
|
+
DescribeMultiplexProgramCommand: DescribeMultiplexProgramCommand_1.DescribeMultiplexProgramCommand,
|
|
95
|
+
DescribeOfferingCommand: DescribeOfferingCommand_1.DescribeOfferingCommand,
|
|
96
|
+
DescribeReservationCommand: DescribeReservationCommand_1.DescribeReservationCommand,
|
|
97
|
+
DescribeScheduleCommand: DescribeScheduleCommand_1.DescribeScheduleCommand,
|
|
98
|
+
ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
|
|
99
|
+
ListInputDevicesCommand: ListInputDevicesCommand_1.ListInputDevicesCommand,
|
|
100
|
+
ListInputDeviceTransfersCommand: ListInputDeviceTransfersCommand_1.ListInputDeviceTransfersCommand,
|
|
101
|
+
ListInputsCommand: ListInputsCommand_1.ListInputsCommand,
|
|
102
|
+
ListInputSecurityGroupsCommand: ListInputSecurityGroupsCommand_1.ListInputSecurityGroupsCommand,
|
|
103
|
+
ListMultiplexesCommand: ListMultiplexesCommand_1.ListMultiplexesCommand,
|
|
104
|
+
ListMultiplexProgramsCommand: ListMultiplexProgramsCommand_1.ListMultiplexProgramsCommand,
|
|
105
|
+
ListOfferingsCommand: ListOfferingsCommand_1.ListOfferingsCommand,
|
|
106
|
+
ListReservationsCommand: ListReservationsCommand_1.ListReservationsCommand,
|
|
107
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
108
|
+
PurchaseOfferingCommand: PurchaseOfferingCommand_1.PurchaseOfferingCommand,
|
|
109
|
+
RebootInputDeviceCommand: RebootInputDeviceCommand_1.RebootInputDeviceCommand,
|
|
110
|
+
RejectInputDeviceTransferCommand: RejectInputDeviceTransferCommand_1.RejectInputDeviceTransferCommand,
|
|
111
|
+
StartChannelCommand: StartChannelCommand_1.StartChannelCommand,
|
|
112
|
+
StartInputDeviceMaintenanceWindowCommand: StartInputDeviceMaintenanceWindowCommand_1.StartInputDeviceMaintenanceWindowCommand,
|
|
113
|
+
StartMultiplexCommand: StartMultiplexCommand_1.StartMultiplexCommand,
|
|
114
|
+
StopChannelCommand: StopChannelCommand_1.StopChannelCommand,
|
|
115
|
+
StopMultiplexCommand: StopMultiplexCommand_1.StopMultiplexCommand,
|
|
116
|
+
TransferInputDeviceCommand: TransferInputDeviceCommand_1.TransferInputDeviceCommand,
|
|
117
|
+
UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
|
|
118
|
+
UpdateChannelClassCommand: UpdateChannelClassCommand_1.UpdateChannelClassCommand,
|
|
119
|
+
UpdateInputCommand: UpdateInputCommand_1.UpdateInputCommand,
|
|
120
|
+
UpdateInputDeviceCommand: UpdateInputDeviceCommand_1.UpdateInputDeviceCommand,
|
|
121
|
+
UpdateInputSecurityGroupCommand: UpdateInputSecurityGroupCommand_1.UpdateInputSecurityGroupCommand,
|
|
122
|
+
UpdateMultiplexCommand: UpdateMultiplexCommand_1.UpdateMultiplexCommand,
|
|
123
|
+
UpdateMultiplexProgramCommand: UpdateMultiplexProgramCommand_1.UpdateMultiplexProgramCommand,
|
|
124
|
+
UpdateReservationCommand: UpdateReservationCommand_1.UpdateReservationCommand,
|
|
125
|
+
};
|
|
64
126
|
class MediaLive extends MediaLiveClient_1.MediaLiveClient {
|
|
65
|
-
acceptInputDeviceTransfer(args, optionsOrCb, cb) {
|
|
66
|
-
const command = new AcceptInputDeviceTransferCommand_1.AcceptInputDeviceTransferCommand(args);
|
|
67
|
-
if (typeof optionsOrCb === "function") {
|
|
68
|
-
this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
else if (typeof cb === "function") {
|
|
71
|
-
if (typeof optionsOrCb !== "object")
|
|
72
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
73
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
return this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
batchDelete(args, optionsOrCb, cb) {
|
|
80
|
-
const command = new BatchDeleteCommand_1.BatchDeleteCommand(args);
|
|
81
|
-
if (typeof optionsOrCb === "function") {
|
|
82
|
-
this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
else if (typeof cb === "function") {
|
|
85
|
-
if (typeof optionsOrCb !== "object")
|
|
86
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
87
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
return this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
batchStart(args, optionsOrCb, cb) {
|
|
94
|
-
const command = new BatchStartCommand_1.BatchStartCommand(args);
|
|
95
|
-
if (typeof optionsOrCb === "function") {
|
|
96
|
-
this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
else if (typeof cb === "function") {
|
|
99
|
-
if (typeof optionsOrCb !== "object")
|
|
100
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
101
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
return this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
batchStop(args, optionsOrCb, cb) {
|
|
108
|
-
const command = new BatchStopCommand_1.BatchStopCommand(args);
|
|
109
|
-
if (typeof optionsOrCb === "function") {
|
|
110
|
-
this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
else if (typeof cb === "function") {
|
|
113
|
-
if (typeof optionsOrCb !== "object")
|
|
114
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
115
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
return this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
batchUpdateSchedule(args, optionsOrCb, cb) {
|
|
122
|
-
const command = new BatchUpdateScheduleCommand_1.BatchUpdateScheduleCommand(args);
|
|
123
|
-
if (typeof optionsOrCb === "function") {
|
|
124
|
-
this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
else if (typeof cb === "function") {
|
|
127
|
-
if (typeof optionsOrCb !== "object")
|
|
128
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
129
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
return this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
cancelInputDeviceTransfer(args, optionsOrCb, cb) {
|
|
136
|
-
const command = new CancelInputDeviceTransferCommand_1.CancelInputDeviceTransferCommand(args);
|
|
137
|
-
if (typeof optionsOrCb === "function") {
|
|
138
|
-
this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
else if (typeof cb === "function") {
|
|
141
|
-
if (typeof optionsOrCb !== "object")
|
|
142
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
143
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
return this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
claimDevice(args, optionsOrCb, cb) {
|
|
150
|
-
const command = new ClaimDeviceCommand_1.ClaimDeviceCommand(args);
|
|
151
|
-
if (typeof optionsOrCb === "function") {
|
|
152
|
-
this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
else if (typeof cb === "function") {
|
|
155
|
-
if (typeof optionsOrCb !== "object")
|
|
156
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
157
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
return this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
createChannel(args, optionsOrCb, cb) {
|
|
164
|
-
const command = new CreateChannelCommand_1.CreateChannelCommand(args);
|
|
165
|
-
if (typeof optionsOrCb === "function") {
|
|
166
|
-
this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
else if (typeof cb === "function") {
|
|
169
|
-
if (typeof optionsOrCb !== "object")
|
|
170
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
171
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
172
|
-
}
|
|
173
|
-
else {
|
|
174
|
-
return this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
createInput(args, optionsOrCb, cb) {
|
|
178
|
-
const command = new CreateInputCommand_1.CreateInputCommand(args);
|
|
179
|
-
if (typeof optionsOrCb === "function") {
|
|
180
|
-
this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
else if (typeof cb === "function") {
|
|
183
|
-
if (typeof optionsOrCb !== "object")
|
|
184
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
185
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
return this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
createInputSecurityGroup(args, optionsOrCb, cb) {
|
|
192
|
-
const command = new CreateInputSecurityGroupCommand_1.CreateInputSecurityGroupCommand(args);
|
|
193
|
-
if (typeof optionsOrCb === "function") {
|
|
194
|
-
this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
else if (typeof cb === "function") {
|
|
197
|
-
if (typeof optionsOrCb !== "object")
|
|
198
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
199
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
return this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
createMultiplex(args, optionsOrCb, cb) {
|
|
206
|
-
const command = new CreateMultiplexCommand_1.CreateMultiplexCommand(args);
|
|
207
|
-
if (typeof optionsOrCb === "function") {
|
|
208
|
-
this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
else if (typeof cb === "function") {
|
|
211
|
-
if (typeof optionsOrCb !== "object")
|
|
212
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
213
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
214
|
-
}
|
|
215
|
-
else {
|
|
216
|
-
return this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
createMultiplexProgram(args, optionsOrCb, cb) {
|
|
220
|
-
const command = new CreateMultiplexProgramCommand_1.CreateMultiplexProgramCommand(args);
|
|
221
|
-
if (typeof optionsOrCb === "function") {
|
|
222
|
-
this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
else if (typeof cb === "function") {
|
|
225
|
-
if (typeof optionsOrCb !== "object")
|
|
226
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
227
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
228
|
-
}
|
|
229
|
-
else {
|
|
230
|
-
return this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
createPartnerInput(args, optionsOrCb, cb) {
|
|
234
|
-
const command = new CreatePartnerInputCommand_1.CreatePartnerInputCommand(args);
|
|
235
|
-
if (typeof optionsOrCb === "function") {
|
|
236
|
-
this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
else if (typeof cb === "function") {
|
|
239
|
-
if (typeof optionsOrCb !== "object")
|
|
240
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
-
}
|
|
243
|
-
else {
|
|
244
|
-
return this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
createTags(args, optionsOrCb, cb) {
|
|
248
|
-
const command = new CreateTagsCommand_1.CreateTagsCommand(args);
|
|
249
|
-
if (typeof optionsOrCb === "function") {
|
|
250
|
-
this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
else if (typeof cb === "function") {
|
|
253
|
-
if (typeof optionsOrCb !== "object")
|
|
254
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
255
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
256
|
-
}
|
|
257
|
-
else {
|
|
258
|
-
return this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
deleteChannel(args, optionsOrCb, cb) {
|
|
262
|
-
const command = new DeleteChannelCommand_1.DeleteChannelCommand(args);
|
|
263
|
-
if (typeof optionsOrCb === "function") {
|
|
264
|
-
this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
else if (typeof cb === "function") {
|
|
267
|
-
if (typeof optionsOrCb !== "object")
|
|
268
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
269
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
270
|
-
}
|
|
271
|
-
else {
|
|
272
|
-
return this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
deleteInput(args, optionsOrCb, cb) {
|
|
276
|
-
const command = new DeleteInputCommand_1.DeleteInputCommand(args);
|
|
277
|
-
if (typeof optionsOrCb === "function") {
|
|
278
|
-
this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
else if (typeof cb === "function") {
|
|
281
|
-
if (typeof optionsOrCb !== "object")
|
|
282
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
283
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
284
|
-
}
|
|
285
|
-
else {
|
|
286
|
-
return this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
deleteInputSecurityGroup(args, optionsOrCb, cb) {
|
|
290
|
-
const command = new DeleteInputSecurityGroupCommand_1.DeleteInputSecurityGroupCommand(args);
|
|
291
|
-
if (typeof optionsOrCb === "function") {
|
|
292
|
-
this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
else if (typeof cb === "function") {
|
|
295
|
-
if (typeof optionsOrCb !== "object")
|
|
296
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
297
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
298
|
-
}
|
|
299
|
-
else {
|
|
300
|
-
return this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
deleteMultiplex(args, optionsOrCb, cb) {
|
|
304
|
-
const command = new DeleteMultiplexCommand_1.DeleteMultiplexCommand(args);
|
|
305
|
-
if (typeof optionsOrCb === "function") {
|
|
306
|
-
this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
else if (typeof cb === "function") {
|
|
309
|
-
if (typeof optionsOrCb !== "object")
|
|
310
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
311
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
312
|
-
}
|
|
313
|
-
else {
|
|
314
|
-
return this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
deleteMultiplexProgram(args, optionsOrCb, cb) {
|
|
318
|
-
const command = new DeleteMultiplexProgramCommand_1.DeleteMultiplexProgramCommand(args);
|
|
319
|
-
if (typeof optionsOrCb === "function") {
|
|
320
|
-
this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
else if (typeof cb === "function") {
|
|
323
|
-
if (typeof optionsOrCb !== "object")
|
|
324
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
325
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
326
|
-
}
|
|
327
|
-
else {
|
|
328
|
-
return this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
deleteReservation(args, optionsOrCb, cb) {
|
|
332
|
-
const command = new DeleteReservationCommand_1.DeleteReservationCommand(args);
|
|
333
|
-
if (typeof optionsOrCb === "function") {
|
|
334
|
-
this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
else if (typeof cb === "function") {
|
|
337
|
-
if (typeof optionsOrCb !== "object")
|
|
338
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
339
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
340
|
-
}
|
|
341
|
-
else {
|
|
342
|
-
return this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
deleteSchedule(args, optionsOrCb, cb) {
|
|
346
|
-
const command = new DeleteScheduleCommand_1.DeleteScheduleCommand(args);
|
|
347
|
-
if (typeof optionsOrCb === "function") {
|
|
348
|
-
this.send(command, optionsOrCb);
|
|
349
|
-
}
|
|
350
|
-
else if (typeof cb === "function") {
|
|
351
|
-
if (typeof optionsOrCb !== "object")
|
|
352
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
353
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
354
|
-
}
|
|
355
|
-
else {
|
|
356
|
-
return this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
deleteTags(args, optionsOrCb, cb) {
|
|
360
|
-
const command = new DeleteTagsCommand_1.DeleteTagsCommand(args);
|
|
361
|
-
if (typeof optionsOrCb === "function") {
|
|
362
|
-
this.send(command, optionsOrCb);
|
|
363
|
-
}
|
|
364
|
-
else if (typeof cb === "function") {
|
|
365
|
-
if (typeof optionsOrCb !== "object")
|
|
366
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
368
|
-
}
|
|
369
|
-
else {
|
|
370
|
-
return this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
describeChannel(args, optionsOrCb, cb) {
|
|
374
|
-
const command = new DescribeChannelCommand_1.DescribeChannelCommand(args);
|
|
375
|
-
if (typeof optionsOrCb === "function") {
|
|
376
|
-
this.send(command, optionsOrCb);
|
|
377
|
-
}
|
|
378
|
-
else if (typeof cb === "function") {
|
|
379
|
-
if (typeof optionsOrCb !== "object")
|
|
380
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
381
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
382
|
-
}
|
|
383
|
-
else {
|
|
384
|
-
return this.send(command, optionsOrCb);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
describeInput(args, optionsOrCb, cb) {
|
|
388
|
-
const command = new DescribeInputCommand_1.DescribeInputCommand(args);
|
|
389
|
-
if (typeof optionsOrCb === "function") {
|
|
390
|
-
this.send(command, optionsOrCb);
|
|
391
|
-
}
|
|
392
|
-
else if (typeof cb === "function") {
|
|
393
|
-
if (typeof optionsOrCb !== "object")
|
|
394
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
-
}
|
|
397
|
-
else {
|
|
398
|
-
return this.send(command, optionsOrCb);
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
describeInputDevice(args, optionsOrCb, cb) {
|
|
402
|
-
const command = new DescribeInputDeviceCommand_1.DescribeInputDeviceCommand(args);
|
|
403
|
-
if (typeof optionsOrCb === "function") {
|
|
404
|
-
this.send(command, optionsOrCb);
|
|
405
|
-
}
|
|
406
|
-
else if (typeof cb === "function") {
|
|
407
|
-
if (typeof optionsOrCb !== "object")
|
|
408
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
409
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
410
|
-
}
|
|
411
|
-
else {
|
|
412
|
-
return this.send(command, optionsOrCb);
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
describeInputDeviceThumbnail(args, optionsOrCb, cb) {
|
|
416
|
-
const command = new DescribeInputDeviceThumbnailCommand_1.DescribeInputDeviceThumbnailCommand(args);
|
|
417
|
-
if (typeof optionsOrCb === "function") {
|
|
418
|
-
this.send(command, optionsOrCb);
|
|
419
|
-
}
|
|
420
|
-
else if (typeof cb === "function") {
|
|
421
|
-
if (typeof optionsOrCb !== "object")
|
|
422
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
423
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
424
|
-
}
|
|
425
|
-
else {
|
|
426
|
-
return this.send(command, optionsOrCb);
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
describeInputSecurityGroup(args, optionsOrCb, cb) {
|
|
430
|
-
const command = new DescribeInputSecurityGroupCommand_1.DescribeInputSecurityGroupCommand(args);
|
|
431
|
-
if (typeof optionsOrCb === "function") {
|
|
432
|
-
this.send(command, optionsOrCb);
|
|
433
|
-
}
|
|
434
|
-
else if (typeof cb === "function") {
|
|
435
|
-
if (typeof optionsOrCb !== "object")
|
|
436
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
437
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
438
|
-
}
|
|
439
|
-
else {
|
|
440
|
-
return this.send(command, optionsOrCb);
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
describeMultiplex(args, optionsOrCb, cb) {
|
|
444
|
-
const command = new DescribeMultiplexCommand_1.DescribeMultiplexCommand(args);
|
|
445
|
-
if (typeof optionsOrCb === "function") {
|
|
446
|
-
this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
else if (typeof cb === "function") {
|
|
449
|
-
if (typeof optionsOrCb !== "object")
|
|
450
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
451
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
452
|
-
}
|
|
453
|
-
else {
|
|
454
|
-
return this.send(command, optionsOrCb);
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
describeMultiplexProgram(args, optionsOrCb, cb) {
|
|
458
|
-
const command = new DescribeMultiplexProgramCommand_1.DescribeMultiplexProgramCommand(args);
|
|
459
|
-
if (typeof optionsOrCb === "function") {
|
|
460
|
-
this.send(command, optionsOrCb);
|
|
461
|
-
}
|
|
462
|
-
else if (typeof cb === "function") {
|
|
463
|
-
if (typeof optionsOrCb !== "object")
|
|
464
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
465
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
466
|
-
}
|
|
467
|
-
else {
|
|
468
|
-
return this.send(command, optionsOrCb);
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
describeOffering(args, optionsOrCb, cb) {
|
|
472
|
-
const command = new DescribeOfferingCommand_1.DescribeOfferingCommand(args);
|
|
473
|
-
if (typeof optionsOrCb === "function") {
|
|
474
|
-
this.send(command, optionsOrCb);
|
|
475
|
-
}
|
|
476
|
-
else if (typeof cb === "function") {
|
|
477
|
-
if (typeof optionsOrCb !== "object")
|
|
478
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
479
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
480
|
-
}
|
|
481
|
-
else {
|
|
482
|
-
return this.send(command, optionsOrCb);
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
describeReservation(args, optionsOrCb, cb) {
|
|
486
|
-
const command = new DescribeReservationCommand_1.DescribeReservationCommand(args);
|
|
487
|
-
if (typeof optionsOrCb === "function") {
|
|
488
|
-
this.send(command, optionsOrCb);
|
|
489
|
-
}
|
|
490
|
-
else if (typeof cb === "function") {
|
|
491
|
-
if (typeof optionsOrCb !== "object")
|
|
492
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
493
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
494
|
-
}
|
|
495
|
-
else {
|
|
496
|
-
return this.send(command, optionsOrCb);
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
describeSchedule(args, optionsOrCb, cb) {
|
|
500
|
-
const command = new DescribeScheduleCommand_1.DescribeScheduleCommand(args);
|
|
501
|
-
if (typeof optionsOrCb === "function") {
|
|
502
|
-
this.send(command, optionsOrCb);
|
|
503
|
-
}
|
|
504
|
-
else if (typeof cb === "function") {
|
|
505
|
-
if (typeof optionsOrCb !== "object")
|
|
506
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
507
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
508
|
-
}
|
|
509
|
-
else {
|
|
510
|
-
return this.send(command, optionsOrCb);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
listChannels(args, optionsOrCb, cb) {
|
|
514
|
-
const command = new ListChannelsCommand_1.ListChannelsCommand(args);
|
|
515
|
-
if (typeof optionsOrCb === "function") {
|
|
516
|
-
this.send(command, optionsOrCb);
|
|
517
|
-
}
|
|
518
|
-
else if (typeof cb === "function") {
|
|
519
|
-
if (typeof optionsOrCb !== "object")
|
|
520
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
521
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
522
|
-
}
|
|
523
|
-
else {
|
|
524
|
-
return this.send(command, optionsOrCb);
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
listInputDevices(args, optionsOrCb, cb) {
|
|
528
|
-
const command = new ListInputDevicesCommand_1.ListInputDevicesCommand(args);
|
|
529
|
-
if (typeof optionsOrCb === "function") {
|
|
530
|
-
this.send(command, optionsOrCb);
|
|
531
|
-
}
|
|
532
|
-
else if (typeof cb === "function") {
|
|
533
|
-
if (typeof optionsOrCb !== "object")
|
|
534
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
535
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
536
|
-
}
|
|
537
|
-
else {
|
|
538
|
-
return this.send(command, optionsOrCb);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
listInputDeviceTransfers(args, optionsOrCb, cb) {
|
|
542
|
-
const command = new ListInputDeviceTransfersCommand_1.ListInputDeviceTransfersCommand(args);
|
|
543
|
-
if (typeof optionsOrCb === "function") {
|
|
544
|
-
this.send(command, optionsOrCb);
|
|
545
|
-
}
|
|
546
|
-
else if (typeof cb === "function") {
|
|
547
|
-
if (typeof optionsOrCb !== "object")
|
|
548
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
549
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
550
|
-
}
|
|
551
|
-
else {
|
|
552
|
-
return this.send(command, optionsOrCb);
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
listInputs(args, optionsOrCb, cb) {
|
|
556
|
-
const command = new ListInputsCommand_1.ListInputsCommand(args);
|
|
557
|
-
if (typeof optionsOrCb === "function") {
|
|
558
|
-
this.send(command, optionsOrCb);
|
|
559
|
-
}
|
|
560
|
-
else if (typeof cb === "function") {
|
|
561
|
-
if (typeof optionsOrCb !== "object")
|
|
562
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
563
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
564
|
-
}
|
|
565
|
-
else {
|
|
566
|
-
return this.send(command, optionsOrCb);
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
listInputSecurityGroups(args, optionsOrCb, cb) {
|
|
570
|
-
const command = new ListInputSecurityGroupsCommand_1.ListInputSecurityGroupsCommand(args);
|
|
571
|
-
if (typeof optionsOrCb === "function") {
|
|
572
|
-
this.send(command, optionsOrCb);
|
|
573
|
-
}
|
|
574
|
-
else if (typeof cb === "function") {
|
|
575
|
-
if (typeof optionsOrCb !== "object")
|
|
576
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
577
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
578
|
-
}
|
|
579
|
-
else {
|
|
580
|
-
return this.send(command, optionsOrCb);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
listMultiplexes(args, optionsOrCb, cb) {
|
|
584
|
-
const command = new ListMultiplexesCommand_1.ListMultiplexesCommand(args);
|
|
585
|
-
if (typeof optionsOrCb === "function") {
|
|
586
|
-
this.send(command, optionsOrCb);
|
|
587
|
-
}
|
|
588
|
-
else if (typeof cb === "function") {
|
|
589
|
-
if (typeof optionsOrCb !== "object")
|
|
590
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
591
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
592
|
-
}
|
|
593
|
-
else {
|
|
594
|
-
return this.send(command, optionsOrCb);
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
listMultiplexPrograms(args, optionsOrCb, cb) {
|
|
598
|
-
const command = new ListMultiplexProgramsCommand_1.ListMultiplexProgramsCommand(args);
|
|
599
|
-
if (typeof optionsOrCb === "function") {
|
|
600
|
-
this.send(command, optionsOrCb);
|
|
601
|
-
}
|
|
602
|
-
else if (typeof cb === "function") {
|
|
603
|
-
if (typeof optionsOrCb !== "object")
|
|
604
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
605
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
606
|
-
}
|
|
607
|
-
else {
|
|
608
|
-
return this.send(command, optionsOrCb);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
listOfferings(args, optionsOrCb, cb) {
|
|
612
|
-
const command = new ListOfferingsCommand_1.ListOfferingsCommand(args);
|
|
613
|
-
if (typeof optionsOrCb === "function") {
|
|
614
|
-
this.send(command, optionsOrCb);
|
|
615
|
-
}
|
|
616
|
-
else if (typeof cb === "function") {
|
|
617
|
-
if (typeof optionsOrCb !== "object")
|
|
618
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
619
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
620
|
-
}
|
|
621
|
-
else {
|
|
622
|
-
return this.send(command, optionsOrCb);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
listReservations(args, optionsOrCb, cb) {
|
|
626
|
-
const command = new ListReservationsCommand_1.ListReservationsCommand(args);
|
|
627
|
-
if (typeof optionsOrCb === "function") {
|
|
628
|
-
this.send(command, optionsOrCb);
|
|
629
|
-
}
|
|
630
|
-
else if (typeof cb === "function") {
|
|
631
|
-
if (typeof optionsOrCb !== "object")
|
|
632
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
633
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
634
|
-
}
|
|
635
|
-
else {
|
|
636
|
-
return this.send(command, optionsOrCb);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
640
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
641
|
-
if (typeof optionsOrCb === "function") {
|
|
642
|
-
this.send(command, optionsOrCb);
|
|
643
|
-
}
|
|
644
|
-
else if (typeof cb === "function") {
|
|
645
|
-
if (typeof optionsOrCb !== "object")
|
|
646
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
647
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
648
|
-
}
|
|
649
|
-
else {
|
|
650
|
-
return this.send(command, optionsOrCb);
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
purchaseOffering(args, optionsOrCb, cb) {
|
|
654
|
-
const command = new PurchaseOfferingCommand_1.PurchaseOfferingCommand(args);
|
|
655
|
-
if (typeof optionsOrCb === "function") {
|
|
656
|
-
this.send(command, optionsOrCb);
|
|
657
|
-
}
|
|
658
|
-
else if (typeof cb === "function") {
|
|
659
|
-
if (typeof optionsOrCb !== "object")
|
|
660
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
661
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
662
|
-
}
|
|
663
|
-
else {
|
|
664
|
-
return this.send(command, optionsOrCb);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
rebootInputDevice(args, optionsOrCb, cb) {
|
|
668
|
-
const command = new RebootInputDeviceCommand_1.RebootInputDeviceCommand(args);
|
|
669
|
-
if (typeof optionsOrCb === "function") {
|
|
670
|
-
this.send(command, optionsOrCb);
|
|
671
|
-
}
|
|
672
|
-
else if (typeof cb === "function") {
|
|
673
|
-
if (typeof optionsOrCb !== "object")
|
|
674
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
675
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
676
|
-
}
|
|
677
|
-
else {
|
|
678
|
-
return this.send(command, optionsOrCb);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
rejectInputDeviceTransfer(args, optionsOrCb, cb) {
|
|
682
|
-
const command = new RejectInputDeviceTransferCommand_1.RejectInputDeviceTransferCommand(args);
|
|
683
|
-
if (typeof optionsOrCb === "function") {
|
|
684
|
-
this.send(command, optionsOrCb);
|
|
685
|
-
}
|
|
686
|
-
else if (typeof cb === "function") {
|
|
687
|
-
if (typeof optionsOrCb !== "object")
|
|
688
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
689
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
690
|
-
}
|
|
691
|
-
else {
|
|
692
|
-
return this.send(command, optionsOrCb);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
startChannel(args, optionsOrCb, cb) {
|
|
696
|
-
const command = new StartChannelCommand_1.StartChannelCommand(args);
|
|
697
|
-
if (typeof optionsOrCb === "function") {
|
|
698
|
-
this.send(command, optionsOrCb);
|
|
699
|
-
}
|
|
700
|
-
else if (typeof cb === "function") {
|
|
701
|
-
if (typeof optionsOrCb !== "object")
|
|
702
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
703
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
704
|
-
}
|
|
705
|
-
else {
|
|
706
|
-
return this.send(command, optionsOrCb);
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
startInputDeviceMaintenanceWindow(args, optionsOrCb, cb) {
|
|
710
|
-
const command = new StartInputDeviceMaintenanceWindowCommand_1.StartInputDeviceMaintenanceWindowCommand(args);
|
|
711
|
-
if (typeof optionsOrCb === "function") {
|
|
712
|
-
this.send(command, optionsOrCb);
|
|
713
|
-
}
|
|
714
|
-
else if (typeof cb === "function") {
|
|
715
|
-
if (typeof optionsOrCb !== "object")
|
|
716
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
717
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
718
|
-
}
|
|
719
|
-
else {
|
|
720
|
-
return this.send(command, optionsOrCb);
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
startMultiplex(args, optionsOrCb, cb) {
|
|
724
|
-
const command = new StartMultiplexCommand_1.StartMultiplexCommand(args);
|
|
725
|
-
if (typeof optionsOrCb === "function") {
|
|
726
|
-
this.send(command, optionsOrCb);
|
|
727
|
-
}
|
|
728
|
-
else if (typeof cb === "function") {
|
|
729
|
-
if (typeof optionsOrCb !== "object")
|
|
730
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
731
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
732
|
-
}
|
|
733
|
-
else {
|
|
734
|
-
return this.send(command, optionsOrCb);
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
stopChannel(args, optionsOrCb, cb) {
|
|
738
|
-
const command = new StopChannelCommand_1.StopChannelCommand(args);
|
|
739
|
-
if (typeof optionsOrCb === "function") {
|
|
740
|
-
this.send(command, optionsOrCb);
|
|
741
|
-
}
|
|
742
|
-
else if (typeof cb === "function") {
|
|
743
|
-
if (typeof optionsOrCb !== "object")
|
|
744
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
745
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
746
|
-
}
|
|
747
|
-
else {
|
|
748
|
-
return this.send(command, optionsOrCb);
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
stopMultiplex(args, optionsOrCb, cb) {
|
|
752
|
-
const command = new StopMultiplexCommand_1.StopMultiplexCommand(args);
|
|
753
|
-
if (typeof optionsOrCb === "function") {
|
|
754
|
-
this.send(command, optionsOrCb);
|
|
755
|
-
}
|
|
756
|
-
else if (typeof cb === "function") {
|
|
757
|
-
if (typeof optionsOrCb !== "object")
|
|
758
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
759
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
760
|
-
}
|
|
761
|
-
else {
|
|
762
|
-
return this.send(command, optionsOrCb);
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
transferInputDevice(args, optionsOrCb, cb) {
|
|
766
|
-
const command = new TransferInputDeviceCommand_1.TransferInputDeviceCommand(args);
|
|
767
|
-
if (typeof optionsOrCb === "function") {
|
|
768
|
-
this.send(command, optionsOrCb);
|
|
769
|
-
}
|
|
770
|
-
else if (typeof cb === "function") {
|
|
771
|
-
if (typeof optionsOrCb !== "object")
|
|
772
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
773
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
774
|
-
}
|
|
775
|
-
else {
|
|
776
|
-
return this.send(command, optionsOrCb);
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
updateChannel(args, optionsOrCb, cb) {
|
|
780
|
-
const command = new UpdateChannelCommand_1.UpdateChannelCommand(args);
|
|
781
|
-
if (typeof optionsOrCb === "function") {
|
|
782
|
-
this.send(command, optionsOrCb);
|
|
783
|
-
}
|
|
784
|
-
else if (typeof cb === "function") {
|
|
785
|
-
if (typeof optionsOrCb !== "object")
|
|
786
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
787
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
788
|
-
}
|
|
789
|
-
else {
|
|
790
|
-
return this.send(command, optionsOrCb);
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
updateChannelClass(args, optionsOrCb, cb) {
|
|
794
|
-
const command = new UpdateChannelClassCommand_1.UpdateChannelClassCommand(args);
|
|
795
|
-
if (typeof optionsOrCb === "function") {
|
|
796
|
-
this.send(command, optionsOrCb);
|
|
797
|
-
}
|
|
798
|
-
else if (typeof cb === "function") {
|
|
799
|
-
if (typeof optionsOrCb !== "object")
|
|
800
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
801
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
802
|
-
}
|
|
803
|
-
else {
|
|
804
|
-
return this.send(command, optionsOrCb);
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
updateInput(args, optionsOrCb, cb) {
|
|
808
|
-
const command = new UpdateInputCommand_1.UpdateInputCommand(args);
|
|
809
|
-
if (typeof optionsOrCb === "function") {
|
|
810
|
-
this.send(command, optionsOrCb);
|
|
811
|
-
}
|
|
812
|
-
else if (typeof cb === "function") {
|
|
813
|
-
if (typeof optionsOrCb !== "object")
|
|
814
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
815
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
816
|
-
}
|
|
817
|
-
else {
|
|
818
|
-
return this.send(command, optionsOrCb);
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
updateInputDevice(args, optionsOrCb, cb) {
|
|
822
|
-
const command = new UpdateInputDeviceCommand_1.UpdateInputDeviceCommand(args);
|
|
823
|
-
if (typeof optionsOrCb === "function") {
|
|
824
|
-
this.send(command, optionsOrCb);
|
|
825
|
-
}
|
|
826
|
-
else if (typeof cb === "function") {
|
|
827
|
-
if (typeof optionsOrCb !== "object")
|
|
828
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
829
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
830
|
-
}
|
|
831
|
-
else {
|
|
832
|
-
return this.send(command, optionsOrCb);
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
updateInputSecurityGroup(args, optionsOrCb, cb) {
|
|
836
|
-
const command = new UpdateInputSecurityGroupCommand_1.UpdateInputSecurityGroupCommand(args);
|
|
837
|
-
if (typeof optionsOrCb === "function") {
|
|
838
|
-
this.send(command, optionsOrCb);
|
|
839
|
-
}
|
|
840
|
-
else if (typeof cb === "function") {
|
|
841
|
-
if (typeof optionsOrCb !== "object")
|
|
842
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
843
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
844
|
-
}
|
|
845
|
-
else {
|
|
846
|
-
return this.send(command, optionsOrCb);
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
updateMultiplex(args, optionsOrCb, cb) {
|
|
850
|
-
const command = new UpdateMultiplexCommand_1.UpdateMultiplexCommand(args);
|
|
851
|
-
if (typeof optionsOrCb === "function") {
|
|
852
|
-
this.send(command, optionsOrCb);
|
|
853
|
-
}
|
|
854
|
-
else if (typeof cb === "function") {
|
|
855
|
-
if (typeof optionsOrCb !== "object")
|
|
856
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
857
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
858
|
-
}
|
|
859
|
-
else {
|
|
860
|
-
return this.send(command, optionsOrCb);
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
updateMultiplexProgram(args, optionsOrCb, cb) {
|
|
864
|
-
const command = new UpdateMultiplexProgramCommand_1.UpdateMultiplexProgramCommand(args);
|
|
865
|
-
if (typeof optionsOrCb === "function") {
|
|
866
|
-
this.send(command, optionsOrCb);
|
|
867
|
-
}
|
|
868
|
-
else if (typeof cb === "function") {
|
|
869
|
-
if (typeof optionsOrCb !== "object")
|
|
870
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
871
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
872
|
-
}
|
|
873
|
-
else {
|
|
874
|
-
return this.send(command, optionsOrCb);
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
updateReservation(args, optionsOrCb, cb) {
|
|
878
|
-
const command = new UpdateReservationCommand_1.UpdateReservationCommand(args);
|
|
879
|
-
if (typeof optionsOrCb === "function") {
|
|
880
|
-
this.send(command, optionsOrCb);
|
|
881
|
-
}
|
|
882
|
-
else if (typeof cb === "function") {
|
|
883
|
-
if (typeof optionsOrCb !== "object")
|
|
884
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
885
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
886
|
-
}
|
|
887
|
-
else {
|
|
888
|
-
return this.send(command, optionsOrCb);
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
127
|
}
|
|
892
128
|
exports.MediaLive = MediaLive;
|
|
129
|
+
(0, smithy_client_1.createAggregatedClient)(commands, MediaLive);
|