@aws-sdk/client-location 3.55.0 → 3.61.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/CHANGELOG.md +27 -0
- package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/pagination/GetDevicePositionHistoryPaginator.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -2
- package/dist-types/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.61.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.60.0...v3.61.0) (2022-03-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients for 03/22/2022 & 03/23/2022 ([#3498](https://github.com/aws/aws-sdk-js-v3/issues/3498)) ([fc18e5c](https://github.com/aws/aws-sdk-js-v3/commit/fc18e5c1b339dc71946edd83b28bf71cf4f8eba3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-location
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-location
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -16,6 +16,7 @@ async function* paginateGetDevicePositionHistory(config, input, ...additionalArg
|
|
|
16
16
|
let page;
|
|
17
17
|
while (hasNext) {
|
|
18
18
|
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
19
20
|
if (config.client instanceof Location_1.Location) {
|
|
20
21
|
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
21
22
|
}
|
|
@@ -1042,6 +1042,7 @@ const serializeAws_restJson1GetDevicePositionHistoryCommand = async (input, cont
|
|
|
1042
1042
|
input.EndTimeExclusive !== null && {
|
|
1043
1043
|
EndTimeExclusive: input.EndTimeExclusive.toISOString().split(".")[0] + "Z",
|
|
1044
1044
|
}),
|
|
1045
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
1045
1046
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1046
1047
|
...(input.StartTimeInclusive !== undefined &&
|
|
1047
1048
|
input.StartTimeInclusive !== null && {
|
|
@@ -46,6 +46,7 @@ export function paginateGetDevicePositionHistory(config, input) {
|
|
|
46
46
|
case 1:
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
49
50
|
if (!(config.client instanceof Location)) return [3, 3];
|
|
50
51
|
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
52
|
case 2:
|
|
@@ -1151,10 +1151,10 @@ export var serializeAws_restJson1GetDevicePositionHistoryCommand = function (inp
|
|
|
1151
1151
|
else {
|
|
1152
1152
|
throw new Error("No value provided for input HTTP label: DeviceId.");
|
|
1153
1153
|
}
|
|
1154
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.EndTimeExclusive !== undefined &&
|
|
1154
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.EndTimeExclusive !== undefined &&
|
|
1155
1155
|
input.EndTimeExclusive !== null && {
|
|
1156
1156
|
EndTimeExclusive: input.EndTimeExclusive.toISOString().split(".")[0] + "Z",
|
|
1157
|
-
})), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartTimeInclusive !== undefined &&
|
|
1157
|
+
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartTimeInclusive !== undefined &&
|
|
1158
1158
|
input.StartTimeInclusive !== null && {
|
|
1159
1159
|
StartTimeInclusive: input.StartTimeInclusive.toISOString().split(".")[0] + "Z",
|
|
1160
1160
|
})));
|
|
@@ -3352,6 +3352,12 @@ export interface GetDevicePositionHistoryRequest {
|
|
|
3352
3352
|
* </ul>
|
|
3353
3353
|
*/
|
|
3354
3354
|
EndTimeExclusive?: Date;
|
|
3355
|
+
/**
|
|
3356
|
+
* <p>An optional limit for the number of device positions returned in a single call.</p>
|
|
3357
|
+
* <p>Default value: <code>100</code>
|
|
3358
|
+
* </p>
|
|
3359
|
+
*/
|
|
3360
|
+
MaxResults?: number;
|
|
3355
3361
|
}
|
|
3356
3362
|
export declare namespace GetDevicePositionHistoryRequest {
|
|
3357
3363
|
/**
|
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.61.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",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.58.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.58.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|