@aws-sdk/client-geo-routes 3.948.0 → 3.953.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 +720 -518
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CalculateIsolinesCommand.js +2 -2
- package/dist-es/commands/CalculateRouteMatrixCommand.js +2 -2
- package/dist-es/commands/CalculateRoutesCommand.js +2 -2
- package/dist-es/commands/OptimizeWaypointsCommand.js +2 -2
- package/dist-es/commands/SnapToRoadsCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +593 -592
- package/dist-types/GeoRoutesClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +202 -345
- package/dist-types/ts3.4/GeoRoutesClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +201 -346
- package/package.json +34 -34
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.georoutes",
|
|
32
|
+
version: "2020-11-19",
|
|
33
|
+
serviceTarget: "RoutesService",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "Geo Routes",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CalculateIsolines } from "../schemas/schemas_0";
|
|
4
|
+
import { CalculateIsolines$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CalculateIsolinesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CalculateIsolinesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RoutesService", "CalculateIsolines", {})
|
|
13
13
|
.n("GeoRoutesClient", "CalculateIsolinesCommand")
|
|
14
|
-
.sc(CalculateIsolines)
|
|
14
|
+
.sc(CalculateIsolines$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CalculateRouteMatrix } from "../schemas/schemas_0";
|
|
4
|
+
import { CalculateRouteMatrix$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CalculateRouteMatrixCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CalculateRouteMatrixCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RoutesService", "CalculateRouteMatrix", {})
|
|
13
13
|
.n("GeoRoutesClient", "CalculateRouteMatrixCommand")
|
|
14
|
-
.sc(CalculateRouteMatrix)
|
|
14
|
+
.sc(CalculateRouteMatrix$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CalculateRoutes } from "../schemas/schemas_0";
|
|
4
|
+
import { CalculateRoutes$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CalculateRoutesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CalculateRoutesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RoutesService", "CalculateRoutes", {})
|
|
13
13
|
.n("GeoRoutesClient", "CalculateRoutesCommand")
|
|
14
|
-
.sc(CalculateRoutes)
|
|
14
|
+
.sc(CalculateRoutes$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { OptimizeWaypoints } from "../schemas/schemas_0";
|
|
4
|
+
import { OptimizeWaypoints$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class OptimizeWaypointsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class OptimizeWaypointsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RoutesService", "OptimizeWaypoints", {})
|
|
13
13
|
.n("GeoRoutesClient", "OptimizeWaypointsCommand")
|
|
14
|
-
.sc(OptimizeWaypoints)
|
|
14
|
+
.sc(OptimizeWaypoints$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { SnapToRoads } from "../schemas/schemas_0";
|
|
4
|
+
import { SnapToRoads$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SnapToRoadsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SnapToRoadsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("RoutesService", "SnapToRoads", {})
|
|
13
13
|
.n("GeoRoutesClient", "SnapToRoadsCommand")
|
|
14
|
-
.sc(SnapToRoads)
|
|
14
|
+
.sc(SnapToRoads$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./GeoRoutesClient";
|
|
2
2
|
export * from "./GeoRoutes";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { GeoRoutesServiceException } from "./models/GeoRoutesServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.georoutes",
|
|
29
|
+
version: "2020-11-19",
|
|
30
|
+
serviceTarget: "RoutesService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "Geo Routes",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|