@aws-sdk/client-app-mesh 3.200.0 → 3.201.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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-app-mesh
@@ -2,11 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
- var _a, _b;
6
5
  return {
7
6
  ...options,
8
- useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
9
- useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
10
9
  defaultSigningName: "appmesh",
11
10
  };
12
11
  };
@@ -8,12 +8,11 @@ const uuid_1 = require("uuid");
8
8
  const AppMeshServiceException_1 = require("../models/AppMeshServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) => {
11
- var _a;
12
11
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
13
12
  const headers = {
14
13
  "content-type": "application/json",
15
14
  };
16
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
15
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
17
16
  "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes";
18
17
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
19
18
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
@@ -22,7 +21,7 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) =
22
21
  });
23
22
  let body;
24
23
  body = JSON.stringify({
25
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
24
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
26
25
  ...(input.gatewayRouteName != null && { gatewayRouteName: input.gatewayRouteName }),
27
26
  ...(input.spec != null && { spec: serializeAws_restJson1GatewayRouteSpec(input.spec, context) }),
28
27
  ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
@@ -40,15 +39,14 @@ const serializeAws_restJson1CreateGatewayRouteCommand = async (input, context) =
40
39
  };
41
40
  exports.serializeAws_restJson1CreateGatewayRouteCommand = serializeAws_restJson1CreateGatewayRouteCommand;
42
41
  const serializeAws_restJson1CreateMeshCommand = async (input, context) => {
43
- var _a;
44
42
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
45
43
  const headers = {
46
44
  "content-type": "application/json",
47
45
  };
48
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes";
46
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes";
49
47
  let body;
50
48
  body = JSON.stringify({
51
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
49
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
52
50
  ...(input.meshName != null && { meshName: input.meshName }),
53
51
  ...(input.spec != null && { spec: serializeAws_restJson1MeshSpec(input.spec, context) }),
54
52
  ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
@@ -65,12 +63,11 @@ const serializeAws_restJson1CreateMeshCommand = async (input, context) => {
65
63
  };
66
64
  exports.serializeAws_restJson1CreateMeshCommand = serializeAws_restJson1CreateMeshCommand;
67
65
  const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
68
- var _a;
69
66
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
70
67
  const headers = {
71
68
  "content-type": "application/json",
72
69
  };
73
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
70
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
74
71
  "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes";
75
72
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
76
73
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
@@ -79,7 +76,7 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
79
76
  });
80
77
  let body;
81
78
  body = JSON.stringify({
82
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
79
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
83
80
  ...(input.routeName != null && { routeName: input.routeName }),
84
81
  ...(input.spec != null && { spec: serializeAws_restJson1RouteSpec(input.spec, context) }),
85
82
  ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
@@ -97,12 +94,11 @@ const serializeAws_restJson1CreateRouteCommand = async (input, context) => {
97
94
  };
98
95
  exports.serializeAws_restJson1CreateRouteCommand = serializeAws_restJson1CreateRouteCommand;
99
96
  const serializeAws_restJson1CreateVirtualGatewayCommand = async (input, context) => {
100
- var _a;
101
97
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
98
  const headers = {
103
99
  "content-type": "application/json",
104
100
  };
105
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
101
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
106
102
  "/v20190125/meshes/{meshName}/virtualGateways";
107
103
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
108
104
  const query = map({
@@ -110,7 +106,7 @@ const serializeAws_restJson1CreateVirtualGatewayCommand = async (input, context)
110
106
  });
111
107
  let body;
112
108
  body = JSON.stringify({
113
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
109
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
114
110
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualGatewaySpec(input.spec, context) }),
115
111
  ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
116
112
  ...(input.virtualGatewayName != null && { virtualGatewayName: input.virtualGatewayName }),
@@ -128,19 +124,18 @@ const serializeAws_restJson1CreateVirtualGatewayCommand = async (input, context)
128
124
  };
129
125
  exports.serializeAws_restJson1CreateVirtualGatewayCommand = serializeAws_restJson1CreateVirtualGatewayCommand;
130
126
  const serializeAws_restJson1CreateVirtualNodeCommand = async (input, context) => {
131
- var _a;
132
127
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
133
128
  const headers = {
134
129
  "content-type": "application/json",
135
130
  };
136
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}/virtualNodes";
131
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}/virtualNodes";
137
132
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
138
133
  const query = map({
139
134
  meshOwner: [, input.meshOwner],
140
135
  });
141
136
  let body;
142
137
  body = JSON.stringify({
143
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
138
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
144
139
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualNodeSpec(input.spec, context) }),
145
140
  ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
146
141
  ...(input.virtualNodeName != null && { virtualNodeName: input.virtualNodeName }),
@@ -158,12 +153,11 @@ const serializeAws_restJson1CreateVirtualNodeCommand = async (input, context) =>
158
153
  };
159
154
  exports.serializeAws_restJson1CreateVirtualNodeCommand = serializeAws_restJson1CreateVirtualNodeCommand;
160
155
  const serializeAws_restJson1CreateVirtualRouterCommand = async (input, context) => {
161
- var _a;
162
156
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
163
157
  const headers = {
164
158
  "content-type": "application/json",
165
159
  };
166
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
160
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
167
161
  "/v20190125/meshes/{meshName}/virtualRouters";
168
162
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
169
163
  const query = map({
@@ -171,7 +165,7 @@ const serializeAws_restJson1CreateVirtualRouterCommand = async (input, context)
171
165
  });
172
166
  let body;
173
167
  body = JSON.stringify({
174
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
168
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
175
169
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualRouterSpec(input.spec, context) }),
176
170
  ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
177
171
  ...(input.virtualRouterName != null && { virtualRouterName: input.virtualRouterName }),
@@ -189,12 +183,11 @@ const serializeAws_restJson1CreateVirtualRouterCommand = async (input, context)
189
183
  };
190
184
  exports.serializeAws_restJson1CreateVirtualRouterCommand = serializeAws_restJson1CreateVirtualRouterCommand;
191
185
  const serializeAws_restJson1CreateVirtualServiceCommand = async (input, context) => {
192
- var _a;
193
186
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
194
187
  const headers = {
195
188
  "content-type": "application/json",
196
189
  };
197
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
190
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
198
191
  "/v20190125/meshes/{meshName}/virtualServices";
199
192
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
200
193
  const query = map({
@@ -202,7 +195,7 @@ const serializeAws_restJson1CreateVirtualServiceCommand = async (input, context)
202
195
  });
203
196
  let body;
204
197
  body = JSON.stringify({
205
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
198
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
206
199
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualServiceSpec(input.spec, context) }),
207
200
  ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
208
201
  ...(input.virtualServiceName != null && { virtualServiceName: input.virtualServiceName }),
@@ -222,7 +215,7 @@ exports.serializeAws_restJson1CreateVirtualServiceCommand = serializeAws_restJso
222
215
  const serializeAws_restJson1DeleteGatewayRouteCommand = async (input, context) => {
223
216
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
224
217
  const headers = {};
225
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
218
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
226
219
  "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}";
227
220
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "gatewayRouteName", () => input.gatewayRouteName, "{gatewayRouteName}", false);
228
221
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -246,7 +239,7 @@ exports.serializeAws_restJson1DeleteGatewayRouteCommand = serializeAws_restJson1
246
239
  const serializeAws_restJson1DeleteMeshCommand = async (input, context) => {
247
240
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
248
241
  const headers = {};
249
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}";
242
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}";
250
243
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
251
244
  let body;
252
245
  return new protocol_http_1.HttpRequest({
@@ -263,7 +256,7 @@ exports.serializeAws_restJson1DeleteMeshCommand = serializeAws_restJson1DeleteMe
263
256
  const serializeAws_restJson1DeleteRouteCommand = async (input, context) => {
264
257
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
258
  const headers = {};
266
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
259
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
267
260
  "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}";
268
261
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "routeName", () => input.routeName, "{routeName}", false);
269
262
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -287,7 +280,7 @@ exports.serializeAws_restJson1DeleteRouteCommand = serializeAws_restJson1DeleteR
287
280
  const serializeAws_restJson1DeleteVirtualGatewayCommand = async (input, context) => {
288
281
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
289
282
  const headers = {};
290
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
283
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
291
284
  "/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}";
292
285
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
293
286
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -310,7 +303,7 @@ exports.serializeAws_restJson1DeleteVirtualGatewayCommand = serializeAws_restJso
310
303
  const serializeAws_restJson1DeleteVirtualNodeCommand = async (input, context) => {
311
304
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
312
305
  const headers = {};
313
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
306
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
314
307
  "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}";
315
308
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualNodeName", () => input.virtualNodeName, "{virtualNodeName}", false);
316
309
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -333,7 +326,7 @@ exports.serializeAws_restJson1DeleteVirtualNodeCommand = serializeAws_restJson1D
333
326
  const serializeAws_restJson1DeleteVirtualRouterCommand = async (input, context) => {
334
327
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
335
328
  const headers = {};
336
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
329
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
337
330
  "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}";
338
331
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
339
332
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -356,7 +349,7 @@ exports.serializeAws_restJson1DeleteVirtualRouterCommand = serializeAws_restJson
356
349
  const serializeAws_restJson1DeleteVirtualServiceCommand = async (input, context) => {
357
350
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
358
351
  const headers = {};
359
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
352
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
360
353
  "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}";
361
354
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualServiceName", () => input.virtualServiceName, "{virtualServiceName}", false);
362
355
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -379,7 +372,7 @@ exports.serializeAws_restJson1DeleteVirtualServiceCommand = serializeAws_restJso
379
372
  const serializeAws_restJson1DescribeGatewayRouteCommand = async (input, context) => {
380
373
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
381
374
  const headers = {};
382
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
375
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
383
376
  "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}";
384
377
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "gatewayRouteName", () => input.gatewayRouteName, "{gatewayRouteName}", false);
385
378
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -403,7 +396,7 @@ exports.serializeAws_restJson1DescribeGatewayRouteCommand = serializeAws_restJso
403
396
  const serializeAws_restJson1DescribeMeshCommand = async (input, context) => {
404
397
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
405
398
  const headers = {};
406
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}";
399
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}";
407
400
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
408
401
  const query = map({
409
402
  meshOwner: [, input.meshOwner],
@@ -424,7 +417,7 @@ exports.serializeAws_restJson1DescribeMeshCommand = serializeAws_restJson1Descri
424
417
  const serializeAws_restJson1DescribeRouteCommand = async (input, context) => {
425
418
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
426
419
  const headers = {};
427
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
420
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
428
421
  "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}";
429
422
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "routeName", () => input.routeName, "{routeName}", false);
430
423
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -448,7 +441,7 @@ exports.serializeAws_restJson1DescribeRouteCommand = serializeAws_restJson1Descr
448
441
  const serializeAws_restJson1DescribeVirtualGatewayCommand = async (input, context) => {
449
442
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
450
443
  const headers = {};
451
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
444
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
452
445
  "/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}";
453
446
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
454
447
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -471,7 +464,7 @@ exports.serializeAws_restJson1DescribeVirtualGatewayCommand = serializeAws_restJ
471
464
  const serializeAws_restJson1DescribeVirtualNodeCommand = async (input, context) => {
472
465
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
473
466
  const headers = {};
474
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
467
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
475
468
  "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}";
476
469
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualNodeName", () => input.virtualNodeName, "{virtualNodeName}", false);
477
470
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -494,7 +487,7 @@ exports.serializeAws_restJson1DescribeVirtualNodeCommand = serializeAws_restJson
494
487
  const serializeAws_restJson1DescribeVirtualRouterCommand = async (input, context) => {
495
488
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
496
489
  const headers = {};
497
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
490
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
498
491
  "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}";
499
492
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
500
493
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -517,7 +510,7 @@ exports.serializeAws_restJson1DescribeVirtualRouterCommand = serializeAws_restJs
517
510
  const serializeAws_restJson1DescribeVirtualServiceCommand = async (input, context) => {
518
511
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
519
512
  const headers = {};
520
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
513
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
521
514
  "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}";
522
515
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualServiceName", () => input.virtualServiceName, "{virtualServiceName}", false);
523
516
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -540,7 +533,7 @@ exports.serializeAws_restJson1DescribeVirtualServiceCommand = serializeAws_restJ
540
533
  const serializeAws_restJson1ListGatewayRoutesCommand = async (input, context) => {
541
534
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
542
535
  const headers = {};
543
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
536
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
544
537
  "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes";
545
538
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
546
539
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
@@ -565,7 +558,7 @@ exports.serializeAws_restJson1ListGatewayRoutesCommand = serializeAws_restJson1L
565
558
  const serializeAws_restJson1ListMeshesCommand = async (input, context) => {
566
559
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
567
560
  const headers = {};
568
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes";
561
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes";
569
562
  const query = map({
570
563
  nextToken: [, input.nextToken],
571
564
  limit: [() => input.limit !== void 0, () => input.limit.toString()],
@@ -586,7 +579,7 @@ exports.serializeAws_restJson1ListMeshesCommand = serializeAws_restJson1ListMesh
586
579
  const serializeAws_restJson1ListRoutesCommand = async (input, context) => {
587
580
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
588
581
  const headers = {};
589
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
582
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
590
583
  "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes";
591
584
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
592
585
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
@@ -611,7 +604,7 @@ exports.serializeAws_restJson1ListRoutesCommand = serializeAws_restJson1ListRout
611
604
  const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
612
605
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
613
606
  const headers = {};
614
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/tags";
607
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/tags";
615
608
  const query = map({
616
609
  resourceArn: [, input.resourceArn],
617
610
  nextToken: [, input.nextToken],
@@ -633,7 +626,7 @@ exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson
633
626
  const serializeAws_restJson1ListVirtualGatewaysCommand = async (input, context) => {
634
627
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
635
628
  const headers = {};
636
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
629
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
637
630
  "/v20190125/meshes/{meshName}/virtualGateways";
638
631
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
639
632
  const query = map({
@@ -657,7 +650,7 @@ exports.serializeAws_restJson1ListVirtualGatewaysCommand = serializeAws_restJson
657
650
  const serializeAws_restJson1ListVirtualNodesCommand = async (input, context) => {
658
651
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
659
652
  const headers = {};
660
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}/virtualNodes";
653
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}/virtualNodes";
661
654
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
662
655
  const query = map({
663
656
  nextToken: [, input.nextToken],
@@ -680,7 +673,7 @@ exports.serializeAws_restJson1ListVirtualNodesCommand = serializeAws_restJson1Li
680
673
  const serializeAws_restJson1ListVirtualRoutersCommand = async (input, context) => {
681
674
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
682
675
  const headers = {};
683
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
676
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
684
677
  "/v20190125/meshes/{meshName}/virtualRouters";
685
678
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
686
679
  const query = map({
@@ -704,7 +697,7 @@ exports.serializeAws_restJson1ListVirtualRoutersCommand = serializeAws_restJson1
704
697
  const serializeAws_restJson1ListVirtualServicesCommand = async (input, context) => {
705
698
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
706
699
  const headers = {};
707
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
700
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
708
701
  "/v20190125/meshes/{meshName}/virtualServices";
709
702
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
710
703
  const query = map({
@@ -730,7 +723,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
730
723
  const headers = {
731
724
  "content-type": "application/json",
732
725
  };
733
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/tag";
726
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/tag";
734
727
  const query = map({
735
728
  resourceArn: [, input.resourceArn],
736
729
  });
@@ -755,7 +748,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
755
748
  const headers = {
756
749
  "content-type": "application/json",
757
750
  };
758
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/untag";
751
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/untag";
759
752
  const query = map({
760
753
  resourceArn: [, input.resourceArn],
761
754
  });
@@ -776,12 +769,11 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
776
769
  };
777
770
  exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
778
771
  const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) => {
779
- var _a;
780
772
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
781
773
  const headers = {
782
774
  "content-type": "application/json",
783
775
  };
784
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
776
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
785
777
  "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}";
786
778
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "gatewayRouteName", () => input.gatewayRouteName, "{gatewayRouteName}", false);
787
779
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -791,7 +783,7 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) =
791
783
  });
792
784
  let body;
793
785
  body = JSON.stringify({
794
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
786
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
795
787
  ...(input.spec != null && { spec: serializeAws_restJson1GatewayRouteSpec(input.spec, context) }),
796
788
  });
797
789
  return new protocol_http_1.HttpRequest({
@@ -807,16 +799,15 @@ const serializeAws_restJson1UpdateGatewayRouteCommand = async (input, context) =
807
799
  };
808
800
  exports.serializeAws_restJson1UpdateGatewayRouteCommand = serializeAws_restJson1UpdateGatewayRouteCommand;
809
801
  const serializeAws_restJson1UpdateMeshCommand = async (input, context) => {
810
- var _a;
811
802
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
812
803
  const headers = {
813
804
  "content-type": "application/json",
814
805
  };
815
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}";
806
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes/{meshName}";
816
807
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
817
808
  let body;
818
809
  body = JSON.stringify({
819
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
810
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
820
811
  ...(input.spec != null && { spec: serializeAws_restJson1MeshSpec(input.spec, context) }),
821
812
  });
822
813
  return new protocol_http_1.HttpRequest({
@@ -831,12 +822,11 @@ const serializeAws_restJson1UpdateMeshCommand = async (input, context) => {
831
822
  };
832
823
  exports.serializeAws_restJson1UpdateMeshCommand = serializeAws_restJson1UpdateMeshCommand;
833
824
  const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
834
- var _a;
835
825
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
836
826
  const headers = {
837
827
  "content-type": "application/json",
838
828
  };
839
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
829
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
840
830
  "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}";
841
831
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "routeName", () => input.routeName, "{routeName}", false);
842
832
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -846,7 +836,7 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
846
836
  });
847
837
  let body;
848
838
  body = JSON.stringify({
849
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
839
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
850
840
  ...(input.spec != null && { spec: serializeAws_restJson1RouteSpec(input.spec, context) }),
851
841
  });
852
842
  return new protocol_http_1.HttpRequest({
@@ -862,12 +852,11 @@ const serializeAws_restJson1UpdateRouteCommand = async (input, context) => {
862
852
  };
863
853
  exports.serializeAws_restJson1UpdateRouteCommand = serializeAws_restJson1UpdateRouteCommand;
864
854
  const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context) => {
865
- var _a;
866
855
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
867
856
  const headers = {
868
857
  "content-type": "application/json",
869
858
  };
870
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
859
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
871
860
  "/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}";
872
861
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualGatewayName", () => input.virtualGatewayName, "{virtualGatewayName}", false);
873
862
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -876,7 +865,7 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context)
876
865
  });
877
866
  let body;
878
867
  body = JSON.stringify({
879
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
868
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
880
869
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualGatewaySpec(input.spec, context) }),
881
870
  });
882
871
  return new protocol_http_1.HttpRequest({
@@ -892,12 +881,11 @@ const serializeAws_restJson1UpdateVirtualGatewayCommand = async (input, context)
892
881
  };
893
882
  exports.serializeAws_restJson1UpdateVirtualGatewayCommand = serializeAws_restJson1UpdateVirtualGatewayCommand;
894
883
  const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) => {
895
- var _a;
896
884
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
897
885
  const headers = {
898
886
  "content-type": "application/json",
899
887
  };
900
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
888
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
901
889
  "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}";
902
890
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualNodeName", () => input.virtualNodeName, "{virtualNodeName}", false);
903
891
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -906,7 +894,7 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) =>
906
894
  });
907
895
  let body;
908
896
  body = JSON.stringify({
909
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
897
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
910
898
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualNodeSpec(input.spec, context) }),
911
899
  });
912
900
  return new protocol_http_1.HttpRequest({
@@ -922,12 +910,11 @@ const serializeAws_restJson1UpdateVirtualNodeCommand = async (input, context) =>
922
910
  };
923
911
  exports.serializeAws_restJson1UpdateVirtualNodeCommand = serializeAws_restJson1UpdateVirtualNodeCommand;
924
912
  const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context) => {
925
- var _a;
926
913
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
927
914
  const headers = {
928
915
  "content-type": "application/json",
929
916
  };
930
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
917
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
931
918
  "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}";
932
919
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualRouterName", () => input.virtualRouterName, "{virtualRouterName}", false);
933
920
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -936,7 +923,7 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context)
936
923
  });
937
924
  let body;
938
925
  body = JSON.stringify({
939
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
926
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
940
927
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualRouterSpec(input.spec, context) }),
941
928
  });
942
929
  return new protocol_http_1.HttpRequest({
@@ -952,12 +939,11 @@ const serializeAws_restJson1UpdateVirtualRouterCommand = async (input, context)
952
939
  };
953
940
  exports.serializeAws_restJson1UpdateVirtualRouterCommand = serializeAws_restJson1UpdateVirtualRouterCommand;
954
941
  const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context) => {
955
- var _a;
956
942
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
957
943
  const headers = {
958
944
  "content-type": "application/json",
959
945
  };
960
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
946
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
961
947
  "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}";
962
948
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "virtualServiceName", () => input.virtualServiceName, "{virtualServiceName}", false);
963
949
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
@@ -966,7 +952,7 @@ const serializeAws_restJson1UpdateVirtualServiceCommand = async (input, context)
966
952
  });
967
953
  let body;
968
954
  body = JSON.stringify({
969
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
955
+ clientToken: input.clientToken ?? (0, uuid_1.v4)(),
970
956
  ...(input.spec != null && { spec: serializeAws_restJson1VirtualServiceSpec(input.spec, context) }),
971
957
  });
972
958
  return new protocol_http_1.HttpRequest({
@@ -5616,15 +5602,12 @@ const deserializeAws_restJson1WeightedTargets = (output, context) => {
5616
5602
  });
5617
5603
  return retVal;
5618
5604
  };
5619
- const deserializeMetadata = (output) => {
5620
- var _a, _b;
5621
- return ({
5622
- httpStatusCode: output.statusCode,
5623
- requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
5624
- extendedRequestId: output.headers["x-amz-id-2"],
5625
- cfId: output.headers["x-amz-cf-id"],
5626
- });
5627
- };
5605
+ const deserializeMetadata = (output) => ({
5606
+ httpStatusCode: output.statusCode,
5607
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
5608
+ extendedRequestId: output.headers["x-amz-id-2"],
5609
+ cfId: output.headers["x-amz-cf-id"],
5610
+ });
5628
5611
  const collectBody = (streamBody = new Uint8Array(), context) => {
5629
5612
  if (streamBody instanceof Uint8Array) {
5630
5613
  return Promise.resolve(streamBody);
@@ -5644,9 +5627,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
5644
5627
  return {};
5645
5628
  });
5646
5629
  const parseErrorBody = async (errorBody, context) => {
5647
- var _a;
5648
5630
  const value = await parseBody(errorBody, context);
5649
- value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
5631
+ value.message = value.message ?? value.Message;
5650
5632
  return value;
5651
5633
  };
5652
5634
  const loadRestJsonErrorCode = (output, data) => {
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
16
  const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
19
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
20
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
21
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
25
24
  ...config,
26
25
  runtime: "browser",
27
26
  defaultsMode,
28
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
29
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
38
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
39
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
40
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
41
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
42
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
27
+ base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
28
+ base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
29
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
30
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
31
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
+ (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
+ maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
+ requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
38
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
39
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
40
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
41
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
42
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
43
43
  };
44
44
  };
45
45
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const smithy_client_2 = require("@aws-sdk/smithy-client");
21
21
  const getRuntimeConfig = (config) => {
22
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
22
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
24
23
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
25
24
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
29
28
  ...config,
30
29
  runtime: "node",
31
30
  defaultsMode,
32
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
33
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
34
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
35
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
36
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
38
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
39
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
41
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
42
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
43
- }),
44
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
45
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
46
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
47
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
48
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
49
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
31
+ base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
32
+ base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
33
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
34
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
35
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
36
+ (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
38
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
39
+ requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
+ retryMode: config?.retryMode ??
41
+ (0, node_config_provider_1.loadConfig)({
42
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
43
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
44
+ }),
45
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
46
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
49
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
50
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
50
51
  };
51
52
  };
52
53
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
- var _a;
8
7
  const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
8
  return {
10
9
  ...browserDefaults,
11
10
  ...config,
12
11
  runtime: "react-native",
13
- sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256,
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
14
13
  };
15
14
  };
16
15
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpointResolver_1 = require("./endpoint/endpointResolver");
6
- const getRuntimeConfig = (config) => {
7
- var _a, _b, _c, _d, _e;
8
- return ({
9
- apiVersion: "2019-01-25",
10
- disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
11
- endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
12
- logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
13
- serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "App Mesh",
14
- urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
15
- });
16
- };
6
+ const getRuntimeConfig = (config) => ({
7
+ apiVersion: "2019-01-25",
8
+ disableHostPrefix: config?.disableHostPrefix ?? false,
9
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
10
+ logger: config?.logger ?? {},
11
+ serviceId: config?.serviceId ?? "App Mesh",
12
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
13
+ });
17
14
  exports.getRuntimeConfig = getRuntimeConfig;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-app-mesh",
3
3
  "description": "AWS SDK for JavaScript App Mesh Client for Node.js, Browser and React Native",
4
- "version": "3.200.0",
4
+ "version": "3.201.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,45 +19,45 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.200.0",
23
- "@aws-sdk/config-resolver": "3.200.0",
24
- "@aws-sdk/credential-provider-node": "3.200.0",
25
- "@aws-sdk/fetch-http-handler": "3.200.0",
26
- "@aws-sdk/hash-node": "3.200.0",
27
- "@aws-sdk/invalid-dependency": "3.200.0",
28
- "@aws-sdk/middleware-content-length": "3.200.0",
29
- "@aws-sdk/middleware-endpoint": "3.200.0",
30
- "@aws-sdk/middleware-host-header": "3.200.0",
31
- "@aws-sdk/middleware-logger": "3.200.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.200.0",
33
- "@aws-sdk/middleware-retry": "3.200.0",
34
- "@aws-sdk/middleware-serde": "3.200.0",
35
- "@aws-sdk/middleware-signing": "3.200.0",
36
- "@aws-sdk/middleware-stack": "3.200.0",
37
- "@aws-sdk/middleware-user-agent": "3.200.0",
38
- "@aws-sdk/node-config-provider": "3.200.0",
39
- "@aws-sdk/node-http-handler": "3.200.0",
40
- "@aws-sdk/protocol-http": "3.200.0",
41
- "@aws-sdk/smithy-client": "3.200.0",
42
- "@aws-sdk/types": "3.200.0",
43
- "@aws-sdk/url-parser": "3.200.0",
22
+ "@aws-sdk/client-sts": "3.201.0",
23
+ "@aws-sdk/config-resolver": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.201.0",
25
+ "@aws-sdk/fetch-http-handler": "3.201.0",
26
+ "@aws-sdk/hash-node": "3.201.0",
27
+ "@aws-sdk/invalid-dependency": "3.201.0",
28
+ "@aws-sdk/middleware-content-length": "3.201.0",
29
+ "@aws-sdk/middleware-endpoint": "3.201.0",
30
+ "@aws-sdk/middleware-host-header": "3.201.0",
31
+ "@aws-sdk/middleware-logger": "3.201.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
33
+ "@aws-sdk/middleware-retry": "3.201.0",
34
+ "@aws-sdk/middleware-serde": "3.201.0",
35
+ "@aws-sdk/middleware-signing": "3.201.0",
36
+ "@aws-sdk/middleware-stack": "3.201.0",
37
+ "@aws-sdk/middleware-user-agent": "3.201.0",
38
+ "@aws-sdk/node-config-provider": "3.201.0",
39
+ "@aws-sdk/node-http-handler": "3.201.0",
40
+ "@aws-sdk/protocol-http": "3.201.0",
41
+ "@aws-sdk/smithy-client": "3.201.0",
42
+ "@aws-sdk/types": "3.201.0",
43
+ "@aws-sdk/url-parser": "3.201.0",
44
44
  "@aws-sdk/util-base64-browser": "3.188.0",
45
- "@aws-sdk/util-base64-node": "3.188.0",
45
+ "@aws-sdk/util-base64-node": "3.201.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.188.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.200.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.200.0",
50
- "@aws-sdk/util-endpoints": "3.200.0",
51
- "@aws-sdk/util-user-agent-browser": "3.200.0",
52
- "@aws-sdk/util-user-agent-node": "3.200.0",
47
+ "@aws-sdk/util-body-length-node": "3.201.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
50
+ "@aws-sdk/util-endpoints": "3.201.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
52
+ "@aws-sdk/util-user-agent-node": "3.201.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
54
- "@aws-sdk/util-utf8-node": "3.199.0",
54
+ "@aws-sdk/util-utf8-node": "3.201.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
60
- "@tsconfig/recommended": "1.0.1",
60
+ "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^12.7.5",
62
62
  "@types/uuid": "^8.3.0",
63
63
  "concurrently": "7.0.0",
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "engines": {
75
- "node": ">=12.0.0"
75
+ "node": ">=14.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {