Skip to content

Commit

Permalink
feat(client-mediapackage-vod): This release adds ScteMarkersSource as…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
awstools committed Apr 8, 2022
1 parent 07f9765 commit fc43d06
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 16 deletions.
10 changes: 10 additions & 0 deletions clients/client-mediapackage-vod/src/models/models_0.ts
Expand Up @@ -71,6 +71,11 @@ export enum Profile {
NONE = "NONE",
}

export enum ScteMarkersSource {
MANIFEST = "MANIFEST",
SEGMENTS = "SEGMENTS",
}

export enum StreamOrder {
ORIGINAL = "ORIGINAL",
VIDEO_BITRATE_ASCENDING = "VIDEO_BITRATE_ASCENDING",
Expand Down Expand Up @@ -130,6 +135,11 @@ export interface DashManifest {
*/
Profile?: Profile | string;

/**
* 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.
*/
ScteMarkersSource?: ScteMarkersSource | string;

/**
* A StreamSelection configuration.
*/
Expand Down
Expand Up @@ -1968,6 +1968,8 @@ const serializeAws_restJson1DashManifest = (input: DashManifest, context: __Serd
...(input.MinBufferTimeSeconds !== undefined &&
input.MinBufferTimeSeconds !== null && { minBufferTimeSeconds: input.MinBufferTimeSeconds }),
...(input.Profile !== undefined && input.Profile !== null && { profile: input.Profile }),
...(input.ScteMarkersSource !== undefined &&
input.ScteMarkersSource !== null && { scteMarkersSource: input.ScteMarkersSource }),
...(input.StreamSelection !== undefined &&
input.StreamSelection !== null && {
streamSelection: serializeAws_restJson1StreamSelection(input.StreamSelection, context),
Expand Down Expand Up @@ -2306,6 +2308,7 @@ const deserializeAws_restJson1DashManifest = (output: any, context: __SerdeConte
ManifestName: __expectString(output.manifestName),
MinBufferTimeSeconds: __expectInt32(output.minBufferTimeSeconds),
Profile: __expectString(output.profile),
ScteMarkersSource: __expectString(output.scteMarkersSource),
StreamSelection:
output.streamSelection !== undefined && output.streamSelection !== null
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
Expand Down
54 changes: 38 additions & 16 deletions codegen/sdk-codegen/aws-models/mediapackage-vod.json
Expand Up @@ -761,6 +761,13 @@
"smithy.api#jsonName": "profile"
}
},
"ScteMarkersSource": {
"target": "com.amazonaws.mediapackagevod#ScteMarkersSource",
"traits": {
"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.",
"smithy.api#jsonName": "scteMarkersSource"
}
},
"StreamSelection": {
"target": "com.amazonaws.mediapackagevod#StreamSelection",
"traits": {
Expand Down Expand Up @@ -1838,6 +1845,21 @@
},
"com.amazonaws.mediapackagevod#MediaPackageVod": {
"type": "service",
"traits": {
"aws.api#service": {
"sdkId": "MediaPackage Vod",
"arnNamespace": "mediapackage-vod",
"cloudFormationName": "MediaPackageVod",
"cloudTrailEventSource": "mediapackagevod.amazonaws.com",
"endpointPrefix": "mediapackage-vod"
},
"aws.auth#sigv4": {
"name": "mediapackage-vod"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "AWS Elemental MediaPackage VOD",
"smithy.api#title": "AWS Elemental MediaPackage VOD"
},
"version": "2018-11-07",
"operations": [
{
Expand Down Expand Up @@ -1891,22 +1913,7 @@
{
"target": "com.amazonaws.mediapackagevod#UpdatePackagingGroup"
}
],
"traits": {
"aws.api#service": {
"sdkId": "MediaPackage Vod",
"arnNamespace": "mediapackage-vod",
"cloudFormationName": "MediaPackageVod",
"cloudTrailEventSource": "mediapackagevod.amazonaws.com",
"endpointPrefix": "mediapackage-vod"
},
"aws.auth#sigv4": {
"name": "mediapackage-vod"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "AWS Elemental MediaPackage VOD",
"smithy.api#title": "AWS Elemental MediaPackage VOD"
}
]
},
"com.amazonaws.mediapackagevod#MssEncryption": {
"type": "structure",
Expand Down Expand Up @@ -2110,6 +2117,21 @@
]
}
},
"com.amazonaws.mediapackagevod#ScteMarkersSource": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SEGMENTS",
"name": "SEGMENTS"
},
{
"value": "MANIFEST",
"name": "MANIFEST"
}
]
}
},
"com.amazonaws.mediapackagevod#SegmentTemplateFormat": {
"type": "string",
"traits": {
Expand Down

0 comments on commit fc43d06

Please sign in to comment.