Skip to content

Commit

Permalink
feat(client-mediapackage): DRM_TOP_LEVEL_COMPACT allows placing conte…
Browse files Browse the repository at this point in the history
…nt protection elements at the MPD level and referenced at the AdaptationSet level
  • Loading branch information
awstools committed Nov 16, 2023
1 parent a0cc50f commit a72102a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
* },
* },
* IncludeIframeOnlyStream: true || false,
* ManifestLayout: "FULL" || "COMPACT",
* ManifestLayout: "FULL" || "COMPACT" || "DRM_TOP_LEVEL_COMPACT",
* ManifestWindowSeconds: Number("int"),
* MinBufferTimeSeconds: Number("int"),
* MinUpdatePeriodSeconds: Number("int"),
Expand Down Expand Up @@ -283,7 +283,7 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
* // },
* // },
* // IncludeIframeOnlyStream: true || false,
* // ManifestLayout: "FULL" || "COMPACT",
* // ManifestLayout: "FULL" || "COMPACT" || "DRM_TOP_LEVEL_COMPACT",
* // ManifestWindowSeconds: Number("int"),
* // MinBufferTimeSeconds: Number("int"),
* // MinUpdatePeriodSeconds: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export interface DescribeOriginEndpointCommandOutput extends DescribeOriginEndpo
* // },
* // },
* // IncludeIframeOnlyStream: true || false,
* // ManifestLayout: "FULL" || "COMPACT",
* // ManifestLayout: "FULL" || "COMPACT" || "DRM_TOP_LEVEL_COMPACT",
* // ManifestWindowSeconds: Number("int"),
* // MinBufferTimeSeconds: Number("int"),
* // MinUpdatePeriodSeconds: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export interface ListOriginEndpointsCommandOutput extends ListOriginEndpointsRes
* // },
* // },
* // IncludeIframeOnlyStream: true || false,
* // ManifestLayout: "FULL" || "COMPACT",
* // ManifestLayout: "FULL" || "COMPACT" || "DRM_TOP_LEVEL_COMPACT",
* // ManifestWindowSeconds: Number("int"),
* // MinBufferTimeSeconds: Number("int"),
* // MinUpdatePeriodSeconds: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
* },
* },
* IncludeIframeOnlyStream: true || false,
* ManifestLayout: "FULL" || "COMPACT",
* ManifestLayout: "FULL" || "COMPACT" || "DRM_TOP_LEVEL_COMPACT",
* ManifestWindowSeconds: Number("int"),
* MinBufferTimeSeconds: Number("int"),
* MinUpdatePeriodSeconds: Number("int"),
Expand Down Expand Up @@ -279,7 +279,7 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
* // },
* // },
* // IncludeIframeOnlyStream: true || false,
* // ManifestLayout: "FULL" || "COMPACT",
* // ManifestLayout: "FULL" || "COMPACT" || "DRM_TOP_LEVEL_COMPACT",
* // ManifestWindowSeconds: Number("int"),
* // MinBufferTimeSeconds: Number("int"),
* // MinUpdatePeriodSeconds: Number("int"),
Expand Down
3 changes: 2 additions & 1 deletion clients/client-mediapackage/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ export interface DashEncryption {
*/
export const ManifestLayout = {
COMPACT: "COMPACT",
DRM_TOP_LEVEL_COMPACT: "DRM_TOP_LEVEL_COMPACT",
FULL: "FULL",
} as const;

Expand Down Expand Up @@ -855,7 +856,7 @@ export interface DashPackage {

/**
* @public
* 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.
* 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. When set to DRM_TOP_LEVEL_COMPACT, content protection elements are placed the MPD level and referenced at the AdaptationSet level.
*/
ManifestLayout?: ManifestLayout;

Expand Down
8 changes: 7 additions & 1 deletion codegen/sdk-codegen/aws-models/mediapackage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@
"ManifestLayout": {
"target": "com.amazonaws.mediapackage#ManifestLayout",
"traits": {
"smithy.api#documentation": "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.",
"smithy.api#documentation": "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. When set to DRM_TOP_LEVEL_COMPACT, content protection elements are placed the MPD level and referenced at the AdaptationSet level.",
"smithy.api#jsonName": "manifestLayout"
}
},
Expand Down Expand Up @@ -2517,6 +2517,12 @@
"traits": {
"smithy.api#enumValue": "COMPACT"
}
},
"DRM_TOP_LEVEL_COMPACT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DRM_TOP_LEVEL_COMPACT"
}
}
}
},
Expand Down

0 comments on commit a72102a

Please sign in to comment.