@aws-sdk/client-geo-routes 3.683.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/LICENSE +201 -0
- package/README.md +265 -0
- package/dist-cjs/GeoRoutes.js +21 -0
- package/dist-cjs/GeoRoutesClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CalculateIsolinesCommand.js +27 -0
- package/dist-cjs/commands/CalculateRouteMatrixCommand.js +27 -0
- package/dist-cjs/commands/CalculateRoutesCommand.js +27 -0
- package/dist-cjs/commands/OptimizeWaypointsCommand.js +27 -0
- package/dist-cjs/commands/SnapToRoadsCommand.js +27 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/GeoRoutesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1009 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1529 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/GeoRoutes.js +17 -0
- package/dist-es/GeoRoutesClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CalculateIsolinesCommand.js +23 -0
- package/dist-es/commands/CalculateRouteMatrixCommand.js +23 -0
- package/dist-es/commands/CalculateRoutesCommand.js +23 -0
- package/dist-es/commands/OptimizeWaypointsCommand.js +23 -0
- package/dist-es/commands/SnapToRoadsCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/GeoRoutesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +927 -0
- package/dist-es/protocols/Aws_restJson1.js +1516 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/GeoRoutes.d.ts +65 -0
- package/dist-types/GeoRoutesClient.d.ts +194 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CalculateIsolinesCommand.d.ts +315 -0
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +281 -0
- package/dist-types/commands/CalculateRoutesCommand.d.ts +969 -0
- package/dist-types/commands/OptimizeWaypointsCommand.d.ts +251 -0
- package/dist-types/commands/SnapToRoadsCommand.d.ts +140 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +33 -0
- package/dist-types/models/GeoRoutesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +7597 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/GeoRoutes.d.ts +90 -0
- package/dist-types/ts3.4/GeoRoutesClient.d.ts +148 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CalculateIsolinesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CalculateRoutesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/OptimizeWaypointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SnapToRoadsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +8 -0
- package/dist-types/ts3.4/models/GeoRoutesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2022 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +65 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GeoRoutesClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GeoRoutesClient";
|
|
8
|
+
import {
|
|
9
|
+
CalculateRoutesRequest,
|
|
10
|
+
CalculateRoutesResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CalculateRoutesCommandInput extends CalculateRoutesRequest {}
|
|
15
|
+
export interface CalculateRoutesCommandOutput
|
|
16
|
+
extends CalculateRoutesResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const CalculateRoutesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CalculateRoutesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
CalculateRoutesCommandInput,
|
|
23
|
+
CalculateRoutesCommandOutput,
|
|
24
|
+
GeoRoutesClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: CalculateRoutesCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CalculateRoutesCommandInput,
|
|
32
|
+
CalculateRoutesCommandOutput,
|
|
33
|
+
GeoRoutesClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class CalculateRoutesCommand extends CalculateRoutesCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: CalculateRoutesRequest;
|
|
43
|
+
output: CalculateRoutesResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: CalculateRoutesCommandInput;
|
|
47
|
+
output: CalculateRoutesCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GeoRoutesClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GeoRoutesClient";
|
|
8
|
+
import {
|
|
9
|
+
OptimizeWaypointsRequest,
|
|
10
|
+
OptimizeWaypointsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface OptimizeWaypointsCommandInput
|
|
15
|
+
extends OptimizeWaypointsRequest {}
|
|
16
|
+
export interface OptimizeWaypointsCommandOutput
|
|
17
|
+
extends OptimizeWaypointsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const OptimizeWaypointsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: OptimizeWaypointsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
OptimizeWaypointsCommandInput,
|
|
24
|
+
OptimizeWaypointsCommandOutput,
|
|
25
|
+
GeoRoutesClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: OptimizeWaypointsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
OptimizeWaypointsCommandInput,
|
|
33
|
+
OptimizeWaypointsCommandOutput,
|
|
34
|
+
GeoRoutesClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class OptimizeWaypointsCommand extends OptimizeWaypointsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: OptimizeWaypointsRequest;
|
|
44
|
+
output: OptimizeWaypointsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: OptimizeWaypointsCommandInput;
|
|
48
|
+
output: OptimizeWaypointsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GeoRoutesClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GeoRoutesClient";
|
|
8
|
+
import { SnapToRoadsRequest, SnapToRoadsResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface SnapToRoadsCommandInput extends SnapToRoadsRequest {}
|
|
12
|
+
export interface SnapToRoadsCommandOutput
|
|
13
|
+
extends SnapToRoadsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const SnapToRoadsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: SnapToRoadsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
SnapToRoadsCommandInput,
|
|
20
|
+
SnapToRoadsCommandOutput,
|
|
21
|
+
GeoRoutesClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: SnapToRoadsCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
SnapToRoadsCommandInput,
|
|
29
|
+
SnapToRoadsCommandOutput,
|
|
30
|
+
GeoRoutesClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class SnapToRoadsCommand extends SnapToRoadsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: SnapToRoadsRequest;
|
|
40
|
+
output: SnapToRoadsResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: SnapToRoadsCommandInput;
|
|
44
|
+
output: SnapToRoadsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
endpoint?:
|
|
11
|
+
| string
|
|
12
|
+
| Provider<string>
|
|
13
|
+
| Endpoint
|
|
14
|
+
| Provider<Endpoint>
|
|
15
|
+
| EndpointV2
|
|
16
|
+
| Provider<EndpointV2>;
|
|
17
|
+
region?: string | Provider<string>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
23
|
+
options: T & ClientInputEndpointParameters
|
|
24
|
+
) => T &
|
|
25
|
+
ClientInputEndpointParameters & {
|
|
26
|
+
defaultSigningName: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
UseDualStack?: boolean;
|
|
48
|
+
UseFIPS?: boolean;
|
|
49
|
+
Endpoint?: string;
|
|
50
|
+
Region?: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface GeoRoutesExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./GeoRoutesClient";
|
|
2
|
+
export * from "./GeoRoutes";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { GeoRoutesExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./models";
|
|
8
|
+
export { GeoRoutesServiceException } from "./models/GeoRoutesServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class GeoRoutesServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|