@aws-sdk/client-medialive 3.36.1 → 3.37.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/CHANGELOG.md +11 -0
- package/dist-cjs/MediaLive.js +15 -0
- package/dist-cjs/commands/ClaimDeviceCommand.js +36 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/models_0.js +41 -37
- package/dist-cjs/models/models_1.js +49 -6
- package/dist-cjs/protocols/Aws_restJson1.js +199 -3
- package/dist-es/MediaLive.js +15 -0
- package/dist-es/commands/ClaimDeviceCommand.js +39 -0
- package/dist-es/endpoints.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +27 -31
- package/dist-es/models/models_1.js +39 -0
- package/dist-es/protocols/Aws_restJson1.js +199 -2
- package/dist-types/MediaLive.d.ts +7 -0
- package/dist-types/MediaLiveClient.d.ts +3 -2
- package/dist-types/commands/ClaimDeviceCommand.d.ts +35 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +98 -28
- package/dist-types/models/models_1.d.ts +56 -5
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/MediaLive.d.ts +5 -0
- package/dist-types/ts3.4/MediaLiveClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ClaimDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -25
- package/dist-types/ts3.4/models/models_1.d.ts +42 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +31 -31
|
@@ -192,6 +192,30 @@ export var serializeAws_restJson1CancelInputDeviceTransferCommand = function (in
|
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
}); };
|
|
195
|
+
export var serializeAws_restJson1ClaimDeviceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
196
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
197
|
+
return __generator(this, function (_c) {
|
|
198
|
+
switch (_c.label) {
|
|
199
|
+
case 0: return [4, context.endpoint()];
|
|
200
|
+
case 1:
|
|
201
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
202
|
+
headers = {
|
|
203
|
+
"content-type": "application/json",
|
|
204
|
+
};
|
|
205
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/prod/claimDevice";
|
|
206
|
+
body = JSON.stringify(__assign({}, (input.Id !== undefined && input.Id !== null && { id: input.Id })));
|
|
207
|
+
return [2, new __HttpRequest({
|
|
208
|
+
protocol: protocol,
|
|
209
|
+
hostname: hostname,
|
|
210
|
+
port: port,
|
|
211
|
+
method: "POST",
|
|
212
|
+
headers: headers,
|
|
213
|
+
path: resolvedPath,
|
|
214
|
+
body: body,
|
|
215
|
+
})];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
}); };
|
|
195
219
|
export var serializeAws_restJson1CreateChannelCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
196
220
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
197
221
|
var _c;
|
|
@@ -2557,6 +2581,118 @@ var deserializeAws_restJson1CancelInputDeviceTransferCommandError = function (ou
|
|
|
2557
2581
|
}
|
|
2558
2582
|
});
|
|
2559
2583
|
}); };
|
|
2584
|
+
export var deserializeAws_restJson1ClaimDeviceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2585
|
+
var contents;
|
|
2586
|
+
return __generator(this, function (_a) {
|
|
2587
|
+
switch (_a.label) {
|
|
2588
|
+
case 0:
|
|
2589
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2590
|
+
return [2, deserializeAws_restJson1ClaimDeviceCommandError(output, context)];
|
|
2591
|
+
}
|
|
2592
|
+
contents = {
|
|
2593
|
+
$metadata: deserializeMetadata(output),
|
|
2594
|
+
};
|
|
2595
|
+
return [4, collectBody(output.body, context)];
|
|
2596
|
+
case 1:
|
|
2597
|
+
_a.sent();
|
|
2598
|
+
return [2, Promise.resolve(contents)];
|
|
2599
|
+
}
|
|
2600
|
+
});
|
|
2601
|
+
}); };
|
|
2602
|
+
var deserializeAws_restJson1ClaimDeviceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2603
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, _k, parsedBody, message;
|
|
2604
|
+
var _l;
|
|
2605
|
+
return __generator(this, function (_m) {
|
|
2606
|
+
switch (_m.label) {
|
|
2607
|
+
case 0:
|
|
2608
|
+
_a = [__assign({}, output)];
|
|
2609
|
+
_l = {};
|
|
2610
|
+
return [4, parseBody(output.body, context)];
|
|
2611
|
+
case 1:
|
|
2612
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_l.body = _m.sent(), _l)]));
|
|
2613
|
+
errorCode = "UnknownError";
|
|
2614
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2615
|
+
_b = errorCode;
|
|
2616
|
+
switch (_b) {
|
|
2617
|
+
case "BadGatewayException": return [3, 2];
|
|
2618
|
+
case "com.amazonaws.medialive#BadGatewayException": return [3, 2];
|
|
2619
|
+
case "BadRequestException": return [3, 4];
|
|
2620
|
+
case "com.amazonaws.medialive#BadRequestException": return [3, 4];
|
|
2621
|
+
case "ForbiddenException": return [3, 6];
|
|
2622
|
+
case "com.amazonaws.medialive#ForbiddenException": return [3, 6];
|
|
2623
|
+
case "GatewayTimeoutException": return [3, 8];
|
|
2624
|
+
case "com.amazonaws.medialive#GatewayTimeoutException": return [3, 8];
|
|
2625
|
+
case "InternalServerErrorException": return [3, 10];
|
|
2626
|
+
case "com.amazonaws.medialive#InternalServerErrorException": return [3, 10];
|
|
2627
|
+
case "NotFoundException": return [3, 12];
|
|
2628
|
+
case "com.amazonaws.medialive#NotFoundException": return [3, 12];
|
|
2629
|
+
case "TooManyRequestsException": return [3, 14];
|
|
2630
|
+
case "com.amazonaws.medialive#TooManyRequestsException": return [3, 14];
|
|
2631
|
+
case "UnprocessableEntityException": return [3, 16];
|
|
2632
|
+
case "com.amazonaws.medialive#UnprocessableEntityException": return [3, 16];
|
|
2633
|
+
}
|
|
2634
|
+
return [3, 18];
|
|
2635
|
+
case 2:
|
|
2636
|
+
_c = [{}];
|
|
2637
|
+
return [4, deserializeAws_restJson1BadGatewayExceptionResponse(parsedOutput, context)];
|
|
2638
|
+
case 3:
|
|
2639
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2640
|
+
return [3, 19];
|
|
2641
|
+
case 4:
|
|
2642
|
+
_d = [{}];
|
|
2643
|
+
return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
2644
|
+
case 5:
|
|
2645
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2646
|
+
return [3, 19];
|
|
2647
|
+
case 6:
|
|
2648
|
+
_e = [{}];
|
|
2649
|
+
return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
2650
|
+
case 7:
|
|
2651
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2652
|
+
return [3, 19];
|
|
2653
|
+
case 8:
|
|
2654
|
+
_f = [{}];
|
|
2655
|
+
return [4, deserializeAws_restJson1GatewayTimeoutExceptionResponse(parsedOutput, context)];
|
|
2656
|
+
case 9:
|
|
2657
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2658
|
+
return [3, 19];
|
|
2659
|
+
case 10:
|
|
2660
|
+
_g = [{}];
|
|
2661
|
+
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
2662
|
+
case 11:
|
|
2663
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2664
|
+
return [3, 19];
|
|
2665
|
+
case 12:
|
|
2666
|
+
_h = [{}];
|
|
2667
|
+
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
2668
|
+
case 13:
|
|
2669
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2670
|
+
return [3, 19];
|
|
2671
|
+
case 14:
|
|
2672
|
+
_j = [{}];
|
|
2673
|
+
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
2674
|
+
case 15:
|
|
2675
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2676
|
+
return [3, 19];
|
|
2677
|
+
case 16:
|
|
2678
|
+
_k = [{}];
|
|
2679
|
+
return [4, deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context)];
|
|
2680
|
+
case 17:
|
|
2681
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2682
|
+
return [3, 19];
|
|
2683
|
+
case 18:
|
|
2684
|
+
parsedBody = parsedOutput.body;
|
|
2685
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2686
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2687
|
+
_m.label = 19;
|
|
2688
|
+
case 19:
|
|
2689
|
+
message = response.message || response.Message || errorCode;
|
|
2690
|
+
response.message = message;
|
|
2691
|
+
delete response.Message;
|
|
2692
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2693
|
+
}
|
|
2694
|
+
});
|
|
2695
|
+
}); };
|
|
2560
2696
|
export var deserializeAws_restJson1CreateChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2561
2697
|
var contents, data, _a, _b;
|
|
2562
2698
|
return __generator(this, function (_c) {
|
|
@@ -9367,12 +9503,15 @@ var serializeAws_restJson1AudioCodecSettings = function (input, context) {
|
|
|
9367
9503
|
input.WavSettings !== null && { wavSettings: serializeAws_restJson1WavSettings(input.WavSettings, context) }));
|
|
9368
9504
|
};
|
|
9369
9505
|
var serializeAws_restJson1AudioDescription = function (input, context) {
|
|
9370
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioNormalizationSettings !== undefined &&
|
|
9506
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AudioNormalizationSettings !== undefined &&
|
|
9371
9507
|
input.AudioNormalizationSettings !== null && {
|
|
9372
9508
|
audioNormalizationSettings: serializeAws_restJson1AudioNormalizationSettings(input.AudioNormalizationSettings, context),
|
|
9373
9509
|
})), (input.AudioSelectorName !== undefined &&
|
|
9374
9510
|
input.AudioSelectorName !== null && { audioSelectorName: input.AudioSelectorName })), (input.AudioType !== undefined && input.AudioType !== null && { audioType: input.AudioType })), (input.AudioTypeControl !== undefined &&
|
|
9375
|
-
input.AudioTypeControl !== null && { audioTypeControl: input.AudioTypeControl })), (input.
|
|
9511
|
+
input.AudioTypeControl !== null && { audioTypeControl: input.AudioTypeControl })), (input.AudioWatermarkingSettings !== undefined &&
|
|
9512
|
+
input.AudioWatermarkingSettings !== null && {
|
|
9513
|
+
audioWatermarkingSettings: serializeAws_restJson1AudioWatermarkSettings(input.AudioWatermarkingSettings, context),
|
|
9514
|
+
})), (input.CodecSettings !== undefined &&
|
|
9376
9515
|
input.CodecSettings !== null && {
|
|
9377
9516
|
codecSettings: serializeAws_restJson1AudioCodecSettings(input.CodecSettings, context),
|
|
9378
9517
|
})), (input.LanguageCode !== undefined && input.LanguageCode !== null && { languageCode: input.LanguageCode })), (input.LanguageCodeControl !== undefined &&
|
|
@@ -9436,6 +9575,12 @@ var serializeAws_restJson1AudioTrackSelection = function (input, context) {
|
|
|
9436
9575
|
return __assign({}, (input.Tracks !== undefined &&
|
|
9437
9576
|
input.Tracks !== null && { tracks: serializeAws_restJson1__listOfAudioTrack(input.Tracks, context) }));
|
|
9438
9577
|
};
|
|
9578
|
+
var serializeAws_restJson1AudioWatermarkSettings = function (input, context) {
|
|
9579
|
+
return __assign({}, (input.NielsenWatermarksSettings !== undefined &&
|
|
9580
|
+
input.NielsenWatermarksSettings !== null && {
|
|
9581
|
+
nielsenWatermarksSettings: serializeAws_restJson1NielsenWatermarksSettings(input.NielsenWatermarksSettings, context),
|
|
9582
|
+
}));
|
|
9583
|
+
};
|
|
9439
9584
|
var serializeAws_restJson1AutomaticInputFailoverSettings = function (input, context) {
|
|
9440
9585
|
return __assign(__assign(__assign(__assign({}, (input.ErrorClearTimeMsec !== undefined &&
|
|
9441
9586
|
input.ErrorClearTimeMsec !== null && { errorClearTimeMsec: input.ErrorClearTimeMsec })), (input.FailoverConditions !== undefined &&
|
|
@@ -10252,10 +10397,28 @@ var serializeAws_restJson1NetworkInputSettings = function (input, context) {
|
|
|
10252
10397
|
})), (input.ServerValidation !== undefined &&
|
|
10253
10398
|
input.ServerValidation !== null && { serverValidation: input.ServerValidation }));
|
|
10254
10399
|
};
|
|
10400
|
+
var serializeAws_restJson1NielsenCBET = function (input, context) {
|
|
10401
|
+
return __assign(__assign(__assign({}, (input.CbetCheckDigitString !== undefined &&
|
|
10402
|
+
input.CbetCheckDigitString !== null && { cbetCheckDigitString: input.CbetCheckDigitString })), (input.CbetStepaside !== undefined && input.CbetStepaside !== null && { cbetStepaside: input.CbetStepaside })), (input.Csid !== undefined && input.Csid !== null && { csid: input.Csid }));
|
|
10403
|
+
};
|
|
10255
10404
|
var serializeAws_restJson1NielsenConfiguration = function (input, context) {
|
|
10256
10405
|
return __assign(__assign({}, (input.DistributorId !== undefined && input.DistributorId !== null && { distributorId: input.DistributorId })), (input.NielsenPcmToId3Tagging !== undefined &&
|
|
10257
10406
|
input.NielsenPcmToId3Tagging !== null && { nielsenPcmToId3Tagging: input.NielsenPcmToId3Tagging }));
|
|
10258
10407
|
};
|
|
10408
|
+
var serializeAws_restJson1NielsenNaesIiNw = function (input, context) {
|
|
10409
|
+
return __assign(__assign({}, (input.CheckDigitString !== undefined &&
|
|
10410
|
+
input.CheckDigitString !== null && { checkDigitString: input.CheckDigitString })), (input.Sid !== undefined && input.Sid !== null && { sid: __serializeFloat(input.Sid) }));
|
|
10411
|
+
};
|
|
10412
|
+
var serializeAws_restJson1NielsenWatermarksSettings = function (input, context) {
|
|
10413
|
+
return __assign(__assign(__assign({}, (input.NielsenCbetSettings !== undefined &&
|
|
10414
|
+
input.NielsenCbetSettings !== null && {
|
|
10415
|
+
nielsenCbetSettings: serializeAws_restJson1NielsenCBET(input.NielsenCbetSettings, context),
|
|
10416
|
+
})), (input.NielsenDistributionType !== undefined &&
|
|
10417
|
+
input.NielsenDistributionType !== null && { nielsenDistributionType: input.NielsenDistributionType })), (input.NielsenNaesIiNwSettings !== undefined &&
|
|
10418
|
+
input.NielsenNaesIiNwSettings !== null && {
|
|
10419
|
+
nielsenNaesIiNwSettings: serializeAws_restJson1NielsenNaesIiNw(input.NielsenNaesIiNwSettings, context),
|
|
10420
|
+
}));
|
|
10421
|
+
};
|
|
10259
10422
|
var serializeAws_restJson1Output = function (input, context) {
|
|
10260
10423
|
return __assign(__assign(__assign(__assign(__assign({}, (input.AudioDescriptionNames !== undefined &&
|
|
10261
10424
|
input.AudioDescriptionNames !== null && {
|
|
@@ -11229,6 +11392,9 @@ var deserializeAws_restJson1AudioDescription = function (output, context) {
|
|
|
11229
11392
|
AudioSelectorName: __expectString(output.audioSelectorName),
|
|
11230
11393
|
AudioType: __expectString(output.audioType),
|
|
11231
11394
|
AudioTypeControl: __expectString(output.audioTypeControl),
|
|
11395
|
+
AudioWatermarkingSettings: output.audioWatermarkingSettings !== undefined && output.audioWatermarkingSettings !== null
|
|
11396
|
+
? deserializeAws_restJson1AudioWatermarkSettings(output.audioWatermarkingSettings, context)
|
|
11397
|
+
: undefined,
|
|
11232
11398
|
CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null
|
|
11233
11399
|
? deserializeAws_restJson1AudioCodecSettings(output.codecSettings, context)
|
|
11234
11400
|
: undefined,
|
|
@@ -11317,6 +11483,13 @@ var deserializeAws_restJson1AudioTrackSelection = function (output, context) {
|
|
|
11317
11483
|
: undefined,
|
|
11318
11484
|
};
|
|
11319
11485
|
};
|
|
11486
|
+
var deserializeAws_restJson1AudioWatermarkSettings = function (output, context) {
|
|
11487
|
+
return {
|
|
11488
|
+
NielsenWatermarksSettings: output.nielsenWatermarksSettings !== undefined && output.nielsenWatermarksSettings !== null
|
|
11489
|
+
? deserializeAws_restJson1NielsenWatermarksSettings(output.nielsenWatermarksSettings, context)
|
|
11490
|
+
: undefined,
|
|
11491
|
+
};
|
|
11492
|
+
};
|
|
11320
11493
|
var deserializeAws_restJson1AutomaticInputFailoverSettings = function (output, context) {
|
|
11321
11494
|
return {
|
|
11322
11495
|
ErrorClearTimeMsec: __expectInt32(output.errorClearTimeMsec),
|
|
@@ -12761,12 +12934,36 @@ var deserializeAws_restJson1NetworkInputSettings = function (output, context) {
|
|
|
12761
12934
|
ServerValidation: __expectString(output.serverValidation),
|
|
12762
12935
|
};
|
|
12763
12936
|
};
|
|
12937
|
+
var deserializeAws_restJson1NielsenCBET = function (output, context) {
|
|
12938
|
+
return {
|
|
12939
|
+
CbetCheckDigitString: __expectString(output.cbetCheckDigitString),
|
|
12940
|
+
CbetStepaside: __expectString(output.cbetStepaside),
|
|
12941
|
+
Csid: __expectString(output.csid),
|
|
12942
|
+
};
|
|
12943
|
+
};
|
|
12764
12944
|
var deserializeAws_restJson1NielsenConfiguration = function (output, context) {
|
|
12765
12945
|
return {
|
|
12766
12946
|
DistributorId: __expectString(output.distributorId),
|
|
12767
12947
|
NielsenPcmToId3Tagging: __expectString(output.nielsenPcmToId3Tagging),
|
|
12768
12948
|
};
|
|
12769
12949
|
};
|
|
12950
|
+
var deserializeAws_restJson1NielsenNaesIiNw = function (output, context) {
|
|
12951
|
+
return {
|
|
12952
|
+
CheckDigitString: __expectString(output.checkDigitString),
|
|
12953
|
+
Sid: __limitedParseDouble(output.sid),
|
|
12954
|
+
};
|
|
12955
|
+
};
|
|
12956
|
+
var deserializeAws_restJson1NielsenWatermarksSettings = function (output, context) {
|
|
12957
|
+
return {
|
|
12958
|
+
NielsenCbetSettings: output.nielsenCbetSettings !== undefined && output.nielsenCbetSettings !== null
|
|
12959
|
+
? deserializeAws_restJson1NielsenCBET(output.nielsenCbetSettings, context)
|
|
12960
|
+
: undefined,
|
|
12961
|
+
NielsenDistributionType: __expectString(output.nielsenDistributionType),
|
|
12962
|
+
NielsenNaesIiNwSettings: output.nielsenNaesIiNwSettings !== undefined && output.nielsenNaesIiNwSettings !== null
|
|
12963
|
+
? deserializeAws_restJson1NielsenNaesIiNw(output.nielsenNaesIiNwSettings, context)
|
|
12964
|
+
: undefined,
|
|
12965
|
+
};
|
|
12966
|
+
};
|
|
12770
12967
|
var deserializeAws_restJson1Offering = function (output, context) {
|
|
12771
12968
|
return {
|
|
12772
12969
|
Arn: __expectString(output.arn),
|
|
@@ -5,6 +5,7 @@ import { BatchStartCommandInput, BatchStartCommandOutput } from "./commands/Batc
|
|
|
5
5
|
import { BatchStopCommandInput, BatchStopCommandOutput } from "./commands/BatchStopCommand";
|
|
6
6
|
import { BatchUpdateScheduleCommandInput, BatchUpdateScheduleCommandOutput } from "./commands/BatchUpdateScheduleCommand";
|
|
7
7
|
import { CancelInputDeviceTransferCommandInput, CancelInputDeviceTransferCommandOutput } from "./commands/CancelInputDeviceTransferCommand";
|
|
8
|
+
import { ClaimDeviceCommandInput, ClaimDeviceCommandOutput } from "./commands/ClaimDeviceCommand";
|
|
8
9
|
import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
|
|
9
10
|
import { CreateInputCommandInput, CreateInputCommandOutput } from "./commands/CreateInputCommand";
|
|
10
11
|
import { CreateInputSecurityGroupCommandInput, CreateInputSecurityGroupCommandOutput } from "./commands/CreateInputSecurityGroupCommand";
|
|
@@ -96,6 +97,12 @@ export declare class MediaLive extends MediaLiveClient {
|
|
|
96
97
|
cancelInputDeviceTransfer(args: CancelInputDeviceTransferCommandInput, options?: __HttpHandlerOptions): Promise<CancelInputDeviceTransferCommandOutput>;
|
|
97
98
|
cancelInputDeviceTransfer(args: CancelInputDeviceTransferCommandInput, cb: (err: any, data?: CancelInputDeviceTransferCommandOutput) => void): void;
|
|
98
99
|
cancelInputDeviceTransfer(args: CancelInputDeviceTransferCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelInputDeviceTransferCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device.
|
|
102
|
+
*/
|
|
103
|
+
claimDevice(args: ClaimDeviceCommandInput, options?: __HttpHandlerOptions): Promise<ClaimDeviceCommandOutput>;
|
|
104
|
+
claimDevice(args: ClaimDeviceCommandInput, cb: (err: any, data?: ClaimDeviceCommandOutput) => void): void;
|
|
105
|
+
claimDevice(args: ClaimDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ClaimDeviceCommandOutput) => void): void;
|
|
99
106
|
/**
|
|
100
107
|
* Creates a new channel
|
|
101
108
|
*/
|
|
@@ -12,6 +12,7 @@ import { BatchStartCommandInput, BatchStartCommandOutput } from "./commands/Batc
|
|
|
12
12
|
import { BatchStopCommandInput, BatchStopCommandOutput } from "./commands/BatchStopCommand";
|
|
13
13
|
import { BatchUpdateScheduleCommandInput, BatchUpdateScheduleCommandOutput } from "./commands/BatchUpdateScheduleCommand";
|
|
14
14
|
import { CancelInputDeviceTransferCommandInput, CancelInputDeviceTransferCommandOutput } from "./commands/CancelInputDeviceTransferCommand";
|
|
15
|
+
import { ClaimDeviceCommandInput, ClaimDeviceCommandOutput } from "./commands/ClaimDeviceCommand";
|
|
15
16
|
import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
|
|
16
17
|
import { CreateInputCommandInput, CreateInputCommandOutput } from "./commands/CreateInputCommand";
|
|
17
18
|
import { CreateInputSecurityGroupCommandInput, CreateInputSecurityGroupCommandOutput } from "./commands/CreateInputSecurityGroupCommand";
|
|
@@ -62,8 +63,8 @@ import { UpdateInputSecurityGroupCommandInput, UpdateInputSecurityGroupCommandOu
|
|
|
62
63
|
import { UpdateMultiplexCommandInput, UpdateMultiplexCommandOutput } from "./commands/UpdateMultiplexCommand";
|
|
63
64
|
import { UpdateMultiplexProgramCommandInput, UpdateMultiplexProgramCommandOutput } from "./commands/UpdateMultiplexProgramCommand";
|
|
64
65
|
import { UpdateReservationCommandInput, UpdateReservationCommandOutput } from "./commands/UpdateReservationCommand";
|
|
65
|
-
export declare type ServiceInputTypes = AcceptInputDeviceTransferCommandInput | BatchDeleteCommandInput | BatchStartCommandInput | BatchStopCommandInput | BatchUpdateScheduleCommandInput | CancelInputDeviceTransferCommandInput | CreateChannelCommandInput | CreateInputCommandInput | CreateInputSecurityGroupCommandInput | CreateMultiplexCommandInput | CreateMultiplexProgramCommandInput | CreatePartnerInputCommandInput | CreateTagsCommandInput | DeleteChannelCommandInput | DeleteInputCommandInput | DeleteInputSecurityGroupCommandInput | DeleteMultiplexCommandInput | DeleteMultiplexProgramCommandInput | DeleteReservationCommandInput | DeleteScheduleCommandInput | DeleteTagsCommandInput | DescribeChannelCommandInput | DescribeInputCommandInput | DescribeInputDeviceCommandInput | DescribeInputDeviceThumbnailCommandInput | DescribeInputSecurityGroupCommandInput | DescribeMultiplexCommandInput | DescribeMultiplexProgramCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | DescribeScheduleCommandInput | ListChannelsCommandInput | ListInputDeviceTransfersCommandInput | ListInputDevicesCommandInput | ListInputSecurityGroupsCommandInput | ListInputsCommandInput | ListMultiplexProgramsCommandInput | ListMultiplexesCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RejectInputDeviceTransferCommandInput | StartChannelCommandInput | StartMultiplexCommandInput | StopChannelCommandInput | StopMultiplexCommandInput | TransferInputDeviceCommandInput | UpdateChannelClassCommandInput | UpdateChannelCommandInput | UpdateInputCommandInput | UpdateInputDeviceCommandInput | UpdateInputSecurityGroupCommandInput | UpdateMultiplexCommandInput | UpdateMultiplexProgramCommandInput | UpdateReservationCommandInput;
|
|
66
|
-
export declare type ServiceOutputTypes = AcceptInputDeviceTransferCommandOutput | BatchDeleteCommandOutput | BatchStartCommandOutput | BatchStopCommandOutput | BatchUpdateScheduleCommandOutput | CancelInputDeviceTransferCommandOutput | CreateChannelCommandOutput | CreateInputCommandOutput | CreateInputSecurityGroupCommandOutput | CreateMultiplexCommandOutput | CreateMultiplexProgramCommandOutput | CreatePartnerInputCommandOutput | CreateTagsCommandOutput | DeleteChannelCommandOutput | DeleteInputCommandOutput | DeleteInputSecurityGroupCommandOutput | DeleteMultiplexCommandOutput | DeleteMultiplexProgramCommandOutput | DeleteReservationCommandOutput | DeleteScheduleCommandOutput | DeleteTagsCommandOutput | DescribeChannelCommandOutput | DescribeInputCommandOutput | DescribeInputDeviceCommandOutput | DescribeInputDeviceThumbnailCommandOutput | DescribeInputSecurityGroupCommandOutput | DescribeMultiplexCommandOutput | DescribeMultiplexProgramCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | DescribeScheduleCommandOutput | ListChannelsCommandOutput | ListInputDeviceTransfersCommandOutput | ListInputDevicesCommandOutput | ListInputSecurityGroupsCommandOutput | ListInputsCommandOutput | ListMultiplexProgramsCommandOutput | ListMultiplexesCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RejectInputDeviceTransferCommandOutput | StartChannelCommandOutput | StartMultiplexCommandOutput | StopChannelCommandOutput | StopMultiplexCommandOutput | TransferInputDeviceCommandOutput | UpdateChannelClassCommandOutput | UpdateChannelCommandOutput | UpdateInputCommandOutput | UpdateInputDeviceCommandOutput | UpdateInputSecurityGroupCommandOutput | UpdateMultiplexCommandOutput | UpdateMultiplexProgramCommandOutput | UpdateReservationCommandOutput;
|
|
66
|
+
export declare type ServiceInputTypes = AcceptInputDeviceTransferCommandInput | BatchDeleteCommandInput | BatchStartCommandInput | BatchStopCommandInput | BatchUpdateScheduleCommandInput | CancelInputDeviceTransferCommandInput | ClaimDeviceCommandInput | CreateChannelCommandInput | CreateInputCommandInput | CreateInputSecurityGroupCommandInput | CreateMultiplexCommandInput | CreateMultiplexProgramCommandInput | CreatePartnerInputCommandInput | CreateTagsCommandInput | DeleteChannelCommandInput | DeleteInputCommandInput | DeleteInputSecurityGroupCommandInput | DeleteMultiplexCommandInput | DeleteMultiplexProgramCommandInput | DeleteReservationCommandInput | DeleteScheduleCommandInput | DeleteTagsCommandInput | DescribeChannelCommandInput | DescribeInputCommandInput | DescribeInputDeviceCommandInput | DescribeInputDeviceThumbnailCommandInput | DescribeInputSecurityGroupCommandInput | DescribeMultiplexCommandInput | DescribeMultiplexProgramCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | DescribeScheduleCommandInput | ListChannelsCommandInput | ListInputDeviceTransfersCommandInput | ListInputDevicesCommandInput | ListInputSecurityGroupsCommandInput | ListInputsCommandInput | ListMultiplexProgramsCommandInput | ListMultiplexesCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RejectInputDeviceTransferCommandInput | StartChannelCommandInput | StartMultiplexCommandInput | StopChannelCommandInput | StopMultiplexCommandInput | TransferInputDeviceCommandInput | UpdateChannelClassCommandInput | UpdateChannelCommandInput | UpdateInputCommandInput | UpdateInputDeviceCommandInput | UpdateInputSecurityGroupCommandInput | UpdateMultiplexCommandInput | UpdateMultiplexProgramCommandInput | UpdateReservationCommandInput;
|
|
67
|
+
export declare type ServiceOutputTypes = AcceptInputDeviceTransferCommandOutput | BatchDeleteCommandOutput | BatchStartCommandOutput | BatchStopCommandOutput | BatchUpdateScheduleCommandOutput | CancelInputDeviceTransferCommandOutput | ClaimDeviceCommandOutput | CreateChannelCommandOutput | CreateInputCommandOutput | CreateInputSecurityGroupCommandOutput | CreateMultiplexCommandOutput | CreateMultiplexProgramCommandOutput | CreatePartnerInputCommandOutput | CreateTagsCommandOutput | DeleteChannelCommandOutput | DeleteInputCommandOutput | DeleteInputSecurityGroupCommandOutput | DeleteMultiplexCommandOutput | DeleteMultiplexProgramCommandOutput | DeleteReservationCommandOutput | DeleteScheduleCommandOutput | DeleteTagsCommandOutput | DescribeChannelCommandOutput | DescribeInputCommandOutput | DescribeInputDeviceCommandOutput | DescribeInputDeviceThumbnailCommandOutput | DescribeInputSecurityGroupCommandOutput | DescribeMultiplexCommandOutput | DescribeMultiplexProgramCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | DescribeScheduleCommandOutput | ListChannelsCommandOutput | ListInputDeviceTransfersCommandOutput | ListInputDevicesCommandOutput | ListInputSecurityGroupsCommandOutput | ListInputsCommandOutput | ListMultiplexProgramsCommandOutput | ListMultiplexesCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RejectInputDeviceTransferCommandOutput | StartChannelCommandOutput | StartMultiplexCommandOutput | StopChannelCommandOutput | StopMultiplexCommandOutput | TransferInputDeviceCommandOutput | UpdateChannelClassCommandOutput | UpdateChannelCommandOutput | UpdateInputCommandOutput | UpdateInputDeviceCommandOutput | UpdateInputSecurityGroupCommandOutput | UpdateMultiplexCommandOutput | UpdateMultiplexProgramCommandOutput | UpdateReservationCommandOutput;
|
|
67
68
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
68
69
|
/**
|
|
69
70
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
|
|
4
|
+
import { ClaimDeviceRequest, ClaimDeviceResponse } from "../models/models_1";
|
|
5
|
+
export interface ClaimDeviceCommandInput extends ClaimDeviceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ClaimDeviceCommandOutput extends ClaimDeviceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device.
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MediaLiveClient, ClaimDeviceCommand } from "@aws-sdk/client-medialive"; // ES Modules import
|
|
15
|
+
* // const { MediaLiveClient, ClaimDeviceCommand } = require("@aws-sdk/client-medialive"); // CommonJS import
|
|
16
|
+
* const client = new MediaLiveClient(config);
|
|
17
|
+
* const command = new ClaimDeviceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ClaimDeviceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ClaimDeviceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MediaLiveClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ClaimDeviceCommand extends $Command<ClaimDeviceCommandInput, ClaimDeviceCommandOutput, MediaLiveClientResolvedConfig> {
|
|
27
|
+
readonly input: ClaimDeviceCommandInput;
|
|
28
|
+
constructor(input: ClaimDeviceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ClaimDeviceCommandInput, ClaimDeviceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from "./commands/BatchStartCommand";
|
|
|
6
6
|
export * from "./commands/BatchStopCommand";
|
|
7
7
|
export * from "./commands/BatchUpdateScheduleCommand";
|
|
8
8
|
export * from "./commands/CancelInputDeviceTransferCommand";
|
|
9
|
+
export * from "./commands/ClaimDeviceCommand";
|
|
9
10
|
export * from "./commands/CreateChannelCommand";
|
|
10
11
|
export * from "./commands/CreateInputCommand";
|
|
11
12
|
export * from "./commands/CreateInputSecurityGroupCommand";
|
|
@@ -76,6 +76,96 @@ export declare enum AudioDescriptionAudioTypeControl {
|
|
|
76
76
|
FOLLOW_INPUT = "FOLLOW_INPUT",
|
|
77
77
|
USE_CONFIGURED = "USE_CONFIGURED"
|
|
78
78
|
}
|
|
79
|
+
export declare enum NielsenWatermarksCbetStepaside {
|
|
80
|
+
DISABLED = "DISABLED",
|
|
81
|
+
ENABLED = "ENABLED"
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Nielsen CBET
|
|
85
|
+
*/
|
|
86
|
+
export interface NielsenCBET {
|
|
87
|
+
/**
|
|
88
|
+
* Enter the CBET check digits to use in the watermark.
|
|
89
|
+
*/
|
|
90
|
+
CbetCheckDigitString: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Determines the method of CBET insertion mode when prior encoding is detected on the same layer.
|
|
93
|
+
*/
|
|
94
|
+
CbetStepaside: NielsenWatermarksCbetStepaside | string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Enter the CBET Source ID (CSID) to use in the watermark
|
|
97
|
+
*/
|
|
98
|
+
Csid: string | undefined;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace NielsenCBET {
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
const filterSensitiveLog: (obj: NielsenCBET) => any;
|
|
105
|
+
}
|
|
106
|
+
export declare enum NielsenWatermarksDistributionTypes {
|
|
107
|
+
FINAL_DISTRIBUTOR = "FINAL_DISTRIBUTOR",
|
|
108
|
+
PROGRAM_CONTENT = "PROGRAM_CONTENT"
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Nielsen Naes Ii Nw
|
|
112
|
+
*/
|
|
113
|
+
export interface NielsenNaesIiNw {
|
|
114
|
+
/**
|
|
115
|
+
* Enter the check digit string for the watermark
|
|
116
|
+
*/
|
|
117
|
+
CheckDigitString: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Enter the Nielsen Source ID (SID) to include in the watermark
|
|
120
|
+
*/
|
|
121
|
+
Sid: number | undefined;
|
|
122
|
+
}
|
|
123
|
+
export declare namespace NielsenNaesIiNw {
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
const filterSensitiveLog: (obj: NielsenNaesIiNw) => any;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Nielsen Watermarks Settings
|
|
131
|
+
*/
|
|
132
|
+
export interface NielsenWatermarksSettings {
|
|
133
|
+
/**
|
|
134
|
+
* Complete these fields only if you want to insert watermarks of type Nielsen CBET
|
|
135
|
+
*/
|
|
136
|
+
NielsenCbetSettings?: NielsenCBET;
|
|
137
|
+
/**
|
|
138
|
+
* Choose the distribution types that you want to assign to the watermarks:
|
|
139
|
+
* - PROGRAM_CONTENT
|
|
140
|
+
* - FINAL_DISTRIBUTOR
|
|
141
|
+
*/
|
|
142
|
+
NielsenDistributionType?: NielsenWatermarksDistributionTypes | string;
|
|
143
|
+
/**
|
|
144
|
+
* Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW).
|
|
145
|
+
*/
|
|
146
|
+
NielsenNaesIiNwSettings?: NielsenNaesIiNw;
|
|
147
|
+
}
|
|
148
|
+
export declare namespace NielsenWatermarksSettings {
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
152
|
+
const filterSensitiveLog: (obj: NielsenWatermarksSettings) => any;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Audio Watermark Settings
|
|
156
|
+
*/
|
|
157
|
+
export interface AudioWatermarkSettings {
|
|
158
|
+
/**
|
|
159
|
+
* Settings to configure Nielsen Watermarks in the audio encode
|
|
160
|
+
*/
|
|
161
|
+
NielsenWatermarksSettings?: NielsenWatermarksSettings;
|
|
162
|
+
}
|
|
163
|
+
export declare namespace AudioWatermarkSettings {
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
const filterSensitiveLog: (obj: AudioWatermarkSettings) => any;
|
|
168
|
+
}
|
|
79
169
|
export declare enum AacCodingMode {
|
|
80
170
|
AD_RECEIVER_MIX = "AD_RECEIVER_MIX",
|
|
81
171
|
CODING_MODE_1_0 = "CODING_MODE_1_0",
|
|
@@ -542,6 +632,10 @@ export interface AudioDescription {
|
|
|
542
632
|
* Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.
|
|
543
633
|
*/
|
|
544
634
|
AudioTypeControl?: AudioDescriptionAudioTypeControl | string;
|
|
635
|
+
/**
|
|
636
|
+
* Settings to configure one or more solutions that insert audio watermarks in the audio encode
|
|
637
|
+
*/
|
|
638
|
+
AudioWatermarkingSettings?: AudioWatermarkSettings;
|
|
545
639
|
/**
|
|
546
640
|
* Audio codec settings.
|
|
547
641
|
*/
|
|
@@ -2248,7 +2342,7 @@ export interface ChannelSummary {
|
|
|
2248
2342
|
[key: string]: string;
|
|
2249
2343
|
};
|
|
2250
2344
|
/**
|
|
2251
|
-
* Settings for VPC
|
|
2345
|
+
* Settings for any VPC outputs.
|
|
2252
2346
|
*/
|
|
2253
2347
|
Vpc?: VpcOutputSettingsDescription;
|
|
2254
2348
|
}
|
|
@@ -2388,6 +2482,7 @@ export declare enum InputType {
|
|
|
2388
2482
|
RTMP_PULL = "RTMP_PULL",
|
|
2389
2483
|
RTMP_PUSH = "RTMP_PUSH",
|
|
2390
2484
|
RTP_PUSH = "RTP_PUSH",
|
|
2485
|
+
TS_FILE = "TS_FILE",
|
|
2391
2486
|
UDP_PUSH = "UDP_PUSH",
|
|
2392
2487
|
URL_PULL = "URL_PULL"
|
|
2393
2488
|
}
|
|
@@ -2426,7 +2521,7 @@ export interface Input {
|
|
|
2426
2521
|
InputPartnerIds?: string[];
|
|
2427
2522
|
/**
|
|
2428
2523
|
* Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes
|
|
2429
|
-
* during input switch actions. Presently, this functionality only works with MP4_FILE inputs.
|
|
2524
|
+
* during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
|
|
2430
2525
|
*/
|
|
2431
2526
|
InputSourceType?: InputSourceType | string;
|
|
2432
2527
|
/**
|
|
@@ -2460,7 +2555,7 @@ export interface Input {
|
|
|
2460
2555
|
[key: string]: string;
|
|
2461
2556
|
};
|
|
2462
2557
|
/**
|
|
2463
|
-
*
|
|
2558
|
+
* The different types of inputs that AWS Elemental MediaLive supports.
|
|
2464
2559
|
*/
|
|
2465
2560
|
Type?: InputType | string;
|
|
2466
2561
|
}
|
|
@@ -4681,28 +4776,3 @@ export declare namespace MediaPackageGroupSettings {
|
|
|
4681
4776
|
*/
|
|
4682
4777
|
const filterSensitiveLog: (obj: MediaPackageGroupSettings) => any;
|
|
4683
4778
|
}
|
|
4684
|
-
export declare enum SmoothGroupAudioOnlyTimecodeControl {
|
|
4685
|
-
PASSTHROUGH = "PASSTHROUGH",
|
|
4686
|
-
USE_CONFIGURED_CLOCK = "USE_CONFIGURED_CLOCK"
|
|
4687
|
-
}
|
|
4688
|
-
export declare enum SmoothGroupCertificateMode {
|
|
4689
|
-
SELF_SIGNED = "SELF_SIGNED",
|
|
4690
|
-
VERIFY_AUTHENTICITY = "VERIFY_AUTHENTICITY"
|
|
4691
|
-
}
|
|
4692
|
-
export declare enum SmoothGroupEventIdMode {
|
|
4693
|
-
NO_EVENT_ID = "NO_EVENT_ID",
|
|
4694
|
-
USE_CONFIGURED = "USE_CONFIGURED",
|
|
4695
|
-
USE_TIMESTAMP = "USE_TIMESTAMP"
|
|
4696
|
-
}
|
|
4697
|
-
export declare enum SmoothGroupEventStopBehavior {
|
|
4698
|
-
NONE = "NONE",
|
|
4699
|
-
SEND_EOS = "SEND_EOS"
|
|
4700
|
-
}
|
|
4701
|
-
export declare enum InputLossActionForMsSmoothOut {
|
|
4702
|
-
EMIT_OUTPUT = "EMIT_OUTPUT",
|
|
4703
|
-
PAUSE_OUTPUT = "PAUSE_OUTPUT"
|
|
4704
|
-
}
|
|
4705
|
-
export declare enum SmoothGroupSegmentationMode {
|
|
4706
|
-
USE_INPUT_SEGMENTATION = "USE_INPUT_SEGMENTATION",
|
|
4707
|
-
USE_SEGMENT_DURATION = "USE_SEGMENT_DURATION"
|
|
4708
|
-
}
|
|
@@ -1,7 +1,32 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
-
import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsGroupSettings, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceRequest, InputDeviceSettings, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputLocation,
|
|
4
|
+
import { ArchiveGroupSettings, AudioDescription, BatchFailedResultModel, BatchSuccessfulResultModel, CaptionDescription, CdiInputSpecification, ChannelClass, ChannelEgressEndpoint, ChannelState, ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsGroupSettings, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceRequest, InputDeviceSettings, InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputLocation, InputSecurityGroup, InputSecurityGroupState, InputSource, InputSourceRequest, InputSourceType, InputSpecification, InputState, InputType, InputWhitelistRule, InputWhitelistRuleCidr, LogLevel, MediaConnectFlow, MediaConnectFlowRequest, MediaPackageGroupSettings, MultiplexOutputDestination, MultiplexProgramPipelineDetail, MultiplexProgramSummary, MultiplexState, MultiplexSummary, Offering, OfferingDurationUnits, OfferingType, Output, OutputDestination, OutputLocationRef, ReservationResourceSpecification, VpcOutputSettingsDescription } from "./models_0";
|
|
5
|
+
export declare enum SmoothGroupAudioOnlyTimecodeControl {
|
|
6
|
+
PASSTHROUGH = "PASSTHROUGH",
|
|
7
|
+
USE_CONFIGURED_CLOCK = "USE_CONFIGURED_CLOCK"
|
|
8
|
+
}
|
|
9
|
+
export declare enum SmoothGroupCertificateMode {
|
|
10
|
+
SELF_SIGNED = "SELF_SIGNED",
|
|
11
|
+
VERIFY_AUTHENTICITY = "VERIFY_AUTHENTICITY"
|
|
12
|
+
}
|
|
13
|
+
export declare enum SmoothGroupEventIdMode {
|
|
14
|
+
NO_EVENT_ID = "NO_EVENT_ID",
|
|
15
|
+
USE_CONFIGURED = "USE_CONFIGURED",
|
|
16
|
+
USE_TIMESTAMP = "USE_TIMESTAMP"
|
|
17
|
+
}
|
|
18
|
+
export declare enum SmoothGroupEventStopBehavior {
|
|
19
|
+
NONE = "NONE",
|
|
20
|
+
SEND_EOS = "SEND_EOS"
|
|
21
|
+
}
|
|
22
|
+
export declare enum InputLossActionForMsSmoothOut {
|
|
23
|
+
EMIT_OUTPUT = "EMIT_OUTPUT",
|
|
24
|
+
PAUSE_OUTPUT = "PAUSE_OUTPUT"
|
|
25
|
+
}
|
|
26
|
+
export declare enum SmoothGroupSegmentationMode {
|
|
27
|
+
USE_INPUT_SEGMENTATION = "USE_INPUT_SEGMENTATION",
|
|
28
|
+
USE_SEGMENT_DURATION = "USE_SEGMENT_DURATION"
|
|
29
|
+
}
|
|
5
30
|
export declare enum SmoothGroupSparseTrackType {
|
|
6
31
|
NONE = "NONE",
|
|
7
32
|
SCTE_35 = "SCTE_35",
|
|
@@ -2970,6 +2995,32 @@ export declare namespace Channel {
|
|
|
2970
2995
|
*/
|
|
2971
2996
|
const filterSensitiveLog: (obj: Channel) => any;
|
|
2972
2997
|
}
|
|
2998
|
+
/**
|
|
2999
|
+
* A request to claim an AWS Elemental device that you have purchased from a third-party vendor.
|
|
3000
|
+
*/
|
|
3001
|
+
export interface ClaimDeviceRequest {
|
|
3002
|
+
/**
|
|
3003
|
+
* The id of the device you want to claim.
|
|
3004
|
+
*/
|
|
3005
|
+
Id?: string;
|
|
3006
|
+
}
|
|
3007
|
+
export declare namespace ClaimDeviceRequest {
|
|
3008
|
+
/**
|
|
3009
|
+
* @internal
|
|
3010
|
+
*/
|
|
3011
|
+
const filterSensitiveLog: (obj: ClaimDeviceRequest) => any;
|
|
3012
|
+
}
|
|
3013
|
+
/**
|
|
3014
|
+
* Placeholder documentation for ClaimDeviceResponse
|
|
3015
|
+
*/
|
|
3016
|
+
export interface ClaimDeviceResponse {
|
|
3017
|
+
}
|
|
3018
|
+
export declare namespace ClaimDeviceResponse {
|
|
3019
|
+
/**
|
|
3020
|
+
* @internal
|
|
3021
|
+
*/
|
|
3022
|
+
const filterSensitiveLog: (obj: ClaimDeviceResponse) => any;
|
|
3023
|
+
}
|
|
2973
3024
|
export declare enum ContentType {
|
|
2974
3025
|
image_jpeg = "image/jpeg"
|
|
2975
3026
|
}
|
|
@@ -3058,7 +3109,7 @@ export interface CreateChannelRequest {
|
|
|
3058
3109
|
[key: string]: string;
|
|
3059
3110
|
};
|
|
3060
3111
|
/**
|
|
3061
|
-
* Settings for VPC
|
|
3112
|
+
* Settings for the VPC outputs
|
|
3062
3113
|
*/
|
|
3063
3114
|
Vpc?: VpcOutputSettings;
|
|
3064
3115
|
}
|
|
@@ -3155,7 +3206,7 @@ export interface CreateInputRequest {
|
|
|
3155
3206
|
[key: string]: string;
|
|
3156
3207
|
};
|
|
3157
3208
|
/**
|
|
3158
|
-
*
|
|
3209
|
+
* The different types of inputs that AWS Elemental MediaLive supports.
|
|
3159
3210
|
*/
|
|
3160
3211
|
Type?: InputType | string;
|
|
3161
3212
|
/**
|
|
@@ -4207,7 +4258,7 @@ export interface DescribeInputResponse {
|
|
|
4207
4258
|
InputPartnerIds?: string[];
|
|
4208
4259
|
/**
|
|
4209
4260
|
* Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes
|
|
4210
|
-
* during input switch actions. Presently, this functionality only works with MP4_FILE inputs.
|
|
4261
|
+
* during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
|
|
4211
4262
|
*/
|
|
4212
4263
|
InputSourceType?: InputSourceType | string;
|
|
4213
4264
|
/**
|
|
@@ -4241,7 +4292,7 @@ export interface DescribeInputResponse {
|
|
|
4241
4292
|
[key: string]: string;
|
|
4242
4293
|
};
|
|
4243
4294
|
/**
|
|
4244
|
-
*
|
|
4295
|
+
* The different types of inputs that AWS Elemental MediaLive supports.
|
|
4245
4296
|
*/
|
|
4246
4297
|
Type?: InputType | string;
|
|
4247
4298
|
}
|