@aws-sdk/client-emr-containers 3.202.0 → 3.204.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/EMRContainers.js +60 -0
- package/dist-cjs/commands/CreateJobTemplateCommand.js +46 -0
- package/dist-cjs/commands/DeleteJobTemplateCommand.js +46 -0
- package/dist-cjs/commands/DescribeJobTemplateCommand.js +46 -0
- package/dist-cjs/commands/ListJobTemplatesCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +102 -26
- package/dist-cjs/pagination/ListJobTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +424 -1
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/EMRContainers.js +60 -0
- package/dist-es/commands/CreateJobTemplateCommand.js +42 -0
- package/dist-es/commands/DeleteJobTemplateCommand.js +42 -0
- package/dist-es/commands/DescribeJobTemplateCommand.js +42 -0
- package/dist-es/commands/ListJobTemplatesCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +82 -21
- package/dist-es/pagination/ListJobTemplatesPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +415 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/EMRContainers.d.ts +51 -10
- package/dist-types/EMRContainersClient.d.ts +6 -2
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +40 -0
- package/dist-types/commands/CreateManagedEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +40 -0
- package/dist-types/commands/DeleteManagedEndpointCommand.d.ts +3 -2
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +40 -0
- package/dist-types/commands/DescribeManagedEndpointCommand.d.ts +3 -3
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +40 -0
- package/dist-types/commands/ListManagedEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +382 -69
- package/dist-types/pagination/ListJobTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/EMRContainers.d.ts +68 -0
- package/dist-types/ts3.4/EMRContainersClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateJobTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteJobTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeJobTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +152 -29
- package/dist-types/ts3.4/pagination/ListJobTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
- package/CHANGELOG.md +0 -1266
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartJobRunCommand = exports.deserializeAws_restJson1ListVirtualClustersCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListManagedEndpointsCommand = exports.deserializeAws_restJson1ListJobRunsCommand = exports.deserializeAws_restJson1DescribeVirtualClusterCommand = exports.deserializeAws_restJson1DescribeManagedEndpointCommand = exports.deserializeAws_restJson1DescribeJobRunCommand = exports.deserializeAws_restJson1DeleteVirtualClusterCommand = exports.deserializeAws_restJson1DeleteManagedEndpointCommand = exports.deserializeAws_restJson1CreateVirtualClusterCommand = exports.deserializeAws_restJson1CreateManagedEndpointCommand = exports.deserializeAws_restJson1CancelJobRunCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartJobRunCommand = exports.serializeAws_restJson1ListVirtualClustersCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListManagedEndpointsCommand = exports.serializeAws_restJson1ListJobRunsCommand = exports.serializeAws_restJson1DescribeVirtualClusterCommand = exports.serializeAws_restJson1DescribeManagedEndpointCommand = exports.serializeAws_restJson1DescribeJobRunCommand = exports.serializeAws_restJson1DeleteVirtualClusterCommand = exports.serializeAws_restJson1DeleteManagedEndpointCommand = exports.serializeAws_restJson1CreateVirtualClusterCommand = exports.serializeAws_restJson1CreateManagedEndpointCommand = exports.serializeAws_restJson1CancelJobRunCommand = void 0;
|
|
3
|
+
exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartJobRunCommand = exports.deserializeAws_restJson1ListVirtualClustersCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListManagedEndpointsCommand = exports.deserializeAws_restJson1ListJobTemplatesCommand = exports.deserializeAws_restJson1ListJobRunsCommand = exports.deserializeAws_restJson1DescribeVirtualClusterCommand = exports.deserializeAws_restJson1DescribeManagedEndpointCommand = exports.deserializeAws_restJson1DescribeJobTemplateCommand = exports.deserializeAws_restJson1DescribeJobRunCommand = exports.deserializeAws_restJson1DeleteVirtualClusterCommand = exports.deserializeAws_restJson1DeleteManagedEndpointCommand = exports.deserializeAws_restJson1DeleteJobTemplateCommand = exports.deserializeAws_restJson1CreateVirtualClusterCommand = exports.deserializeAws_restJson1CreateManagedEndpointCommand = exports.deserializeAws_restJson1CreateJobTemplateCommand = exports.deserializeAws_restJson1CancelJobRunCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartJobRunCommand = exports.serializeAws_restJson1ListVirtualClustersCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListManagedEndpointsCommand = exports.serializeAws_restJson1ListJobTemplatesCommand = exports.serializeAws_restJson1ListJobRunsCommand = exports.serializeAws_restJson1DescribeVirtualClusterCommand = exports.serializeAws_restJson1DescribeManagedEndpointCommand = exports.serializeAws_restJson1DescribeJobTemplateCommand = exports.serializeAws_restJson1DescribeJobRunCommand = exports.serializeAws_restJson1DeleteVirtualClusterCommand = exports.serializeAws_restJson1DeleteManagedEndpointCommand = exports.serializeAws_restJson1DeleteJobTemplateCommand = exports.serializeAws_restJson1CreateVirtualClusterCommand = exports.serializeAws_restJson1CreateManagedEndpointCommand = exports.serializeAws_restJson1CreateJobTemplateCommand = exports.serializeAws_restJson1CancelJobRunCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
@@ -25,6 +25,33 @@ const serializeAws_restJson1CancelJobRunCommand = async (input, context) => {
|
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
27
|
exports.serializeAws_restJson1CancelJobRunCommand = serializeAws_restJson1CancelJobRunCommand;
|
|
28
|
+
const serializeAws_restJson1CreateJobTemplateCommand = async (input, context) => {
|
|
29
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
30
|
+
const headers = {
|
|
31
|
+
"content-type": "application/json",
|
|
32
|
+
};
|
|
33
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates";
|
|
34
|
+
let body;
|
|
35
|
+
body = JSON.stringify({
|
|
36
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
37
|
+
...(input.jobTemplateData != null && {
|
|
38
|
+
jobTemplateData: serializeAws_restJson1JobTemplateData(input.jobTemplateData, context),
|
|
39
|
+
}),
|
|
40
|
+
...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
|
|
41
|
+
...(input.name != null && { name: input.name }),
|
|
42
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
43
|
+
});
|
|
44
|
+
return new protocol_http_1.HttpRequest({
|
|
45
|
+
protocol,
|
|
46
|
+
hostname,
|
|
47
|
+
port,
|
|
48
|
+
method: "POST",
|
|
49
|
+
headers,
|
|
50
|
+
path: resolvedPath,
|
|
51
|
+
body,
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
exports.serializeAws_restJson1CreateJobTemplateCommand = serializeAws_restJson1CreateJobTemplateCommand;
|
|
28
55
|
const serializeAws_restJson1CreateManagedEndpointCommand = async (input, context) => {
|
|
29
56
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
30
57
|
const headers = {
|
|
@@ -83,6 +110,23 @@ const serializeAws_restJson1CreateVirtualClusterCommand = async (input, context)
|
|
|
83
110
|
});
|
|
84
111
|
};
|
|
85
112
|
exports.serializeAws_restJson1CreateVirtualClusterCommand = serializeAws_restJson1CreateVirtualClusterCommand;
|
|
113
|
+
const serializeAws_restJson1DeleteJobTemplateCommand = async (input, context) => {
|
|
114
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
115
|
+
const headers = {};
|
|
116
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates/{id}";
|
|
117
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
118
|
+
let body;
|
|
119
|
+
return new protocol_http_1.HttpRequest({
|
|
120
|
+
protocol,
|
|
121
|
+
hostname,
|
|
122
|
+
port,
|
|
123
|
+
method: "DELETE",
|
|
124
|
+
headers,
|
|
125
|
+
path: resolvedPath,
|
|
126
|
+
body,
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
exports.serializeAws_restJson1DeleteJobTemplateCommand = serializeAws_restJson1DeleteJobTemplateCommand;
|
|
86
130
|
const serializeAws_restJson1DeleteManagedEndpointCommand = async (input, context) => {
|
|
87
131
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
88
132
|
const headers = {};
|
|
@@ -138,6 +182,23 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
|
|
|
138
182
|
});
|
|
139
183
|
};
|
|
140
184
|
exports.serializeAws_restJson1DescribeJobRunCommand = serializeAws_restJson1DescribeJobRunCommand;
|
|
185
|
+
const serializeAws_restJson1DescribeJobTemplateCommand = async (input, context) => {
|
|
186
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
187
|
+
const headers = {};
|
|
188
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates/{id}";
|
|
189
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
190
|
+
let body;
|
|
191
|
+
return new protocol_http_1.HttpRequest({
|
|
192
|
+
protocol,
|
|
193
|
+
hostname,
|
|
194
|
+
port,
|
|
195
|
+
method: "GET",
|
|
196
|
+
headers,
|
|
197
|
+
path: resolvedPath,
|
|
198
|
+
body,
|
|
199
|
+
});
|
|
200
|
+
};
|
|
201
|
+
exports.serializeAws_restJson1DescribeJobTemplateCommand = serializeAws_restJson1DescribeJobTemplateCommand;
|
|
141
202
|
const serializeAws_restJson1DescribeManagedEndpointCommand = async (input, context) => {
|
|
142
203
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
143
204
|
const headers = {};
|
|
@@ -207,6 +268,35 @@ const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
|
|
|
207
268
|
});
|
|
208
269
|
};
|
|
209
270
|
exports.serializeAws_restJson1ListJobRunsCommand = serializeAws_restJson1ListJobRunsCommand;
|
|
271
|
+
const serializeAws_restJson1ListJobTemplatesCommand = async (input, context) => {
|
|
272
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
273
|
+
const headers = {};
|
|
274
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobtemplates";
|
|
275
|
+
const query = map({
|
|
276
|
+
createdAfter: [
|
|
277
|
+
() => input.createdAfter !== void 0,
|
|
278
|
+
() => (input.createdAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
279
|
+
],
|
|
280
|
+
createdBefore: [
|
|
281
|
+
() => input.createdBefore !== void 0,
|
|
282
|
+
() => (input.createdBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
283
|
+
],
|
|
284
|
+
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
285
|
+
nextToken: [, input.nextToken],
|
|
286
|
+
});
|
|
287
|
+
let body;
|
|
288
|
+
return new protocol_http_1.HttpRequest({
|
|
289
|
+
protocol,
|
|
290
|
+
hostname,
|
|
291
|
+
port,
|
|
292
|
+
method: "GET",
|
|
293
|
+
headers,
|
|
294
|
+
path: resolvedPath,
|
|
295
|
+
query,
|
|
296
|
+
body,
|
|
297
|
+
});
|
|
298
|
+
};
|
|
299
|
+
exports.serializeAws_restJson1ListJobTemplatesCommand = serializeAws_restJson1ListJobTemplatesCommand;
|
|
210
300
|
const serializeAws_restJson1ListManagedEndpointsCommand = async (input, context) => {
|
|
211
301
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
212
302
|
const headers = {};
|
|
@@ -305,6 +395,10 @@ const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
|
|
|
305
395
|
}),
|
|
306
396
|
...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
|
|
307
397
|
...(input.jobDriver != null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) }),
|
|
398
|
+
...(input.jobTemplateId != null && { jobTemplateId: input.jobTemplateId }),
|
|
399
|
+
...(input.jobTemplateParameters != null && {
|
|
400
|
+
jobTemplateParameters: serializeAws_restJson1TemplateParameterInputMap(input.jobTemplateParameters, context),
|
|
401
|
+
}),
|
|
308
402
|
...(input.name != null && { name: input.name }),
|
|
309
403
|
...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
|
|
310
404
|
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
@@ -403,6 +497,55 @@ const deserializeAws_restJson1CancelJobRunCommandError = async (output, context)
|
|
|
403
497
|
});
|
|
404
498
|
}
|
|
405
499
|
};
|
|
500
|
+
const deserializeAws_restJson1CreateJobTemplateCommand = async (output, context) => {
|
|
501
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
502
|
+
return deserializeAws_restJson1CreateJobTemplateCommandError(output, context);
|
|
503
|
+
}
|
|
504
|
+
const contents = map({
|
|
505
|
+
$metadata: deserializeMetadata(output),
|
|
506
|
+
});
|
|
507
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
508
|
+
if (data.arn != null) {
|
|
509
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
510
|
+
}
|
|
511
|
+
if (data.createdAt != null) {
|
|
512
|
+
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
|
|
513
|
+
}
|
|
514
|
+
if (data.id != null) {
|
|
515
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
516
|
+
}
|
|
517
|
+
if (data.name != null) {
|
|
518
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
519
|
+
}
|
|
520
|
+
return contents;
|
|
521
|
+
};
|
|
522
|
+
exports.deserializeAws_restJson1CreateJobTemplateCommand = deserializeAws_restJson1CreateJobTemplateCommand;
|
|
523
|
+
const deserializeAws_restJson1CreateJobTemplateCommandError = async (output, context) => {
|
|
524
|
+
const parsedOutput = {
|
|
525
|
+
...output,
|
|
526
|
+
body: await parseErrorBody(output.body, context),
|
|
527
|
+
};
|
|
528
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
529
|
+
switch (errorCode) {
|
|
530
|
+
case "InternalServerException":
|
|
531
|
+
case "com.amazonaws.emrcontainers#InternalServerException":
|
|
532
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
533
|
+
case "ResourceNotFoundException":
|
|
534
|
+
case "com.amazonaws.emrcontainers#ResourceNotFoundException":
|
|
535
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
536
|
+
case "ValidationException":
|
|
537
|
+
case "com.amazonaws.emrcontainers#ValidationException":
|
|
538
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
539
|
+
default:
|
|
540
|
+
const parsedBody = parsedOutput.body;
|
|
541
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
542
|
+
output,
|
|
543
|
+
parsedBody,
|
|
544
|
+
exceptionCtor: EMRContainersServiceException_1.EMRContainersServiceException,
|
|
545
|
+
errorCode,
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
};
|
|
406
549
|
const deserializeAws_restJson1CreateManagedEndpointCommand = async (output, context) => {
|
|
407
550
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
408
551
|
return deserializeAws_restJson1CreateManagedEndpointCommandError(output, context);
|
|
@@ -498,6 +641,43 @@ const deserializeAws_restJson1CreateVirtualClusterCommandError = async (output,
|
|
|
498
641
|
});
|
|
499
642
|
}
|
|
500
643
|
};
|
|
644
|
+
const deserializeAws_restJson1DeleteJobTemplateCommand = async (output, context) => {
|
|
645
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
646
|
+
return deserializeAws_restJson1DeleteJobTemplateCommandError(output, context);
|
|
647
|
+
}
|
|
648
|
+
const contents = map({
|
|
649
|
+
$metadata: deserializeMetadata(output),
|
|
650
|
+
});
|
|
651
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
652
|
+
if (data.id != null) {
|
|
653
|
+
contents.id = (0, smithy_client_1.expectString)(data.id);
|
|
654
|
+
}
|
|
655
|
+
return contents;
|
|
656
|
+
};
|
|
657
|
+
exports.deserializeAws_restJson1DeleteJobTemplateCommand = deserializeAws_restJson1DeleteJobTemplateCommand;
|
|
658
|
+
const deserializeAws_restJson1DeleteJobTemplateCommandError = async (output, context) => {
|
|
659
|
+
const parsedOutput = {
|
|
660
|
+
...output,
|
|
661
|
+
body: await parseErrorBody(output.body, context),
|
|
662
|
+
};
|
|
663
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
664
|
+
switch (errorCode) {
|
|
665
|
+
case "InternalServerException":
|
|
666
|
+
case "com.amazonaws.emrcontainers#InternalServerException":
|
|
667
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
668
|
+
case "ValidationException":
|
|
669
|
+
case "com.amazonaws.emrcontainers#ValidationException":
|
|
670
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
671
|
+
default:
|
|
672
|
+
const parsedBody = parsedOutput.body;
|
|
673
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
674
|
+
output,
|
|
675
|
+
parsedBody,
|
|
676
|
+
exceptionCtor: EMRContainersServiceException_1.EMRContainersServiceException,
|
|
677
|
+
errorCode,
|
|
678
|
+
});
|
|
679
|
+
}
|
|
680
|
+
};
|
|
501
681
|
const deserializeAws_restJson1DeleteManagedEndpointCommand = async (output, context) => {
|
|
502
682
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
503
683
|
return deserializeAws_restJson1DeleteManagedEndpointCommandError(output, context);
|
|
@@ -615,6 +795,46 @@ const deserializeAws_restJson1DescribeJobRunCommandError = async (output, contex
|
|
|
615
795
|
});
|
|
616
796
|
}
|
|
617
797
|
};
|
|
798
|
+
const deserializeAws_restJson1DescribeJobTemplateCommand = async (output, context) => {
|
|
799
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
800
|
+
return deserializeAws_restJson1DescribeJobTemplateCommandError(output, context);
|
|
801
|
+
}
|
|
802
|
+
const contents = map({
|
|
803
|
+
$metadata: deserializeMetadata(output),
|
|
804
|
+
});
|
|
805
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
806
|
+
if (data.jobTemplate != null) {
|
|
807
|
+
contents.jobTemplate = deserializeAws_restJson1JobTemplate(data.jobTemplate, context);
|
|
808
|
+
}
|
|
809
|
+
return contents;
|
|
810
|
+
};
|
|
811
|
+
exports.deserializeAws_restJson1DescribeJobTemplateCommand = deserializeAws_restJson1DescribeJobTemplateCommand;
|
|
812
|
+
const deserializeAws_restJson1DescribeJobTemplateCommandError = async (output, context) => {
|
|
813
|
+
const parsedOutput = {
|
|
814
|
+
...output,
|
|
815
|
+
body: await parseErrorBody(output.body, context),
|
|
816
|
+
};
|
|
817
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
818
|
+
switch (errorCode) {
|
|
819
|
+
case "InternalServerException":
|
|
820
|
+
case "com.amazonaws.emrcontainers#InternalServerException":
|
|
821
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
822
|
+
case "ResourceNotFoundException":
|
|
823
|
+
case "com.amazonaws.emrcontainers#ResourceNotFoundException":
|
|
824
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
825
|
+
case "ValidationException":
|
|
826
|
+
case "com.amazonaws.emrcontainers#ValidationException":
|
|
827
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
828
|
+
default:
|
|
829
|
+
const parsedBody = parsedOutput.body;
|
|
830
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
831
|
+
output,
|
|
832
|
+
parsedBody,
|
|
833
|
+
exceptionCtor: EMRContainersServiceException_1.EMRContainersServiceException,
|
|
834
|
+
errorCode,
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
};
|
|
618
838
|
const deserializeAws_restJson1DescribeManagedEndpointCommand = async (output, context) => {
|
|
619
839
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
620
840
|
return deserializeAws_restJson1DescribeManagedEndpointCommandError(output, context);
|
|
@@ -735,6 +955,46 @@ const deserializeAws_restJson1ListJobRunsCommandError = async (output, context)
|
|
|
735
955
|
});
|
|
736
956
|
}
|
|
737
957
|
};
|
|
958
|
+
const deserializeAws_restJson1ListJobTemplatesCommand = async (output, context) => {
|
|
959
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
960
|
+
return deserializeAws_restJson1ListJobTemplatesCommandError(output, context);
|
|
961
|
+
}
|
|
962
|
+
const contents = map({
|
|
963
|
+
$metadata: deserializeMetadata(output),
|
|
964
|
+
});
|
|
965
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
966
|
+
if (data.nextToken != null) {
|
|
967
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
968
|
+
}
|
|
969
|
+
if (data.templates != null) {
|
|
970
|
+
contents.templates = deserializeAws_restJson1JobTemplates(data.templates, context);
|
|
971
|
+
}
|
|
972
|
+
return contents;
|
|
973
|
+
};
|
|
974
|
+
exports.deserializeAws_restJson1ListJobTemplatesCommand = deserializeAws_restJson1ListJobTemplatesCommand;
|
|
975
|
+
const deserializeAws_restJson1ListJobTemplatesCommandError = async (output, context) => {
|
|
976
|
+
const parsedOutput = {
|
|
977
|
+
...output,
|
|
978
|
+
body: await parseErrorBody(output.body, context),
|
|
979
|
+
};
|
|
980
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
981
|
+
switch (errorCode) {
|
|
982
|
+
case "InternalServerException":
|
|
983
|
+
case "com.amazonaws.emrcontainers#InternalServerException":
|
|
984
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
985
|
+
case "ValidationException":
|
|
986
|
+
case "com.amazonaws.emrcontainers#ValidationException":
|
|
987
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
988
|
+
default:
|
|
989
|
+
const parsedBody = parsedOutput.body;
|
|
990
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
991
|
+
output,
|
|
992
|
+
parsedBody,
|
|
993
|
+
exceptionCtor: EMRContainersServiceException_1.EMRContainersServiceException,
|
|
994
|
+
errorCode,
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
};
|
|
738
998
|
const deserializeAws_restJson1ListManagedEndpointsCommand = async (output, context) => {
|
|
739
999
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
740
1000
|
return deserializeAws_restJson1ListManagedEndpointsCommandError(output, context);
|
|
@@ -1084,6 +1344,20 @@ const serializeAws_restJson1JobDriver = (input, context) => {
|
|
|
1084
1344
|
}),
|
|
1085
1345
|
};
|
|
1086
1346
|
};
|
|
1347
|
+
const serializeAws_restJson1JobTemplateData = (input, context) => {
|
|
1348
|
+
return {
|
|
1349
|
+
...(input.configurationOverrides != null && {
|
|
1350
|
+
configurationOverrides: serializeAws_restJson1ParametricConfigurationOverrides(input.configurationOverrides, context),
|
|
1351
|
+
}),
|
|
1352
|
+
...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
|
|
1353
|
+
...(input.jobDriver != null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) }),
|
|
1354
|
+
...(input.jobTags != null && { jobTags: serializeAws_restJson1TagMap(input.jobTags, context) }),
|
|
1355
|
+
...(input.parameterConfiguration != null && {
|
|
1356
|
+
parameterConfiguration: serializeAws_restJson1TemplateParameterConfigurationMap(input.parameterConfiguration, context),
|
|
1357
|
+
}),
|
|
1358
|
+
...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1087
1361
|
const serializeAws_restJson1MonitoringConfiguration = (input, context) => {
|
|
1088
1362
|
return {
|
|
1089
1363
|
...(input.cloudWatchMonitoringConfiguration != null && {
|
|
@@ -1095,6 +1369,38 @@ const serializeAws_restJson1MonitoringConfiguration = (input, context) => {
|
|
|
1095
1369
|
}),
|
|
1096
1370
|
};
|
|
1097
1371
|
};
|
|
1372
|
+
const serializeAws_restJson1ParametricCloudWatchMonitoringConfiguration = (input, context) => {
|
|
1373
|
+
return {
|
|
1374
|
+
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
1375
|
+
...(input.logStreamNamePrefix != null && { logStreamNamePrefix: input.logStreamNamePrefix }),
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
const serializeAws_restJson1ParametricConfigurationOverrides = (input, context) => {
|
|
1379
|
+
return {
|
|
1380
|
+
...(input.applicationConfiguration != null && {
|
|
1381
|
+
applicationConfiguration: serializeAws_restJson1ConfigurationList(input.applicationConfiguration, context),
|
|
1382
|
+
}),
|
|
1383
|
+
...(input.monitoringConfiguration != null && {
|
|
1384
|
+
monitoringConfiguration: serializeAws_restJson1ParametricMonitoringConfiguration(input.monitoringConfiguration, context),
|
|
1385
|
+
}),
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
const serializeAws_restJson1ParametricMonitoringConfiguration = (input, context) => {
|
|
1389
|
+
return {
|
|
1390
|
+
...(input.cloudWatchMonitoringConfiguration != null && {
|
|
1391
|
+
cloudWatchMonitoringConfiguration: serializeAws_restJson1ParametricCloudWatchMonitoringConfiguration(input.cloudWatchMonitoringConfiguration, context),
|
|
1392
|
+
}),
|
|
1393
|
+
...(input.persistentAppUI != null && { persistentAppUI: input.persistentAppUI }),
|
|
1394
|
+
...(input.s3MonitoringConfiguration != null && {
|
|
1395
|
+
s3MonitoringConfiguration: serializeAws_restJson1ParametricS3MonitoringConfiguration(input.s3MonitoringConfiguration, context),
|
|
1396
|
+
}),
|
|
1397
|
+
};
|
|
1398
|
+
};
|
|
1399
|
+
const serializeAws_restJson1ParametricS3MonitoringConfiguration = (input, context) => {
|
|
1400
|
+
return {
|
|
1401
|
+
...(input.logUri != null && { logUri: input.logUri }),
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1098
1404
|
const serializeAws_restJson1S3MonitoringConfiguration = (input, context) => {
|
|
1099
1405
|
return {
|
|
1100
1406
|
...(input.logUri != null && { logUri: input.logUri }),
|
|
@@ -1137,6 +1443,34 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
1137
1443
|
};
|
|
1138
1444
|
}, {});
|
|
1139
1445
|
};
|
|
1446
|
+
const serializeAws_restJson1TemplateParameterConfiguration = (input, context) => {
|
|
1447
|
+
return {
|
|
1448
|
+
...(input.defaultValue != null && { defaultValue: input.defaultValue }),
|
|
1449
|
+
...(input.type != null && { type: input.type }),
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
const serializeAws_restJson1TemplateParameterConfigurationMap = (input, context) => {
|
|
1453
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1454
|
+
if (value === null) {
|
|
1455
|
+
return acc;
|
|
1456
|
+
}
|
|
1457
|
+
return {
|
|
1458
|
+
...acc,
|
|
1459
|
+
[key]: serializeAws_restJson1TemplateParameterConfiguration(value, context),
|
|
1460
|
+
};
|
|
1461
|
+
}, {});
|
|
1462
|
+
};
|
|
1463
|
+
const serializeAws_restJson1TemplateParameterInputMap = (input, context) => {
|
|
1464
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1465
|
+
if (value === null) {
|
|
1466
|
+
return acc;
|
|
1467
|
+
}
|
|
1468
|
+
return {
|
|
1469
|
+
...acc,
|
|
1470
|
+
[key]: value,
|
|
1471
|
+
};
|
|
1472
|
+
}, {});
|
|
1473
|
+
};
|
|
1140
1474
|
const deserializeAws_restJson1Certificate = (output, context) => {
|
|
1141
1475
|
return {
|
|
1142
1476
|
certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
|
|
@@ -1292,6 +1626,46 @@ const deserializeAws_restJson1JobRuns = (output, context) => {
|
|
|
1292
1626
|
});
|
|
1293
1627
|
return retVal;
|
|
1294
1628
|
};
|
|
1629
|
+
const deserializeAws_restJson1JobTemplate = (output, context) => {
|
|
1630
|
+
return {
|
|
1631
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
1632
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
|
|
1633
|
+
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
1634
|
+
decryptionError: (0, smithy_client_1.expectString)(output.decryptionError),
|
|
1635
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1636
|
+
jobTemplateData: output.jobTemplateData != null
|
|
1637
|
+
? deserializeAws_restJson1JobTemplateData(output.jobTemplateData, context)
|
|
1638
|
+
: undefined,
|
|
1639
|
+
kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
|
|
1640
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1641
|
+
tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
|
|
1642
|
+
};
|
|
1643
|
+
};
|
|
1644
|
+
const deserializeAws_restJson1JobTemplateData = (output, context) => {
|
|
1645
|
+
return {
|
|
1646
|
+
configurationOverrides: output.configurationOverrides != null
|
|
1647
|
+
? deserializeAws_restJson1ParametricConfigurationOverrides(output.configurationOverrides, context)
|
|
1648
|
+
: undefined,
|
|
1649
|
+
executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
|
|
1650
|
+
jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
|
|
1651
|
+
jobTags: output.jobTags != null ? deserializeAws_restJson1TagMap(output.jobTags, context) : undefined,
|
|
1652
|
+
parameterConfiguration: output.parameterConfiguration != null
|
|
1653
|
+
? deserializeAws_restJson1TemplateParameterConfigurationMap(output.parameterConfiguration, context)
|
|
1654
|
+
: undefined,
|
|
1655
|
+
releaseLabel: (0, smithy_client_1.expectString)(output.releaseLabel),
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
const deserializeAws_restJson1JobTemplates = (output, context) => {
|
|
1659
|
+
const retVal = (output || [])
|
|
1660
|
+
.filter((e) => e != null)
|
|
1661
|
+
.map((entry) => {
|
|
1662
|
+
if (entry === null) {
|
|
1663
|
+
return null;
|
|
1664
|
+
}
|
|
1665
|
+
return deserializeAws_restJson1JobTemplate(entry, context);
|
|
1666
|
+
});
|
|
1667
|
+
return retVal;
|
|
1668
|
+
};
|
|
1295
1669
|
const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
|
|
1296
1670
|
return {
|
|
1297
1671
|
cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration != null
|
|
@@ -1303,6 +1677,38 @@ const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
|
|
|
1303
1677
|
: undefined,
|
|
1304
1678
|
};
|
|
1305
1679
|
};
|
|
1680
|
+
const deserializeAws_restJson1ParametricCloudWatchMonitoringConfiguration = (output, context) => {
|
|
1681
|
+
return {
|
|
1682
|
+
logGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
|
|
1683
|
+
logStreamNamePrefix: (0, smithy_client_1.expectString)(output.logStreamNamePrefix),
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
const deserializeAws_restJson1ParametricConfigurationOverrides = (output, context) => {
|
|
1687
|
+
return {
|
|
1688
|
+
applicationConfiguration: output.applicationConfiguration != null
|
|
1689
|
+
? deserializeAws_restJson1ConfigurationList(output.applicationConfiguration, context)
|
|
1690
|
+
: undefined,
|
|
1691
|
+
monitoringConfiguration: output.monitoringConfiguration != null
|
|
1692
|
+
? deserializeAws_restJson1ParametricMonitoringConfiguration(output.monitoringConfiguration, context)
|
|
1693
|
+
: undefined,
|
|
1694
|
+
};
|
|
1695
|
+
};
|
|
1696
|
+
const deserializeAws_restJson1ParametricMonitoringConfiguration = (output, context) => {
|
|
1697
|
+
return {
|
|
1698
|
+
cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration != null
|
|
1699
|
+
? deserializeAws_restJson1ParametricCloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
|
|
1700
|
+
: undefined,
|
|
1701
|
+
persistentAppUI: (0, smithy_client_1.expectString)(output.persistentAppUI),
|
|
1702
|
+
s3MonitoringConfiguration: output.s3MonitoringConfiguration != null
|
|
1703
|
+
? deserializeAws_restJson1ParametricS3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
|
|
1704
|
+
: undefined,
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
const deserializeAws_restJson1ParametricS3MonitoringConfiguration = (output, context) => {
|
|
1708
|
+
return {
|
|
1709
|
+
logUri: (0, smithy_client_1.expectString)(output.logUri),
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1306
1712
|
const deserializeAws_restJson1S3MonitoringConfiguration = (output, context) => {
|
|
1307
1713
|
return {
|
|
1308
1714
|
logUri: (0, smithy_client_1.expectString)(output.logUri),
|
|
@@ -1356,6 +1762,23 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
1356
1762
|
};
|
|
1357
1763
|
}, {});
|
|
1358
1764
|
};
|
|
1765
|
+
const deserializeAws_restJson1TemplateParameterConfiguration = (output, context) => {
|
|
1766
|
+
return {
|
|
1767
|
+
defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
|
|
1768
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
1769
|
+
};
|
|
1770
|
+
};
|
|
1771
|
+
const deserializeAws_restJson1TemplateParameterConfigurationMap = (output, context) => {
|
|
1772
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1773
|
+
if (value === null) {
|
|
1774
|
+
return acc;
|
|
1775
|
+
}
|
|
1776
|
+
return {
|
|
1777
|
+
...acc,
|
|
1778
|
+
[key]: deserializeAws_restJson1TemplateParameterConfiguration(value, context),
|
|
1779
|
+
};
|
|
1780
|
+
}, {});
|
|
1781
|
+
};
|
|
1359
1782
|
const deserializeAws_restJson1VirtualCluster = (output, context) => {
|
|
1360
1783
|
return {
|
|
1361
1784
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
@@ -8,7 +8,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
8
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
-
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
12
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
@@ -24,8 +23,6 @@ const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "browser",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -10,7 +10,6 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
-
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
14
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
15
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
@@ -28,8 +27,6 @@ const getRuntimeConfig = (config) => {
|
|
|
28
27
|
...config,
|
|
29
28
|
runtime: "node",
|
|
30
29
|
defaultsMode,
|
|
31
|
-
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
-
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
30
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
31
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
32
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
5
6
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
7
|
const getRuntimeConfig = (config) => ({
|
|
7
8
|
apiVersion: "2020-10-01",
|
|
9
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
10
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
8
11
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
12
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
13
|
logger: config?.logger ?? {},
|