Skip to content

Commit

Permalink
feat(client-medialive): Adds advanced Output Locking options for Epoc…
Browse files Browse the repository at this point in the history
…h Locking: Custom Epoch and Jam Sync Time
  • Loading branch information
awstools committed Sep 6, 2023
1 parent 653945f commit 91ec93d
Show file tree
Hide file tree
Showing 13 changed files with 322 additions and 105 deletions.
14 changes: 14 additions & 0 deletions clients/client-medialive/src/commands/CreateChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
7 changes: 7 additions & 0 deletions clients/client-medialive/src/commands/DeleteChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down
7 changes: 7 additions & 0 deletions clients/client-medialive/src/commands/StartChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 7 additions & 0 deletions clients/client-medialive/src/commands/StopChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions clients/client-medialive/src/commands/UpdateChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
151 changes: 48 additions & 103 deletions clients/client-medialive/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ import {
MultiplexProgramSummary,
MultiplexState,
MultiplexSummary,
Offering,
OfferingDurationUnits,
OfferingType,
Output,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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
*/
Expand Down
Loading

0 comments on commit 91ec93d

Please sign in to comment.