@aws-sdk/client-kafka 3.321.1 → 3.322.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/README.md +72 -0
- package/dist-cjs/Kafka.js +18 -0
- package/dist-cjs/commands/CreateVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DeleteClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/DeleteVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DescribeVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/GetClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/ListVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/PutClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +769 -48
- package/dist-es/Kafka.js +18 -0
- package/dist-es/commands/CreateVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DeleteClusterPolicyCommand.js +41 -0
- package/dist-es/commands/DeleteVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DescribeVpcConnectionCommand.js +41 -0
- package/dist-es/commands/GetClusterPolicyCommand.js +41 -0
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/ListVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/PutClusterPolicyCommand.js +41 -0
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +41 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/ListVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +747 -44
- package/dist-types/Kafka.d.ts +63 -0
- package/dist-types/KafkaClient.d.ts +11 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +18 -0
- package/dist-types/commands/CreateClusterV2Command.d.ts +19 -3
- package/dist-types/commands/CreateVpcConnectionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +75 -0
- package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +81 -0
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +80 -0
- package/dist-types/commands/ListVpcConnectionsCommand.d.ts +79 -0
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +74 -0
- package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +79 -0
- package/dist-types/commands/UpdateConnectivityCommand.d.ts +15 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +492 -0
- package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Kafka.d.ts +153 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +149 -0
- package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -121,6 +121,31 @@ export const se_CreateConfigurationCommand = async (input, context) => {
|
|
|
121
121
|
body,
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
|
+
export const se_CreateVpcConnectionCommand = async (input, context) => {
|
|
125
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
126
|
+
const headers = {
|
|
127
|
+
"content-type": "application/json",
|
|
128
|
+
};
|
|
129
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/vpc-connection";
|
|
130
|
+
let body;
|
|
131
|
+
body = JSON.stringify(take(input, {
|
|
132
|
+
authentication: [, , `Authentication`],
|
|
133
|
+
clientSubnets: [, (_) => _json(_), `ClientSubnets`],
|
|
134
|
+
securityGroups: [, (_) => _json(_), `SecurityGroups`],
|
|
135
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
136
|
+
targetClusterArn: [, , `TargetClusterArn`],
|
|
137
|
+
vpcId: [, , `VpcId`],
|
|
138
|
+
}));
|
|
139
|
+
return new __HttpRequest({
|
|
140
|
+
protocol,
|
|
141
|
+
hostname,
|
|
142
|
+
port,
|
|
143
|
+
method: "POST",
|
|
144
|
+
headers,
|
|
145
|
+
path: resolvedPath,
|
|
146
|
+
body,
|
|
147
|
+
});
|
|
148
|
+
};
|
|
124
149
|
export const se_DeleteClusterCommand = async (input, context) => {
|
|
125
150
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
126
151
|
const headers = {};
|
|
@@ -141,6 +166,22 @@ export const se_DeleteClusterCommand = async (input, context) => {
|
|
|
141
166
|
body,
|
|
142
167
|
});
|
|
143
168
|
};
|
|
169
|
+
export const se_DeleteClusterPolicyCommand = async (input, context) => {
|
|
170
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
171
|
+
const headers = {};
|
|
172
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/policy";
|
|
173
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
174
|
+
let body;
|
|
175
|
+
return new __HttpRequest({
|
|
176
|
+
protocol,
|
|
177
|
+
hostname,
|
|
178
|
+
port,
|
|
179
|
+
method: "DELETE",
|
|
180
|
+
headers,
|
|
181
|
+
path: resolvedPath,
|
|
182
|
+
body,
|
|
183
|
+
});
|
|
184
|
+
};
|
|
144
185
|
export const se_DeleteConfigurationCommand = async (input, context) => {
|
|
145
186
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
146
187
|
const headers = {};
|
|
@@ -157,6 +198,22 @@ export const se_DeleteConfigurationCommand = async (input, context) => {
|
|
|
157
198
|
body,
|
|
158
199
|
});
|
|
159
200
|
};
|
|
201
|
+
export const se_DeleteVpcConnectionCommand = async (input, context) => {
|
|
202
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
203
|
+
const headers = {};
|
|
204
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/vpc-connection/{Arn}";
|
|
205
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
|
|
206
|
+
let body;
|
|
207
|
+
return new __HttpRequest({
|
|
208
|
+
protocol,
|
|
209
|
+
hostname,
|
|
210
|
+
port,
|
|
211
|
+
method: "DELETE",
|
|
212
|
+
headers,
|
|
213
|
+
path: resolvedPath,
|
|
214
|
+
body,
|
|
215
|
+
});
|
|
216
|
+
};
|
|
160
217
|
export const se_DescribeClusterCommand = async (input, context) => {
|
|
161
218
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
162
219
|
const headers = {};
|
|
@@ -239,6 +296,22 @@ export const se_DescribeConfigurationRevisionCommand = async (input, context) =>
|
|
|
239
296
|
body,
|
|
240
297
|
});
|
|
241
298
|
};
|
|
299
|
+
export const se_DescribeVpcConnectionCommand = async (input, context) => {
|
|
300
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
301
|
+
const headers = {};
|
|
302
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/vpc-connection/{Arn}";
|
|
303
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
|
|
304
|
+
let body;
|
|
305
|
+
return new __HttpRequest({
|
|
306
|
+
protocol,
|
|
307
|
+
hostname,
|
|
308
|
+
port,
|
|
309
|
+
method: "GET",
|
|
310
|
+
headers,
|
|
311
|
+
path: resolvedPath,
|
|
312
|
+
body,
|
|
313
|
+
});
|
|
314
|
+
};
|
|
242
315
|
export const se_GetBootstrapBrokersCommand = async (input, context) => {
|
|
243
316
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
244
317
|
const headers = {};
|
|
@@ -256,6 +329,22 @@ export const se_GetBootstrapBrokersCommand = async (input, context) => {
|
|
|
256
329
|
body,
|
|
257
330
|
});
|
|
258
331
|
};
|
|
332
|
+
export const se_GetClusterPolicyCommand = async (input, context) => {
|
|
333
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
334
|
+
const headers = {};
|
|
335
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/policy";
|
|
336
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
337
|
+
let body;
|
|
338
|
+
return new __HttpRequest({
|
|
339
|
+
protocol,
|
|
340
|
+
hostname,
|
|
341
|
+
port,
|
|
342
|
+
method: "GET",
|
|
343
|
+
headers,
|
|
344
|
+
path: resolvedPath,
|
|
345
|
+
body,
|
|
346
|
+
});
|
|
347
|
+
};
|
|
259
348
|
export const se_GetCompatibleKafkaVersionsCommand = async (input, context) => {
|
|
260
349
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
261
350
|
const headers = {};
|
|
@@ -275,6 +364,28 @@ export const se_GetCompatibleKafkaVersionsCommand = async (input, context) => {
|
|
|
275
364
|
body,
|
|
276
365
|
});
|
|
277
366
|
};
|
|
367
|
+
export const se_ListClientVpcConnectionsCommand = async (input, context) => {
|
|
368
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
369
|
+
const headers = {};
|
|
370
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
371
|
+
"/v1/clusters/{ClusterArn}/client-vpc-connections";
|
|
372
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
373
|
+
const query = map({
|
|
374
|
+
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
375
|
+
nextToken: [, input.NextToken],
|
|
376
|
+
});
|
|
377
|
+
let body;
|
|
378
|
+
return new __HttpRequest({
|
|
379
|
+
protocol,
|
|
380
|
+
hostname,
|
|
381
|
+
port,
|
|
382
|
+
method: "GET",
|
|
383
|
+
headers,
|
|
384
|
+
path: resolvedPath,
|
|
385
|
+
query,
|
|
386
|
+
body,
|
|
387
|
+
});
|
|
388
|
+
};
|
|
278
389
|
export const se_ListClusterOperationsCommand = async (input, context) => {
|
|
279
390
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
280
391
|
const headers = {};
|
|
@@ -458,6 +569,48 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
458
569
|
body,
|
|
459
570
|
});
|
|
460
571
|
};
|
|
572
|
+
export const se_ListVpcConnectionsCommand = async (input, context) => {
|
|
573
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
574
|
+
const headers = {};
|
|
575
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/vpc-connections";
|
|
576
|
+
const query = map({
|
|
577
|
+
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
578
|
+
nextToken: [, input.NextToken],
|
|
579
|
+
});
|
|
580
|
+
let body;
|
|
581
|
+
return new __HttpRequest({
|
|
582
|
+
protocol,
|
|
583
|
+
hostname,
|
|
584
|
+
port,
|
|
585
|
+
method: "GET",
|
|
586
|
+
headers,
|
|
587
|
+
path: resolvedPath,
|
|
588
|
+
query,
|
|
589
|
+
body,
|
|
590
|
+
});
|
|
591
|
+
};
|
|
592
|
+
export const se_PutClusterPolicyCommand = async (input, context) => {
|
|
593
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
594
|
+
const headers = {
|
|
595
|
+
"content-type": "application/json",
|
|
596
|
+
};
|
|
597
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/policy";
|
|
598
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
599
|
+
let body;
|
|
600
|
+
body = JSON.stringify(take(input, {
|
|
601
|
+
currentVersion: [, , `CurrentVersion`],
|
|
602
|
+
policy: [, , `Policy`],
|
|
603
|
+
}));
|
|
604
|
+
return new __HttpRequest({
|
|
605
|
+
protocol,
|
|
606
|
+
hostname,
|
|
607
|
+
port,
|
|
608
|
+
method: "PUT",
|
|
609
|
+
headers,
|
|
610
|
+
path: resolvedPath,
|
|
611
|
+
body,
|
|
612
|
+
});
|
|
613
|
+
};
|
|
461
614
|
export const se_RebootBrokerCommand = async (input, context) => {
|
|
462
615
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
463
616
|
const headers = {
|
|
@@ -479,6 +632,28 @@ export const se_RebootBrokerCommand = async (input, context) => {
|
|
|
479
632
|
body,
|
|
480
633
|
});
|
|
481
634
|
};
|
|
635
|
+
export const se_RejectClientVpcConnectionCommand = async (input, context) => {
|
|
636
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
637
|
+
const headers = {
|
|
638
|
+
"content-type": "application/json",
|
|
639
|
+
};
|
|
640
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
641
|
+
"/v1/clusters/{ClusterArn}/client-vpc-connection";
|
|
642
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
643
|
+
let body;
|
|
644
|
+
body = JSON.stringify(take(input, {
|
|
645
|
+
vpcConnectionArn: [, , `VpcConnectionArn`],
|
|
646
|
+
}));
|
|
647
|
+
return new __HttpRequest({
|
|
648
|
+
protocol,
|
|
649
|
+
hostname,
|
|
650
|
+
port,
|
|
651
|
+
method: "PUT",
|
|
652
|
+
headers,
|
|
653
|
+
path: resolvedPath,
|
|
654
|
+
body,
|
|
655
|
+
});
|
|
656
|
+
};
|
|
482
657
|
export const se_TagResourceCommand = async (input, context) => {
|
|
483
658
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
484
659
|
const headers = {
|
|
@@ -1015,6 +1190,61 @@ const de_CreateConfigurationCommandError = async (output, context) => {
|
|
|
1015
1190
|
});
|
|
1016
1191
|
}
|
|
1017
1192
|
};
|
|
1193
|
+
export const de_CreateVpcConnectionCommand = async (output, context) => {
|
|
1194
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1195
|
+
return de_CreateVpcConnectionCommandError(output, context);
|
|
1196
|
+
}
|
|
1197
|
+
const contents = map({
|
|
1198
|
+
$metadata: deserializeMetadata(output),
|
|
1199
|
+
});
|
|
1200
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1201
|
+
const doc = take(data, {
|
|
1202
|
+
Authentication: [, __expectString, `authentication`],
|
|
1203
|
+
ClientSubnets: [, _json, `clientSubnets`],
|
|
1204
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
1205
|
+
SecurityGroups: [, _json, `securityGroups`],
|
|
1206
|
+
State: [, __expectString, `state`],
|
|
1207
|
+
Tags: [, _json, `tags`],
|
|
1208
|
+
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
1209
|
+
VpcId: [, __expectString, `vpcId`],
|
|
1210
|
+
});
|
|
1211
|
+
Object.assign(contents, doc);
|
|
1212
|
+
return contents;
|
|
1213
|
+
};
|
|
1214
|
+
const de_CreateVpcConnectionCommandError = async (output, context) => {
|
|
1215
|
+
const parsedOutput = {
|
|
1216
|
+
...output,
|
|
1217
|
+
body: await parseErrorBody(output.body, context),
|
|
1218
|
+
};
|
|
1219
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1220
|
+
switch (errorCode) {
|
|
1221
|
+
case "BadRequestException":
|
|
1222
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
1223
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1224
|
+
case "ForbiddenException":
|
|
1225
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
1226
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1227
|
+
case "InternalServerErrorException":
|
|
1228
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1229
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1230
|
+
case "ServiceUnavailableException":
|
|
1231
|
+
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1232
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1233
|
+
case "TooManyRequestsException":
|
|
1234
|
+
case "com.amazonaws.kafka#TooManyRequestsException":
|
|
1235
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1236
|
+
case "UnauthorizedException":
|
|
1237
|
+
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1238
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1239
|
+
default:
|
|
1240
|
+
const parsedBody = parsedOutput.body;
|
|
1241
|
+
return throwDefaultError({
|
|
1242
|
+
output,
|
|
1243
|
+
parsedBody,
|
|
1244
|
+
errorCode,
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
};
|
|
1018
1248
|
export const de_DeleteClusterCommand = async (output, context) => {
|
|
1019
1249
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1020
1250
|
return de_DeleteClusterCommandError(output, context);
|
|
@@ -1058,6 +1288,44 @@ const de_DeleteClusterCommandError = async (output, context) => {
|
|
|
1058
1288
|
});
|
|
1059
1289
|
}
|
|
1060
1290
|
};
|
|
1291
|
+
export const de_DeleteClusterPolicyCommand = async (output, context) => {
|
|
1292
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1293
|
+
return de_DeleteClusterPolicyCommandError(output, context);
|
|
1294
|
+
}
|
|
1295
|
+
const contents = map({
|
|
1296
|
+
$metadata: deserializeMetadata(output),
|
|
1297
|
+
});
|
|
1298
|
+
await collectBody(output.body, context);
|
|
1299
|
+
return contents;
|
|
1300
|
+
};
|
|
1301
|
+
const de_DeleteClusterPolicyCommandError = async (output, context) => {
|
|
1302
|
+
const parsedOutput = {
|
|
1303
|
+
...output,
|
|
1304
|
+
body: await parseErrorBody(output.body, context),
|
|
1305
|
+
};
|
|
1306
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1307
|
+
switch (errorCode) {
|
|
1308
|
+
case "BadRequestException":
|
|
1309
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
1310
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1311
|
+
case "ForbiddenException":
|
|
1312
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
1313
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1314
|
+
case "InternalServerErrorException":
|
|
1315
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1316
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1317
|
+
case "NotFoundException":
|
|
1318
|
+
case "com.amazonaws.kafka#NotFoundException":
|
|
1319
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1320
|
+
default:
|
|
1321
|
+
const parsedBody = parsedOutput.body;
|
|
1322
|
+
return throwDefaultError({
|
|
1323
|
+
output,
|
|
1324
|
+
parsedBody,
|
|
1325
|
+
errorCode,
|
|
1326
|
+
});
|
|
1327
|
+
}
|
|
1328
|
+
};
|
|
1061
1329
|
export const de_DeleteConfigurationCommand = async (output, context) => {
|
|
1062
1330
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1063
1331
|
return de_DeleteConfigurationCommandError(output, context);
|
|
@@ -1101,6 +1369,49 @@ const de_DeleteConfigurationCommandError = async (output, context) => {
|
|
|
1101
1369
|
});
|
|
1102
1370
|
}
|
|
1103
1371
|
};
|
|
1372
|
+
export const de_DeleteVpcConnectionCommand = async (output, context) => {
|
|
1373
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1374
|
+
return de_DeleteVpcConnectionCommandError(output, context);
|
|
1375
|
+
}
|
|
1376
|
+
const contents = map({
|
|
1377
|
+
$metadata: deserializeMetadata(output),
|
|
1378
|
+
});
|
|
1379
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1380
|
+
const doc = take(data, {
|
|
1381
|
+
State: [, __expectString, `state`],
|
|
1382
|
+
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
1383
|
+
});
|
|
1384
|
+
Object.assign(contents, doc);
|
|
1385
|
+
return contents;
|
|
1386
|
+
};
|
|
1387
|
+
const de_DeleteVpcConnectionCommandError = async (output, context) => {
|
|
1388
|
+
const parsedOutput = {
|
|
1389
|
+
...output,
|
|
1390
|
+
body: await parseErrorBody(output.body, context),
|
|
1391
|
+
};
|
|
1392
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1393
|
+
switch (errorCode) {
|
|
1394
|
+
case "BadRequestException":
|
|
1395
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
1396
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1397
|
+
case "ForbiddenException":
|
|
1398
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
1399
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1400
|
+
case "InternalServerErrorException":
|
|
1401
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1402
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1403
|
+
case "NotFoundException":
|
|
1404
|
+
case "com.amazonaws.kafka#NotFoundException":
|
|
1405
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1406
|
+
default:
|
|
1407
|
+
const parsedBody = parsedOutput.body;
|
|
1408
|
+
return throwDefaultError({
|
|
1409
|
+
output,
|
|
1410
|
+
parsedBody,
|
|
1411
|
+
errorCode,
|
|
1412
|
+
});
|
|
1413
|
+
}
|
|
1414
|
+
};
|
|
1104
1415
|
export const de_DescribeClusterCommand = async (output, context) => {
|
|
1105
1416
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1106
1417
|
return de_DescribeClusterCommandError(output, context);
|
|
@@ -1256,7 +1567,172 @@ export const de_DescribeConfigurationCommand = async (output, context) => {
|
|
|
1256
1567
|
Object.assign(contents, doc);
|
|
1257
1568
|
return contents;
|
|
1258
1569
|
};
|
|
1259
|
-
const de_DescribeConfigurationCommandError = async (output, context) => {
|
|
1570
|
+
const de_DescribeConfigurationCommandError = async (output, context) => {
|
|
1571
|
+
const parsedOutput = {
|
|
1572
|
+
...output,
|
|
1573
|
+
body: await parseErrorBody(output.body, context),
|
|
1574
|
+
};
|
|
1575
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1576
|
+
switch (errorCode) {
|
|
1577
|
+
case "BadRequestException":
|
|
1578
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
1579
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1580
|
+
case "ForbiddenException":
|
|
1581
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
1582
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1583
|
+
case "InternalServerErrorException":
|
|
1584
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1585
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1586
|
+
case "NotFoundException":
|
|
1587
|
+
case "com.amazonaws.kafka#NotFoundException":
|
|
1588
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1589
|
+
case "ServiceUnavailableException":
|
|
1590
|
+
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1591
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1592
|
+
case "UnauthorizedException":
|
|
1593
|
+
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1594
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1595
|
+
default:
|
|
1596
|
+
const parsedBody = parsedOutput.body;
|
|
1597
|
+
return throwDefaultError({
|
|
1598
|
+
output,
|
|
1599
|
+
parsedBody,
|
|
1600
|
+
errorCode,
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
};
|
|
1604
|
+
export const de_DescribeConfigurationRevisionCommand = async (output, context) => {
|
|
1605
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1606
|
+
return de_DescribeConfigurationRevisionCommandError(output, context);
|
|
1607
|
+
}
|
|
1608
|
+
const contents = map({
|
|
1609
|
+
$metadata: deserializeMetadata(output),
|
|
1610
|
+
});
|
|
1611
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1612
|
+
const doc = take(data, {
|
|
1613
|
+
Arn: [, __expectString, `arn`],
|
|
1614
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
1615
|
+
Description: [, __expectString, `description`],
|
|
1616
|
+
Revision: [, __expectLong, `revision`],
|
|
1617
|
+
ServerProperties: [, context.base64Decoder, `serverProperties`],
|
|
1618
|
+
});
|
|
1619
|
+
Object.assign(contents, doc);
|
|
1620
|
+
return contents;
|
|
1621
|
+
};
|
|
1622
|
+
const de_DescribeConfigurationRevisionCommandError = async (output, context) => {
|
|
1623
|
+
const parsedOutput = {
|
|
1624
|
+
...output,
|
|
1625
|
+
body: await parseErrorBody(output.body, context),
|
|
1626
|
+
};
|
|
1627
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1628
|
+
switch (errorCode) {
|
|
1629
|
+
case "BadRequestException":
|
|
1630
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
1631
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1632
|
+
case "ForbiddenException":
|
|
1633
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
1634
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1635
|
+
case "InternalServerErrorException":
|
|
1636
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1637
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1638
|
+
case "NotFoundException":
|
|
1639
|
+
case "com.amazonaws.kafka#NotFoundException":
|
|
1640
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1641
|
+
case "ServiceUnavailableException":
|
|
1642
|
+
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1643
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1644
|
+
case "UnauthorizedException":
|
|
1645
|
+
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1646
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1647
|
+
default:
|
|
1648
|
+
const parsedBody = parsedOutput.body;
|
|
1649
|
+
return throwDefaultError({
|
|
1650
|
+
output,
|
|
1651
|
+
parsedBody,
|
|
1652
|
+
errorCode,
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1655
|
+
};
|
|
1656
|
+
export const de_DescribeVpcConnectionCommand = async (output, context) => {
|
|
1657
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1658
|
+
return de_DescribeVpcConnectionCommandError(output, context);
|
|
1659
|
+
}
|
|
1660
|
+
const contents = map({
|
|
1661
|
+
$metadata: deserializeMetadata(output),
|
|
1662
|
+
});
|
|
1663
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1664
|
+
const doc = take(data, {
|
|
1665
|
+
Authentication: [, __expectString, `authentication`],
|
|
1666
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
1667
|
+
SecurityGroups: [, _json, `securityGroups`],
|
|
1668
|
+
State: [, __expectString, `state`],
|
|
1669
|
+
Subnets: [, _json, `subnets`],
|
|
1670
|
+
Tags: [, _json, `tags`],
|
|
1671
|
+
TargetClusterArn: [, __expectString, `targetClusterArn`],
|
|
1672
|
+
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
1673
|
+
VpcId: [, __expectString, `vpcId`],
|
|
1674
|
+
});
|
|
1675
|
+
Object.assign(contents, doc);
|
|
1676
|
+
return contents;
|
|
1677
|
+
};
|
|
1678
|
+
const de_DescribeVpcConnectionCommandError = async (output, context) => {
|
|
1679
|
+
const parsedOutput = {
|
|
1680
|
+
...output,
|
|
1681
|
+
body: await parseErrorBody(output.body, context),
|
|
1682
|
+
};
|
|
1683
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1684
|
+
switch (errorCode) {
|
|
1685
|
+
case "BadRequestException":
|
|
1686
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
1687
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1688
|
+
case "ForbiddenException":
|
|
1689
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
1690
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1691
|
+
case "InternalServerErrorException":
|
|
1692
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1693
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1694
|
+
case "NotFoundException":
|
|
1695
|
+
case "com.amazonaws.kafka#NotFoundException":
|
|
1696
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1697
|
+
case "ServiceUnavailableException":
|
|
1698
|
+
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1699
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1700
|
+
case "UnauthorizedException":
|
|
1701
|
+
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1702
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1703
|
+
default:
|
|
1704
|
+
const parsedBody = parsedOutput.body;
|
|
1705
|
+
return throwDefaultError({
|
|
1706
|
+
output,
|
|
1707
|
+
parsedBody,
|
|
1708
|
+
errorCode,
|
|
1709
|
+
});
|
|
1710
|
+
}
|
|
1711
|
+
};
|
|
1712
|
+
export const de_GetBootstrapBrokersCommand = async (output, context) => {
|
|
1713
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1714
|
+
return de_GetBootstrapBrokersCommandError(output, context);
|
|
1715
|
+
}
|
|
1716
|
+
const contents = map({
|
|
1717
|
+
$metadata: deserializeMetadata(output),
|
|
1718
|
+
});
|
|
1719
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1720
|
+
const doc = take(data, {
|
|
1721
|
+
BootstrapBrokerString: [, __expectString, `bootstrapBrokerString`],
|
|
1722
|
+
BootstrapBrokerStringPublicSaslIam: [, __expectString, `bootstrapBrokerStringPublicSaslIam`],
|
|
1723
|
+
BootstrapBrokerStringPublicSaslScram: [, __expectString, `bootstrapBrokerStringPublicSaslScram`],
|
|
1724
|
+
BootstrapBrokerStringPublicTls: [, __expectString, `bootstrapBrokerStringPublicTls`],
|
|
1725
|
+
BootstrapBrokerStringSaslIam: [, __expectString, `bootstrapBrokerStringSaslIam`],
|
|
1726
|
+
BootstrapBrokerStringSaslScram: [, __expectString, `bootstrapBrokerStringSaslScram`],
|
|
1727
|
+
BootstrapBrokerStringTls: [, __expectString, `bootstrapBrokerStringTls`],
|
|
1728
|
+
BootstrapBrokerStringVpcConnectivitySaslIam: [, __expectString, `bootstrapBrokerStringVpcConnectivitySaslIam`],
|
|
1729
|
+
BootstrapBrokerStringVpcConnectivitySaslScram: [, __expectString, `bootstrapBrokerStringVpcConnectivitySaslScram`],
|
|
1730
|
+
BootstrapBrokerStringVpcConnectivityTls: [, __expectString, `bootstrapBrokerStringVpcConnectivityTls`],
|
|
1731
|
+
});
|
|
1732
|
+
Object.assign(contents, doc);
|
|
1733
|
+
return contents;
|
|
1734
|
+
};
|
|
1735
|
+
const de_GetBootstrapBrokersCommandError = async (output, context) => {
|
|
1260
1736
|
const parsedOutput = {
|
|
1261
1737
|
...output,
|
|
1262
1738
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1266,18 +1742,15 @@ const de_DescribeConfigurationCommandError = async (output, context) => {
|
|
|
1266
1742
|
case "BadRequestException":
|
|
1267
1743
|
case "com.amazonaws.kafka#BadRequestException":
|
|
1268
1744
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1745
|
+
case "ConflictException":
|
|
1746
|
+
case "com.amazonaws.kafka#ConflictException":
|
|
1747
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1269
1748
|
case "ForbiddenException":
|
|
1270
1749
|
case "com.amazonaws.kafka#ForbiddenException":
|
|
1271
1750
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1272
1751
|
case "InternalServerErrorException":
|
|
1273
1752
|
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1274
1753
|
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1275
|
-
case "NotFoundException":
|
|
1276
|
-
case "com.amazonaws.kafka#NotFoundException":
|
|
1277
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1278
|
-
case "ServiceUnavailableException":
|
|
1279
|
-
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1280
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1281
1754
|
case "UnauthorizedException":
|
|
1282
1755
|
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1283
1756
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -1290,25 +1763,22 @@ const de_DescribeConfigurationCommandError = async (output, context) => {
|
|
|
1290
1763
|
});
|
|
1291
1764
|
}
|
|
1292
1765
|
};
|
|
1293
|
-
export const
|
|
1766
|
+
export const de_GetClusterPolicyCommand = async (output, context) => {
|
|
1294
1767
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1295
|
-
return
|
|
1768
|
+
return de_GetClusterPolicyCommandError(output, context);
|
|
1296
1769
|
}
|
|
1297
1770
|
const contents = map({
|
|
1298
1771
|
$metadata: deserializeMetadata(output),
|
|
1299
1772
|
});
|
|
1300
1773
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1301
1774
|
const doc = take(data, {
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
Description: [, __expectString, `description`],
|
|
1305
|
-
Revision: [, __expectLong, `revision`],
|
|
1306
|
-
ServerProperties: [, context.base64Decoder, `serverProperties`],
|
|
1775
|
+
CurrentVersion: [, __expectString, `currentVersion`],
|
|
1776
|
+
Policy: [, __expectString, `policy`],
|
|
1307
1777
|
});
|
|
1308
1778
|
Object.assign(contents, doc);
|
|
1309
1779
|
return contents;
|
|
1310
1780
|
};
|
|
1311
|
-
const
|
|
1781
|
+
const de_GetClusterPolicyCommandError = async (output, context) => {
|
|
1312
1782
|
const parsedOutput = {
|
|
1313
1783
|
...output,
|
|
1314
1784
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1327,12 +1797,6 @@ const de_DescribeConfigurationRevisionCommandError = async (output, context) =>
|
|
|
1327
1797
|
case "NotFoundException":
|
|
1328
1798
|
case "com.amazonaws.kafka#NotFoundException":
|
|
1329
1799
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1330
|
-
case "ServiceUnavailableException":
|
|
1331
|
-
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1332
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1333
|
-
case "UnauthorizedException":
|
|
1334
|
-
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1335
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1336
1800
|
default:
|
|
1337
1801
|
const parsedBody = parsedOutput.body;
|
|
1338
1802
|
return throwDefaultError({
|
|
@@ -1342,27 +1806,21 @@ const de_DescribeConfigurationRevisionCommandError = async (output, context) =>
|
|
|
1342
1806
|
});
|
|
1343
1807
|
}
|
|
1344
1808
|
};
|
|
1345
|
-
export const
|
|
1809
|
+
export const de_GetCompatibleKafkaVersionsCommand = async (output, context) => {
|
|
1346
1810
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1347
|
-
return
|
|
1811
|
+
return de_GetCompatibleKafkaVersionsCommandError(output, context);
|
|
1348
1812
|
}
|
|
1349
1813
|
const contents = map({
|
|
1350
1814
|
$metadata: deserializeMetadata(output),
|
|
1351
1815
|
});
|
|
1352
1816
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1353
1817
|
const doc = take(data, {
|
|
1354
|
-
|
|
1355
|
-
BootstrapBrokerStringPublicSaslIam: [, __expectString, `bootstrapBrokerStringPublicSaslIam`],
|
|
1356
|
-
BootstrapBrokerStringPublicSaslScram: [, __expectString, `bootstrapBrokerStringPublicSaslScram`],
|
|
1357
|
-
BootstrapBrokerStringPublicTls: [, __expectString, `bootstrapBrokerStringPublicTls`],
|
|
1358
|
-
BootstrapBrokerStringSaslIam: [, __expectString, `bootstrapBrokerStringSaslIam`],
|
|
1359
|
-
BootstrapBrokerStringSaslScram: [, __expectString, `bootstrapBrokerStringSaslScram`],
|
|
1360
|
-
BootstrapBrokerStringTls: [, __expectString, `bootstrapBrokerStringTls`],
|
|
1818
|
+
CompatibleKafkaVersions: [, (_) => de___listOfCompatibleKafkaVersion(_, context), `compatibleKafkaVersions`],
|
|
1361
1819
|
});
|
|
1362
1820
|
Object.assign(contents, doc);
|
|
1363
1821
|
return contents;
|
|
1364
1822
|
};
|
|
1365
|
-
const
|
|
1823
|
+
const de_GetCompatibleKafkaVersionsCommandError = async (output, context) => {
|
|
1366
1824
|
const parsedOutput = {
|
|
1367
1825
|
...output,
|
|
1368
1826
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1372,15 +1830,21 @@ const de_GetBootstrapBrokersCommandError = async (output, context) => {
|
|
|
1372
1830
|
case "BadRequestException":
|
|
1373
1831
|
case "com.amazonaws.kafka#BadRequestException":
|
|
1374
1832
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1375
|
-
case "ConflictException":
|
|
1376
|
-
case "com.amazonaws.kafka#ConflictException":
|
|
1377
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1378
1833
|
case "ForbiddenException":
|
|
1379
1834
|
case "com.amazonaws.kafka#ForbiddenException":
|
|
1380
1835
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1381
1836
|
case "InternalServerErrorException":
|
|
1382
1837
|
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1383
1838
|
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1839
|
+
case "NotFoundException":
|
|
1840
|
+
case "com.amazonaws.kafka#NotFoundException":
|
|
1841
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1842
|
+
case "ServiceUnavailableException":
|
|
1843
|
+
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1844
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1845
|
+
case "TooManyRequestsException":
|
|
1846
|
+
case "com.amazonaws.kafka#TooManyRequestsException":
|
|
1847
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1384
1848
|
case "UnauthorizedException":
|
|
1385
1849
|
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1386
1850
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -1393,21 +1857,22 @@ const de_GetBootstrapBrokersCommandError = async (output, context) => {
|
|
|
1393
1857
|
});
|
|
1394
1858
|
}
|
|
1395
1859
|
};
|
|
1396
|
-
export const
|
|
1860
|
+
export const de_ListClientVpcConnectionsCommand = async (output, context) => {
|
|
1397
1861
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1398
|
-
return
|
|
1862
|
+
return de_ListClientVpcConnectionsCommandError(output, context);
|
|
1399
1863
|
}
|
|
1400
1864
|
const contents = map({
|
|
1401
1865
|
$metadata: deserializeMetadata(output),
|
|
1402
1866
|
});
|
|
1403
1867
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1404
1868
|
const doc = take(data, {
|
|
1405
|
-
|
|
1869
|
+
ClientVpcConnections: [, (_) => de___listOfClientVpcConnection(_, context), `clientVpcConnections`],
|
|
1870
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1406
1871
|
});
|
|
1407
1872
|
Object.assign(contents, doc);
|
|
1408
1873
|
return contents;
|
|
1409
1874
|
};
|
|
1410
|
-
const
|
|
1875
|
+
const de_ListClientVpcConnectionsCommandError = async (output, context) => {
|
|
1411
1876
|
const parsedOutput = {
|
|
1412
1877
|
...output,
|
|
1413
1878
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1423,15 +1888,9 @@ const de_GetCompatibleKafkaVersionsCommandError = async (output, context) => {
|
|
|
1423
1888
|
case "InternalServerErrorException":
|
|
1424
1889
|
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1425
1890
|
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1426
|
-
case "NotFoundException":
|
|
1427
|
-
case "com.amazonaws.kafka#NotFoundException":
|
|
1428
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1429
1891
|
case "ServiceUnavailableException":
|
|
1430
1892
|
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1431
1893
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1432
|
-
case "TooManyRequestsException":
|
|
1433
|
-
case "com.amazonaws.kafka#TooManyRequestsException":
|
|
1434
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1435
1894
|
case "UnauthorizedException":
|
|
1436
1895
|
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1437
1896
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -1845,6 +2304,91 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1845
2304
|
});
|
|
1846
2305
|
}
|
|
1847
2306
|
};
|
|
2307
|
+
export const de_ListVpcConnectionsCommand = async (output, context) => {
|
|
2308
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2309
|
+
return de_ListVpcConnectionsCommandError(output, context);
|
|
2310
|
+
}
|
|
2311
|
+
const contents = map({
|
|
2312
|
+
$metadata: deserializeMetadata(output),
|
|
2313
|
+
});
|
|
2314
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2315
|
+
const doc = take(data, {
|
|
2316
|
+
NextToken: [, __expectString, `nextToken`],
|
|
2317
|
+
VpcConnections: [, (_) => de___listOfVpcConnection(_, context), `vpcConnections`],
|
|
2318
|
+
});
|
|
2319
|
+
Object.assign(contents, doc);
|
|
2320
|
+
return contents;
|
|
2321
|
+
};
|
|
2322
|
+
const de_ListVpcConnectionsCommandError = async (output, context) => {
|
|
2323
|
+
const parsedOutput = {
|
|
2324
|
+
...output,
|
|
2325
|
+
body: await parseErrorBody(output.body, context),
|
|
2326
|
+
};
|
|
2327
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2328
|
+
switch (errorCode) {
|
|
2329
|
+
case "BadRequestException":
|
|
2330
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
2331
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2332
|
+
case "ForbiddenException":
|
|
2333
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
2334
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2335
|
+
case "InternalServerErrorException":
|
|
2336
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
2337
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
2338
|
+
case "ServiceUnavailableException":
|
|
2339
|
+
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
2340
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2341
|
+
case "UnauthorizedException":
|
|
2342
|
+
case "com.amazonaws.kafka#UnauthorizedException":
|
|
2343
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2344
|
+
default:
|
|
2345
|
+
const parsedBody = parsedOutput.body;
|
|
2346
|
+
return throwDefaultError({
|
|
2347
|
+
output,
|
|
2348
|
+
parsedBody,
|
|
2349
|
+
errorCode,
|
|
2350
|
+
});
|
|
2351
|
+
}
|
|
2352
|
+
};
|
|
2353
|
+
export const de_PutClusterPolicyCommand = async (output, context) => {
|
|
2354
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2355
|
+
return de_PutClusterPolicyCommandError(output, context);
|
|
2356
|
+
}
|
|
2357
|
+
const contents = map({
|
|
2358
|
+
$metadata: deserializeMetadata(output),
|
|
2359
|
+
});
|
|
2360
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2361
|
+
const doc = take(data, {
|
|
2362
|
+
CurrentVersion: [, __expectString, `currentVersion`],
|
|
2363
|
+
});
|
|
2364
|
+
Object.assign(contents, doc);
|
|
2365
|
+
return contents;
|
|
2366
|
+
};
|
|
2367
|
+
const de_PutClusterPolicyCommandError = async (output, context) => {
|
|
2368
|
+
const parsedOutput = {
|
|
2369
|
+
...output,
|
|
2370
|
+
body: await parseErrorBody(output.body, context),
|
|
2371
|
+
};
|
|
2372
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2373
|
+
switch (errorCode) {
|
|
2374
|
+
case "BadRequestException":
|
|
2375
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
2376
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2377
|
+
case "ForbiddenException":
|
|
2378
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
2379
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2380
|
+
case "InternalServerErrorException":
|
|
2381
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
2382
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
2383
|
+
default:
|
|
2384
|
+
const parsedBody = parsedOutput.body;
|
|
2385
|
+
return throwDefaultError({
|
|
2386
|
+
output,
|
|
2387
|
+
parsedBody,
|
|
2388
|
+
errorCode,
|
|
2389
|
+
});
|
|
2390
|
+
}
|
|
2391
|
+
};
|
|
1848
2392
|
export const de_RebootBrokerCommand = async (output, context) => {
|
|
1849
2393
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1850
2394
|
return de_RebootBrokerCommandError(output, context);
|
|
@@ -1897,6 +2441,47 @@ const de_RebootBrokerCommandError = async (output, context) => {
|
|
|
1897
2441
|
});
|
|
1898
2442
|
}
|
|
1899
2443
|
};
|
|
2444
|
+
export const de_RejectClientVpcConnectionCommand = async (output, context) => {
|
|
2445
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2446
|
+
return de_RejectClientVpcConnectionCommandError(output, context);
|
|
2447
|
+
}
|
|
2448
|
+
const contents = map({
|
|
2449
|
+
$metadata: deserializeMetadata(output),
|
|
2450
|
+
});
|
|
2451
|
+
await collectBody(output.body, context);
|
|
2452
|
+
return contents;
|
|
2453
|
+
};
|
|
2454
|
+
const de_RejectClientVpcConnectionCommandError = async (output, context) => {
|
|
2455
|
+
const parsedOutput = {
|
|
2456
|
+
...output,
|
|
2457
|
+
body: await parseErrorBody(output.body, context),
|
|
2458
|
+
};
|
|
2459
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2460
|
+
switch (errorCode) {
|
|
2461
|
+
case "BadRequestException":
|
|
2462
|
+
case "com.amazonaws.kafka#BadRequestException":
|
|
2463
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2464
|
+
case "ForbiddenException":
|
|
2465
|
+
case "com.amazonaws.kafka#ForbiddenException":
|
|
2466
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2467
|
+
case "InternalServerErrorException":
|
|
2468
|
+
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
2469
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
2470
|
+
case "ServiceUnavailableException":
|
|
2471
|
+
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
2472
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2473
|
+
case "UnauthorizedException":
|
|
2474
|
+
case "com.amazonaws.kafka#UnauthorizedException":
|
|
2475
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2476
|
+
default:
|
|
2477
|
+
const parsedBody = parsedOutput.body;
|
|
2478
|
+
return throwDefaultError({
|
|
2479
|
+
output,
|
|
2480
|
+
parsedBody,
|
|
2481
|
+
errorCode,
|
|
2482
|
+
});
|
|
2483
|
+
}
|
|
2484
|
+
};
|
|
1900
2485
|
export const de_TagResourceCommand = async (output, context) => {
|
|
1901
2486
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1902
2487
|
return de_TagResourceCommandError(output, context);
|
|
@@ -2609,6 +3194,7 @@ const se_BrokerNodeGroupInfo = (input, context) => {
|
|
|
2609
3194
|
instanceType: [, , `InstanceType`],
|
|
2610
3195
|
securityGroups: [, _json, `SecurityGroups`],
|
|
2611
3196
|
storageInfo: [, (_) => se_StorageInfo(_, context), `StorageInfo`],
|
|
3197
|
+
zoneIds: [, _json, `ZoneIds`],
|
|
2612
3198
|
});
|
|
2613
3199
|
};
|
|
2614
3200
|
const se_ClientAuthentication = (input, context) => {
|
|
@@ -2633,6 +3219,7 @@ const se_ConfigurationInfo = (input, context) => {
|
|
|
2633
3219
|
const se_ConnectivityInfo = (input, context) => {
|
|
2634
3220
|
return take(input, {
|
|
2635
3221
|
publicAccess: [, (_) => se_PublicAccess(_, context), `PublicAccess`],
|
|
3222
|
+
vpcConnectivity: [, (_) => se_VpcConnectivity(_, context), `VpcConnectivity`],
|
|
2636
3223
|
});
|
|
2637
3224
|
};
|
|
2638
3225
|
const se_EBSStorageInfo = (input, context) => {
|
|
@@ -2776,6 +3363,38 @@ const se_VpcConfig = (input, context) => {
|
|
|
2776
3363
|
subnetIds: [, _json, `SubnetIds`],
|
|
2777
3364
|
});
|
|
2778
3365
|
};
|
|
3366
|
+
const se_VpcConnectivity = (input, context) => {
|
|
3367
|
+
return take(input, {
|
|
3368
|
+
clientAuthentication: [, (_) => se_VpcConnectivityClientAuthentication(_, context), `ClientAuthentication`],
|
|
3369
|
+
});
|
|
3370
|
+
};
|
|
3371
|
+
const se_VpcConnectivityClientAuthentication = (input, context) => {
|
|
3372
|
+
return take(input, {
|
|
3373
|
+
sasl: [, (_) => se_VpcConnectivitySasl(_, context), `Sasl`],
|
|
3374
|
+
tls: [, (_) => se_VpcConnectivityTls(_, context), `Tls`],
|
|
3375
|
+
});
|
|
3376
|
+
};
|
|
3377
|
+
const se_VpcConnectivityIam = (input, context) => {
|
|
3378
|
+
return take(input, {
|
|
3379
|
+
enabled: [, , `Enabled`],
|
|
3380
|
+
});
|
|
3381
|
+
};
|
|
3382
|
+
const se_VpcConnectivitySasl = (input, context) => {
|
|
3383
|
+
return take(input, {
|
|
3384
|
+
iam: [, (_) => se_VpcConnectivityIam(_, context), `Iam`],
|
|
3385
|
+
scram: [, (_) => se_VpcConnectivityScram(_, context), `Scram`],
|
|
3386
|
+
});
|
|
3387
|
+
};
|
|
3388
|
+
const se_VpcConnectivityScram = (input, context) => {
|
|
3389
|
+
return take(input, {
|
|
3390
|
+
enabled: [, , `Enabled`],
|
|
3391
|
+
});
|
|
3392
|
+
};
|
|
3393
|
+
const se_VpcConnectivityTls = (input, context) => {
|
|
3394
|
+
return take(input, {
|
|
3395
|
+
enabled: [, , `Enabled`],
|
|
3396
|
+
});
|
|
3397
|
+
};
|
|
2779
3398
|
const de___listOfBrokerEBSVolumeInfo = (output, context) => {
|
|
2780
3399
|
const retVal = (output || [])
|
|
2781
3400
|
.filter((e) => e != null)
|
|
@@ -2784,6 +3403,14 @@ const de___listOfBrokerEBSVolumeInfo = (output, context) => {
|
|
|
2784
3403
|
});
|
|
2785
3404
|
return retVal;
|
|
2786
3405
|
};
|
|
3406
|
+
const de___listOfClientVpcConnection = (output, context) => {
|
|
3407
|
+
const retVal = (output || [])
|
|
3408
|
+
.filter((e) => e != null)
|
|
3409
|
+
.map((entry) => {
|
|
3410
|
+
return de_ClientVpcConnection(entry, context);
|
|
3411
|
+
});
|
|
3412
|
+
return retVal;
|
|
3413
|
+
};
|
|
2787
3414
|
const de___listOfCluster = (output, context) => {
|
|
2788
3415
|
const retVal = (output || [])
|
|
2789
3416
|
.filter((e) => e != null)
|
|
@@ -2872,6 +3499,14 @@ const de___listOfVpcConfig = (output, context) => {
|
|
|
2872
3499
|
});
|
|
2873
3500
|
return retVal;
|
|
2874
3501
|
};
|
|
3502
|
+
const de___listOfVpcConnection = (output, context) => {
|
|
3503
|
+
const retVal = (output || [])
|
|
3504
|
+
.filter((e) => e != null)
|
|
3505
|
+
.map((entry) => {
|
|
3506
|
+
return de_VpcConnection(entry, context);
|
|
3507
|
+
});
|
|
3508
|
+
return retVal;
|
|
3509
|
+
};
|
|
2875
3510
|
const de_BrokerEBSVolumeInfo = (output, context) => {
|
|
2876
3511
|
return take(output, {
|
|
2877
3512
|
KafkaBrokerNodeId: [, __expectString, `kafkaBrokerNodeId`],
|
|
@@ -2894,6 +3529,7 @@ const de_BrokerNodeGroupInfo = (output, context) => {
|
|
|
2894
3529
|
InstanceType: [, __expectString, `instanceType`],
|
|
2895
3530
|
SecurityGroups: [, _json, `securityGroups`],
|
|
2896
3531
|
StorageInfo: [, (_) => de_StorageInfo(_, context), `storageInfo`],
|
|
3532
|
+
ZoneIds: [, _json, `zoneIds`],
|
|
2897
3533
|
});
|
|
2898
3534
|
};
|
|
2899
3535
|
const de_BrokerNodeInfo = (output, context) => {
|
|
@@ -2920,6 +3556,15 @@ const de_ClientAuthentication = (output, context) => {
|
|
|
2920
3556
|
Unauthenticated: [, (_) => de_Unauthenticated(_, context), `unauthenticated`],
|
|
2921
3557
|
});
|
|
2922
3558
|
};
|
|
3559
|
+
const de_ClientVpcConnection = (output, context) => {
|
|
3560
|
+
return take(output, {
|
|
3561
|
+
Authentication: [, __expectString, `authentication`],
|
|
3562
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
3563
|
+
Owner: [, __expectString, `owner`],
|
|
3564
|
+
State: [, __expectString, `state`],
|
|
3565
|
+
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
3566
|
+
});
|
|
3567
|
+
};
|
|
2923
3568
|
const de_CloudWatchLogs = (output, context) => {
|
|
2924
3569
|
return take(output, {
|
|
2925
3570
|
Enabled: [, __expectBoolean, `enabled`],
|
|
@@ -2977,6 +3622,7 @@ const de_ClusterOperationInfo = (output, context) => {
|
|
|
2977
3622
|
OperationType: [, __expectString, `operationType`],
|
|
2978
3623
|
SourceClusterInfo: [, (_) => de_MutableClusterInfo(_, context), `sourceClusterInfo`],
|
|
2979
3624
|
TargetClusterInfo: [, (_) => de_MutableClusterInfo(_, context), `targetClusterInfo`],
|
|
3625
|
+
VpcConnectionInfo: [, (_) => de_VpcConnectionInfo(_, context), `vpcConnectionInfo`],
|
|
2980
3626
|
});
|
|
2981
3627
|
};
|
|
2982
3628
|
const de_ClusterOperationStep = (output, context) => {
|
|
@@ -3023,6 +3669,7 @@ const de_ConfigurationRevision = (output, context) => {
|
|
|
3023
3669
|
const de_ConnectivityInfo = (output, context) => {
|
|
3024
3670
|
return take(output, {
|
|
3025
3671
|
PublicAccess: [, (_) => de_PublicAccess(_, context), `publicAccess`],
|
|
3672
|
+
VpcConnectivity: [, (_) => de_VpcConnectivity(_, context), `vpcConnectivity`],
|
|
3026
3673
|
});
|
|
3027
3674
|
};
|
|
3028
3675
|
const de_EBSStorageInfo = (output, context) => {
|
|
@@ -3233,12 +3880,68 @@ const de_UnprocessedScramSecret = (output, context) => {
|
|
|
3233
3880
|
SecretArn: [, __expectString, `secretArn`],
|
|
3234
3881
|
});
|
|
3235
3882
|
};
|
|
3883
|
+
const de_UserIdentity = (output, context) => {
|
|
3884
|
+
return take(output, {
|
|
3885
|
+
PrincipalId: [, __expectString, `principalId`],
|
|
3886
|
+
Type: [, __expectString, `type`],
|
|
3887
|
+
});
|
|
3888
|
+
};
|
|
3236
3889
|
const de_VpcConfig = (output, context) => {
|
|
3237
3890
|
return take(output, {
|
|
3238
3891
|
SecurityGroupIds: [, _json, `securityGroupIds`],
|
|
3239
3892
|
SubnetIds: [, _json, `subnetIds`],
|
|
3240
3893
|
});
|
|
3241
3894
|
};
|
|
3895
|
+
const de_VpcConnection = (output, context) => {
|
|
3896
|
+
return take(output, {
|
|
3897
|
+
Authentication: [, __expectString, `authentication`],
|
|
3898
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
3899
|
+
State: [, __expectString, `state`],
|
|
3900
|
+
TargetClusterArn: [, __expectString, `targetClusterArn`],
|
|
3901
|
+
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
3902
|
+
VpcId: [, __expectString, `vpcId`],
|
|
3903
|
+
});
|
|
3904
|
+
};
|
|
3905
|
+
const de_VpcConnectionInfo = (output, context) => {
|
|
3906
|
+
return take(output, {
|
|
3907
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
3908
|
+
Owner: [, __expectString, `owner`],
|
|
3909
|
+
UserIdentity: [, (_) => de_UserIdentity(_, context), `userIdentity`],
|
|
3910
|
+
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
3911
|
+
});
|
|
3912
|
+
};
|
|
3913
|
+
const de_VpcConnectivity = (output, context) => {
|
|
3914
|
+
return take(output, {
|
|
3915
|
+
ClientAuthentication: [, (_) => de_VpcConnectivityClientAuthentication(_, context), `clientAuthentication`],
|
|
3916
|
+
});
|
|
3917
|
+
};
|
|
3918
|
+
const de_VpcConnectivityClientAuthentication = (output, context) => {
|
|
3919
|
+
return take(output, {
|
|
3920
|
+
Sasl: [, (_) => de_VpcConnectivitySasl(_, context), `sasl`],
|
|
3921
|
+
Tls: [, (_) => de_VpcConnectivityTls(_, context), `tls`],
|
|
3922
|
+
});
|
|
3923
|
+
};
|
|
3924
|
+
const de_VpcConnectivityIam = (output, context) => {
|
|
3925
|
+
return take(output, {
|
|
3926
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3927
|
+
});
|
|
3928
|
+
};
|
|
3929
|
+
const de_VpcConnectivitySasl = (output, context) => {
|
|
3930
|
+
return take(output, {
|
|
3931
|
+
Iam: [, (_) => de_VpcConnectivityIam(_, context), `iam`],
|
|
3932
|
+
Scram: [, (_) => de_VpcConnectivityScram(_, context), `scram`],
|
|
3933
|
+
});
|
|
3934
|
+
};
|
|
3935
|
+
const de_VpcConnectivityScram = (output, context) => {
|
|
3936
|
+
return take(output, {
|
|
3937
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3938
|
+
});
|
|
3939
|
+
};
|
|
3940
|
+
const de_VpcConnectivityTls = (output, context) => {
|
|
3941
|
+
return take(output, {
|
|
3942
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3943
|
+
});
|
|
3944
|
+
};
|
|
3242
3945
|
const de_ZookeeperNodeInfo = (output, context) => {
|
|
3243
3946
|
return take(output, {
|
|
3244
3947
|
AttachedENIId: [, __expectString, `attachedENIId`],
|