@aws-sdk/client-location 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 +8 -8
- package/dist-es/protocols/Aws_restJson1.js +9 -9
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -870,11 +870,11 @@ var se_CalculateRouteCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
870
870
|
let body;
|
|
871
871
|
body = JSON.stringify(
|
|
872
872
|
(0, import_smithy_client.take)(input, {
|
|
873
|
-
ArrivalTime: (_) =>
|
|
873
|
+
ArrivalTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
874
874
|
CarModeOptions: (_) => (0, import_smithy_client._json)(_),
|
|
875
875
|
DepartNow: [],
|
|
876
876
|
DeparturePosition: (_) => se_Position(_, context),
|
|
877
|
-
DepartureTime: (_) =>
|
|
877
|
+
DepartureTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
878
878
|
DestinationPosition: (_) => se_Position(_, context),
|
|
879
879
|
DistanceUnit: [],
|
|
880
880
|
IncludeLegGeometry: [],
|
|
@@ -911,7 +911,7 @@ var se_CalculateRouteMatrixCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
911
911
|
CarModeOptions: (_) => (0, import_smithy_client._json)(_),
|
|
912
912
|
DepartNow: [],
|
|
913
913
|
DeparturePositions: (_) => se_PositionList(_, context),
|
|
914
|
-
DepartureTime: (_) =>
|
|
914
|
+
DepartureTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
915
915
|
DestinationPositions: (_) => se_PositionList(_, context),
|
|
916
916
|
DistanceUnit: [],
|
|
917
917
|
TravelMode: [],
|
|
@@ -967,7 +967,7 @@ var se_CreateKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
967
967
|
body = JSON.stringify(
|
|
968
968
|
(0, import_smithy_client.take)(input, {
|
|
969
969
|
Description: [],
|
|
970
|
-
ExpireTime: (_) =>
|
|
970
|
+
ExpireTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
971
971
|
KeyName: [],
|
|
972
972
|
NoExpiry: [],
|
|
973
973
|
Restrictions: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -1352,10 +1352,10 @@ var se_GetDevicePositionHistoryCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1352
1352
|
let body;
|
|
1353
1353
|
body = JSON.stringify(
|
|
1354
1354
|
(0, import_smithy_client.take)(input, {
|
|
1355
|
-
EndTimeExclusive: (_) =>
|
|
1355
|
+
EndTimeExclusive: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
1356
1356
|
MaxResults: [],
|
|
1357
1357
|
NextToken: [],
|
|
1358
|
-
StartTimeInclusive: (_) =>
|
|
1358
|
+
StartTimeInclusive: (_) => (0, import_smithy_client.serializeDateTime)(_)
|
|
1359
1359
|
})
|
|
1360
1360
|
);
|
|
1361
1361
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1938,7 +1938,7 @@ var se_UpdateKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1938
1938
|
body = JSON.stringify(
|
|
1939
1939
|
(0, import_smithy_client.take)(input, {
|
|
1940
1940
|
Description: [],
|
|
1941
|
-
ExpireTime: (_) =>
|
|
1941
|
+
ExpireTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
1942
1942
|
ForceUpdate: [],
|
|
1943
1943
|
NoExpiry: [],
|
|
1944
1944
|
Restrictions: (_) => (0, import_smithy_client._json)(_)
|
|
@@ -3104,7 +3104,7 @@ var se_DevicePositionUpdate = /* @__PURE__ */ __name((input, context) => {
|
|
|
3104
3104
|
DeviceId: [],
|
|
3105
3105
|
Position: (_) => se_Position(_, context),
|
|
3106
3106
|
PositionProperties: import_smithy_client._json,
|
|
3107
|
-
SampleTime:
|
|
3107
|
+
SampleTime: import_smithy_client.serializeDateTime
|
|
3108
3108
|
});
|
|
3109
3109
|
}, "se_DevicePositionUpdate");
|
|
3110
3110
|
var se_DevicePositionUpdateList = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
4
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
import { LocationServiceException as __BaseException } from "../models/LocationServiceException";
|
|
6
6
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
7
7
|
export const se_AssociateTrackerConsumerCommand = async (input, context) => {
|
|
@@ -170,11 +170,11 @@ export const se_CalculateRouteCommand = async (input, context) => {
|
|
|
170
170
|
});
|
|
171
171
|
let body;
|
|
172
172
|
body = JSON.stringify(take(input, {
|
|
173
|
-
ArrivalTime: (_) => _
|
|
173
|
+
ArrivalTime: (_) => __serializeDateTime(_),
|
|
174
174
|
CarModeOptions: (_) => _json(_),
|
|
175
175
|
DepartNow: [],
|
|
176
176
|
DeparturePosition: (_) => se_Position(_, context),
|
|
177
|
-
DepartureTime: (_) => _
|
|
177
|
+
DepartureTime: (_) => __serializeDateTime(_),
|
|
178
178
|
DestinationPosition: (_) => se_Position(_, context),
|
|
179
179
|
DistanceUnit: [],
|
|
180
180
|
IncludeLegGeometry: [],
|
|
@@ -209,7 +209,7 @@ export const se_CalculateRouteMatrixCommand = async (input, context) => {
|
|
|
209
209
|
CarModeOptions: (_) => _json(_),
|
|
210
210
|
DepartNow: [],
|
|
211
211
|
DeparturePositions: (_) => se_PositionList(_, context),
|
|
212
|
-
DepartureTime: (_) => _
|
|
212
|
+
DepartureTime: (_) => __serializeDateTime(_),
|
|
213
213
|
DestinationPositions: (_) => se_PositionList(_, context),
|
|
214
214
|
DistanceUnit: [],
|
|
215
215
|
TravelMode: [],
|
|
@@ -261,7 +261,7 @@ export const se_CreateKeyCommand = async (input, context) => {
|
|
|
261
261
|
let body;
|
|
262
262
|
body = JSON.stringify(take(input, {
|
|
263
263
|
Description: [],
|
|
264
|
-
ExpireTime: (_) => _
|
|
264
|
+
ExpireTime: (_) => __serializeDateTime(_),
|
|
265
265
|
KeyName: [],
|
|
266
266
|
NoExpiry: [],
|
|
267
267
|
Restrictions: (_) => _json(_),
|
|
@@ -636,10 +636,10 @@ export const se_GetDevicePositionHistoryCommand = async (input, context) => {
|
|
|
636
636
|
b.p("DeviceId", () => input.DeviceId, "{DeviceId}", false);
|
|
637
637
|
let body;
|
|
638
638
|
body = JSON.stringify(take(input, {
|
|
639
|
-
EndTimeExclusive: (_) => _
|
|
639
|
+
EndTimeExclusive: (_) => __serializeDateTime(_),
|
|
640
640
|
MaxResults: [],
|
|
641
641
|
NextToken: [],
|
|
642
|
-
StartTimeInclusive: (_) => _
|
|
642
|
+
StartTimeInclusive: (_) => __serializeDateTime(_),
|
|
643
643
|
}));
|
|
644
644
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
645
645
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1190,7 +1190,7 @@ export const se_UpdateKeyCommand = async (input, context) => {
|
|
|
1190
1190
|
let body;
|
|
1191
1191
|
body = JSON.stringify(take(input, {
|
|
1192
1192
|
Description: [],
|
|
1193
|
-
ExpireTime: (_) => _
|
|
1193
|
+
ExpireTime: (_) => __serializeDateTime(_),
|
|
1194
1194
|
ForceUpdate: [],
|
|
1195
1195
|
NoExpiry: [],
|
|
1196
1196
|
Restrictions: (_) => _json(_),
|
|
@@ -2351,7 +2351,7 @@ const se_DevicePositionUpdate = (input, context) => {
|
|
|
2351
2351
|
DeviceId: [],
|
|
2352
2352
|
Position: (_) => se_Position(_, context),
|
|
2353
2353
|
PositionProperties: _json,
|
|
2354
|
-
SampleTime:
|
|
2354
|
+
SampleTime: __serializeDateTime,
|
|
2355
2355
|
});
|
|
2356
2356
|
};
|
|
2357
2357
|
const se_DevicePositionUpdateList = (input, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-location",
|
|
3
3
|
"description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-location",
|
|
@@ -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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
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.
|
|
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.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
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.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
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.
|
|
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.
|
|
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.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.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",
|