@aws-sdk/client-app-mesh 3.928.0 → 3.930.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 +2611 -1972
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AppMeshClient.js +2 -0
- package/dist-es/commands/CreateGatewayRouteCommand.js +3 -9
- package/dist-es/commands/CreateMeshCommand.js +3 -9
- package/dist-es/commands/CreateRouteCommand.js +3 -9
- package/dist-es/commands/CreateVirtualGatewayCommand.js +3 -9
- package/dist-es/commands/CreateVirtualNodeCommand.js +3 -9
- package/dist-es/commands/CreateVirtualRouterCommand.js +3 -9
- package/dist-es/commands/CreateVirtualServiceCommand.js +3 -9
- package/dist-es/commands/DeleteGatewayRouteCommand.js +3 -9
- package/dist-es/commands/DeleteMeshCommand.js +3 -9
- package/dist-es/commands/DeleteRouteCommand.js +3 -9
- package/dist-es/commands/DeleteVirtualGatewayCommand.js +3 -9
- package/dist-es/commands/DeleteVirtualNodeCommand.js +3 -9
- package/dist-es/commands/DeleteVirtualRouterCommand.js +3 -9
- package/dist-es/commands/DeleteVirtualServiceCommand.js +3 -9
- package/dist-es/commands/DescribeGatewayRouteCommand.js +3 -9
- package/dist-es/commands/DescribeMeshCommand.js +3 -9
- package/dist-es/commands/DescribeRouteCommand.js +3 -9
- package/dist-es/commands/DescribeVirtualGatewayCommand.js +3 -9
- package/dist-es/commands/DescribeVirtualNodeCommand.js +3 -9
- package/dist-es/commands/DescribeVirtualRouterCommand.js +3 -9
- package/dist-es/commands/DescribeVirtualServiceCommand.js +3 -9
- package/dist-es/commands/ListGatewayRoutesCommand.js +3 -9
- package/dist-es/commands/ListMeshesCommand.js +3 -9
- package/dist-es/commands/ListRoutesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListVirtualGatewaysCommand.js +3 -9
- package/dist-es/commands/ListVirtualNodesCommand.js +3 -9
- package/dist-es/commands/ListVirtualRoutersCommand.js +3 -9
- package/dist-es/commands/ListVirtualServicesCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateGatewayRouteCommand.js +3 -9
- package/dist-es/commands/UpdateMeshCommand.js +3 -9
- package/dist-es/commands/UpdateRouteCommand.js +3 -9
- package/dist-es/commands/UpdateVirtualGatewayCommand.js +3 -9
- package/dist-es/commands/UpdateVirtualNodeCommand.js +3 -9
- package/dist-es/commands/UpdateVirtualRouterCommand.js +3 -9
- package/dist-es/commands/UpdateVirtualServiceCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -230
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2515 -0
- package/dist-types/AppMeshClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +80 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +296 -0
- package/dist-types/ts3.4/AppMeshClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -41
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +301 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -1451
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -344
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -461
|
@@ -1,22 +1,4 @@
|
|
|
1
1
|
import { AppMeshServiceException as __BaseException } from "./AppMeshServiceException";
|
|
2
|
-
export var LoggingFormat;
|
|
3
|
-
(function (LoggingFormat) {
|
|
4
|
-
LoggingFormat.visit = (value, visitor) => {
|
|
5
|
-
if (value.text !== undefined)
|
|
6
|
-
return visitor.text(value.text);
|
|
7
|
-
if (value.json !== undefined)
|
|
8
|
-
return visitor.json(value.json);
|
|
9
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
10
|
-
};
|
|
11
|
-
})(LoggingFormat || (LoggingFormat = {}));
|
|
12
|
-
export var AccessLog;
|
|
13
|
-
(function (AccessLog) {
|
|
14
|
-
AccessLog.visit = (value, visitor) => {
|
|
15
|
-
if (value.file !== undefined)
|
|
16
|
-
return visitor.file(value.file);
|
|
17
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
18
|
-
};
|
|
19
|
-
})(AccessLog || (AccessLog = {}));
|
|
20
2
|
export class BadRequestException extends __BaseException {
|
|
21
3
|
name = "BadRequestException";
|
|
22
4
|
$fault = "client";
|
|
@@ -145,80 +127,16 @@ export class ResourceInUseException extends __BaseException {
|
|
|
145
127
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
146
128
|
}
|
|
147
129
|
}
|
|
148
|
-
export var VirtualGatewayClientTlsCertificate;
|
|
149
|
-
(function (VirtualGatewayClientTlsCertificate) {
|
|
150
|
-
VirtualGatewayClientTlsCertificate.visit = (value, visitor) => {
|
|
151
|
-
if (value.file !== undefined)
|
|
152
|
-
return visitor.file(value.file);
|
|
153
|
-
if (value.sds !== undefined)
|
|
154
|
-
return visitor.sds(value.sds);
|
|
155
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
156
|
-
};
|
|
157
|
-
})(VirtualGatewayClientTlsCertificate || (VirtualGatewayClientTlsCertificate = {}));
|
|
158
|
-
export var VirtualGatewayTlsValidationContextTrust;
|
|
159
|
-
(function (VirtualGatewayTlsValidationContextTrust) {
|
|
160
|
-
VirtualGatewayTlsValidationContextTrust.visit = (value, visitor) => {
|
|
161
|
-
if (value.acm !== undefined)
|
|
162
|
-
return visitor.acm(value.acm);
|
|
163
|
-
if (value.file !== undefined)
|
|
164
|
-
return visitor.file(value.file);
|
|
165
|
-
if (value.sds !== undefined)
|
|
166
|
-
return visitor.sds(value.sds);
|
|
167
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
168
|
-
};
|
|
169
|
-
})(VirtualGatewayTlsValidationContextTrust || (VirtualGatewayTlsValidationContextTrust = {}));
|
|
170
|
-
export var VirtualGatewayConnectionPool;
|
|
171
|
-
(function (VirtualGatewayConnectionPool) {
|
|
172
|
-
VirtualGatewayConnectionPool.visit = (value, visitor) => {
|
|
173
|
-
if (value.http !== undefined)
|
|
174
|
-
return visitor.http(value.http);
|
|
175
|
-
if (value.http2 !== undefined)
|
|
176
|
-
return visitor.http2(value.http2);
|
|
177
|
-
if (value.grpc !== undefined)
|
|
178
|
-
return visitor.grpc(value.grpc);
|
|
179
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
180
|
-
};
|
|
181
|
-
})(VirtualGatewayConnectionPool || (VirtualGatewayConnectionPool = {}));
|
|
182
130
|
export const VirtualGatewayPortProtocol = {
|
|
183
131
|
GRPC: "grpc",
|
|
184
132
|
HTTP: "http",
|
|
185
133
|
HTTP2: "http2",
|
|
186
134
|
};
|
|
187
|
-
export var VirtualGatewayListenerTlsCertificate;
|
|
188
|
-
(function (VirtualGatewayListenerTlsCertificate) {
|
|
189
|
-
VirtualGatewayListenerTlsCertificate.visit = (value, visitor) => {
|
|
190
|
-
if (value.acm !== undefined)
|
|
191
|
-
return visitor.acm(value.acm);
|
|
192
|
-
if (value.file !== undefined)
|
|
193
|
-
return visitor.file(value.file);
|
|
194
|
-
if (value.sds !== undefined)
|
|
195
|
-
return visitor.sds(value.sds);
|
|
196
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
197
|
-
};
|
|
198
|
-
})(VirtualGatewayListenerTlsCertificate || (VirtualGatewayListenerTlsCertificate = {}));
|
|
199
135
|
export const VirtualGatewayListenerTlsMode = {
|
|
200
136
|
DISABLED: "DISABLED",
|
|
201
137
|
PERMISSIVE: "PERMISSIVE",
|
|
202
138
|
STRICT: "STRICT",
|
|
203
139
|
};
|
|
204
|
-
export var VirtualGatewayListenerTlsValidationContextTrust;
|
|
205
|
-
(function (VirtualGatewayListenerTlsValidationContextTrust) {
|
|
206
|
-
VirtualGatewayListenerTlsValidationContextTrust.visit = (value, visitor) => {
|
|
207
|
-
if (value.file !== undefined)
|
|
208
|
-
return visitor.file(value.file);
|
|
209
|
-
if (value.sds !== undefined)
|
|
210
|
-
return visitor.sds(value.sds);
|
|
211
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
212
|
-
};
|
|
213
|
-
})(VirtualGatewayListenerTlsValidationContextTrust || (VirtualGatewayListenerTlsValidationContextTrust = {}));
|
|
214
|
-
export var VirtualGatewayAccessLog;
|
|
215
|
-
(function (VirtualGatewayAccessLog) {
|
|
216
|
-
VirtualGatewayAccessLog.visit = (value, visitor) => {
|
|
217
|
-
if (value.file !== undefined)
|
|
218
|
-
return visitor.file(value.file);
|
|
219
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
220
|
-
};
|
|
221
|
-
})(VirtualGatewayAccessLog || (VirtualGatewayAccessLog = {}));
|
|
222
140
|
export const VirtualGatewayStatusCode = {
|
|
223
141
|
ACTIVE: "ACTIVE",
|
|
224
142
|
DELETED: "DELETED",
|
|
@@ -228,38 +146,6 @@ export const DefaultGatewayRouteRewrite = {
|
|
|
228
146
|
DISABLED: "DISABLED",
|
|
229
147
|
ENABLED: "ENABLED",
|
|
230
148
|
};
|
|
231
|
-
export var GrpcMetadataMatchMethod;
|
|
232
|
-
(function (GrpcMetadataMatchMethod) {
|
|
233
|
-
GrpcMetadataMatchMethod.visit = (value, visitor) => {
|
|
234
|
-
if (value.exact !== undefined)
|
|
235
|
-
return visitor.exact(value.exact);
|
|
236
|
-
if (value.regex !== undefined)
|
|
237
|
-
return visitor.regex(value.regex);
|
|
238
|
-
if (value.range !== undefined)
|
|
239
|
-
return visitor.range(value.range);
|
|
240
|
-
if (value.prefix !== undefined)
|
|
241
|
-
return visitor.prefix(value.prefix);
|
|
242
|
-
if (value.suffix !== undefined)
|
|
243
|
-
return visitor.suffix(value.suffix);
|
|
244
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
245
|
-
};
|
|
246
|
-
})(GrpcMetadataMatchMethod || (GrpcMetadataMatchMethod = {}));
|
|
247
|
-
export var HeaderMatchMethod;
|
|
248
|
-
(function (HeaderMatchMethod) {
|
|
249
|
-
HeaderMatchMethod.visit = (value, visitor) => {
|
|
250
|
-
if (value.exact !== undefined)
|
|
251
|
-
return visitor.exact(value.exact);
|
|
252
|
-
if (value.regex !== undefined)
|
|
253
|
-
return visitor.regex(value.regex);
|
|
254
|
-
if (value.range !== undefined)
|
|
255
|
-
return visitor.range(value.range);
|
|
256
|
-
if (value.prefix !== undefined)
|
|
257
|
-
return visitor.prefix(value.prefix);
|
|
258
|
-
if (value.suffix !== undefined)
|
|
259
|
-
return visitor.suffix(value.suffix);
|
|
260
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
261
|
-
};
|
|
262
|
-
})(HeaderMatchMethod || (HeaderMatchMethod = {}));
|
|
263
149
|
export const HttpMethod = {
|
|
264
150
|
CONNECT: "CONNECT",
|
|
265
151
|
DELETE: "DELETE",
|
|
@@ -276,50 +162,6 @@ export const GatewayRouteStatusCode = {
|
|
|
276
162
|
DELETED: "DELETED",
|
|
277
163
|
INACTIVE: "INACTIVE",
|
|
278
164
|
};
|
|
279
|
-
export var ClientTlsCertificate;
|
|
280
|
-
(function (ClientTlsCertificate) {
|
|
281
|
-
ClientTlsCertificate.visit = (value, visitor) => {
|
|
282
|
-
if (value.file !== undefined)
|
|
283
|
-
return visitor.file(value.file);
|
|
284
|
-
if (value.sds !== undefined)
|
|
285
|
-
return visitor.sds(value.sds);
|
|
286
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
287
|
-
};
|
|
288
|
-
})(ClientTlsCertificate || (ClientTlsCertificate = {}));
|
|
289
|
-
export var TlsValidationContextTrust;
|
|
290
|
-
(function (TlsValidationContextTrust) {
|
|
291
|
-
TlsValidationContextTrust.visit = (value, visitor) => {
|
|
292
|
-
if (value.acm !== undefined)
|
|
293
|
-
return visitor.acm(value.acm);
|
|
294
|
-
if (value.file !== undefined)
|
|
295
|
-
return visitor.file(value.file);
|
|
296
|
-
if (value.sds !== undefined)
|
|
297
|
-
return visitor.sds(value.sds);
|
|
298
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
299
|
-
};
|
|
300
|
-
})(TlsValidationContextTrust || (TlsValidationContextTrust = {}));
|
|
301
|
-
export var Backend;
|
|
302
|
-
(function (Backend) {
|
|
303
|
-
Backend.visit = (value, visitor) => {
|
|
304
|
-
if (value.virtualService !== undefined)
|
|
305
|
-
return visitor.virtualService(value.virtualService);
|
|
306
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
307
|
-
};
|
|
308
|
-
})(Backend || (Backend = {}));
|
|
309
|
-
export var VirtualNodeConnectionPool;
|
|
310
|
-
(function (VirtualNodeConnectionPool) {
|
|
311
|
-
VirtualNodeConnectionPool.visit = (value, visitor) => {
|
|
312
|
-
if (value.tcp !== undefined)
|
|
313
|
-
return visitor.tcp(value.tcp);
|
|
314
|
-
if (value.http !== undefined)
|
|
315
|
-
return visitor.http(value.http);
|
|
316
|
-
if (value.http2 !== undefined)
|
|
317
|
-
return visitor.http2(value.http2);
|
|
318
|
-
if (value.grpc !== undefined)
|
|
319
|
-
return visitor.grpc(value.grpc);
|
|
320
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
321
|
-
};
|
|
322
|
-
})(VirtualNodeConnectionPool || (VirtualNodeConnectionPool = {}));
|
|
323
165
|
export const PortProtocol = {
|
|
324
166
|
GRPC: "grpc",
|
|
325
167
|
HTTP: "http",
|
|
@@ -330,61 +172,15 @@ export const DurationUnit = {
|
|
|
330
172
|
MS: "ms",
|
|
331
173
|
S: "s",
|
|
332
174
|
};
|
|
333
|
-
export var ListenerTimeout;
|
|
334
|
-
(function (ListenerTimeout) {
|
|
335
|
-
ListenerTimeout.visit = (value, visitor) => {
|
|
336
|
-
if (value.tcp !== undefined)
|
|
337
|
-
return visitor.tcp(value.tcp);
|
|
338
|
-
if (value.http !== undefined)
|
|
339
|
-
return visitor.http(value.http);
|
|
340
|
-
if (value.http2 !== undefined)
|
|
341
|
-
return visitor.http2(value.http2);
|
|
342
|
-
if (value.grpc !== undefined)
|
|
343
|
-
return visitor.grpc(value.grpc);
|
|
344
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
345
|
-
};
|
|
346
|
-
})(ListenerTimeout || (ListenerTimeout = {}));
|
|
347
|
-
export var ListenerTlsCertificate;
|
|
348
|
-
(function (ListenerTlsCertificate) {
|
|
349
|
-
ListenerTlsCertificate.visit = (value, visitor) => {
|
|
350
|
-
if (value.acm !== undefined)
|
|
351
|
-
return visitor.acm(value.acm);
|
|
352
|
-
if (value.file !== undefined)
|
|
353
|
-
return visitor.file(value.file);
|
|
354
|
-
if (value.sds !== undefined)
|
|
355
|
-
return visitor.sds(value.sds);
|
|
356
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
357
|
-
};
|
|
358
|
-
})(ListenerTlsCertificate || (ListenerTlsCertificate = {}));
|
|
359
175
|
export const ListenerTlsMode = {
|
|
360
176
|
DISABLED: "DISABLED",
|
|
361
177
|
PERMISSIVE: "PERMISSIVE",
|
|
362
178
|
STRICT: "STRICT",
|
|
363
179
|
};
|
|
364
|
-
export var ListenerTlsValidationContextTrust;
|
|
365
|
-
(function (ListenerTlsValidationContextTrust) {
|
|
366
|
-
ListenerTlsValidationContextTrust.visit = (value, visitor) => {
|
|
367
|
-
if (value.file !== undefined)
|
|
368
|
-
return visitor.file(value.file);
|
|
369
|
-
if (value.sds !== undefined)
|
|
370
|
-
return visitor.sds(value.sds);
|
|
371
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
372
|
-
};
|
|
373
|
-
})(ListenerTlsValidationContextTrust || (ListenerTlsValidationContextTrust = {}));
|
|
374
180
|
export const DnsResponseType = {
|
|
375
181
|
ENDPOINTS: "ENDPOINTS",
|
|
376
182
|
LOADBALANCER: "LOADBALANCER",
|
|
377
183
|
};
|
|
378
|
-
export var ServiceDiscovery;
|
|
379
|
-
(function (ServiceDiscovery) {
|
|
380
|
-
ServiceDiscovery.visit = (value, visitor) => {
|
|
381
|
-
if (value.dns !== undefined)
|
|
382
|
-
return visitor.dns(value.dns);
|
|
383
|
-
if (value.awsCloudMap !== undefined)
|
|
384
|
-
return visitor.awsCloudMap(value.awsCloudMap);
|
|
385
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
386
|
-
};
|
|
387
|
-
})(ServiceDiscovery || (ServiceDiscovery = {}));
|
|
388
184
|
export const VirtualNodeStatusCode = {
|
|
389
185
|
ACTIVE: "ACTIVE",
|
|
390
186
|
DELETED: "DELETED",
|
|
@@ -395,22 +191,6 @@ export const VirtualRouterStatusCode = {
|
|
|
395
191
|
DELETED: "DELETED",
|
|
396
192
|
INACTIVE: "INACTIVE",
|
|
397
193
|
};
|
|
398
|
-
export var GrpcRouteMetadataMatchMethod;
|
|
399
|
-
(function (GrpcRouteMetadataMatchMethod) {
|
|
400
|
-
GrpcRouteMetadataMatchMethod.visit = (value, visitor) => {
|
|
401
|
-
if (value.exact !== undefined)
|
|
402
|
-
return visitor.exact(value.exact);
|
|
403
|
-
if (value.regex !== undefined)
|
|
404
|
-
return visitor.regex(value.regex);
|
|
405
|
-
if (value.range !== undefined)
|
|
406
|
-
return visitor.range(value.range);
|
|
407
|
-
if (value.prefix !== undefined)
|
|
408
|
-
return visitor.prefix(value.prefix);
|
|
409
|
-
if (value.suffix !== undefined)
|
|
410
|
-
return visitor.suffix(value.suffix);
|
|
411
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
412
|
-
};
|
|
413
|
-
})(GrpcRouteMetadataMatchMethod || (GrpcRouteMetadataMatchMethod = {}));
|
|
414
194
|
export const GrpcRetryPolicyEvent = {
|
|
415
195
|
CANCELLED: "cancelled",
|
|
416
196
|
DEADLINE_EXCEEDED: "deadline-exceeded",
|
|
@@ -430,16 +210,6 @@ export const RouteStatusCode = {
|
|
|
430
210
|
DELETED: "DELETED",
|
|
431
211
|
INACTIVE: "INACTIVE",
|
|
432
212
|
};
|
|
433
|
-
export var VirtualServiceProvider;
|
|
434
|
-
(function (VirtualServiceProvider) {
|
|
435
|
-
VirtualServiceProvider.visit = (value, visitor) => {
|
|
436
|
-
if (value.virtualNode !== undefined)
|
|
437
|
-
return visitor.virtualNode(value.virtualNode);
|
|
438
|
-
if (value.virtualRouter !== undefined)
|
|
439
|
-
return visitor.virtualRouter(value.virtualRouter);
|
|
440
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
441
|
-
};
|
|
442
|
-
})(VirtualServiceProvider || (VirtualServiceProvider = {}));
|
|
443
213
|
export const VirtualServiceStatusCode = {
|
|
444
214
|
ACTIVE: "ACTIVE",
|
|
445
215
|
DELETED: "DELETED",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.appmesh" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "App Mesh",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|