@aws-sdk/client-iottwinmaker 3.245.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.
@@ -507,7 +507,7 @@ const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input, conte
507
507
  body = JSON.stringify({
508
508
  ...(input.componentName != null && { componentName: input.componentName }),
509
509
  ...(input.componentTypeId != null && { componentTypeId: input.componentTypeId }),
510
- ...(input.endDateTime != null && { endDateTime: Math.round(input.endDateTime.getTime() / 1000) }),
510
+ ...(input.endDateTime != null && { endDateTime: Math.round(input.endDateTime.getTime() / 1000).toString() }),
511
511
  ...(input.endTime != null && { endTime: input.endTime }),
512
512
  ...(input.entityId != null && { entityId: input.entityId }),
513
513
  ...(input.interpolation != null && {
@@ -522,7 +522,7 @@ const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input, conte
522
522
  ...(input.selectedProperties != null && {
523
523
  selectedProperties: serializeAws_restJson1SelectedPropertyList(input.selectedProperties, context),
524
524
  }),
525
- ...(input.startDateTime != null && { startDateTime: Math.round(input.startDateTime.getTime() / 1000) }),
525
+ ...(input.startDateTime != null && { startDateTime: Math.round(input.startDateTime.getTime() / 1000).toString() }),
526
526
  ...(input.startTime != null && { startTime: input.startTime }),
527
527
  });
528
528
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -3299,7 +3299,7 @@ const serializeAws_restJson1PropertyRequests = (input, context) => {
3299
3299
  const serializeAws_restJson1PropertyValue = (input, context) => {
3300
3300
  return {
3301
3301
  ...(input.time != null && { time: input.time }),
3302
- ...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000) }),
3302
+ ...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000).toString() }),
3303
3303
  ...(input.value != null && { value: serializeAws_restJson1DataValue(input.value, context) }),
3304
3304
  };
3305
3305
  };
@@ -487,7 +487,7 @@ export const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input
487
487
  body = JSON.stringify({
488
488
  ...(input.componentName != null && { componentName: input.componentName }),
489
489
  ...(input.componentTypeId != null && { componentTypeId: input.componentTypeId }),
490
- ...(input.endDateTime != null && { endDateTime: Math.round(input.endDateTime.getTime() / 1000) }),
490
+ ...(input.endDateTime != null && { endDateTime: Math.round(input.endDateTime.getTime() / 1000).toString() }),
491
491
  ...(input.endTime != null && { endTime: input.endTime }),
492
492
  ...(input.entityId != null && { entityId: input.entityId }),
493
493
  ...(input.interpolation != null && {
@@ -502,7 +502,7 @@ export const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input
502
502
  ...(input.selectedProperties != null && {
503
503
  selectedProperties: serializeAws_restJson1SelectedPropertyList(input.selectedProperties, context),
504
504
  }),
505
- ...(input.startDateTime != null && { startDateTime: Math.round(input.startDateTime.getTime() / 1000) }),
505
+ ...(input.startDateTime != null && { startDateTime: Math.round(input.startDateTime.getTime() / 1000).toString() }),
506
506
  ...(input.startTime != null && { startTime: input.startTime }),
507
507
  });
508
508
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -3227,7 +3227,7 @@ const serializeAws_restJson1PropertyRequests = (input, context) => {
3227
3227
  const serializeAws_restJson1PropertyValue = (input, context) => {
3228
3228
  return {
3229
3229
  ...(input.time != null && { time: input.time }),
3230
- ...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000) }),
3230
+ ...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000).toString() }),
3231
3231
  ...(input.value != null && { value: serializeAws_restJson1DataValue(input.value, context) }),
3232
3232
  };
3233
3233
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iottwinmaker",
3
3
  "description": "AWS SDK for JavaScript Iottwinmaker Client for Node.js, Browser and React Native",
4
- "version": "3.245.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/iottwinmaker.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo iottwinmaker"
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.245.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.245.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",