Skip to content

Commit 4f30f3e

Browse files
author
awstools
committed
feat(client-medialive): AWS Elemental MediaLive / Features : Add support for CMAF Ingest CaptionLanguageMappings, TimedMetadataId3 settings, and Link InputResolution.
1 parent cb2a9f2 commit 4f30f3e

15 files changed

+331
-82
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,15 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
528528
* Scte35NameModifier: "STRING_VALUE",
529529
* Id3Behavior: "DISABLED" || "ENABLED",
530530
* Id3NameModifier: "STRING_VALUE",
531+
* CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
532+
* { // CmafIngestCaptionLanguageMapping
533+
* CaptionChannel: Number("int"), // required
534+
* LanguageCode: "STRING_VALUE", // required
535+
* },
536+
* ],
537+
* TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
538+
* TimedMetadataId3Period: Number("int"),
539+
* TimedMetadataPassthrough: "DISABLED" || "ENABLED",
531540
* },
532541
* SrtGroupSettings: { // SrtGroupSettings
533542
* InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",
@@ -1731,6 +1740,15 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
17311740
* // Scte35NameModifier: "STRING_VALUE",
17321741
* // Id3Behavior: "DISABLED" || "ENABLED",
17331742
* // Id3NameModifier: "STRING_VALUE",
1743+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
1744+
* // { // CmafIngestCaptionLanguageMapping
1745+
* // CaptionChannel: Number("int"), // required
1746+
* // LanguageCode: "STRING_VALUE", // required
1747+
* // },
1748+
* // ],
1749+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
1750+
* // TimedMetadataId3Period: Number("int"),
1751+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
17341752
* // },
17351753
* // SrtGroupSettings: { // SrtGroupSettings
17361754
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,15 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
539539
* // Scte35NameModifier: "STRING_VALUE",
540540
* // Id3Behavior: "DISABLED" || "ENABLED",
541541
* // Id3NameModifier: "STRING_VALUE",
542+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
543+
* // { // CmafIngestCaptionLanguageMapping
544+
* // CaptionChannel: Number("int"), // required
545+
* // LanguageCode: "STRING_VALUE", // required
546+
* // },
547+
* // ],
548+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
549+
* // TimedMetadataId3Period: Number("int"),
550+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
542551
* // },
543552
* // SrtGroupSettings: { // SrtGroupSettings
544553
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,15 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
539539
* // Scte35NameModifier: "STRING_VALUE",
540540
* // Id3Behavior: "DISABLED" || "ENABLED",
541541
* // Id3NameModifier: "STRING_VALUE",
542+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
543+
* // { // CmafIngestCaptionLanguageMapping
544+
* // CaptionChannel: Number("int"), // required
545+
* // LanguageCode: "STRING_VALUE", // required
546+
* // },
547+
* // ],
548+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
549+
* // TimedMetadataId3Period: Number("int"),
550+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
542551
* // },
543552
* // SrtGroupSettings: { // SrtGroupSettings
544553
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export interface DescribeInputDeviceCommandOutput extends DescribeInputDeviceRes
9393
* // Profile: "DISABLED" || "VBR-AAC_HHE-16000" || "VBR-AAC_HE-64000" || "VBR-AAC_LC-128000" || "CBR-AAC_HQ-192000" || "CBR-AAC_HQ-256000" || "CBR-AAC_HQ-384000" || "CBR-AAC_HQ-512000",
9494
* // },
9595
* // ],
96+
* // InputResolution: "STRING_VALUE",
9697
* // },
9798
* // Tags: { // Tags
9899
* // "<keys>": "STRING_VALUE",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export interface ListInputDevicesCommandOutput extends ListInputDevicesResponse,
9696
* // Profile: "DISABLED" || "VBR-AAC_HHE-16000" || "VBR-AAC_HE-64000" || "VBR-AAC_LC-128000" || "CBR-AAC_HQ-192000" || "CBR-AAC_HQ-256000" || "CBR-AAC_HQ-384000" || "CBR-AAC_HQ-512000",
9797
* // },
9898
* // ],
99+
* // InputResolution: "STRING_VALUE",
99100
* // },
100101
* // Tags: { // Tags
101102
* // "<keys>": "STRING_VALUE",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,15 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
542542
* // Scte35NameModifier: "STRING_VALUE",
543543
* // Id3Behavior: "DISABLED" || "ENABLED",
544544
* // Id3NameModifier: "STRING_VALUE",
545+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
546+
* // { // CmafIngestCaptionLanguageMapping
547+
* // CaptionChannel: Number("int"), // required
548+
* // LanguageCode: "STRING_VALUE", // required
549+
* // },
550+
* // ],
551+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
552+
* // TimedMetadataId3Period: Number("int"),
553+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
545554
* // },
546555
* // SrtGroupSettings: { // SrtGroupSettings
547556
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,15 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
539539
* // Scte35NameModifier: "STRING_VALUE",
540540
* // Id3Behavior: "DISABLED" || "ENABLED",
541541
* // Id3NameModifier: "STRING_VALUE",
542+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
543+
* // { // CmafIngestCaptionLanguageMapping
544+
* // CaptionChannel: Number("int"), // required
545+
* // LanguageCode: "STRING_VALUE", // required
546+
* // },
547+
* // ],
548+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
549+
* // TimedMetadataId3Period: Number("int"),
550+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
542551
* // },
543552
* // SrtGroupSettings: { // SrtGroupSettings
544553
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,15 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
539539
* // Scte35NameModifier: "STRING_VALUE",
540540
* // Id3Behavior: "DISABLED" || "ENABLED",
541541
* // Id3NameModifier: "STRING_VALUE",
542+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
543+
* // { // CmafIngestCaptionLanguageMapping
544+
* // CaptionChannel: Number("int"), // required
545+
* // LanguageCode: "STRING_VALUE", // required
546+
* // },
547+
* // ],
548+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
549+
* // TimedMetadataId3Period: Number("int"),
550+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
542551
* // },
543552
* // SrtGroupSettings: { // SrtGroupSettings
544553
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,15 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
572572
* // Scte35NameModifier: "STRING_VALUE",
573573
* // Id3Behavior: "DISABLED" || "ENABLED",
574574
* // Id3NameModifier: "STRING_VALUE",
575+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
576+
* // { // CmafIngestCaptionLanguageMapping
577+
* // CaptionChannel: Number("int"), // required
578+
* // LanguageCode: "STRING_VALUE", // required
579+
* // },
580+
* // ],
581+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
582+
* // TimedMetadataId3Period: Number("int"),
583+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
575584
* // },
576585
* // SrtGroupSettings: { // SrtGroupSettings
577586
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,15 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
528528
* Scte35NameModifier: "STRING_VALUE",
529529
* Id3Behavior: "DISABLED" || "ENABLED",
530530
* Id3NameModifier: "STRING_VALUE",
531+
* CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
532+
* { // CmafIngestCaptionLanguageMapping
533+
* CaptionChannel: Number("int"), // required
534+
* LanguageCode: "STRING_VALUE", // required
535+
* },
536+
* ],
537+
* TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
538+
* TimedMetadataId3Period: Number("int"),
539+
* TimedMetadataPassthrough: "DISABLED" || "ENABLED",
531540
* },
532541
* SrtGroupSettings: { // SrtGroupSettings
533542
* InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",
@@ -1718,6 +1727,15 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
17181727
* // Scte35NameModifier: "STRING_VALUE",
17191728
* // Id3Behavior: "DISABLED" || "ENABLED",
17201729
* // Id3NameModifier: "STRING_VALUE",
1730+
* // CaptionLanguageMappings: [ // __listOfCmafIngestCaptionLanguageMapping
1731+
* // { // CmafIngestCaptionLanguageMapping
1732+
* // CaptionChannel: Number("int"), // required
1733+
* // LanguageCode: "STRING_VALUE", // required
1734+
* // },
1735+
* // ],
1736+
* // TimedMetadataId3Frame: "NONE" || "PRIV" || "TDRL",
1737+
* // TimedMetadataId3Period: Number("int"),
1738+
* // TimedMetadataPassthrough: "DISABLED" || "ENABLED",
17211739
* // },
17221740
* // SrtGroupSettings: { // SrtGroupSettings
17231741
* // InputLossAction: "DROP_PROGRAM" || "DROP_TS" || "EMIT_PROGRAM",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface UpdateInputDeviceCommandOutput extends UpdateInputDeviceRespons
5353
* Profile: "DISABLED" || "VBR-AAC_HHE-16000" || "VBR-AAC_HE-64000" || "VBR-AAC_LC-128000" || "CBR-AAC_HQ-192000" || "CBR-AAC_HQ-256000" || "CBR-AAC_HQ-384000" || "CBR-AAC_HQ-512000",
5454
* },
5555
* ],
56+
* InputResolution: "STRING_VALUE",
5657
* },
5758
* InputDeviceId: "STRING_VALUE", // required
5859
* Name: "STRING_VALUE",
@@ -73,6 +74,7 @@ export interface UpdateInputDeviceCommandOutput extends UpdateInputDeviceRespons
7374
* Profile: "DISABLED" || "VBR-AAC_HHE-16000" || "VBR-AAC_HE-64000" || "VBR-AAC_LC-128000" || "CBR-AAC_HQ-192000" || "CBR-AAC_HQ-256000" || "CBR-AAC_HQ-384000" || "CBR-AAC_HQ-512000",
7475
* },
7576
* ],
77+
* InputResolution: "STRING_VALUE",
7678
* },
7779
* AvailabilityZone: "STRING_VALUE",
7880
* };
@@ -131,6 +133,7 @@ export interface UpdateInputDeviceCommandOutput extends UpdateInputDeviceRespons
131133
* // Profile: "DISABLED" || "VBR-AAC_HHE-16000" || "VBR-AAC_HE-64000" || "VBR-AAC_LC-128000" || "CBR-AAC_HQ-192000" || "CBR-AAC_HQ-256000" || "CBR-AAC_HQ-384000" || "CBR-AAC_HQ-512000",
132134
* // },
133135
* // ],
136+
* // InputResolution: "STRING_VALUE",
134137
* // },
135138
* // Tags: { // Tags
136139
* // "<keys>": "STRING_VALUE",

clients/client-medialive/src/models/models_0.ts

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3994,6 +3994,24 @@ export interface CloudWatchAlarmTemplateSummary {
39943994
TreatMissingData: CloudWatchAlarmTemplateTreatMissingData | undefined;
39953995
}
39963996

3997+
/**
3998+
* Add an array item for each language. Follow the order of the caption descriptions. For example, if the first caption description is for German, then the first array item must be for German, and its caption channel must be set to 1. The second array item must be 2, and so on.
3999+
* @public
4000+
*/
4001+
export interface CmafIngestCaptionLanguageMapping {
4002+
/**
4003+
* A number for the channel for this caption, 1 to 4.
4004+
* @public
4005+
*/
4006+
CaptionChannel: number | undefined;
4007+
4008+
/**
4009+
* Language code for the language of the caption in this channel. For example, ger/deu. See http://www.loc.gov/standards/iso639-2
4010+
* @public
4011+
*/
4012+
LanguageCode: string | undefined;
4013+
}
4014+
39974015
/**
39984016
* @public
39994017
* @enum
@@ -5714,6 +5732,12 @@ export interface InputDeviceUhdSettings {
57145732
* @public
57155733
*/
57165734
AudioChannelPairs?: InputDeviceUhdAudioChannelPairConfig[] | undefined;
5735+
5736+
/**
5737+
* The resolution of the Link device's source (HD or UHD). This value determines MediaLive resource allocation and billing for this input.
5738+
* @public
5739+
*/
5740+
InputResolution?: string | undefined;
57175741
}
57185742

57195743
/**
@@ -6815,17 +6839,3 @@ export const M2tsSegmentationMarkers = {
68156839
* @public
68166840
*/
68176841
export type M2tsSegmentationMarkers = (typeof M2tsSegmentationMarkers)[keyof typeof M2tsSegmentationMarkers];
6818-
6819-
/**
6820-
* @public
6821-
* @enum
6822-
*/
6823-
export const M2tsSegmentationStyle = {
6824-
MAINTAIN_CADENCE: "MAINTAIN_CADENCE",
6825-
RESET_CADENCE: "RESET_CADENCE",
6826-
} as const;
6827-
6828-
/**
6829-
* @public
6830-
*/
6831-
export type M2tsSegmentationStyle = (typeof M2tsSegmentationStyle)[keyof typeof M2tsSegmentationStyle];

0 commit comments

Comments
 (0)