Skip to content

Commit fc43d06

Browse files
author
awstools
committed
feat(client-mediapackage-vod): This release adds ScteMarkersSource as an available field for Dash Packaging Configurations. When set to MANIFEST, MediaPackage will source the SCTE-35 markers from the manifest. When set to SEGMENTS, MediaPackage will source the SCTE-35 markers from the segments.
1 parent 07f9765 commit fc43d06

File tree

3 files changed

+51
-16
lines changed

3 files changed

+51
-16
lines changed

clients/client-mediapackage-vod/src/models/models_0.ts

+10
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ export enum Profile {
7171
NONE = "NONE",
7272
}
7373

74+
export enum ScteMarkersSource {
75+
MANIFEST = "MANIFEST",
76+
SEGMENTS = "SEGMENTS",
77+
}
78+
7479
export enum StreamOrder {
7580
ORIGINAL = "ORIGINAL",
7681
VIDEO_BITRATE_ASCENDING = "VIDEO_BITRATE_ASCENDING",
@@ -130,6 +135,11 @@ export interface DashManifest {
130135
*/
131136
Profile?: Profile | string;
132137

138+
/**
139+
* The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
140+
*/
141+
ScteMarkersSource?: ScteMarkersSource | string;
142+
133143
/**
134144
* A StreamSelection configuration.
135145
*/

clients/client-mediapackage-vod/src/protocols/Aws_restJson1.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1968,6 +1968,8 @@ const serializeAws_restJson1DashManifest = (input: DashManifest, context: __Serd
19681968
...(input.MinBufferTimeSeconds !== undefined &&
19691969
input.MinBufferTimeSeconds !== null && { minBufferTimeSeconds: input.MinBufferTimeSeconds }),
19701970
...(input.Profile !== undefined && input.Profile !== null && { profile: input.Profile }),
1971+
...(input.ScteMarkersSource !== undefined &&
1972+
input.ScteMarkersSource !== null && { scteMarkersSource: input.ScteMarkersSource }),
19711973
...(input.StreamSelection !== undefined &&
19721974
input.StreamSelection !== null && {
19731975
streamSelection: serializeAws_restJson1StreamSelection(input.StreamSelection, context),
@@ -2306,6 +2308,7 @@ const deserializeAws_restJson1DashManifest = (output: any, context: __SerdeConte
23062308
ManifestName: __expectString(output.manifestName),
23072309
MinBufferTimeSeconds: __expectInt32(output.minBufferTimeSeconds),
23082310
Profile: __expectString(output.profile),
2311+
ScteMarkersSource: __expectString(output.scteMarkersSource),
23092312
StreamSelection:
23102313
output.streamSelection !== undefined && output.streamSelection !== null
23112314
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)

codegen/sdk-codegen/aws-models/mediapackage-vod.json

+38-16
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,13 @@
761761
"smithy.api#jsonName": "profile"
762762
}
763763
},
764+
"ScteMarkersSource": {
765+
"target": "com.amazonaws.mediapackagevod#ScteMarkersSource",
766+
"traits": {
767+
"smithy.api#documentation": "The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.",
768+
"smithy.api#jsonName": "scteMarkersSource"
769+
}
770+
},
764771
"StreamSelection": {
765772
"target": "com.amazonaws.mediapackagevod#StreamSelection",
766773
"traits": {
@@ -1838,6 +1845,21 @@
18381845
},
18391846
"com.amazonaws.mediapackagevod#MediaPackageVod": {
18401847
"type": "service",
1848+
"traits": {
1849+
"aws.api#service": {
1850+
"sdkId": "MediaPackage Vod",
1851+
"arnNamespace": "mediapackage-vod",
1852+
"cloudFormationName": "MediaPackageVod",
1853+
"cloudTrailEventSource": "mediapackagevod.amazonaws.com",
1854+
"endpointPrefix": "mediapackage-vod"
1855+
},
1856+
"aws.auth#sigv4": {
1857+
"name": "mediapackage-vod"
1858+
},
1859+
"aws.protocols#restJson1": {},
1860+
"smithy.api#documentation": "AWS Elemental MediaPackage VOD",
1861+
"smithy.api#title": "AWS Elemental MediaPackage VOD"
1862+
},
18411863
"version": "2018-11-07",
18421864
"operations": [
18431865
{
@@ -1891,22 +1913,7 @@
18911913
{
18921914
"target": "com.amazonaws.mediapackagevod#UpdatePackagingGroup"
18931915
}
1894-
],
1895-
"traits": {
1896-
"aws.api#service": {
1897-
"sdkId": "MediaPackage Vod",
1898-
"arnNamespace": "mediapackage-vod",
1899-
"cloudFormationName": "MediaPackageVod",
1900-
"cloudTrailEventSource": "mediapackagevod.amazonaws.com",
1901-
"endpointPrefix": "mediapackage-vod"
1902-
},
1903-
"aws.auth#sigv4": {
1904-
"name": "mediapackage-vod"
1905-
},
1906-
"aws.protocols#restJson1": {},
1907-
"smithy.api#documentation": "AWS Elemental MediaPackage VOD",
1908-
"smithy.api#title": "AWS Elemental MediaPackage VOD"
1909-
}
1916+
]
19101917
},
19111918
"com.amazonaws.mediapackagevod#MssEncryption": {
19121919
"type": "structure",
@@ -2110,6 +2117,21 @@
21102117
]
21112118
}
21122119
},
2120+
"com.amazonaws.mediapackagevod#ScteMarkersSource": {
2121+
"type": "string",
2122+
"traits": {
2123+
"smithy.api#enum": [
2124+
{
2125+
"value": "SEGMENTS",
2126+
"name": "SEGMENTS"
2127+
},
2128+
{
2129+
"value": "MANIFEST",
2130+
"name": "MANIFEST"
2131+
}
2132+
]
2133+
}
2134+
},
21132135
"com.amazonaws.mediapackagevod#SegmentTemplateFormat": {
21142136
"type": "string",
21152137
"traits": {

0 commit comments

Comments
 (0)