@aws-sdk/client-location 3.100.0 → 3.110.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 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.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-location
9
+
10
+
11
+
12
+
13
+
14
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-location
17
+
18
+
19
+
20
+
21
+
22
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-location
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class LocationClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var LocationClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -320,9 +320,7 @@ export interface DevicePositionUpdate {
320
320
  * <p>Format: <code>"key" : "value"</code>
321
321
  * </p>
322
322
  */
323
- PositionProperties?: {
324
- [key: string]: string;
325
- };
323
+ PositionProperties?: Record<string, string>;
326
324
  }
327
325
  export declare namespace DevicePositionUpdate {
328
326
  /**
@@ -439,9 +437,7 @@ export interface DevicePosition {
439
437
  /**
440
438
  * <p>The properties associated with the position.</p>
441
439
  */
442
- PositionProperties?: {
443
- [key: string]: string;
444
- };
440
+ PositionProperties?: Record<string, string>;
445
441
  }
446
442
  export declare namespace DevicePosition {
447
443
  /**
@@ -1594,9 +1590,7 @@ export interface CreateGeofenceCollectionRequest {
1594
1590
  * </li>
1595
1591
  * </ul>
1596
1592
  */
1597
- Tags?: {
1598
- [key: string]: string;
1599
- };
1593
+ Tags?: Record<string, string>;
1600
1594
  /**
1601
1595
  * <p>A key identifier for an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html">AWS KMS customer managed key</a>. Enter a key ID, key ARN, alias name, or alias ARN.
1602
1596
  * </p>
@@ -1776,9 +1770,7 @@ export interface CreateMapRequest {
1776
1770
  * </li>
1777
1771
  * </ul>
1778
1772
  */
1779
- Tags?: {
1780
- [key: string]: string;
1781
- };
1773
+ Tags?: Record<string, string>;
1782
1774
  }
1783
1775
  export declare namespace CreateMapRequest {
1784
1776
  /**
@@ -1951,9 +1943,7 @@ export interface CreatePlaceIndexRequest {
1951
1943
  * </li>
1952
1944
  * </ul>
1953
1945
  */
1954
- Tags?: {
1955
- [key: string]: string;
1956
- };
1946
+ Tags?: Record<string, string>;
1957
1947
  }
1958
1948
  export declare namespace CreatePlaceIndexRequest {
1959
1949
  /**
@@ -2076,9 +2066,7 @@ export interface CreateRouteCalculatorRequest {
2076
2066
  * </li>
2077
2067
  * </ul>
2078
2068
  */
2079
- Tags?: {
2080
- [key: string]: string;
2081
- };
2069
+ Tags?: Record<string, string>;
2082
2070
  }
2083
2071
  export declare namespace CreateRouteCalculatorRequest {
2084
2072
  /**
@@ -2193,9 +2181,7 @@ export interface CreateTrackerRequest {
2193
2181
  * </li>
2194
2182
  * </ul>
2195
2183
  */
2196
- Tags?: {
2197
- [key: string]: string;
2198
- };
2184
+ Tags?: Record<string, string>;
2199
2185
  /**
2200
2186
  * <p>Specifies the position filtering for the tracker resource.</p>
2201
2187
  * <p>Valid values:</p>
@@ -2418,9 +2404,7 @@ export interface DescribeGeofenceCollectionResponse {
2418
2404
  /**
2419
2405
  * <p>Displays the key, value pairs of tags associated with this resource.</p>
2420
2406
  */
2421
- Tags?: {
2422
- [key: string]: string;
2423
- };
2407
+ Tags?: Record<string, string>;
2424
2408
  /**
2425
2409
  * <p>The timestamp for when the geofence resource was created in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>
2426
2410
  * format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>
@@ -2490,9 +2474,7 @@ export interface DescribeMapResponse {
2490
2474
  /**
2491
2475
  * <p>Tags associated with the map resource.</p>
2492
2476
  */
2493
- Tags?: {
2494
- [key: string]: string;
2495
- };
2477
+ Tags?: Record<string, string>;
2496
2478
  /**
2497
2479
  * <p>The timestamp for when the map resource was created in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>
2498
2480
  * format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>.</p>
@@ -2583,9 +2565,7 @@ export interface DescribePlaceIndexResponse {
2583
2565
  /**
2584
2566
  * <p>Tags associated with place index resource.</p>
2585
2567
  */
2586
- Tags?: {
2587
- [key: string]: string;
2588
- };
2568
+ Tags?: Record<string, string>;
2589
2569
  }
2590
2570
  export declare namespace DescribePlaceIndexResponse {
2591
2571
  /**
@@ -2675,9 +2655,7 @@ export interface DescribeRouteCalculatorResponse {
2675
2655
  /**
2676
2656
  * <p>Tags associated with route calculator resource.</p>
2677
2657
  */
2678
- Tags?: {
2679
- [key: string]: string;
2680
- };
2658
+ Tags?: Record<string, string>;
2681
2659
  }
2682
2660
  export declare namespace DescribeRouteCalculatorResponse {
2683
2661
  /**
@@ -2733,9 +2711,7 @@ export interface DescribeTrackerResponse {
2733
2711
  /**
2734
2712
  * <p>The tags associated with the tracker resource.</p>
2735
2713
  */
2736
- Tags?: {
2737
- [key: string]: string;
2738
- };
2714
+ Tags?: Record<string, string>;
2739
2715
  /**
2740
2716
  * <p>The timestamp for when the tracker resource was created in <a href="https://www.iso.org/iso-8601-date-and-time-format.html"> ISO 8601</a>
2741
2717
  * format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>. </p>
@@ -2821,9 +2797,7 @@ export interface ListTagsForResourceResponse {
2821
2797
  * </li>
2822
2798
  * </ul>
2823
2799
  */
2824
- Tags?: {
2825
- [key: string]: string;
2826
- };
2800
+ Tags?: Record<string, string>;
2827
2801
  }
2828
2802
  export declare namespace ListTagsForResourceResponse {
2829
2803
  /**
@@ -2870,9 +2844,7 @@ export interface TagResourceRequest {
2870
2844
  * </li>
2871
2845
  * </ul>
2872
2846
  */
2873
- Tags: {
2874
- [key: string]: string;
2875
- } | undefined;
2847
+ Tags: Record<string, string> | undefined;
2876
2848
  }
2877
2849
  export declare namespace TagResourceRequest {
2878
2850
  /**
@@ -3322,9 +3294,7 @@ export interface GetDevicePositionResponse {
3322
3294
  /**
3323
3295
  * <p>The properties associated with the position.</p>
3324
3296
  */
3325
- PositionProperties?: {
3326
- [key: string]: string;
3327
- };
3297
+ PositionProperties?: Record<string, string>;
3328
3298
  }
3329
3299
  export declare namespace GetDevicePositionResponse {
3330
3300
  /**
@@ -3664,9 +3634,7 @@ export interface ListDevicePositionsResponseEntry {
3664
3634
  /**
3665
3635
  * <p>The properties associated with the position.</p>
3666
3636
  */
3667
- PositionProperties?: {
3668
- [key: string]: string;
3669
- };
3637
+ PositionProperties?: Record<string, string>;
3670
3638
  }
3671
3639
  export declare namespace ListDevicePositionsResponseEntry {
3672
3640
  /**
@@ -181,9 +181,7 @@ export interface DevicePositionUpdate {
181
181
 
182
182
  Accuracy?: PositionalAccuracy;
183
183
 
184
- PositionProperties?: {
185
- [key: string]: string;
186
- };
184
+ PositionProperties?: Record<string, string>;
187
185
  }
188
186
  export declare namespace DevicePositionUpdate {
189
187
 
@@ -243,9 +241,7 @@ export interface DevicePosition {
243
241
 
244
242
  Accuracy?: PositionalAccuracy;
245
243
 
246
- PositionProperties?: {
247
- [key: string]: string;
248
- };
244
+ PositionProperties?: Record<string, string>;
249
245
  }
250
246
  export declare namespace DevicePosition {
251
247
 
@@ -614,9 +610,7 @@ export interface CreateGeofenceCollectionRequest {
614
610
 
615
611
  Description?: string;
616
612
 
617
- Tags?: {
618
- [key: string]: string;
619
- };
613
+ Tags?: Record<string, string>;
620
614
 
621
615
  KmsKeyId?: string;
622
616
  }
@@ -655,9 +649,7 @@ export interface CreateMapRequest {
655
649
 
656
650
  Description?: string;
657
651
 
658
- Tags?: {
659
- [key: string]: string;
660
- };
652
+ Tags?: Record<string, string>;
661
653
  }
662
654
  export declare namespace CreateMapRequest {
663
655
 
@@ -697,9 +689,7 @@ export interface CreatePlaceIndexRequest {
697
689
 
698
690
  DataSourceConfiguration?: DataSourceConfiguration;
699
691
 
700
- Tags?: {
701
- [key: string]: string;
702
- };
692
+ Tags?: Record<string, string>;
703
693
  }
704
694
  export declare namespace CreatePlaceIndexRequest {
705
695
 
@@ -727,9 +717,7 @@ export interface CreateRouteCalculatorRequest {
727
717
 
728
718
  Description?: string;
729
719
 
730
- Tags?: {
731
- [key: string]: string;
732
- };
720
+ Tags?: Record<string, string>;
733
721
  }
734
722
  export declare namespace CreateRouteCalculatorRequest {
735
723
 
@@ -760,9 +748,7 @@ export interface CreateTrackerRequest {
760
748
 
761
749
  Description?: string;
762
750
 
763
- Tags?: {
764
- [key: string]: string;
765
- };
751
+ Tags?: Record<string, string>;
766
752
 
767
753
  PositionFiltering?: PositionFiltering | string;
768
754
  }
@@ -874,9 +860,7 @@ export interface DescribeGeofenceCollectionResponse {
874
860
 
875
861
  KmsKeyId?: string;
876
862
 
877
- Tags?: {
878
- [key: string]: string;
879
- };
863
+ Tags?: Record<string, string>;
880
864
 
881
865
  CreateTime: Date | undefined;
882
866
 
@@ -908,9 +892,7 @@ export interface DescribeMapResponse {
908
892
 
909
893
  Description: string | undefined;
910
894
 
911
- Tags?: {
912
- [key: string]: string;
913
- };
895
+ Tags?: Record<string, string>;
914
896
 
915
897
  CreateTime: Date | undefined;
916
898
 
@@ -946,9 +928,7 @@ export interface DescribePlaceIndexResponse {
946
928
 
947
929
  DataSourceConfiguration: DataSourceConfiguration | undefined;
948
930
 
949
- Tags?: {
950
- [key: string]: string;
951
- };
931
+ Tags?: Record<string, string>;
952
932
  }
953
933
  export declare namespace DescribePlaceIndexResponse {
954
934
 
@@ -978,9 +958,7 @@ export interface DescribeRouteCalculatorResponse {
978
958
 
979
959
  DataSource: string | undefined;
980
960
 
981
- Tags?: {
982
- [key: string]: string;
983
- };
961
+ Tags?: Record<string, string>;
984
962
  }
985
963
  export declare namespace DescribeRouteCalculatorResponse {
986
964
 
@@ -1006,9 +984,7 @@ export interface DescribeTrackerResponse {
1006
984
 
1007
985
  PricingPlanDataSource?: string;
1008
986
 
1009
- Tags?: {
1010
- [key: string]: string;
1011
- };
987
+ Tags?: Record<string, string>;
1012
988
 
1013
989
  CreateTime: Date | undefined;
1014
990
 
@@ -1048,9 +1024,7 @@ export declare namespace ListTagsForResourceRequest {
1048
1024
  }
1049
1025
  export interface ListTagsForResourceResponse {
1050
1026
 
1051
- Tags?: {
1052
- [key: string]: string;
1053
- };
1027
+ Tags?: Record<string, string>;
1054
1028
  }
1055
1029
  export declare namespace ListTagsForResourceResponse {
1056
1030
 
@@ -1060,9 +1034,7 @@ export interface TagResourceRequest {
1060
1034
 
1061
1035
  ResourceArn: string | undefined;
1062
1036
 
1063
- Tags: {
1064
- [key: string]: string;
1065
- } | undefined;
1037
+ Tags: Record<string, string> | undefined;
1066
1038
  }
1067
1039
  export declare namespace TagResourceRequest {
1068
1040
 
@@ -1266,9 +1238,7 @@ export interface GetDevicePositionResponse {
1266
1238
 
1267
1239
  Accuracy?: PositionalAccuracy;
1268
1240
 
1269
- PositionProperties?: {
1270
- [key: string]: string;
1271
- };
1241
+ PositionProperties?: Record<string, string>;
1272
1242
  }
1273
1243
  export declare namespace GetDevicePositionResponse {
1274
1244
 
@@ -1409,9 +1379,7 @@ export interface ListDevicePositionsResponseEntry {
1409
1379
 
1410
1380
  Accuracy?: PositionalAccuracy;
1411
1381
 
1412
- PositionProperties?: {
1413
- [key: string]: string;
1414
- };
1382
+ PositionProperties?: Record<string, string>;
1415
1383
  }
1416
1384
  export declare namespace ListDevicePositionsResponseEntry {
1417
1385
 
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.100.0",
4
+ "version": "3.110.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,36 +18,37 @@
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.100.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/fetch-http-handler": "3.110.0",
25
+ "@aws-sdk/hash-node": "3.110.0",
26
+ "@aws-sdk/invalid-dependency": "3.110.0",
27
+ "@aws-sdk/middleware-content-length": "3.110.0",
28
+ "@aws-sdk/middleware-host-header": "3.110.0",
29
+ "@aws-sdk/middleware-logger": "3.110.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.110.0",
32
+ "@aws-sdk/middleware-serde": "3.110.0",
33
+ "@aws-sdk/middleware-signing": "3.110.0",
34
+ "@aws-sdk/middleware-stack": "3.110.0",
35
+ "@aws-sdk/middleware-user-agent": "3.110.0",
36
+ "@aws-sdk/node-config-provider": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/protocol-http": "3.110.0",
39
+ "@aws-sdk/smithy-client": "3.110.0",
40
+ "@aws-sdk/types": "3.110.0",
41
+ "@aws-sdk/url-parser": "3.110.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.110.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
51
52
  "tslib": "^2.3.1"
52
53
  },
53
54
  "devDependencies": {