@aws-sdk/client-medialive 3.216.0 → 3.218.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.
@@ -503,7 +503,10 @@ const serializeAws_restJson1DeleteTagsCommand = async (input, context) => {
503
503
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/prod/tags/{ResourceArn}";
504
504
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
505
505
  const query = map({
506
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
506
+ tagKeys: [
507
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
508
+ () => (input.TagKeys || []).map((_entry) => _entry),
509
+ ],
507
510
  });
508
511
  let body;
509
512
  return new protocol_http_1.HttpRequest({
@@ -748,7 +751,7 @@ const serializeAws_restJson1ListInputDeviceTransfersCommand = async (input, cont
748
751
  const query = map({
749
752
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
750
753
  nextToken: [, input.NextToken],
751
- transferType: [, input.TransferType],
754
+ transferType: [, (0, smithy_client_1.expectNonNull)(input.TransferType, `TransferType`)],
752
755
  });
753
756
  let body;
754
757
  return new protocol_http_1.HttpRequest({
@@ -477,7 +477,10 @@ export const serializeAws_restJson1DeleteTagsCommand = async (input, context) =>
477
477
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/prod/tags/{ResourceArn}";
478
478
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
479
479
  const query = map({
480
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
480
+ tagKeys: [
481
+ __expectNonNull(input.TagKeys, `TagKeys`) != null,
482
+ () => (input.TagKeys || []).map((_entry) => _entry),
483
+ ],
481
484
  });
482
485
  let body;
483
486
  return new __HttpRequest({
@@ -709,7 +712,7 @@ export const serializeAws_restJson1ListInputDeviceTransfersCommand = async (inpu
709
712
  const query = map({
710
713
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
711
714
  nextToken: [, input.NextToken],
712
- transferType: [, input.TransferType],
715
+ transferType: [, __expectNonNull(input.TransferType, `TransferType`)],
713
716
  });
714
717
  let body;
715
718
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medialive",
3
3
  "description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
4
- "version": "3.216.0",
4
+ "version": "3.218.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.216.0",
22
+ "@aws-sdk/client-sts": "3.218.0",
23
23
  "@aws-sdk/config-resolver": "3.215.0",
24
- "@aws-sdk/credential-provider-node": "3.216.0",
24
+ "@aws-sdk/credential-provider-node": "3.218.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.215.0",
26
26
  "@aws-sdk/hash-node": "3.215.0",
27
27
  "@aws-sdk/invalid-dependency": "3.215.0",