Skip to content

Commit 1af0368

Browse files
author
awstools
committed
feat(client-mediapackage): This release adds "IncludeIframeOnlyStream" for Dash endpoints and increases the number of supported video and audio encryption presets for Speke v2
1 parent e694134 commit 1af0368

File tree

3 files changed

+85
-0
lines changed

3 files changed

+85
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,23 @@ export namespace Authorization {
460460

461461
export enum PresetSpeke20Audio {
462462
PRESET_AUDIO_1 = "PRESET-AUDIO-1",
463+
PRESET_AUDIO_2 = "PRESET-AUDIO-2",
464+
PRESET_AUDIO_3 = "PRESET-AUDIO-3",
465+
SHARED = "SHARED",
466+
UNENCRYPTED = "UNENCRYPTED",
463467
}
464468

465469
export enum PresetSpeke20Video {
466470
PRESET_VIDEO_1 = "PRESET-VIDEO-1",
471+
PRESET_VIDEO_2 = "PRESET-VIDEO-2",
472+
PRESET_VIDEO_3 = "PRESET-VIDEO-3",
473+
PRESET_VIDEO_4 = "PRESET-VIDEO-4",
474+
PRESET_VIDEO_5 = "PRESET-VIDEO-5",
475+
PRESET_VIDEO_6 = "PRESET-VIDEO-6",
476+
PRESET_VIDEO_7 = "PRESET-VIDEO-7",
477+
PRESET_VIDEO_8 = "PRESET-VIDEO-8",
478+
SHARED = "SHARED",
479+
UNENCRYPTED = "UNENCRYPTED",
467480
}
468481

469482
/**
@@ -728,6 +741,11 @@ export interface DashPackage {
728741
*/
729742
Encryption?: DashEncryption;
730743

744+
/**
745+
* When enabled, an I-Frame only stream will be included in the output.
746+
*/
747+
IncludeIframeOnlyStream?: boolean;
748+
731749
/**
732750
* Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level.
733751
*/

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,6 +2363,7 @@ const serializeAws_restJson1DashPackage = (input: DashPackage, context: __SerdeC
23632363
...(input.AdTriggers != null && { adTriggers: serializeAws_restJson1AdTriggers(input.AdTriggers, context) }),
23642364
...(input.AdsOnDeliveryRestrictions != null && { adsOnDeliveryRestrictions: input.AdsOnDeliveryRestrictions }),
23652365
...(input.Encryption != null && { encryption: serializeAws_restJson1DashEncryption(input.Encryption, context) }),
2366+
...(input.IncludeIframeOnlyStream != null && { includeIframeOnlyStream: input.IncludeIframeOnlyStream }),
23662367
...(input.ManifestLayout != null && { manifestLayout: input.ManifestLayout }),
23672368
...(input.ManifestWindowSeconds != null && { manifestWindowSeconds: input.ManifestWindowSeconds }),
23682369
...(input.MinBufferTimeSeconds != null && { minBufferTimeSeconds: input.MinBufferTimeSeconds }),
@@ -2703,6 +2704,7 @@ const deserializeAws_restJson1DashPackage = (output: any, context: __SerdeContex
27032704
AdsOnDeliveryRestrictions: __expectString(output.adsOnDeliveryRestrictions),
27042705
Encryption:
27052706
output.encryption != null ? deserializeAws_restJson1DashEncryption(output.encryption, context) : undefined,
2707+
IncludeIframeOnlyStream: __expectBoolean(output.includeIframeOnlyStream),
27062708
ManifestLayout: __expectString(output.manifestLayout),
27072709
ManifestWindowSeconds: __expectInt32(output.manifestWindowSeconds),
27082710
MinBufferTimeSeconds: __expectInt32(output.minBufferTimeSeconds),

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

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,13 @@
948948
"smithy.api#jsonName": "encryption"
949949
}
950950
},
951+
"IncludeIframeOnlyStream": {
952+
"target": "com.amazonaws.mediapackage#__boolean",
953+
"traits": {
954+
"smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.",
955+
"smithy.api#jsonName": "includeIframeOnlyStream"
956+
}
957+
},
951958
"ManifestLayout": {
952959
"target": "com.amazonaws.mediapackage#ManifestLayout",
953960
"traits": {
@@ -2635,6 +2642,22 @@
26352642
{
26362643
"value": "PRESET-AUDIO-1",
26372644
"name": "PRESET_AUDIO_1"
2645+
},
2646+
{
2647+
"value": "PRESET-AUDIO-2",
2648+
"name": "PRESET_AUDIO_2"
2649+
},
2650+
{
2651+
"value": "PRESET-AUDIO-3",
2652+
"name": "PRESET_AUDIO_3"
2653+
},
2654+
{
2655+
"value": "SHARED",
2656+
"name": "SHARED"
2657+
},
2658+
{
2659+
"value": "UNENCRYPTED",
2660+
"name": "UNENCRYPTED"
26382661
}
26392662
]
26402663
}
@@ -2646,6 +2669,42 @@
26462669
{
26472670
"value": "PRESET-VIDEO-1",
26482671
"name": "PRESET_VIDEO_1"
2672+
},
2673+
{
2674+
"value": "PRESET-VIDEO-2",
2675+
"name": "PRESET_VIDEO_2"
2676+
},
2677+
{
2678+
"value": "PRESET-VIDEO-3",
2679+
"name": "PRESET_VIDEO_3"
2680+
},
2681+
{
2682+
"value": "PRESET-VIDEO-4",
2683+
"name": "PRESET_VIDEO_4"
2684+
},
2685+
{
2686+
"value": "PRESET-VIDEO-5",
2687+
"name": "PRESET_VIDEO_5"
2688+
},
2689+
{
2690+
"value": "PRESET-VIDEO-6",
2691+
"name": "PRESET_VIDEO_6"
2692+
},
2693+
{
2694+
"value": "PRESET-VIDEO-7",
2695+
"name": "PRESET_VIDEO_7"
2696+
},
2697+
{
2698+
"value": "PRESET-VIDEO-8",
2699+
"name": "PRESET_VIDEO_8"
2700+
},
2701+
{
2702+
"value": "SHARED",
2703+
"name": "SHARED"
2704+
},
2705+
{
2706+
"value": "UNENCRYPTED",
2707+
"name": "UNENCRYPTED"
26492708
}
26502709
]
26512710
}
@@ -3082,6 +3141,9 @@
30823141
"input": {
30833142
"target": "com.amazonaws.mediapackage#TagResourceRequest"
30843143
},
3144+
"output": {
3145+
"target": "smithy.api#Unit"
3146+
},
30853147
"traits": {
30863148
"smithy.api#http": {
30873149
"method": "POST",
@@ -3158,6 +3220,9 @@
31583220
"input": {
31593221
"target": "com.amazonaws.mediapackage#UntagResourceRequest"
31603222
},
3223+
"output": {
3224+
"target": "smithy.api#Unit"
3225+
},
31613226
"traits": {
31623227
"smithy.api#http": {
31633228
"method": "DELETE",

0 commit comments

Comments
 (0)