From 91ec93df6fdc37ec2c91af89186cd934e0e1ed89 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 6 Sep 2023 18:16:37 +0000 Subject: [PATCH] feat(client-medialive): Adds advanced Output Locking options for Epoch Locking: Custom Epoch and Jam Sync Time --- .../src/commands/CreateChannelCommand.ts | 14 ++ .../src/commands/DeleteChannelCommand.ts | 7 + .../src/commands/DescribeChannelCommand.ts | 7 + .../src/commands/ListOfferingsCommand.ts | 3 +- .../src/commands/ListReservationsCommand.ts | 2 +- .../src/commands/StartChannelCommand.ts | 7 + .../src/commands/StopChannelCommand.ts | 7 + .../src/commands/UpdateChannelClassCommand.ts | 7 + .../src/commands/UpdateChannelCommand.ts | 14 ++ .../client-medialive/src/models/models_1.ts | 151 ++++++------------ .../client-medialive/src/models/models_2.ts | 103 ++++++++++++ .../src/protocols/Aws_restJson1.ts | 49 ++++++ codegen/sdk-codegen/aws-models/medialive.json | 56 +++++++ 13 files changed, 322 insertions(+), 105 deletions(-) diff --git a/clients/client-medialive/src/commands/CreateChannelCommand.ts b/clients/client-medialive/src/commands/CreateChannelCommand.ts index 08b5a9532242..62d93615a204 100644 --- a/clients/client-medialive/src/commands/CreateChannelCommand.ts +++ b/clients/client-medialive/src/commands/CreateChannelCommand.ts @@ -320,6 +320,13 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met * OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * OutputLockingSettings: { // OutputLockingSettings + * EpochLockingSettings: { // EpochLockingSettings + * CustomEpoch: "STRING_VALUE", + * JamSyncTime: "STRING_VALUE", + * }, + * PipelineLockingSettings: {}, + * }, * }, * MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * MotionGraphicsInsertion: "DISABLED" || "ENABLED", @@ -1323,6 +1330,13 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met * // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * // SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * // OutputLockingSettings: { // OutputLockingSettings + * // EpochLockingSettings: { // EpochLockingSettings + * // CustomEpoch: "STRING_VALUE", + * // JamSyncTime: "STRING_VALUE", + * // }, + * // PipelineLockingSettings: {}, + * // }, * // }, * // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * // MotionGraphicsInsertion: "DISABLED" || "ENABLED", diff --git a/clients/client-medialive/src/commands/DeleteChannelCommand.ts b/clients/client-medialive/src/commands/DeleteChannelCommand.ts index 431905ae3671..579e01aa17c5 100644 --- a/clients/client-medialive/src/commands/DeleteChannelCommand.ts +++ b/clients/client-medialive/src/commands/DeleteChannelCommand.ts @@ -331,6 +331,13 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met * // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * // SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * // OutputLockingSettings: { // OutputLockingSettings + * // EpochLockingSettings: { // EpochLockingSettings + * // CustomEpoch: "STRING_VALUE", + * // JamSyncTime: "STRING_VALUE", + * // }, + * // PipelineLockingSettings: {}, + * // }, * // }, * // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * // MotionGraphicsInsertion: "DISABLED" || "ENABLED", diff --git a/clients/client-medialive/src/commands/DescribeChannelCommand.ts b/clients/client-medialive/src/commands/DescribeChannelCommand.ts index f269ffb78bb4..4bc08e5f3aeb 100644 --- a/clients/client-medialive/src/commands/DescribeChannelCommand.ts +++ b/clients/client-medialive/src/commands/DescribeChannelCommand.ts @@ -331,6 +331,13 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _ * // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * // SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * // OutputLockingSettings: { // OutputLockingSettings + * // EpochLockingSettings: { // EpochLockingSettings + * // CustomEpoch: "STRING_VALUE", + * // JamSyncTime: "STRING_VALUE", + * // }, + * // PipelineLockingSettings: {}, + * // }, * // }, * // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * // MotionGraphicsInsertion: "DISABLED" || "ENABLED", diff --git a/clients/client-medialive/src/commands/ListOfferingsCommand.ts b/clients/client-medialive/src/commands/ListOfferingsCommand.ts index 67b790e402fe..cfd00c8512e3 100644 --- a/clients/client-medialive/src/commands/ListOfferingsCommand.ts +++ b/clients/client-medialive/src/commands/ListOfferingsCommand.ts @@ -14,7 +14,8 @@ import { } from "@smithy/types"; import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient"; -import { ListOfferingsRequest, ListOfferingsResponse } from "../models/models_1"; +import { ListOfferingsRequest } from "../models/models_1"; +import { ListOfferingsResponse } from "../models/models_2"; import { de_ListOfferingsCommand, se_ListOfferingsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-medialive/src/commands/ListReservationsCommand.ts b/clients/client-medialive/src/commands/ListReservationsCommand.ts index 84928dad3ea5..83550b1f77ff 100644 --- a/clients/client-medialive/src/commands/ListReservationsCommand.ts +++ b/clients/client-medialive/src/commands/ListReservationsCommand.ts @@ -14,7 +14,7 @@ import { } from "@smithy/types"; import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient"; -import { ListReservationsRequest, ListReservationsResponse } from "../models/models_1"; +import { ListReservationsRequest, ListReservationsResponse } from "../models/models_2"; import { de_ListReservationsCommand, se_ListReservationsCommand } from "../protocols/Aws_restJson1"; /** diff --git a/clients/client-medialive/src/commands/StartChannelCommand.ts b/clients/client-medialive/src/commands/StartChannelCommand.ts index 083593633148..877859dd4757 100644 --- a/clients/client-medialive/src/commands/StartChannelCommand.ts +++ b/clients/client-medialive/src/commands/StartChannelCommand.ts @@ -331,6 +331,13 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad * // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * // SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * // OutputLockingSettings: { // OutputLockingSettings + * // EpochLockingSettings: { // EpochLockingSettings + * // CustomEpoch: "STRING_VALUE", + * // JamSyncTime: "STRING_VALUE", + * // }, + * // PipelineLockingSettings: {}, + * // }, * // }, * // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * // MotionGraphicsInsertion: "DISABLED" || "ENABLED", diff --git a/clients/client-medialive/src/commands/StopChannelCommand.ts b/clients/client-medialive/src/commands/StopChannelCommand.ts index d63b965ffa2e..372320e3f115 100644 --- a/clients/client-medialive/src/commands/StopChannelCommand.ts +++ b/clients/client-medialive/src/commands/StopChannelCommand.ts @@ -331,6 +331,13 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat * // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * // SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * // OutputLockingSettings: { // OutputLockingSettings + * // EpochLockingSettings: { // EpochLockingSettings + * // CustomEpoch: "STRING_VALUE", + * // JamSyncTime: "STRING_VALUE", + * // }, + * // PipelineLockingSettings: {}, + * // }, * // }, * // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * // MotionGraphicsInsertion: "DISABLED" || "ENABLED", diff --git a/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts b/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts index 8f5212fa9ae6..ddd092b9c719 100644 --- a/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts +++ b/clients/client-medialive/src/commands/UpdateChannelClassCommand.ts @@ -355,6 +355,13 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo * // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * // SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * // OutputLockingSettings: { // OutputLockingSettings + * // EpochLockingSettings: { // EpochLockingSettings + * // CustomEpoch: "STRING_VALUE", + * // JamSyncTime: "STRING_VALUE", + * // }, + * // PipelineLockingSettings: {}, + * // }, * // }, * // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * // MotionGraphicsInsertion: "DISABLED" || "ENABLED", diff --git a/clients/client-medialive/src/commands/UpdateChannelCommand.ts b/clients/client-medialive/src/commands/UpdateChannelCommand.ts index dc1a507f8988..8b13987dcdbd 100644 --- a/clients/client-medialive/src/commands/UpdateChannelCommand.ts +++ b/clients/client-medialive/src/commands/UpdateChannelCommand.ts @@ -320,6 +320,13 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met * OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * OutputLockingSettings: { // OutputLockingSettings + * EpochLockingSettings: { // EpochLockingSettings + * CustomEpoch: "STRING_VALUE", + * JamSyncTime: "STRING_VALUE", + * }, + * PipelineLockingSettings: {}, + * }, * }, * MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * MotionGraphicsInsertion: "DISABLED" || "ENABLED", @@ -1308,6 +1315,13 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met * // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING", * // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK", * // SupportLowFramerateInputs: "DISABLED" || "ENABLED", + * // OutputLockingSettings: { // OutputLockingSettings + * // EpochLockingSettings: { // EpochLockingSettings + * // CustomEpoch: "STRING_VALUE", + * // JamSyncTime: "STRING_VALUE", + * // }, + * // PipelineLockingSettings: {}, + * // }, * // }, * // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration * // MotionGraphicsInsertion: "DISABLED" || "ENABLED", diff --git a/clients/client-medialive/src/models/models_1.ts b/clients/client-medialive/src/models/models_1.ts index e0b516d47ac5..665651a81d23 100644 --- a/clients/client-medialive/src/models/models_1.ts +++ b/clients/client-medialive/src/models/models_1.ts @@ -68,7 +68,6 @@ import { MultiplexProgramSummary, MultiplexState, MultiplexSummary, - Offering, OfferingDurationUnits, OfferingType, Output, @@ -4788,6 +4787,48 @@ export const GlobalConfigurationOutputLockingMode = { export type GlobalConfigurationOutputLockingMode = (typeof GlobalConfigurationOutputLockingMode)[keyof typeof GlobalConfigurationOutputLockingMode]; +/** + * @public + * Epoch Locking Settings + */ +export interface EpochLockingSettings { + /** + * @public + * Optional. Enter a value here to use a custom epoch, instead of the standard epoch (which started at 1970-01-01T00:00:00 UTC). Specify the start time of the custom epoch, in YYYY-MM-DDTHH:MM:SS in UTC. The time must be 2000-01-01T00:00:00 or later. Always set the MM:SS portion to 00:00. + */ + CustomEpoch?: string; + + /** + * @public + * Optional. Enter a time for the jam sync. The default is midnight UTC. When epoch locking is enabled, MediaLive performs a daily jam sync on every output encode to ensure timecodes don’t diverge from the wall clock. The jam sync applies only to encodes with frame rate of 29.97 or 59.94 FPS. To override, enter a time in HH:MM:SS in UTC. Always set the MM:SS portion to 00:00. + */ + JamSyncTime?: string; +} + +/** + * @public + * Pipeline Locking Settings + */ +export interface PipelineLockingSettings {} + +/** + * @public + * Output Locking Settings + */ +export interface OutputLockingSettings { + /** + * @public + * Epoch Locking Settings + */ + EpochLockingSettings?: EpochLockingSettings; + + /** + * @public + * Pipeline Locking Settings + */ + PipelineLockingSettings?: PipelineLockingSettings; +} + /** * @public * @enum @@ -4861,6 +4902,12 @@ export interface GlobalConfiguration { * Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second. */ SupportLowFramerateInputs?: GlobalConfigurationLowFramerateInputs | string; + + /** + * @public + * Advanced output locking settings + */ + OutputLockingSettings?: OutputLockingSettings; } /** @@ -7733,108 +7780,6 @@ export interface ListOfferingsRequest { VideoQuality?: string; } -/** - * @public - * Placeholder documentation for ListOfferingsResponse - */ -export interface ListOfferingsResponse { - /** - * @public - * Token to retrieve the next page of results - */ - NextToken?: string; - - /** - * @public - * List of offerings - */ - Offerings?: Offering[]; -} - -/** - * @public - * Placeholder documentation for ListReservationsRequest - */ -export interface ListReservationsRequest { - /** - * @public - * Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE' - */ - ChannelClass?: string; - - /** - * @public - * Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', or 'LINK' - */ - Codec?: string; - - /** - * @public - * Placeholder documentation for MaxResults - */ - MaxResults?: number; - - /** - * @public - * Filter by bitrate, 'MAX_10_MBPS', 'MAX_20_MBPS', or 'MAX_50_MBPS' - */ - MaximumBitrate?: string; - - /** - * @public - * Filter by framerate, 'MAX_30_FPS' or 'MAX_60_FPS' - */ - MaximumFramerate?: string; - - /** - * @public - * Placeholder documentation for __string - */ - NextToken?: string; - - /** - * @public - * Filter by resolution, 'SD', 'HD', 'FHD', or 'UHD' - */ - Resolution?: string; - - /** - * @public - * Filter by resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL' - */ - ResourceType?: string; - - /** - * @public - * Filter by special feature, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION' - */ - SpecialFeature?: string; - - /** - * @public - * Filter by video quality, 'STANDARD', 'ENHANCED', or 'PREMIUM' - */ - VideoQuality?: string; -} - -/** - * @public - * Placeholder documentation for ListReservationsResponse - */ -export interface ListReservationsResponse { - /** - * @public - * Token to retrieve the next page of results - */ - NextToken?: string; - - /** - * @public - * List of reservations - */ - Reservations?: Reservation[]; -} - /** * @internal */ diff --git a/clients/client-medialive/src/models/models_2.ts b/clients/client-medialive/src/models/models_2.ts index d17c4d8f9b54..c5e10b25b611 100644 --- a/clients/client-medialive/src/models/models_2.ts +++ b/clients/client-medialive/src/models/models_2.ts @@ -25,6 +25,7 @@ import { MediaConnectFlowRequest, MultiplexOutputDestination, MultiplexState, + Offering, OutputDestination, VpcOutputSettingsDescription, } from "./models_0"; @@ -42,6 +43,108 @@ import { Reservation, } from "./models_1"; +/** + * @public + * Placeholder documentation for ListOfferingsResponse + */ +export interface ListOfferingsResponse { + /** + * @public + * Token to retrieve the next page of results + */ + NextToken?: string; + + /** + * @public + * List of offerings + */ + Offerings?: Offering[]; +} + +/** + * @public + * Placeholder documentation for ListReservationsRequest + */ +export interface ListReservationsRequest { + /** + * @public + * Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE' + */ + ChannelClass?: string; + + /** + * @public + * Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', or 'LINK' + */ + Codec?: string; + + /** + * @public + * Placeholder documentation for MaxResults + */ + MaxResults?: number; + + /** + * @public + * Filter by bitrate, 'MAX_10_MBPS', 'MAX_20_MBPS', or 'MAX_50_MBPS' + */ + MaximumBitrate?: string; + + /** + * @public + * Filter by framerate, 'MAX_30_FPS' or 'MAX_60_FPS' + */ + MaximumFramerate?: string; + + /** + * @public + * Placeholder documentation for __string + */ + NextToken?: string; + + /** + * @public + * Filter by resolution, 'SD', 'HD', 'FHD', or 'UHD' + */ + Resolution?: string; + + /** + * @public + * Filter by resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL' + */ + ResourceType?: string; + + /** + * @public + * Filter by special feature, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION' + */ + SpecialFeature?: string; + + /** + * @public + * Filter by video quality, 'STANDARD', 'ENHANCED', or 'PREMIUM' + */ + VideoQuality?: string; +} + +/** + * @public + * Placeholder documentation for ListReservationsResponse + */ +export interface ListReservationsResponse { + /** + * @public + * Token to retrieve the next page of results + */ + NextToken?: string; + + /** + * @public + * List of reservations + */ + Reservations?: Reservation[]; +} + /** * @public * Placeholder documentation for ListTagsForResourceRequest diff --git a/clients/client-medialive/src/protocols/Aws_restJson1.ts b/clients/client-medialive/src/protocols/Aws_restJson1.ts index c9f961a083ab..2fedb87133e4 100644 --- a/clients/client-medialive/src/protocols/Aws_restJson1.ts +++ b/clients/client-medialive/src/protocols/Aws_restJson1.ts @@ -324,6 +324,7 @@ import { ConflictException, DolbyVision81Settings, EncoderSettings, + EpochLockingSettings, Esam, FeatureActivations, FixedModeScheduleActionStartSettings, @@ -372,8 +373,10 @@ import { NotFoundException, OutputGroup, OutputGroupSettings, + OutputLockingSettings, PauseStateScheduleActionSettings, PipelineDetail, + PipelineLockingSettings, PipelinePauseStateSettings, Rec601Settings, Rec709Settings, @@ -7630,6 +7633,16 @@ const se_EncoderSettings = (input: EncoderSettings, context: __SerdeContext): an }); }; +/** + * serializeAws_restJson1EpochLockingSettings + */ +const se_EpochLockingSettings = (input: EpochLockingSettings, context: __SerdeContext): any => { + return take(input, { + customEpoch: [, , `CustomEpoch`], + jamSyncTime: [, , `JamSyncTime`], + }); +}; + /** * serializeAws_restJson1Esam */ @@ -7779,6 +7792,7 @@ const se_GlobalConfiguration = (input: GlobalConfiguration, context: __SerdeCont inputEndAction: [, , `InputEndAction`], inputLossBehavior: [, (_) => se_InputLossBehavior(_, context), `InputLossBehavior`], outputLockingMode: [, , `OutputLockingMode`], + outputLockingSettings: [, (_) => se_OutputLockingSettings(_, context), `OutputLockingSettings`], outputTimingSource: [, , `OutputTimingSource`], supportLowFramerateInputs: [, , `SupportLowFramerateInputs`], }); @@ -8787,6 +8801,16 @@ const se_OutputLocationRef = (input: OutputLocationRef, context: __SerdeContext) }); }; +/** + * serializeAws_restJson1OutputLockingSettings + */ +const se_OutputLockingSettings = (input: OutputLockingSettings, context: __SerdeContext): any => { + return take(input, { + epochLockingSettings: [, (_) => se_EpochLockingSettings(_, context), `EpochLockingSettings`], + pipelineLockingSettings: [, _json, `PipelineLockingSettings`], + }); +}; + /** * serializeAws_restJson1OutputSettings */ @@ -8814,6 +8838,8 @@ const se_PauseStateScheduleActionSettings = (input: PauseStateScheduleActionSett }); }; +// se_PipelineLockingSettings omitted. + /** * serializeAws_restJson1PipelinePauseStateSettings */ @@ -10630,6 +10656,16 @@ const de_EncoderSettings = (output: any, context: __SerdeContext): EncoderSettin }) as any; }; +/** + * deserializeAws_restJson1EpochLockingSettings + */ +const de_EpochLockingSettings = (output: any, context: __SerdeContext): EpochLockingSettings => { + return take(output, { + CustomEpoch: [, __expectString, `customEpoch`], + JamSyncTime: [, __expectString, `jamSyncTime`], + }) as any; +}; + /** * deserializeAws_restJson1Esam */ @@ -10779,6 +10815,7 @@ const de_GlobalConfiguration = (output: any, context: __SerdeContext): GlobalCon InputEndAction: [, __expectString, `inputEndAction`], InputLossBehavior: [, (_: any) => de_InputLossBehavior(_, context), `inputLossBehavior`], OutputLockingMode: [, __expectString, `outputLockingMode`], + OutputLockingSettings: [, (_: any) => de_OutputLockingSettings(_, context), `outputLockingSettings`], OutputTimingSource: [, __expectString, `outputTimingSource`], SupportLowFramerateInputs: [, __expectString, `supportLowFramerateInputs`], }) as any; @@ -12013,6 +12050,16 @@ const de_OutputLocationRef = (output: any, context: __SerdeContext): OutputLocat }) as any; }; +/** + * deserializeAws_restJson1OutputLockingSettings + */ +const de_OutputLockingSettings = (output: any, context: __SerdeContext): OutputLockingSettings => { + return take(output, { + EpochLockingSettings: [, (_: any) => de_EpochLockingSettings(_, context), `epochLockingSettings`], + PipelineLockingSettings: [, _json, `pipelineLockingSettings`], + }) as any; +}; + /** * deserializeAws_restJson1OutputSettings */ @@ -12056,6 +12103,8 @@ const de_PipelineDetail = (output: any, context: __SerdeContext): PipelineDetail }) as any; }; +// de_PipelineLockingSettings omitted. + /** * deserializeAws_restJson1PipelinePauseStateSettings */ diff --git a/codegen/sdk-codegen/aws-models/medialive.json b/codegen/sdk-codegen/aws-models/medialive.json index eaddf4d37f64..e1eddb1c2101 100644 --- a/codegen/sdk-codegen/aws-models/medialive.json +++ b/codegen/sdk-codegen/aws-models/medialive.json @@ -8518,6 +8518,28 @@ "smithy.api#documentation": "Encoder Settings" } }, + "com.amazonaws.medialive#EpochLockingSettings": { + "type": "structure", + "members": { + "CustomEpoch": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "Optional. Enter a value here to use a custom epoch, instead of the standard epoch (which started at 1970-01-01T00:00:00 UTC). Specify the start time of the custom epoch, in YYYY-MM-DDTHH:MM:SS in UTC. The time must be 2000-01-01T00:00:00 or later. Always set the MM:SS portion to 00:00.", + "smithy.api#jsonName": "customEpoch" + } + }, + "JamSyncTime": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "Optional. Enter a time for the jam sync. The default is midnight UTC. When epoch locking is enabled, MediaLive performs a daily jam sync on every output encode to ensure timecodes don’t diverge from the wall clock. The jam sync applies only to encodes with frame rate of 29.97 or 59.94 FPS. To override, enter a time in HH:MM:SS in UTC. Always set the MM:SS portion to 00:00.", + "smithy.api#jsonName": "jamSyncTime" + } + } + }, + "traits": { + "smithy.api#documentation": "Epoch Locking Settings" + } + }, "com.amazonaws.medialive#Esam": { "type": "structure", "members": { @@ -9100,6 +9122,13 @@ "smithy.api#documentation": "Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.", "smithy.api#jsonName": "supportLowFramerateInputs" } + }, + "OutputLockingSettings": { + "target": "com.amazonaws.medialive#OutputLockingSettings", + "traits": { + "smithy.api#documentation": "Advanced output locking settings", + "smithy.api#jsonName": "outputLockingSettings" + } } }, "traits": { @@ -19022,6 +19051,26 @@ "smithy.api#documentation": "Reference to an OutputDestination ID defined in the channel" } }, + "com.amazonaws.medialive#OutputLockingSettings": { + "type": "structure", + "members": { + "EpochLockingSettings": { + "target": "com.amazonaws.medialive#EpochLockingSettings", + "traits": { + "smithy.api#jsonName": "epochLockingSettings" + } + }, + "PipelineLockingSettings": { + "target": "com.amazonaws.medialive#PipelineLockingSettings", + "traits": { + "smithy.api#jsonName": "pipelineLockingSettings" + } + } + }, + "traits": { + "smithy.api#documentation": "Output Locking Settings" + } + }, "com.amazonaws.medialive#OutputSettings": { "type": "structure", "members": { @@ -19162,6 +19211,13 @@ "smithy.api#documentation": "Pipeline ID" } }, + "com.amazonaws.medialive#PipelineLockingSettings": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "Pipeline Locking Settings" + } + }, "com.amazonaws.medialive#PipelinePauseStateSettings": { "type": "structure", "members": {