Skip to content

Commit eb5cff6

Browse files
author
awstools
committed
feat(client-mediapackage-vod): This release provides the date and time VOD resources were created.
1 parent 8a6dcfa commit eb5cff6

File tree

4 files changed

+590
-825
lines changed

4 files changed

+590
-825
lines changed

clients/client-mediapackage-vod/src/endpoint/ruleset.ts

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,25 @@ import { RuleSetObject } from "@aws-sdk/util-endpoints";
66
or see "smithy.rules#endpointRuleSet"
77
in codegen/sdk-codegen/aws-models/mediapackage-vod.json */
88

9-
const p="required",
10-
q="fn",
11-
r="argv",
12-
s="ref";
13-
const a="PartitionResult",
9+
const q="required",
10+
r="fn",
11+
s="argv",
12+
t="ref";
13+
const a="isSet",
1414
b="tree",
1515
c="error",
1616
d="endpoint",
17-
e={[p]:false,"type":"String"},
18-
f={[p]:true,"default":false,"type":"Boolean"},
19-
g={[s]:"Endpoint"},
20-
h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]},
21-
i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]},
22-
j={},
23-
k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]},
24-
l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]},
25-
m=[g],
26-
n=[h],
27-
o=[i];
28-
const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]};
17+
e="PartitionResult",
18+
f={[q]:false,"type":"String"},
19+
g={[q]:true,"default":false,"type":"Boolean"},
20+
h={[t]:"Endpoint"},
21+
i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]},
22+
j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]},
23+
k={},
24+
l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]},
25+
m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]},
26+
n=[i],
27+
o=[j],
28+
p=[{[t]:"Region"}];
29+
const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediapackage-vod-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://mediapackage-vod.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
2930
export const ruleSet: RuleSetObject = _data;

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

Lines changed: 41 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. 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.
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.
122122
*/
123123
ScteMarkersSource?: ScteMarkersSource | string;
124124

@@ -491,6 +491,11 @@ export interface PackagingConfiguration {
491491
*/
492492
CmafPackage?: CmafPackage;
493493

494+
/**
495+
* The time the PackagingConfiguration was created.
496+
*/
497+
CreatedAt?: string;
498+
494499
/**
495500
* A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
496501
*/
@@ -566,6 +571,11 @@ export interface PackagingGroup {
566571
*/
567572
Authorization?: Authorization;
568573

574+
/**
575+
* The time the PackagingGroup was created.
576+
*/
577+
CreatedAt?: string;
578+
569579
/**
570580
* The fully qualified domain name for Assets in the PackagingGroup.
571581
*/
@@ -613,6 +623,11 @@ export interface ConfigureLogsResponse {
613623
*/
614624
Authorization?: Authorization;
615625

626+
/**
627+
* The time the PackagingGroup was created.
628+
*/
629+
CreatedAt?: string;
630+
616631
/**
617632
* The fully qualified domain name for Assets in the PackagingGroup.
618633
*/
@@ -893,6 +908,11 @@ export interface CreatePackagingConfigurationResponse {
893908
*/
894909
CmafPackage?: CmafPackage;
895910

911+
/**
912+
* The time the PackagingConfiguration was created.
913+
*/
914+
CreatedAt?: string;
915+
896916
/**
897917
* A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
898918
*/
@@ -960,6 +980,11 @@ export interface CreatePackagingGroupResponse {
960980
*/
961981
Authorization?: Authorization;
962982

983+
/**
984+
* The time the PackagingGroup was created.
985+
*/
986+
CreatedAt?: string;
987+
963988
/**
964989
* The fully qualified domain name for Assets in the PackagingGroup.
965990
*/
@@ -1080,6 +1105,11 @@ export interface DescribePackagingConfigurationResponse {
10801105
*/
10811106
CmafPackage?: CmafPackage;
10821107

1108+
/**
1109+
* The time the PackagingConfiguration was created.
1110+
*/
1111+
CreatedAt?: string;
1112+
10831113
/**
10841114
* A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
10851115
*/
@@ -1134,6 +1164,11 @@ export interface DescribePackagingGroupResponse {
11341164
*/
11351165
Authorization?: Authorization;
11361166

1167+
/**
1168+
* The time the PackagingGroup was created.
1169+
*/
1170+
CreatedAt?: string;
1171+
11371172
/**
11381173
* The fully qualified domain name for Assets in the PackagingGroup.
11391174
*/
@@ -1306,6 +1341,11 @@ export interface UpdatePackagingGroupResponse {
13061341
*/
13071342
Authorization?: Authorization;
13081343

1344+
/**
1345+
* The time the PackagingGroup was created.
1346+
*/
1347+
CreatedAt?: string;
1348+
13091349
/**
13101350
* The fully qualified domain name for Assets in the PackagingGroup.
13111351
*/

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,9 @@ export const deserializeAws_restJson1ConfigureLogsCommand = async (
528528
if (data.authorization != null) {
529529
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
530530
}
531+
if (data.createdAt != null) {
532+
contents.CreatedAt = __expectString(data.createdAt);
533+
}
531534
if (data.domainName != null) {
532535
contents.DomainName = __expectString(data.domainName);
533536
}
@@ -679,6 +682,9 @@ export const deserializeAws_restJson1CreatePackagingConfigurationCommand = async
679682
if (data.cmafPackage != null) {
680683
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
681684
}
685+
if (data.createdAt != null) {
686+
contents.CreatedAt = __expectString(data.createdAt);
687+
}
682688
if (data.dashPackage != null) {
683689
contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
684690
}
@@ -756,6 +762,9 @@ export const deserializeAws_restJson1CreatePackagingGroupCommand = async (
756762
if (data.authorization != null) {
757763
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
758764
}
765+
if (data.createdAt != null) {
766+
contents.CreatedAt = __expectString(data.createdAt);
767+
}
759768
if (data.domainName != null) {
760769
contents.DomainName = __expectString(data.domainName);
761770
}
@@ -1066,6 +1075,9 @@ export const deserializeAws_restJson1DescribePackagingConfigurationCommand = asy
10661075
if (data.cmafPackage != null) {
10671076
contents.CmafPackage = deserializeAws_restJson1CmafPackage(data.cmafPackage, context);
10681077
}
1078+
if (data.createdAt != null) {
1079+
contents.CreatedAt = __expectString(data.createdAt);
1080+
}
10691081
if (data.dashPackage != null) {
10701082
contents.DashPackage = deserializeAws_restJson1DashPackage(data.dashPackage, context);
10711083
}
@@ -1146,6 +1158,9 @@ export const deserializeAws_restJson1DescribePackagingGroupCommand = async (
11461158
if (data.authorization != null) {
11471159
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
11481160
}
1161+
if (data.createdAt != null) {
1162+
contents.CreatedAt = __expectString(data.createdAt);
1163+
}
11491164
if (data.domainName != null) {
11501165
contents.DomainName = __expectString(data.domainName);
11511166
}
@@ -1499,6 +1514,9 @@ export const deserializeAws_restJson1UpdatePackagingGroupCommand = async (
14991514
if (data.authorization != null) {
15001515
contents.Authorization = deserializeAws_restJson1Authorization(data.authorization, context);
15011516
}
1517+
if (data.createdAt != null) {
1518+
contents.CreatedAt = __expectString(data.createdAt);
1519+
}
15021520
if (data.domainName != null) {
15031521
contents.DomainName = __expectString(data.domainName);
15041522
}
@@ -2198,6 +2216,7 @@ const deserializeAws_restJson1PackagingConfiguration = (
21982216
Arn: __expectString(output.arn),
21992217
CmafPackage:
22002218
output.cmafPackage != null ? deserializeAws_restJson1CmafPackage(output.cmafPackage, context) : undefined,
2219+
CreatedAt: __expectString(output.createdAt),
22012220
DashPackage:
22022221
output.dashPackage != null ? deserializeAws_restJson1DashPackage(output.dashPackage, context) : undefined,
22032222
HlsPackage: output.hlsPackage != null ? deserializeAws_restJson1HlsPackage(output.hlsPackage, context) : undefined,
@@ -2214,6 +2233,7 @@ const deserializeAws_restJson1PackagingGroup = (output: any, context: __SerdeCon
22142233
Arn: __expectString(output.arn),
22152234
Authorization:
22162235
output.authorization != null ? deserializeAws_restJson1Authorization(output.authorization, context) : undefined,
2236+
CreatedAt: __expectString(output.createdAt),
22172237
DomainName: __expectString(output.domainName),
22182238
EgressAccessLogs:
22192239
output.egressAccessLogs != null

0 commit comments

Comments
 (0)