From 6325d6ee9dbc016a7ccbbc3c4a3d22d42191e90c Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 21 Dec 2023 19:17:56 +0000 Subject: [PATCH] feat(client-medialive): MediaLive now supports the ability to configure the audio that an AWS Elemental Link UHD device produces, when the device is configured as the source for a flow in AWS Elemental MediaConnect. --- .../src/commands/CreateChannelCommand.ts | 36 ++-- .../src/commands/DeleteChannelCommand.ts | 18 +- .../src/commands/DescribeChannelCommand.ts | 18 +- .../commands/DescribeInputDeviceCommand.ts | 6 + .../src/commands/ListChannelsCommand.ts | 3 +- .../ListInputDeviceTransfersCommand.ts | 3 +- .../src/commands/ListInputDevicesCommand.ts | 8 +- .../src/commands/StartChannelCommand.ts | 18 +- .../src/commands/StopChannelCommand.ts | 18 +- .../src/commands/UpdateChannelClassCommand.ts | 18 +- .../src/commands/UpdateChannelCommand.ts | 36 ++-- .../src/commands/UpdateInputDeviceCommand.ts | 18 ++ .../client-medialive/src/models/models_0.ts | 163 +++++++------- .../client-medialive/src/models/models_1.ts | 183 ++++++++-------- .../client-medialive/src/models/models_2.ts | 80 +++++++ .../src/protocols/Aws_restJson1.ts | 65 +++++- codegen/sdk-codegen/aws-models/medialive.json | 202 +++++++++++++++++- 17 files changed, 633 insertions(+), 260 deletions(-) diff --git a/clients/client-medialive/src/commands/CreateChannelCommand.ts b/clients/client-medialive/src/commands/CreateChannelCommand.ts index fa825e98d7d07..d10d059c6835e 100644 --- a/clients/client-medialive/src/commands/CreateChannelCommand.ts +++ b/clients/client-medialive/src/commands/CreateChannelCommand.ts @@ -305,15 +305,6 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met * Name: "STRING_VALUE", // required * }, * ], - * ColorCorrectionSettings: { // ColorCorrectionSettings - * GlobalColorCorrections: [ // __listOfColorCorrection // required - * { // ColorCorrection - * InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * Uri: "STRING_VALUE", // required - * }, - * ], - * }, * FeatureActivations: { // FeatureActivations * InputPrepareScheduleActions: "DISABLED" || "ENABLED", * OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -893,6 +884,15 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met * ThumbnailConfiguration: { // ThumbnailConfiguration * State: "AUTO" || "DISABLED", // required * }, + * ColorCorrectionSettings: { // ColorCorrectionSettings + * GlobalColorCorrections: [ // __listOfColorCorrection // required + * { // ColorCorrection + * InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * Uri: "STRING_VALUE", // required + * }, + * ], + * }, * }, * InputAttachments: [ // __listOfInputAttachment * { // InputAttachment @@ -1325,15 +1325,6 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met * // Name: "STRING_VALUE", // required * // }, * // ], - * // ColorCorrectionSettings: { // ColorCorrectionSettings - * // GlobalColorCorrections: [ // __listOfColorCorrection // required - * // { // ColorCorrection - * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // Uri: "STRING_VALUE", // required - * // }, - * // ], - * // }, * // FeatureActivations: { // FeatureActivations * // InputPrepareScheduleActions: "DISABLED" || "ENABLED", * // OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -1913,6 +1904,15 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met * // ThumbnailConfiguration: { // ThumbnailConfiguration * // State: "AUTO" || "DISABLED", // required * // }, + * // ColorCorrectionSettings: { // ColorCorrectionSettings + * // GlobalColorCorrections: [ // __listOfColorCorrection // required + * // { // ColorCorrection + * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // Uri: "STRING_VALUE", // required + * // }, + * // ], + * // }, * // }, * // Id: "STRING_VALUE", * // InputAttachments: [ // __listOfInputAttachment diff --git a/clients/client-medialive/src/commands/DeleteChannelCommand.ts b/clients/client-medialive/src/commands/DeleteChannelCommand.ts index 6c2b082d4e893..b347e68e0062c 100644 --- a/clients/client-medialive/src/commands/DeleteChannelCommand.ts +++ b/clients/client-medialive/src/commands/DeleteChannelCommand.ts @@ -316,15 +316,6 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met * // Name: "STRING_VALUE", // required * // }, * // ], - * // ColorCorrectionSettings: { // ColorCorrectionSettings - * // GlobalColorCorrections: [ // __listOfColorCorrection // required - * // { // ColorCorrection - * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // Uri: "STRING_VALUE", // required - * // }, - * // ], - * // }, * // FeatureActivations: { // FeatureActivations * // InputPrepareScheduleActions: "DISABLED" || "ENABLED", * // OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -904,6 +895,15 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met * // ThumbnailConfiguration: { // ThumbnailConfiguration * // State: "AUTO" || "DISABLED", // required * // }, + * // ColorCorrectionSettings: { // ColorCorrectionSettings + * // GlobalColorCorrections: [ // __listOfColorCorrection // required + * // { // ColorCorrection + * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // Uri: "STRING_VALUE", // required + * // }, + * // ], + * // }, * // }, * // Id: "STRING_VALUE", * // InputAttachments: [ // __listOfInputAttachment diff --git a/clients/client-medialive/src/commands/DescribeChannelCommand.ts b/clients/client-medialive/src/commands/DescribeChannelCommand.ts index 20c2f294f7db9..76bf1677e36d0 100644 --- a/clients/client-medialive/src/commands/DescribeChannelCommand.ts +++ b/clients/client-medialive/src/commands/DescribeChannelCommand.ts @@ -316,15 +316,6 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _ * // Name: "STRING_VALUE", // required * // }, * // ], - * // ColorCorrectionSettings: { // ColorCorrectionSettings - * // GlobalColorCorrections: [ // __listOfColorCorrection // required - * // { // ColorCorrection - * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // Uri: "STRING_VALUE", // required - * // }, - * // ], - * // }, * // FeatureActivations: { // FeatureActivations * // InputPrepareScheduleActions: "DISABLED" || "ENABLED", * // OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -904,6 +895,15 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _ * // ThumbnailConfiguration: { // ThumbnailConfiguration * // State: "AUTO" || "DISABLED", // required * // }, + * // ColorCorrectionSettings: { // ColorCorrectionSettings + * // GlobalColorCorrections: [ // __listOfColorCorrection // required + * // { // ColorCorrection + * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // Uri: "STRING_VALUE", // required + * // }, + * // ], + * // }, * // }, * // Id: "STRING_VALUE", * // InputAttachments: [ // __listOfInputAttachment diff --git a/clients/client-medialive/src/commands/DescribeInputDeviceCommand.ts b/clients/client-medialive/src/commands/DescribeInputDeviceCommand.ts index 09f2a1cf2d736..b086596af2a0d 100644 --- a/clients/client-medialive/src/commands/DescribeInputDeviceCommand.ts +++ b/clients/client-medialive/src/commands/DescribeInputDeviceCommand.ts @@ -96,6 +96,12 @@ export interface DescribeInputDeviceCommandOutput extends DescribeInputDeviceRes * // SecretArn: "STRING_VALUE", * // SourceName: "STRING_VALUE", * // }, + * // AudioChannelPairs: [ // __listOfInputDeviceUhdAudioChannelPairConfig + * // { // InputDeviceUhdAudioChannelPairConfig + * // Id: Number("int"), + * // 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", + * // }, + * // ], * // }, * // Tags: { // Tags * // "": "STRING_VALUE", diff --git a/clients/client-medialive/src/commands/ListChannelsCommand.ts b/clients/client-medialive/src/commands/ListChannelsCommand.ts index e626a7a1b4b23..356777c67b8be 100644 --- a/clients/client-medialive/src/commands/ListChannelsCommand.ts +++ b/clients/client-medialive/src/commands/ListChannelsCommand.ts @@ -15,7 +15,8 @@ import { } from "@smithy/types"; import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient"; -import { ListChannelsRequest, ListChannelsResponse } from "../models/models_1"; +import { ListChannelsRequest } from "../models/models_1"; +import { ListChannelsResponse } from "../models/models_2"; import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-medialive/src/commands/ListInputDeviceTransfersCommand.ts b/clients/client-medialive/src/commands/ListInputDeviceTransfersCommand.ts index 2f01049f174c4..ed67efcb7af61 100644 --- a/clients/client-medialive/src/commands/ListInputDeviceTransfersCommand.ts +++ b/clients/client-medialive/src/commands/ListInputDeviceTransfersCommand.ts @@ -15,8 +15,7 @@ import { } from "@smithy/types"; import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient"; -import { ListInputDeviceTransfersRequest } from "../models/models_1"; -import { ListInputDeviceTransfersResponse } from "../models/models_2"; +import { ListInputDeviceTransfersRequest, ListInputDeviceTransfersResponse } from "../models/models_2"; import { de_ListInputDeviceTransfersCommand, se_ListInputDeviceTransfersCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-medialive/src/commands/ListInputDevicesCommand.ts b/clients/client-medialive/src/commands/ListInputDevicesCommand.ts index 50790eaa8abf7..56966ddf869a5 100644 --- a/clients/client-medialive/src/commands/ListInputDevicesCommand.ts +++ b/clients/client-medialive/src/commands/ListInputDevicesCommand.ts @@ -15,7 +15,7 @@ import { } from "@smithy/types"; import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient"; -import { ListInputDevicesRequest, ListInputDevicesResponse } from "../models/models_1"; +import { ListInputDevicesRequest, ListInputDevicesResponse } from "../models/models_2"; import { de_ListInputDevicesCommand, se_ListInputDevicesCommand } from "../protocols/Aws_restJson1"; /** @@ -99,6 +99,12 @@ export interface ListInputDevicesCommandOutput extends ListInputDevicesResponse, * // SecretArn: "STRING_VALUE", * // SourceName: "STRING_VALUE", * // }, + * // AudioChannelPairs: [ // __listOfInputDeviceUhdAudioChannelPairConfig + * // { // InputDeviceUhdAudioChannelPairConfig + * // Id: Number("int"), + * // 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", + * // }, + * // ], * // }, * // Tags: { // Tags * // "": "STRING_VALUE", diff --git a/clients/client-medialive/src/commands/StartChannelCommand.ts b/clients/client-medialive/src/commands/StartChannelCommand.ts index 9a36b40b975dc..526a5b7d143c3 100644 --- a/clients/client-medialive/src/commands/StartChannelCommand.ts +++ b/clients/client-medialive/src/commands/StartChannelCommand.ts @@ -316,15 +316,6 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad * // Name: "STRING_VALUE", // required * // }, * // ], - * // ColorCorrectionSettings: { // ColorCorrectionSettings - * // GlobalColorCorrections: [ // __listOfColorCorrection // required - * // { // ColorCorrection - * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // Uri: "STRING_VALUE", // required - * // }, - * // ], - * // }, * // FeatureActivations: { // FeatureActivations * // InputPrepareScheduleActions: "DISABLED" || "ENABLED", * // OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -904,6 +895,15 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad * // ThumbnailConfiguration: { // ThumbnailConfiguration * // State: "AUTO" || "DISABLED", // required * // }, + * // ColorCorrectionSettings: { // ColorCorrectionSettings + * // GlobalColorCorrections: [ // __listOfColorCorrection // required + * // { // ColorCorrection + * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // Uri: "STRING_VALUE", // required + * // }, + * // ], + * // }, * // }, * // Id: "STRING_VALUE", * // InputAttachments: [ // __listOfInputAttachment diff --git a/clients/client-medialive/src/commands/StopChannelCommand.ts b/clients/client-medialive/src/commands/StopChannelCommand.ts index 2251e5dcb0f9e..b5ab9e95964b2 100644 --- a/clients/client-medialive/src/commands/StopChannelCommand.ts +++ b/clients/client-medialive/src/commands/StopChannelCommand.ts @@ -316,15 +316,6 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat * // Name: "STRING_VALUE", // required * // }, * // ], - * // ColorCorrectionSettings: { // ColorCorrectionSettings - * // GlobalColorCorrections: [ // __listOfColorCorrection // required - * // { // ColorCorrection - * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // Uri: "STRING_VALUE", // required - * // }, - * // ], - * // }, * // FeatureActivations: { // FeatureActivations * // InputPrepareScheduleActions: "DISABLED" || "ENABLED", * // OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -904,6 +895,15 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat * // ThumbnailConfiguration: { // ThumbnailConfiguration * // State: "AUTO" || "DISABLED", // required * // }, + * // ColorCorrectionSettings: { // ColorCorrectionSettings + * // GlobalColorCorrections: [ // __listOfColorCorrection // required + * // { // ColorCorrection + * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // Uri: "STRING_VALUE", // required + * // }, + * // ], + * // }, * // }, * // Id: "STRING_VALUE", * // InputAttachments: [ // __listOfInputAttachment diff --git a/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts b/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts index a10742bd3ec21..bff5d485e69ee 100644 --- a/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts +++ b/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts @@ -340,15 +340,6 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo * // Name: "STRING_VALUE", // required * // }, * // ], - * // ColorCorrectionSettings: { // ColorCorrectionSettings - * // GlobalColorCorrections: [ // __listOfColorCorrection // required - * // { // ColorCorrection - * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // Uri: "STRING_VALUE", // required - * // }, - * // ], - * // }, * // FeatureActivations: { // FeatureActivations * // InputPrepareScheduleActions: "DISABLED" || "ENABLED", * // OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -928,6 +919,15 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo * // ThumbnailConfiguration: { // ThumbnailConfiguration * // State: "AUTO" || "DISABLED", // required * // }, + * // ColorCorrectionSettings: { // ColorCorrectionSettings + * // GlobalColorCorrections: [ // __listOfColorCorrection // required + * // { // ColorCorrection + * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // Uri: "STRING_VALUE", // required + * // }, + * // ], + * // }, * // }, * // Id: "STRING_VALUE", * // InputAttachments: [ // __listOfInputAttachment diff --git a/clients/client-medialive/src/commands/UpdateChannelCommand.ts b/clients/client-medialive/src/commands/UpdateChannelCommand.ts index 875f43400a68f..a16de551ba644 100644 --- a/clients/client-medialive/src/commands/UpdateChannelCommand.ts +++ b/clients/client-medialive/src/commands/UpdateChannelCommand.ts @@ -305,15 +305,6 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met * Name: "STRING_VALUE", // required * }, * ], - * ColorCorrectionSettings: { // ColorCorrectionSettings - * GlobalColorCorrections: [ // __listOfColorCorrection // required - * { // ColorCorrection - * InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * Uri: "STRING_VALUE", // required - * }, - * ], - * }, * FeatureActivations: { // FeatureActivations * InputPrepareScheduleActions: "DISABLED" || "ENABLED", * OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -893,6 +884,15 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met * ThumbnailConfiguration: { // ThumbnailConfiguration * State: "AUTO" || "DISABLED", // required * }, + * ColorCorrectionSettings: { // ColorCorrectionSettings + * GlobalColorCorrections: [ // __listOfColorCorrection // required + * { // ColorCorrection + * InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * Uri: "STRING_VALUE", // required + * }, + * ], + * }, * }, * InputAttachments: [ // __listOfInputAttachment * { // InputAttachment @@ -1310,15 +1310,6 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met * // Name: "STRING_VALUE", // required * // }, * // ], - * // ColorCorrectionSettings: { // ColorCorrectionSettings - * // GlobalColorCorrections: [ // __listOfColorCorrection // required - * // { // ColorCorrection - * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required - * // Uri: "STRING_VALUE", // required - * // }, - * // ], - * // }, * // FeatureActivations: { // FeatureActivations * // InputPrepareScheduleActions: "DISABLED" || "ENABLED", * // OutputStaticImageOverlayScheduleActions: "DISABLED" || "ENABLED", @@ -1898,6 +1889,15 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met * // ThumbnailConfiguration: { // ThumbnailConfiguration * // State: "AUTO" || "DISABLED", // required * // }, + * // ColorCorrectionSettings: { // ColorCorrectionSettings + * // GlobalColorCorrections: [ // __listOfColorCorrection // required + * // { // ColorCorrection + * // InputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // OutputColorSpace: "HDR10" || "HLG_2020" || "REC_601" || "REC_709", // required + * // Uri: "STRING_VALUE", // required + * // }, + * // ], + * // }, * // }, * // Id: "STRING_VALUE", * // InputAttachments: [ // __listOfInputAttachment diff --git a/clients/client-medialive/src/commands/UpdateInputDeviceCommand.ts b/clients/client-medialive/src/commands/UpdateInputDeviceCommand.ts index 1ae9a4f37124c..4a5e17cf503e8 100644 --- a/clients/client-medialive/src/commands/UpdateInputDeviceCommand.ts +++ b/clients/client-medialive/src/commands/UpdateInputDeviceCommand.ts @@ -56,6 +56,12 @@ export interface UpdateInputDeviceCommandOutput extends UpdateInputDeviceRespons * SecretArn: "STRING_VALUE", * SourceName: "STRING_VALUE", * }, + * AudioChannelPairs: [ // __listOfInputDeviceConfigurableAudioChannelPairConfig + * { // InputDeviceConfigurableAudioChannelPairConfig + * Id: Number("int"), + * 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", + * }, + * ], * }, * InputDeviceId: "STRING_VALUE", // required * Name: "STRING_VALUE", @@ -70,6 +76,12 @@ export interface UpdateInputDeviceCommandOutput extends UpdateInputDeviceRespons * SecretArn: "STRING_VALUE", * SourceName: "STRING_VALUE", * }, + * AudioChannelPairs: [ + * { + * Id: Number("int"), + * 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", + * }, + * ], * }, * AvailabilityZone: "STRING_VALUE", * }; @@ -122,6 +134,12 @@ export interface UpdateInputDeviceCommandOutput extends UpdateInputDeviceRespons * // SecretArn: "STRING_VALUE", * // SourceName: "STRING_VALUE", * // }, + * // AudioChannelPairs: [ // __listOfInputDeviceUhdAudioChannelPairConfig + * // { // InputDeviceUhdAudioChannelPairConfig + * // Id: Number("int"), + * // 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", + * // }, + * // ], * // }, * // Tags: { // Tags * // "": "STRING_VALUE", diff --git a/clients/client-medialive/src/models/models_0.ts b/clients/client-medialive/src/models/models_0.ts index 5825aab590191..776cec6b605f1 100644 --- a/clients/client-medialive/src/models/models_0.ts +++ b/clients/client-medialive/src/models/models_0.ts @@ -3873,6 +3873,45 @@ export interface InputDestinationRequest { StreamName?: string; } +/** + * @public + * @enum + */ +export const InputDeviceConfigurableAudioChannelPairProfile = { + CBR_AAC_HQ_192000: "CBR-AAC_HQ-192000", + CBR_AAC_HQ_256000: "CBR-AAC_HQ-256000", + CBR_AAC_HQ_384000: "CBR-AAC_HQ-384000", + CBR_AAC_HQ_512000: "CBR-AAC_HQ-512000", + DISABLED: "DISABLED", + VBR_AAC_HE_64000: "VBR-AAC_HE-64000", + VBR_AAC_HHE_16000: "VBR-AAC_HHE-16000", + VBR_AAC_LC_128000: "VBR-AAC_LC-128000", +} as const; + +/** + * @public + */ +export type InputDeviceConfigurableAudioChannelPairProfile = + (typeof InputDeviceConfigurableAudioChannelPairProfile)[keyof typeof InputDeviceConfigurableAudioChannelPairProfile]; + +/** + * @public + * One audio configuration that specifies the format for one audio pair that the device produces as output. + */ +export interface InputDeviceConfigurableAudioChannelPairConfig { + /** + * @public + * The ID for one audio pair configuration, a value from 1 to 8. + */ + Id?: number; + + /** + * @public + * The profile to set for one audio pair configuration. Choose an enumeration value. Each value describes one audio configuration using the format (rate control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. Or choose DISABLED, in which case the device won't produce audio for this pair. + */ + Profile?: InputDeviceConfigurableAudioChannelPairProfile; +} + /** * @public * Settings for an input device. @@ -4124,6 +4163,45 @@ export const InputDeviceType = { */ export type InputDeviceType = (typeof InputDeviceType)[keyof typeof InputDeviceType]; +/** + * @public + * @enum + */ +export const InputDeviceUhdAudioChannelPairProfile = { + CBR_AAC_HQ_192000: "CBR-AAC_HQ-192000", + CBR_AAC_HQ_256000: "CBR-AAC_HQ-256000", + CBR_AAC_HQ_384000: "CBR-AAC_HQ-384000", + CBR_AAC_HQ_512000: "CBR-AAC_HQ-512000", + DISABLED: "DISABLED", + VBR_AAC_HE_64000: "VBR-AAC_HE-64000", + VBR_AAC_HHE_16000: "VBR-AAC_HHE-16000", + VBR_AAC_LC_128000: "VBR-AAC_LC-128000", +} as const; + +/** + * @public + */ +export type InputDeviceUhdAudioChannelPairProfile = + (typeof InputDeviceUhdAudioChannelPairProfile)[keyof typeof InputDeviceUhdAudioChannelPairProfile]; + +/** + * @public + * One audio configuration that specifies the format for one audio pair that the device produces as output. + */ +export interface InputDeviceUhdAudioChannelPairConfig { + /** + * @public + * The ID for one audio pair configuration, a value from 1 to 8. + */ + Id?: number; + + /** + * @public + * The profile for one audio pair configuration. This property describes one audio configuration in the format (rate control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. Or DISABLED, in which case the device won't produce audio for this pair. + */ + Profile?: InputDeviceUhdAudioChannelPairProfile; +} + /** * @public * @enum @@ -4238,6 +4316,12 @@ export interface InputDeviceUhdSettings { * Information about the MediaConnect flow attached to the device. Returned only if the outputType is MEDIACONNECT_FLOW. */ MediaconnectSettings?: InputDeviceMediaConnectSettings; + + /** + * @public + * An array of eight audio configurations, one for each audio pair in the source. Each audio configuration specifies either to exclude the pair, or to format it and include it in the output from the UHD device. Applies only when the device is configured as the source for a MediaConnect flow. + */ + AudioChannelPairs?: InputDeviceUhdAudioChannelPairConfig[]; } /** @@ -6672,82 +6756,3 @@ export interface HlsWebdavSettings { */ RestartDelay?: number; } - -/** - * @public - * Hls Cdn Settings - */ -export interface HlsCdnSettings { - /** - * @public - * Hls Akamai Settings - */ - HlsAkamaiSettings?: HlsAkamaiSettings; - - /** - * @public - * Hls Basic Put Settings - */ - HlsBasicPutSettings?: HlsBasicPutSettings; - - /** - * @public - * Hls Media Store Settings - */ - HlsMediaStoreSettings?: HlsMediaStoreSettings; - - /** - * @public - * Hls S3 Settings - */ - HlsS3Settings?: HlsS3Settings; - - /** - * @public - * Hls Webdav Settings - */ - HlsWebdavSettings?: HlsWebdavSettings; -} - -/** - * @public - * @enum - */ -export const HlsId3SegmentTaggingState = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", -} as const; - -/** - * @public - */ -export type HlsId3SegmentTaggingState = (typeof HlsId3SegmentTaggingState)[keyof typeof HlsId3SegmentTaggingState]; - -/** - * @public - * @enum - */ -export const IFrameOnlyPlaylistType = { - DISABLED: "DISABLED", - STANDARD: "STANDARD", -} as const; - -/** - * @public - */ -export type IFrameOnlyPlaylistType = (typeof IFrameOnlyPlaylistType)[keyof typeof IFrameOnlyPlaylistType]; - -/** - * @public - * @enum - */ -export const HlsIncompleteSegmentBehavior = { - AUTO: "AUTO", - SUPPRESS: "SUPPRESS", -} as const; - -/** - * @public - */ -export type HlsIncompleteSegmentBehavior = - (typeof HlsIncompleteSegmentBehavior)[keyof typeof HlsIncompleteSegmentBehavior]; diff --git a/clients/client-medialive/src/models/models_1.ts b/clients/client-medialive/src/models/models_1.ts index 4454bcf360428..bc4f943a59887 100644 --- a/clients/client-medialive/src/models/models_1.ts +++ b/clients/client-medialive/src/models/models_1.ts @@ -16,36 +16,36 @@ import { ChannelClass, ChannelEgressEndpoint, ChannelState, - ChannelSummary, ColorCorrection, DeviceSettingsSyncState, DeviceUpdateStatus, FrameCaptureGroupSettings, Hdr10Settings, HlsAdMarkers, + HlsAkamaiSettings, + HlsBasicPutSettings, HlsCaptionLanguageSetting, - HlsCdnSettings, HlsClientCache, HlsCodecSpecification, HlsDirectoryStructure, HlsDiscontinuityTags, HlsEncryptionType, - HlsId3SegmentTaggingState, - HlsIncompleteSegmentBehavior, - IFrameOnlyPlaylistType, + HlsMediaStoreSettings, + HlsS3Settings, + HlsWebdavSettings, Input, InputAttachment, InputClass, InputDestination, InputDestinationRequest, InputDeviceCodec, + InputDeviceConfigurableAudioChannelPairConfig, InputDeviceConfiguredInput, InputDeviceConnectionState, InputDeviceHdSettings, InputDeviceNetworkSettings, InputDeviceOutputType, InputDeviceSettings, - InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputLocation, @@ -76,6 +76,85 @@ import { VpcOutputSettingsDescription, } from "./models_0"; +/** + * @public + * Hls Cdn Settings + */ +export interface HlsCdnSettings { + /** + * @public + * Hls Akamai Settings + */ + HlsAkamaiSettings?: HlsAkamaiSettings; + + /** + * @public + * Hls Basic Put Settings + */ + HlsBasicPutSettings?: HlsBasicPutSettings; + + /** + * @public + * Hls Media Store Settings + */ + HlsMediaStoreSettings?: HlsMediaStoreSettings; + + /** + * @public + * Hls S3 Settings + */ + HlsS3Settings?: HlsS3Settings; + + /** + * @public + * Hls Webdav Settings + */ + HlsWebdavSettings?: HlsWebdavSettings; +} + +/** + * @public + * @enum + */ +export const HlsId3SegmentTaggingState = { + DISABLED: "DISABLED", + ENABLED: "ENABLED", +} as const; + +/** + * @public + */ +export type HlsId3SegmentTaggingState = (typeof HlsId3SegmentTaggingState)[keyof typeof HlsId3SegmentTaggingState]; + +/** + * @public + * @enum + */ +export const IFrameOnlyPlaylistType = { + DISABLED: "DISABLED", + STANDARD: "STANDARD", +} as const; + +/** + * @public + */ +export type IFrameOnlyPlaylistType = (typeof IFrameOnlyPlaylistType)[keyof typeof IFrameOnlyPlaylistType]; + +/** + * @public + * @enum + */ +export const HlsIncompleteSegmentBehavior = { + AUTO: "AUTO", + SUPPRESS: "SUPPRESS", +} as const; + +/** + * @public + */ +export type HlsIncompleteSegmentBehavior = + (typeof HlsIncompleteSegmentBehavior)[keyof typeof HlsIncompleteSegmentBehavior]; + /** * @public * @enum @@ -5303,12 +5382,6 @@ export interface EncoderSettings { */ CaptionDescriptions?: CaptionDescription[]; - /** - * @public - * Color correction settings - */ - ColorCorrectionSettings?: ColorCorrectionSettings; - /** * @public * Feature Activations @@ -5356,6 +5429,12 @@ export interface EncoderSettings { * Thumbnail configuration settings. */ ThumbnailConfiguration?: ThumbnailConfiguration; + + /** + * @public + * Color Correction Settings + */ + ColorCorrectionSettings?: ColorCorrectionSettings; } /** @@ -7709,85 +7788,19 @@ export interface InputDeviceConfigurableSettings { * To attach this device to a MediaConnect flow, specify these parameters. To detach an existing flow, enter \{\} for the value of mediaconnectSettings. Only UHD devices can specify this parameter. */ MediaconnectSettings?: InputDeviceMediaConnectConfigurableSettings; -} - -/** - * @public - * Placeholder documentation for ListChannelsRequest - */ -export interface ListChannelsRequest { - /** - * @public - * Placeholder documentation for MaxResults - */ - MaxResults?: number; - - /** - * @public - * Placeholder documentation for __string - */ - NextToken?: string; -} - -/** - * @public - * Placeholder documentation for ListChannelsResponse - */ -export interface ListChannelsResponse { - /** - * @public - * Placeholder documentation for __listOfChannelSummary - */ - Channels?: ChannelSummary[]; - - /** - * @public - * Placeholder documentation for __string - */ - NextToken?: string; -} -/** - * @public - * Placeholder documentation for ListInputDevicesRequest - */ -export interface ListInputDevicesRequest { /** * @public - * Placeholder documentation for MaxResults + * An array of eight audio configurations, one for each audio pair in the source. Set up each audio configuration either to exclude the pair, or to format it and include it in the output from the device. This parameter applies only to UHD devices, and only when the device is configured as the source for a MediaConnect flow. For an HD device, you configure the audio by setting up audio selectors in the channel configuration. */ - MaxResults?: number; - - /** - * @public - * Placeholder documentation for __string - */ - NextToken?: string; + AudioChannelPairs?: InputDeviceConfigurableAudioChannelPairConfig[]; } /** * @public - * Placeholder documentation for ListInputDevicesResponse - */ -export interface ListInputDevicesResponse { - /** - * @public - * The list of input devices. - */ - InputDevices?: InputDeviceSummary[]; - - /** - * @public - * A token to get additional list results. - */ - NextToken?: string; -} - -/** - * @public - * Placeholder documentation for ListInputDeviceTransfersRequest + * Placeholder documentation for ListChannelsRequest */ -export interface ListInputDeviceTransfersRequest { +export interface ListChannelsRequest { /** * @public * Placeholder documentation for MaxResults @@ -7799,12 +7812,6 @@ export interface ListInputDeviceTransfersRequest { * Placeholder documentation for __string */ NextToken?: string; - - /** - * @public - * Placeholder documentation for __string - */ - TransferType: string | undefined; } /** diff --git a/clients/client-medialive/src/models/models_2.ts b/clients/client-medialive/src/models/models_2.ts index a0102b6ff4f2c..0ba955109938c 100644 --- a/clients/client-medialive/src/models/models_2.ts +++ b/clients/client-medialive/src/models/models_2.ts @@ -4,6 +4,7 @@ import { ChannelClass, ChannelEgressEndpoint, ChannelState, + ChannelSummary, DeviceSettingsSyncState, DeviceUpdateStatus, Input, @@ -14,6 +15,7 @@ import { InputDeviceNetworkSettings, InputDeviceOutputType, InputDeviceRequest, + InputDeviceSummary, InputDeviceType, InputDeviceUhdSettings, InputSecurityGroup, @@ -48,6 +50,84 @@ import { TransferringInputDeviceSummary, } from "./models_1"; +/** + * @public + * Placeholder documentation for ListChannelsResponse + */ +export interface ListChannelsResponse { + /** + * @public + * Placeholder documentation for __listOfChannelSummary + */ + Channels?: ChannelSummary[]; + + /** + * @public + * Placeholder documentation for __string + */ + NextToken?: string; +} + +/** + * @public + * Placeholder documentation for ListInputDevicesRequest + */ +export interface ListInputDevicesRequest { + /** + * @public + * Placeholder documentation for MaxResults + */ + MaxResults?: number; + + /** + * @public + * Placeholder documentation for __string + */ + NextToken?: string; +} + +/** + * @public + * Placeholder documentation for ListInputDevicesResponse + */ +export interface ListInputDevicesResponse { + /** + * @public + * The list of input devices. + */ + InputDevices?: InputDeviceSummary[]; + + /** + * @public + * A token to get additional list results. + */ + NextToken?: string; +} + +/** + * @public + * Placeholder documentation for ListInputDeviceTransfersRequest + */ +export interface ListInputDeviceTransfersRequest { + /** + * @public + * Placeholder documentation for MaxResults + */ + MaxResults?: number; + + /** + * @public + * Placeholder documentation for __string + */ + NextToken?: string; + + /** + * @public + * Placeholder documentation for __string + */ + TransferType: string | undefined; +} + /** * @public * Placeholder documentation for ListInputDeviceTransfersResponse diff --git a/clients/client-medialive/src/protocols/Aws_restJson1.ts b/clients/client-medialive/src/protocols/Aws_restJson1.ts index 573dc2b4306e6..38e209bb8cec4 100644 --- a/clients/client-medialive/src/protocols/Aws_restJson1.ts +++ b/clients/client-medialive/src/protocols/Aws_restJson1.ts @@ -227,7 +227,6 @@ import { HlsAdMarkers, HlsAkamaiSettings, HlsBasicPutSettings, - HlsCdnSettings, HlsInputSettings, HlsMediaStoreSettings, HlsOutputSettings, @@ -240,12 +239,14 @@ import { InputDestination, InputDestinationRequest, InputDestinationVpc, + InputDeviceConfigurableAudioChannelPairConfig, InputDeviceHdSettings, InputDeviceMediaConnectSettings, InputDeviceNetworkSettings, InputDeviceRequest, InputDeviceSettings, InputDeviceSummary, + InputDeviceUhdAudioChannelPairConfig, InputDeviceUhdSettings, InputLocation, InputLossFailoverSettings, @@ -343,6 +344,7 @@ import { H265ColorSpaceSettings, H265FilterSettings, H265Settings, + HlsCdnSettings, HlsGroupSettings, HlsId3SegmentTaggingScheduleActionSettings, HlsTimedMetadataScheduleActionSettings, @@ -6425,6 +6427,20 @@ const se___listOfInputDestinationRequest = (input: InputDestinationRequest[], co }); }; +/** + * serializeAws_restJson1__listOfInputDeviceConfigurableAudioChannelPairConfig + */ +const se___listOfInputDeviceConfigurableAudioChannelPairConfig = ( + input: InputDeviceConfigurableAudioChannelPairConfig[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + return se_InputDeviceConfigurableAudioChannelPairConfig(entry, context); + }); +}; + /** * serializeAws_restJson1__listOfInputDeviceRequest */ @@ -7773,11 +7789,29 @@ const se_InputDestinationRequest = (input: InputDestinationRequest, context: __S }); }; +/** + * serializeAws_restJson1InputDeviceConfigurableAudioChannelPairConfig + */ +const se_InputDeviceConfigurableAudioChannelPairConfig = ( + input: InputDeviceConfigurableAudioChannelPairConfig, + context: __SerdeContext +): any => { + return take(input, { + id: [, , `Id`], + profile: [, , `Profile`], + }); +}; + /** * serializeAws_restJson1InputDeviceConfigurableSettings */ const se_InputDeviceConfigurableSettings = (input: InputDeviceConfigurableSettings, context: __SerdeContext): any => { return take(input, { + audioChannelPairs: [ + , + (_) => se___listOfInputDeviceConfigurableAudioChannelPairConfig(_, context), + `AudioChannelPairs`, + ], codec: [, , `Codec`], configuredInput: [, , `ConfiguredInput`], latencyMs: [, , `LatencyMs`], @@ -9319,6 +9353,21 @@ const de___listOfInputDeviceSummary = (output: any, context: __SerdeContext): In return retVal; }; +/** + * deserializeAws_restJson1__listOfInputDeviceUhdAudioChannelPairConfig + */ +const de___listOfInputDeviceUhdAudioChannelPairConfig = ( + output: any, + context: __SerdeContext +): InputDeviceUhdAudioChannelPairConfig[] => { + const retVal = (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + return de_InputDeviceUhdAudioChannelPairConfig(entry, context); + }); + return retVal; +}; + /** * deserializeAws_restJson1__listOfInputSecurityGroup */ @@ -11005,12 +11054,26 @@ const de_InputDeviceSummary = (output: any, context: __SerdeContext): InputDevic }) as any; }; +/** + * deserializeAws_restJson1InputDeviceUhdAudioChannelPairConfig + */ +const de_InputDeviceUhdAudioChannelPairConfig = ( + output: any, + context: __SerdeContext +): InputDeviceUhdAudioChannelPairConfig => { + return take(output, { + Id: [, __expectInt32, `id`], + Profile: [, __expectString, `profile`], + }) as any; +}; + /** * deserializeAws_restJson1InputDeviceUhdSettings */ const de_InputDeviceUhdSettings = (output: any, context: __SerdeContext): InputDeviceUhdSettings => { return take(output, { ActiveInput: [, __expectString, `activeInput`], + AudioChannelPairs: [, (_: any) => de___listOfInputDeviceUhdAudioChannelPairConfig(_, context), `audioChannelPairs`], Codec: [, __expectString, `codec`], ConfiguredInput: [, __expectString, `configuredInput`], DeviceState: [, __expectString, `deviceState`], diff --git a/codegen/sdk-codegen/aws-models/medialive.json b/codegen/sdk-codegen/aws-models/medialive.json index 5b873e3682a38..bb49295c716a7 100644 --- a/codegen/sdk-codegen/aws-models/medialive.json +++ b/codegen/sdk-codegen/aws-models/medialive.json @@ -8598,13 +8598,6 @@ "smithy.api#jsonName": "captionDescriptions" } }, - "ColorCorrectionSettings": { - "target": "com.amazonaws.medialive#ColorCorrectionSettings", - "traits": { - "smithy.api#documentation": "Color correction settings", - "smithy.api#jsonName": "colorCorrectionSettings" - } - }, "FeatureActivations": { "target": "com.amazonaws.medialive#FeatureActivations", "traits": { @@ -8664,6 +8657,13 @@ "smithy.api#documentation": "Thumbnail configuration settings.", "smithy.api#jsonName": "thumbnailConfiguration" } + }, + "ColorCorrectionSettings": { + "target": "com.amazonaws.medialive#ColorCorrectionSettings", + "traits": { + "smithy.api#documentation": "Color Correction Settings", + "smithy.api#jsonName": "colorCorrectionSettings" + } } }, "traits": { @@ -12716,6 +12716,84 @@ "smithy.api#documentation": "The codec to use on the video that the device produces." } }, + "com.amazonaws.medialive#InputDeviceConfigurableAudioChannelPairConfig": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.medialive#__integer", + "traits": { + "smithy.api#documentation": "The ID for one audio pair configuration, a value from 1 to 8.", + "smithy.api#jsonName": "id" + } + }, + "Profile": { + "target": "com.amazonaws.medialive#InputDeviceConfigurableAudioChannelPairProfile", + "traits": { + "smithy.api#documentation": "The profile to set for one audio pair configuration. Choose an enumeration value. Each value describes one audio configuration using the format (rate control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. Or choose DISABLED, in which case the device won't produce audio for this pair.", + "smithy.api#jsonName": "profile" + } + } + }, + "traits": { + "smithy.api#documentation": "One audio configuration that specifies the format for one audio pair that the device produces as output." + } + }, + "com.amazonaws.medialive#InputDeviceConfigurableAudioChannelPairProfile": { + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "VBR_AAC_HHE_16000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VBR-AAC_HHE-16000" + } + }, + "VBR_AAC_HE_64000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VBR-AAC_HE-64000" + } + }, + "VBR_AAC_LC_128000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VBR-AAC_LC-128000" + } + }, + "CBR_AAC_HQ_192000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-192000" + } + }, + "CBR_AAC_HQ_256000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-256000" + } + }, + "CBR_AAC_HQ_384000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-384000" + } + }, + "CBR_AAC_HQ_512000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-512000" + } + } + }, + "traits": { + "smithy.api#documentation": "Property of InputDeviceConfigurableAudioChannelPairConfig, which configures one audio channel that the device produces." + } + }, "com.amazonaws.medialive#InputDeviceConfigurableSettings": { "type": "structure", "members": { @@ -12753,6 +12831,13 @@ "smithy.api#documentation": "To attach this device to a MediaConnect flow, specify these parameters. To detach an existing flow, enter {} for the value of mediaconnectSettings. Only UHD devices can specify this parameter.", "smithy.api#jsonName": "mediaconnectSettings" } + }, + "AudioChannelPairs": { + "target": "com.amazonaws.medialive#__listOfInputDeviceConfigurableAudioChannelPairConfig", + "traits": { + "smithy.api#documentation": "An array of eight audio configurations, one for each audio pair in the source. Set up each audio configuration either to exclude the pair, or to format it and include it in the output from the device. This parameter applies only to UHD devices, and only when the device is configured as the source for a MediaConnect flow. For an HD device, you configure the audio by setting up audio selectors in the channel configuration.", + "smithy.api#jsonName": "audioChannelPairs" + } } }, "traits": { @@ -13274,6 +13359,84 @@ "smithy.api#documentation": "The type of the input device. For an AWS Elemental Link device that outputs resolutions up to 1080, choose \"HD\"." } }, + "com.amazonaws.medialive#InputDeviceUhdAudioChannelPairConfig": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.medialive#__integer", + "traits": { + "smithy.api#documentation": "The ID for one audio pair configuration, a value from 1 to 8.", + "smithy.api#jsonName": "id" + } + }, + "Profile": { + "target": "com.amazonaws.medialive#InputDeviceUhdAudioChannelPairProfile", + "traits": { + "smithy.api#documentation": "The profile for one audio pair configuration. This property describes one audio configuration in the format (rate control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. Or DISABLED, in which case the device won't produce audio for this pair.", + "smithy.api#jsonName": "profile" + } + } + }, + "traits": { + "smithy.api#documentation": "One audio configuration that specifies the format for one audio pair that the device produces as output." + } + }, + "com.amazonaws.medialive#InputDeviceUhdAudioChannelPairProfile": { + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "VBR_AAC_HHE_16000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VBR-AAC_HHE-16000" + } + }, + "VBR_AAC_HE_64000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VBR-AAC_HE-64000" + } + }, + "VBR_AAC_LC_128000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VBR-AAC_LC-128000" + } + }, + "CBR_AAC_HQ_192000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-192000" + } + }, + "CBR_AAC_HQ_256000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-256000" + } + }, + "CBR_AAC_HQ_384000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-384000" + } + }, + "CBR_AAC_HQ_512000": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CBR-AAC_HQ-512000" + } + } + }, + "traits": { + "smithy.api#documentation": "Property of InputDeviceUhdAudioChannelPairConfig, which describes one audio channel that the device is configured to produce." + } + }, "com.amazonaws.medialive#InputDeviceUhdSettings": { "type": "structure", "members": { @@ -13353,6 +13516,13 @@ "smithy.api#documentation": "Information about the MediaConnect flow attached to the device. Returned only if the outputType is MEDIACONNECT_FLOW.", "smithy.api#jsonName": "mediaconnectSettings" } + }, + "AudioChannelPairs": { + "target": "com.amazonaws.medialive#__listOfInputDeviceUhdAudioChannelPairConfig", + "traits": { + "smithy.api#documentation": "An array of eight audio configurations, one for each audio pair in the source. Each audio configuration specifies either to exclude the pair, or to format it and include it in the output from the UHD device. Applies only when the device is configured as the source for a MediaConnect flow.", + "smithy.api#jsonName": "audioChannelPairs" + } } }, "traits": { @@ -25899,6 +26069,15 @@ "smithy.api#documentation": "Placeholder documentation for __listOfInputDestinationRequest" } }, + "com.amazonaws.medialive#__listOfInputDeviceConfigurableAudioChannelPairConfig": { + "type": "list", + "member": { + "target": "com.amazonaws.medialive#InputDeviceConfigurableAudioChannelPairConfig" + }, + "traits": { + "smithy.api#documentation": "Placeholder documentation for __listOfInputDeviceConfigurableAudioChannelPairConfig" + } + }, "com.amazonaws.medialive#__listOfInputDeviceRequest": { "type": "list", "member": { @@ -25926,6 +26105,15 @@ "smithy.api#documentation": "Placeholder documentation for __listOfInputDeviceSummary" } }, + "com.amazonaws.medialive#__listOfInputDeviceUhdAudioChannelPairConfig": { + "type": "list", + "member": { + "target": "com.amazonaws.medialive#InputDeviceUhdAudioChannelPairConfig" + }, + "traits": { + "smithy.api#documentation": "Placeholder documentation for __listOfInputDeviceUhdAudioChannelPairConfig" + } + }, "com.amazonaws.medialive#__listOfInputSecurityGroup": { "type": "list", "member": {