@aws-sdk/client-iot-wireless 3.583.0 → 3.587.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/dist-cjs/index.js CHANGED
@@ -1489,7 +1489,7 @@ var se_GetPositionEstimateCommand = /* @__PURE__ */ __name(async (input, context
1489
1489
  CellTowers: (_) => se_CellTowers(_, context),
1490
1490
  Gnss: (_) => se_Gnss(_, context),
1491
1491
  Ip: (_) => (0, import_smithy_client._json)(_),
1492
- Timestamp: (_) => Math.round(_.getTime() / 1e3),
1492
+ Timestamp: (_) => _.getTime() / 1e3,
1493
1493
  WiFiAccessPoints: (_) => (0, import_smithy_client._json)(_)
1494
1494
  })
1495
1495
  );
@@ -4046,13 +4046,13 @@ var se_LoRaWANMulticastSession = /* @__PURE__ */ __name((input, context) => {
4046
4046
  DlDr: [],
4047
4047
  DlFreq: [],
4048
4048
  PingSlotPeriod: [],
4049
- SessionStartTime: (_) => _.toISOString().split(".")[0] + "Z",
4049
+ SessionStartTime: import_smithy_client.serializeDateTime,
4050
4050
  SessionTimeout: []
4051
4051
  });
4052
4052
  }, "se_LoRaWANMulticastSession");
4053
4053
  var se_LoRaWANStartFuotaTask = /* @__PURE__ */ __name((input, context) => {
4054
4054
  return (0, import_smithy_client.take)(input, {
4055
- StartTime: (_) => _.toISOString().split(".")[0] + "Z"
4055
+ StartTime: import_smithy_client.serializeDateTime
4056
4056
  });
4057
4057
  }, "se_LoRaWANStartFuotaTask");
4058
4058
  var se_LteList = /* @__PURE__ */ __name((input, context) => {
@@ -4102,10 +4102,10 @@ var se_SummaryMetricQuery = /* @__PURE__ */ __name((input, context) => {
4102
4102
  return (0, import_smithy_client.take)(input, {
4103
4103
  AggregationPeriod: [],
4104
4104
  Dimensions: import_smithy_client._json,
4105
- EndTimestamp: (_) => Math.round(_.getTime() / 1e3),
4105
+ EndTimestamp: (_) => _.getTime() / 1e3,
4106
4106
  MetricName: [],
4107
4107
  QueryId: [],
4108
- StartTimestamp: (_) => Math.round(_.getTime() / 1e3)
4108
+ StartTimestamp: (_) => _.getTime() / 1e3
4109
4109
  });
4110
4110
  }, "se_SummaryMetricQuery");
4111
4111
  var de_Accuracy = /* @__PURE__ */ __name((output, context) => {
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { IoTWirelessServiceException as __BaseException } from "../models/IoTWirelessServiceException";
6
6
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -633,7 +633,7 @@ export const se_GetPositionEstimateCommand = async (input, context) => {
633
633
  CellTowers: (_) => se_CellTowers(_, context),
634
634
  Gnss: (_) => se_Gnss(_, context),
635
635
  Ip: (_) => _json(_),
636
- Timestamp: (_) => Math.round(_.getTime() / 1000),
636
+ Timestamp: (_) => _.getTime() / 1000,
637
637
  WiFiAccessPoints: (_) => _json(_),
638
638
  }));
639
639
  b.m("POST").h(headers).b(body);
@@ -3145,13 +3145,13 @@ const se_LoRaWANMulticastSession = (input, context) => {
3145
3145
  DlDr: [],
3146
3146
  DlFreq: [],
3147
3147
  PingSlotPeriod: [],
3148
- SessionStartTime: (_) => _.toISOString().split(".")[0] + "Z",
3148
+ SessionStartTime: __serializeDateTime,
3149
3149
  SessionTimeout: [],
3150
3150
  });
3151
3151
  };
3152
3152
  const se_LoRaWANStartFuotaTask = (input, context) => {
3153
3153
  return take(input, {
3154
- StartTime: (_) => _.toISOString().split(".")[0] + "Z",
3154
+ StartTime: __serializeDateTime,
3155
3155
  });
3156
3156
  };
3157
3157
  const se_LteList = (input, context) => {
@@ -3209,10 +3209,10 @@ const se_SummaryMetricQuery = (input, context) => {
3209
3209
  return take(input, {
3210
3210
  AggregationPeriod: [],
3211
3211
  Dimensions: _json,
3212
- EndTimestamp: (_) => Math.round(_.getTime() / 1000),
3212
+ EndTimestamp: (_) => _.getTime() / 1000,
3213
3213
  MetricName: [],
3214
3214
  QueryId: [],
3215
- StartTimestamp: (_) => Math.round(_.getTime() / 1000),
3215
+ StartTimestamp: (_) => _.getTime() / 1000,
3216
3216
  });
3217
3217
  };
3218
3218
  const de_Accuracy = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-wireless",
3
3
  "description": "AWS SDK for JavaScript Iot Wireless Client for Node.js, Browser and React Native",
4
- "version": "3.583.0",
4
+ "version": "3.587.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iot-wireless",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.583.0",
24
- "@aws-sdk/client-sts": "3.583.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.583.0",
23
+ "@aws-sdk/client-sso-oidc": "3.587.0",
24
+ "@aws-sdk/client-sts": "3.587.0",
25
+ "@aws-sdk/core": "3.587.0",
26
+ "@aws-sdk/credential-provider-node": "3.587.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.583.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.583.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-stream": "^3.0.1",