@aws-sdk/client-mediatailor 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.
@@ -518,7 +518,7 @@ const serializeAws_restJson1ListAlertsCommand = async (input, context) => {
518
518
  const query = map({
519
519
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
520
520
  nextToken: [, input.NextToken],
521
- resourceArn: [, input.ResourceArn],
521
+ resourceArn: [, (0, smithy_client_1.expectNonNull)(input.ResourceArn, `ResourceArn`)],
522
522
  });
523
523
  let body;
524
524
  return new protocol_http_1.HttpRequest({
@@ -816,7 +816,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
816
816
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
817
817
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
818
818
  const query = map({
819
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
819
+ tagKeys: [
820
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
821
+ () => (input.TagKeys || []).map((_entry) => _entry),
822
+ ],
820
823
  });
821
824
  let body;
822
825
  return new protocol_http_1.HttpRequest({
@@ -490,7 +490,7 @@ export const serializeAws_restJson1ListAlertsCommand = async (input, context) =>
490
490
  const query = map({
491
491
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
492
492
  nextToken: [, input.NextToken],
493
- resourceArn: [, input.ResourceArn],
493
+ resourceArn: [, __expectNonNull(input.ResourceArn, `ResourceArn`)],
494
494
  });
495
495
  let body;
496
496
  return new __HttpRequest({
@@ -775,7 +775,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
775
775
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
776
776
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
777
777
  const query = map({
778
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
778
+ tagKeys: [
779
+ __expectNonNull(input.TagKeys, `TagKeys`) != null,
780
+ () => (input.TagKeys || []).map((_entry) => _entry),
781
+ ],
779
782
  });
780
783
  let body;
781
784
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediatailor",
3
3
  "description": "AWS SDK for JavaScript Mediatailor 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",