@aws-sdk/client-medialive 3.477.0 → 3.479.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +23 -15
- package/dist-cjs/models/models_1.js +15 -3
- package/dist-cjs/pagination/DescribeSchedulePaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInputDeviceTransfersPaginator.js +2 -24
- package/dist-cjs/pagination/ListInputDevicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListInputSecurityGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInputsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMultiplexProgramsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMultiplexesPaginator.js +2 -24
- package/dist-cjs/pagination/ListOfferingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReservationsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +33 -0
- package/dist-es/models/models_0.js +20 -12
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/pagination/DescribeSchedulePaginator.js +2 -23
- package/dist-es/pagination/ListChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListInputDeviceTransfersPaginator.js +2 -23
- package/dist-es/pagination/ListInputDevicesPaginator.js +2 -23
- package/dist-es/pagination/ListInputSecurityGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListInputsPaginator.js +2 -23
- package/dist-es/pagination/ListMultiplexProgramsPaginator.js +2 -23
- package/dist-es/pagination/ListMultiplexesPaginator.js +2 -23
- package/dist-es/pagination/ListOfferingsPaginator.js +2 -23
- package/dist-es/pagination/ListReservationsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +33 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +18 -18
- package/dist-types/commands/DeleteChannelCommand.d.ts +9 -9
- package/dist-types/commands/DescribeChannelCommand.d.ts +9 -9
- package/dist-types/commands/DescribeInputDeviceCommand.d.ts +6 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +2 -1
- package/dist-types/commands/ListInputDeviceTransfersCommand.d.ts +1 -2
- package/dist-types/commands/ListInputDevicesCommand.d.ts +7 -1
- package/dist-types/commands/StartChannelCommand.d.ts +9 -9
- package/dist-types/commands/StopChannelCommand.d.ts +9 -9
- package/dist-types/commands/UpdateChannelClassCommand.d.ts +9 -9
- package/dist-types/commands/UpdateChannelCommand.d.ts +18 -18
- package/dist-types/commands/UpdateInputDeviceCommand.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +73 -67
- package/dist-types/models/models_1.d.ts +77 -74
- package/dist-types/models/models_2.d.ts +70 -1
- package/dist-types/pagination/DescribeSchedulePaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInputDeviceTransfersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInputDevicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInputSecurityGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInputsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMultiplexProgramsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMultiplexesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReservationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListInputDeviceTransfersCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListInputDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +33 -25
- package/dist-types/ts3.4/models/models_1.d.ts +33 -24
- package/dist-types/ts3.4/models/models_2.d.ts +19 -0
- package/dist-types/ts3.4/pagination/DescribeSchedulePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInputDeviceTransfersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInputDevicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInputSecurityGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInputsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMultiplexProgramsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMultiplexesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOfferingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReservationsPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -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.InputDeviceUhdAudioChannelPairProfile = exports.InputDeviceType = exports.InputDeviceOutputType = exports.InputDeviceIpScheme = exports.InputDeviceScanType = exports.InputDeviceState = exports.InputDeviceConfiguredInput = exports.InputDeviceActiveInput = exports.DeviceUpdateStatus = exports.DeviceSettingsSyncState = exports.InputDeviceConnectionState = exports.InputDeviceConfigurableAudioChannelPairProfile = exports.InputType = exports.InputState = exports.InputSourceType = exports.InputClass = exports.HlsAdMarkers = exports.ColorSpace = 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.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 = exports.MultiplexState = exports.InputSecurityGroupState = exports.InputDeviceCodec = void 0;
|
|
6
|
+
exports.HlsWebdavHttpTransferMode = exports.HlsMediaStoreStorageClass = exports.HlsAkamaiHttpTransferMode = exports.HlsEncryptionType = exports.HlsDiscontinuityTags = void 0;
|
|
7
7
|
exports.AudioNormalizationAlgorithm = {
|
|
8
8
|
ITU_1770_1: "ITU_1770_1",
|
|
9
9
|
ITU_1770_2: "ITU_1770_2",
|
|
@@ -483,6 +483,16 @@ exports.InputType = {
|
|
|
483
483
|
UDP_PUSH: "UDP_PUSH",
|
|
484
484
|
URL_PULL: "URL_PULL",
|
|
485
485
|
};
|
|
486
|
+
exports.InputDeviceConfigurableAudioChannelPairProfile = {
|
|
487
|
+
CBR_AAC_HQ_192000: "CBR-AAC_HQ-192000",
|
|
488
|
+
CBR_AAC_HQ_256000: "CBR-AAC_HQ-256000",
|
|
489
|
+
CBR_AAC_HQ_384000: "CBR-AAC_HQ-384000",
|
|
490
|
+
CBR_AAC_HQ_512000: "CBR-AAC_HQ-512000",
|
|
491
|
+
DISABLED: "DISABLED",
|
|
492
|
+
VBR_AAC_HE_64000: "VBR-AAC_HE-64000",
|
|
493
|
+
VBR_AAC_HHE_16000: "VBR-AAC_HHE-16000",
|
|
494
|
+
VBR_AAC_LC_128000: "VBR-AAC_LC-128000",
|
|
495
|
+
};
|
|
486
496
|
exports.InputDeviceConnectionState = {
|
|
487
497
|
CONNECTED: "CONNECTED",
|
|
488
498
|
DISCONNECTED: "DISCONNECTED",
|
|
@@ -526,6 +536,16 @@ exports.InputDeviceType = {
|
|
|
526
536
|
HD: "HD",
|
|
527
537
|
UHD: "UHD",
|
|
528
538
|
};
|
|
539
|
+
exports.InputDeviceUhdAudioChannelPairProfile = {
|
|
540
|
+
CBR_AAC_HQ_192000: "CBR-AAC_HQ-192000",
|
|
541
|
+
CBR_AAC_HQ_256000: "CBR-AAC_HQ-256000",
|
|
542
|
+
CBR_AAC_HQ_384000: "CBR-AAC_HQ-384000",
|
|
543
|
+
CBR_AAC_HQ_512000: "CBR-AAC_HQ-512000",
|
|
544
|
+
DISABLED: "DISABLED",
|
|
545
|
+
VBR_AAC_HE_64000: "VBR-AAC_HE-64000",
|
|
546
|
+
VBR_AAC_HHE_16000: "VBR-AAC_HHE-16000",
|
|
547
|
+
VBR_AAC_LC_128000: "VBR-AAC_LC-128000",
|
|
548
|
+
};
|
|
529
549
|
exports.InputDeviceCodec = {
|
|
530
550
|
AVC: "AVC",
|
|
531
551
|
HEVC: "HEVC",
|
|
@@ -774,15 +794,3 @@ exports.HlsWebdavHttpTransferMode = {
|
|
|
774
794
|
CHUNKED: "CHUNKED",
|
|
775
795
|
NON_CHUNKED: "NON_CHUNKED",
|
|
776
796
|
};
|
|
777
|
-
exports.HlsId3SegmentTaggingState = {
|
|
778
|
-
DISABLED: "DISABLED",
|
|
779
|
-
ENABLED: "ENABLED",
|
|
780
|
-
};
|
|
781
|
-
exports.IFrameOnlyPlaylistType = {
|
|
782
|
-
DISABLED: "DISABLED",
|
|
783
|
-
STANDARD: "STANDARD",
|
|
784
|
-
};
|
|
785
|
-
exports.HlsIncompleteSegmentBehavior = {
|
|
786
|
-
AUTO: "AUTO",
|
|
787
|
-
SUPPRESS: "SUPPRESS",
|
|
788
|
-
};
|
|
@@ -1,9 +1,21 @@
|
|
|
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.FeatureActivationsOutputStaticImageOverlayScheduleActions = exports.FeatureActivationsInputPrepareScheduleActions = exports.BlackoutSlateState = exports.BlackoutSlateNetworkEndBlackout = exports.Scte35AposWebDeliveryAllowedBehavior = exports.Scte35AposNoRegionalBlackoutBehavior = exports.Scte35SpliceInsertWebDeliveryAllowedBehavior = exports.Scte35SpliceInsertNoRegionalBlackoutBehavior = exports.AvailBlankingState = exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.GatewayTimeoutException = exports.ForbiddenException = void 0;
|
|
3
|
+
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 = exports.HlsIvInManifest = exports.InputLossActionForHlsOut = exports.HlsIncompleteSegmentBehavior = exports.IFrameOnlyPlaylistType = exports.HlsId3SegmentTaggingState = void 0;
|
|
4
|
+
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 = exports.H264EntropyEncoding = exports.H264ColorMetadata = exports.AfdSignaling = exports.H264AdaptiveQuantization = exports.TimecodeBurninPosition = 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.FeatureActivationsOutputStaticImageOverlayScheduleActions = exports.FeatureActivationsInputPrepareScheduleActions = exports.BlackoutSlateState = exports.BlackoutSlateNetworkEndBlackout = exports.Scte35AposWebDeliveryAllowedBehavior = exports.Scte35AposNoRegionalBlackoutBehavior = exports.Scte35SpliceInsertWebDeliveryAllowedBehavior = exports.Scte35SpliceInsertNoRegionalBlackoutBehavior = exports.AvailBlankingState = exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.GatewayTimeoutException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.BadGatewayException = void 0;
|
|
6
6
|
const MediaLiveServiceException_1 = require("./MediaLiveServiceException");
|
|
7
|
+
exports.HlsId3SegmentTaggingState = {
|
|
8
|
+
DISABLED: "DISABLED",
|
|
9
|
+
ENABLED: "ENABLED",
|
|
10
|
+
};
|
|
11
|
+
exports.IFrameOnlyPlaylistType = {
|
|
12
|
+
DISABLED: "DISABLED",
|
|
13
|
+
STANDARD: "STANDARD",
|
|
14
|
+
};
|
|
15
|
+
exports.HlsIncompleteSegmentBehavior = {
|
|
16
|
+
AUTO: "AUTO",
|
|
17
|
+
SUPPRESS: "SUPPRESS",
|
|
18
|
+
};
|
|
7
19
|
exports.InputLossActionForHlsOut = {
|
|
8
20
|
EMIT_OUTPUT: "EMIT_OUTPUT",
|
|
9
21
|
PAUSE_OUTPUT: "PAUSE_OUTPUT",
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeSchedule = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeScheduleCommand_1 = require("../commands/DescribeScheduleCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeScheduleCommand_1.DescribeScheduleCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeSchedule(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeSchedule = paginateDescribeSchedule;
|
|
7
|
+
exports.paginateDescribeSchedule = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, DescribeScheduleCommand_1.DescribeScheduleCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListChannels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListChannelsCommand_1 = require("../commands/ListChannelsCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListChannelsCommand_1.ListChannelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListChannels = paginateListChannels;
|
|
7
|
+
exports.paginateListChannels = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListChannelsCommand_1.ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListInputDeviceTransfers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListInputDeviceTransfersCommand_1 = require("../commands/ListInputDeviceTransfersCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListInputDeviceTransfersCommand_1.ListInputDeviceTransfersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListInputDeviceTransfers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListInputDeviceTransfers = paginateListInputDeviceTransfers;
|
|
7
|
+
exports.paginateListInputDeviceTransfers = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListInputDeviceTransfersCommand_1.ListInputDeviceTransfersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListInputDevices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListInputDevicesCommand_1 = require("../commands/ListInputDevicesCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListInputDevicesCommand_1.ListInputDevicesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListInputDevices(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListInputDevices = paginateListInputDevices;
|
|
7
|
+
exports.paginateListInputDevices = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListInputDevicesCommand_1.ListInputDevicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListInputSecurityGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListInputSecurityGroupsCommand_1 = require("../commands/ListInputSecurityGroupsCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListInputSecurityGroupsCommand_1.ListInputSecurityGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListInputSecurityGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListInputSecurityGroups = paginateListInputSecurityGroups;
|
|
7
|
+
exports.paginateListInputSecurityGroups = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListInputSecurityGroupsCommand_1.ListInputSecurityGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListInputs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListInputsCommand_1 = require("../commands/ListInputsCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListInputsCommand_1.ListInputsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListInputs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListInputs = paginateListInputs;
|
|
7
|
+
exports.paginateListInputs = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListInputsCommand_1.ListInputsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMultiplexPrograms = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMultiplexProgramsCommand_1 = require("../commands/ListMultiplexProgramsCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMultiplexProgramsCommand_1.ListMultiplexProgramsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMultiplexPrograms(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMultiplexPrograms = paginateListMultiplexPrograms;
|
|
7
|
+
exports.paginateListMultiplexPrograms = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListMultiplexProgramsCommand_1.ListMultiplexProgramsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMultiplexes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMultiplexesCommand_1 = require("../commands/ListMultiplexesCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMultiplexesCommand_1.ListMultiplexesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMultiplexes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMultiplexes = paginateListMultiplexes;
|
|
7
|
+
exports.paginateListMultiplexes = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListMultiplexesCommand_1.ListMultiplexesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListOfferings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListOfferingsCommand_1 = require("../commands/ListOfferingsCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListOfferingsCommand_1.ListOfferingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListOfferings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListOfferings = paginateListOfferings;
|
|
7
|
+
exports.paginateListOfferings = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListOfferingsCommand_1.ListOfferingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListReservations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListReservationsCommand_1 = require("../commands/ListReservationsCommand");
|
|
5
6
|
const MediaLiveClient_1 = require("../MediaLiveClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListReservationsCommand_1.ListReservationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListReservations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MediaLiveClient_1.MediaLiveClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListReservations = paginateListReservations;
|
|
7
|
+
exports.paginateListReservations = (0, core_1.createPaginator)(MediaLiveClient_1.MediaLiveClient, ListReservationsCommand_1.ListReservationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4642,6 +4642,13 @@ const se___listOfInputDestinationRequest = (input, context) => {
|
|
|
4642
4642
|
return se_InputDestinationRequest(entry, context);
|
|
4643
4643
|
});
|
|
4644
4644
|
};
|
|
4645
|
+
const se___listOfInputDeviceConfigurableAudioChannelPairConfig = (input, context) => {
|
|
4646
|
+
return input
|
|
4647
|
+
.filter((e) => e != null)
|
|
4648
|
+
.map((entry) => {
|
|
4649
|
+
return se_InputDeviceConfigurableAudioChannelPairConfig(entry, context);
|
|
4650
|
+
});
|
|
4651
|
+
};
|
|
4645
4652
|
const se___listOfInputDeviceRequest = (input, context) => {
|
|
4646
4653
|
return input
|
|
4647
4654
|
.filter((e) => e != null)
|
|
@@ -5543,8 +5550,19 @@ const se_InputDestinationRequest = (input, context) => {
|
|
|
5543
5550
|
streamName: [, , `StreamName`],
|
|
5544
5551
|
});
|
|
5545
5552
|
};
|
|
5553
|
+
const se_InputDeviceConfigurableAudioChannelPairConfig = (input, context) => {
|
|
5554
|
+
return (0, smithy_client_1.take)(input, {
|
|
5555
|
+
id: [, , `Id`],
|
|
5556
|
+
profile: [, , `Profile`],
|
|
5557
|
+
});
|
|
5558
|
+
};
|
|
5546
5559
|
const se_InputDeviceConfigurableSettings = (input, context) => {
|
|
5547
5560
|
return (0, smithy_client_1.take)(input, {
|
|
5561
|
+
audioChannelPairs: [
|
|
5562
|
+
,
|
|
5563
|
+
(_) => se___listOfInputDeviceConfigurableAudioChannelPairConfig(_, context),
|
|
5564
|
+
`AudioChannelPairs`,
|
|
5565
|
+
],
|
|
5548
5566
|
codec: [, , `Codec`],
|
|
5549
5567
|
configuredInput: [, , `ConfiguredInput`],
|
|
5550
5568
|
latencyMs: [, , `LatencyMs`],
|
|
@@ -6538,6 +6556,14 @@ const de___listOfInputDeviceSummary = (output, context) => {
|
|
|
6538
6556
|
});
|
|
6539
6557
|
return retVal;
|
|
6540
6558
|
};
|
|
6559
|
+
const de___listOfInputDeviceUhdAudioChannelPairConfig = (output, context) => {
|
|
6560
|
+
const retVal = (output || [])
|
|
6561
|
+
.filter((e) => e != null)
|
|
6562
|
+
.map((entry) => {
|
|
6563
|
+
return de_InputDeviceUhdAudioChannelPairConfig(entry, context);
|
|
6564
|
+
});
|
|
6565
|
+
return retVal;
|
|
6566
|
+
};
|
|
6541
6567
|
const de___listOfInputSecurityGroup = (output, context) => {
|
|
6542
6568
|
const retVal = (output || [])
|
|
6543
6569
|
.filter((e) => e != null)
|
|
@@ -7683,9 +7709,16 @@ const de_InputDeviceSummary = (output, context) => {
|
|
|
7683
7709
|
UhdDeviceSettings: [, (_) => de_InputDeviceUhdSettings(_, context), `uhdDeviceSettings`],
|
|
7684
7710
|
});
|
|
7685
7711
|
};
|
|
7712
|
+
const de_InputDeviceUhdAudioChannelPairConfig = (output, context) => {
|
|
7713
|
+
return (0, smithy_client_1.take)(output, {
|
|
7714
|
+
Id: [, smithy_client_1.expectInt32, `id`],
|
|
7715
|
+
Profile: [, smithy_client_1.expectString, `profile`],
|
|
7716
|
+
});
|
|
7717
|
+
};
|
|
7686
7718
|
const de_InputDeviceUhdSettings = (output, context) => {
|
|
7687
7719
|
return (0, smithy_client_1.take)(output, {
|
|
7688
7720
|
ActiveInput: [, smithy_client_1.expectString, `activeInput`],
|
|
7721
|
+
AudioChannelPairs: [, (_) => de___listOfInputDeviceUhdAudioChannelPairConfig(_, context), `audioChannelPairs`],
|
|
7689
7722
|
Codec: [, smithy_client_1.expectString, `codec`],
|
|
7690
7723
|
ConfiguredInput: [, smithy_client_1.expectString, `configuredInput`],
|
|
7691
7724
|
DeviceState: [, smithy_client_1.expectString, `deviceState`],
|
|
@@ -477,6 +477,16 @@ export const InputType = {
|
|
|
477
477
|
UDP_PUSH: "UDP_PUSH",
|
|
478
478
|
URL_PULL: "URL_PULL",
|
|
479
479
|
};
|
|
480
|
+
export const InputDeviceConfigurableAudioChannelPairProfile = {
|
|
481
|
+
CBR_AAC_HQ_192000: "CBR-AAC_HQ-192000",
|
|
482
|
+
CBR_AAC_HQ_256000: "CBR-AAC_HQ-256000",
|
|
483
|
+
CBR_AAC_HQ_384000: "CBR-AAC_HQ-384000",
|
|
484
|
+
CBR_AAC_HQ_512000: "CBR-AAC_HQ-512000",
|
|
485
|
+
DISABLED: "DISABLED",
|
|
486
|
+
VBR_AAC_HE_64000: "VBR-AAC_HE-64000",
|
|
487
|
+
VBR_AAC_HHE_16000: "VBR-AAC_HHE-16000",
|
|
488
|
+
VBR_AAC_LC_128000: "VBR-AAC_LC-128000",
|
|
489
|
+
};
|
|
480
490
|
export const InputDeviceConnectionState = {
|
|
481
491
|
CONNECTED: "CONNECTED",
|
|
482
492
|
DISCONNECTED: "DISCONNECTED",
|
|
@@ -520,6 +530,16 @@ export const InputDeviceType = {
|
|
|
520
530
|
HD: "HD",
|
|
521
531
|
UHD: "UHD",
|
|
522
532
|
};
|
|
533
|
+
export const InputDeviceUhdAudioChannelPairProfile = {
|
|
534
|
+
CBR_AAC_HQ_192000: "CBR-AAC_HQ-192000",
|
|
535
|
+
CBR_AAC_HQ_256000: "CBR-AAC_HQ-256000",
|
|
536
|
+
CBR_AAC_HQ_384000: "CBR-AAC_HQ-384000",
|
|
537
|
+
CBR_AAC_HQ_512000: "CBR-AAC_HQ-512000",
|
|
538
|
+
DISABLED: "DISABLED",
|
|
539
|
+
VBR_AAC_HE_64000: "VBR-AAC_HE-64000",
|
|
540
|
+
VBR_AAC_HHE_16000: "VBR-AAC_HHE-16000",
|
|
541
|
+
VBR_AAC_LC_128000: "VBR-AAC_LC-128000",
|
|
542
|
+
};
|
|
523
543
|
export const InputDeviceCodec = {
|
|
524
544
|
AVC: "AVC",
|
|
525
545
|
HEVC: "HEVC",
|
|
@@ -768,15 +788,3 @@ export const HlsWebdavHttpTransferMode = {
|
|
|
768
788
|
CHUNKED: "CHUNKED",
|
|
769
789
|
NON_CHUNKED: "NON_CHUNKED",
|
|
770
790
|
};
|
|
771
|
-
export const HlsId3SegmentTaggingState = {
|
|
772
|
-
DISABLED: "DISABLED",
|
|
773
|
-
ENABLED: "ENABLED",
|
|
774
|
-
};
|
|
775
|
-
export const IFrameOnlyPlaylistType = {
|
|
776
|
-
DISABLED: "DISABLED",
|
|
777
|
-
STANDARD: "STANDARD",
|
|
778
|
-
};
|
|
779
|
-
export const HlsIncompleteSegmentBehavior = {
|
|
780
|
-
AUTO: "AUTO",
|
|
781
|
-
SUPPRESS: "SUPPRESS",
|
|
782
|
-
};
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { MediaLiveServiceException as __BaseException } from "./MediaLiveServiceException";
|
|
2
|
+
export const HlsId3SegmentTaggingState = {
|
|
3
|
+
DISABLED: "DISABLED",
|
|
4
|
+
ENABLED: "ENABLED",
|
|
5
|
+
};
|
|
6
|
+
export const IFrameOnlyPlaylistType = {
|
|
7
|
+
DISABLED: "DISABLED",
|
|
8
|
+
STANDARD: "STANDARD",
|
|
9
|
+
};
|
|
10
|
+
export const HlsIncompleteSegmentBehavior = {
|
|
11
|
+
AUTO: "AUTO",
|
|
12
|
+
SUPPRESS: "SUPPRESS",
|
|
13
|
+
};
|
|
2
14
|
export const InputLossActionForHlsOut = {
|
|
3
15
|
EMIT_OUTPUT: "EMIT_OUTPUT",
|
|
4
16
|
PAUSE_OUTPUT: "PAUSE_OUTPUT",
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeScheduleCommand, } from "../commands/DescribeScheduleCommand";
|
|
2
3
|
import { MediaLiveClient } from "../MediaLiveClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeScheduleCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeSchedule(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MediaLiveClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeSchedule = createPaginator(MediaLiveClient, DescribeScheduleCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
2
3
|
import { MediaLiveClient } from "../MediaLiveClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListChannelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MediaLiveClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaLive | MediaLiveClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListChannels = createPaginator(MediaLiveClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|