@aws-sdk/client-kafkaconnect 3.306.0 → 3.310.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.
Files changed (29) hide show
  1. package/dist-cjs/commands/CreateConnectorCommand.js +2 -2
  2. package/dist-cjs/commands/CreateCustomPluginCommand.js +2 -2
  3. package/dist-cjs/commands/CreateWorkerConfigurationCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteConnectorCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteCustomPluginCommand.js +2 -2
  6. package/dist-cjs/commands/DescribeConnectorCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeCustomPluginCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeWorkerConfigurationCommand.js +2 -2
  9. package/dist-cjs/commands/ListConnectorsCommand.js +2 -2
  10. package/dist-cjs/commands/ListCustomPluginsCommand.js +2 -2
  11. package/dist-cjs/commands/ListWorkerConfigurationsCommand.js +2 -2
  12. package/dist-cjs/commands/UpdateConnectorCommand.js +2 -2
  13. package/dist-cjs/protocols/Aws_restJson1.js +304 -346
  14. package/dist-es/commands/CreateConnectorCommand.js +3 -3
  15. package/dist-es/commands/CreateCustomPluginCommand.js +3 -3
  16. package/dist-es/commands/CreateWorkerConfigurationCommand.js +3 -3
  17. package/dist-es/commands/DeleteConnectorCommand.js +3 -3
  18. package/dist-es/commands/DeleteCustomPluginCommand.js +3 -3
  19. package/dist-es/commands/DescribeConnectorCommand.js +3 -3
  20. package/dist-es/commands/DescribeCustomPluginCommand.js +3 -3
  21. package/dist-es/commands/DescribeWorkerConfigurationCommand.js +3 -3
  22. package/dist-es/commands/ListConnectorsCommand.js +3 -3
  23. package/dist-es/commands/ListCustomPluginsCommand.js +3 -3
  24. package/dist-es/commands/ListWorkerConfigurationsCommand.js +3 -3
  25. package/dist-es/commands/UpdateConnectorCommand.js +3 -3
  26. package/dist-es/protocols/Aws_restJson1.js +279 -321
  27. package/dist-types/protocols/Aws_restJson1.d.ts +96 -24
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -24
  29. package/package.json +35 -35
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateConnectorCommand = exports.deserializeAws_restJson1ListWorkerConfigurationsCommand = exports.deserializeAws_restJson1ListCustomPluginsCommand = exports.deserializeAws_restJson1ListConnectorsCommand = exports.deserializeAws_restJson1DescribeWorkerConfigurationCommand = exports.deserializeAws_restJson1DescribeCustomPluginCommand = exports.deserializeAws_restJson1DescribeConnectorCommand = exports.deserializeAws_restJson1DeleteCustomPluginCommand = exports.deserializeAws_restJson1DeleteConnectorCommand = exports.deserializeAws_restJson1CreateWorkerConfigurationCommand = exports.deserializeAws_restJson1CreateCustomPluginCommand = exports.deserializeAws_restJson1CreateConnectorCommand = exports.serializeAws_restJson1UpdateConnectorCommand = exports.serializeAws_restJson1ListWorkerConfigurationsCommand = exports.serializeAws_restJson1ListCustomPluginsCommand = exports.serializeAws_restJson1ListConnectorsCommand = exports.serializeAws_restJson1DescribeWorkerConfigurationCommand = exports.serializeAws_restJson1DescribeCustomPluginCommand = exports.serializeAws_restJson1DescribeConnectorCommand = exports.serializeAws_restJson1DeleteCustomPluginCommand = exports.serializeAws_restJson1DeleteConnectorCommand = exports.serializeAws_restJson1CreateWorkerConfigurationCommand = exports.serializeAws_restJson1CreateCustomPluginCommand = exports.serializeAws_restJson1CreateConnectorCommand = void 0;
3
+ exports.de_UpdateConnectorCommand = exports.de_ListWorkerConfigurationsCommand = exports.de_ListCustomPluginsCommand = exports.de_ListConnectorsCommand = exports.de_DescribeWorkerConfigurationCommand = exports.de_DescribeCustomPluginCommand = exports.de_DescribeConnectorCommand = exports.de_DeleteCustomPluginCommand = exports.de_DeleteConnectorCommand = exports.de_CreateWorkerConfigurationCommand = exports.de_CreateCustomPluginCommand = exports.de_CreateConnectorCommand = exports.se_UpdateConnectorCommand = exports.se_ListWorkerConfigurationsCommand = exports.se_ListCustomPluginsCommand = exports.se_ListConnectorsCommand = exports.se_DescribeWorkerConfigurationCommand = exports.se_DescribeCustomPluginCommand = exports.se_DescribeConnectorCommand = exports.se_DeleteCustomPluginCommand = exports.se_DeleteConnectorCommand = exports.se_CreateWorkerConfigurationCommand = exports.se_CreateCustomPluginCommand = exports.se_CreateConnectorCommand = 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 KafkaConnectServiceException_1 = require("../models/KafkaConnectServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
- const serializeAws_restJson1CreateConnectorCommand = async (input, context) => {
8
+ const se_CreateConnectorCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = {
11
11
  "content-type": "application/json",
@@ -13,27 +13,25 @@ const serializeAws_restJson1CreateConnectorCommand = async (input, context) => {
13
13
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
14
14
  let body;
15
15
  body = JSON.stringify({
16
- ...(input.capacity != null && { capacity: serializeAws_restJson1Capacity(input.capacity, context) }),
16
+ ...(input.capacity != null && { capacity: se_Capacity(input.capacity, context) }),
17
17
  ...(input.connectorConfiguration != null && {
18
- connectorConfiguration: serializeAws_restJson1__sensitive__mapOf__string(input.connectorConfiguration, context),
18
+ connectorConfiguration: se___sensitive__mapOf__string(input.connectorConfiguration, context),
19
19
  }),
20
20
  ...(input.connectorDescription != null && { connectorDescription: input.connectorDescription }),
21
21
  ...(input.connectorName != null && { connectorName: input.connectorName }),
22
- ...(input.kafkaCluster != null && {
23
- kafkaCluster: serializeAws_restJson1KafkaCluster(input.kafkaCluster, context),
24
- }),
22
+ ...(input.kafkaCluster != null && { kafkaCluster: se_KafkaCluster(input.kafkaCluster, context) }),
25
23
  ...(input.kafkaClusterClientAuthentication != null && {
26
- kafkaClusterClientAuthentication: serializeAws_restJson1KafkaClusterClientAuthentication(input.kafkaClusterClientAuthentication, context),
24
+ kafkaClusterClientAuthentication: se_KafkaClusterClientAuthentication(input.kafkaClusterClientAuthentication, context),
27
25
  }),
28
26
  ...(input.kafkaClusterEncryptionInTransit != null && {
29
- kafkaClusterEncryptionInTransit: serializeAws_restJson1KafkaClusterEncryptionInTransit(input.kafkaClusterEncryptionInTransit, context),
27
+ kafkaClusterEncryptionInTransit: se_KafkaClusterEncryptionInTransit(input.kafkaClusterEncryptionInTransit, context),
30
28
  }),
31
29
  ...(input.kafkaConnectVersion != null && { kafkaConnectVersion: input.kafkaConnectVersion }),
32
- ...(input.logDelivery != null && { logDelivery: serializeAws_restJson1LogDelivery(input.logDelivery, context) }),
33
- ...(input.plugins != null && { plugins: serializeAws_restJson1__listOfPlugin(input.plugins, context) }),
30
+ ...(input.logDelivery != null && { logDelivery: se_LogDelivery(input.logDelivery, context) }),
31
+ ...(input.plugins != null && { plugins: se___listOfPlugin(input.plugins, context) }),
34
32
  ...(input.serviceExecutionRoleArn != null && { serviceExecutionRoleArn: input.serviceExecutionRoleArn }),
35
33
  ...(input.workerConfiguration != null && {
36
- workerConfiguration: serializeAws_restJson1WorkerConfiguration(input.workerConfiguration, context),
34
+ workerConfiguration: se_WorkerConfiguration(input.workerConfiguration, context),
37
35
  }),
38
36
  });
39
37
  return new protocol_http_1.HttpRequest({
@@ -46,8 +44,8 @@ const serializeAws_restJson1CreateConnectorCommand = async (input, context) => {
46
44
  body,
47
45
  });
48
46
  };
49
- exports.serializeAws_restJson1CreateConnectorCommand = serializeAws_restJson1CreateConnectorCommand;
50
- const serializeAws_restJson1CreateCustomPluginCommand = async (input, context) => {
47
+ exports.se_CreateConnectorCommand = se_CreateConnectorCommand;
48
+ const se_CreateCustomPluginCommand = async (input, context) => {
51
49
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
52
50
  const headers = {
53
51
  "content-type": "application/json",
@@ -57,7 +55,7 @@ const serializeAws_restJson1CreateCustomPluginCommand = async (input, context) =
57
55
  body = JSON.stringify({
58
56
  ...(input.contentType != null && { contentType: input.contentType }),
59
57
  ...(input.description != null && { description: input.description }),
60
- ...(input.location != null && { location: serializeAws_restJson1CustomPluginLocation(input.location, context) }),
58
+ ...(input.location != null && { location: se_CustomPluginLocation(input.location, context) }),
61
59
  ...(input.name != null && { name: input.name }),
62
60
  });
63
61
  return new protocol_http_1.HttpRequest({
@@ -70,8 +68,8 @@ const serializeAws_restJson1CreateCustomPluginCommand = async (input, context) =
70
68
  body,
71
69
  });
72
70
  };
73
- exports.serializeAws_restJson1CreateCustomPluginCommand = serializeAws_restJson1CreateCustomPluginCommand;
74
- const serializeAws_restJson1CreateWorkerConfigurationCommand = async (input, context) => {
71
+ exports.se_CreateCustomPluginCommand = se_CreateCustomPluginCommand;
72
+ const se_CreateWorkerConfigurationCommand = async (input, context) => {
75
73
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
76
74
  const headers = {
77
75
  "content-type": "application/json",
@@ -93,8 +91,8 @@ const serializeAws_restJson1CreateWorkerConfigurationCommand = async (input, con
93
91
  body,
94
92
  });
95
93
  };
96
- exports.serializeAws_restJson1CreateWorkerConfigurationCommand = serializeAws_restJson1CreateWorkerConfigurationCommand;
97
- const serializeAws_restJson1DeleteConnectorCommand = async (input, context) => {
94
+ exports.se_CreateWorkerConfigurationCommand = se_CreateWorkerConfigurationCommand;
95
+ const se_DeleteConnectorCommand = async (input, context) => {
98
96
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
99
97
  const headers = {};
100
98
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors/{connectorArn}";
@@ -114,8 +112,8 @@ const serializeAws_restJson1DeleteConnectorCommand = async (input, context) => {
114
112
  body,
115
113
  });
116
114
  };
117
- exports.serializeAws_restJson1DeleteConnectorCommand = serializeAws_restJson1DeleteConnectorCommand;
118
- const serializeAws_restJson1DeleteCustomPluginCommand = async (input, context) => {
115
+ exports.se_DeleteConnectorCommand = se_DeleteConnectorCommand;
116
+ const se_DeleteCustomPluginCommand = async (input, context) => {
119
117
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
120
118
  const headers = {};
121
119
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins/{customPluginArn}";
@@ -131,8 +129,8 @@ const serializeAws_restJson1DeleteCustomPluginCommand = async (input, context) =
131
129
  body,
132
130
  });
133
131
  };
134
- exports.serializeAws_restJson1DeleteCustomPluginCommand = serializeAws_restJson1DeleteCustomPluginCommand;
135
- const serializeAws_restJson1DescribeConnectorCommand = async (input, context) => {
132
+ exports.se_DeleteCustomPluginCommand = se_DeleteCustomPluginCommand;
133
+ const se_DescribeConnectorCommand = async (input, context) => {
136
134
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
137
135
  const headers = {};
138
136
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors/{connectorArn}";
@@ -148,8 +146,8 @@ const serializeAws_restJson1DescribeConnectorCommand = async (input, context) =>
148
146
  body,
149
147
  });
150
148
  };
151
- exports.serializeAws_restJson1DescribeConnectorCommand = serializeAws_restJson1DescribeConnectorCommand;
152
- const serializeAws_restJson1DescribeCustomPluginCommand = async (input, context) => {
149
+ exports.se_DescribeConnectorCommand = se_DescribeConnectorCommand;
150
+ const se_DescribeCustomPluginCommand = async (input, context) => {
153
151
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
154
152
  const headers = {};
155
153
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins/{customPluginArn}";
@@ -165,8 +163,8 @@ const serializeAws_restJson1DescribeCustomPluginCommand = async (input, context)
165
163
  body,
166
164
  });
167
165
  };
168
- exports.serializeAws_restJson1DescribeCustomPluginCommand = serializeAws_restJson1DescribeCustomPluginCommand;
169
- const serializeAws_restJson1DescribeWorkerConfigurationCommand = async (input, context) => {
166
+ exports.se_DescribeCustomPluginCommand = se_DescribeCustomPluginCommand;
167
+ const se_DescribeWorkerConfigurationCommand = async (input, context) => {
170
168
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
171
169
  const headers = {};
172
170
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -183,8 +181,8 @@ const serializeAws_restJson1DescribeWorkerConfigurationCommand = async (input, c
183
181
  body,
184
182
  });
185
183
  };
186
- exports.serializeAws_restJson1DescribeWorkerConfigurationCommand = serializeAws_restJson1DescribeWorkerConfigurationCommand;
187
- const serializeAws_restJson1ListConnectorsCommand = async (input, context) => {
184
+ exports.se_DescribeWorkerConfigurationCommand = se_DescribeWorkerConfigurationCommand;
185
+ const se_ListConnectorsCommand = async (input, context) => {
188
186
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
189
187
  const headers = {};
190
188
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
@@ -205,8 +203,8 @@ const serializeAws_restJson1ListConnectorsCommand = async (input, context) => {
205
203
  body,
206
204
  });
207
205
  };
208
- exports.serializeAws_restJson1ListConnectorsCommand = serializeAws_restJson1ListConnectorsCommand;
209
- const serializeAws_restJson1ListCustomPluginsCommand = async (input, context) => {
206
+ exports.se_ListConnectorsCommand = se_ListConnectorsCommand;
207
+ const se_ListCustomPluginsCommand = async (input, context) => {
210
208
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
211
209
  const headers = {};
212
210
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins";
@@ -226,8 +224,8 @@ const serializeAws_restJson1ListCustomPluginsCommand = async (input, context) =>
226
224
  body,
227
225
  });
228
226
  };
229
- exports.serializeAws_restJson1ListCustomPluginsCommand = serializeAws_restJson1ListCustomPluginsCommand;
230
- const serializeAws_restJson1ListWorkerConfigurationsCommand = async (input, context) => {
227
+ exports.se_ListCustomPluginsCommand = se_ListCustomPluginsCommand;
228
+ const se_ListWorkerConfigurationsCommand = async (input, context) => {
231
229
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
232
230
  const headers = {};
233
231
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/worker-configurations";
@@ -247,8 +245,8 @@ const serializeAws_restJson1ListWorkerConfigurationsCommand = async (input, cont
247
245
  body,
248
246
  });
249
247
  };
250
- exports.serializeAws_restJson1ListWorkerConfigurationsCommand = serializeAws_restJson1ListWorkerConfigurationsCommand;
251
- const serializeAws_restJson1UpdateConnectorCommand = async (input, context) => {
248
+ exports.se_ListWorkerConfigurationsCommand = se_ListWorkerConfigurationsCommand;
249
+ const se_UpdateConnectorCommand = async (input, context) => {
252
250
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
253
251
  const headers = {
254
252
  "content-type": "application/json",
@@ -260,7 +258,7 @@ const serializeAws_restJson1UpdateConnectorCommand = async (input, context) => {
260
258
  });
261
259
  let body;
262
260
  body = JSON.stringify({
263
- ...(input.capacity != null && { capacity: serializeAws_restJson1CapacityUpdate(input.capacity, context) }),
261
+ ...(input.capacity != null && { capacity: se_CapacityUpdate(input.capacity, context) }),
264
262
  });
265
263
  return new protocol_http_1.HttpRequest({
266
264
  protocol,
@@ -273,10 +271,10 @@ const serializeAws_restJson1UpdateConnectorCommand = async (input, context) => {
273
271
  body,
274
272
  });
275
273
  };
276
- exports.serializeAws_restJson1UpdateConnectorCommand = serializeAws_restJson1UpdateConnectorCommand;
277
- const deserializeAws_restJson1CreateConnectorCommand = async (output, context) => {
274
+ exports.se_UpdateConnectorCommand = se_UpdateConnectorCommand;
275
+ const de_CreateConnectorCommand = async (output, context) => {
278
276
  if (output.statusCode !== 200 && output.statusCode >= 300) {
279
- return deserializeAws_restJson1CreateConnectorCommandError(output, context);
277
+ return de_CreateConnectorCommandError(output, context);
280
278
  }
281
279
  const contents = map({
282
280
  $metadata: deserializeMetadata(output),
@@ -293,8 +291,8 @@ const deserializeAws_restJson1CreateConnectorCommand = async (output, context) =
293
291
  }
294
292
  return contents;
295
293
  };
296
- exports.deserializeAws_restJson1CreateConnectorCommand = deserializeAws_restJson1CreateConnectorCommand;
297
- const deserializeAws_restJson1CreateConnectorCommandError = async (output, context) => {
294
+ exports.de_CreateConnectorCommand = de_CreateConnectorCommand;
295
+ const de_CreateConnectorCommandError = async (output, context) => {
298
296
  const parsedOutput = {
299
297
  ...output,
300
298
  body: await parseErrorBody(output.body, context),
@@ -303,28 +301,28 @@ const deserializeAws_restJson1CreateConnectorCommandError = async (output, conte
303
301
  switch (errorCode) {
304
302
  case "BadRequestException":
305
303
  case "com.amazonaws.kafkaconnect#BadRequestException":
306
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
304
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
307
305
  case "ConflictException":
308
306
  case "com.amazonaws.kafkaconnect#ConflictException":
309
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
307
+ throw await de_ConflictExceptionRes(parsedOutput, context);
310
308
  case "ForbiddenException":
311
309
  case "com.amazonaws.kafkaconnect#ForbiddenException":
312
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
310
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
313
311
  case "InternalServerErrorException":
314
312
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
315
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
313
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
316
314
  case "NotFoundException":
317
315
  case "com.amazonaws.kafkaconnect#NotFoundException":
318
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
316
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
319
317
  case "ServiceUnavailableException":
320
318
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
321
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
319
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
322
320
  case "TooManyRequestsException":
323
321
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
324
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
322
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
325
323
  case "UnauthorizedException":
326
324
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
327
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
325
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
328
326
  default:
329
327
  const parsedBody = parsedOutput.body;
330
328
  (0, smithy_client_1.throwDefaultError)({
@@ -335,9 +333,9 @@ const deserializeAws_restJson1CreateConnectorCommandError = async (output, conte
335
333
  });
336
334
  }
337
335
  };
338
- const deserializeAws_restJson1CreateCustomPluginCommand = async (output, context) => {
336
+ const de_CreateCustomPluginCommand = async (output, context) => {
339
337
  if (output.statusCode !== 200 && output.statusCode >= 300) {
340
- return deserializeAws_restJson1CreateCustomPluginCommandError(output, context);
338
+ return de_CreateCustomPluginCommandError(output, context);
341
339
  }
342
340
  const contents = map({
343
341
  $metadata: deserializeMetadata(output),
@@ -357,8 +355,8 @@ const deserializeAws_restJson1CreateCustomPluginCommand = async (output, context
357
355
  }
358
356
  return contents;
359
357
  };
360
- exports.deserializeAws_restJson1CreateCustomPluginCommand = deserializeAws_restJson1CreateCustomPluginCommand;
361
- const deserializeAws_restJson1CreateCustomPluginCommandError = async (output, context) => {
358
+ exports.de_CreateCustomPluginCommand = de_CreateCustomPluginCommand;
359
+ const de_CreateCustomPluginCommandError = async (output, context) => {
362
360
  const parsedOutput = {
363
361
  ...output,
364
362
  body: await parseErrorBody(output.body, context),
@@ -367,28 +365,28 @@ const deserializeAws_restJson1CreateCustomPluginCommandError = async (output, co
367
365
  switch (errorCode) {
368
366
  case "BadRequestException":
369
367
  case "com.amazonaws.kafkaconnect#BadRequestException":
370
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
368
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
371
369
  case "ConflictException":
372
370
  case "com.amazonaws.kafkaconnect#ConflictException":
373
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
371
+ throw await de_ConflictExceptionRes(parsedOutput, context);
374
372
  case "ForbiddenException":
375
373
  case "com.amazonaws.kafkaconnect#ForbiddenException":
376
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
374
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
377
375
  case "InternalServerErrorException":
378
376
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
379
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
377
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
380
378
  case "NotFoundException":
381
379
  case "com.amazonaws.kafkaconnect#NotFoundException":
382
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
380
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
383
381
  case "ServiceUnavailableException":
384
382
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
385
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
383
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
386
384
  case "TooManyRequestsException":
387
385
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
388
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
386
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
389
387
  case "UnauthorizedException":
390
388
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
391
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
389
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
392
390
  default:
393
391
  const parsedBody = parsedOutput.body;
394
392
  (0, smithy_client_1.throwDefaultError)({
@@ -399,9 +397,9 @@ const deserializeAws_restJson1CreateCustomPluginCommandError = async (output, co
399
397
  });
400
398
  }
401
399
  };
402
- const deserializeAws_restJson1CreateWorkerConfigurationCommand = async (output, context) => {
400
+ const de_CreateWorkerConfigurationCommand = async (output, context) => {
403
401
  if (output.statusCode !== 200 && output.statusCode >= 300) {
404
- return deserializeAws_restJson1CreateWorkerConfigurationCommandError(output, context);
402
+ return de_CreateWorkerConfigurationCommandError(output, context);
405
403
  }
406
404
  const contents = map({
407
405
  $metadata: deserializeMetadata(output),
@@ -411,7 +409,7 @@ const deserializeAws_restJson1CreateWorkerConfigurationCommand = async (output,
411
409
  contents.creationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
412
410
  }
413
411
  if (data.latestRevision != null) {
414
- contents.latestRevision = deserializeAws_restJson1WorkerConfigurationRevisionSummary(data.latestRevision, context);
412
+ contents.latestRevision = de_WorkerConfigurationRevisionSummary(data.latestRevision, context);
415
413
  }
416
414
  if (data.name != null) {
417
415
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -421,8 +419,8 @@ const deserializeAws_restJson1CreateWorkerConfigurationCommand = async (output,
421
419
  }
422
420
  return contents;
423
421
  };
424
- exports.deserializeAws_restJson1CreateWorkerConfigurationCommand = deserializeAws_restJson1CreateWorkerConfigurationCommand;
425
- const deserializeAws_restJson1CreateWorkerConfigurationCommandError = async (output, context) => {
422
+ exports.de_CreateWorkerConfigurationCommand = de_CreateWorkerConfigurationCommand;
423
+ const de_CreateWorkerConfigurationCommandError = async (output, context) => {
426
424
  const parsedOutput = {
427
425
  ...output,
428
426
  body: await parseErrorBody(output.body, context),
@@ -431,28 +429,28 @@ const deserializeAws_restJson1CreateWorkerConfigurationCommandError = async (out
431
429
  switch (errorCode) {
432
430
  case "BadRequestException":
433
431
  case "com.amazonaws.kafkaconnect#BadRequestException":
434
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
432
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
435
433
  case "ConflictException":
436
434
  case "com.amazonaws.kafkaconnect#ConflictException":
437
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
435
+ throw await de_ConflictExceptionRes(parsedOutput, context);
438
436
  case "ForbiddenException":
439
437
  case "com.amazonaws.kafkaconnect#ForbiddenException":
440
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
438
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
441
439
  case "InternalServerErrorException":
442
440
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
443
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
441
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
444
442
  case "NotFoundException":
445
443
  case "com.amazonaws.kafkaconnect#NotFoundException":
446
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
444
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
447
445
  case "ServiceUnavailableException":
448
446
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
449
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
447
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
450
448
  case "TooManyRequestsException":
451
449
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
452
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
450
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
453
451
  case "UnauthorizedException":
454
452
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
455
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
453
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
456
454
  default:
457
455
  const parsedBody = parsedOutput.body;
458
456
  (0, smithy_client_1.throwDefaultError)({
@@ -463,9 +461,9 @@ const deserializeAws_restJson1CreateWorkerConfigurationCommandError = async (out
463
461
  });
464
462
  }
465
463
  };
466
- const deserializeAws_restJson1DeleteConnectorCommand = async (output, context) => {
464
+ const de_DeleteConnectorCommand = async (output, context) => {
467
465
  if (output.statusCode !== 200 && output.statusCode >= 300) {
468
- return deserializeAws_restJson1DeleteConnectorCommandError(output, context);
466
+ return de_DeleteConnectorCommandError(output, context);
469
467
  }
470
468
  const contents = map({
471
469
  $metadata: deserializeMetadata(output),
@@ -479,8 +477,8 @@ const deserializeAws_restJson1DeleteConnectorCommand = async (output, context) =
479
477
  }
480
478
  return contents;
481
479
  };
482
- exports.deserializeAws_restJson1DeleteConnectorCommand = deserializeAws_restJson1DeleteConnectorCommand;
483
- const deserializeAws_restJson1DeleteConnectorCommandError = async (output, context) => {
480
+ exports.de_DeleteConnectorCommand = de_DeleteConnectorCommand;
481
+ const de_DeleteConnectorCommandError = async (output, context) => {
484
482
  const parsedOutput = {
485
483
  ...output,
486
484
  body: await parseErrorBody(output.body, context),
@@ -489,25 +487,25 @@ const deserializeAws_restJson1DeleteConnectorCommandError = async (output, conte
489
487
  switch (errorCode) {
490
488
  case "BadRequestException":
491
489
  case "com.amazonaws.kafkaconnect#BadRequestException":
492
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
490
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
493
491
  case "ForbiddenException":
494
492
  case "com.amazonaws.kafkaconnect#ForbiddenException":
495
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
493
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
496
494
  case "InternalServerErrorException":
497
495
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
498
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
496
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
499
497
  case "NotFoundException":
500
498
  case "com.amazonaws.kafkaconnect#NotFoundException":
501
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
499
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
502
500
  case "ServiceUnavailableException":
503
501
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
504
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
502
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
505
503
  case "TooManyRequestsException":
506
504
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
507
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
505
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
508
506
  case "UnauthorizedException":
509
507
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
510
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
508
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
511
509
  default:
512
510
  const parsedBody = parsedOutput.body;
513
511
  (0, smithy_client_1.throwDefaultError)({
@@ -518,9 +516,9 @@ const deserializeAws_restJson1DeleteConnectorCommandError = async (output, conte
518
516
  });
519
517
  }
520
518
  };
521
- const deserializeAws_restJson1DeleteCustomPluginCommand = async (output, context) => {
519
+ const de_DeleteCustomPluginCommand = async (output, context) => {
522
520
  if (output.statusCode !== 200 && output.statusCode >= 300) {
523
- return deserializeAws_restJson1DeleteCustomPluginCommandError(output, context);
521
+ return de_DeleteCustomPluginCommandError(output, context);
524
522
  }
525
523
  const contents = map({
526
524
  $metadata: deserializeMetadata(output),
@@ -534,8 +532,8 @@ const deserializeAws_restJson1DeleteCustomPluginCommand = async (output, context
534
532
  }
535
533
  return contents;
536
534
  };
537
- exports.deserializeAws_restJson1DeleteCustomPluginCommand = deserializeAws_restJson1DeleteCustomPluginCommand;
538
- const deserializeAws_restJson1DeleteCustomPluginCommandError = async (output, context) => {
535
+ exports.de_DeleteCustomPluginCommand = de_DeleteCustomPluginCommand;
536
+ const de_DeleteCustomPluginCommandError = async (output, context) => {
539
537
  const parsedOutput = {
540
538
  ...output,
541
539
  body: await parseErrorBody(output.body, context),
@@ -544,25 +542,25 @@ const deserializeAws_restJson1DeleteCustomPluginCommandError = async (output, co
544
542
  switch (errorCode) {
545
543
  case "BadRequestException":
546
544
  case "com.amazonaws.kafkaconnect#BadRequestException":
547
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
545
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
548
546
  case "ForbiddenException":
549
547
  case "com.amazonaws.kafkaconnect#ForbiddenException":
550
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
548
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
551
549
  case "InternalServerErrorException":
552
550
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
553
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
551
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
554
552
  case "NotFoundException":
555
553
  case "com.amazonaws.kafkaconnect#NotFoundException":
556
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
554
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
557
555
  case "ServiceUnavailableException":
558
556
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
559
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
557
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
560
558
  case "TooManyRequestsException":
561
559
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
562
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
560
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
563
561
  case "UnauthorizedException":
564
562
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
565
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
563
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
566
564
  default:
567
565
  const parsedBody = parsedOutput.body;
568
566
  (0, smithy_client_1.throwDefaultError)({
@@ -573,22 +571,22 @@ const deserializeAws_restJson1DeleteCustomPluginCommandError = async (output, co
573
571
  });
574
572
  }
575
573
  };
576
- const deserializeAws_restJson1DescribeConnectorCommand = async (output, context) => {
574
+ const de_DescribeConnectorCommand = async (output, context) => {
577
575
  if (output.statusCode !== 200 && output.statusCode >= 300) {
578
- return deserializeAws_restJson1DescribeConnectorCommandError(output, context);
576
+ return de_DescribeConnectorCommandError(output, context);
579
577
  }
580
578
  const contents = map({
581
579
  $metadata: deserializeMetadata(output),
582
580
  });
583
581
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
584
582
  if (data.capacity != null) {
585
- contents.capacity = deserializeAws_restJson1CapacityDescription(data.capacity, context);
583
+ contents.capacity = de_CapacityDescription(data.capacity, context);
586
584
  }
587
585
  if (data.connectorArn != null) {
588
586
  contents.connectorArn = (0, smithy_client_1.expectString)(data.connectorArn);
589
587
  }
590
588
  if (data.connectorConfiguration != null) {
591
- contents.connectorConfiguration = deserializeAws_restJson1__sensitive__mapOf__string(data.connectorConfiguration, context);
589
+ contents.connectorConfiguration = de___sensitive__mapOf__string(data.connectorConfiguration, context);
592
590
  }
593
591
  if (data.connectorDescription != null) {
594
592
  contents.connectorDescription = (0, smithy_client_1.expectString)(data.connectorDescription);
@@ -606,36 +604,36 @@ const deserializeAws_restJson1DescribeConnectorCommand = async (output, context)
606
604
  contents.currentVersion = (0, smithy_client_1.expectString)(data.currentVersion);
607
605
  }
608
606
  if (data.kafkaCluster != null) {
609
- contents.kafkaCluster = deserializeAws_restJson1KafkaClusterDescription(data.kafkaCluster, context);
607
+ contents.kafkaCluster = de_KafkaClusterDescription(data.kafkaCluster, context);
610
608
  }
611
609
  if (data.kafkaClusterClientAuthentication != null) {
612
- contents.kafkaClusterClientAuthentication = deserializeAws_restJson1KafkaClusterClientAuthenticationDescription(data.kafkaClusterClientAuthentication, context);
610
+ contents.kafkaClusterClientAuthentication = de_KafkaClusterClientAuthenticationDescription(data.kafkaClusterClientAuthentication, context);
613
611
  }
614
612
  if (data.kafkaClusterEncryptionInTransit != null) {
615
- contents.kafkaClusterEncryptionInTransit = deserializeAws_restJson1KafkaClusterEncryptionInTransitDescription(data.kafkaClusterEncryptionInTransit, context);
613
+ contents.kafkaClusterEncryptionInTransit = de_KafkaClusterEncryptionInTransitDescription(data.kafkaClusterEncryptionInTransit, context);
616
614
  }
617
615
  if (data.kafkaConnectVersion != null) {
618
616
  contents.kafkaConnectVersion = (0, smithy_client_1.expectString)(data.kafkaConnectVersion);
619
617
  }
620
618
  if (data.logDelivery != null) {
621
- contents.logDelivery = deserializeAws_restJson1LogDeliveryDescription(data.logDelivery, context);
619
+ contents.logDelivery = de_LogDeliveryDescription(data.logDelivery, context);
622
620
  }
623
621
  if (data.plugins != null) {
624
- contents.plugins = deserializeAws_restJson1__listOfPluginDescription(data.plugins, context);
622
+ contents.plugins = de___listOfPluginDescription(data.plugins, context);
625
623
  }
626
624
  if (data.serviceExecutionRoleArn != null) {
627
625
  contents.serviceExecutionRoleArn = (0, smithy_client_1.expectString)(data.serviceExecutionRoleArn);
628
626
  }
629
627
  if (data.stateDescription != null) {
630
- contents.stateDescription = deserializeAws_restJson1StateDescription(data.stateDescription, context);
628
+ contents.stateDescription = de_StateDescription(data.stateDescription, context);
631
629
  }
632
630
  if (data.workerConfiguration != null) {
633
- contents.workerConfiguration = deserializeAws_restJson1WorkerConfigurationDescription(data.workerConfiguration, context);
631
+ contents.workerConfiguration = de_WorkerConfigurationDescription(data.workerConfiguration, context);
634
632
  }
635
633
  return contents;
636
634
  };
637
- exports.deserializeAws_restJson1DescribeConnectorCommand = deserializeAws_restJson1DescribeConnectorCommand;
638
- const deserializeAws_restJson1DescribeConnectorCommandError = async (output, context) => {
635
+ exports.de_DescribeConnectorCommand = de_DescribeConnectorCommand;
636
+ const de_DescribeConnectorCommandError = async (output, context) => {
639
637
  const parsedOutput = {
640
638
  ...output,
641
639
  body: await parseErrorBody(output.body, context),
@@ -644,25 +642,25 @@ const deserializeAws_restJson1DescribeConnectorCommandError = async (output, con
644
642
  switch (errorCode) {
645
643
  case "BadRequestException":
646
644
  case "com.amazonaws.kafkaconnect#BadRequestException":
647
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
645
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
648
646
  case "ForbiddenException":
649
647
  case "com.amazonaws.kafkaconnect#ForbiddenException":
650
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
648
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
651
649
  case "InternalServerErrorException":
652
650
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
653
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
651
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
654
652
  case "NotFoundException":
655
653
  case "com.amazonaws.kafkaconnect#NotFoundException":
656
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
654
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
657
655
  case "ServiceUnavailableException":
658
656
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
659
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
657
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
660
658
  case "TooManyRequestsException":
661
659
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
662
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
660
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
663
661
  case "UnauthorizedException":
664
662
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
665
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
663
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
666
664
  default:
667
665
  const parsedBody = parsedOutput.body;
668
666
  (0, smithy_client_1.throwDefaultError)({
@@ -673,9 +671,9 @@ const deserializeAws_restJson1DescribeConnectorCommandError = async (output, con
673
671
  });
674
672
  }
675
673
  };
676
- const deserializeAws_restJson1DescribeCustomPluginCommand = async (output, context) => {
674
+ const de_DescribeCustomPluginCommand = async (output, context) => {
677
675
  if (output.statusCode !== 200 && output.statusCode >= 300) {
678
- return deserializeAws_restJson1DescribeCustomPluginCommandError(output, context);
676
+ return de_DescribeCustomPluginCommandError(output, context);
679
677
  }
680
678
  const contents = map({
681
679
  $metadata: deserializeMetadata(output),
@@ -694,18 +692,18 @@ const deserializeAws_restJson1DescribeCustomPluginCommand = async (output, conte
694
692
  contents.description = (0, smithy_client_1.expectString)(data.description);
695
693
  }
696
694
  if (data.latestRevision != null) {
697
- contents.latestRevision = deserializeAws_restJson1CustomPluginRevisionSummary(data.latestRevision, context);
695
+ contents.latestRevision = de_CustomPluginRevisionSummary(data.latestRevision, context);
698
696
  }
699
697
  if (data.name != null) {
700
698
  contents.name = (0, smithy_client_1.expectString)(data.name);
701
699
  }
702
700
  if (data.stateDescription != null) {
703
- contents.stateDescription = deserializeAws_restJson1StateDescription(data.stateDescription, context);
701
+ contents.stateDescription = de_StateDescription(data.stateDescription, context);
704
702
  }
705
703
  return contents;
706
704
  };
707
- exports.deserializeAws_restJson1DescribeCustomPluginCommand = deserializeAws_restJson1DescribeCustomPluginCommand;
708
- const deserializeAws_restJson1DescribeCustomPluginCommandError = async (output, context) => {
705
+ exports.de_DescribeCustomPluginCommand = de_DescribeCustomPluginCommand;
706
+ const de_DescribeCustomPluginCommandError = async (output, context) => {
709
707
  const parsedOutput = {
710
708
  ...output,
711
709
  body: await parseErrorBody(output.body, context),
@@ -714,25 +712,25 @@ const deserializeAws_restJson1DescribeCustomPluginCommandError = async (output,
714
712
  switch (errorCode) {
715
713
  case "BadRequestException":
716
714
  case "com.amazonaws.kafkaconnect#BadRequestException":
717
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
715
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
718
716
  case "ForbiddenException":
719
717
  case "com.amazonaws.kafkaconnect#ForbiddenException":
720
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
718
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
721
719
  case "InternalServerErrorException":
722
720
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
723
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
721
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
724
722
  case "NotFoundException":
725
723
  case "com.amazonaws.kafkaconnect#NotFoundException":
726
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
724
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
727
725
  case "ServiceUnavailableException":
728
726
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
729
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
727
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
730
728
  case "TooManyRequestsException":
731
729
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
732
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
730
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
733
731
  case "UnauthorizedException":
734
732
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
735
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
733
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
736
734
  default:
737
735
  const parsedBody = parsedOutput.body;
738
736
  (0, smithy_client_1.throwDefaultError)({
@@ -743,9 +741,9 @@ const deserializeAws_restJson1DescribeCustomPluginCommandError = async (output,
743
741
  });
744
742
  }
745
743
  };
746
- const deserializeAws_restJson1DescribeWorkerConfigurationCommand = async (output, context) => {
744
+ const de_DescribeWorkerConfigurationCommand = async (output, context) => {
747
745
  if (output.statusCode !== 200 && output.statusCode >= 300) {
748
- return deserializeAws_restJson1DescribeWorkerConfigurationCommandError(output, context);
746
+ return de_DescribeWorkerConfigurationCommandError(output, context);
749
747
  }
750
748
  const contents = map({
751
749
  $metadata: deserializeMetadata(output),
@@ -758,7 +756,7 @@ const deserializeAws_restJson1DescribeWorkerConfigurationCommand = async (output
758
756
  contents.description = (0, smithy_client_1.expectString)(data.description);
759
757
  }
760
758
  if (data.latestRevision != null) {
761
- contents.latestRevision = deserializeAws_restJson1WorkerConfigurationRevisionDescription(data.latestRevision, context);
759
+ contents.latestRevision = de_WorkerConfigurationRevisionDescription(data.latestRevision, context);
762
760
  }
763
761
  if (data.name != null) {
764
762
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -768,8 +766,8 @@ const deserializeAws_restJson1DescribeWorkerConfigurationCommand = async (output
768
766
  }
769
767
  return contents;
770
768
  };
771
- exports.deserializeAws_restJson1DescribeWorkerConfigurationCommand = deserializeAws_restJson1DescribeWorkerConfigurationCommand;
772
- const deserializeAws_restJson1DescribeWorkerConfigurationCommandError = async (output, context) => {
769
+ exports.de_DescribeWorkerConfigurationCommand = de_DescribeWorkerConfigurationCommand;
770
+ const de_DescribeWorkerConfigurationCommandError = async (output, context) => {
773
771
  const parsedOutput = {
774
772
  ...output,
775
773
  body: await parseErrorBody(output.body, context),
@@ -778,25 +776,25 @@ const deserializeAws_restJson1DescribeWorkerConfigurationCommandError = async (o
778
776
  switch (errorCode) {
779
777
  case "BadRequestException":
780
778
  case "com.amazonaws.kafkaconnect#BadRequestException":
781
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
779
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
782
780
  case "ForbiddenException":
783
781
  case "com.amazonaws.kafkaconnect#ForbiddenException":
784
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
782
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
785
783
  case "InternalServerErrorException":
786
784
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
787
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
785
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
788
786
  case "NotFoundException":
789
787
  case "com.amazonaws.kafkaconnect#NotFoundException":
790
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
788
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
791
789
  case "ServiceUnavailableException":
792
790
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
793
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
791
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
794
792
  case "TooManyRequestsException":
795
793
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
796
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
794
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
797
795
  case "UnauthorizedException":
798
796
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
799
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
797
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
800
798
  default:
801
799
  const parsedBody = parsedOutput.body;
802
800
  (0, smithy_client_1.throwDefaultError)({
@@ -807,24 +805,24 @@ const deserializeAws_restJson1DescribeWorkerConfigurationCommandError = async (o
807
805
  });
808
806
  }
809
807
  };
810
- const deserializeAws_restJson1ListConnectorsCommand = async (output, context) => {
808
+ const de_ListConnectorsCommand = async (output, context) => {
811
809
  if (output.statusCode !== 200 && output.statusCode >= 300) {
812
- return deserializeAws_restJson1ListConnectorsCommandError(output, context);
810
+ return de_ListConnectorsCommandError(output, context);
813
811
  }
814
812
  const contents = map({
815
813
  $metadata: deserializeMetadata(output),
816
814
  });
817
815
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
818
816
  if (data.connectors != null) {
819
- contents.connectors = deserializeAws_restJson1__listOfConnectorSummary(data.connectors, context);
817
+ contents.connectors = de___listOfConnectorSummary(data.connectors, context);
820
818
  }
821
819
  if (data.nextToken != null) {
822
820
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
823
821
  }
824
822
  return contents;
825
823
  };
826
- exports.deserializeAws_restJson1ListConnectorsCommand = deserializeAws_restJson1ListConnectorsCommand;
827
- const deserializeAws_restJson1ListConnectorsCommandError = async (output, context) => {
824
+ exports.de_ListConnectorsCommand = de_ListConnectorsCommand;
825
+ const de_ListConnectorsCommandError = async (output, context) => {
828
826
  const parsedOutput = {
829
827
  ...output,
830
828
  body: await parseErrorBody(output.body, context),
@@ -833,25 +831,25 @@ const deserializeAws_restJson1ListConnectorsCommandError = async (output, contex
833
831
  switch (errorCode) {
834
832
  case "BadRequestException":
835
833
  case "com.amazonaws.kafkaconnect#BadRequestException":
836
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
834
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
837
835
  case "ForbiddenException":
838
836
  case "com.amazonaws.kafkaconnect#ForbiddenException":
839
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
837
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
840
838
  case "InternalServerErrorException":
841
839
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
842
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
840
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
843
841
  case "NotFoundException":
844
842
  case "com.amazonaws.kafkaconnect#NotFoundException":
845
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
843
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
846
844
  case "ServiceUnavailableException":
847
845
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
848
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
846
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
849
847
  case "TooManyRequestsException":
850
848
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
851
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
849
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
852
850
  case "UnauthorizedException":
853
851
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
854
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
852
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
855
853
  default:
856
854
  const parsedBody = parsedOutput.body;
857
855
  (0, smithy_client_1.throwDefaultError)({
@@ -862,24 +860,24 @@ const deserializeAws_restJson1ListConnectorsCommandError = async (output, contex
862
860
  });
863
861
  }
864
862
  };
865
- const deserializeAws_restJson1ListCustomPluginsCommand = async (output, context) => {
863
+ const de_ListCustomPluginsCommand = async (output, context) => {
866
864
  if (output.statusCode !== 200 && output.statusCode >= 300) {
867
- return deserializeAws_restJson1ListCustomPluginsCommandError(output, context);
865
+ return de_ListCustomPluginsCommandError(output, context);
868
866
  }
869
867
  const contents = map({
870
868
  $metadata: deserializeMetadata(output),
871
869
  });
872
870
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
873
871
  if (data.customPlugins != null) {
874
- contents.customPlugins = deserializeAws_restJson1__listOfCustomPluginSummary(data.customPlugins, context);
872
+ contents.customPlugins = de___listOfCustomPluginSummary(data.customPlugins, context);
875
873
  }
876
874
  if (data.nextToken != null) {
877
875
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
878
876
  }
879
877
  return contents;
880
878
  };
881
- exports.deserializeAws_restJson1ListCustomPluginsCommand = deserializeAws_restJson1ListCustomPluginsCommand;
882
- const deserializeAws_restJson1ListCustomPluginsCommandError = async (output, context) => {
879
+ exports.de_ListCustomPluginsCommand = de_ListCustomPluginsCommand;
880
+ const de_ListCustomPluginsCommandError = async (output, context) => {
883
881
  const parsedOutput = {
884
882
  ...output,
885
883
  body: await parseErrorBody(output.body, context),
@@ -888,25 +886,25 @@ const deserializeAws_restJson1ListCustomPluginsCommandError = async (output, con
888
886
  switch (errorCode) {
889
887
  case "BadRequestException":
890
888
  case "com.amazonaws.kafkaconnect#BadRequestException":
891
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
889
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
892
890
  case "ForbiddenException":
893
891
  case "com.amazonaws.kafkaconnect#ForbiddenException":
894
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
892
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
895
893
  case "InternalServerErrorException":
896
894
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
897
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
895
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
898
896
  case "NotFoundException":
899
897
  case "com.amazonaws.kafkaconnect#NotFoundException":
900
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
898
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
901
899
  case "ServiceUnavailableException":
902
900
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
903
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
901
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
904
902
  case "TooManyRequestsException":
905
903
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
906
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
904
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
907
905
  case "UnauthorizedException":
908
906
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
909
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
907
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
910
908
  default:
911
909
  const parsedBody = parsedOutput.body;
912
910
  (0, smithy_client_1.throwDefaultError)({
@@ -917,9 +915,9 @@ const deserializeAws_restJson1ListCustomPluginsCommandError = async (output, con
917
915
  });
918
916
  }
919
917
  };
920
- const deserializeAws_restJson1ListWorkerConfigurationsCommand = async (output, context) => {
918
+ const de_ListWorkerConfigurationsCommand = async (output, context) => {
921
919
  if (output.statusCode !== 200 && output.statusCode >= 300) {
922
- return deserializeAws_restJson1ListWorkerConfigurationsCommandError(output, context);
920
+ return de_ListWorkerConfigurationsCommandError(output, context);
923
921
  }
924
922
  const contents = map({
925
923
  $metadata: deserializeMetadata(output),
@@ -929,12 +927,12 @@ const deserializeAws_restJson1ListWorkerConfigurationsCommand = async (output, c
929
927
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
930
928
  }
931
929
  if (data.workerConfigurations != null) {
932
- contents.workerConfigurations = deserializeAws_restJson1__listOfWorkerConfigurationSummary(data.workerConfigurations, context);
930
+ contents.workerConfigurations = de___listOfWorkerConfigurationSummary(data.workerConfigurations, context);
933
931
  }
934
932
  return contents;
935
933
  };
936
- exports.deserializeAws_restJson1ListWorkerConfigurationsCommand = deserializeAws_restJson1ListWorkerConfigurationsCommand;
937
- const deserializeAws_restJson1ListWorkerConfigurationsCommandError = async (output, context) => {
934
+ exports.de_ListWorkerConfigurationsCommand = de_ListWorkerConfigurationsCommand;
935
+ const de_ListWorkerConfigurationsCommandError = async (output, context) => {
938
936
  const parsedOutput = {
939
937
  ...output,
940
938
  body: await parseErrorBody(output.body, context),
@@ -943,25 +941,25 @@ const deserializeAws_restJson1ListWorkerConfigurationsCommandError = async (outp
943
941
  switch (errorCode) {
944
942
  case "BadRequestException":
945
943
  case "com.amazonaws.kafkaconnect#BadRequestException":
946
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
944
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
947
945
  case "ForbiddenException":
948
946
  case "com.amazonaws.kafkaconnect#ForbiddenException":
949
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
947
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
950
948
  case "InternalServerErrorException":
951
949
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
952
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
950
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
953
951
  case "NotFoundException":
954
952
  case "com.amazonaws.kafkaconnect#NotFoundException":
955
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
953
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
956
954
  case "ServiceUnavailableException":
957
955
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
958
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
956
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
959
957
  case "TooManyRequestsException":
960
958
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
961
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
959
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
962
960
  case "UnauthorizedException":
963
961
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
964
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
962
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
965
963
  default:
966
964
  const parsedBody = parsedOutput.body;
967
965
  (0, smithy_client_1.throwDefaultError)({
@@ -972,9 +970,9 @@ const deserializeAws_restJson1ListWorkerConfigurationsCommandError = async (outp
972
970
  });
973
971
  }
974
972
  };
975
- const deserializeAws_restJson1UpdateConnectorCommand = async (output, context) => {
973
+ const de_UpdateConnectorCommand = async (output, context) => {
976
974
  if (output.statusCode !== 200 && output.statusCode >= 300) {
977
- return deserializeAws_restJson1UpdateConnectorCommandError(output, context);
975
+ return de_UpdateConnectorCommandError(output, context);
978
976
  }
979
977
  const contents = map({
980
978
  $metadata: deserializeMetadata(output),
@@ -988,8 +986,8 @@ const deserializeAws_restJson1UpdateConnectorCommand = async (output, context) =
988
986
  }
989
987
  return contents;
990
988
  };
991
- exports.deserializeAws_restJson1UpdateConnectorCommand = deserializeAws_restJson1UpdateConnectorCommand;
992
- const deserializeAws_restJson1UpdateConnectorCommandError = async (output, context) => {
989
+ exports.de_UpdateConnectorCommand = de_UpdateConnectorCommand;
990
+ const de_UpdateConnectorCommandError = async (output, context) => {
993
991
  const parsedOutput = {
994
992
  ...output,
995
993
  body: await parseErrorBody(output.body, context),
@@ -998,25 +996,25 @@ const deserializeAws_restJson1UpdateConnectorCommandError = async (output, conte
998
996
  switch (errorCode) {
999
997
  case "BadRequestException":
1000
998
  case "com.amazonaws.kafkaconnect#BadRequestException":
1001
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
999
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1002
1000
  case "ForbiddenException":
1003
1001
  case "com.amazonaws.kafkaconnect#ForbiddenException":
1004
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1002
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1005
1003
  case "InternalServerErrorException":
1006
1004
  case "com.amazonaws.kafkaconnect#InternalServerErrorException":
1007
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1005
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1008
1006
  case "NotFoundException":
1009
1007
  case "com.amazonaws.kafkaconnect#NotFoundException":
1010
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1008
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1011
1009
  case "ServiceUnavailableException":
1012
1010
  case "com.amazonaws.kafkaconnect#ServiceUnavailableException":
1013
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1011
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1014
1012
  case "TooManyRequestsException":
1015
1013
  case "com.amazonaws.kafkaconnect#TooManyRequestsException":
1016
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1014
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1017
1015
  case "UnauthorizedException":
1018
1016
  case "com.amazonaws.kafkaconnect#UnauthorizedException":
1019
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1017
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1020
1018
  default:
1021
1019
  const parsedBody = parsedOutput.body;
1022
1020
  (0, smithy_client_1.throwDefaultError)({
@@ -1028,7 +1026,7 @@ const deserializeAws_restJson1UpdateConnectorCommandError = async (output, conte
1028
1026
  }
1029
1027
  };
1030
1028
  const map = smithy_client_1.map;
1031
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
1029
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1032
1030
  const contents = map({});
1033
1031
  const data = parsedOutput.body;
1034
1032
  if (data.message != null) {
@@ -1040,7 +1038,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
1040
1038
  });
1041
1039
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1042
1040
  };
1043
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1041
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1044
1042
  const contents = map({});
1045
1043
  const data = parsedOutput.body;
1046
1044
  if (data.message != null) {
@@ -1052,7 +1050,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1052
1050
  });
1053
1051
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1054
1052
  };
1055
- const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
1053
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1056
1054
  const contents = map({});
1057
1055
  const data = parsedOutput.body;
1058
1056
  if (data.message != null) {
@@ -1064,7 +1062,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
1064
1062
  });
1065
1063
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1066
1064
  };
1067
- const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
1065
+ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
1068
1066
  const contents = map({});
1069
1067
  const data = parsedOutput.body;
1070
1068
  if (data.message != null) {
@@ -1076,7 +1074,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
1076
1074
  });
1077
1075
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1078
1076
  };
1079
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1077
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1080
1078
  const contents = map({});
1081
1079
  const data = parsedOutput.body;
1082
1080
  if (data.message != null) {
@@ -1088,7 +1086,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1088
1086
  });
1089
1087
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1090
1088
  };
1091
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
1089
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1092
1090
  const contents = map({});
1093
1091
  const data = parsedOutput.body;
1094
1092
  if (data.message != null) {
@@ -1100,7 +1098,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
1100
1098
  });
1101
1099
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1102
1100
  };
1103
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1101
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1104
1102
  const contents = map({});
1105
1103
  const data = parsedOutput.body;
1106
1104
  if (data.message != null) {
@@ -1112,7 +1110,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
1112
1110
  });
1113
1111
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1114
1112
  };
1115
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
1113
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
1116
1114
  const contents = map({});
1117
1115
  const data = parsedOutput.body;
1118
1116
  if (data.message != null) {
@@ -1124,21 +1122,21 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
1124
1122
  });
1125
1123
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1126
1124
  };
1127
- const serializeAws_restJson1__listOf__string = (input, context) => {
1125
+ const se___listOf__string = (input, context) => {
1128
1126
  return input
1129
1127
  .filter((e) => e != null)
1130
1128
  .map((entry) => {
1131
1129
  return entry;
1132
1130
  });
1133
1131
  };
1134
- const serializeAws_restJson1__listOfPlugin = (input, context) => {
1132
+ const se___listOfPlugin = (input, context) => {
1135
1133
  return input
1136
1134
  .filter((e) => e != null)
1137
1135
  .map((entry) => {
1138
- return serializeAws_restJson1Plugin(entry, context);
1136
+ return se_Plugin(entry, context);
1139
1137
  });
1140
1138
  };
1141
- const serializeAws_restJson1__sensitive__mapOf__string = (input, context) => {
1139
+ const se___sensitive__mapOf__string = (input, context) => {
1142
1140
  return Object.entries(input).reduce((acc, [key, value]) => {
1143
1141
  if (value === null) {
1144
1142
  return acc;
@@ -1147,180 +1145,166 @@ const serializeAws_restJson1__sensitive__mapOf__string = (input, context) => {
1147
1145
  return acc;
1148
1146
  }, {});
1149
1147
  };
1150
- const serializeAws_restJson1ApacheKafkaCluster = (input, context) => {
1148
+ const se_ApacheKafkaCluster = (input, context) => {
1151
1149
  return {
1152
1150
  ...(input.bootstrapServers != null && { bootstrapServers: input.bootstrapServers }),
1153
- ...(input.vpc != null && { vpc: serializeAws_restJson1Vpc(input.vpc, context) }),
1151
+ ...(input.vpc != null && { vpc: se_Vpc(input.vpc, context) }),
1154
1152
  };
1155
1153
  };
1156
- const serializeAws_restJson1AutoScaling = (input, context) => {
1154
+ const se_AutoScaling = (input, context) => {
1157
1155
  return {
1158
1156
  ...(input.maxWorkerCount != null && { maxWorkerCount: input.maxWorkerCount }),
1159
1157
  ...(input.mcuCount != null && { mcuCount: input.mcuCount }),
1160
1158
  ...(input.minWorkerCount != null && { minWorkerCount: input.minWorkerCount }),
1161
- ...(input.scaleInPolicy != null && {
1162
- scaleInPolicy: serializeAws_restJson1ScaleInPolicy(input.scaleInPolicy, context),
1163
- }),
1164
- ...(input.scaleOutPolicy != null && {
1165
- scaleOutPolicy: serializeAws_restJson1ScaleOutPolicy(input.scaleOutPolicy, context),
1166
- }),
1159
+ ...(input.scaleInPolicy != null && { scaleInPolicy: se_ScaleInPolicy(input.scaleInPolicy, context) }),
1160
+ ...(input.scaleOutPolicy != null && { scaleOutPolicy: se_ScaleOutPolicy(input.scaleOutPolicy, context) }),
1167
1161
  };
1168
1162
  };
1169
- const serializeAws_restJson1AutoScalingUpdate = (input, context) => {
1163
+ const se_AutoScalingUpdate = (input, context) => {
1170
1164
  return {
1171
1165
  ...(input.maxWorkerCount != null && { maxWorkerCount: input.maxWorkerCount }),
1172
1166
  ...(input.mcuCount != null && { mcuCount: input.mcuCount }),
1173
1167
  ...(input.minWorkerCount != null && { minWorkerCount: input.minWorkerCount }),
1174
- ...(input.scaleInPolicy != null && {
1175
- scaleInPolicy: serializeAws_restJson1ScaleInPolicyUpdate(input.scaleInPolicy, context),
1176
- }),
1177
- ...(input.scaleOutPolicy != null && {
1178
- scaleOutPolicy: serializeAws_restJson1ScaleOutPolicyUpdate(input.scaleOutPolicy, context),
1179
- }),
1168
+ ...(input.scaleInPolicy != null && { scaleInPolicy: se_ScaleInPolicyUpdate(input.scaleInPolicy, context) }),
1169
+ ...(input.scaleOutPolicy != null && { scaleOutPolicy: se_ScaleOutPolicyUpdate(input.scaleOutPolicy, context) }),
1180
1170
  };
1181
1171
  };
1182
- const serializeAws_restJson1Capacity = (input, context) => {
1172
+ const se_Capacity = (input, context) => {
1183
1173
  return {
1184
- ...(input.autoScaling != null && { autoScaling: serializeAws_restJson1AutoScaling(input.autoScaling, context) }),
1174
+ ...(input.autoScaling != null && { autoScaling: se_AutoScaling(input.autoScaling, context) }),
1185
1175
  ...(input.provisionedCapacity != null && {
1186
- provisionedCapacity: serializeAws_restJson1ProvisionedCapacity(input.provisionedCapacity, context),
1176
+ provisionedCapacity: se_ProvisionedCapacity(input.provisionedCapacity, context),
1187
1177
  }),
1188
1178
  };
1189
1179
  };
1190
- const serializeAws_restJson1CapacityUpdate = (input, context) => {
1180
+ const se_CapacityUpdate = (input, context) => {
1191
1181
  return {
1192
- ...(input.autoScaling != null && {
1193
- autoScaling: serializeAws_restJson1AutoScalingUpdate(input.autoScaling, context),
1194
- }),
1182
+ ...(input.autoScaling != null && { autoScaling: se_AutoScalingUpdate(input.autoScaling, context) }),
1195
1183
  ...(input.provisionedCapacity != null && {
1196
- provisionedCapacity: serializeAws_restJson1ProvisionedCapacityUpdate(input.provisionedCapacity, context),
1184
+ provisionedCapacity: se_ProvisionedCapacityUpdate(input.provisionedCapacity, context),
1197
1185
  }),
1198
1186
  };
1199
1187
  };
1200
- const serializeAws_restJson1CloudWatchLogsLogDelivery = (input, context) => {
1188
+ const se_CloudWatchLogsLogDelivery = (input, context) => {
1201
1189
  return {
1202
1190
  ...(input.enabled != null && { enabled: input.enabled }),
1203
1191
  ...(input.logGroup != null && { logGroup: input.logGroup }),
1204
1192
  };
1205
1193
  };
1206
- const serializeAws_restJson1CustomPlugin = (input, context) => {
1194
+ const se_CustomPlugin = (input, context) => {
1207
1195
  return {
1208
1196
  ...(input.customPluginArn != null && { customPluginArn: input.customPluginArn }),
1209
1197
  ...(input.revision != null && { revision: input.revision }),
1210
1198
  };
1211
1199
  };
1212
- const serializeAws_restJson1CustomPluginLocation = (input, context) => {
1200
+ const se_CustomPluginLocation = (input, context) => {
1213
1201
  return {
1214
- ...(input.s3Location != null && { s3Location: serializeAws_restJson1S3Location(input.s3Location, context) }),
1202
+ ...(input.s3Location != null && { s3Location: se_S3Location(input.s3Location, context) }),
1215
1203
  };
1216
1204
  };
1217
- const serializeAws_restJson1FirehoseLogDelivery = (input, context) => {
1205
+ const se_FirehoseLogDelivery = (input, context) => {
1218
1206
  return {
1219
1207
  ...(input.deliveryStream != null && { deliveryStream: input.deliveryStream }),
1220
1208
  ...(input.enabled != null && { enabled: input.enabled }),
1221
1209
  };
1222
1210
  };
1223
- const serializeAws_restJson1KafkaCluster = (input, context) => {
1211
+ const se_KafkaCluster = (input, context) => {
1224
1212
  return {
1225
1213
  ...(input.apacheKafkaCluster != null && {
1226
- apacheKafkaCluster: serializeAws_restJson1ApacheKafkaCluster(input.apacheKafkaCluster, context),
1214
+ apacheKafkaCluster: se_ApacheKafkaCluster(input.apacheKafkaCluster, context),
1227
1215
  }),
1228
1216
  };
1229
1217
  };
1230
- const serializeAws_restJson1KafkaClusterClientAuthentication = (input, context) => {
1218
+ const se_KafkaClusterClientAuthentication = (input, context) => {
1231
1219
  return {
1232
1220
  ...(input.authenticationType != null && { authenticationType: input.authenticationType }),
1233
1221
  };
1234
1222
  };
1235
- const serializeAws_restJson1KafkaClusterEncryptionInTransit = (input, context) => {
1223
+ const se_KafkaClusterEncryptionInTransit = (input, context) => {
1236
1224
  return {
1237
1225
  ...(input.encryptionType != null && { encryptionType: input.encryptionType }),
1238
1226
  };
1239
1227
  };
1240
- const serializeAws_restJson1LogDelivery = (input, context) => {
1228
+ const se_LogDelivery = (input, context) => {
1241
1229
  return {
1242
1230
  ...(input.workerLogDelivery != null && {
1243
- workerLogDelivery: serializeAws_restJson1WorkerLogDelivery(input.workerLogDelivery, context),
1231
+ workerLogDelivery: se_WorkerLogDelivery(input.workerLogDelivery, context),
1244
1232
  }),
1245
1233
  };
1246
1234
  };
1247
- const serializeAws_restJson1Plugin = (input, context) => {
1235
+ const se_Plugin = (input, context) => {
1248
1236
  return {
1249
- ...(input.customPlugin != null && {
1250
- customPlugin: serializeAws_restJson1CustomPlugin(input.customPlugin, context),
1251
- }),
1237
+ ...(input.customPlugin != null && { customPlugin: se_CustomPlugin(input.customPlugin, context) }),
1252
1238
  };
1253
1239
  };
1254
- const serializeAws_restJson1ProvisionedCapacity = (input, context) => {
1240
+ const se_ProvisionedCapacity = (input, context) => {
1255
1241
  return {
1256
1242
  ...(input.mcuCount != null && { mcuCount: input.mcuCount }),
1257
1243
  ...(input.workerCount != null && { workerCount: input.workerCount }),
1258
1244
  };
1259
1245
  };
1260
- const serializeAws_restJson1ProvisionedCapacityUpdate = (input, context) => {
1246
+ const se_ProvisionedCapacityUpdate = (input, context) => {
1261
1247
  return {
1262
1248
  ...(input.mcuCount != null && { mcuCount: input.mcuCount }),
1263
1249
  ...(input.workerCount != null && { workerCount: input.workerCount }),
1264
1250
  };
1265
1251
  };
1266
- const serializeAws_restJson1S3Location = (input, context) => {
1252
+ const se_S3Location = (input, context) => {
1267
1253
  return {
1268
1254
  ...(input.bucketArn != null && { bucketArn: input.bucketArn }),
1269
1255
  ...(input.fileKey != null && { fileKey: input.fileKey }),
1270
1256
  ...(input.objectVersion != null && { objectVersion: input.objectVersion }),
1271
1257
  };
1272
1258
  };
1273
- const serializeAws_restJson1S3LogDelivery = (input, context) => {
1259
+ const se_S3LogDelivery = (input, context) => {
1274
1260
  return {
1275
1261
  ...(input.bucket != null && { bucket: input.bucket }),
1276
1262
  ...(input.enabled != null && { enabled: input.enabled }),
1277
1263
  ...(input.prefix != null && { prefix: input.prefix }),
1278
1264
  };
1279
1265
  };
1280
- const serializeAws_restJson1ScaleInPolicy = (input, context) => {
1266
+ const se_ScaleInPolicy = (input, context) => {
1281
1267
  return {
1282
1268
  ...(input.cpuUtilizationPercentage != null && { cpuUtilizationPercentage: input.cpuUtilizationPercentage }),
1283
1269
  };
1284
1270
  };
1285
- const serializeAws_restJson1ScaleInPolicyUpdate = (input, context) => {
1271
+ const se_ScaleInPolicyUpdate = (input, context) => {
1286
1272
  return {
1287
1273
  ...(input.cpuUtilizationPercentage != null && { cpuUtilizationPercentage: input.cpuUtilizationPercentage }),
1288
1274
  };
1289
1275
  };
1290
- const serializeAws_restJson1ScaleOutPolicy = (input, context) => {
1276
+ const se_ScaleOutPolicy = (input, context) => {
1291
1277
  return {
1292
1278
  ...(input.cpuUtilizationPercentage != null && { cpuUtilizationPercentage: input.cpuUtilizationPercentage }),
1293
1279
  };
1294
1280
  };
1295
- const serializeAws_restJson1ScaleOutPolicyUpdate = (input, context) => {
1281
+ const se_ScaleOutPolicyUpdate = (input, context) => {
1296
1282
  return {
1297
1283
  ...(input.cpuUtilizationPercentage != null && { cpuUtilizationPercentage: input.cpuUtilizationPercentage }),
1298
1284
  };
1299
1285
  };
1300
- const serializeAws_restJson1Vpc = (input, context) => {
1286
+ const se_Vpc = (input, context) => {
1301
1287
  return {
1302
- ...(input.securityGroups != null && {
1303
- securityGroups: serializeAws_restJson1__listOf__string(input.securityGroups, context),
1304
- }),
1305
- ...(input.subnets != null && { subnets: serializeAws_restJson1__listOf__string(input.subnets, context) }),
1288
+ ...(input.securityGroups != null && { securityGroups: se___listOf__string(input.securityGroups, context) }),
1289
+ ...(input.subnets != null && { subnets: se___listOf__string(input.subnets, context) }),
1306
1290
  };
1307
1291
  };
1308
- const serializeAws_restJson1WorkerConfiguration = (input, context) => {
1292
+ const se_WorkerConfiguration = (input, context) => {
1309
1293
  return {
1310
1294
  ...(input.revision != null && { revision: input.revision }),
1311
1295
  ...(input.workerConfigurationArn != null && { workerConfigurationArn: input.workerConfigurationArn }),
1312
1296
  };
1313
1297
  };
1314
- const serializeAws_restJson1WorkerLogDelivery = (input, context) => {
1298
+ const se_WorkerLogDelivery = (input, context) => {
1315
1299
  return {
1316
1300
  ...(input.cloudWatchLogs != null && {
1317
- cloudWatchLogs: serializeAws_restJson1CloudWatchLogsLogDelivery(input.cloudWatchLogs, context),
1301
+ cloudWatchLogs: se_CloudWatchLogsLogDelivery(input.cloudWatchLogs, context),
1318
1302
  }),
1319
- ...(input.firehose != null && { firehose: serializeAws_restJson1FirehoseLogDelivery(input.firehose, context) }),
1320
- ...(input.s3 != null && { s3: serializeAws_restJson1S3LogDelivery(input.s3, context) }),
1303
+ ...(input.firehose != null && { firehose: se_FirehoseLogDelivery(input.firehose, context) }),
1304
+ ...(input.s3 != null && { s3: se_S3LogDelivery(input.s3, context) }),
1321
1305
  };
1322
1306
  };
1323
- const deserializeAws_restJson1__listOf__string = (output, context) => {
1307
+ const de___listOf__string = (output, context) => {
1324
1308
  const retVal = (output || [])
1325
1309
  .filter((e) => e != null)
1326
1310
  .map((entry) => {
@@ -1331,51 +1315,51 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
1331
1315
  });
1332
1316
  return retVal;
1333
1317
  };
1334
- const deserializeAws_restJson1__listOfConnectorSummary = (output, context) => {
1318
+ const de___listOfConnectorSummary = (output, context) => {
1335
1319
  const retVal = (output || [])
1336
1320
  .filter((e) => e != null)
1337
1321
  .map((entry) => {
1338
1322
  if (entry === null) {
1339
1323
  return null;
1340
1324
  }
1341
- return deserializeAws_restJson1ConnectorSummary(entry, context);
1325
+ return de_ConnectorSummary(entry, context);
1342
1326
  });
1343
1327
  return retVal;
1344
1328
  };
1345
- const deserializeAws_restJson1__listOfCustomPluginSummary = (output, context) => {
1329
+ const de___listOfCustomPluginSummary = (output, context) => {
1346
1330
  const retVal = (output || [])
1347
1331
  .filter((e) => e != null)
1348
1332
  .map((entry) => {
1349
1333
  if (entry === null) {
1350
1334
  return null;
1351
1335
  }
1352
- return deserializeAws_restJson1CustomPluginSummary(entry, context);
1336
+ return de_CustomPluginSummary(entry, context);
1353
1337
  });
1354
1338
  return retVal;
1355
1339
  };
1356
- const deserializeAws_restJson1__listOfPluginDescription = (output, context) => {
1340
+ const de___listOfPluginDescription = (output, context) => {
1357
1341
  const retVal = (output || [])
1358
1342
  .filter((e) => e != null)
1359
1343
  .map((entry) => {
1360
1344
  if (entry === null) {
1361
1345
  return null;
1362
1346
  }
1363
- return deserializeAws_restJson1PluginDescription(entry, context);
1347
+ return de_PluginDescription(entry, context);
1364
1348
  });
1365
1349
  return retVal;
1366
1350
  };
1367
- const deserializeAws_restJson1__listOfWorkerConfigurationSummary = (output, context) => {
1351
+ const de___listOfWorkerConfigurationSummary = (output, context) => {
1368
1352
  const retVal = (output || [])
1369
1353
  .filter((e) => e != null)
1370
1354
  .map((entry) => {
1371
1355
  if (entry === null) {
1372
1356
  return null;
1373
1357
  }
1374
- return deserializeAws_restJson1WorkerConfigurationSummary(entry, context);
1358
+ return de_WorkerConfigurationSummary(entry, context);
1375
1359
  });
1376
1360
  return retVal;
1377
1361
  };
1378
- const deserializeAws_restJson1__sensitive__mapOf__string = (output, context) => {
1362
+ const de___sensitive__mapOf__string = (output, context) => {
1379
1363
  return Object.entries(output).reduce((acc, [key, value]) => {
1380
1364
  if (value === null) {
1381
1365
  return acc;
@@ -1384,201 +1368,179 @@ const deserializeAws_restJson1__sensitive__mapOf__string = (output, context) =>
1384
1368
  return acc;
1385
1369
  }, {});
1386
1370
  };
1387
- const deserializeAws_restJson1ApacheKafkaClusterDescription = (output, context) => {
1371
+ const de_ApacheKafkaClusterDescription = (output, context) => {
1388
1372
  return {
1389
1373
  bootstrapServers: (0, smithy_client_1.expectString)(output.bootstrapServers),
1390
- vpc: output.vpc != null ? deserializeAws_restJson1VpcDescription(output.vpc, context) : undefined,
1374
+ vpc: output.vpc != null ? de_VpcDescription(output.vpc, context) : undefined,
1391
1375
  };
1392
1376
  };
1393
- const deserializeAws_restJson1AutoScalingDescription = (output, context) => {
1377
+ const de_AutoScalingDescription = (output, context) => {
1394
1378
  return {
1395
1379
  maxWorkerCount: (0, smithy_client_1.expectInt32)(output.maxWorkerCount),
1396
1380
  mcuCount: (0, smithy_client_1.expectInt32)(output.mcuCount),
1397
1381
  minWorkerCount: (0, smithy_client_1.expectInt32)(output.minWorkerCount),
1398
- scaleInPolicy: output.scaleInPolicy != null
1399
- ? deserializeAws_restJson1ScaleInPolicyDescription(output.scaleInPolicy, context)
1400
- : undefined,
1401
- scaleOutPolicy: output.scaleOutPolicy != null
1402
- ? deserializeAws_restJson1ScaleOutPolicyDescription(output.scaleOutPolicy, context)
1403
- : undefined,
1382
+ scaleInPolicy: output.scaleInPolicy != null ? de_ScaleInPolicyDescription(output.scaleInPolicy, context) : undefined,
1383
+ scaleOutPolicy: output.scaleOutPolicy != null ? de_ScaleOutPolicyDescription(output.scaleOutPolicy, context) : undefined,
1404
1384
  };
1405
1385
  };
1406
- const deserializeAws_restJson1CapacityDescription = (output, context) => {
1386
+ const de_CapacityDescription = (output, context) => {
1407
1387
  return {
1408
- autoScaling: output.autoScaling != null
1409
- ? deserializeAws_restJson1AutoScalingDescription(output.autoScaling, context)
1410
- : undefined,
1388
+ autoScaling: output.autoScaling != null ? de_AutoScalingDescription(output.autoScaling, context) : undefined,
1411
1389
  provisionedCapacity: output.provisionedCapacity != null
1412
- ? deserializeAws_restJson1ProvisionedCapacityDescription(output.provisionedCapacity, context)
1390
+ ? de_ProvisionedCapacityDescription(output.provisionedCapacity, context)
1413
1391
  : undefined,
1414
1392
  };
1415
1393
  };
1416
- const deserializeAws_restJson1CloudWatchLogsLogDeliveryDescription = (output, context) => {
1394
+ const de_CloudWatchLogsLogDeliveryDescription = (output, context) => {
1417
1395
  return {
1418
1396
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1419
1397
  logGroup: (0, smithy_client_1.expectString)(output.logGroup),
1420
1398
  };
1421
1399
  };
1422
- const deserializeAws_restJson1ConnectorSummary = (output, context) => {
1400
+ const de_ConnectorSummary = (output, context) => {
1423
1401
  return {
1424
- capacity: output.capacity != null ? deserializeAws_restJson1CapacityDescription(output.capacity, context) : undefined,
1402
+ capacity: output.capacity != null ? de_CapacityDescription(output.capacity, context) : undefined,
1425
1403
  connectorArn: (0, smithy_client_1.expectString)(output.connectorArn),
1426
1404
  connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
1427
1405
  connectorName: (0, smithy_client_1.expectString)(output.connectorName),
1428
1406
  connectorState: (0, smithy_client_1.expectString)(output.connectorState),
1429
1407
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
1430
1408
  currentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
1431
- kafkaCluster: output.kafkaCluster != null
1432
- ? deserializeAws_restJson1KafkaClusterDescription(output.kafkaCluster, context)
1433
- : undefined,
1409
+ kafkaCluster: output.kafkaCluster != null ? de_KafkaClusterDescription(output.kafkaCluster, context) : undefined,
1434
1410
  kafkaClusterClientAuthentication: output.kafkaClusterClientAuthentication != null
1435
- ? deserializeAws_restJson1KafkaClusterClientAuthenticationDescription(output.kafkaClusterClientAuthentication, context)
1411
+ ? de_KafkaClusterClientAuthenticationDescription(output.kafkaClusterClientAuthentication, context)
1436
1412
  : undefined,
1437
1413
  kafkaClusterEncryptionInTransit: output.kafkaClusterEncryptionInTransit != null
1438
- ? deserializeAws_restJson1KafkaClusterEncryptionInTransitDescription(output.kafkaClusterEncryptionInTransit, context)
1414
+ ? de_KafkaClusterEncryptionInTransitDescription(output.kafkaClusterEncryptionInTransit, context)
1439
1415
  : undefined,
1440
1416
  kafkaConnectVersion: (0, smithy_client_1.expectString)(output.kafkaConnectVersion),
1441
- logDelivery: output.logDelivery != null
1442
- ? deserializeAws_restJson1LogDeliveryDescription(output.logDelivery, context)
1443
- : undefined,
1444
- plugins: output.plugins != null ? deserializeAws_restJson1__listOfPluginDescription(output.plugins, context) : undefined,
1417
+ logDelivery: output.logDelivery != null ? de_LogDeliveryDescription(output.logDelivery, context) : undefined,
1418
+ plugins: output.plugins != null ? de___listOfPluginDescription(output.plugins, context) : undefined,
1445
1419
  serviceExecutionRoleArn: (0, smithy_client_1.expectString)(output.serviceExecutionRoleArn),
1446
1420
  workerConfiguration: output.workerConfiguration != null
1447
- ? deserializeAws_restJson1WorkerConfigurationDescription(output.workerConfiguration, context)
1421
+ ? de_WorkerConfigurationDescription(output.workerConfiguration, context)
1448
1422
  : undefined,
1449
1423
  };
1450
1424
  };
1451
- const deserializeAws_restJson1CustomPluginDescription = (output, context) => {
1425
+ const de_CustomPluginDescription = (output, context) => {
1452
1426
  return {
1453
1427
  customPluginArn: (0, smithy_client_1.expectString)(output.customPluginArn),
1454
1428
  revision: (0, smithy_client_1.expectLong)(output.revision),
1455
1429
  };
1456
1430
  };
1457
- const deserializeAws_restJson1CustomPluginFileDescription = (output, context) => {
1431
+ const de_CustomPluginFileDescription = (output, context) => {
1458
1432
  return {
1459
1433
  fileMd5: (0, smithy_client_1.expectString)(output.fileMd5),
1460
1434
  fileSize: (0, smithy_client_1.expectLong)(output.fileSize),
1461
1435
  };
1462
1436
  };
1463
- const deserializeAws_restJson1CustomPluginLocationDescription = (output, context) => {
1437
+ const de_CustomPluginLocationDescription = (output, context) => {
1464
1438
  return {
1465
- s3Location: output.s3Location != null ? deserializeAws_restJson1S3LocationDescription(output.s3Location, context) : undefined,
1439
+ s3Location: output.s3Location != null ? de_S3LocationDescription(output.s3Location, context) : undefined,
1466
1440
  };
1467
1441
  };
1468
- const deserializeAws_restJson1CustomPluginRevisionSummary = (output, context) => {
1442
+ const de_CustomPluginRevisionSummary = (output, context) => {
1469
1443
  return {
1470
1444
  contentType: (0, smithy_client_1.expectString)(output.contentType),
1471
1445
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
1472
1446
  description: (0, smithy_client_1.expectString)(output.description),
1473
- fileDescription: output.fileDescription != null
1474
- ? deserializeAws_restJson1CustomPluginFileDescription(output.fileDescription, context)
1475
- : undefined,
1476
- location: output.location != null
1477
- ? deserializeAws_restJson1CustomPluginLocationDescription(output.location, context)
1478
- : undefined,
1447
+ fileDescription: output.fileDescription != null ? de_CustomPluginFileDescription(output.fileDescription, context) : undefined,
1448
+ location: output.location != null ? de_CustomPluginLocationDescription(output.location, context) : undefined,
1479
1449
  revision: (0, smithy_client_1.expectLong)(output.revision),
1480
1450
  };
1481
1451
  };
1482
- const deserializeAws_restJson1CustomPluginSummary = (output, context) => {
1452
+ const de_CustomPluginSummary = (output, context) => {
1483
1453
  return {
1484
1454
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
1485
1455
  customPluginArn: (0, smithy_client_1.expectString)(output.customPluginArn),
1486
1456
  customPluginState: (0, smithy_client_1.expectString)(output.customPluginState),
1487
1457
  description: (0, smithy_client_1.expectString)(output.description),
1488
- latestRevision: output.latestRevision != null
1489
- ? deserializeAws_restJson1CustomPluginRevisionSummary(output.latestRevision, context)
1490
- : undefined,
1458
+ latestRevision: output.latestRevision != null ? de_CustomPluginRevisionSummary(output.latestRevision, context) : undefined,
1491
1459
  name: (0, smithy_client_1.expectString)(output.name),
1492
1460
  };
1493
1461
  };
1494
- const deserializeAws_restJson1FirehoseLogDeliveryDescription = (output, context) => {
1462
+ const de_FirehoseLogDeliveryDescription = (output, context) => {
1495
1463
  return {
1496
1464
  deliveryStream: (0, smithy_client_1.expectString)(output.deliveryStream),
1497
1465
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1498
1466
  };
1499
1467
  };
1500
- const deserializeAws_restJson1KafkaClusterClientAuthenticationDescription = (output, context) => {
1468
+ const de_KafkaClusterClientAuthenticationDescription = (output, context) => {
1501
1469
  return {
1502
1470
  authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
1503
1471
  };
1504
1472
  };
1505
- const deserializeAws_restJson1KafkaClusterDescription = (output, context) => {
1473
+ const de_KafkaClusterDescription = (output, context) => {
1506
1474
  return {
1507
1475
  apacheKafkaCluster: output.apacheKafkaCluster != null
1508
- ? deserializeAws_restJson1ApacheKafkaClusterDescription(output.apacheKafkaCluster, context)
1476
+ ? de_ApacheKafkaClusterDescription(output.apacheKafkaCluster, context)
1509
1477
  : undefined,
1510
1478
  };
1511
1479
  };
1512
- const deserializeAws_restJson1KafkaClusterEncryptionInTransitDescription = (output, context) => {
1480
+ const de_KafkaClusterEncryptionInTransitDescription = (output, context) => {
1513
1481
  return {
1514
1482
  encryptionType: (0, smithy_client_1.expectString)(output.encryptionType),
1515
1483
  };
1516
1484
  };
1517
- const deserializeAws_restJson1LogDeliveryDescription = (output, context) => {
1485
+ const de_LogDeliveryDescription = (output, context) => {
1518
1486
  return {
1519
- workerLogDelivery: output.workerLogDelivery != null
1520
- ? deserializeAws_restJson1WorkerLogDeliveryDescription(output.workerLogDelivery, context)
1521
- : undefined,
1487
+ workerLogDelivery: output.workerLogDelivery != null ? de_WorkerLogDeliveryDescription(output.workerLogDelivery, context) : undefined,
1522
1488
  };
1523
1489
  };
1524
- const deserializeAws_restJson1PluginDescription = (output, context) => {
1490
+ const de_PluginDescription = (output, context) => {
1525
1491
  return {
1526
- customPlugin: output.customPlugin != null
1527
- ? deserializeAws_restJson1CustomPluginDescription(output.customPlugin, context)
1528
- : undefined,
1492
+ customPlugin: output.customPlugin != null ? de_CustomPluginDescription(output.customPlugin, context) : undefined,
1529
1493
  };
1530
1494
  };
1531
- const deserializeAws_restJson1ProvisionedCapacityDescription = (output, context) => {
1495
+ const de_ProvisionedCapacityDescription = (output, context) => {
1532
1496
  return {
1533
1497
  mcuCount: (0, smithy_client_1.expectInt32)(output.mcuCount),
1534
1498
  workerCount: (0, smithy_client_1.expectInt32)(output.workerCount),
1535
1499
  };
1536
1500
  };
1537
- const deserializeAws_restJson1S3LocationDescription = (output, context) => {
1501
+ const de_S3LocationDescription = (output, context) => {
1538
1502
  return {
1539
1503
  bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
1540
1504
  fileKey: (0, smithy_client_1.expectString)(output.fileKey),
1541
1505
  objectVersion: (0, smithy_client_1.expectString)(output.objectVersion),
1542
1506
  };
1543
1507
  };
1544
- const deserializeAws_restJson1S3LogDeliveryDescription = (output, context) => {
1508
+ const de_S3LogDeliveryDescription = (output, context) => {
1545
1509
  return {
1546
1510
  bucket: (0, smithy_client_1.expectString)(output.bucket),
1547
1511
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
1548
1512
  prefix: (0, smithy_client_1.expectString)(output.prefix),
1549
1513
  };
1550
1514
  };
1551
- const deserializeAws_restJson1ScaleInPolicyDescription = (output, context) => {
1515
+ const de_ScaleInPolicyDescription = (output, context) => {
1552
1516
  return {
1553
1517
  cpuUtilizationPercentage: (0, smithy_client_1.expectInt32)(output.cpuUtilizationPercentage),
1554
1518
  };
1555
1519
  };
1556
- const deserializeAws_restJson1ScaleOutPolicyDescription = (output, context) => {
1520
+ const de_ScaleOutPolicyDescription = (output, context) => {
1557
1521
  return {
1558
1522
  cpuUtilizationPercentage: (0, smithy_client_1.expectInt32)(output.cpuUtilizationPercentage),
1559
1523
  };
1560
1524
  };
1561
- const deserializeAws_restJson1StateDescription = (output, context) => {
1525
+ const de_StateDescription = (output, context) => {
1562
1526
  return {
1563
1527
  code: (0, smithy_client_1.expectString)(output.code),
1564
1528
  message: (0, smithy_client_1.expectString)(output.message),
1565
1529
  };
1566
1530
  };
1567
- const deserializeAws_restJson1VpcDescription = (output, context) => {
1531
+ const de_VpcDescription = (output, context) => {
1568
1532
  return {
1569
- securityGroups: output.securityGroups != null
1570
- ? deserializeAws_restJson1__listOf__string(output.securityGroups, context)
1571
- : undefined,
1572
- subnets: output.subnets != null ? deserializeAws_restJson1__listOf__string(output.subnets, context) : undefined,
1533
+ securityGroups: output.securityGroups != null ? de___listOf__string(output.securityGroups, context) : undefined,
1534
+ subnets: output.subnets != null ? de___listOf__string(output.subnets, context) : undefined,
1573
1535
  };
1574
1536
  };
1575
- const deserializeAws_restJson1WorkerConfigurationDescription = (output, context) => {
1537
+ const de_WorkerConfigurationDescription = (output, context) => {
1576
1538
  return {
1577
1539
  revision: (0, smithy_client_1.expectLong)(output.revision),
1578
1540
  workerConfigurationArn: (0, smithy_client_1.expectString)(output.workerConfigurationArn),
1579
1541
  };
1580
1542
  };
1581
- const deserializeAws_restJson1WorkerConfigurationRevisionDescription = (output, context) => {
1543
+ const de_WorkerConfigurationRevisionDescription = (output, context) => {
1582
1544
  return {
1583
1545
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
1584
1546
  description: (0, smithy_client_1.expectString)(output.description),
@@ -1586,33 +1548,29 @@ const deserializeAws_restJson1WorkerConfigurationRevisionDescription = (output,
1586
1548
  revision: (0, smithy_client_1.expectLong)(output.revision),
1587
1549
  };
1588
1550
  };
1589
- const deserializeAws_restJson1WorkerConfigurationRevisionSummary = (output, context) => {
1551
+ const de_WorkerConfigurationRevisionSummary = (output, context) => {
1590
1552
  return {
1591
1553
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
1592
1554
  description: (0, smithy_client_1.expectString)(output.description),
1593
1555
  revision: (0, smithy_client_1.expectLong)(output.revision),
1594
1556
  };
1595
1557
  };
1596
- const deserializeAws_restJson1WorkerConfigurationSummary = (output, context) => {
1558
+ const de_WorkerConfigurationSummary = (output, context) => {
1597
1559
  return {
1598
1560
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
1599
1561
  description: (0, smithy_client_1.expectString)(output.description),
1600
- latestRevision: output.latestRevision != null
1601
- ? deserializeAws_restJson1WorkerConfigurationRevisionSummary(output.latestRevision, context)
1602
- : undefined,
1562
+ latestRevision: output.latestRevision != null ? de_WorkerConfigurationRevisionSummary(output.latestRevision, context) : undefined,
1603
1563
  name: (0, smithy_client_1.expectString)(output.name),
1604
1564
  workerConfigurationArn: (0, smithy_client_1.expectString)(output.workerConfigurationArn),
1605
1565
  };
1606
1566
  };
1607
- const deserializeAws_restJson1WorkerLogDeliveryDescription = (output, context) => {
1567
+ const de_WorkerLogDeliveryDescription = (output, context) => {
1608
1568
  return {
1609
1569
  cloudWatchLogs: output.cloudWatchLogs != null
1610
- ? deserializeAws_restJson1CloudWatchLogsLogDeliveryDescription(output.cloudWatchLogs, context)
1611
- : undefined,
1612
- firehose: output.firehose != null
1613
- ? deserializeAws_restJson1FirehoseLogDeliveryDescription(output.firehose, context)
1570
+ ? de_CloudWatchLogsLogDeliveryDescription(output.cloudWatchLogs, context)
1614
1571
  : undefined,
1615
- s3: output.s3 != null ? deserializeAws_restJson1S3LogDeliveryDescription(output.s3, context) : undefined,
1572
+ firehose: output.firehose != null ? de_FirehoseLogDeliveryDescription(output.firehose, context) : undefined,
1573
+ s3: output.s3 != null ? de_S3LogDeliveryDescription(output.s3, context) : undefined,
1616
1574
  };
1617
1575
  };
1618
1576
  const deserializeMetadata = (output) => ({