@aws-sdk/client-mediapackage 3.28.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +41 -41
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +117 -87
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/models/models_0.d.ts +2 -2
- package/dist/types/ts3.4/models/models_0.d.ts +2 -2
- package/models/models_0.ts +2 -2
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +44 -42
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients as of 09/10/2021 ([#2776](https://github.com/aws/aws-sdk-js-v3/issues/2776)) ([3f49ae7](https://github.com/aws/aws-sdk-js-v3/commit/3f49ae758688f73d5ce16ee21ac597a113199bff))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
42
|
|
|
8
43
|
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -584,7 +584,7 @@ const deserializeAws_restJson1ConfigureLogsCommand = async (output, context) =>
|
|
|
584
584
|
IngressAccessLogs: undefined,
|
|
585
585
|
Tags: undefined,
|
|
586
586
|
};
|
|
587
|
-
const data = await parseBody(output.body, context);
|
|
587
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
588
588
|
if (data.arn !== undefined && data.arn !== null) {
|
|
589
589
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
590
590
|
}
|
|
@@ -696,7 +696,7 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
|
|
|
696
696
|
IngressAccessLogs: undefined,
|
|
697
697
|
Tags: undefined,
|
|
698
698
|
};
|
|
699
|
-
const data = await parseBody(output.body, context);
|
|
699
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
700
700
|
if (data.arn !== undefined && data.arn !== null) {
|
|
701
701
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
702
702
|
}
|
|
@@ -810,7 +810,7 @@ const deserializeAws_restJson1CreateHarvestJobCommand = async (output, context)
|
|
|
810
810
|
StartTime: undefined,
|
|
811
811
|
Status: undefined,
|
|
812
812
|
};
|
|
813
|
-
const data = await parseBody(output.body, context);
|
|
813
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
814
814
|
if (data.arn !== undefined && data.arn !== null) {
|
|
815
815
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
816
816
|
}
|
|
@@ -937,7 +937,7 @@ const deserializeAws_restJson1CreateOriginEndpointCommand = async (output, conte
|
|
|
937
937
|
Url: undefined,
|
|
938
938
|
Whitelist: undefined,
|
|
939
939
|
};
|
|
940
|
-
const data = await parseBody(output.body, context);
|
|
940
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
941
941
|
if (data.arn !== undefined && data.arn !== null) {
|
|
942
942
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
943
943
|
}
|
|
@@ -972,13 +972,13 @@ const deserializeAws_restJson1CreateOriginEndpointCommand = async (output, conte
|
|
|
972
972
|
contents.Origination = smithy_client_1.expectString(data.origination);
|
|
973
973
|
}
|
|
974
974
|
if (data.startoverWindowSeconds !== undefined && data.startoverWindowSeconds !== null) {
|
|
975
|
-
contents.StartoverWindowSeconds = smithy_client_1.
|
|
975
|
+
contents.StartoverWindowSeconds = smithy_client_1.expectInt32(data.startoverWindowSeconds);
|
|
976
976
|
}
|
|
977
977
|
if (data.tags !== undefined && data.tags !== null) {
|
|
978
978
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
979
979
|
}
|
|
980
980
|
if (data.timeDelaySeconds !== undefined && data.timeDelaySeconds !== null) {
|
|
981
|
-
contents.TimeDelaySeconds = smithy_client_1.
|
|
981
|
+
contents.TimeDelaySeconds = smithy_client_1.expectInt32(data.timeDelaySeconds);
|
|
982
982
|
}
|
|
983
983
|
if (data.url !== undefined && data.url !== null) {
|
|
984
984
|
contents.Url = smithy_client_1.expectString(data.url);
|
|
@@ -1244,7 +1244,7 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
|
|
|
1244
1244
|
IngressAccessLogs: undefined,
|
|
1245
1245
|
Tags: undefined,
|
|
1246
1246
|
};
|
|
1247
|
-
const data = await parseBody(output.body, context);
|
|
1247
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1248
1248
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1249
1249
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1250
1250
|
}
|
|
@@ -1358,7 +1358,7 @@ const deserializeAws_restJson1DescribeHarvestJobCommand = async (output, context
|
|
|
1358
1358
|
StartTime: undefined,
|
|
1359
1359
|
Status: undefined,
|
|
1360
1360
|
};
|
|
1361
|
-
const data = await parseBody(output.body, context);
|
|
1361
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1362
1362
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1363
1363
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1364
1364
|
}
|
|
@@ -1485,7 +1485,7 @@ const deserializeAws_restJson1DescribeOriginEndpointCommand = async (output, con
|
|
|
1485
1485
|
Url: undefined,
|
|
1486
1486
|
Whitelist: undefined,
|
|
1487
1487
|
};
|
|
1488
|
-
const data = await parseBody(output.body, context);
|
|
1488
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1489
1489
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1490
1490
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1491
1491
|
}
|
|
@@ -1520,13 +1520,13 @@ const deserializeAws_restJson1DescribeOriginEndpointCommand = async (output, con
|
|
|
1520
1520
|
contents.Origination = smithy_client_1.expectString(data.origination);
|
|
1521
1521
|
}
|
|
1522
1522
|
if (data.startoverWindowSeconds !== undefined && data.startoverWindowSeconds !== null) {
|
|
1523
|
-
contents.StartoverWindowSeconds = smithy_client_1.
|
|
1523
|
+
contents.StartoverWindowSeconds = smithy_client_1.expectInt32(data.startoverWindowSeconds);
|
|
1524
1524
|
}
|
|
1525
1525
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1526
1526
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
1527
1527
|
}
|
|
1528
1528
|
if (data.timeDelaySeconds !== undefined && data.timeDelaySeconds !== null) {
|
|
1529
|
-
contents.TimeDelaySeconds = smithy_client_1.
|
|
1529
|
+
contents.TimeDelaySeconds = smithy_client_1.expectInt32(data.timeDelaySeconds);
|
|
1530
1530
|
}
|
|
1531
1531
|
if (data.url !== undefined && data.url !== null) {
|
|
1532
1532
|
contents.Url = smithy_client_1.expectString(data.url);
|
|
@@ -1619,7 +1619,7 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
|
|
|
1619
1619
|
Channels: undefined,
|
|
1620
1620
|
NextToken: undefined,
|
|
1621
1621
|
};
|
|
1622
|
-
const data = await parseBody(output.body, context);
|
|
1622
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1623
1623
|
if (data.channels !== undefined && data.channels !== null) {
|
|
1624
1624
|
contents.Channels = deserializeAws_restJson1__listOfChannel(data.channels, context);
|
|
1625
1625
|
}
|
|
@@ -1711,7 +1711,7 @@ const deserializeAws_restJson1ListHarvestJobsCommand = async (output, context) =
|
|
|
1711
1711
|
HarvestJobs: undefined,
|
|
1712
1712
|
NextToken: undefined,
|
|
1713
1713
|
};
|
|
1714
|
-
const data = await parseBody(output.body, context);
|
|
1714
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1715
1715
|
if (data.harvestJobs !== undefined && data.harvestJobs !== null) {
|
|
1716
1716
|
contents.HarvestJobs = deserializeAws_restJson1__listOfHarvestJob(data.harvestJobs, context);
|
|
1717
1717
|
}
|
|
@@ -1803,7 +1803,7 @@ const deserializeAws_restJson1ListOriginEndpointsCommand = async (output, contex
|
|
|
1803
1803
|
NextToken: undefined,
|
|
1804
1804
|
OriginEndpoints: undefined,
|
|
1805
1805
|
};
|
|
1806
|
-
const data = await parseBody(output.body, context);
|
|
1806
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1807
1807
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1808
1808
|
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1809
1809
|
}
|
|
@@ -1894,7 +1894,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1894
1894
|
$metadata: deserializeMetadata(output),
|
|
1895
1895
|
Tags: undefined,
|
|
1896
1896
|
};
|
|
1897
|
-
const data = await parseBody(output.body, context);
|
|
1897
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1898
1898
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1899
1899
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
1900
1900
|
}
|
|
@@ -1940,7 +1940,7 @@ const deserializeAws_restJson1RotateChannelCredentialsCommand = async (output, c
|
|
|
1940
1940
|
IngressAccessLogs: undefined,
|
|
1941
1941
|
Tags: undefined,
|
|
1942
1942
|
};
|
|
1943
|
-
const data = await parseBody(output.body, context);
|
|
1943
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1944
1944
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1945
1945
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1946
1946
|
}
|
|
@@ -2052,7 +2052,7 @@ const deserializeAws_restJson1RotateIngestEndpointCredentialsCommand = async (ou
|
|
|
2052
2052
|
IngressAccessLogs: undefined,
|
|
2053
2053
|
Tags: undefined,
|
|
2054
2054
|
};
|
|
2055
|
-
const data = await parseBody(output.body, context);
|
|
2055
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2056
2056
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2057
2057
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2058
2058
|
}
|
|
@@ -2236,7 +2236,7 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
|
|
|
2236
2236
|
IngressAccessLogs: undefined,
|
|
2237
2237
|
Tags: undefined,
|
|
2238
2238
|
};
|
|
2239
|
-
const data = await parseBody(output.body, context);
|
|
2239
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2240
2240
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2241
2241
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2242
2242
|
}
|
|
@@ -2357,7 +2357,7 @@ const deserializeAws_restJson1UpdateOriginEndpointCommand = async (output, conte
|
|
|
2357
2357
|
Url: undefined,
|
|
2358
2358
|
Whitelist: undefined,
|
|
2359
2359
|
};
|
|
2360
|
-
const data = await parseBody(output.body, context);
|
|
2360
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2361
2361
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2362
2362
|
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2363
2363
|
}
|
|
@@ -2392,13 +2392,13 @@ const deserializeAws_restJson1UpdateOriginEndpointCommand = async (output, conte
|
|
|
2392
2392
|
contents.Origination = smithy_client_1.expectString(data.origination);
|
|
2393
2393
|
}
|
|
2394
2394
|
if (data.startoverWindowSeconds !== undefined && data.startoverWindowSeconds !== null) {
|
|
2395
|
-
contents.StartoverWindowSeconds = smithy_client_1.
|
|
2395
|
+
contents.StartoverWindowSeconds = smithy_client_1.expectInt32(data.startoverWindowSeconds);
|
|
2396
2396
|
}
|
|
2397
2397
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2398
2398
|
contents.Tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
2399
2399
|
}
|
|
2400
2400
|
if (data.timeDelaySeconds !== undefined && data.timeDelaySeconds !== null) {
|
|
2401
|
-
contents.TimeDelaySeconds = smithy_client_1.
|
|
2401
|
+
contents.TimeDelaySeconds = smithy_client_1.expectInt32(data.timeDelaySeconds);
|
|
2402
2402
|
}
|
|
2403
2403
|
if (data.url !== undefined && data.url !== null) {
|
|
2404
2404
|
contents.Url = smithy_client_1.expectString(data.url);
|
|
@@ -2963,7 +2963,7 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
2963
2963
|
const deserializeAws_restJson1CmafEncryption = (output, context) => {
|
|
2964
2964
|
return {
|
|
2965
2965
|
ConstantInitializationVector: smithy_client_1.expectString(output.constantInitializationVector),
|
|
2966
|
-
KeyRotationIntervalSeconds: smithy_client_1.
|
|
2966
|
+
KeyRotationIntervalSeconds: smithy_client_1.expectInt32(output.keyRotationIntervalSeconds),
|
|
2967
2967
|
SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
|
|
2968
2968
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
2969
2969
|
: undefined,
|
|
@@ -2977,7 +2977,7 @@ const deserializeAws_restJson1CmafPackage = (output, context) => {
|
|
|
2977
2977
|
HlsManifests: output.hlsManifests !== undefined && output.hlsManifests !== null
|
|
2978
2978
|
? deserializeAws_restJson1__listOfHlsManifest(output.hlsManifests, context)
|
|
2979
2979
|
: undefined,
|
|
2980
|
-
SegmentDurationSeconds: smithy_client_1.
|
|
2980
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
2981
2981
|
SegmentPrefix: smithy_client_1.expectString(output.segmentPrefix),
|
|
2982
2982
|
StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
|
|
2983
2983
|
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
|
|
@@ -2986,7 +2986,7 @@ const deserializeAws_restJson1CmafPackage = (output, context) => {
|
|
|
2986
2986
|
};
|
|
2987
2987
|
const deserializeAws_restJson1DashEncryption = (output, context) => {
|
|
2988
2988
|
return {
|
|
2989
|
-
KeyRotationIntervalSeconds: smithy_client_1.
|
|
2989
|
+
KeyRotationIntervalSeconds: smithy_client_1.expectInt32(output.keyRotationIntervalSeconds),
|
|
2990
2990
|
SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
|
|
2991
2991
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
2992
2992
|
: undefined,
|
|
@@ -3002,19 +3002,19 @@ const deserializeAws_restJson1DashPackage = (output, context) => {
|
|
|
3002
3002
|
? deserializeAws_restJson1DashEncryption(output.encryption, context)
|
|
3003
3003
|
: undefined,
|
|
3004
3004
|
ManifestLayout: smithy_client_1.expectString(output.manifestLayout),
|
|
3005
|
-
ManifestWindowSeconds: smithy_client_1.
|
|
3006
|
-
MinBufferTimeSeconds: smithy_client_1.
|
|
3007
|
-
MinUpdatePeriodSeconds: smithy_client_1.
|
|
3005
|
+
ManifestWindowSeconds: smithy_client_1.expectInt32(output.manifestWindowSeconds),
|
|
3006
|
+
MinBufferTimeSeconds: smithy_client_1.expectInt32(output.minBufferTimeSeconds),
|
|
3007
|
+
MinUpdatePeriodSeconds: smithy_client_1.expectInt32(output.minUpdatePeriodSeconds),
|
|
3008
3008
|
PeriodTriggers: output.periodTriggers !== undefined && output.periodTriggers !== null
|
|
3009
3009
|
? deserializeAws_restJson1__listOf__PeriodTriggersElement(output.periodTriggers, context)
|
|
3010
3010
|
: undefined,
|
|
3011
3011
|
Profile: smithy_client_1.expectString(output.profile),
|
|
3012
|
-
SegmentDurationSeconds: smithy_client_1.
|
|
3012
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
3013
3013
|
SegmentTemplateFormat: smithy_client_1.expectString(output.segmentTemplateFormat),
|
|
3014
3014
|
StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
|
|
3015
3015
|
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
|
|
3016
3016
|
: undefined,
|
|
3017
|
-
SuggestedPresentationDelaySeconds: smithy_client_1.
|
|
3017
|
+
SuggestedPresentationDelaySeconds: smithy_client_1.expectInt32(output.suggestedPresentationDelaySeconds),
|
|
3018
3018
|
UtcTiming: smithy_client_1.expectString(output.utcTiming),
|
|
3019
3019
|
UtcTimingUri: smithy_client_1.expectString(output.utcTimingUri),
|
|
3020
3020
|
};
|
|
@@ -3049,7 +3049,7 @@ const deserializeAws_restJson1HlsEncryption = (output, context) => {
|
|
|
3049
3049
|
return {
|
|
3050
3050
|
ConstantInitializationVector: smithy_client_1.expectString(output.constantInitializationVector),
|
|
3051
3051
|
EncryptionMethod: smithy_client_1.expectString(output.encryptionMethod),
|
|
3052
|
-
KeyRotationIntervalSeconds: smithy_client_1.
|
|
3052
|
+
KeyRotationIntervalSeconds: smithy_client_1.expectInt32(output.keyRotationIntervalSeconds),
|
|
3053
3053
|
RepeatExtXKey: smithy_client_1.expectBoolean(output.repeatExtXKey),
|
|
3054
3054
|
SpekeKeyProvider: output.spekeKeyProvider !== undefined && output.spekeKeyProvider !== null
|
|
3055
3055
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
@@ -3070,8 +3070,8 @@ const deserializeAws_restJson1HlsManifest = (output, context) => {
|
|
|
3070
3070
|
IncludeIframeOnlyStream: smithy_client_1.expectBoolean(output.includeIframeOnlyStream),
|
|
3071
3071
|
ManifestName: smithy_client_1.expectString(output.manifestName),
|
|
3072
3072
|
PlaylistType: smithy_client_1.expectString(output.playlistType),
|
|
3073
|
-
PlaylistWindowSeconds: smithy_client_1.
|
|
3074
|
-
ProgramDateTimeIntervalSeconds: smithy_client_1.
|
|
3073
|
+
PlaylistWindowSeconds: smithy_client_1.expectInt32(output.playlistWindowSeconds),
|
|
3074
|
+
ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32(output.programDateTimeIntervalSeconds),
|
|
3075
3075
|
Url: smithy_client_1.expectString(output.url),
|
|
3076
3076
|
};
|
|
3077
3077
|
};
|
|
@@ -3087,9 +3087,9 @@ const deserializeAws_restJson1HlsPackage = (output, context) => {
|
|
|
3087
3087
|
: undefined,
|
|
3088
3088
|
IncludeIframeOnlyStream: smithy_client_1.expectBoolean(output.includeIframeOnlyStream),
|
|
3089
3089
|
PlaylistType: smithy_client_1.expectString(output.playlistType),
|
|
3090
|
-
PlaylistWindowSeconds: smithy_client_1.
|
|
3091
|
-
ProgramDateTimeIntervalSeconds: smithy_client_1.
|
|
3092
|
-
SegmentDurationSeconds: smithy_client_1.
|
|
3090
|
+
PlaylistWindowSeconds: smithy_client_1.expectInt32(output.playlistWindowSeconds),
|
|
3091
|
+
ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32(output.programDateTimeIntervalSeconds),
|
|
3092
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
3093
3093
|
StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
|
|
3094
3094
|
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
|
|
3095
3095
|
: undefined,
|
|
@@ -3121,8 +3121,8 @@ const deserializeAws_restJson1MssPackage = (output, context) => {
|
|
|
3121
3121
|
Encryption: output.encryption !== undefined && output.encryption !== null
|
|
3122
3122
|
? deserializeAws_restJson1MssEncryption(output.encryption, context)
|
|
3123
3123
|
: undefined,
|
|
3124
|
-
ManifestWindowSeconds: smithy_client_1.
|
|
3125
|
-
SegmentDurationSeconds: smithy_client_1.
|
|
3124
|
+
ManifestWindowSeconds: smithy_client_1.expectInt32(output.manifestWindowSeconds),
|
|
3125
|
+
SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
|
|
3126
3126
|
StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
|
|
3127
3127
|
? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
|
|
3128
3128
|
: undefined,
|
|
@@ -3151,11 +3151,11 @@ const deserializeAws_restJson1OriginEndpoint = (output, context) => {
|
|
|
3151
3151
|
? deserializeAws_restJson1MssPackage(output.mssPackage, context)
|
|
3152
3152
|
: undefined,
|
|
3153
3153
|
Origination: smithy_client_1.expectString(output.origination),
|
|
3154
|
-
StartoverWindowSeconds: smithy_client_1.
|
|
3154
|
+
StartoverWindowSeconds: smithy_client_1.expectInt32(output.startoverWindowSeconds),
|
|
3155
3155
|
Tags: output.tags !== undefined && output.tags !== null
|
|
3156
3156
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3157
3157
|
: undefined,
|
|
3158
|
-
TimeDelaySeconds: smithy_client_1.
|
|
3158
|
+
TimeDelaySeconds: smithy_client_1.expectInt32(output.timeDelaySeconds),
|
|
3159
3159
|
Url: smithy_client_1.expectString(output.url),
|
|
3160
3160
|
Whitelist: output.whitelist !== undefined && output.whitelist !== null
|
|
3161
3161
|
? deserializeAws_restJson1__listOf__string(output.whitelist, context)
|
|
@@ -3185,8 +3185,8 @@ const deserializeAws_restJson1SpekeKeyProvider = (output, context) => {
|
|
|
3185
3185
|
};
|
|
3186
3186
|
const deserializeAws_restJson1StreamSelection = (output, context) => {
|
|
3187
3187
|
return {
|
|
3188
|
-
MaxVideoBitsPerSecond: smithy_client_1.
|
|
3189
|
-
MinVideoBitsPerSecond: smithy_client_1.
|
|
3188
|
+
MaxVideoBitsPerSecond: smithy_client_1.expectInt32(output.maxVideoBitsPerSecond),
|
|
3189
|
+
MinVideoBitsPerSecond: smithy_client_1.expectInt32(output.minVideoBitsPerSecond),
|
|
3190
3190
|
StreamOrder: smithy_client_1.expectString(output.streamOrder),
|
|
3191
3191
|
};
|
|
3192
3192
|
};
|