@aws-sdk/client-location 3.42.0 → 3.47.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 +47 -0
- package/dist-cjs/Location.js +15 -0
- package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +44 -45
- package/dist-cjs/protocols/Aws_restJson1.js +227 -2
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Location.js +15 -0
- package/dist-es/commands/SearchPlaceIndexForSuggestionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +24 -32
- package/dist-es/protocols/Aws_restJson1.js +234 -2
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Location.d.ts +33 -4
- package/dist-types/LocationClient.d.ts +8 -3
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +4 -0
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +11 -3
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +2 -1
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +44 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +267 -54
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Location.d.ts +5 -0
- package/dist-types/ts3.4/LocationClient.d.ts +6 -3
- package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +98 -33
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -40,6 +40,7 @@ export * from "./ListTrackerConsumersCommand";
|
|
|
40
40
|
export * from "./ListTrackersCommand";
|
|
41
41
|
export * from "./PutGeofenceCommand";
|
|
42
42
|
export * from "./SearchPlaceIndexForPositionCommand";
|
|
43
|
+
export * from "./SearchPlaceIndexForSuggestionsCommand";
|
|
43
44
|
export * from "./SearchPlaceIndexForTextCommand";
|
|
44
45
|
export * from "./TagResourceCommand";
|
|
45
46
|
export * from "./UntagResourceCommand";
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
Message: string | undefined;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
export interface AssociateTrackerConsumerRequest {
|
|
13
9
|
|
|
14
10
|
TrackerName: string | undefined;
|
|
@@ -31,10 +27,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
31
27
|
$fault: "client";
|
|
32
28
|
Message: string | undefined;
|
|
33
29
|
}
|
|
34
|
-
export declare namespace ConflictException {
|
|
35
|
-
|
|
36
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
37
|
-
}
|
|
38
30
|
|
|
39
31
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
40
32
|
name: "InternalServerException";
|
|
@@ -42,20 +34,12 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
42
34
|
$retryable: {};
|
|
43
35
|
Message: string | undefined;
|
|
44
36
|
}
|
|
45
|
-
export declare namespace InternalServerException {
|
|
46
|
-
|
|
47
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
48
|
-
}
|
|
49
37
|
|
|
50
38
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
51
39
|
name: "ResourceNotFoundException";
|
|
52
40
|
$fault: "client";
|
|
53
41
|
Message: string | undefined;
|
|
54
42
|
}
|
|
55
|
-
export declare namespace ResourceNotFoundException {
|
|
56
|
-
|
|
57
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
58
|
-
}
|
|
59
43
|
|
|
60
44
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
61
45
|
name: "ServiceQuotaExceededException";
|
|
@@ -63,10 +47,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
63
47
|
|
|
64
48
|
Message: string | undefined;
|
|
65
49
|
}
|
|
66
|
-
export declare namespace ServiceQuotaExceededException {
|
|
67
|
-
|
|
68
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
69
|
-
}
|
|
70
50
|
|
|
71
51
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
72
52
|
name: "ThrottlingException";
|
|
@@ -74,10 +54,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
74
54
|
$retryable: {};
|
|
75
55
|
Message: string | undefined;
|
|
76
56
|
}
|
|
77
|
-
export declare namespace ThrottlingException {
|
|
78
|
-
|
|
79
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
80
|
-
}
|
|
81
57
|
|
|
82
58
|
export interface ValidationExceptionField {
|
|
83
59
|
|
|
@@ -100,10 +76,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
100
76
|
|
|
101
77
|
FieldList: ValidationExceptionField[] | undefined;
|
|
102
78
|
}
|
|
103
|
-
export declare namespace ValidationException {
|
|
104
|
-
|
|
105
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
106
|
-
}
|
|
107
79
|
export interface BatchDeleteDevicePositionHistoryRequest {
|
|
108
80
|
|
|
109
81
|
TrackerName: string | undefined;
|
|
@@ -175,6 +147,15 @@ export declare namespace BatchDeleteGeofenceResponse {
|
|
|
175
147
|
const filterSensitiveLog: (obj: BatchDeleteGeofenceResponse) => any;
|
|
176
148
|
}
|
|
177
149
|
|
|
150
|
+
export interface PositionalAccuracy {
|
|
151
|
+
|
|
152
|
+
Horizontal: number | undefined;
|
|
153
|
+
}
|
|
154
|
+
export declare namespace PositionalAccuracy {
|
|
155
|
+
|
|
156
|
+
const filterSensitiveLog: (obj: PositionalAccuracy) => any;
|
|
157
|
+
}
|
|
158
|
+
|
|
178
159
|
export interface DevicePositionUpdate {
|
|
179
160
|
|
|
180
161
|
DeviceId: string | undefined;
|
|
@@ -182,6 +163,12 @@ export interface DevicePositionUpdate {
|
|
|
182
163
|
SampleTime: Date | undefined;
|
|
183
164
|
|
|
184
165
|
Position: number[] | undefined;
|
|
166
|
+
|
|
167
|
+
Accuracy?: PositionalAccuracy;
|
|
168
|
+
|
|
169
|
+
PositionProperties?: {
|
|
170
|
+
[key: string]: string;
|
|
171
|
+
};
|
|
185
172
|
}
|
|
186
173
|
export declare namespace DevicePositionUpdate {
|
|
187
174
|
|
|
@@ -238,6 +225,12 @@ export interface DevicePosition {
|
|
|
238
225
|
ReceivedTime: Date | undefined;
|
|
239
226
|
|
|
240
227
|
Position: number[] | undefined;
|
|
228
|
+
|
|
229
|
+
Accuracy?: PositionalAccuracy;
|
|
230
|
+
|
|
231
|
+
PositionProperties?: {
|
|
232
|
+
[key: string]: string;
|
|
233
|
+
};
|
|
241
234
|
}
|
|
242
235
|
export declare namespace DevicePosition {
|
|
243
236
|
|
|
@@ -521,7 +514,7 @@ export interface CreateGeofenceCollectionRequest {
|
|
|
521
514
|
|
|
522
515
|
CollectionName: string | undefined;
|
|
523
516
|
|
|
524
|
-
PricingPlan
|
|
517
|
+
PricingPlan?: PricingPlan | string;
|
|
525
518
|
|
|
526
519
|
PricingPlanDataSource?: string;
|
|
527
520
|
|
|
@@ -564,7 +557,7 @@ export interface CreateMapRequest {
|
|
|
564
557
|
|
|
565
558
|
Configuration: MapConfiguration | undefined;
|
|
566
559
|
|
|
567
|
-
PricingPlan
|
|
560
|
+
PricingPlan?: PricingPlan | string;
|
|
568
561
|
|
|
569
562
|
Description?: string;
|
|
570
563
|
|
|
@@ -604,7 +597,7 @@ export interface CreatePlaceIndexRequest {
|
|
|
604
597
|
|
|
605
598
|
DataSource: string | undefined;
|
|
606
599
|
|
|
607
|
-
PricingPlan
|
|
600
|
+
PricingPlan?: PricingPlan | string;
|
|
608
601
|
|
|
609
602
|
Description?: string;
|
|
610
603
|
|
|
@@ -636,7 +629,7 @@ export interface CreateRouteCalculatorRequest {
|
|
|
636
629
|
|
|
637
630
|
DataSource: string | undefined;
|
|
638
631
|
|
|
639
|
-
PricingPlan
|
|
632
|
+
PricingPlan?: PricingPlan | string;
|
|
640
633
|
|
|
641
634
|
Description?: string;
|
|
642
635
|
|
|
@@ -665,7 +658,7 @@ export interface CreateTrackerRequest {
|
|
|
665
658
|
|
|
666
659
|
TrackerName: string | undefined;
|
|
667
660
|
|
|
668
|
-
PricingPlan
|
|
661
|
+
PricingPlan?: PricingPlan | string;
|
|
669
662
|
|
|
670
663
|
KmsKeyId?: string;
|
|
671
664
|
|
|
@@ -1174,6 +1167,12 @@ export interface GetDevicePositionResponse {
|
|
|
1174
1167
|
ReceivedTime: Date | undefined;
|
|
1175
1168
|
|
|
1176
1169
|
Position: number[] | undefined;
|
|
1170
|
+
|
|
1171
|
+
Accuracy?: PositionalAccuracy;
|
|
1172
|
+
|
|
1173
|
+
PositionProperties?: {
|
|
1174
|
+
[key: string]: string;
|
|
1175
|
+
};
|
|
1177
1176
|
}
|
|
1178
1177
|
export declare namespace GetDevicePositionResponse {
|
|
1179
1178
|
|
|
@@ -1309,6 +1308,12 @@ export interface ListDevicePositionsResponseEntry {
|
|
|
1309
1308
|
SampleTime: Date | undefined;
|
|
1310
1309
|
|
|
1311
1310
|
Position: number[] | undefined;
|
|
1311
|
+
|
|
1312
|
+
Accuracy?: PositionalAccuracy;
|
|
1313
|
+
|
|
1314
|
+
PositionProperties?: {
|
|
1315
|
+
[key: string]: string;
|
|
1316
|
+
};
|
|
1312
1317
|
}
|
|
1313
1318
|
export declare namespace ListDevicePositionsResponseEntry {
|
|
1314
1319
|
|
|
@@ -1627,6 +1632,66 @@ export declare namespace SearchPlaceIndexForPositionResponse {
|
|
|
1627
1632
|
|
|
1628
1633
|
const filterSensitiveLog: (obj: SearchPlaceIndexForPositionResponse) => any;
|
|
1629
1634
|
}
|
|
1635
|
+
export interface SearchPlaceIndexForSuggestionsRequest {
|
|
1636
|
+
|
|
1637
|
+
IndexName: string | undefined;
|
|
1638
|
+
|
|
1639
|
+
Text: string | undefined;
|
|
1640
|
+
|
|
1641
|
+
BiasPosition?: number[];
|
|
1642
|
+
|
|
1643
|
+
FilterBBox?: number[];
|
|
1644
|
+
|
|
1645
|
+
FilterCountries?: string[];
|
|
1646
|
+
|
|
1647
|
+
MaxResults?: number;
|
|
1648
|
+
|
|
1649
|
+
Language?: string;
|
|
1650
|
+
}
|
|
1651
|
+
export declare namespace SearchPlaceIndexForSuggestionsRequest {
|
|
1652
|
+
|
|
1653
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsRequest) => any;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
export interface SearchForSuggestionsResult {
|
|
1657
|
+
|
|
1658
|
+
Text: string | undefined;
|
|
1659
|
+
}
|
|
1660
|
+
export declare namespace SearchForSuggestionsResult {
|
|
1661
|
+
|
|
1662
|
+
const filterSensitiveLog: (obj: SearchForSuggestionsResult) => any;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
export interface SearchPlaceIndexForSuggestionsSummary {
|
|
1666
|
+
|
|
1667
|
+
Text: string | undefined;
|
|
1668
|
+
|
|
1669
|
+
BiasPosition?: number[];
|
|
1670
|
+
|
|
1671
|
+
FilterBBox?: number[];
|
|
1672
|
+
|
|
1673
|
+
FilterCountries?: string[];
|
|
1674
|
+
|
|
1675
|
+
MaxResults?: number;
|
|
1676
|
+
|
|
1677
|
+
DataSource: string | undefined;
|
|
1678
|
+
|
|
1679
|
+
Language?: string;
|
|
1680
|
+
}
|
|
1681
|
+
export declare namespace SearchPlaceIndexForSuggestionsSummary {
|
|
1682
|
+
|
|
1683
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsSummary) => any;
|
|
1684
|
+
}
|
|
1685
|
+
export interface SearchPlaceIndexForSuggestionsResponse {
|
|
1686
|
+
|
|
1687
|
+
Summary: SearchPlaceIndexForSuggestionsSummary | undefined;
|
|
1688
|
+
|
|
1689
|
+
Results: SearchForSuggestionsResult[] | undefined;
|
|
1690
|
+
}
|
|
1691
|
+
export declare namespace SearchPlaceIndexForSuggestionsResponse {
|
|
1692
|
+
|
|
1693
|
+
const filterSensitiveLog: (obj: SearchPlaceIndexForSuggestionsResponse) => any;
|
|
1694
|
+
}
|
|
1630
1695
|
export interface SearchPlaceIndexForTextRequest {
|
|
1631
1696
|
|
|
1632
1697
|
IndexName: string | undefined;
|
|
@@ -42,6 +42,7 @@ import { ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput } f
|
|
|
42
42
|
import { ListTrackersCommandInput, ListTrackersCommandOutput } from "../commands/ListTrackersCommand";
|
|
43
43
|
import { PutGeofenceCommandInput, PutGeofenceCommandOutput } from "../commands/PutGeofenceCommand";
|
|
44
44
|
import { SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput } from "../commands/SearchPlaceIndexForPositionCommand";
|
|
45
|
+
import { SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput } from "../commands/SearchPlaceIndexForSuggestionsCommand";
|
|
45
46
|
import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput } from "../commands/SearchPlaceIndexForTextCommand";
|
|
46
47
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
47
48
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -92,6 +93,7 @@ export declare const serializeAws_restJson1ListTrackerConsumersCommand: (input:
|
|
|
92
93
|
export declare const serializeAws_restJson1ListTrackersCommand: (input: ListTrackersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
93
94
|
export declare const serializeAws_restJson1PutGeofenceCommand: (input: PutGeofenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
94
95
|
export declare const serializeAws_restJson1SearchPlaceIndexForPositionCommand: (input: SearchPlaceIndexForPositionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
|
+
export declare const serializeAws_restJson1SearchPlaceIndexForSuggestionsCommand: (input: SearchPlaceIndexForSuggestionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
95
97
|
export declare const serializeAws_restJson1SearchPlaceIndexForTextCommand: (input: SearchPlaceIndexForTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
98
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
97
99
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -142,6 +144,7 @@ export declare const deserializeAws_restJson1ListTrackerConsumersCommand: (outpu
|
|
|
142
144
|
export declare const deserializeAws_restJson1ListTrackersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrackersCommandOutput>;
|
|
143
145
|
export declare const deserializeAws_restJson1PutGeofenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutGeofenceCommandOutput>;
|
|
144
146
|
export declare const deserializeAws_restJson1SearchPlaceIndexForPositionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForPositionCommandOutput>;
|
|
147
|
+
export declare const deserializeAws_restJson1SearchPlaceIndexForSuggestionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForSuggestionsCommandOutput>;
|
|
145
148
|
export declare const deserializeAws_restJson1SearchPlaceIndexForTextCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlaceIndexForTextCommandOutput>;
|
|
146
149
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
147
150
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { LocationClientConfig } from "./LocationClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { LocationClientConfig } from "./LocationClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
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.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "jest --coverage --passWithNoTests"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +18,44 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
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.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|