Skip to content

Commit fee4186

Browse files
author
awstools
committed
feat(client-mediapackage-vod): This release provides the approximate number of assets in a packaging group.
1 parent 60078db commit fee4186

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export interface DashManifest {
118118
Profile?: Profile | string;
119119

120120
/**
121-
* 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.
121+
* 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. The MANIFEST value is compatible with source HLS playlists using the SCTE-35 Enhanced syntax (#EXT-OATCLS-SCTE35 tags). SCTE-35 Elemental and SCTE-35 Daterange syntaxes are not supported with this option.
122122
*/
123123
ScteMarkersSource?: ScteMarkersSource | string;
124124

@@ -551,6 +551,11 @@ export interface EgressAccessLogs {
551551
* A MediaPackage VOD PackagingGroup resource.
552552
*/
553553
export interface PackagingGroup {
554+
/**
555+
* The approximate asset count of the PackagingGroup.
556+
*/
557+
ApproximateAssetCount?: number;
558+
554559
/**
555560
* The ARN of the PackagingGroup.
556561
*/
@@ -1114,6 +1119,11 @@ export interface DescribePackagingGroupRequest {
11141119
}
11151120

11161121
export interface DescribePackagingGroupResponse {
1122+
/**
1123+
* The approximate asset count of the PackagingGroup.
1124+
*/
1125+
ApproximateAssetCount?: number;
1126+
11171127
/**
11181128
* The ARN of the PackagingGroup.
11191129
*/
@@ -1281,6 +1291,11 @@ export interface UpdatePackagingGroupRequest {
12811291
}
12821292

12831293
export interface UpdatePackagingGroupResponse {
1294+
/**
1295+
* The approximate asset count of the PackagingGroup.
1296+
*/
1297+
ApproximateAssetCount?: number;
1298+
12841299
/**
12851300
* The ARN of the PackagingGroup.
12861301
*/

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,6 +1137,9 @@ export const deserializeAws_restJson1DescribePackagingGroupCommand = async (
11371137
$metadata: deserializeMetadata(output),
11381138
});
11391139
const data: Record<string, any> = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1140+
if (data.approximateAssetCount != null) {
1141+
contents.ApproximateAssetCount = __expectInt32(data.approximateAssetCount);
1142+
}
11401143
if (data.arn != null) {
11411144
contents.Arn = __expectString(data.arn);
11421145
}
@@ -1487,6 +1490,9 @@ export const deserializeAws_restJson1UpdatePackagingGroupCommand = async (
14871490
$metadata: deserializeMetadata(output),
14881491
});
14891492
const data: Record<string, any> = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1493+
if (data.approximateAssetCount != null) {
1494+
contents.ApproximateAssetCount = __expectInt32(data.approximateAssetCount);
1495+
}
14901496
if (data.arn != null) {
14911497
contents.Arn = __expectString(data.arn);
14921498
}
@@ -2204,6 +2210,7 @@ const deserializeAws_restJson1PackagingConfiguration = (
22042210

22052211
const deserializeAws_restJson1PackagingGroup = (output: any, context: __SerdeContext): PackagingGroup => {
22062212
return {
2213+
ApproximateAssetCount: __expectInt32(output.approximateAssetCount),
22072214
Arn: __expectString(output.arn),
22082215
Authorization:
22092216
output.authorization != null ? deserializeAws_restJson1Authorization(output.authorization, context) : undefined,

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

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@
771771
"ScteMarkersSource": {
772772
"target": "com.amazonaws.mediapackagevod#ScteMarkersSource",
773773
"traits": {
774-
"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.",
774+
"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. The MANIFEST value is compatible with source HLS playlists using the SCTE-35 Enhanced syntax (#EXT-OATCLS-SCTE35 tags). SCTE-35 Elemental and SCTE-35 Daterange syntaxes are not supported with this option.",
775775
"smithy.api#jsonName": "scteMarkersSource"
776776
}
777777
},
@@ -1284,6 +1284,14 @@
12841284
"com.amazonaws.mediapackagevod#DescribePackagingGroupResponse": {
12851285
"type": "structure",
12861286
"members": {
1287+
"ApproximateAssetCount": {
1288+
"target": "com.amazonaws.mediapackagevod#__integer",
1289+
"traits": {
1290+
"smithy.api#default": 0,
1291+
"smithy.api#documentation": "The approximate asset count of the PackagingGroup.",
1292+
"smithy.api#jsonName": "approximateAssetCount"
1293+
}
1294+
},
12871295
"Arn": {
12881296
"target": "com.amazonaws.mediapackagevod#__string",
12891297
"traits": {
@@ -3348,6 +3356,14 @@
33483356
"com.amazonaws.mediapackagevod#PackagingGroup": {
33493357
"type": "structure",
33503358
"members": {
3359+
"ApproximateAssetCount": {
3360+
"target": "com.amazonaws.mediapackagevod#__integer",
3361+
"traits": {
3362+
"smithy.api#default": 0,
3363+
"smithy.api#documentation": "The approximate asset count of the PackagingGroup.",
3364+
"smithy.api#jsonName": "approximateAssetCount"
3365+
}
3366+
},
33513367
"Arn": {
33523368
"target": "com.amazonaws.mediapackagevod#__string",
33533369
"traits": {
@@ -3839,6 +3855,14 @@
38393855
"com.amazonaws.mediapackagevod#UpdatePackagingGroupResponse": {
38403856
"type": "structure",
38413857
"members": {
3858+
"ApproximateAssetCount": {
3859+
"target": "com.amazonaws.mediapackagevod#__integer",
3860+
"traits": {
3861+
"smithy.api#default": 0,
3862+
"smithy.api#documentation": "The approximate asset count of the PackagingGroup.",
3863+
"smithy.api#jsonName": "approximateAssetCount"
3864+
}
3865+
},
38423866
"Arn": {
38433867
"target": "com.amazonaws.mediapackagevod#__string",
38443868
"traits": {

0 commit comments

Comments
 (0)