@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.
Files changed (99) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +265 -0
  3. package/dist-cjs/GeoRoutes.js +21 -0
  4. package/dist-cjs/GeoRoutesClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CalculateIsolinesCommand.js +27 -0
  8. package/dist-cjs/commands/CalculateRouteMatrixCommand.js +27 -0
  9. package/dist-cjs/commands/CalculateRoutesCommand.js +27 -0
  10. package/dist-cjs/commands/OptimizeWaypointsCommand.js +27 -0
  11. package/dist-cjs/commands/SnapToRoadsCommand.js +27 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  14. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  15. package/dist-cjs/endpoint/ruleset.js +7 -0
  16. package/dist-cjs/extensionConfiguration.js +2 -0
  17. package/dist-cjs/index.js +10 -0
  18. package/dist-cjs/models/GeoRoutesServiceException.js +12 -0
  19. package/dist-cjs/models/index.js +4 -0
  20. package/dist-cjs/models/models_0.js +1009 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +1529 -0
  22. package/dist-cjs/runtimeConfig.browser.js +39 -0
  23. package/dist-cjs/runtimeConfig.js +50 -0
  24. package/dist-cjs/runtimeConfig.native.js +15 -0
  25. package/dist-cjs/runtimeConfig.shared.js +34 -0
  26. package/dist-cjs/runtimeExtensions.js +25 -0
  27. package/dist-es/GeoRoutes.js +17 -0
  28. package/dist-es/GeoRoutesClient.js +46 -0
  29. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  30. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  31. package/dist-es/commands/CalculateIsolinesCommand.js +23 -0
  32. package/dist-es/commands/CalculateRouteMatrixCommand.js +23 -0
  33. package/dist-es/commands/CalculateRoutesCommand.js +23 -0
  34. package/dist-es/commands/OptimizeWaypointsCommand.js +23 -0
  35. package/dist-es/commands/SnapToRoadsCommand.js +23 -0
  36. package/dist-es/commands/index.js +5 -0
  37. package/dist-es/endpoint/EndpointParameters.js +14 -0
  38. package/dist-es/endpoint/endpointResolver.js +14 -0
  39. package/dist-es/endpoint/ruleset.js +4 -0
  40. package/dist-es/extensionConfiguration.js +1 -0
  41. package/dist-es/index.js +5 -0
  42. package/dist-es/models/GeoRoutesServiceException.js +8 -0
  43. package/dist-es/models/index.js +1 -0
  44. package/dist-es/models/models_0.js +927 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1516 -0
  46. package/dist-es/runtimeConfig.browser.js +34 -0
  47. package/dist-es/runtimeConfig.js +45 -0
  48. package/dist-es/runtimeConfig.native.js +11 -0
  49. package/dist-es/runtimeConfig.shared.js +30 -0
  50. package/dist-es/runtimeExtensions.js +21 -0
  51. package/dist-types/GeoRoutes.d.ts +65 -0
  52. package/dist-types/GeoRoutesClient.d.ts +194 -0
  53. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  54. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  55. package/dist-types/commands/CalculateIsolinesCommand.d.ts +315 -0
  56. package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +281 -0
  57. package/dist-types/commands/CalculateRoutesCommand.d.ts +969 -0
  58. package/dist-types/commands/OptimizeWaypointsCommand.d.ts +251 -0
  59. package/dist-types/commands/SnapToRoadsCommand.d.ts +140 -0
  60. package/dist-types/commands/index.d.ts +5 -0
  61. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  62. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  63. package/dist-types/endpoint/ruleset.d.ts +2 -0
  64. package/dist-types/extensionConfiguration.d.ts +9 -0
  65. package/dist-types/index.d.ts +33 -0
  66. package/dist-types/models/GeoRoutesServiceException.d.ts +14 -0
  67. package/dist-types/models/index.d.ts +1 -0
  68. package/dist-types/models/models_0.d.ts +7597 -0
  69. package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  71. package/dist-types/runtimeConfig.d.ts +48 -0
  72. package/dist-types/runtimeConfig.native.d.ts +47 -0
  73. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  74. package/dist-types/runtimeExtensions.d.ts +17 -0
  75. package/dist-types/ts3.4/GeoRoutes.d.ts +90 -0
  76. package/dist-types/ts3.4/GeoRoutesClient.d.ts +148 -0
  77. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  78. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  79. package/dist-types/ts3.4/commands/CalculateIsolinesCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/CalculateRoutesCommand.d.ts +50 -0
  82. package/dist-types/ts3.4/commands/OptimizeWaypointsCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/SnapToRoadsCommand.d.ts +47 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  85. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  86. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  87. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  88. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  89. package/dist-types/ts3.4/index.d.ts +8 -0
  90. package/dist-types/ts3.4/models/GeoRoutesServiceException.d.ts +9 -0
  91. package/dist-types/ts3.4/models/index.d.ts +1 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +2022 -0
  93. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +65 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  98. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  99. 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,5 @@
1
+ export * from "./CalculateIsolinesCommand";
2
+ export * from "./CalculateRouteMatrixCommand";
3
+ export * from "./CalculateRoutesCommand";
4
+ export * from "./OptimizeWaypointsCommand";
5
+ export * from "./SnapToRoadsCommand";
@@ -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,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -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";