@aws-sdk/client-location 3.46.0 → 3.48.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 +38 -0
- package/dist-cjs/Location.js +15 -0
- package/dist-cjs/commands/CalculateRouteMatrixCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +37 -45
- package/dist-cjs/protocols/Aws_restJson1.js +217 -3
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/Location.js +15 -0
- package/dist-es/commands/CalculateRouteMatrixCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -28
- package/dist-es/protocols/Aws_restJson1.js +226 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/Location.d.ts +74 -12
- package/dist-types/LocationClient.d.ts +8 -3
- package/dist-types/commands/CalculateRouteCommand.d.ts +10 -12
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +74 -0
- package/dist-types/commands/CreateMapCommand.d.ts +6 -0
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +6 -0
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +398 -169
- 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/CalculateRouteMatrixCommand.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 +89 -38
- 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 +35 -35
|
@@ -8,6 +8,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
|
|
|
8
8
|
import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "../commands/BatchPutGeofenceCommand";
|
|
9
9
|
import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "../commands/BatchUpdateDevicePositionCommand";
|
|
10
10
|
import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "../commands/CalculateRouteCommand";
|
|
11
|
+
import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "../commands/CalculateRouteMatrixCommand";
|
|
11
12
|
import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "../commands/CreateGeofenceCollectionCommand";
|
|
12
13
|
import { CreateMapCommandInput, CreateMapCommandOutput } from "../commands/CreateMapCommand";
|
|
13
14
|
import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "../commands/CreatePlaceIndexCommand";
|
|
@@ -59,6 +60,7 @@ export declare const serializeAws_restJson1BatchGetDevicePositionCommand: (input
|
|
|
59
60
|
export declare const serializeAws_restJson1BatchPutGeofenceCommand: (input: BatchPutGeofenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
61
|
export declare const serializeAws_restJson1BatchUpdateDevicePositionCommand: (input: BatchUpdateDevicePositionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
62
|
export declare const serializeAws_restJson1CalculateRouteCommand: (input: CalculateRouteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
export declare const serializeAws_restJson1CalculateRouteMatrixCommand: (input: CalculateRouteMatrixCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
64
|
export declare const serializeAws_restJson1CreateGeofenceCollectionCommand: (input: CreateGeofenceCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
65
|
export declare const serializeAws_restJson1CreateMapCommand: (input: CreateMapCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
66
|
export declare const serializeAws_restJson1CreatePlaceIndexCommand: (input: CreatePlaceIndexCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -110,6 +112,7 @@ export declare const deserializeAws_restJson1BatchGetDevicePositionCommand: (out
|
|
|
110
112
|
export declare const deserializeAws_restJson1BatchPutGeofenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutGeofenceCommandOutput>;
|
|
111
113
|
export declare const deserializeAws_restJson1BatchUpdateDevicePositionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateDevicePositionCommandOutput>;
|
|
112
114
|
export declare const deserializeAws_restJson1CalculateRouteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteCommandOutput>;
|
|
115
|
+
export declare const deserializeAws_restJson1CalculateRouteMatrixCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteMatrixCommandOutput>;
|
|
113
116
|
export declare const deserializeAws_restJson1CreateGeofenceCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGeofenceCollectionCommandOutput>;
|
|
114
117
|
export declare const deserializeAws_restJson1CreateMapCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateMapCommandOutput>;
|
|
115
118
|
export declare const deserializeAws_restJson1CreatePlaceIndexCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePlaceIndexCommandOutput>;
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
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
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
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>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -7,6 +7,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
|
|
|
7
7
|
import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "./commands/BatchPutGeofenceCommand";
|
|
8
8
|
import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "./commands/BatchUpdateDevicePositionCommand";
|
|
9
9
|
import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
|
|
10
|
+
import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
|
|
10
11
|
import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
|
|
11
12
|
import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
|
|
12
13
|
import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
|
|
@@ -86,6 +87,10 @@ export declare class Location extends LocationClient {
|
|
|
86
87
|
calculateRoute(args: CalculateRouteCommandInput, cb: (err: any, data?: CalculateRouteCommandOutput) => void): void;
|
|
87
88
|
calculateRoute(args: CalculateRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CalculateRouteCommandOutput) => void): void;
|
|
88
89
|
|
|
90
|
+
calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, options?: __HttpHandlerOptions): Promise<CalculateRouteMatrixCommandOutput>;
|
|
91
|
+
calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, cb: (err: any, data?: CalculateRouteMatrixCommandOutput) => void): void;
|
|
92
|
+
calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CalculateRouteMatrixCommandOutput) => void): void;
|
|
93
|
+
|
|
89
94
|
createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateGeofenceCollectionCommandOutput>;
|
|
90
95
|
createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, cb: (err: any, data?: CreateGeofenceCollectionCommandOutput) => void): void;
|
|
91
96
|
createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGeofenceCollectionCommandOutput) => void): void;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput } from "./commands/AssociateTrackerConsumerCommand";
|
|
10
10
|
import { BatchDeleteDevicePositionHistoryCommandInput, BatchDeleteDevicePositionHistoryCommandOutput } from "./commands/BatchDeleteDevicePositionHistoryCommand";
|
|
@@ -14,6 +14,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
|
|
|
14
14
|
import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "./commands/BatchPutGeofenceCommand";
|
|
15
15
|
import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "./commands/BatchUpdateDevicePositionCommand";
|
|
16
16
|
import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
|
|
17
|
+
import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
|
|
17
18
|
import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
|
|
18
19
|
import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
|
|
19
20
|
import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
|
|
@@ -57,8 +58,8 @@ import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/Update
|
|
|
57
58
|
import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
|
|
58
59
|
import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
|
|
59
60
|
import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
|
|
60
|
-
export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
|
|
61
|
-
export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
|
|
61
|
+
export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
|
|
62
|
+
export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
|
|
62
63
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
63
64
|
|
|
64
65
|
requestHandler?: __HttpHandler;
|
|
@@ -102,6 +103,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
102
103
|
regionInfoProvider?: RegionInfoProvider;
|
|
103
104
|
|
|
104
105
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
106
|
+
|
|
107
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
105
108
|
}
|
|
106
109
|
declare type LocationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
107
110
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
4
|
+
import { CalculateRouteMatrixRequest, CalculateRouteMatrixResponse } from "../models/models_0";
|
|
5
|
+
export interface CalculateRouteMatrixCommandInput extends CalculateRouteMatrixRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CalculateRouteMatrixCommandOutput extends CalculateRouteMatrixResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CalculateRouteMatrixCommand extends $Command<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput, LocationClientResolvedConfig> {
|
|
11
|
+
readonly input: CalculateRouteMatrixCommandInput;
|
|
12
|
+
constructor(input: CalculateRouteMatrixCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./BatchGetDevicePositionCommand";
|
|
|
6
6
|
export * from "./BatchPutGeofenceCommand";
|
|
7
7
|
export * from "./BatchUpdateDevicePositionCommand";
|
|
8
8
|
export * from "./CalculateRouteCommand";
|
|
9
|
+
export * from "./CalculateRouteMatrixCommand";
|
|
9
10
|
export * from "./CreateGeofenceCollectionCommand";
|
|
10
11
|
export * from "./CreateMapCommand";
|
|
11
12
|
export * from "./CreatePlaceIndexCommand";
|
|
@@ -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;
|
|
@@ -537,6 +509,85 @@ export declare namespace CalculateRouteResponse {
|
|
|
537
509
|
|
|
538
510
|
const filterSensitiveLog: (obj: CalculateRouteResponse) => any;
|
|
539
511
|
}
|
|
512
|
+
export interface CalculateRouteMatrixRequest {
|
|
513
|
+
|
|
514
|
+
CalculatorName: string | undefined;
|
|
515
|
+
|
|
516
|
+
DeparturePositions: number[][] | undefined;
|
|
517
|
+
|
|
518
|
+
DestinationPositions: number[][] | undefined;
|
|
519
|
+
|
|
520
|
+
TravelMode?: TravelMode | string;
|
|
521
|
+
|
|
522
|
+
DepartureTime?: Date;
|
|
523
|
+
|
|
524
|
+
DepartNow?: boolean;
|
|
525
|
+
|
|
526
|
+
DistanceUnit?: DistanceUnit | string;
|
|
527
|
+
|
|
528
|
+
CarModeOptions?: CalculateRouteCarModeOptions;
|
|
529
|
+
|
|
530
|
+
TruckModeOptions?: CalculateRouteTruckModeOptions;
|
|
531
|
+
}
|
|
532
|
+
export declare namespace CalculateRouteMatrixRequest {
|
|
533
|
+
|
|
534
|
+
const filterSensitiveLog: (obj: CalculateRouteMatrixRequest) => any;
|
|
535
|
+
}
|
|
536
|
+
export declare type RouteMatrixErrorCode = "DeparturePositionNotFound" | "DestinationPositionNotFound" | "OtherValidationError" | "PositionsNotFound" | "RouteNotFound" | "RouteTooLong";
|
|
537
|
+
|
|
538
|
+
export interface RouteMatrixEntryError {
|
|
539
|
+
|
|
540
|
+
Code: RouteMatrixErrorCode | string | undefined;
|
|
541
|
+
|
|
542
|
+
Message?: string;
|
|
543
|
+
}
|
|
544
|
+
export declare namespace RouteMatrixEntryError {
|
|
545
|
+
|
|
546
|
+
const filterSensitiveLog: (obj: RouteMatrixEntryError) => any;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export interface RouteMatrixEntry {
|
|
550
|
+
|
|
551
|
+
Distance?: number;
|
|
552
|
+
|
|
553
|
+
DurationSeconds?: number;
|
|
554
|
+
|
|
555
|
+
Error?: RouteMatrixEntryError;
|
|
556
|
+
}
|
|
557
|
+
export declare namespace RouteMatrixEntry {
|
|
558
|
+
|
|
559
|
+
const filterSensitiveLog: (obj: RouteMatrixEntry) => any;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export interface CalculateRouteMatrixSummary {
|
|
563
|
+
|
|
564
|
+
DataSource: string | undefined;
|
|
565
|
+
|
|
566
|
+
RouteCount: number | undefined;
|
|
567
|
+
|
|
568
|
+
ErrorCount: number | undefined;
|
|
569
|
+
|
|
570
|
+
DistanceUnit: DistanceUnit | string | undefined;
|
|
571
|
+
}
|
|
572
|
+
export declare namespace CalculateRouteMatrixSummary {
|
|
573
|
+
|
|
574
|
+
const filterSensitiveLog: (obj: CalculateRouteMatrixSummary) => any;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export interface CalculateRouteMatrixResponse {
|
|
578
|
+
|
|
579
|
+
RouteMatrix: RouteMatrixEntry[][] | undefined;
|
|
580
|
+
|
|
581
|
+
SnappedDeparturePositions?: number[][];
|
|
582
|
+
|
|
583
|
+
SnappedDestinationPositions?: number[][];
|
|
584
|
+
|
|
585
|
+
Summary: CalculateRouteMatrixSummary | undefined;
|
|
586
|
+
}
|
|
587
|
+
export declare namespace CalculateRouteMatrixResponse {
|
|
588
|
+
|
|
589
|
+
const filterSensitiveLog: (obj: CalculateRouteMatrixResponse) => any;
|
|
590
|
+
}
|
|
540
591
|
export declare type PricingPlan = "MobileAssetManagement" | "MobileAssetTracking" | "RequestBasedUsage";
|
|
541
592
|
export interface CreateGeofenceCollectionRequest {
|
|
542
593
|
|
|
@@ -802,7 +853,7 @@ export interface DescribeGeofenceCollectionResponse {
|
|
|
802
853
|
|
|
803
854
|
Description: string | undefined;
|
|
804
855
|
|
|
805
|
-
PricingPlan
|
|
856
|
+
PricingPlan?: PricingPlan | string;
|
|
806
857
|
|
|
807
858
|
PricingPlanDataSource?: string;
|
|
808
859
|
|
|
@@ -834,7 +885,7 @@ export interface DescribeMapResponse {
|
|
|
834
885
|
|
|
835
886
|
MapArn: string | undefined;
|
|
836
887
|
|
|
837
|
-
PricingPlan
|
|
888
|
+
PricingPlan?: PricingPlan | string;
|
|
838
889
|
|
|
839
890
|
DataSource: string | undefined;
|
|
840
891
|
|
|
@@ -868,7 +919,7 @@ export interface DescribePlaceIndexResponse {
|
|
|
868
919
|
|
|
869
920
|
IndexArn: string | undefined;
|
|
870
921
|
|
|
871
|
-
PricingPlan
|
|
922
|
+
PricingPlan?: PricingPlan | string;
|
|
872
923
|
|
|
873
924
|
Description: string | undefined;
|
|
874
925
|
|
|
@@ -902,7 +953,7 @@ export interface DescribeRouteCalculatorResponse {
|
|
|
902
953
|
|
|
903
954
|
CalculatorArn: string | undefined;
|
|
904
955
|
|
|
905
|
-
PricingPlan
|
|
956
|
+
PricingPlan?: PricingPlan | string;
|
|
906
957
|
|
|
907
958
|
Description: string | undefined;
|
|
908
959
|
|
|
@@ -936,7 +987,7 @@ export interface DescribeTrackerResponse {
|
|
|
936
987
|
|
|
937
988
|
Description: string | undefined;
|
|
938
989
|
|
|
939
|
-
PricingPlan
|
|
990
|
+
PricingPlan?: PricingPlan | string;
|
|
940
991
|
|
|
941
992
|
PricingPlanDataSource?: string;
|
|
942
993
|
|
|
@@ -1067,7 +1118,7 @@ export interface ListGeofenceCollectionsResponseEntry {
|
|
|
1067
1118
|
|
|
1068
1119
|
Description: string | undefined;
|
|
1069
1120
|
|
|
1070
|
-
PricingPlan
|
|
1121
|
+
PricingPlan?: PricingPlan | string;
|
|
1071
1122
|
|
|
1072
1123
|
PricingPlanDataSource?: string;
|
|
1073
1124
|
|
|
@@ -1376,7 +1427,7 @@ export interface ListMapsResponseEntry {
|
|
|
1376
1427
|
|
|
1377
1428
|
DataSource: string | undefined;
|
|
1378
1429
|
|
|
1379
|
-
PricingPlan
|
|
1430
|
+
PricingPlan?: PricingPlan | string;
|
|
1380
1431
|
|
|
1381
1432
|
CreateTime: Date | undefined;
|
|
1382
1433
|
|
|
@@ -1415,7 +1466,7 @@ export interface ListPlaceIndexesResponseEntry {
|
|
|
1415
1466
|
|
|
1416
1467
|
DataSource: string | undefined;
|
|
1417
1468
|
|
|
1418
|
-
PricingPlan
|
|
1469
|
+
PricingPlan?: PricingPlan | string;
|
|
1419
1470
|
|
|
1420
1471
|
CreateTime: Date | undefined;
|
|
1421
1472
|
|
|
@@ -1454,7 +1505,7 @@ export interface ListRouteCalculatorsResponseEntry {
|
|
|
1454
1505
|
|
|
1455
1506
|
DataSource: string | undefined;
|
|
1456
1507
|
|
|
1457
|
-
PricingPlan
|
|
1508
|
+
PricingPlan?: PricingPlan | string;
|
|
1458
1509
|
|
|
1459
1510
|
CreateTime: Date | undefined;
|
|
1460
1511
|
|
|
@@ -1513,7 +1564,7 @@ export interface ListTrackersResponseEntry {
|
|
|
1513
1564
|
|
|
1514
1565
|
Description: string | undefined;
|
|
1515
1566
|
|
|
1516
|
-
PricingPlan
|
|
1567
|
+
PricingPlan?: PricingPlan | string;
|
|
1517
1568
|
|
|
1518
1569
|
PricingPlanDataSource?: string;
|
|
1519
1570
|
|
|
@@ -8,6 +8,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
|
|
|
8
8
|
import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "../commands/BatchPutGeofenceCommand";
|
|
9
9
|
import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "../commands/BatchUpdateDevicePositionCommand";
|
|
10
10
|
import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "../commands/CalculateRouteCommand";
|
|
11
|
+
import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "../commands/CalculateRouteMatrixCommand";
|
|
11
12
|
import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "../commands/CreateGeofenceCollectionCommand";
|
|
12
13
|
import { CreateMapCommandInput, CreateMapCommandOutput } from "../commands/CreateMapCommand";
|
|
13
14
|
import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "../commands/CreatePlaceIndexCommand";
|
|
@@ -59,6 +60,7 @@ export declare const serializeAws_restJson1BatchGetDevicePositionCommand: (input
|
|
|
59
60
|
export declare const serializeAws_restJson1BatchPutGeofenceCommand: (input: BatchPutGeofenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
61
|
export declare const serializeAws_restJson1BatchUpdateDevicePositionCommand: (input: BatchUpdateDevicePositionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
62
|
export declare const serializeAws_restJson1CalculateRouteCommand: (input: CalculateRouteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
export declare const serializeAws_restJson1CalculateRouteMatrixCommand: (input: CalculateRouteMatrixCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
64
|
export declare const serializeAws_restJson1CreateGeofenceCollectionCommand: (input: CreateGeofenceCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
65
|
export declare const serializeAws_restJson1CreateMapCommand: (input: CreateMapCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
66
|
export declare const serializeAws_restJson1CreatePlaceIndexCommand: (input: CreatePlaceIndexCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -110,6 +112,7 @@ export declare const deserializeAws_restJson1BatchGetDevicePositionCommand: (out
|
|
|
110
112
|
export declare const deserializeAws_restJson1BatchPutGeofenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutGeofenceCommandOutput>;
|
|
111
113
|
export declare const deserializeAws_restJson1BatchUpdateDevicePositionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateDevicePositionCommandOutput>;
|
|
112
114
|
export declare const deserializeAws_restJson1CalculateRouteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteCommandOutput>;
|
|
115
|
+
export declare const deserializeAws_restJson1CalculateRouteMatrixCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteMatrixCommandOutput>;
|
|
113
116
|
export declare const deserializeAws_restJson1CreateGeofenceCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGeofenceCollectionCommandOutput>;
|
|
114
117
|
export declare const deserializeAws_restJson1CreateMapCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateMapCommandOutput>;
|
|
115
118
|
export declare const deserializeAws_restJson1CreatePlaceIndexCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePlaceIndexCommandOutput>;
|
|
@@ -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,17 +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.48.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +18,40 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
55
55
|
"@types/node": "^12.7.5"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|