@aws-sdk/client-mediapackage-vod 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 CHANGED
@@ -3,6 +3,38 @@
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-vod
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
+ **Note:** Version bump only for package @aws-sdk/client-mediapackage-vod
17
+
18
+
19
+
20
+
21
+
22
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-mediapackage-vod
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-mediapackage-vod
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
39
 
8
40
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackage-vod",
3
3
  "description": "AWS SDK for JavaScript Mediapackage Vod Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
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.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
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.23.0",
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.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -482,7 +482,7 @@ const deserializeAws_restJson1ConfigureLogsCommand = async (output, context) =>
482
482
  Id: undefined,
483
483
  Tags: undefined,
484
484
  };
485
- const data = await parseBody(output.body, context);
485
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
486
486
  if (data.arn !== undefined && data.arn !== null) {
487
487
  contents.Arn = smithy_client_1.expectString(data.arn);
488
488
  }
@@ -593,7 +593,7 @@ const deserializeAws_restJson1CreateAssetCommand = async (output, context) => {
593
593
  SourceRoleArn: undefined,
594
594
  Tags: undefined,
595
595
  };
596
- const data = await parseBody(output.body, context);
596
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
597
597
  if (data.arn !== undefined && data.arn !== null) {
598
598
  contents.Arn = smithy_client_1.expectString(data.arn);
599
599
  }
@@ -712,7 +712,7 @@ const deserializeAws_restJson1CreatePackagingConfigurationCommand = async (outpu
712
712
  PackagingGroupId: undefined,
713
713
  Tags: undefined,
714
714
  };
715
- const data = await parseBody(output.body, context);
715
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
716
716
  if (data.arn !== undefined && data.arn !== null) {
717
717
  contents.Arn = smithy_client_1.expectString(data.arn);
718
718
  }
@@ -826,7 +826,7 @@ const deserializeAws_restJson1CreatePackagingGroupCommand = async (output, conte
826
826
  Id: undefined,
827
827
  Tags: undefined,
828
828
  };
829
- const data = await parseBody(output.body, context);
829
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
830
830
  if (data.arn !== undefined && data.arn !== null) {
831
831
  contents.Arn = smithy_client_1.expectString(data.arn);
832
832
  }
@@ -1189,7 +1189,7 @@ const deserializeAws_restJson1DescribeAssetCommand = async (output, context) =>
1189
1189
  SourceRoleArn: undefined,
1190
1190
  Tags: undefined,
1191
1191
  };
1192
- const data = await parseBody(output.body, context);
1192
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1193
1193
  if (data.arn !== undefined && data.arn !== null) {
1194
1194
  contents.Arn = smithy_client_1.expectString(data.arn);
1195
1195
  }
@@ -1308,7 +1308,7 @@ const deserializeAws_restJson1DescribePackagingConfigurationCommand = async (out
1308
1308
  PackagingGroupId: undefined,
1309
1309
  Tags: undefined,
1310
1310
  };
1311
- const data = await parseBody(output.body, context);
1311
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1312
1312
  if (data.arn !== undefined && data.arn !== null) {
1313
1313
  contents.Arn = smithy_client_1.expectString(data.arn);
1314
1314
  }
@@ -1422,7 +1422,7 @@ const deserializeAws_restJson1DescribePackagingGroupCommand = async (output, con
1422
1422
  Id: undefined,
1423
1423
  Tags: undefined,
1424
1424
  };
1425
- const data = await parseBody(output.body, context);
1425
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1426
1426
  if (data.arn !== undefined && data.arn !== null) {
1427
1427
  contents.Arn = smithy_client_1.expectString(data.arn);
1428
1428
  }
@@ -1526,7 +1526,7 @@ const deserializeAws_restJson1ListAssetsCommand = async (output, context) => {
1526
1526
  Assets: undefined,
1527
1527
  NextToken: undefined,
1528
1528
  };
1529
- const data = await parseBody(output.body, context);
1529
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1530
1530
  if (data.assets !== undefined && data.assets !== null) {
1531
1531
  contents.Assets = deserializeAws_restJson1__listOfAssetShallow(data.assets, context);
1532
1532
  }
@@ -1618,7 +1618,7 @@ const deserializeAws_restJson1ListPackagingConfigurationsCommand = async (output
1618
1618
  NextToken: undefined,
1619
1619
  PackagingConfigurations: undefined,
1620
1620
  };
1621
- const data = await parseBody(output.body, context);
1621
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1622
1622
  if (data.nextToken !== undefined && data.nextToken !== null) {
1623
1623
  contents.NextToken = smithy_client_1.expectString(data.nextToken);
1624
1624
  }
@@ -1710,7 +1710,7 @@ const deserializeAws_restJson1ListPackagingGroupsCommand = async (output, contex
1710
1710
  NextToken: undefined,
1711
1711
  PackagingGroups: undefined,
1712
1712
  };
1713
- const data = await parseBody(output.body, context);
1713
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1714
1714
  if (data.nextToken !== undefined && data.nextToken !== null) {
1715
1715
  contents.NextToken = smithy_client_1.expectString(data.nextToken);
1716
1716
  }
@@ -1801,7 +1801,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1801
1801
  $metadata: deserializeMetadata(output),
1802
1802
  Tags: undefined,
1803
1803
  };
1804
- const data = await parseBody(output.body, context);
1804
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1805
1805
  if (data.tags !== undefined && data.tags !== null) {
1806
1806
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1807
1807
  }
@@ -1918,7 +1918,7 @@ const deserializeAws_restJson1UpdatePackagingGroupCommand = async (output, conte
1918
1918
  Id: undefined,
1919
1919
  Tags: undefined,
1920
1920
  };
1921
- const data = await parseBody(output.body, context);
1921
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1922
1922
  if (data.arn !== undefined && data.arn !== null) {
1923
1923
  contents.Arn = smithy_client_1.expectString(data.arn);
1924
1924
  }
@@ -2477,7 +2477,7 @@ const deserializeAws_restJson1CmafPackage = (output, context) => {
2477
2477
  ? deserializeAws_restJson1__listOfHlsManifest(output.hlsManifests, context)
2478
2478
  : undefined,
2479
2479
  IncludeEncoderConfigurationInSegments: smithy_client_1.expectBoolean(output.includeEncoderConfigurationInSegments),
2480
- SegmentDurationSeconds: smithy_client_1.expectInt(output.segmentDurationSeconds),
2480
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
2481
2481
  };
2482
2482
  };
2483
2483
  const deserializeAws_restJson1DashEncryption = (output, context) => {
@@ -2491,7 +2491,7 @@ const deserializeAws_restJson1DashManifest = (output, context) => {
2491
2491
  return {
2492
2492
  ManifestLayout: smithy_client_1.expectString(output.manifestLayout),
2493
2493
  ManifestName: smithy_client_1.expectString(output.manifestName),
2494
- MinBufferTimeSeconds: smithy_client_1.expectInt(output.minBufferTimeSeconds),
2494
+ MinBufferTimeSeconds: smithy_client_1.expectInt32(output.minBufferTimeSeconds),
2495
2495
  Profile: smithy_client_1.expectString(output.profile),
2496
2496
  StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
2497
2497
  ? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
@@ -2510,7 +2510,7 @@ const deserializeAws_restJson1DashPackage = (output, context) => {
2510
2510
  PeriodTriggers: output.periodTriggers !== undefined && output.periodTriggers !== null
2511
2511
  ? deserializeAws_restJson1__listOf__PeriodTriggersElement(output.periodTriggers, context)
2512
2512
  : undefined,
2513
- SegmentDurationSeconds: smithy_client_1.expectInt(output.segmentDurationSeconds),
2513
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
2514
2514
  SegmentTemplateFormat: smithy_client_1.expectString(output.segmentTemplateFormat),
2515
2515
  };
2516
2516
  };
@@ -2539,7 +2539,7 @@ const deserializeAws_restJson1HlsManifest = (output, context) => {
2539
2539
  AdMarkers: smithy_client_1.expectString(output.adMarkers),
2540
2540
  IncludeIframeOnlyStream: smithy_client_1.expectBoolean(output.includeIframeOnlyStream),
2541
2541
  ManifestName: smithy_client_1.expectString(output.manifestName),
2542
- ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt(output.programDateTimeIntervalSeconds),
2542
+ ProgramDateTimeIntervalSeconds: smithy_client_1.expectInt32(output.programDateTimeIntervalSeconds),
2543
2543
  RepeatExtXKey: smithy_client_1.expectBoolean(output.repeatExtXKey),
2544
2544
  StreamSelection: output.streamSelection !== undefined && output.streamSelection !== null
2545
2545
  ? deserializeAws_restJson1StreamSelection(output.streamSelection, context)
@@ -2554,7 +2554,7 @@ const deserializeAws_restJson1HlsPackage = (output, context) => {
2554
2554
  HlsManifests: output.hlsManifests !== undefined && output.hlsManifests !== null
2555
2555
  ? deserializeAws_restJson1__listOfHlsManifest(output.hlsManifests, context)
2556
2556
  : undefined,
2557
- SegmentDurationSeconds: smithy_client_1.expectInt(output.segmentDurationSeconds),
2557
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
2558
2558
  UseAudioRenditionGroup: smithy_client_1.expectBoolean(output.useAudioRenditionGroup),
2559
2559
  };
2560
2560
  };
@@ -2581,7 +2581,7 @@ const deserializeAws_restJson1MssPackage = (output, context) => {
2581
2581
  MssManifests: output.mssManifests !== undefined && output.mssManifests !== null
2582
2582
  ? deserializeAws_restJson1__listOfMssManifest(output.mssManifests, context)
2583
2583
  : undefined,
2584
- SegmentDurationSeconds: smithy_client_1.expectInt(output.segmentDurationSeconds),
2584
+ SegmentDurationSeconds: smithy_client_1.expectInt32(output.segmentDurationSeconds),
2585
2585
  };
2586
2586
  };
2587
2587
  const deserializeAws_restJson1PackagingConfiguration = (output, context) => {
@@ -2633,8 +2633,8 @@ const deserializeAws_restJson1SpekeKeyProvider = (output, context) => {
2633
2633
  };
2634
2634
  const deserializeAws_restJson1StreamSelection = (output, context) => {
2635
2635
  return {
2636
- MaxVideoBitsPerSecond: smithy_client_1.expectInt(output.maxVideoBitsPerSecond),
2637
- MinVideoBitsPerSecond: smithy_client_1.expectInt(output.minVideoBitsPerSecond),
2636
+ MaxVideoBitsPerSecond: smithy_client_1.expectInt32(output.maxVideoBitsPerSecond),
2637
+ MinVideoBitsPerSecond: smithy_client_1.expectInt32(output.minVideoBitsPerSecond),
2638
2638
  StreamOrder: smithy_client_1.expectString(output.streamOrder),
2639
2639
  };
2640
2640
  };