@aws-sdk/client-geo-routes 3.943.0 → 3.947.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/dist-cjs/index.js +26 -161
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/GeoRoutesClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +26 -161
- package/dist-types/GeoRoutes.d.ts +1 -1
- package/dist-types/GeoRoutesClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CalculateIsolinesCommand.d.ts +3 -3
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +3 -3
- package/dist-types/commands/CalculateRoutesCommand.d.ts +3 -3
- package/dist-types/commands/OptimizeWaypointsCommand.d.ts +3 -3
- package/dist-types/commands/SnapToRoadsCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/GeoRoutesServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/GeoRoutesClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/GeoRoutesServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -885,19 +885,9 @@ var AccessDeniedException = [
|
|
|
885
885
|
-3,
|
|
886
886
|
n0,
|
|
887
887
|
_ADE,
|
|
888
|
-
{
|
|
889
|
-
[_e]: _c,
|
|
890
|
-
[_hE]: 403,
|
|
891
|
-
},
|
|
888
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
892
889
|
[_M],
|
|
893
|
-
[
|
|
894
|
-
[
|
|
895
|
-
0,
|
|
896
|
-
{
|
|
897
|
-
[_jN]: _m,
|
|
898
|
-
},
|
|
899
|
-
],
|
|
900
|
-
],
|
|
890
|
+
[[0, { [_jN]: _m }]],
|
|
901
891
|
];
|
|
902
892
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
903
893
|
var CalculateIsolinesRequest = [
|
|
@@ -916,12 +906,7 @@ var CalculateIsolinesRequest = [
|
|
|
916
906
|
[() => IsolineDestinationOptions, 0],
|
|
917
907
|
0,
|
|
918
908
|
[() => IsolineGranularityOptions, 0],
|
|
919
|
-
[
|
|
920
|
-
() => ApiKey,
|
|
921
|
-
{
|
|
922
|
-
[_hQ]: _k,
|
|
923
|
-
},
|
|
924
|
-
],
|
|
909
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
925
910
|
0,
|
|
926
911
|
0,
|
|
927
912
|
[() => Position, 0],
|
|
@@ -943,12 +928,7 @@ var CalculateIsolinesResponse = [
|
|
|
943
928
|
[() => TimestampWithTimezoneOffset, 0],
|
|
944
929
|
0,
|
|
945
930
|
[() => IsolineList, 0],
|
|
946
|
-
[
|
|
947
|
-
0,
|
|
948
|
-
{
|
|
949
|
-
[_hH]: _xagpb,
|
|
950
|
-
},
|
|
951
|
-
],
|
|
931
|
+
[0, { [_hH]: _xagpb }],
|
|
952
932
|
[() => Position, 0],
|
|
953
933
|
[() => Position, 0],
|
|
954
934
|
],
|
|
@@ -966,12 +946,7 @@ var CalculateRouteMatrixRequest = [
|
|
|
966
946
|
[() => TimestampWithTimezoneOffset, 0],
|
|
967
947
|
[() => RouteMatrixDestinationList, 0],
|
|
968
948
|
[() => RouteMatrixExclusionOptions, 0],
|
|
969
|
-
[
|
|
970
|
-
() => ApiKey,
|
|
971
|
-
{
|
|
972
|
-
[_hQ]: _k,
|
|
973
|
-
},
|
|
974
|
-
],
|
|
949
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
975
950
|
0,
|
|
976
951
|
[() => RouteMatrixOriginList, 0],
|
|
977
952
|
[() => RouteMatrixBoundary, 0],
|
|
@@ -986,17 +961,7 @@ var CalculateRouteMatrixResponse = [
|
|
|
986
961
|
_CRMRa,
|
|
987
962
|
0,
|
|
988
963
|
[_EC, _PB, _RM, _RB],
|
|
989
|
-
[
|
|
990
|
-
1,
|
|
991
|
-
[
|
|
992
|
-
0,
|
|
993
|
-
{
|
|
994
|
-
[_hH]: _xagpb,
|
|
995
|
-
},
|
|
996
|
-
],
|
|
997
|
-
[() => RouteMatrix, 0],
|
|
998
|
-
[() => RouteMatrixBoundary, 0],
|
|
999
|
-
],
|
|
964
|
+
[1, [0, { [_hH]: _xagpb }], [() => RouteMatrix, 0], [() => RouteMatrixBoundary, 0]],
|
|
1000
965
|
];
|
|
1001
966
|
var CalculateRoutesRequest = [
|
|
1002
967
|
3,
|
|
@@ -1041,12 +1006,7 @@ var CalculateRoutesRequest = [
|
|
|
1041
1006
|
[() => RouteDriverOptions, 0],
|
|
1042
1007
|
[() => RouteExclusionOptions, 0],
|
|
1043
1008
|
0,
|
|
1044
|
-
[
|
|
1045
|
-
() => ApiKey,
|
|
1046
|
-
{
|
|
1047
|
-
[_hQ]: _k,
|
|
1048
|
-
},
|
|
1049
|
-
],
|
|
1009
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
1050
1010
|
64 | 0,
|
|
1051
1011
|
[() => RouteLegAdditionalFeatureList, 0],
|
|
1052
1012
|
0,
|
|
@@ -1069,17 +1029,7 @@ var CalculateRoutesResponse = [
|
|
|
1069
1029
|
_CRRa,
|
|
1070
1030
|
0,
|
|
1071
1031
|
[_LGF, _N, _PB, _R],
|
|
1072
|
-
[
|
|
1073
|
-
0,
|
|
1074
|
-
() => RouteResponseNoticeList,
|
|
1075
|
-
[
|
|
1076
|
-
0,
|
|
1077
|
-
{
|
|
1078
|
-
[_hH]: _xagpb,
|
|
1079
|
-
},
|
|
1080
|
-
],
|
|
1081
|
-
[() => RouteList, 0],
|
|
1082
|
-
],
|
|
1032
|
+
[0, () => RouteResponseNoticeList, [0, { [_hH]: _xagpb }], [() => RouteList, 0]],
|
|
1083
1033
|
];
|
|
1084
1034
|
var Circle = [
|
|
1085
1035
|
3,
|
|
@@ -1097,19 +1047,9 @@ var InternalServerException = [
|
|
|
1097
1047
|
-3,
|
|
1098
1048
|
n0,
|
|
1099
1049
|
_ISE,
|
|
1100
|
-
{
|
|
1101
|
-
[_e]: _s,
|
|
1102
|
-
[_hE]: 500,
|
|
1103
|
-
},
|
|
1050
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
1104
1051
|
[_M],
|
|
1105
|
-
[
|
|
1106
|
-
[
|
|
1107
|
-
0,
|
|
1108
|
-
{
|
|
1109
|
-
[_jN]: _m,
|
|
1110
|
-
},
|
|
1111
|
-
],
|
|
1112
|
-
],
|
|
1052
|
+
[[0, { [_jN]: _m }]],
|
|
1113
1053
|
];
|
|
1114
1054
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
1115
1055
|
var Isoline = [
|
|
@@ -1375,12 +1315,7 @@ var OptimizeWaypointsRequest = [
|
|
|
1375
1315
|
[() => WaypointOptimizationDestinationOptions, 0],
|
|
1376
1316
|
[() => WaypointOptimizationDriverOptions, 0],
|
|
1377
1317
|
[() => WaypointOptimizationExclusionOptions, 0],
|
|
1378
|
-
[
|
|
1379
|
-
() => ApiKey,
|
|
1380
|
-
{
|
|
1381
|
-
[_hQ]: _k,
|
|
1382
|
-
},
|
|
1383
|
-
],
|
|
1318
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
1384
1319
|
0,
|
|
1385
1320
|
[() => Position, 0],
|
|
1386
1321
|
() => WaypointOptimizationOriginOptions,
|
|
@@ -1402,12 +1337,7 @@ var OptimizeWaypointsResponse = [
|
|
|
1402
1337
|
[() => DurationSeconds, 0],
|
|
1403
1338
|
[() => WaypointOptimizationImpedingWaypointList, 0],
|
|
1404
1339
|
[() => WaypointOptimizationOptimizedWaypointList, 0],
|
|
1405
|
-
[
|
|
1406
|
-
0,
|
|
1407
|
-
{
|
|
1408
|
-
[_hH]: _xagpb,
|
|
1409
|
-
},
|
|
1410
|
-
],
|
|
1340
|
+
[0, { [_hH]: _xagpb }],
|
|
1411
1341
|
[() => WaypointOptimizationTimeBreakdown, 0],
|
|
1412
1342
|
],
|
|
1413
1343
|
];
|
|
@@ -2824,12 +2754,7 @@ var SnapToRoadsRequest = [
|
|
|
2824
2754
|
0,
|
|
2825
2755
|
[_K, _SGF, _SR, _TP, _TM, _TMO],
|
|
2826
2756
|
[
|
|
2827
|
-
[
|
|
2828
|
-
() => ApiKey,
|
|
2829
|
-
{
|
|
2830
|
-
[_hQ]: _k,
|
|
2831
|
-
},
|
|
2832
|
-
],
|
|
2757
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
2833
2758
|
0,
|
|
2834
2759
|
[() => DistanceMeters, 0],
|
|
2835
2760
|
[() => RoadSnapTracePointList, 0],
|
|
@@ -2845,64 +2770,24 @@ var SnapToRoadsResponse = [
|
|
|
2845
2770
|
[_N, _PB, _SG, _SGF, _STP],
|
|
2846
2771
|
[
|
|
2847
2772
|
[() => RoadSnapNoticeList, 0],
|
|
2848
|
-
[
|
|
2849
|
-
0,
|
|
2850
|
-
{
|
|
2851
|
-
[_hH]: _xagpb,
|
|
2852
|
-
},
|
|
2853
|
-
],
|
|
2773
|
+
[0, { [_hH]: _xagpb }],
|
|
2854
2774
|
[() => RoadSnapSnappedGeometry, 0],
|
|
2855
2775
|
0,
|
|
2856
2776
|
[() => RoadSnapSnappedTracePointList, 0],
|
|
2857
2777
|
],
|
|
2858
2778
|
];
|
|
2859
|
-
var ThrottlingException = [
|
|
2860
|
-
-3,
|
|
2861
|
-
n0,
|
|
2862
|
-
_TE,
|
|
2863
|
-
{
|
|
2864
|
-
[_e]: _c,
|
|
2865
|
-
[_hE]: 429,
|
|
2866
|
-
},
|
|
2867
|
-
[_M],
|
|
2868
|
-
[
|
|
2869
|
-
[
|
|
2870
|
-
0,
|
|
2871
|
-
{
|
|
2872
|
-
[_jN]: _m,
|
|
2873
|
-
},
|
|
2874
|
-
],
|
|
2875
|
-
],
|
|
2876
|
-
];
|
|
2779
|
+
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [[0, { [_jN]: _m }]]];
|
|
2877
2780
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
2878
2781
|
var ValidationException = [
|
|
2879
2782
|
-3,
|
|
2880
2783
|
n0,
|
|
2881
2784
|
_VE,
|
|
2882
|
-
{
|
|
2883
|
-
[_e]: _c,
|
|
2884
|
-
[_hE]: 400,
|
|
2885
|
-
},
|
|
2785
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
2886
2786
|
[_M, _Rea, _FL],
|
|
2887
2787
|
[
|
|
2888
|
-
[
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
[_jN]: _m,
|
|
2892
|
-
},
|
|
2893
|
-
],
|
|
2894
|
-
[
|
|
2895
|
-
0,
|
|
2896
|
-
{
|
|
2897
|
-
[_jN]: _r,
|
|
2898
|
-
},
|
|
2899
|
-
],
|
|
2900
|
-
[
|
|
2901
|
-
() => ValidationExceptionFieldList,
|
|
2902
|
-
{
|
|
2903
|
-
[_jN]: _fL,
|
|
2904
|
-
},
|
|
2905
|
-
],
|
|
2788
|
+
[0, { [_jN]: _m }],
|
|
2789
|
+
[0, { [_jN]: _r }],
|
|
2790
|
+
[() => ValidationExceptionFieldList, { [_jN]: _fL }],
|
|
2906
2791
|
],
|
|
2907
2792
|
];
|
|
2908
2793
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
@@ -2913,18 +2798,8 @@ var ValidationExceptionField = [
|
|
|
2913
2798
|
0,
|
|
2914
2799
|
[_Na, _M],
|
|
2915
2800
|
[
|
|
2916
|
-
[
|
|
2917
|
-
|
|
2918
|
-
{
|
|
2919
|
-
[_jN]: _n,
|
|
2920
|
-
},
|
|
2921
|
-
],
|
|
2922
|
-
[
|
|
2923
|
-
0,
|
|
2924
|
-
{
|
|
2925
|
-
[_jN]: _m,
|
|
2926
|
-
},
|
|
2927
|
-
],
|
|
2801
|
+
[0, { [_jN]: _n }],
|
|
2802
|
+
[0, { [_jN]: _m }],
|
|
2928
2803
|
],
|
|
2929
2804
|
];
|
|
2930
2805
|
var WaypointOptimizationAccessHours = [
|
|
@@ -3386,9 +3261,7 @@ var CalculateIsolines = [
|
|
|
3386
3261
|
9,
|
|
3387
3262
|
n0,
|
|
3388
3263
|
_CIa,
|
|
3389
|
-
{
|
|
3390
|
-
[_h]: ["POST", "/isolines", 200],
|
|
3391
|
-
},
|
|
3264
|
+
{ [_h]: ["POST", "/isolines", 200] },
|
|
3392
3265
|
() => CalculateIsolinesRequest,
|
|
3393
3266
|
() => CalculateIsolinesResponse,
|
|
3394
3267
|
];
|
|
@@ -3396,9 +3269,7 @@ var CalculateRouteMatrix = [
|
|
|
3396
3269
|
9,
|
|
3397
3270
|
n0,
|
|
3398
3271
|
_CRM,
|
|
3399
|
-
{
|
|
3400
|
-
[_h]: ["POST", "/route-matrix", 200],
|
|
3401
|
-
},
|
|
3272
|
+
{ [_h]: ["POST", "/route-matrix", 200] },
|
|
3402
3273
|
() => CalculateRouteMatrixRequest,
|
|
3403
3274
|
() => CalculateRouteMatrixResponse,
|
|
3404
3275
|
];
|
|
@@ -3406,9 +3277,7 @@ var CalculateRoutes = [
|
|
|
3406
3277
|
9,
|
|
3407
3278
|
n0,
|
|
3408
3279
|
_CRa,
|
|
3409
|
-
{
|
|
3410
|
-
[_h]: ["POST", "/routes", 200],
|
|
3411
|
-
},
|
|
3280
|
+
{ [_h]: ["POST", "/routes", 200] },
|
|
3412
3281
|
() => CalculateRoutesRequest,
|
|
3413
3282
|
() => CalculateRoutesResponse,
|
|
3414
3283
|
];
|
|
@@ -3416,9 +3285,7 @@ var OptimizeWaypoints = [
|
|
|
3416
3285
|
9,
|
|
3417
3286
|
n0,
|
|
3418
3287
|
_OWp,
|
|
3419
|
-
{
|
|
3420
|
-
[_h]: ["POST", "/optimize-waypoints", 200],
|
|
3421
|
-
},
|
|
3288
|
+
{ [_h]: ["POST", "/optimize-waypoints", 200] },
|
|
3422
3289
|
() => OptimizeWaypointsRequest,
|
|
3423
3290
|
() => OptimizeWaypointsResponse,
|
|
3424
3291
|
];
|
|
@@ -3426,9 +3293,7 @@ var SnapToRoads = [
|
|
|
3426
3293
|
9,
|
|
3427
3294
|
n0,
|
|
3428
3295
|
_STR,
|
|
3429
|
-
{
|
|
3430
|
-
[_h]: ["POST", "/snap-to-roads", 200],
|
|
3431
|
-
},
|
|
3296
|
+
{ [_h]: ["POST", "/snap-to-roads", 200] },
|
|
3432
3297
|
() => SnapToRoadsRequest,
|
|
3433
3298
|
() => SnapToRoadsResponse,
|
|
3434
3299
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultGeoRoutesHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -706,19 +706,9 @@ export var AccessDeniedException = [
|
|
|
706
706
|
-3,
|
|
707
707
|
n0,
|
|
708
708
|
_ADE,
|
|
709
|
-
{
|
|
710
|
-
[_e]: _c,
|
|
711
|
-
[_hE]: 403,
|
|
712
|
-
},
|
|
709
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
713
710
|
[_M],
|
|
714
|
-
[
|
|
715
|
-
[
|
|
716
|
-
0,
|
|
717
|
-
{
|
|
718
|
-
[_jN]: _m,
|
|
719
|
-
},
|
|
720
|
-
],
|
|
721
|
-
],
|
|
711
|
+
[[0, { [_jN]: _m }]],
|
|
722
712
|
];
|
|
723
713
|
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
724
714
|
export var CalculateIsolinesRequest = [
|
|
@@ -737,12 +727,7 @@ export var CalculateIsolinesRequest = [
|
|
|
737
727
|
[() => IsolineDestinationOptions, 0],
|
|
738
728
|
0,
|
|
739
729
|
[() => IsolineGranularityOptions, 0],
|
|
740
|
-
[
|
|
741
|
-
() => ApiKey,
|
|
742
|
-
{
|
|
743
|
-
[_hQ]: _k,
|
|
744
|
-
},
|
|
745
|
-
],
|
|
730
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
746
731
|
0,
|
|
747
732
|
0,
|
|
748
733
|
[() => Position, 0],
|
|
@@ -764,12 +749,7 @@ export var CalculateIsolinesResponse = [
|
|
|
764
749
|
[() => TimestampWithTimezoneOffset, 0],
|
|
765
750
|
0,
|
|
766
751
|
[() => IsolineList, 0],
|
|
767
|
-
[
|
|
768
|
-
0,
|
|
769
|
-
{
|
|
770
|
-
[_hH]: _xagpb,
|
|
771
|
-
},
|
|
772
|
-
],
|
|
752
|
+
[0, { [_hH]: _xagpb }],
|
|
773
753
|
[() => Position, 0],
|
|
774
754
|
[() => Position, 0],
|
|
775
755
|
],
|
|
@@ -787,12 +767,7 @@ export var CalculateRouteMatrixRequest = [
|
|
|
787
767
|
[() => TimestampWithTimezoneOffset, 0],
|
|
788
768
|
[() => RouteMatrixDestinationList, 0],
|
|
789
769
|
[() => RouteMatrixExclusionOptions, 0],
|
|
790
|
-
[
|
|
791
|
-
() => ApiKey,
|
|
792
|
-
{
|
|
793
|
-
[_hQ]: _k,
|
|
794
|
-
},
|
|
795
|
-
],
|
|
770
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
796
771
|
0,
|
|
797
772
|
[() => RouteMatrixOriginList, 0],
|
|
798
773
|
[() => RouteMatrixBoundary, 0],
|
|
@@ -807,17 +782,7 @@ export var CalculateRouteMatrixResponse = [
|
|
|
807
782
|
_CRMRa,
|
|
808
783
|
0,
|
|
809
784
|
[_EC, _PB, _RM, _RB],
|
|
810
|
-
[
|
|
811
|
-
1,
|
|
812
|
-
[
|
|
813
|
-
0,
|
|
814
|
-
{
|
|
815
|
-
[_hH]: _xagpb,
|
|
816
|
-
},
|
|
817
|
-
],
|
|
818
|
-
[() => RouteMatrix, 0],
|
|
819
|
-
[() => RouteMatrixBoundary, 0],
|
|
820
|
-
],
|
|
785
|
+
[1, [0, { [_hH]: _xagpb }], [() => RouteMatrix, 0], [() => RouteMatrixBoundary, 0]],
|
|
821
786
|
];
|
|
822
787
|
export var CalculateRoutesRequest = [
|
|
823
788
|
3,
|
|
@@ -862,12 +827,7 @@ export var CalculateRoutesRequest = [
|
|
|
862
827
|
[() => RouteDriverOptions, 0],
|
|
863
828
|
[() => RouteExclusionOptions, 0],
|
|
864
829
|
0,
|
|
865
|
-
[
|
|
866
|
-
() => ApiKey,
|
|
867
|
-
{
|
|
868
|
-
[_hQ]: _k,
|
|
869
|
-
},
|
|
870
|
-
],
|
|
830
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
871
831
|
64 | 0,
|
|
872
832
|
[() => RouteLegAdditionalFeatureList, 0],
|
|
873
833
|
0,
|
|
@@ -890,17 +850,7 @@ export var CalculateRoutesResponse = [
|
|
|
890
850
|
_CRRa,
|
|
891
851
|
0,
|
|
892
852
|
[_LGF, _N, _PB, _R],
|
|
893
|
-
[
|
|
894
|
-
0,
|
|
895
|
-
() => RouteResponseNoticeList,
|
|
896
|
-
[
|
|
897
|
-
0,
|
|
898
|
-
{
|
|
899
|
-
[_hH]: _xagpb,
|
|
900
|
-
},
|
|
901
|
-
],
|
|
902
|
-
[() => RouteList, 0],
|
|
903
|
-
],
|
|
853
|
+
[0, () => RouteResponseNoticeList, [0, { [_hH]: _xagpb }], [() => RouteList, 0]],
|
|
904
854
|
];
|
|
905
855
|
export var Circle = [
|
|
906
856
|
3,
|
|
@@ -918,19 +868,9 @@ export var InternalServerException = [
|
|
|
918
868
|
-3,
|
|
919
869
|
n0,
|
|
920
870
|
_ISE,
|
|
921
|
-
{
|
|
922
|
-
[_e]: _s,
|
|
923
|
-
[_hE]: 500,
|
|
924
|
-
},
|
|
871
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
925
872
|
[_M],
|
|
926
|
-
[
|
|
927
|
-
[
|
|
928
|
-
0,
|
|
929
|
-
{
|
|
930
|
-
[_jN]: _m,
|
|
931
|
-
},
|
|
932
|
-
],
|
|
933
|
-
],
|
|
873
|
+
[[0, { [_jN]: _m }]],
|
|
934
874
|
];
|
|
935
875
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
936
876
|
export var Isoline = [
|
|
@@ -1196,12 +1136,7 @@ export var OptimizeWaypointsRequest = [
|
|
|
1196
1136
|
[() => WaypointOptimizationDestinationOptions, 0],
|
|
1197
1137
|
[() => WaypointOptimizationDriverOptions, 0],
|
|
1198
1138
|
[() => WaypointOptimizationExclusionOptions, 0],
|
|
1199
|
-
[
|
|
1200
|
-
() => ApiKey,
|
|
1201
|
-
{
|
|
1202
|
-
[_hQ]: _k,
|
|
1203
|
-
},
|
|
1204
|
-
],
|
|
1139
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
1205
1140
|
0,
|
|
1206
1141
|
[() => Position, 0],
|
|
1207
1142
|
() => WaypointOptimizationOriginOptions,
|
|
@@ -1223,12 +1158,7 @@ export var OptimizeWaypointsResponse = [
|
|
|
1223
1158
|
[() => DurationSeconds, 0],
|
|
1224
1159
|
[() => WaypointOptimizationImpedingWaypointList, 0],
|
|
1225
1160
|
[() => WaypointOptimizationOptimizedWaypointList, 0],
|
|
1226
|
-
[
|
|
1227
|
-
0,
|
|
1228
|
-
{
|
|
1229
|
-
[_hH]: _xagpb,
|
|
1230
|
-
},
|
|
1231
|
-
],
|
|
1161
|
+
[0, { [_hH]: _xagpb }],
|
|
1232
1162
|
[() => WaypointOptimizationTimeBreakdown, 0],
|
|
1233
1163
|
],
|
|
1234
1164
|
];
|
|
@@ -2645,12 +2575,7 @@ export var SnapToRoadsRequest = [
|
|
|
2645
2575
|
0,
|
|
2646
2576
|
[_K, _SGF, _SR, _TP, _TM, _TMO],
|
|
2647
2577
|
[
|
|
2648
|
-
[
|
|
2649
|
-
() => ApiKey,
|
|
2650
|
-
{
|
|
2651
|
-
[_hQ]: _k,
|
|
2652
|
-
},
|
|
2653
|
-
],
|
|
2578
|
+
[() => ApiKey, { [_hQ]: _k }],
|
|
2654
2579
|
0,
|
|
2655
2580
|
[() => DistanceMeters, 0],
|
|
2656
2581
|
[() => RoadSnapTracePointList, 0],
|
|
@@ -2666,64 +2591,24 @@ export var SnapToRoadsResponse = [
|
|
|
2666
2591
|
[_N, _PB, _SG, _SGF, _STP],
|
|
2667
2592
|
[
|
|
2668
2593
|
[() => RoadSnapNoticeList, 0],
|
|
2669
|
-
[
|
|
2670
|
-
0,
|
|
2671
|
-
{
|
|
2672
|
-
[_hH]: _xagpb,
|
|
2673
|
-
},
|
|
2674
|
-
],
|
|
2594
|
+
[0, { [_hH]: _xagpb }],
|
|
2675
2595
|
[() => RoadSnapSnappedGeometry, 0],
|
|
2676
2596
|
0,
|
|
2677
2597
|
[() => RoadSnapSnappedTracePointList, 0],
|
|
2678
2598
|
],
|
|
2679
2599
|
];
|
|
2680
|
-
export var ThrottlingException = [
|
|
2681
|
-
-3,
|
|
2682
|
-
n0,
|
|
2683
|
-
_TE,
|
|
2684
|
-
{
|
|
2685
|
-
[_e]: _c,
|
|
2686
|
-
[_hE]: 429,
|
|
2687
|
-
},
|
|
2688
|
-
[_M],
|
|
2689
|
-
[
|
|
2690
|
-
[
|
|
2691
|
-
0,
|
|
2692
|
-
{
|
|
2693
|
-
[_jN]: _m,
|
|
2694
|
-
},
|
|
2695
|
-
],
|
|
2696
|
-
],
|
|
2697
|
-
];
|
|
2600
|
+
export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [[0, { [_jN]: _m }]]];
|
|
2698
2601
|
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
2699
2602
|
export var ValidationException = [
|
|
2700
2603
|
-3,
|
|
2701
2604
|
n0,
|
|
2702
2605
|
_VE,
|
|
2703
|
-
{
|
|
2704
|
-
[_e]: _c,
|
|
2705
|
-
[_hE]: 400,
|
|
2706
|
-
},
|
|
2606
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
2707
2607
|
[_M, _Rea, _FL],
|
|
2708
2608
|
[
|
|
2709
|
-
[
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
[_jN]: _m,
|
|
2713
|
-
},
|
|
2714
|
-
],
|
|
2715
|
-
[
|
|
2716
|
-
0,
|
|
2717
|
-
{
|
|
2718
|
-
[_jN]: _r,
|
|
2719
|
-
},
|
|
2720
|
-
],
|
|
2721
|
-
[
|
|
2722
|
-
() => ValidationExceptionFieldList,
|
|
2723
|
-
{
|
|
2724
|
-
[_jN]: _fL,
|
|
2725
|
-
},
|
|
2726
|
-
],
|
|
2609
|
+
[0, { [_jN]: _m }],
|
|
2610
|
+
[0, { [_jN]: _r }],
|
|
2611
|
+
[() => ValidationExceptionFieldList, { [_jN]: _fL }],
|
|
2727
2612
|
],
|
|
2728
2613
|
];
|
|
2729
2614
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
@@ -2734,18 +2619,8 @@ export var ValidationExceptionField = [
|
|
|
2734
2619
|
0,
|
|
2735
2620
|
[_Na, _M],
|
|
2736
2621
|
[
|
|
2737
|
-
[
|
|
2738
|
-
|
|
2739
|
-
{
|
|
2740
|
-
[_jN]: _n,
|
|
2741
|
-
},
|
|
2742
|
-
],
|
|
2743
|
-
[
|
|
2744
|
-
0,
|
|
2745
|
-
{
|
|
2746
|
-
[_jN]: _m,
|
|
2747
|
-
},
|
|
2748
|
-
],
|
|
2622
|
+
[0, { [_jN]: _n }],
|
|
2623
|
+
[0, { [_jN]: _m }],
|
|
2749
2624
|
],
|
|
2750
2625
|
];
|
|
2751
2626
|
export var WaypointOptimizationAccessHours = [
|
|
@@ -3211,9 +3086,7 @@ export var CalculateIsolines = [
|
|
|
3211
3086
|
9,
|
|
3212
3087
|
n0,
|
|
3213
3088
|
_CIa,
|
|
3214
|
-
{
|
|
3215
|
-
[_h]: ["POST", "/isolines", 200],
|
|
3216
|
-
},
|
|
3089
|
+
{ [_h]: ["POST", "/isolines", 200] },
|
|
3217
3090
|
() => CalculateIsolinesRequest,
|
|
3218
3091
|
() => CalculateIsolinesResponse,
|
|
3219
3092
|
];
|
|
@@ -3221,9 +3094,7 @@ export var CalculateRouteMatrix = [
|
|
|
3221
3094
|
9,
|
|
3222
3095
|
n0,
|
|
3223
3096
|
_CRM,
|
|
3224
|
-
{
|
|
3225
|
-
[_h]: ["POST", "/route-matrix", 200],
|
|
3226
|
-
},
|
|
3097
|
+
{ [_h]: ["POST", "/route-matrix", 200] },
|
|
3227
3098
|
() => CalculateRouteMatrixRequest,
|
|
3228
3099
|
() => CalculateRouteMatrixResponse,
|
|
3229
3100
|
];
|
|
@@ -3231,9 +3102,7 @@ export var CalculateRoutes = [
|
|
|
3231
3102
|
9,
|
|
3232
3103
|
n0,
|
|
3233
3104
|
_CRa,
|
|
3234
|
-
{
|
|
3235
|
-
[_h]: ["POST", "/routes", 200],
|
|
3236
|
-
},
|
|
3105
|
+
{ [_h]: ["POST", "/routes", 200] },
|
|
3237
3106
|
() => CalculateRoutesRequest,
|
|
3238
3107
|
() => CalculateRoutesResponse,
|
|
3239
3108
|
];
|
|
@@ -3241,9 +3110,7 @@ export var OptimizeWaypoints = [
|
|
|
3241
3110
|
9,
|
|
3242
3111
|
n0,
|
|
3243
3112
|
_OWp,
|
|
3244
|
-
{
|
|
3245
|
-
[_h]: ["POST", "/optimize-waypoints", 200],
|
|
3246
|
-
},
|
|
3113
|
+
{ [_h]: ["POST", "/optimize-waypoints", 200] },
|
|
3247
3114
|
() => OptimizeWaypointsRequest,
|
|
3248
3115
|
() => OptimizeWaypointsResponse,
|
|
3249
3116
|
];
|
|
@@ -3251,9 +3118,7 @@ export var SnapToRoads = [
|
|
|
3251
3118
|
9,
|
|
3252
3119
|
n0,
|
|
3253
3120
|
_STR,
|
|
3254
|
-
{
|
|
3255
|
-
[_h]: ["POST", "/snap-to-roads", 200],
|
|
3256
|
-
},
|
|
3121
|
+
{ [_h]: ["POST", "/snap-to-roads", 200] },
|
|
3257
3122
|
() => SnapToRoadsRequest,
|
|
3258
3123
|
() => SnapToRoadsResponse,
|
|
3259
3124
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CalculateIsolinesCommandInput, CalculateIsolinesCommandOutput } from "./commands/CalculateIsolinesCommand";
|
|
3
3
|
import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
|
|
4
4
|
import { CalculateRoutesCommandInput, CalculateRoutesCommandOutput } from "./commands/CalculateRoutesCommand";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CalculateIsolinesCommandInput, CalculateIsolinesCommandOutput } from "./commands/CalculateIsolinesCommand";
|
|
11
11
|
import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
|
|
12
12
|
import { CalculateRoutesCommandInput, CalculateRoutesCommandOutput } from "./commands/CalculateRoutesCommand";
|
|
13
13
|
import { OptimizeWaypointsCommandInput, OptimizeWaypointsCommandOutput } from "./commands/OptimizeWaypointsCommand";
|
|
14
14
|
import { SnapToRoadsCommandInput, SnapToRoadsCommandOutput } from "./commands/SnapToRoadsCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
16
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
17
17
|
export { __Client };
|
|
18
18
|
/**
|
|
19
19
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { GeoRoutesHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { GeoRoutesHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { GeoRoutesClientResolvedConfig } from "../GeoRoutesClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type GeoRoutesClientResolvedConfig } from "../GeoRoutesClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
-
import { CalculateIsolinesRequest, CalculateIsolinesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
+
import type { CalculateIsolinesRequest, CalculateIsolinesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
-
import { CalculateRouteMatrixRequest, CalculateRouteMatrixResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
+
import type { CalculateRouteMatrixRequest, CalculateRouteMatrixResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
-
import { CalculateRoutesRequest, CalculateRoutesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
+
import type { CalculateRoutesRequest, CalculateRoutesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
-
import { OptimizeWaypointsRequest, OptimizeWaypointsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
+
import type { OptimizeWaypointsRequest, OptimizeWaypointsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
-
import { SnapToRoadsRequest, SnapToRoadsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GeoRoutesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoRoutesClient";
|
|
4
|
+
import type { SnapToRoadsRequest, SnapToRoadsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
9
|
region?: string | undefined | Provider<string | undefined>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
UseDualStack?: boolean | undefined;
|
|
35
47
|
UseFIPS?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
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";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ValidationExceptionReason } from "./enums";
|
|
3
3
|
import { GeoRoutesServiceException as __BaseException } from "./GeoRoutesServiceException";
|
|
4
4
|
import { ValidationExceptionField } from "./models_0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var ApiKey: StaticSimpleSchema;
|
|
3
3
|
export declare var CountryCode: StaticSimpleSchema;
|
|
4
4
|
export declare var CountryCode3: StaticSimpleSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-routes",
|
|
3
3
|
"description": "AWS SDK for JavaScript Geo Routes Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-geo-routes",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo geo-routes"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo geo-routes",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|