@aws-sdk/client-medialive 3.409.0 → 3.410.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/README.md +16 -0
- package/dist-cjs/MediaLive.js +4 -0
- package/dist-cjs/commands/StartInputDeviceCommand.js +46 -0
- package/dist-cjs/commands/StopInputDeviceCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +12 -7
- package/dist-cjs/models/models_1.js +7 -3
- package/dist-cjs/protocols/Aws_restJson1.js +165 -3
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/MediaLive.js +4 -0
- package/dist-es/commands/StartInputDeviceCommand.js +42 -0
- package/dist-es/commands/StopInputDeviceCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +9 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +158 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/MediaLive.d.ts +14 -0
- package/dist-types/MediaLiveClient.d.ts +4 -2
- package/dist-types/commands/DescribeInputDeviceCommand.d.ts +11 -0
- package/dist-types/commands/ListInputDevicesCommand.d.ts +11 -0
- package/dist-types/commands/ListMultiplexProgramsCommand.d.ts +1 -1
- package/dist-types/commands/ListMultiplexesCommand.d.ts +2 -1
- package/dist-types/commands/ListOfferingsCommand.d.ts +1 -2
- package/dist-types/commands/StartInputDeviceCommand.d.ts +95 -0
- package/dist-types/commands/StopInputDeviceCommand.d.ts +95 -0
- package/dist-types/commands/UpdateInputDeviceCommand.d.ts +25 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +71 -39
- package/dist-types/models/models_1.d.ts +86 -120
- package/dist-types/models/models_2.d.ts +164 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/MediaLive.d.ts +34 -0
- package/dist-types/ts3.4/MediaLiveClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListMultiplexProgramsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMultiplexesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListOfferingsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartInputDeviceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StopInputDeviceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +23 -12
- package/dist-types/ts3.4/models/models_1.d.ts +24 -31
- package/dist-types/ts3.4/models/models_2.d.ts +40 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -586,6 +586,14 @@ StartChannel
|
|
|
586
586
|
|
|
587
587
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/startchannelcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/startchannelcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/startchannelcommandoutput.html)
|
|
588
588
|
|
|
589
|
+
</details>
|
|
590
|
+
<details>
|
|
591
|
+
<summary>
|
|
592
|
+
StartInputDevice
|
|
593
|
+
</summary>
|
|
594
|
+
|
|
595
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/startinputdevicecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/startinputdevicecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/startinputdevicecommandoutput.html)
|
|
596
|
+
|
|
589
597
|
</details>
|
|
590
598
|
<details>
|
|
591
599
|
<summary>
|
|
@@ -610,6 +618,14 @@ StopChannel
|
|
|
610
618
|
|
|
611
619
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/stopchannelcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/stopchannelcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/stopchannelcommandoutput.html)
|
|
612
620
|
|
|
621
|
+
</details>
|
|
622
|
+
<details>
|
|
623
|
+
<summary>
|
|
624
|
+
StopInputDevice
|
|
625
|
+
</summary>
|
|
626
|
+
|
|
627
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/classes/stopinputdevicecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/stopinputdevicecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-medialive/interfaces/stopinputdevicecommandoutput.html)
|
|
628
|
+
|
|
613
629
|
</details>
|
|
614
630
|
<details>
|
|
615
631
|
<summary>
|
package/dist-cjs/MediaLive.js
CHANGED
|
@@ -50,9 +50,11 @@ const PurchaseOfferingCommand_1 = require("./commands/PurchaseOfferingCommand");
|
|
|
50
50
|
const RebootInputDeviceCommand_1 = require("./commands/RebootInputDeviceCommand");
|
|
51
51
|
const RejectInputDeviceTransferCommand_1 = require("./commands/RejectInputDeviceTransferCommand");
|
|
52
52
|
const StartChannelCommand_1 = require("./commands/StartChannelCommand");
|
|
53
|
+
const StartInputDeviceCommand_1 = require("./commands/StartInputDeviceCommand");
|
|
53
54
|
const StartInputDeviceMaintenanceWindowCommand_1 = require("./commands/StartInputDeviceMaintenanceWindowCommand");
|
|
54
55
|
const StartMultiplexCommand_1 = require("./commands/StartMultiplexCommand");
|
|
55
56
|
const StopChannelCommand_1 = require("./commands/StopChannelCommand");
|
|
57
|
+
const StopInputDeviceCommand_1 = require("./commands/StopInputDeviceCommand");
|
|
56
58
|
const StopMultiplexCommand_1 = require("./commands/StopMultiplexCommand");
|
|
57
59
|
const TransferInputDeviceCommand_1 = require("./commands/TransferInputDeviceCommand");
|
|
58
60
|
const UpdateAccountConfigurationCommand_1 = require("./commands/UpdateAccountConfigurationCommand");
|
|
@@ -114,9 +116,11 @@ const commands = {
|
|
|
114
116
|
RebootInputDeviceCommand: RebootInputDeviceCommand_1.RebootInputDeviceCommand,
|
|
115
117
|
RejectInputDeviceTransferCommand: RejectInputDeviceTransferCommand_1.RejectInputDeviceTransferCommand,
|
|
116
118
|
StartChannelCommand: StartChannelCommand_1.StartChannelCommand,
|
|
119
|
+
StartInputDeviceCommand: StartInputDeviceCommand_1.StartInputDeviceCommand,
|
|
117
120
|
StartInputDeviceMaintenanceWindowCommand: StartInputDeviceMaintenanceWindowCommand_1.StartInputDeviceMaintenanceWindowCommand,
|
|
118
121
|
StartMultiplexCommand: StartMultiplexCommand_1.StartMultiplexCommand,
|
|
119
122
|
StopChannelCommand: StopChannelCommand_1.StopChannelCommand,
|
|
123
|
+
StopInputDeviceCommand: StopInputDeviceCommand_1.StopInputDeviceCommand,
|
|
120
124
|
StopMultiplexCommand: StopMultiplexCommand_1.StopMultiplexCommand,
|
|
121
125
|
TransferInputDeviceCommand: TransferInputDeviceCommand_1.TransferInputDeviceCommand,
|
|
122
126
|
UpdateAccountConfigurationCommand: UpdateAccountConfigurationCommand_1.UpdateAccountConfigurationCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartInputDeviceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class StartInputDeviceCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartInputDeviceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "MediaLiveClient";
|
|
28
|
+
const commandName = "StartInputDeviceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_StartInputDeviceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_StartInputDeviceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StartInputDeviceCommand = StartInputDeviceCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopInputDeviceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class StopInputDeviceCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopInputDeviceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "MediaLiveClient";
|
|
28
|
+
const commandName = "StopInputDeviceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_StopInputDeviceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_StopInputDeviceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StopInputDeviceCommand = StopInputDeviceCommand;
|
|
@@ -49,9 +49,11 @@ tslib_1.__exportStar(require("./PurchaseOfferingCommand"), exports);
|
|
|
49
49
|
tslib_1.__exportStar(require("./RebootInputDeviceCommand"), exports);
|
|
50
50
|
tslib_1.__exportStar(require("./RejectInputDeviceTransferCommand"), exports);
|
|
51
51
|
tslib_1.__exportStar(require("./StartChannelCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./StartInputDeviceCommand"), exports);
|
|
52
53
|
tslib_1.__exportStar(require("./StartInputDeviceMaintenanceWindowCommand"), exports);
|
|
53
54
|
tslib_1.__exportStar(require("./StartMultiplexCommand"), exports);
|
|
54
55
|
tslib_1.__exportStar(require("./StopChannelCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./StopInputDeviceCommand"), exports);
|
|
55
57
|
tslib_1.__exportStar(require("./StopMultiplexCommand"), exports);
|
|
56
58
|
tslib_1.__exportStar(require("./TransferInputDeviceCommand"), exports);
|
|
57
59
|
tslib_1.__exportStar(require("./UpdateAccountConfigurationCommand"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DvbSubDestinationAlignment = exports.BurnInTeletextGridControl = exports.BurnInShadowColor = exports.BurnInOutlineColor = exports.BurnInFontColor = exports.BurnInBackgroundColor = exports.BurnInAlignment = exports.AccessibilityType = exports.DolbyEProgramSelection = exports.AudioLanguageSelectionPolicy = exports.AudioDescriptionLanguageCodeControl = exports.WavCodingMode = exports.Mp2CodingMode = exports.Eac3SurroundMode = exports.Eac3SurroundExMode = exports.Eac3StereoDownmix = exports.Eac3PhaseControl = exports.Eac3PassthroughControl = exports.Eac3MetadataControl = exports.Eac3LfeFilter = exports.Eac3LfeControl = exports.Eac3DrcRf = exports.Eac3DrcLine = exports.Eac3DcFilter = exports.Eac3CodingMode = exports.Eac3BitstreamMode = exports.Eac3AttenuationControl = exports.Eac3AtmosDrcRf = exports.Eac3AtmosDrcLine = exports.Eac3AtmosCodingMode = exports.Ac3MetadataControl = exports.Ac3LfeFilter = exports.Ac3DrcProfile = exports.Ac3CodingMode = exports.Ac3BitstreamMode = exports.Ac3AttenuationControl = exports.AacVbrQuality = exports.AacSpec = exports.AacRawFormat = exports.AacRateControlMode = exports.AacProfile = exports.AacInputType = exports.AacCodingMode = exports.NielsenWatermarkTimezones = exports.NielsenWatermarksDistributionTypes = exports.NielsenWatermarksCbetStepaside = exports.AudioDescriptionAudioTypeControl = exports.AudioType = exports.AudioNormalizationAlgorithmControl = exports.AudioNormalizationAlgorithm = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
4
|
+
exports.MultiplexState = exports.InputSecurityGroupState = exports.InputDeviceCodec = exports.InputDeviceType = exports.InputDeviceOutputType = exports.InputDeviceIpScheme = exports.InputDeviceScanType = exports.InputDeviceState = exports.InputDeviceConfiguredInput = exports.InputDeviceActiveInput = exports.DeviceUpdateStatus = exports.DeviceSettingsSyncState = exports.InputDeviceConnectionState = exports.InputType = exports.InputState = exports.InputSourceType = exports.InputClass = exports.HlsAdMarkers = exports.ChannelState = exports.MaintenanceDay = exports.LogLevel = exports.InputResolution = exports.InputMaximumBitrate = exports.InputCodec = exports.VideoSelectorColorSpaceUsage = exports.VideoSelectorColorSpace = exports.InputSourceEndBehavior = exports.Smpte2038DataPreference = exports.NetworkInputServerValidation = exports.HlsScte35SourceType = exports.InputFilter = exports.InputDenoiseFilter = exports.InputDeblockFilter = exports.InputPreference = exports.ChannelClass = exports.CdiInputResolution = exports.Scte27OcrLanguage = exports.Scte20Convert608To708 = exports.EmbeddedScte20Detection = exports.EmbeddedConvert608To708 = exports.DvbSubOcrLanguage = exports.WebvttDestinationStyleControl = exports.TtmlDestinationStyleControl = exports.EbuTtDDestinationStyleControl = exports.EbuTtDFillLineGapControl = exports.DvbSubDestinationTeletextGridControl = exports.DvbSubDestinationShadowColor = exports.DvbSubDestinationOutlineColor = exports.DvbSubDestinationFontColor = exports.DvbSubDestinationBackgroundColor = void 0;
|
|
5
|
+
exports.HlsAkamaiHttpTransferMode = exports.HlsEncryptionType = exports.HlsDiscontinuityTags = exports.HlsDirectoryStructure = exports.HlsCodecSpecification = exports.HlsClientCache = exports.HlsCaptionLanguageSetting = exports.S3CannedAcl = exports.FecOutputIncludeFec = exports.RtmpOutputCertificateMode = exports.MsSmoothH265PackagingType = exports.M3u8TimedMetadataBehavior = exports.M3u8Scte35Behavior = exports.M3u8PcrControl = exports.M3u8NielsenId3Behavior = exports.M3u8KlvBehavior = exports.Fmp4TimedMetadataBehavior = exports.Fmp4NielsenId3Behavior = exports.AudioOnlyHlsSegmentType = exports.AudioOnlyHlsTrackType = exports.HlsH265PackagingType = exports.M2tsTimedMetadataBehavior = exports.M2tsSegmentationStyle = exports.M2tsSegmentationMarkers = exports.M2tsScte35Control = exports.M2tsRateMode = exports.M2tsPcrControl = exports.M2tsNielsenId3Behavior = exports.M2tsKlv = exports.M2tsEsRateInPes = exports.M2tsEbpPlacement = exports.M2tsAudioInterval = exports.M2tsEbifControl = exports.DvbSdtOutputSdt = exports.M2tsCcDescriptor = exports.M2tsBufferModel = exports.M2tsAudioStreamType = exports.M2tsAudioBufferModel = exports.M2tsAribCaptionsPidControl = exports.M2tsArib = exports.M2tsAbsentInputAudioBehavior = exports.ReservationVideoQuality = exports.ReservationSpecialFeature = exports.ReservationResourceType = exports.ReservationResolution = exports.ReservationMaximumFramerate = exports.ReservationMaximumBitrate = exports.ReservationCodec = exports.OfferingType = exports.OfferingDurationUnits = void 0;
|
|
6
|
+
exports.HlsIvInManifest = exports.InputLossActionForHlsOut = exports.HlsIncompleteSegmentBehavior = exports.IFrameOnlyPlaylistType = exports.HlsId3SegmentTaggingState = exports.HlsWebdavHttpTransferMode = exports.HlsMediaStoreStorageClass = void 0;
|
|
7
7
|
exports.AudioNormalizationAlgorithm = {
|
|
8
8
|
ITU_1770_1: "ITU_1770_1",
|
|
9
9
|
ITU_1770_2: "ITU_1770_2",
|
|
@@ -511,10 +511,19 @@ exports.InputDeviceIpScheme = {
|
|
|
511
511
|
DHCP: "DHCP",
|
|
512
512
|
STATIC: "STATIC",
|
|
513
513
|
};
|
|
514
|
+
exports.InputDeviceOutputType = {
|
|
515
|
+
MEDIACONNECT_FLOW: "MEDIACONNECT_FLOW",
|
|
516
|
+
MEDIALIVE_INPUT: "MEDIALIVE_INPUT",
|
|
517
|
+
NONE: "NONE",
|
|
518
|
+
};
|
|
514
519
|
exports.InputDeviceType = {
|
|
515
520
|
HD: "HD",
|
|
516
521
|
UHD: "UHD",
|
|
517
522
|
};
|
|
523
|
+
exports.InputDeviceCodec = {
|
|
524
|
+
AVC: "AVC",
|
|
525
|
+
HEVC: "HEVC",
|
|
526
|
+
};
|
|
518
527
|
exports.InputSecurityGroupState = {
|
|
519
528
|
DELETED: "DELETED",
|
|
520
529
|
IDLE: "IDLE",
|
|
@@ -779,7 +788,3 @@ exports.HlsIvInManifest = {
|
|
|
779
788
|
EXCLUDE: "EXCLUDE",
|
|
780
789
|
INCLUDE: "INCLUDE",
|
|
781
790
|
};
|
|
782
|
-
exports.HlsIvSource = {
|
|
783
|
-
EXPLICIT: "EXPLICIT",
|
|
784
|
-
FOLLOWS_SEGMENT_NUMBER: "FOLLOWS_SEGMENT_NUMBER",
|
|
785
|
-
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.DescribeInputDeviceThumbnailResponseFilterSensitiveLog = exports.PreferredChannelPipeline = exports.ContentType = exports.TimecodeConfigSource = exports.ThumbnailState = exports.NielsenPcmToId3TaggingState = exports.MotionGraphicsInsertion = exports.GlobalConfigurationLowFramerateInputs = exports.GlobalConfigurationOutputTimingSource = exports.GlobalConfigurationOutputLockingMode = exports.InputLossImageType = exports.GlobalConfigurationInputEndAction = exports.FeatureActivationsInputPrepareScheduleActions = exports.BlackoutSlateState = exports.BlackoutSlateNetworkEndBlackout = exports.Scte35AposWebDeliveryAllowedBehavior = exports.Scte35AposNoRegionalBlackoutBehavior = exports.Scte35SpliceInsertWebDeliveryAllowedBehavior = exports.Scte35SpliceInsertNoRegionalBlackoutBehavior = exports.AvailBlankingState = exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.NotFoundException = void 0;
|
|
3
|
+
exports.H264EntropyEncoding = exports.H264ColorMetadata = exports.AfdSignaling = exports.H264AdaptiveQuantization = exports.TimecodeBurninPosition = exports.TimecodeBurninFontSize = exports.FrameCaptureIntervalUnit = exports.InputDeviceTransferType = exports.ThumbnailType = exports.FollowPoint = exports.Scte35SegmentationCancelIndicator = exports.Scte35WebDeliveryAllowedFlag = exports.Scte35NoRegionalBlackoutFlag = exports.Scte35DeviceRestrictions = exports.Scte35ArchiveAllowedFlag = exports.Scte35InputMode = exports.LastFrameClippingBehavior = exports.InputTimecodeSource = exports.ReservationState = exports.ReservationAutomaticRenewal = exports.PipelineId = exports.UdpTimedMetadataId3Frame = exports.InputLossActionForUdpOut = exports.InputLossActionForRtmpOut = exports.IncludeFillerNalUnits = exports.RtmpCaptionData = exports.RtmpCacheFullBehavior = exports.AuthenticationScheme = exports.RtmpAdMarkers = exports.SmoothGroupTimestampOffsetMode = exports.SmoothGroupStreamManifestBehavior = exports.SmoothGroupSparseTrackType = exports.SmoothGroupSegmentationMode = exports.InputLossActionForMsSmoothOut = exports.SmoothGroupEventStopBehavior = exports.SmoothGroupEventIdMode = exports.SmoothGroupCertificateMode = exports.SmoothGroupAudioOnlyTimecodeControl = exports.HlsTsFileMode = exports.HlsTimedMetadataId3Frame = exports.HlsStreamInfResolution = exports.HlsSegmentationMode = exports.HlsRedundantManifest = exports.HlsProgramDateTimeClock = exports.HlsProgramDateTime = exports.HlsOutputSelection = exports.HlsMode = exports.HlsManifestDurationFormat = exports.HlsManifestCompression = exports.HlsIvSource = void 0;
|
|
4
|
+
exports.GatewayTimeoutException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.BadGatewayException = exports.AcceptHeader = exports.VideoDescriptionScalingBehavior = exports.VideoDescriptionRespondToAfd = exports.Mpeg2TimecodeInsertionBehavior = exports.Mpeg2SubGopLength = exports.Mpeg2ScanType = exports.Mpeg2GopSizeUnits = exports.Mpeg2DisplayRatio = exports.Mpeg2ColorSpace = exports.Mpeg2ColorMetadata = exports.Mpeg2AdaptiveQuantization = exports.H265TimecodeInsertionBehavior = exports.H265Tier = exports.H265SceneChangeDetect = exports.H265ScanType = exports.H265RateControlMode = exports.H265Profile = exports.H265LookAheadRateControl = exports.H265Level = exports.H265GopSizeUnits = exports.H265FlickerAq = exports.H265ColorMetadata = exports.H265AlternativeTransferFunction = exports.H265AdaptiveQuantization = exports.H264TimecodeInsertionBehavior = exports.H264TemporalAq = exports.H264Syntax = exports.H264SubGopLength = exports.H264SpatialAq = exports.H264SceneChangeDetect = exports.H264ScanType = exports.H264RateControlMode = exports.H264QualityLevel = exports.H264Profile = exports.H264ParControl = exports.H264LookAheadRateControl = exports.H264Level = exports.H264GopSizeUnits = exports.H264GopBReference = exports.H264FramerateControl = exports.H264ForceFieldPictures = exports.H264FlickerAq = exports.FixedAfd = exports.TemporalFilterStrength = exports.TemporalFilterPostFilterSharpening = void 0;
|
|
5
|
+
exports.DescribeInputDeviceThumbnailResponseFilterSensitiveLog = exports.PreferredChannelPipeline = exports.ContentType = exports.TimecodeConfigSource = exports.ThumbnailState = exports.NielsenPcmToId3TaggingState = exports.MotionGraphicsInsertion = exports.GlobalConfigurationLowFramerateInputs = exports.GlobalConfigurationOutputTimingSource = exports.GlobalConfigurationOutputLockingMode = exports.InputLossImageType = exports.GlobalConfigurationInputEndAction = exports.FeatureActivationsInputPrepareScheduleActions = exports.BlackoutSlateState = exports.BlackoutSlateNetworkEndBlackout = exports.Scte35AposWebDeliveryAllowedBehavior = exports.Scte35AposNoRegionalBlackoutBehavior = exports.Scte35SpliceInsertWebDeliveryAllowedBehavior = exports.Scte35SpliceInsertNoRegionalBlackoutBehavior = exports.AvailBlankingState = exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = void 0;
|
|
6
6
|
const MediaLiveServiceException_1 = require("./MediaLiveServiceException");
|
|
7
|
+
exports.HlsIvSource = {
|
|
8
|
+
EXPLICIT: "EXPLICIT",
|
|
9
|
+
FOLLOWS_SEGMENT_NUMBER: "FOLLOWS_SEGMENT_NUMBER",
|
|
10
|
+
};
|
|
7
11
|
exports.HlsManifestCompression = {
|
|
8
12
|
GZIP: "GZIP",
|
|
9
13
|
NONE: "NONE",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.de_UpdateReservationCommand = exports.de_UpdateMultiplexProgramCommand = exports.de_UpdateMultiplexCommand = exports.de_UpdateInputSecurityGroupCommand = exports.de_UpdateInputDeviceCommand = exports.de_UpdateInputCommand = exports.de_UpdateChannelClassCommand = exports.de_UpdateChannelCommand = exports.de_UpdateAccountConfigurationCommand = exports.de_TransferInputDeviceCommand = exports.de_StopMultiplexCommand = exports.de_StopChannelCommand = exports.de_StartMultiplexCommand = exports.de_StartInputDeviceMaintenanceWindowCommand = exports.de_StartChannelCommand = exports.de_RejectInputDeviceTransferCommand = exports.de_RebootInputDeviceCommand = exports.de_PurchaseOfferingCommand = exports.de_ListTagsForResourceCommand = exports.de_ListReservationsCommand = exports.de_ListOfferingsCommand = exports.de_ListMultiplexProgramsCommand = exports.de_ListMultiplexesCommand = exports.de_ListInputSecurityGroupsCommand = void 0;
|
|
3
|
+
exports.se_StartInputDeviceMaintenanceWindowCommand = exports.se_StartInputDeviceCommand = exports.se_StartChannelCommand = exports.se_RejectInputDeviceTransferCommand = exports.se_RebootInputDeviceCommand = exports.se_PurchaseOfferingCommand = exports.se_ListTagsForResourceCommand = exports.se_ListReservationsCommand = exports.se_ListOfferingsCommand = exports.se_ListMultiplexProgramsCommand = exports.se_ListMultiplexesCommand = exports.se_ListInputSecurityGroupsCommand = exports.se_ListInputsCommand = exports.se_ListInputDeviceTransfersCommand = exports.se_ListInputDevicesCommand = exports.se_ListChannelsCommand = exports.se_DescribeThumbnailsCommand = exports.se_DescribeScheduleCommand = exports.se_DescribeReservationCommand = exports.se_DescribeOfferingCommand = exports.se_DescribeMultiplexProgramCommand = exports.se_DescribeMultiplexCommand = exports.se_DescribeInputSecurityGroupCommand = exports.se_DescribeInputDeviceThumbnailCommand = exports.se_DescribeInputDeviceCommand = exports.se_DescribeInputCommand = exports.se_DescribeChannelCommand = exports.se_DescribeAccountConfigurationCommand = exports.se_DeleteTagsCommand = exports.se_DeleteScheduleCommand = exports.se_DeleteReservationCommand = exports.se_DeleteMultiplexProgramCommand = exports.se_DeleteMultiplexCommand = exports.se_DeleteInputSecurityGroupCommand = exports.se_DeleteInputCommand = exports.se_DeleteChannelCommand = exports.se_CreateTagsCommand = exports.se_CreatePartnerInputCommand = exports.se_CreateMultiplexProgramCommand = exports.se_CreateMultiplexCommand = exports.se_CreateInputSecurityGroupCommand = exports.se_CreateInputCommand = exports.se_CreateChannelCommand = exports.se_ClaimDeviceCommand = exports.se_CancelInputDeviceTransferCommand = exports.se_BatchUpdateScheduleCommand = exports.se_BatchStopCommand = exports.se_BatchStartCommand = exports.se_BatchDeleteCommand = exports.se_AcceptInputDeviceTransferCommand = void 0;
|
|
4
|
+
exports.de_ListInputDevicesCommand = exports.de_ListChannelsCommand = exports.de_DescribeThumbnailsCommand = exports.de_DescribeScheduleCommand = exports.de_DescribeReservationCommand = exports.de_DescribeOfferingCommand = exports.de_DescribeMultiplexProgramCommand = exports.de_DescribeMultiplexCommand = exports.de_DescribeInputSecurityGroupCommand = exports.de_DescribeInputDeviceThumbnailCommand = exports.de_DescribeInputDeviceCommand = exports.de_DescribeInputCommand = exports.de_DescribeChannelCommand = exports.de_DescribeAccountConfigurationCommand = exports.de_DeleteTagsCommand = exports.de_DeleteScheduleCommand = exports.de_DeleteReservationCommand = exports.de_DeleteMultiplexProgramCommand = exports.de_DeleteMultiplexCommand = exports.de_DeleteInputSecurityGroupCommand = exports.de_DeleteInputCommand = exports.de_DeleteChannelCommand = exports.de_CreateTagsCommand = exports.de_CreatePartnerInputCommand = exports.de_CreateMultiplexProgramCommand = exports.de_CreateMultiplexCommand = exports.de_CreateInputSecurityGroupCommand = exports.de_CreateInputCommand = exports.de_CreateChannelCommand = exports.de_ClaimDeviceCommand = exports.de_CancelInputDeviceTransferCommand = exports.de_BatchUpdateScheduleCommand = exports.de_BatchStopCommand = exports.de_BatchStartCommand = exports.de_BatchDeleteCommand = exports.de_AcceptInputDeviceTransferCommand = exports.se_UpdateReservationCommand = exports.se_UpdateMultiplexProgramCommand = exports.se_UpdateMultiplexCommand = exports.se_UpdateInputSecurityGroupCommand = exports.se_UpdateInputDeviceCommand = exports.se_UpdateInputCommand = exports.se_UpdateChannelClassCommand = exports.se_UpdateChannelCommand = exports.se_UpdateAccountConfigurationCommand = exports.se_TransferInputDeviceCommand = exports.se_StopMultiplexCommand = exports.se_StopInputDeviceCommand = exports.se_StopChannelCommand = exports.se_StartMultiplexCommand = void 0;
|
|
5
|
+
exports.de_UpdateReservationCommand = exports.de_UpdateMultiplexProgramCommand = exports.de_UpdateMultiplexCommand = exports.de_UpdateInputSecurityGroupCommand = exports.de_UpdateInputDeviceCommand = exports.de_UpdateInputCommand = exports.de_UpdateChannelClassCommand = exports.de_UpdateChannelCommand = exports.de_UpdateAccountConfigurationCommand = exports.de_TransferInputDeviceCommand = exports.de_StopMultiplexCommand = exports.de_StopInputDeviceCommand = exports.de_StopChannelCommand = exports.de_StartMultiplexCommand = exports.de_StartInputDeviceMaintenanceWindowCommand = exports.de_StartInputDeviceCommand = exports.de_StartChannelCommand = exports.de_RejectInputDeviceTransferCommand = exports.de_RebootInputDeviceCommand = exports.de_PurchaseOfferingCommand = exports.de_ListTagsForResourceCommand = exports.de_ListReservationsCommand = exports.de_ListOfferingsCommand = exports.de_ListMultiplexProgramsCommand = exports.de_ListMultiplexesCommand = exports.de_ListInputSecurityGroupsCommand = exports.de_ListInputsCommand = exports.de_ListInputDeviceTransfersCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
@@ -1012,6 +1012,23 @@ const se_StartChannelCommand = async (input, context) => {
|
|
|
1012
1012
|
});
|
|
1013
1013
|
};
|
|
1014
1014
|
exports.se_StartChannelCommand = se_StartChannelCommand;
|
|
1015
|
+
const se_StartInputDeviceCommand = async (input, context) => {
|
|
1016
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1017
|
+
const headers = {};
|
|
1018
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/prod/inputDevices/{InputDeviceId}/start";
|
|
1019
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InputDeviceId", () => input.InputDeviceId, "{InputDeviceId}", false);
|
|
1020
|
+
let body;
|
|
1021
|
+
return new protocol_http_1.HttpRequest({
|
|
1022
|
+
protocol,
|
|
1023
|
+
hostname,
|
|
1024
|
+
port,
|
|
1025
|
+
method: "POST",
|
|
1026
|
+
headers,
|
|
1027
|
+
path: resolvedPath,
|
|
1028
|
+
body,
|
|
1029
|
+
});
|
|
1030
|
+
};
|
|
1031
|
+
exports.se_StartInputDeviceCommand = se_StartInputDeviceCommand;
|
|
1015
1032
|
const se_StartInputDeviceMaintenanceWindowCommand = async (input, context) => {
|
|
1016
1033
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1017
1034
|
const headers = {};
|
|
@@ -1064,6 +1081,23 @@ const se_StopChannelCommand = async (input, context) => {
|
|
|
1064
1081
|
});
|
|
1065
1082
|
};
|
|
1066
1083
|
exports.se_StopChannelCommand = se_StopChannelCommand;
|
|
1084
|
+
const se_StopInputDeviceCommand = async (input, context) => {
|
|
1085
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1086
|
+
const headers = {};
|
|
1087
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/prod/inputDevices/{InputDeviceId}/stop";
|
|
1088
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "InputDeviceId", () => input.InputDeviceId, "{InputDeviceId}", false);
|
|
1089
|
+
let body;
|
|
1090
|
+
return new protocol_http_1.HttpRequest({
|
|
1091
|
+
protocol,
|
|
1092
|
+
hostname,
|
|
1093
|
+
port,
|
|
1094
|
+
method: "POST",
|
|
1095
|
+
headers,
|
|
1096
|
+
path: resolvedPath,
|
|
1097
|
+
body,
|
|
1098
|
+
});
|
|
1099
|
+
};
|
|
1100
|
+
exports.se_StopInputDeviceCommand = se_StopInputDeviceCommand;
|
|
1067
1101
|
const se_StopMultiplexCommand = async (input, context) => {
|
|
1068
1102
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1069
1103
|
const headers = {};
|
|
@@ -2717,8 +2751,10 @@ const de_DescribeInputDeviceCommand = async (output, context) => {
|
|
|
2717
2751
|
HdDeviceSettings: [, (_) => de_InputDeviceHdSettings(_, context), `hdDeviceSettings`],
|
|
2718
2752
|
Id: [, smithy_client_1.expectString, `id`],
|
|
2719
2753
|
MacAddress: [, smithy_client_1.expectString, `macAddress`],
|
|
2754
|
+
MedialiveInputArns: [, smithy_client_1._json, `medialiveInputArns`],
|
|
2720
2755
|
Name: [, smithy_client_1.expectString, `name`],
|
|
2721
2756
|
NetworkSettings: [, (_) => de_InputDeviceNetworkSettings(_, context), `networkSettings`],
|
|
2757
|
+
OutputType: [, smithy_client_1.expectString, `outputType`],
|
|
2722
2758
|
SerialNumber: [, smithy_client_1.expectString, `serialNumber`],
|
|
2723
2759
|
Tags: [, smithy_client_1._json, `tags`],
|
|
2724
2760
|
Type: [, smithy_client_1.expectString, `type`],
|
|
@@ -3970,6 +4006,57 @@ const de_StartChannelCommandError = async (output, context) => {
|
|
|
3970
4006
|
});
|
|
3971
4007
|
}
|
|
3972
4008
|
};
|
|
4009
|
+
const de_StartInputDeviceCommand = async (output, context) => {
|
|
4010
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4011
|
+
return de_StartInputDeviceCommandError(output, context);
|
|
4012
|
+
}
|
|
4013
|
+
const contents = (0, smithy_client_1.map)({
|
|
4014
|
+
$metadata: deserializeMetadata(output),
|
|
4015
|
+
});
|
|
4016
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4017
|
+
return contents;
|
|
4018
|
+
};
|
|
4019
|
+
exports.de_StartInputDeviceCommand = de_StartInputDeviceCommand;
|
|
4020
|
+
const de_StartInputDeviceCommandError = async (output, context) => {
|
|
4021
|
+
const parsedOutput = {
|
|
4022
|
+
...output,
|
|
4023
|
+
body: await parseErrorBody(output.body, context),
|
|
4024
|
+
};
|
|
4025
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4026
|
+
switch (errorCode) {
|
|
4027
|
+
case "BadGatewayException":
|
|
4028
|
+
case "com.amazonaws.medialive#BadGatewayException":
|
|
4029
|
+
throw await de_BadGatewayExceptionRes(parsedOutput, context);
|
|
4030
|
+
case "BadRequestException":
|
|
4031
|
+
case "com.amazonaws.medialive#BadRequestException":
|
|
4032
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4033
|
+
case "ForbiddenException":
|
|
4034
|
+
case "com.amazonaws.medialive#ForbiddenException":
|
|
4035
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
4036
|
+
case "GatewayTimeoutException":
|
|
4037
|
+
case "com.amazonaws.medialive#GatewayTimeoutException":
|
|
4038
|
+
throw await de_GatewayTimeoutExceptionRes(parsedOutput, context);
|
|
4039
|
+
case "InternalServerErrorException":
|
|
4040
|
+
case "com.amazonaws.medialive#InternalServerErrorException":
|
|
4041
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
4042
|
+
case "NotFoundException":
|
|
4043
|
+
case "com.amazonaws.medialive#NotFoundException":
|
|
4044
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
4045
|
+
case "TooManyRequestsException":
|
|
4046
|
+
case "com.amazonaws.medialive#TooManyRequestsException":
|
|
4047
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4048
|
+
case "UnprocessableEntityException":
|
|
4049
|
+
case "com.amazonaws.medialive#UnprocessableEntityException":
|
|
4050
|
+
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
4051
|
+
default:
|
|
4052
|
+
const parsedBody = parsedOutput.body;
|
|
4053
|
+
return throwDefaultError({
|
|
4054
|
+
output,
|
|
4055
|
+
parsedBody,
|
|
4056
|
+
errorCode,
|
|
4057
|
+
});
|
|
4058
|
+
}
|
|
4059
|
+
};
|
|
3973
4060
|
const de_StartInputDeviceMaintenanceWindowCommand = async (output, context) => {
|
|
3974
4061
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3975
4062
|
return de_StartInputDeviceMaintenanceWindowCommandError(output, context);
|
|
@@ -4157,6 +4244,57 @@ const de_StopChannelCommandError = async (output, context) => {
|
|
|
4157
4244
|
});
|
|
4158
4245
|
}
|
|
4159
4246
|
};
|
|
4247
|
+
const de_StopInputDeviceCommand = async (output, context) => {
|
|
4248
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4249
|
+
return de_StopInputDeviceCommandError(output, context);
|
|
4250
|
+
}
|
|
4251
|
+
const contents = (0, smithy_client_1.map)({
|
|
4252
|
+
$metadata: deserializeMetadata(output),
|
|
4253
|
+
});
|
|
4254
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4255
|
+
return contents;
|
|
4256
|
+
};
|
|
4257
|
+
exports.de_StopInputDeviceCommand = de_StopInputDeviceCommand;
|
|
4258
|
+
const de_StopInputDeviceCommandError = async (output, context) => {
|
|
4259
|
+
const parsedOutput = {
|
|
4260
|
+
...output,
|
|
4261
|
+
body: await parseErrorBody(output.body, context),
|
|
4262
|
+
};
|
|
4263
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4264
|
+
switch (errorCode) {
|
|
4265
|
+
case "BadGatewayException":
|
|
4266
|
+
case "com.amazonaws.medialive#BadGatewayException":
|
|
4267
|
+
throw await de_BadGatewayExceptionRes(parsedOutput, context);
|
|
4268
|
+
case "BadRequestException":
|
|
4269
|
+
case "com.amazonaws.medialive#BadRequestException":
|
|
4270
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4271
|
+
case "ForbiddenException":
|
|
4272
|
+
case "com.amazonaws.medialive#ForbiddenException":
|
|
4273
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
4274
|
+
case "GatewayTimeoutException":
|
|
4275
|
+
case "com.amazonaws.medialive#GatewayTimeoutException":
|
|
4276
|
+
throw await de_GatewayTimeoutExceptionRes(parsedOutput, context);
|
|
4277
|
+
case "InternalServerErrorException":
|
|
4278
|
+
case "com.amazonaws.medialive#InternalServerErrorException":
|
|
4279
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
4280
|
+
case "NotFoundException":
|
|
4281
|
+
case "com.amazonaws.medialive#NotFoundException":
|
|
4282
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
4283
|
+
case "TooManyRequestsException":
|
|
4284
|
+
case "com.amazonaws.medialive#TooManyRequestsException":
|
|
4285
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
4286
|
+
case "UnprocessableEntityException":
|
|
4287
|
+
case "com.amazonaws.medialive#UnprocessableEntityException":
|
|
4288
|
+
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
4289
|
+
default:
|
|
4290
|
+
const parsedBody = parsedOutput.body;
|
|
4291
|
+
return throwDefaultError({
|
|
4292
|
+
output,
|
|
4293
|
+
parsedBody,
|
|
4294
|
+
errorCode,
|
|
4295
|
+
});
|
|
4296
|
+
}
|
|
4297
|
+
};
|
|
4160
4298
|
const de_StopMultiplexCommand = async (output, context) => {
|
|
4161
4299
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
4162
4300
|
return de_StopMultiplexCommandError(output, context);
|
|
@@ -4506,8 +4644,10 @@ const de_UpdateInputDeviceCommand = async (output, context) => {
|
|
|
4506
4644
|
HdDeviceSettings: [, (_) => de_InputDeviceHdSettings(_, context), `hdDeviceSettings`],
|
|
4507
4645
|
Id: [, smithy_client_1.expectString, `id`],
|
|
4508
4646
|
MacAddress: [, smithy_client_1.expectString, `macAddress`],
|
|
4647
|
+
MedialiveInputArns: [, smithy_client_1._json, `medialiveInputArns`],
|
|
4509
4648
|
Name: [, smithy_client_1.expectString, `name`],
|
|
4510
4649
|
NetworkSettings: [, (_) => de_InputDeviceNetworkSettings(_, context), `networkSettings`],
|
|
4650
|
+
OutputType: [, smithy_client_1.expectString, `outputType`],
|
|
4511
4651
|
SerialNumber: [, smithy_client_1.expectString, `serialNumber`],
|
|
4512
4652
|
Tags: [, smithy_client_1._json, `tags`],
|
|
4513
4653
|
Type: [, smithy_client_1.expectString, `type`],
|
|
@@ -5859,9 +5999,19 @@ const se_InputDestinationRequest = (input, context) => {
|
|
|
5859
5999
|
};
|
|
5860
6000
|
const se_InputDeviceConfigurableSettings = (input, context) => {
|
|
5861
6001
|
return (0, smithy_client_1.take)(input, {
|
|
6002
|
+
codec: [, , `Codec`],
|
|
5862
6003
|
configuredInput: [, , `ConfiguredInput`],
|
|
5863
6004
|
latencyMs: [, , `LatencyMs`],
|
|
5864
6005
|
maxBitrate: [, , `MaxBitrate`],
|
|
6006
|
+
mediaconnectSettings: [, (_) => se_InputDeviceMediaConnectConfigurableSettings(_, context), `MediaconnectSettings`],
|
|
6007
|
+
});
|
|
6008
|
+
};
|
|
6009
|
+
const se_InputDeviceMediaConnectConfigurableSettings = (input, context) => {
|
|
6010
|
+
return (0, smithy_client_1.take)(input, {
|
|
6011
|
+
flowArn: [, , `FlowArn`],
|
|
6012
|
+
roleArn: [, , `RoleArn`],
|
|
6013
|
+
secretArn: [, , `SecretArn`],
|
|
6014
|
+
sourceName: [, , `SourceName`],
|
|
5865
6015
|
});
|
|
5866
6016
|
};
|
|
5867
6017
|
const se_InputDeviceRequest = (input, context) => {
|
|
@@ -7891,6 +8041,14 @@ const de_InputDeviceHdSettings = (output, context) => {
|
|
|
7891
8041
|
Width: [, smithy_client_1.expectInt32, `width`],
|
|
7892
8042
|
});
|
|
7893
8043
|
};
|
|
8044
|
+
const de_InputDeviceMediaConnectSettings = (output, context) => {
|
|
8045
|
+
return (0, smithy_client_1.take)(output, {
|
|
8046
|
+
FlowArn: [, smithy_client_1.expectString, `flowArn`],
|
|
8047
|
+
RoleArn: [, smithy_client_1.expectString, `roleArn`],
|
|
8048
|
+
SecretArn: [, smithy_client_1.expectString, `secretArn`],
|
|
8049
|
+
SourceName: [, smithy_client_1.expectString, `sourceName`],
|
|
8050
|
+
});
|
|
8051
|
+
};
|
|
7894
8052
|
const de_InputDeviceNetworkSettings = (output, context) => {
|
|
7895
8053
|
return (0, smithy_client_1.take)(output, {
|
|
7896
8054
|
DnsAddresses: [, smithy_client_1._json, `dnsAddresses`],
|
|
@@ -7915,8 +8073,10 @@ const de_InputDeviceSummary = (output, context) => {
|
|
|
7915
8073
|
HdDeviceSettings: [, (_) => de_InputDeviceHdSettings(_, context), `hdDeviceSettings`],
|
|
7916
8074
|
Id: [, smithy_client_1.expectString, `id`],
|
|
7917
8075
|
MacAddress: [, smithy_client_1.expectString, `macAddress`],
|
|
8076
|
+
MedialiveInputArns: [, smithy_client_1._json, `medialiveInputArns`],
|
|
7918
8077
|
Name: [, smithy_client_1.expectString, `name`],
|
|
7919
8078
|
NetworkSettings: [, (_) => de_InputDeviceNetworkSettings(_, context), `networkSettings`],
|
|
8079
|
+
OutputType: [, smithy_client_1.expectString, `outputType`],
|
|
7920
8080
|
SerialNumber: [, smithy_client_1.expectString, `serialNumber`],
|
|
7921
8081
|
Tags: [, smithy_client_1._json, `tags`],
|
|
7922
8082
|
Type: [, smithy_client_1.expectString, `type`],
|
|
@@ -7926,12 +8086,14 @@ const de_InputDeviceSummary = (output, context) => {
|
|
|
7926
8086
|
const de_InputDeviceUhdSettings = (output, context) => {
|
|
7927
8087
|
return (0, smithy_client_1.take)(output, {
|
|
7928
8088
|
ActiveInput: [, smithy_client_1.expectString, `activeInput`],
|
|
8089
|
+
Codec: [, smithy_client_1.expectString, `codec`],
|
|
7929
8090
|
ConfiguredInput: [, smithy_client_1.expectString, `configuredInput`],
|
|
7930
8091
|
DeviceState: [, smithy_client_1.expectString, `deviceState`],
|
|
7931
8092
|
Framerate: [, smithy_client_1.limitedParseDouble, `framerate`],
|
|
7932
8093
|
Height: [, smithy_client_1.expectInt32, `height`],
|
|
7933
8094
|
LatencyMs: [, smithy_client_1.expectInt32, `latencyMs`],
|
|
7934
8095
|
MaxBitrate: [, smithy_client_1.expectInt32, `maxBitrate`],
|
|
8096
|
+
MediaconnectSettings: [, (_) => de_InputDeviceMediaConnectSettings(_, context), `mediaconnectSettings`],
|
|
7935
8097
|
ScanType: [, smithy_client_1.expectString, `scanType`],
|
|
7936
8098
|
Width: [, smithy_client_1.expectInt32, `width`],
|
|
7937
8099
|
});
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const asPartial = (t) => t;
|
|
6
7
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
8
|
const extensionConfiguration = {
|
|
8
9
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
};
|
|
10
12
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
13
|
return {
|
|
12
14
|
...runtimeConfig,
|
|
13
15
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
19
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
package/dist-es/MediaLive.js
CHANGED
|
@@ -47,9 +47,11 @@ import { PurchaseOfferingCommand, } from "./commands/PurchaseOfferingCommand";
|
|
|
47
47
|
import { RebootInputDeviceCommand, } from "./commands/RebootInputDeviceCommand";
|
|
48
48
|
import { RejectInputDeviceTransferCommand, } from "./commands/RejectInputDeviceTransferCommand";
|
|
49
49
|
import { StartChannelCommand, } from "./commands/StartChannelCommand";
|
|
50
|
+
import { StartInputDeviceCommand, } from "./commands/StartInputDeviceCommand";
|
|
50
51
|
import { StartInputDeviceMaintenanceWindowCommand, } from "./commands/StartInputDeviceMaintenanceWindowCommand";
|
|
51
52
|
import { StartMultiplexCommand, } from "./commands/StartMultiplexCommand";
|
|
52
53
|
import { StopChannelCommand } from "./commands/StopChannelCommand";
|
|
54
|
+
import { StopInputDeviceCommand, } from "./commands/StopInputDeviceCommand";
|
|
53
55
|
import { StopMultiplexCommand, } from "./commands/StopMultiplexCommand";
|
|
54
56
|
import { TransferInputDeviceCommand, } from "./commands/TransferInputDeviceCommand";
|
|
55
57
|
import { UpdateAccountConfigurationCommand, } from "./commands/UpdateAccountConfigurationCommand";
|
|
@@ -111,9 +113,11 @@ const commands = {
|
|
|
111
113
|
RebootInputDeviceCommand,
|
|
112
114
|
RejectInputDeviceTransferCommand,
|
|
113
115
|
StartChannelCommand,
|
|
116
|
+
StartInputDeviceCommand,
|
|
114
117
|
StartInputDeviceMaintenanceWindowCommand,
|
|
115
118
|
StartMultiplexCommand,
|
|
116
119
|
StopChannelCommand,
|
|
120
|
+
StopInputDeviceCommand,
|
|
117
121
|
StopMultiplexCommand,
|
|
118
122
|
TransferInputDeviceCommand,
|
|
119
123
|
UpdateAccountConfigurationCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartInputDeviceCommand, se_StartInputDeviceCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartInputDeviceCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartInputDeviceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "MediaLiveClient";
|
|
25
|
+
const commandName = "StartInputDeviceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartInputDeviceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartInputDeviceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|