Skip to content

Commit ae28fe7

Browse files
author
awstools
committed
feat(client-medialive): AWS Elemental MediaLive now supports configuring how SCTE 35 passthrough triggers segment breaks in HLS and MediaPackage output groups. Previously, messages triggered breaks in all these output groups. The new option is to trigger segment breaks only in groups that have SCTE 35 passthrough enabled.
1 parent 20098c1 commit ae28fe7

File tree

12 files changed

+180
-117
lines changed

12 files changed

+180
-117
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
206206
* WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
207207
* },
208208
* },
209+
* Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
209210
* },
210211
* BlackoutSlate: { // BlackoutSlate
211212
* BlackoutSlateImage: {
@@ -1251,6 +1252,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
12511252
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
12521253
* // },
12531254
* // },
1255+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
12541256
* // },
12551257
* // BlackoutSlate: { // BlackoutSlate
12561258
* // BlackoutSlateImage: {

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
9-
import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_1";
9+
import { DeleteChannelRequest } from "../models/models_1";
10+
import { DeleteChannelResponse } from "../models/models_2";
1011
import { de_DeleteChannelCommand, se_DeleteChannelCommand } from "../protocols/Aws_restJson1";
1112

1213
/**
@@ -217,6 +218,7 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
217218
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
218219
* // },
219220
* // },
221+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
220222
* // },
221223
* // BlackoutSlate: { // BlackoutSlate
222224
* // BlackoutSlateImage: {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
217217
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
218218
* // },
219219
* // },
220+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
220221
* // },
221222
* // BlackoutSlate: { // BlackoutSlate
222223
* // BlackoutSlateImage: {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
220220
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
221221
* // },
222222
* // },
223+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
223224
* // },
224225
* // BlackoutSlate: { // BlackoutSlate
225226
* // BlackoutSlateImage: {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
217217
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
218218
* // },
219219
* // },
220+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
220221
* // },
221222
* // BlackoutSlate: { // BlackoutSlate
222223
* // BlackoutSlateImage: {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
217217
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
218218
* // },
219219
* // },
220+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
220221
* // },
221222
* // BlackoutSlate: { // BlackoutSlate
222223
* // BlackoutSlateImage: {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
241241
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
242242
* // },
243243
* // },
244+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
244245
* // },
245246
* // BlackoutSlate: { // BlackoutSlate
246247
* // BlackoutSlateImage: {

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
206206
* WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
207207
* },
208208
* },
209+
* Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
209210
* },
210211
* BlackoutSlate: { // BlackoutSlate
211212
* BlackoutSlateImage: {
@@ -1236,6 +1237,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
12361237
* // WebDeliveryAllowedFlag: "FOLLOW" || "IGNORE",
12371238
* // },
12381239
* // },
1240+
* // Scte35SegmentationScope: "ALL_OUTPUT_GROUPS" || "SCTE35_ENABLED_OUTPUT_GROUPS",
12391241
* // },
12401242
* // BlackoutSlate: { // BlackoutSlate
12411243
* // BlackoutSlateImage: {

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

Lines changed: 23 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -5219,6 +5219,20 @@ export interface AvailSettings {
52195219
Scte35TimeSignalApos?: Scte35TimeSignalApos;
52205220
}
52215221

5222+
/**
5223+
* @public
5224+
* @enum
5225+
*/
5226+
export const Scte35SegmentationScope = {
5227+
ALL_OUTPUT_GROUPS: "ALL_OUTPUT_GROUPS",
5228+
SCTE35_ENABLED_OUTPUT_GROUPS: "SCTE35_ENABLED_OUTPUT_GROUPS",
5229+
} as const;
5230+
5231+
/**
5232+
* @public
5233+
*/
5234+
export type Scte35SegmentationScope = (typeof Scte35SegmentationScope)[keyof typeof Scte35SegmentationScope];
5235+
52225236
/**
52235237
* Avail Configuration
52245238
* @public
@@ -5229,6 +5243,15 @@ export interface AvailConfiguration {
52295243
* @public
52305244
*/
52315245
AvailSettings?: AvailSettings;
5246+
5247+
/**
5248+
* Configures whether SCTE 35 passthrough triggers segment breaks in all output groups that use segmented outputs. Insertion of a SCTE 35 message typically results in a segment break, in addition to the regular cadence of breaks. The segment breaks appear in video outputs, audio outputs, and captions outputs (if any).
5249+
*
5250+
* ALL_OUTPUT_GROUPS: Default. Insert the segment break in in all output groups that have segmented outputs. This is the legacy behavior.
5251+
* SCTE35_ENABLED_OUTPUT_GROUPS: Insert the segment break only in output groups that have SCTE 35 passthrough enabled. This is the recommended value, because it reduces unnecessary segment breaks.
5252+
* @public
5253+
*/
5254+
Scte35SegmentationScope?: Scte35SegmentationScope;
52325255
}
52335256

52345257
/**
@@ -7614,119 +7637,3 @@ export interface DeleteChannelRequest {
76147637
*/
76157638
ChannelId: string | undefined;
76167639
}
7617-
7618-
/**
7619-
* Placeholder documentation for DeleteChannelResponse
7620-
* @public
7621-
*/
7622-
export interface DeleteChannelResponse {
7623-
/**
7624-
* The unique arn of the channel.
7625-
* @public
7626-
*/
7627-
Arn?: string;
7628-
7629-
/**
7630-
* Specification of CDI inputs for this channel
7631-
* @public
7632-
*/
7633-
CdiInputSpecification?: CdiInputSpecification;
7634-
7635-
/**
7636-
* The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
7637-
* @public
7638-
*/
7639-
ChannelClass?: ChannelClass;
7640-
7641-
/**
7642-
* A list of destinations of the channel. For UDP outputs, there is one
7643-
* destination per output. For other types (HLS, for example), there is
7644-
* one destination per packager.
7645-
* @public
7646-
*/
7647-
Destinations?: OutputDestination[];
7648-
7649-
/**
7650-
* The endpoints where outgoing connections initiate from
7651-
* @public
7652-
*/
7653-
EgressEndpoints?: ChannelEgressEndpoint[];
7654-
7655-
/**
7656-
* Encoder Settings
7657-
* @public
7658-
*/
7659-
EncoderSettings?: EncoderSettings;
7660-
7661-
/**
7662-
* The unique id of the channel.
7663-
* @public
7664-
*/
7665-
Id?: string;
7666-
7667-
/**
7668-
* List of input attachments for channel.
7669-
* @public
7670-
*/
7671-
InputAttachments?: InputAttachment[];
7672-
7673-
/**
7674-
* Specification of network and file inputs for this channel
7675-
* @public
7676-
*/
7677-
InputSpecification?: InputSpecification;
7678-
7679-
/**
7680-
* The log level being written to CloudWatch Logs.
7681-
* @public
7682-
*/
7683-
LogLevel?: LogLevel;
7684-
7685-
/**
7686-
* Maintenance settings for this channel.
7687-
* @public
7688-
*/
7689-
Maintenance?: MaintenanceStatus;
7690-
7691-
/**
7692-
* The name of the channel. (user-mutable)
7693-
* @public
7694-
*/
7695-
Name?: string;
7696-
7697-
/**
7698-
* Runtime details for the pipelines of a running channel.
7699-
* @public
7700-
*/
7701-
PipelineDetails?: PipelineDetail[];
7702-
7703-
/**
7704-
* The number of currently healthy pipelines.
7705-
* @public
7706-
*/
7707-
PipelinesRunningCount?: number;
7708-
7709-
/**
7710-
* The Amazon Resource Name (ARN) of the role assumed when running the Channel.
7711-
* @public
7712-
*/
7713-
RoleArn?: string;
7714-
7715-
/**
7716-
* Placeholder documentation for ChannelState
7717-
* @public
7718-
*/
7719-
State?: ChannelState;
7720-
7721-
/**
7722-
* A collection of key-value pairs.
7723-
* @public
7724-
*/
7725-
Tags?: Record<string, string>;
7726-
7727-
/**
7728-
* Settings for VPC output
7729-
* @public
7730-
*/
7731-
Vpc?: VpcOutputSettingsDescription;
7732-
}

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

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,122 @@ import {
9090
TransferringInputDeviceSummary,
9191
} from "./models_1";
9292

93+
/**
94+
* Placeholder documentation for DeleteChannelResponse
95+
* @public
96+
*/
97+
export interface DeleteChannelResponse {
98+
/**
99+
* The unique arn of the channel.
100+
* @public
101+
*/
102+
Arn?: string;
103+
104+
/**
105+
* Specification of CDI inputs for this channel
106+
* @public
107+
*/
108+
CdiInputSpecification?: CdiInputSpecification;
109+
110+
/**
111+
* The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
112+
* @public
113+
*/
114+
ChannelClass?: ChannelClass;
115+
116+
/**
117+
* A list of destinations of the channel. For UDP outputs, there is one
118+
* destination per output. For other types (HLS, for example), there is
119+
* one destination per packager.
120+
* @public
121+
*/
122+
Destinations?: OutputDestination[];
123+
124+
/**
125+
* The endpoints where outgoing connections initiate from
126+
* @public
127+
*/
128+
EgressEndpoints?: ChannelEgressEndpoint[];
129+
130+
/**
131+
* Encoder Settings
132+
* @public
133+
*/
134+
EncoderSettings?: EncoderSettings;
135+
136+
/**
137+
* The unique id of the channel.
138+
* @public
139+
*/
140+
Id?: string;
141+
142+
/**
143+
* List of input attachments for channel.
144+
* @public
145+
*/
146+
InputAttachments?: InputAttachment[];
147+
148+
/**
149+
* Specification of network and file inputs for this channel
150+
* @public
151+
*/
152+
InputSpecification?: InputSpecification;
153+
154+
/**
155+
* The log level being written to CloudWatch Logs.
156+
* @public
157+
*/
158+
LogLevel?: LogLevel;
159+
160+
/**
161+
* Maintenance settings for this channel.
162+
* @public
163+
*/
164+
Maintenance?: MaintenanceStatus;
165+
166+
/**
167+
* The name of the channel. (user-mutable)
168+
* @public
169+
*/
170+
Name?: string;
171+
172+
/**
173+
* Runtime details for the pipelines of a running channel.
174+
* @public
175+
*/
176+
PipelineDetails?: PipelineDetail[];
177+
178+
/**
179+
* The number of currently healthy pipelines.
180+
* @public
181+
*/
182+
PipelinesRunningCount?: number;
183+
184+
/**
185+
* The Amazon Resource Name (ARN) of the role assumed when running the Channel.
186+
* @public
187+
*/
188+
RoleArn?: string;
189+
190+
/**
191+
* Placeholder documentation for ChannelState
192+
* @public
193+
*/
194+
State?: ChannelState;
195+
196+
/**
197+
* A collection of key-value pairs.
198+
* @public
199+
*/
200+
Tags?: Record<string, string>;
201+
202+
/**
203+
* Settings for VPC output
204+
* @public
205+
*/
206+
Vpc?: VpcOutputSettingsDescription;
207+
}
208+
93209
/**
94210
* Placeholder documentation for DeleteCloudWatchAlarmTemplateRequest
95211
* @public

0 commit comments

Comments
 (0)