@aws-sdk/client-mediatailor 3.241.0 → 3.252.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.
@@ -2736,8 +2736,8 @@ const serializeAws_restJson1PrefetchConsumption = (input, context) => {
2736
2736
  ...(input.AvailMatchingCriteria != null && {
2737
2737
  AvailMatchingCriteria: serializeAws_restJson1__listOfAvailMatchingCriteria(input.AvailMatchingCriteria, context),
2738
2738
  }),
2739
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2740
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2739
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
2740
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
2741
2741
  };
2742
2742
  };
2743
2743
  const serializeAws_restJson1PrefetchRetrieval = (input, context) => {
@@ -2745,8 +2745,8 @@ const serializeAws_restJson1PrefetchRetrieval = (input, context) => {
2745
2745
  ...(input.DynamicVariables != null && {
2746
2746
  DynamicVariables: serializeAws_restJson1__mapOf__string(input.DynamicVariables, context),
2747
2747
  }),
2748
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2749
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2748
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
2749
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
2750
2750
  };
2751
2751
  };
2752
2752
  const serializeAws_restJson1RequestOutputItem = (input, context) => {
@@ -2648,8 +2648,8 @@ const serializeAws_restJson1PrefetchConsumption = (input, context) => {
2648
2648
  ...(input.AvailMatchingCriteria != null && {
2649
2649
  AvailMatchingCriteria: serializeAws_restJson1__listOfAvailMatchingCriteria(input.AvailMatchingCriteria, context),
2650
2650
  }),
2651
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2652
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2651
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
2652
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
2653
2653
  };
2654
2654
  };
2655
2655
  const serializeAws_restJson1PrefetchRetrieval = (input, context) => {
@@ -2657,8 +2657,8 @@ const serializeAws_restJson1PrefetchRetrieval = (input, context) => {
2657
2657
  ...(input.DynamicVariables != null && {
2658
2658
  DynamicVariables: serializeAws_restJson1__mapOf__string(input.DynamicVariables, context),
2659
2659
  }),
2660
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2661
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2660
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
2661
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
2662
2662
  };
2663
2663
  };
2664
2664
  const serializeAws_restJson1RequestOutputItem = (input, context) => {
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.241.0",
4
+ "version": "3.252.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",
@@ -11,7 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/mediatailor.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo mediatailor"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.241.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.241.0",
25
+ "@aws-sdk/credential-provider-node": "3.252.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -47,7 +47,7 @@
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
49
  "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.241.0",
50
+ "@aws-sdk/util-endpoints": "3.245.0",
51
51
  "@aws-sdk/util-retry": "3.229.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.226.0",
53
53
  "@aws-sdk/util-user-agent-node": "3.226.0",