Skip to content

Commit 36b2bf0

Browse files
author
awstools
committed
feat(client-medialive): AWS Elemental MediaLive adds a new feature in MediaPackage output group that enables MediaPackage V2 users to control HLS-related parameters directly in MediaLive. These parameter settings are then reflected in MediaPackage outputs, providing more streamlined control over HLS configurations.
1 parent 31a3534 commit 36b2bf0

13 files changed

+533
-93
lines changed

clients/client-medialive/src/commands/BatchStartCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
9-
import { BatchStartRequest, BatchStartResponse } from "../models/models_1";
9+
import { BatchStartRequest, BatchStartResponse } from "../models/models_2";
1010
import { de_BatchStartCommand, se_BatchStartCommand } from "../protocols/Aws_restJson1";
1111

1212
/**

clients/client-medialive/src/commands/CreateChannelCommand.ts

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,15 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
478478
* Destination: {
479479
* DestinationRefId: "STRING_VALUE",
480480
* },
481+
* MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
482+
* CaptionLanguageMappings: [
483+
* {
484+
* CaptionChannel: Number("int"), // required
485+
* LanguageCode: "STRING_VALUE", // required
486+
* LanguageDescription: "STRING_VALUE", // required
487+
* },
488+
* ],
489+
* },
481490
* },
482491
* MsSmoothGroupSettings: { // MsSmoothGroupSettings
483492
* AcquisitionPointId: "STRING_VALUE",
@@ -676,7 +685,14 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
676685
* NameModifier: "STRING_VALUE",
677686
* SegmentModifier: "STRING_VALUE",
678687
* },
679-
* MediaPackageOutputSettings: {},
688+
* MediaPackageOutputSettings: { // MediaPackageOutputSettings
689+
* MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
690+
* AudioGroupId: "STRING_VALUE",
691+
* AudioRenditionSets: "STRING_VALUE",
692+
* HlsAutoSelect: "NO" || "OMIT" || "YES",
693+
* HlsDefault: "NO" || "OMIT" || "YES",
694+
* },
695+
* },
680696
* MsSmoothOutputSettings: { // MsSmoothOutputSettings
681697
* H265PackagingType: "HEV1" || "HVC1",
682698
* NameModifier: "STRING_VALUE",
@@ -1702,6 +1718,15 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
17021718
* // Destination: {
17031719
* // DestinationRefId: "STRING_VALUE",
17041720
* // },
1721+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
1722+
* // CaptionLanguageMappings: [
1723+
* // {
1724+
* // CaptionChannel: Number("int"), // required
1725+
* // LanguageCode: "STRING_VALUE", // required
1726+
* // LanguageDescription: "STRING_VALUE", // required
1727+
* // },
1728+
* // ],
1729+
* // },
17051730
* // },
17061731
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
17071732
* // AcquisitionPointId: "STRING_VALUE",
@@ -1900,7 +1925,14 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
19001925
* // NameModifier: "STRING_VALUE",
19011926
* // SegmentModifier: "STRING_VALUE",
19021927
* // },
1903-
* // MediaPackageOutputSettings: {},
1928+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
1929+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
1930+
* // AudioGroupId: "STRING_VALUE",
1931+
* // AudioRenditionSets: "STRING_VALUE",
1932+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
1933+
* // HlsDefault: "NO" || "OMIT" || "YES",
1934+
* // },
1935+
* // },
19041936
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
19051937
* // H265PackagingType: "HEV1" || "HVC1",
19061938
* // NameModifier: "STRING_VALUE",

clients/client-medialive/src/commands/DeleteChannelCommand.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,15 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
489489
* // Destination: {
490490
* // DestinationRefId: "STRING_VALUE",
491491
* // },
492+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
493+
* // CaptionLanguageMappings: [
494+
* // {
495+
* // CaptionChannel: Number("int"), // required
496+
* // LanguageCode: "STRING_VALUE", // required
497+
* // LanguageDescription: "STRING_VALUE", // required
498+
* // },
499+
* // ],
500+
* // },
492501
* // },
493502
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
494503
* // AcquisitionPointId: "STRING_VALUE",
@@ -687,7 +696,14 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
687696
* // NameModifier: "STRING_VALUE",
688697
* // SegmentModifier: "STRING_VALUE",
689698
* // },
690-
* // MediaPackageOutputSettings: {},
699+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
700+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
701+
* // AudioGroupId: "STRING_VALUE",
702+
* // AudioRenditionSets: "STRING_VALUE",
703+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
704+
* // HlsDefault: "NO" || "OMIT" || "YES",
705+
* // },
706+
* // },
691707
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
692708
* // H265PackagingType: "HEV1" || "HVC1",
693709
* // NameModifier: "STRING_VALUE",

clients/client-medialive/src/commands/DescribeChannelCommand.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,15 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
489489
* // Destination: {
490490
* // DestinationRefId: "STRING_VALUE",
491491
* // },
492+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
493+
* // CaptionLanguageMappings: [
494+
* // {
495+
* // CaptionChannel: Number("int"), // required
496+
* // LanguageCode: "STRING_VALUE", // required
497+
* // LanguageDescription: "STRING_VALUE", // required
498+
* // },
499+
* // ],
500+
* // },
492501
* // },
493502
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
494503
* // AcquisitionPointId: "STRING_VALUE",
@@ -687,7 +696,14 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
687696
* // NameModifier: "STRING_VALUE",
688697
* // SegmentModifier: "STRING_VALUE",
689698
* // },
690-
* // MediaPackageOutputSettings: {},
699+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
700+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
701+
* // AudioGroupId: "STRING_VALUE",
702+
* // AudioRenditionSets: "STRING_VALUE",
703+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
704+
* // HlsDefault: "NO" || "OMIT" || "YES",
705+
* // },
706+
* // },
691707
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
692708
* // H265PackagingType: "HEV1" || "HVC1",
693709
* // NameModifier: "STRING_VALUE",

clients/client-medialive/src/commands/RestartChannelPipelinesCommand.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,15 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
492492
* // Destination: {
493493
* // DestinationRefId: "STRING_VALUE",
494494
* // },
495+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
496+
* // CaptionLanguageMappings: [
497+
* // {
498+
* // CaptionChannel: Number("int"), // required
499+
* // LanguageCode: "STRING_VALUE", // required
500+
* // LanguageDescription: "STRING_VALUE", // required
501+
* // },
502+
* // ],
503+
* // },
495504
* // },
496505
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
497506
* // AcquisitionPointId: "STRING_VALUE",
@@ -690,7 +699,14 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
690699
* // NameModifier: "STRING_VALUE",
691700
* // SegmentModifier: "STRING_VALUE",
692701
* // },
693-
* // MediaPackageOutputSettings: {},
702+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
703+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
704+
* // AudioGroupId: "STRING_VALUE",
705+
* // AudioRenditionSets: "STRING_VALUE",
706+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
707+
* // HlsDefault: "NO" || "OMIT" || "YES",
708+
* // },
709+
* // },
694710
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
695711
* // H265PackagingType: "HEV1" || "HVC1",
696712
* // NameModifier: "STRING_VALUE",

clients/client-medialive/src/commands/StartChannelCommand.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,15 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
489489
* // Destination: {
490490
* // DestinationRefId: "STRING_VALUE",
491491
* // },
492+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
493+
* // CaptionLanguageMappings: [
494+
* // {
495+
* // CaptionChannel: Number("int"), // required
496+
* // LanguageCode: "STRING_VALUE", // required
497+
* // LanguageDescription: "STRING_VALUE", // required
498+
* // },
499+
* // ],
500+
* // },
492501
* // },
493502
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
494503
* // AcquisitionPointId: "STRING_VALUE",
@@ -687,7 +696,14 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
687696
* // NameModifier: "STRING_VALUE",
688697
* // SegmentModifier: "STRING_VALUE",
689698
* // },
690-
* // MediaPackageOutputSettings: {},
699+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
700+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
701+
* // AudioGroupId: "STRING_VALUE",
702+
* // AudioRenditionSets: "STRING_VALUE",
703+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
704+
* // HlsDefault: "NO" || "OMIT" || "YES",
705+
* // },
706+
* // },
691707
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
692708
* // H265PackagingType: "HEV1" || "HVC1",
693709
* // NameModifier: "STRING_VALUE",

clients/client-medialive/src/commands/StopChannelCommand.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,15 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
489489
* // Destination: {
490490
* // DestinationRefId: "STRING_VALUE",
491491
* // },
492+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
493+
* // CaptionLanguageMappings: [
494+
* // {
495+
* // CaptionChannel: Number("int"), // required
496+
* // LanguageCode: "STRING_VALUE", // required
497+
* // LanguageDescription: "STRING_VALUE", // required
498+
* // },
499+
* // ],
500+
* // },
492501
* // },
493502
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
494503
* // AcquisitionPointId: "STRING_VALUE",
@@ -687,7 +696,14 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
687696
* // NameModifier: "STRING_VALUE",
688697
* // SegmentModifier: "STRING_VALUE",
689698
* // },
690-
* // MediaPackageOutputSettings: {},
699+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
700+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
701+
* // AudioGroupId: "STRING_VALUE",
702+
* // AudioRenditionSets: "STRING_VALUE",
703+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
704+
* // HlsDefault: "NO" || "OMIT" || "YES",
705+
* // },
706+
* // },
691707
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
692708
* // H265PackagingType: "HEV1" || "HVC1",
693709
* // NameModifier: "STRING_VALUE",

clients/client-medialive/src/commands/UpdateChannelClassCommand.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,15 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
525525
* // Destination: {
526526
* // DestinationRefId: "STRING_VALUE",
527527
* // },
528+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
529+
* // CaptionLanguageMappings: [
530+
* // {
531+
* // CaptionChannel: Number("int"), // required
532+
* // LanguageCode: "STRING_VALUE", // required
533+
* // LanguageDescription: "STRING_VALUE", // required
534+
* // },
535+
* // ],
536+
* // },
528537
* // },
529538
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
530539
* // AcquisitionPointId: "STRING_VALUE",
@@ -723,7 +732,14 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
723732
* // NameModifier: "STRING_VALUE",
724733
* // SegmentModifier: "STRING_VALUE",
725734
* // },
726-
* // MediaPackageOutputSettings: {},
735+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
736+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
737+
* // AudioGroupId: "STRING_VALUE",
738+
* // AudioRenditionSets: "STRING_VALUE",
739+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
740+
* // HlsDefault: "NO" || "OMIT" || "YES",
741+
* // },
742+
* // },
727743
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
728744
* // H265PackagingType: "HEV1" || "HVC1",
729745
* // NameModifier: "STRING_VALUE",

clients/client-medialive/src/commands/UpdateChannelCommand.ts

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,15 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
478478
* Destination: {
479479
* DestinationRefId: "STRING_VALUE",
480480
* },
481+
* MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
482+
* CaptionLanguageMappings: [
483+
* {
484+
* CaptionChannel: Number("int"), // required
485+
* LanguageCode: "STRING_VALUE", // required
486+
* LanguageDescription: "STRING_VALUE", // required
487+
* },
488+
* ],
489+
* },
481490
* },
482491
* MsSmoothGroupSettings: { // MsSmoothGroupSettings
483492
* AcquisitionPointId: "STRING_VALUE",
@@ -676,7 +685,14 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
676685
* NameModifier: "STRING_VALUE",
677686
* SegmentModifier: "STRING_VALUE",
678687
* },
679-
* MediaPackageOutputSettings: {},
688+
* MediaPackageOutputSettings: { // MediaPackageOutputSettings
689+
* MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
690+
* AudioGroupId: "STRING_VALUE",
691+
* AudioRenditionSets: "STRING_VALUE",
692+
* HlsAutoSelect: "NO" || "OMIT" || "YES",
693+
* HlsDefault: "NO" || "OMIT" || "YES",
694+
* },
695+
* },
680696
* MsSmoothOutputSettings: { // MsSmoothOutputSettings
681697
* H265PackagingType: "HEV1" || "HVC1",
682698
* NameModifier: "STRING_VALUE",
@@ -1693,6 +1709,15 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
16931709
* // Destination: {
16941710
* // DestinationRefId: "STRING_VALUE",
16951711
* // },
1712+
* // MediapackageV2GroupSettings: { // MediaPackageV2GroupSettings
1713+
* // CaptionLanguageMappings: [
1714+
* // {
1715+
* // CaptionChannel: Number("int"), // required
1716+
* // LanguageCode: "STRING_VALUE", // required
1717+
* // LanguageDescription: "STRING_VALUE", // required
1718+
* // },
1719+
* // ],
1720+
* // },
16961721
* // },
16971722
* // MsSmoothGroupSettings: { // MsSmoothGroupSettings
16981723
* // AcquisitionPointId: "STRING_VALUE",
@@ -1891,7 +1916,14 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
18911916
* // NameModifier: "STRING_VALUE",
18921917
* // SegmentModifier: "STRING_VALUE",
18931918
* // },
1894-
* // MediaPackageOutputSettings: {},
1919+
* // MediaPackageOutputSettings: { // MediaPackageOutputSettings
1920+
* // MediaPackageV2DestinationSettings: { // MediaPackageV2DestinationSettings
1921+
* // AudioGroupId: "STRING_VALUE",
1922+
* // AudioRenditionSets: "STRING_VALUE",
1923+
* // HlsAutoSelect: "NO" || "OMIT" || "YES",
1924+
* // HlsDefault: "NO" || "OMIT" || "YES",
1925+
* // },
1926+
* // },
18951927
* // MsSmoothOutputSettings: { // MsSmoothOutputSettings
18961928
* // H265PackagingType: "HEV1" || "HVC1",
18971929
* // NameModifier: "STRING_VALUE",

0 commit comments

Comments
 (0)