@aws-sdk/client-location 3.38.0 → 3.42.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 +41 -0
- package/dist-cjs/endpoints.js +79 -5
- package/dist-cjs/models/models_0.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +17 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +79 -5
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +19 -4
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Location.d.ts +8 -7
- package/dist-types/LocationClient.d.ts +8 -0
- package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +1 -1
- package/dist-types/commands/BatchPutGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +1 -1
- package/dist-types/commands/CalculateRouteCommand.d.ts +3 -4
- package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateMapCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +4 -3
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMapCommand.d.ts +1 -1
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMapCommand.d.ts +1 -1
- package/dist-types/commands/DescribePlaceIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +1 -1
- package/dist-types/commands/GetDevicePositionCommand.d.ts +1 -1
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +1 -1
- package/dist-types/commands/GetGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +1 -1
- package/dist-types/commands/GetMapSpritesCommand.d.ts +1 -1
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +1 -1
- package/dist-types/commands/GetMapTileCommand.d.ts +1 -1
- package/dist-types/commands/ListDevicePositionsCommand.d.ts +1 -1
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListGeofencesCommand.d.ts +1 -1
- package/dist-types/commands/ListMapsCommand.d.ts +1 -1
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +1 -1
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTrackerConsumersCommand.d.ts +1 -1
- package/dist-types/commands/ListTrackersCommand.d.ts +1 -1
- package/dist-types/commands/PutGeofenceCommand.d.ts +1 -1
- package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +1 -1
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +4 -3
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMapCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrackerCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +228 -112
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/LocationClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +25 -25
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
18
18
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
20
|
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
23
|
serviceId: string;
|
|
22
24
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
@@ -88,6 +88,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
88
88
|
|
|
89
89
|
logger?: __Logger;
|
|
90
90
|
|
|
91
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
92
|
+
|
|
93
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
94
|
+
|
|
91
95
|
serviceId?: string;
|
|
92
96
|
|
|
93
97
|
region?: string | __Provider<string>;
|
|
@@ -660,7 +660,7 @@ export declare namespace CreateRouteCalculatorResponse {
|
|
|
660
660
|
|
|
661
661
|
const filterSensitiveLog: (obj: CreateRouteCalculatorResponse) => any;
|
|
662
662
|
}
|
|
663
|
-
export declare type PositionFiltering = "DistanceBased" | "TimeBased";
|
|
663
|
+
export declare type PositionFiltering = "AccuracyBased" | "DistanceBased" | "TimeBased";
|
|
664
664
|
export interface CreateTrackerRequest {
|
|
665
665
|
|
|
666
666
|
TrackerName: string | undefined;
|
|
@@ -1533,6 +1533,8 @@ export interface SearchPlaceIndexForPositionRequest {
|
|
|
1533
1533
|
Position: number[] | undefined;
|
|
1534
1534
|
|
|
1535
1535
|
MaxResults?: number;
|
|
1536
|
+
|
|
1537
|
+
Language?: string;
|
|
1536
1538
|
}
|
|
1537
1539
|
export declare namespace SearchPlaceIndexForPositionRequest {
|
|
1538
1540
|
|
|
@@ -1548,6 +1550,17 @@ export declare namespace PlaceGeometry {
|
|
|
1548
1550
|
const filterSensitiveLog: (obj: PlaceGeometry) => any;
|
|
1549
1551
|
}
|
|
1550
1552
|
|
|
1553
|
+
export interface TimeZone {
|
|
1554
|
+
|
|
1555
|
+
Name: string | undefined;
|
|
1556
|
+
|
|
1557
|
+
Offset?: number;
|
|
1558
|
+
}
|
|
1559
|
+
export declare namespace TimeZone {
|
|
1560
|
+
|
|
1561
|
+
const filterSensitiveLog: (obj: TimeZone) => any;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1551
1564
|
export interface Place {
|
|
1552
1565
|
|
|
1553
1566
|
Label?: string;
|
|
@@ -1569,6 +1582,10 @@ export interface Place {
|
|
|
1569
1582
|
Country?: string;
|
|
1570
1583
|
|
|
1571
1584
|
PostalCode?: string;
|
|
1585
|
+
|
|
1586
|
+
Interpolated?: boolean;
|
|
1587
|
+
|
|
1588
|
+
TimeZone?: TimeZone;
|
|
1572
1589
|
}
|
|
1573
1590
|
export declare namespace Place {
|
|
1574
1591
|
|
|
@@ -1578,6 +1595,8 @@ export declare namespace Place {
|
|
|
1578
1595
|
export interface SearchForPositionResult {
|
|
1579
1596
|
|
|
1580
1597
|
Place: Place | undefined;
|
|
1598
|
+
|
|
1599
|
+
Distance: number | undefined;
|
|
1581
1600
|
}
|
|
1582
1601
|
export declare namespace SearchForPositionResult {
|
|
1583
1602
|
|
|
@@ -1591,6 +1610,8 @@ export interface SearchPlaceIndexForPositionSummary {
|
|
|
1591
1610
|
MaxResults?: number;
|
|
1592
1611
|
|
|
1593
1612
|
DataSource: string | undefined;
|
|
1613
|
+
|
|
1614
|
+
Language?: string;
|
|
1594
1615
|
}
|
|
1595
1616
|
export declare namespace SearchPlaceIndexForPositionSummary {
|
|
1596
1617
|
|
|
@@ -1619,6 +1640,8 @@ export interface SearchPlaceIndexForTextRequest {
|
|
|
1619
1640
|
FilterCountries?: string[];
|
|
1620
1641
|
|
|
1621
1642
|
MaxResults?: number;
|
|
1643
|
+
|
|
1644
|
+
Language?: string;
|
|
1622
1645
|
}
|
|
1623
1646
|
export declare namespace SearchPlaceIndexForTextRequest {
|
|
1624
1647
|
|
|
@@ -1628,6 +1651,10 @@ export declare namespace SearchPlaceIndexForTextRequest {
|
|
|
1628
1651
|
export interface SearchForTextResult {
|
|
1629
1652
|
|
|
1630
1653
|
Place: Place | undefined;
|
|
1654
|
+
|
|
1655
|
+
Distance?: number;
|
|
1656
|
+
|
|
1657
|
+
Relevance?: number;
|
|
1631
1658
|
}
|
|
1632
1659
|
export declare namespace SearchForTextResult {
|
|
1633
1660
|
|
|
@@ -1649,6 +1676,8 @@ export interface SearchPlaceIndexForTextSummary {
|
|
|
1649
1676
|
ResultBBox?: number[];
|
|
1650
1677
|
|
|
1651
1678
|
DataSource: string | undefined;
|
|
1679
|
+
|
|
1680
|
+
Language?: string;
|
|
1652
1681
|
}
|
|
1653
1682
|
export declare namespace SearchPlaceIndexForTextSummary {
|
|
1654
1683
|
|
|
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
14
14
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
17
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
19
21
|
apiVersion: string;
|
|
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
14
14
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
17
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
19
21
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
18
|
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
serviceId: string;
|
|
20
22
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
21
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
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.42.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -19,34 +19,34 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-crypto/sha256-browser": "
|
|
23
|
-
"@aws-crypto/sha256-js": "
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.42.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.40.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.40.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.40.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.40.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.40.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.40.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.40.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.40.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.40.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.40.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.40.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.41.0",
|
|
42
|
+
"@aws-sdk/types": "3.40.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.40.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
45
45
|
"@aws-sdk/util-base64-node": "3.37.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.40.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.40.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
52
52
|
"tslib": "^2.3.0"
|