Skip to content

Commit 91ec93d

Browse files
author
awstools
committed
feat(client-medialive): Adds advanced Output Locking options for Epoch Locking: Custom Epoch and Jam Sync Time
1 parent 653945f commit 91ec93d

13 files changed

+322
-105
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,13 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
320320
* OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
321321
* OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
322322
* SupportLowFramerateInputs: "DISABLED" || "ENABLED",
323+
* OutputLockingSettings: { // OutputLockingSettings
324+
* EpochLockingSettings: { // EpochLockingSettings
325+
* CustomEpoch: "STRING_VALUE",
326+
* JamSyncTime: "STRING_VALUE",
327+
* },
328+
* PipelineLockingSettings: {},
329+
* },
323330
* },
324331
* MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
325332
* MotionGraphicsInsertion: "DISABLED" || "ENABLED",
@@ -1323,6 +1330,13 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
13231330
* // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
13241331
* // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
13251332
* // SupportLowFramerateInputs: "DISABLED" || "ENABLED",
1333+
* // OutputLockingSettings: { // OutputLockingSettings
1334+
* // EpochLockingSettings: { // EpochLockingSettings
1335+
* // CustomEpoch: "STRING_VALUE",
1336+
* // JamSyncTime: "STRING_VALUE",
1337+
* // },
1338+
* // PipelineLockingSettings: {},
1339+
* // },
13261340
* // },
13271341
* // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
13281342
* // MotionGraphicsInsertion: "DISABLED" || "ENABLED",

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
331331
* // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
332332
* // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
333333
* // SupportLowFramerateInputs: "DISABLED" || "ENABLED",
334+
* // OutputLockingSettings: { // OutputLockingSettings
335+
* // EpochLockingSettings: { // EpochLockingSettings
336+
* // CustomEpoch: "STRING_VALUE",
337+
* // JamSyncTime: "STRING_VALUE",
338+
* // },
339+
* // PipelineLockingSettings: {},
340+
* // },
334341
* // },
335342
* // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
336343
* // MotionGraphicsInsertion: "DISABLED" || "ENABLED",

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
331331
* // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
332332
* // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
333333
* // SupportLowFramerateInputs: "DISABLED" || "ENABLED",
334+
* // OutputLockingSettings: { // OutputLockingSettings
335+
* // EpochLockingSettings: { // EpochLockingSettings
336+
* // CustomEpoch: "STRING_VALUE",
337+
* // JamSyncTime: "STRING_VALUE",
338+
* // },
339+
* // PipelineLockingSettings: {},
340+
* // },
334341
* // },
335342
* // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
336343
* // MotionGraphicsInsertion: "DISABLED" || "ENABLED",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import {
1414
} from "@smithy/types";
1515

1616
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
17-
import { ListOfferingsRequest, ListOfferingsResponse } from "../models/models_1";
17+
import { ListOfferingsRequest } from "../models/models_1";
18+
import { ListOfferingsResponse } from "../models/models_2";
1819
import { de_ListOfferingsCommand, se_ListOfferingsCommand } from "../protocols/Aws_restJson1";
1920

2021
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from "@smithy/types";
1515

1616
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
17-
import { ListReservationsRequest, ListReservationsResponse } from "../models/models_1";
17+
import { ListReservationsRequest, ListReservationsResponse } from "../models/models_2";
1818
import { de_ListReservationsCommand, se_ListReservationsCommand } from "../protocols/Aws_restJson1";
1919

2020
/**

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
331331
* // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
332332
* // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
333333
* // SupportLowFramerateInputs: "DISABLED" || "ENABLED",
334+
* // OutputLockingSettings: { // OutputLockingSettings
335+
* // EpochLockingSettings: { // EpochLockingSettings
336+
* // CustomEpoch: "STRING_VALUE",
337+
* // JamSyncTime: "STRING_VALUE",
338+
* // },
339+
* // PipelineLockingSettings: {},
340+
* // },
334341
* // },
335342
* // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
336343
* // MotionGraphicsInsertion: "DISABLED" || "ENABLED",

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
331331
* // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
332332
* // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
333333
* // SupportLowFramerateInputs: "DISABLED" || "ENABLED",
334+
* // OutputLockingSettings: { // OutputLockingSettings
335+
* // EpochLockingSettings: { // EpochLockingSettings
336+
* // CustomEpoch: "STRING_VALUE",
337+
* // JamSyncTime: "STRING_VALUE",
338+
* // },
339+
* // PipelineLockingSettings: {},
340+
* // },
334341
* // },
335342
* // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
336343
* // MotionGraphicsInsertion: "DISABLED" || "ENABLED",

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,13 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
355355
* // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
356356
* // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
357357
* // SupportLowFramerateInputs: "DISABLED" || "ENABLED",
358+
* // OutputLockingSettings: { // OutputLockingSettings
359+
* // EpochLockingSettings: { // EpochLockingSettings
360+
* // CustomEpoch: "STRING_VALUE",
361+
* // JamSyncTime: "STRING_VALUE",
362+
* // },
363+
* // PipelineLockingSettings: {},
364+
* // },
358365
* // },
359366
* // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
360367
* // MotionGraphicsInsertion: "DISABLED" || "ENABLED",

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,13 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
320320
* OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
321321
* OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
322322
* SupportLowFramerateInputs: "DISABLED" || "ENABLED",
323+
* OutputLockingSettings: { // OutputLockingSettings
324+
* EpochLockingSettings: { // EpochLockingSettings
325+
* CustomEpoch: "STRING_VALUE",
326+
* JamSyncTime: "STRING_VALUE",
327+
* },
328+
* PipelineLockingSettings: {},
329+
* },
323330
* },
324331
* MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
325332
* MotionGraphicsInsertion: "DISABLED" || "ENABLED",
@@ -1308,6 +1315,13 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
13081315
* // OutputLockingMode: "EPOCH_LOCKING" || "PIPELINE_LOCKING",
13091316
* // OutputTimingSource: "INPUT_CLOCK" || "SYSTEM_CLOCK",
13101317
* // SupportLowFramerateInputs: "DISABLED" || "ENABLED",
1318+
* // OutputLockingSettings: { // OutputLockingSettings
1319+
* // EpochLockingSettings: { // EpochLockingSettings
1320+
* // CustomEpoch: "STRING_VALUE",
1321+
* // JamSyncTime: "STRING_VALUE",
1322+
* // },
1323+
* // PipelineLockingSettings: {},
1324+
* // },
13111325
* // },
13121326
* // MotionGraphicsConfiguration: { // MotionGraphicsConfiguration
13131327
* // MotionGraphicsInsertion: "DISABLED" || "ENABLED",

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

Lines changed: 48 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ import {
6868
MultiplexProgramSummary,
6969
MultiplexState,
7070
MultiplexSummary,
71-
Offering,
7271
OfferingDurationUnits,
7372
OfferingType,
7473
Output,
@@ -4788,6 +4787,48 @@ export const GlobalConfigurationOutputLockingMode = {
47884787
export type GlobalConfigurationOutputLockingMode =
47894788
(typeof GlobalConfigurationOutputLockingMode)[keyof typeof GlobalConfigurationOutputLockingMode];
47904789

4790+
/**
4791+
* @public
4792+
* Epoch Locking Settings
4793+
*/
4794+
export interface EpochLockingSettings {
4795+
/**
4796+
* @public
4797+
* 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.
4798+
*/
4799+
CustomEpoch?: string;
4800+
4801+
/**
4802+
* @public
4803+
* 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.
4804+
*/
4805+
JamSyncTime?: string;
4806+
}
4807+
4808+
/**
4809+
* @public
4810+
* Pipeline Locking Settings
4811+
*/
4812+
export interface PipelineLockingSettings {}
4813+
4814+
/**
4815+
* @public
4816+
* Output Locking Settings
4817+
*/
4818+
export interface OutputLockingSettings {
4819+
/**
4820+
* @public
4821+
* Epoch Locking Settings
4822+
*/
4823+
EpochLockingSettings?: EpochLockingSettings;
4824+
4825+
/**
4826+
* @public
4827+
* Pipeline Locking Settings
4828+
*/
4829+
PipelineLockingSettings?: PipelineLockingSettings;
4830+
}
4831+
47914832
/**
47924833
* @public
47934834
* @enum
@@ -4861,6 +4902,12 @@ export interface GlobalConfiguration {
48614902
* 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.
48624903
*/
48634904
SupportLowFramerateInputs?: GlobalConfigurationLowFramerateInputs | string;
4905+
4906+
/**
4907+
* @public
4908+
* Advanced output locking settings
4909+
*/
4910+
OutputLockingSettings?: OutputLockingSettings;
48644911
}
48654912

48664913
/**
@@ -7733,108 +7780,6 @@ export interface ListOfferingsRequest {
77337780
VideoQuality?: string;
77347781
}
77357782

7736-
/**
7737-
* @public
7738-
* Placeholder documentation for ListOfferingsResponse
7739-
*/
7740-
export interface ListOfferingsResponse {
7741-
/**
7742-
* @public
7743-
* Token to retrieve the next page of results
7744-
*/
7745-
NextToken?: string;
7746-
7747-
/**
7748-
* @public
7749-
* List of offerings
7750-
*/
7751-
Offerings?: Offering[];
7752-
}
7753-
7754-
/**
7755-
* @public
7756-
* Placeholder documentation for ListReservationsRequest
7757-
*/
7758-
export interface ListReservationsRequest {
7759-
/**
7760-
* @public
7761-
* Filter by channel class, 'STANDARD' or 'SINGLE_PIPELINE'
7762-
*/
7763-
ChannelClass?: string;
7764-
7765-
/**
7766-
* @public
7767-
* Filter by codec, 'AVC', 'HEVC', 'MPEG2', 'AUDIO', or 'LINK'
7768-
*/
7769-
Codec?: string;
7770-
7771-
/**
7772-
* @public
7773-
* Placeholder documentation for MaxResults
7774-
*/
7775-
MaxResults?: number;
7776-
7777-
/**
7778-
* @public
7779-
* Filter by bitrate, 'MAX_10_MBPS', 'MAX_20_MBPS', or 'MAX_50_MBPS'
7780-
*/
7781-
MaximumBitrate?: string;
7782-
7783-
/**
7784-
* @public
7785-
* Filter by framerate, 'MAX_30_FPS' or 'MAX_60_FPS'
7786-
*/
7787-
MaximumFramerate?: string;
7788-
7789-
/**
7790-
* @public
7791-
* Placeholder documentation for __string
7792-
*/
7793-
NextToken?: string;
7794-
7795-
/**
7796-
* @public
7797-
* Filter by resolution, 'SD', 'HD', 'FHD', or 'UHD'
7798-
*/
7799-
Resolution?: string;
7800-
7801-
/**
7802-
* @public
7803-
* Filter by resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL'
7804-
*/
7805-
ResourceType?: string;
7806-
7807-
/**
7808-
* @public
7809-
* Filter by special feature, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION'
7810-
*/
7811-
SpecialFeature?: string;
7812-
7813-
/**
7814-
* @public
7815-
* Filter by video quality, 'STANDARD', 'ENHANCED', or 'PREMIUM'
7816-
*/
7817-
VideoQuality?: string;
7818-
}
7819-
7820-
/**
7821-
* @public
7822-
* Placeholder documentation for ListReservationsResponse
7823-
*/
7824-
export interface ListReservationsResponse {
7825-
/**
7826-
* @public
7827-
* Token to retrieve the next page of results
7828-
*/
7829-
NextToken?: string;
7830-
7831-
/**
7832-
* @public
7833-
* List of reservations
7834-
*/
7835-
Reservations?: Reservation[];
7836-
}
7837-
78387783
/**
78397784
* @internal
78407785
*/

0 commit comments

Comments
 (0)