@aws-sdk/client-pipes 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.
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdatePipeCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopPipeCommand = exports.deserializeAws_restJson1StartPipeCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListPipesCommand = exports.deserializeAws_restJson1DescribePipeCommand = exports.deserializeAws_restJson1DeletePipeCommand = exports.deserializeAws_restJson1CreatePipeCommand = exports.serializeAws_restJson1UpdatePipeCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopPipeCommand = exports.serializeAws_restJson1StartPipeCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListPipesCommand = exports.serializeAws_restJson1DescribePipeCommand = exports.serializeAws_restJson1DeletePipeCommand = exports.serializeAws_restJson1CreatePipeCommand = void 0;
3
+ exports.de_UpdatePipeCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopPipeCommand = exports.de_StartPipeCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPipesCommand = exports.de_DescribePipeCommand = exports.de_DeletePipeCommand = exports.de_CreatePipeCommand = exports.se_UpdatePipeCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopPipeCommand = exports.se_StartPipeCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPipesCommand = exports.se_DescribePipeCommand = exports.se_DeletePipeCommand = exports.se_CreatePipeCommand = 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 models_0_1 = require("../models/models_0");
7
7
  const PipesServiceException_1 = require("../models/PipesServiceException");
8
- const serializeAws_restJson1CreatePipeCommand = async (input, context) => {
8
+ const se_CreatePipeCommand = 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",
@@ -18,17 +18,17 @@ const serializeAws_restJson1CreatePipeCommand = async (input, context) => {
18
18
  ...(input.DesiredState != null && { DesiredState: input.DesiredState }),
19
19
  ...(input.Enrichment != null && { Enrichment: input.Enrichment }),
20
20
  ...(input.EnrichmentParameters != null && {
21
- EnrichmentParameters: serializeAws_restJson1PipeEnrichmentParameters(input.EnrichmentParameters, context),
21
+ EnrichmentParameters: se_PipeEnrichmentParameters(input.EnrichmentParameters, context),
22
22
  }),
23
23
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
24
24
  ...(input.Source != null && { Source: input.Source }),
25
25
  ...(input.SourceParameters != null && {
26
- SourceParameters: serializeAws_restJson1PipeSourceParameters(input.SourceParameters, context),
26
+ SourceParameters: se_PipeSourceParameters(input.SourceParameters, context),
27
27
  }),
28
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
28
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
29
29
  ...(input.Target != null && { Target: input.Target }),
30
30
  ...(input.TargetParameters != null && {
31
- TargetParameters: serializeAws_restJson1PipeTargetParameters(input.TargetParameters, context),
31
+ TargetParameters: se_PipeTargetParameters(input.TargetParameters, context),
32
32
  }),
33
33
  });
34
34
  return new protocol_http_1.HttpRequest({
@@ -41,8 +41,8 @@ const serializeAws_restJson1CreatePipeCommand = async (input, context) => {
41
41
  body,
42
42
  });
43
43
  };
44
- exports.serializeAws_restJson1CreatePipeCommand = serializeAws_restJson1CreatePipeCommand;
45
- const serializeAws_restJson1DeletePipeCommand = async (input, context) => {
44
+ exports.se_CreatePipeCommand = se_CreatePipeCommand;
45
+ const se_DeletePipeCommand = async (input, context) => {
46
46
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
47
47
  const headers = {};
48
48
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/pipes/{Name}";
@@ -58,8 +58,8 @@ const serializeAws_restJson1DeletePipeCommand = async (input, context) => {
58
58
  body,
59
59
  });
60
60
  };
61
- exports.serializeAws_restJson1DeletePipeCommand = serializeAws_restJson1DeletePipeCommand;
62
- const serializeAws_restJson1DescribePipeCommand = async (input, context) => {
61
+ exports.se_DeletePipeCommand = se_DeletePipeCommand;
62
+ const se_DescribePipeCommand = async (input, context) => {
63
63
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
64
64
  const headers = {};
65
65
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/pipes/{Name}";
@@ -75,8 +75,8 @@ const serializeAws_restJson1DescribePipeCommand = async (input, context) => {
75
75
  body,
76
76
  });
77
77
  };
78
- exports.serializeAws_restJson1DescribePipeCommand = serializeAws_restJson1DescribePipeCommand;
79
- const serializeAws_restJson1ListPipesCommand = async (input, context) => {
78
+ exports.se_DescribePipeCommand = se_DescribePipeCommand;
79
+ const se_ListPipesCommand = async (input, context) => {
80
80
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
81
81
  const headers = {};
82
82
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/pipes";
@@ -101,8 +101,8 @@ const serializeAws_restJson1ListPipesCommand = async (input, context) => {
101
101
  body,
102
102
  });
103
103
  };
104
- exports.serializeAws_restJson1ListPipesCommand = serializeAws_restJson1ListPipesCommand;
105
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
104
+ exports.se_ListPipesCommand = se_ListPipesCommand;
105
+ const se_ListTagsForResourceCommand = async (input, context) => {
106
106
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
107
107
  const headers = {};
108
108
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -118,8 +118,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
118
118
  body,
119
119
  });
120
120
  };
121
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
122
- const serializeAws_restJson1StartPipeCommand = async (input, context) => {
121
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
122
+ const se_StartPipeCommand = async (input, context) => {
123
123
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
124
124
  const headers = {};
125
125
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/pipes/{Name}/start";
@@ -135,8 +135,8 @@ const serializeAws_restJson1StartPipeCommand = async (input, context) => {
135
135
  body,
136
136
  });
137
137
  };
138
- exports.serializeAws_restJson1StartPipeCommand = serializeAws_restJson1StartPipeCommand;
139
- const serializeAws_restJson1StopPipeCommand = async (input, context) => {
138
+ exports.se_StartPipeCommand = se_StartPipeCommand;
139
+ const se_StopPipeCommand = async (input, context) => {
140
140
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
141
141
  const headers = {};
142
142
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/pipes/{Name}/stop";
@@ -152,8 +152,8 @@ const serializeAws_restJson1StopPipeCommand = async (input, context) => {
152
152
  body,
153
153
  });
154
154
  };
155
- exports.serializeAws_restJson1StopPipeCommand = serializeAws_restJson1StopPipeCommand;
156
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
155
+ exports.se_StopPipeCommand = se_StopPipeCommand;
156
+ const se_TagResourceCommand = async (input, context) => {
157
157
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
158
158
  const headers = {
159
159
  "content-type": "application/json",
@@ -162,7 +162,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
162
162
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
163
163
  let body;
164
164
  body = JSON.stringify({
165
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
165
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
166
166
  });
167
167
  return new protocol_http_1.HttpRequest({
168
168
  protocol,
@@ -174,8 +174,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
174
174
  body,
175
175
  });
176
176
  };
177
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
178
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
177
+ exports.se_TagResourceCommand = se_TagResourceCommand;
178
+ const se_UntagResourceCommand = async (input, context) => {
179
179
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
180
180
  const headers = {};
181
181
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -198,8 +198,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
198
198
  body,
199
199
  });
200
200
  };
201
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
202
- const serializeAws_restJson1UpdatePipeCommand = async (input, context) => {
201
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
202
+ const se_UpdatePipeCommand = async (input, context) => {
203
203
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
204
204
  const headers = {
205
205
  "content-type": "application/json",
@@ -212,15 +212,15 @@ const serializeAws_restJson1UpdatePipeCommand = async (input, context) => {
212
212
  ...(input.DesiredState != null && { DesiredState: input.DesiredState }),
213
213
  ...(input.Enrichment != null && { Enrichment: input.Enrichment }),
214
214
  ...(input.EnrichmentParameters != null && {
215
- EnrichmentParameters: serializeAws_restJson1PipeEnrichmentParameters(input.EnrichmentParameters, context),
215
+ EnrichmentParameters: se_PipeEnrichmentParameters(input.EnrichmentParameters, context),
216
216
  }),
217
217
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
218
218
  ...(input.SourceParameters != null && {
219
- SourceParameters: serializeAws_restJson1UpdatePipeSourceParameters(input.SourceParameters, context),
219
+ SourceParameters: se_UpdatePipeSourceParameters(input.SourceParameters, context),
220
220
  }),
221
221
  ...(input.Target != null && { Target: input.Target }),
222
222
  ...(input.TargetParameters != null && {
223
- TargetParameters: serializeAws_restJson1PipeTargetParameters(input.TargetParameters, context),
223
+ TargetParameters: se_PipeTargetParameters(input.TargetParameters, context),
224
224
  }),
225
225
  });
226
226
  return new protocol_http_1.HttpRequest({
@@ -233,10 +233,10 @@ const serializeAws_restJson1UpdatePipeCommand = async (input, context) => {
233
233
  body,
234
234
  });
235
235
  };
236
- exports.serializeAws_restJson1UpdatePipeCommand = serializeAws_restJson1UpdatePipeCommand;
237
- const deserializeAws_restJson1CreatePipeCommand = async (output, context) => {
236
+ exports.se_UpdatePipeCommand = se_UpdatePipeCommand;
237
+ const de_CreatePipeCommand = async (output, context) => {
238
238
  if (output.statusCode !== 200 && output.statusCode >= 300) {
239
- return deserializeAws_restJson1CreatePipeCommandError(output, context);
239
+ return de_CreatePipeCommandError(output, context);
240
240
  }
241
241
  const contents = map({
242
242
  $metadata: deserializeMetadata(output),
@@ -262,8 +262,8 @@ const deserializeAws_restJson1CreatePipeCommand = async (output, context) => {
262
262
  }
263
263
  return contents;
264
264
  };
265
- exports.deserializeAws_restJson1CreatePipeCommand = deserializeAws_restJson1CreatePipeCommand;
266
- const deserializeAws_restJson1CreatePipeCommandError = async (output, context) => {
265
+ exports.de_CreatePipeCommand = de_CreatePipeCommand;
266
+ const de_CreatePipeCommandError = async (output, context) => {
267
267
  const parsedOutput = {
268
268
  ...output,
269
269
  body: await parseErrorBody(output.body, context),
@@ -272,22 +272,22 @@ const deserializeAws_restJson1CreatePipeCommandError = async (output, context) =
272
272
  switch (errorCode) {
273
273
  case "ConflictException":
274
274
  case "com.amazonaws.pipes#ConflictException":
275
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
275
+ throw await de_ConflictExceptionRes(parsedOutput, context);
276
276
  case "InternalException":
277
277
  case "com.amazonaws.pipes#InternalException":
278
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
278
+ throw await de_InternalExceptionRes(parsedOutput, context);
279
279
  case "NotFoundException":
280
280
  case "com.amazonaws.pipes#NotFoundException":
281
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
281
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
282
282
  case "ServiceQuotaExceededException":
283
283
  case "com.amazonaws.pipes#ServiceQuotaExceededException":
284
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
284
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
285
285
  case "ThrottlingException":
286
286
  case "com.amazonaws.pipes#ThrottlingException":
287
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
287
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
288
288
  case "ValidationException":
289
289
  case "com.amazonaws.pipes#ValidationException":
290
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
290
+ throw await de_ValidationExceptionRes(parsedOutput, context);
291
291
  default:
292
292
  const parsedBody = parsedOutput.body;
293
293
  (0, smithy_client_1.throwDefaultError)({
@@ -298,9 +298,9 @@ const deserializeAws_restJson1CreatePipeCommandError = async (output, context) =
298
298
  });
299
299
  }
300
300
  };
301
- const deserializeAws_restJson1DeletePipeCommand = async (output, context) => {
301
+ const de_DeletePipeCommand = async (output, context) => {
302
302
  if (output.statusCode !== 200 && output.statusCode >= 300) {
303
- return deserializeAws_restJson1DeletePipeCommandError(output, context);
303
+ return de_DeletePipeCommandError(output, context);
304
304
  }
305
305
  const contents = map({
306
306
  $metadata: deserializeMetadata(output),
@@ -326,8 +326,8 @@ const deserializeAws_restJson1DeletePipeCommand = async (output, context) => {
326
326
  }
327
327
  return contents;
328
328
  };
329
- exports.deserializeAws_restJson1DeletePipeCommand = deserializeAws_restJson1DeletePipeCommand;
330
- const deserializeAws_restJson1DeletePipeCommandError = async (output, context) => {
329
+ exports.de_DeletePipeCommand = de_DeletePipeCommand;
330
+ const de_DeletePipeCommandError = async (output, context) => {
331
331
  const parsedOutput = {
332
332
  ...output,
333
333
  body: await parseErrorBody(output.body, context),
@@ -336,19 +336,19 @@ const deserializeAws_restJson1DeletePipeCommandError = async (output, context) =
336
336
  switch (errorCode) {
337
337
  case "ConflictException":
338
338
  case "com.amazonaws.pipes#ConflictException":
339
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
339
+ throw await de_ConflictExceptionRes(parsedOutput, context);
340
340
  case "InternalException":
341
341
  case "com.amazonaws.pipes#InternalException":
342
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
342
+ throw await de_InternalExceptionRes(parsedOutput, context);
343
343
  case "NotFoundException":
344
344
  case "com.amazonaws.pipes#NotFoundException":
345
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
345
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
346
346
  case "ThrottlingException":
347
347
  case "com.amazonaws.pipes#ThrottlingException":
348
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
348
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
349
349
  case "ValidationException":
350
350
  case "com.amazonaws.pipes#ValidationException":
351
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
351
+ throw await de_ValidationExceptionRes(parsedOutput, context);
352
352
  default:
353
353
  const parsedBody = parsedOutput.body;
354
354
  (0, smithy_client_1.throwDefaultError)({
@@ -359,9 +359,9 @@ const deserializeAws_restJson1DeletePipeCommandError = async (output, context) =
359
359
  });
360
360
  }
361
361
  };
362
- const deserializeAws_restJson1DescribePipeCommand = async (output, context) => {
362
+ const de_DescribePipeCommand = async (output, context) => {
363
363
  if (output.statusCode !== 200 && output.statusCode >= 300) {
364
- return deserializeAws_restJson1DescribePipeCommandError(output, context);
364
+ return de_DescribePipeCommandError(output, context);
365
365
  }
366
366
  const contents = map({
367
367
  $metadata: deserializeMetadata(output),
@@ -386,7 +386,7 @@ const deserializeAws_restJson1DescribePipeCommand = async (output, context) => {
386
386
  contents.Enrichment = (0, smithy_client_1.expectString)(data.Enrichment);
387
387
  }
388
388
  if (data.EnrichmentParameters != null) {
389
- contents.EnrichmentParameters = deserializeAws_restJson1PipeEnrichmentParameters(data.EnrichmentParameters, context);
389
+ contents.EnrichmentParameters = de_PipeEnrichmentParameters(data.EnrichmentParameters, context);
390
390
  }
391
391
  if (data.LastModifiedTime != null) {
392
392
  contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
@@ -401,24 +401,24 @@ const deserializeAws_restJson1DescribePipeCommand = async (output, context) => {
401
401
  contents.Source = (0, smithy_client_1.expectString)(data.Source);
402
402
  }
403
403
  if (data.SourceParameters != null) {
404
- contents.SourceParameters = deserializeAws_restJson1PipeSourceParameters(data.SourceParameters, context);
404
+ contents.SourceParameters = de_PipeSourceParameters(data.SourceParameters, context);
405
405
  }
406
406
  if (data.StateReason != null) {
407
407
  contents.StateReason = (0, smithy_client_1.expectString)(data.StateReason);
408
408
  }
409
409
  if (data.Tags != null) {
410
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
410
+ contents.Tags = de_TagMap(data.Tags, context);
411
411
  }
412
412
  if (data.Target != null) {
413
413
  contents.Target = (0, smithy_client_1.expectString)(data.Target);
414
414
  }
415
415
  if (data.TargetParameters != null) {
416
- contents.TargetParameters = deserializeAws_restJson1PipeTargetParameters(data.TargetParameters, context);
416
+ contents.TargetParameters = de_PipeTargetParameters(data.TargetParameters, context);
417
417
  }
418
418
  return contents;
419
419
  };
420
- exports.deserializeAws_restJson1DescribePipeCommand = deserializeAws_restJson1DescribePipeCommand;
421
- const deserializeAws_restJson1DescribePipeCommandError = async (output, context) => {
420
+ exports.de_DescribePipeCommand = de_DescribePipeCommand;
421
+ const de_DescribePipeCommandError = async (output, context) => {
422
422
  const parsedOutput = {
423
423
  ...output,
424
424
  body: await parseErrorBody(output.body, context),
@@ -427,16 +427,16 @@ const deserializeAws_restJson1DescribePipeCommandError = async (output, context)
427
427
  switch (errorCode) {
428
428
  case "InternalException":
429
429
  case "com.amazonaws.pipes#InternalException":
430
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
430
+ throw await de_InternalExceptionRes(parsedOutput, context);
431
431
  case "NotFoundException":
432
432
  case "com.amazonaws.pipes#NotFoundException":
433
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
433
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
434
434
  case "ThrottlingException":
435
435
  case "com.amazonaws.pipes#ThrottlingException":
436
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
436
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
437
437
  case "ValidationException":
438
438
  case "com.amazonaws.pipes#ValidationException":
439
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
439
+ throw await de_ValidationExceptionRes(parsedOutput, context);
440
440
  default:
441
441
  const parsedBody = parsedOutput.body;
442
442
  (0, smithy_client_1.throwDefaultError)({
@@ -447,9 +447,9 @@ const deserializeAws_restJson1DescribePipeCommandError = async (output, context)
447
447
  });
448
448
  }
449
449
  };
450
- const deserializeAws_restJson1ListPipesCommand = async (output, context) => {
450
+ const de_ListPipesCommand = async (output, context) => {
451
451
  if (output.statusCode !== 200 && output.statusCode >= 300) {
452
- return deserializeAws_restJson1ListPipesCommandError(output, context);
452
+ return de_ListPipesCommandError(output, context);
453
453
  }
454
454
  const contents = map({
455
455
  $metadata: deserializeMetadata(output),
@@ -459,12 +459,12 @@ const deserializeAws_restJson1ListPipesCommand = async (output, context) => {
459
459
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
460
460
  }
461
461
  if (data.Pipes != null) {
462
- contents.Pipes = deserializeAws_restJson1PipeList(data.Pipes, context);
462
+ contents.Pipes = de_PipeList(data.Pipes, context);
463
463
  }
464
464
  return contents;
465
465
  };
466
- exports.deserializeAws_restJson1ListPipesCommand = deserializeAws_restJson1ListPipesCommand;
467
- const deserializeAws_restJson1ListPipesCommandError = async (output, context) => {
466
+ exports.de_ListPipesCommand = de_ListPipesCommand;
467
+ const de_ListPipesCommandError = async (output, context) => {
468
468
  const parsedOutput = {
469
469
  ...output,
470
470
  body: await parseErrorBody(output.body, context),
@@ -473,13 +473,13 @@ const deserializeAws_restJson1ListPipesCommandError = async (output, context) =>
473
473
  switch (errorCode) {
474
474
  case "InternalException":
475
475
  case "com.amazonaws.pipes#InternalException":
476
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
476
+ throw await de_InternalExceptionRes(parsedOutput, context);
477
477
  case "ThrottlingException":
478
478
  case "com.amazonaws.pipes#ThrottlingException":
479
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
479
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
480
480
  case "ValidationException":
481
481
  case "com.amazonaws.pipes#ValidationException":
482
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
482
+ throw await de_ValidationExceptionRes(parsedOutput, context);
483
483
  default:
484
484
  const parsedBody = parsedOutput.body;
485
485
  (0, smithy_client_1.throwDefaultError)({
@@ -490,21 +490,21 @@ const deserializeAws_restJson1ListPipesCommandError = async (output, context) =>
490
490
  });
491
491
  }
492
492
  };
493
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
493
+ const de_ListTagsForResourceCommand = async (output, context) => {
494
494
  if (output.statusCode !== 200 && output.statusCode >= 300) {
495
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
495
+ return de_ListTagsForResourceCommandError(output, context);
496
496
  }
497
497
  const contents = map({
498
498
  $metadata: deserializeMetadata(output),
499
499
  });
500
500
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
501
501
  if (data.tags != null) {
502
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
502
+ contents.tags = de_TagMap(data.tags, context);
503
503
  }
504
504
  return contents;
505
505
  };
506
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
507
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
506
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
507
+ const de_ListTagsForResourceCommandError = async (output, context) => {
508
508
  const parsedOutput = {
509
509
  ...output,
510
510
  body: await parseErrorBody(output.body, context),
@@ -513,13 +513,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
513
513
  switch (errorCode) {
514
514
  case "InternalException":
515
515
  case "com.amazonaws.pipes#InternalException":
516
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
516
+ throw await de_InternalExceptionRes(parsedOutput, context);
517
517
  case "NotFoundException":
518
518
  case "com.amazonaws.pipes#NotFoundException":
519
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
519
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
520
520
  case "ValidationException":
521
521
  case "com.amazonaws.pipes#ValidationException":
522
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
522
+ throw await de_ValidationExceptionRes(parsedOutput, context);
523
523
  default:
524
524
  const parsedBody = parsedOutput.body;
525
525
  (0, smithy_client_1.throwDefaultError)({
@@ -530,9 +530,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
530
530
  });
531
531
  }
532
532
  };
533
- const deserializeAws_restJson1StartPipeCommand = async (output, context) => {
533
+ const de_StartPipeCommand = async (output, context) => {
534
534
  if (output.statusCode !== 200 && output.statusCode >= 300) {
535
- return deserializeAws_restJson1StartPipeCommandError(output, context);
535
+ return de_StartPipeCommandError(output, context);
536
536
  }
537
537
  const contents = map({
538
538
  $metadata: deserializeMetadata(output),
@@ -558,8 +558,8 @@ const deserializeAws_restJson1StartPipeCommand = async (output, context) => {
558
558
  }
559
559
  return contents;
560
560
  };
561
- exports.deserializeAws_restJson1StartPipeCommand = deserializeAws_restJson1StartPipeCommand;
562
- const deserializeAws_restJson1StartPipeCommandError = async (output, context) => {
561
+ exports.de_StartPipeCommand = de_StartPipeCommand;
562
+ const de_StartPipeCommandError = async (output, context) => {
563
563
  const parsedOutput = {
564
564
  ...output,
565
565
  body: await parseErrorBody(output.body, context),
@@ -568,19 +568,19 @@ const deserializeAws_restJson1StartPipeCommandError = async (output, context) =>
568
568
  switch (errorCode) {
569
569
  case "ConflictException":
570
570
  case "com.amazonaws.pipes#ConflictException":
571
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
571
+ throw await de_ConflictExceptionRes(parsedOutput, context);
572
572
  case "InternalException":
573
573
  case "com.amazonaws.pipes#InternalException":
574
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
574
+ throw await de_InternalExceptionRes(parsedOutput, context);
575
575
  case "NotFoundException":
576
576
  case "com.amazonaws.pipes#NotFoundException":
577
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
577
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
578
578
  case "ThrottlingException":
579
579
  case "com.amazonaws.pipes#ThrottlingException":
580
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
580
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
581
581
  case "ValidationException":
582
582
  case "com.amazonaws.pipes#ValidationException":
583
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
583
+ throw await de_ValidationExceptionRes(parsedOutput, context);
584
584
  default:
585
585
  const parsedBody = parsedOutput.body;
586
586
  (0, smithy_client_1.throwDefaultError)({
@@ -591,9 +591,9 @@ const deserializeAws_restJson1StartPipeCommandError = async (output, context) =>
591
591
  });
592
592
  }
593
593
  };
594
- const deserializeAws_restJson1StopPipeCommand = async (output, context) => {
594
+ const de_StopPipeCommand = async (output, context) => {
595
595
  if (output.statusCode !== 200 && output.statusCode >= 300) {
596
- return deserializeAws_restJson1StopPipeCommandError(output, context);
596
+ return de_StopPipeCommandError(output, context);
597
597
  }
598
598
  const contents = map({
599
599
  $metadata: deserializeMetadata(output),
@@ -619,8 +619,8 @@ const deserializeAws_restJson1StopPipeCommand = async (output, context) => {
619
619
  }
620
620
  return contents;
621
621
  };
622
- exports.deserializeAws_restJson1StopPipeCommand = deserializeAws_restJson1StopPipeCommand;
623
- const deserializeAws_restJson1StopPipeCommandError = async (output, context) => {
622
+ exports.de_StopPipeCommand = de_StopPipeCommand;
623
+ const de_StopPipeCommandError = async (output, context) => {
624
624
  const parsedOutput = {
625
625
  ...output,
626
626
  body: await parseErrorBody(output.body, context),
@@ -629,19 +629,19 @@ const deserializeAws_restJson1StopPipeCommandError = async (output, context) =>
629
629
  switch (errorCode) {
630
630
  case "ConflictException":
631
631
  case "com.amazonaws.pipes#ConflictException":
632
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
632
+ throw await de_ConflictExceptionRes(parsedOutput, context);
633
633
  case "InternalException":
634
634
  case "com.amazonaws.pipes#InternalException":
635
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
635
+ throw await de_InternalExceptionRes(parsedOutput, context);
636
636
  case "NotFoundException":
637
637
  case "com.amazonaws.pipes#NotFoundException":
638
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
638
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
639
639
  case "ThrottlingException":
640
640
  case "com.amazonaws.pipes#ThrottlingException":
641
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
641
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
642
642
  case "ValidationException":
643
643
  case "com.amazonaws.pipes#ValidationException":
644
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
644
+ throw await de_ValidationExceptionRes(parsedOutput, context);
645
645
  default:
646
646
  const parsedBody = parsedOutput.body;
647
647
  (0, smithy_client_1.throwDefaultError)({
@@ -652,9 +652,9 @@ const deserializeAws_restJson1StopPipeCommandError = async (output, context) =>
652
652
  });
653
653
  }
654
654
  };
655
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
655
+ const de_TagResourceCommand = async (output, context) => {
656
656
  if (output.statusCode !== 200 && output.statusCode >= 300) {
657
- return deserializeAws_restJson1TagResourceCommandError(output, context);
657
+ return de_TagResourceCommandError(output, context);
658
658
  }
659
659
  const contents = map({
660
660
  $metadata: deserializeMetadata(output),
@@ -662,8 +662,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
662
662
  await collectBody(output.body, context);
663
663
  return contents;
664
664
  };
665
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
666
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
665
+ exports.de_TagResourceCommand = de_TagResourceCommand;
666
+ const de_TagResourceCommandError = async (output, context) => {
667
667
  const parsedOutput = {
668
668
  ...output,
669
669
  body: await parseErrorBody(output.body, context),
@@ -672,13 +672,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
672
672
  switch (errorCode) {
673
673
  case "InternalException":
674
674
  case "com.amazonaws.pipes#InternalException":
675
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
675
+ throw await de_InternalExceptionRes(parsedOutput, context);
676
676
  case "NotFoundException":
677
677
  case "com.amazonaws.pipes#NotFoundException":
678
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
678
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
679
679
  case "ValidationException":
680
680
  case "com.amazonaws.pipes#ValidationException":
681
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
681
+ throw await de_ValidationExceptionRes(parsedOutput, context);
682
682
  default:
683
683
  const parsedBody = parsedOutput.body;
684
684
  (0, smithy_client_1.throwDefaultError)({
@@ -689,9 +689,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
689
689
  });
690
690
  }
691
691
  };
692
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
692
+ const de_UntagResourceCommand = async (output, context) => {
693
693
  if (output.statusCode !== 200 && output.statusCode >= 300) {
694
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
694
+ return de_UntagResourceCommandError(output, context);
695
695
  }
696
696
  const contents = map({
697
697
  $metadata: deserializeMetadata(output),
@@ -699,8 +699,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
699
699
  await collectBody(output.body, context);
700
700
  return contents;
701
701
  };
702
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
703
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
702
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
703
+ const de_UntagResourceCommandError = async (output, context) => {
704
704
  const parsedOutput = {
705
705
  ...output,
706
706
  body: await parseErrorBody(output.body, context),
@@ -709,13 +709,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
709
709
  switch (errorCode) {
710
710
  case "InternalException":
711
711
  case "com.amazonaws.pipes#InternalException":
712
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
712
+ throw await de_InternalExceptionRes(parsedOutput, context);
713
713
  case "NotFoundException":
714
714
  case "com.amazonaws.pipes#NotFoundException":
715
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
715
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
716
716
  case "ValidationException":
717
717
  case "com.amazonaws.pipes#ValidationException":
718
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
718
+ throw await de_ValidationExceptionRes(parsedOutput, context);
719
719
  default:
720
720
  const parsedBody = parsedOutput.body;
721
721
  (0, smithy_client_1.throwDefaultError)({
@@ -726,9 +726,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
726
726
  });
727
727
  }
728
728
  };
729
- const deserializeAws_restJson1UpdatePipeCommand = async (output, context) => {
729
+ const de_UpdatePipeCommand = async (output, context) => {
730
730
  if (output.statusCode !== 200 && output.statusCode >= 300) {
731
- return deserializeAws_restJson1UpdatePipeCommandError(output, context);
731
+ return de_UpdatePipeCommandError(output, context);
732
732
  }
733
733
  const contents = map({
734
734
  $metadata: deserializeMetadata(output),
@@ -754,8 +754,8 @@ const deserializeAws_restJson1UpdatePipeCommand = async (output, context) => {
754
754
  }
755
755
  return contents;
756
756
  };
757
- exports.deserializeAws_restJson1UpdatePipeCommand = deserializeAws_restJson1UpdatePipeCommand;
758
- const deserializeAws_restJson1UpdatePipeCommandError = async (output, context) => {
757
+ exports.de_UpdatePipeCommand = de_UpdatePipeCommand;
758
+ const de_UpdatePipeCommandError = async (output, context) => {
759
759
  const parsedOutput = {
760
760
  ...output,
761
761
  body: await parseErrorBody(output.body, context),
@@ -764,19 +764,19 @@ const deserializeAws_restJson1UpdatePipeCommandError = async (output, context) =
764
764
  switch (errorCode) {
765
765
  case "ConflictException":
766
766
  case "com.amazonaws.pipes#ConflictException":
767
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
767
+ throw await de_ConflictExceptionRes(parsedOutput, context);
768
768
  case "InternalException":
769
769
  case "com.amazonaws.pipes#InternalException":
770
- throw await deserializeAws_restJson1InternalExceptionResponse(parsedOutput, context);
770
+ throw await de_InternalExceptionRes(parsedOutput, context);
771
771
  case "NotFoundException":
772
772
  case "com.amazonaws.pipes#NotFoundException":
773
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
773
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
774
774
  case "ThrottlingException":
775
775
  case "com.amazonaws.pipes#ThrottlingException":
776
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
776
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
777
777
  case "ValidationException":
778
778
  case "com.amazonaws.pipes#ValidationException":
779
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
779
+ throw await de_ValidationExceptionRes(parsedOutput, context);
780
780
  default:
781
781
  const parsedBody = parsedOutput.body;
782
782
  (0, smithy_client_1.throwDefaultError)({
@@ -788,7 +788,7 @@ const deserializeAws_restJson1UpdatePipeCommandError = async (output, context) =
788
788
  }
789
789
  };
790
790
  const map = smithy_client_1.map;
791
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
791
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
792
792
  const contents = map({});
793
793
  const data = parsedOutput.body;
794
794
  if (data.message != null) {
@@ -806,7 +806,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
806
806
  });
807
807
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
808
808
  };
809
- const deserializeAws_restJson1InternalExceptionResponse = async (parsedOutput, context) => {
809
+ const de_InternalExceptionRes = async (parsedOutput, context) => {
810
810
  const contents = map({
811
811
  retryAfterSeconds: [
812
812
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -823,7 +823,7 @@ const deserializeAws_restJson1InternalExceptionResponse = async (parsedOutput, c
823
823
  });
824
824
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
825
825
  };
826
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
826
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
827
827
  const contents = map({});
828
828
  const data = parsedOutput.body;
829
829
  if (data.message != null) {
@@ -835,7 +835,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
835
835
  });
836
836
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
837
837
  };
838
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
838
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
839
839
  const contents = map({});
840
840
  const data = parsedOutput.body;
841
841
  if (data.message != null) {
@@ -859,7 +859,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
859
859
  });
860
860
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
861
861
  };
862
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
862
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
863
863
  const contents = map({
864
864
  retryAfterSeconds: [
865
865
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -882,11 +882,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
882
882
  });
883
883
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
884
884
  };
885
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
885
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
886
886
  const contents = map({});
887
887
  const data = parsedOutput.body;
888
888
  if (data.fieldList != null) {
889
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
889
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
890
890
  }
891
891
  if (data.message != null) {
892
892
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -897,59 +897,55 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
897
897
  });
898
898
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
899
899
  };
900
- const serializeAws_restJson1AwsVpcConfiguration = (input, context) => {
900
+ const se_AwsVpcConfiguration = (input, context) => {
901
901
  return {
902
902
  ...(input.AssignPublicIp != null && { AssignPublicIp: input.AssignPublicIp }),
903
- ...(input.SecurityGroups != null && {
904
- SecurityGroups: serializeAws_restJson1SecurityGroups(input.SecurityGroups, context),
905
- }),
906
- ...(input.Subnets != null && { Subnets: serializeAws_restJson1Subnets(input.Subnets, context) }),
903
+ ...(input.SecurityGroups != null && { SecurityGroups: se_SecurityGroups(input.SecurityGroups, context) }),
904
+ ...(input.Subnets != null && { Subnets: se_Subnets(input.Subnets, context) }),
907
905
  };
908
906
  };
909
- const serializeAws_restJson1BatchArrayProperties = (input, context) => {
907
+ const se_BatchArrayProperties = (input, context) => {
910
908
  return {
911
909
  ...(input.Size != null && { Size: input.Size }),
912
910
  };
913
911
  };
914
- const serializeAws_restJson1BatchContainerOverrides = (input, context) => {
912
+ const se_BatchContainerOverrides = (input, context) => {
915
913
  return {
916
- ...(input.Command != null && { Command: serializeAws_restJson1StringList(input.Command, context) }),
917
- ...(input.Environment != null && {
918
- Environment: serializeAws_restJson1BatchEnvironmentVariableList(input.Environment, context),
919
- }),
914
+ ...(input.Command != null && { Command: se_StringList(input.Command, context) }),
915
+ ...(input.Environment != null && { Environment: se_BatchEnvironmentVariableList(input.Environment, context) }),
920
916
  ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
921
917
  ...(input.ResourceRequirements != null && {
922
- ResourceRequirements: serializeAws_restJson1BatchResourceRequirementsList(input.ResourceRequirements, context),
918
+ ResourceRequirements: se_BatchResourceRequirementsList(input.ResourceRequirements, context),
923
919
  }),
924
920
  };
925
921
  };
926
- const serializeAws_restJson1BatchDependsOn = (input, context) => {
922
+ const se_BatchDependsOn = (input, context) => {
927
923
  return input
928
924
  .filter((e) => e != null)
929
925
  .map((entry) => {
930
- return serializeAws_restJson1BatchJobDependency(entry, context);
926
+ return se_BatchJobDependency(entry, context);
931
927
  });
932
928
  };
933
- const serializeAws_restJson1BatchEnvironmentVariable = (input, context) => {
929
+ const se_BatchEnvironmentVariable = (input, context) => {
934
930
  return {
935
931
  ...(input.Name != null && { Name: input.Name }),
936
932
  ...(input.Value != null && { Value: input.Value }),
937
933
  };
938
934
  };
939
- const serializeAws_restJson1BatchEnvironmentVariableList = (input, context) => {
935
+ const se_BatchEnvironmentVariableList = (input, context) => {
940
936
  return input
941
937
  .filter((e) => e != null)
942
938
  .map((entry) => {
943
- return serializeAws_restJson1BatchEnvironmentVariable(entry, context);
939
+ return se_BatchEnvironmentVariable(entry, context);
944
940
  });
945
941
  };
946
- const serializeAws_restJson1BatchJobDependency = (input, context) => {
942
+ const se_BatchJobDependency = (input, context) => {
947
943
  return {
948
944
  ...(input.JobId != null && { JobId: input.JobId }),
949
945
  ...(input.Type != null && { Type: input.Type }),
950
946
  };
951
947
  };
952
- const serializeAws_restJson1BatchParametersMap = (input, context) => {
948
+ const se_BatchParametersMap = (input, context) => {
953
949
  return Object.entries(input).reduce((acc, [key, value]) => {
954
950
  if (value === null) {
955
951
  return acc;
@@ -958,167 +954,165 @@ const serializeAws_restJson1BatchParametersMap = (input, context) => {
958
954
  return acc;
959
955
  }, {});
960
956
  };
961
- const serializeAws_restJson1BatchResourceRequirement = (input, context) => {
957
+ const se_BatchResourceRequirement = (input, context) => {
962
958
  return {
963
959
  ...(input.Type != null && { Type: input.Type }),
964
960
  ...(input.Value != null && { Value: input.Value }),
965
961
  };
966
962
  };
967
- const serializeAws_restJson1BatchResourceRequirementsList = (input, context) => {
963
+ const se_BatchResourceRequirementsList = (input, context) => {
968
964
  return input
969
965
  .filter((e) => e != null)
970
966
  .map((entry) => {
971
- return serializeAws_restJson1BatchResourceRequirement(entry, context);
967
+ return se_BatchResourceRequirement(entry, context);
972
968
  });
973
969
  };
974
- const serializeAws_restJson1BatchRetryStrategy = (input, context) => {
970
+ const se_BatchRetryStrategy = (input, context) => {
975
971
  return {
976
972
  ...(input.Attempts != null && { Attempts: input.Attempts }),
977
973
  };
978
974
  };
979
- const serializeAws_restJson1CapacityProviderStrategy = (input, context) => {
975
+ const se_CapacityProviderStrategy = (input, context) => {
980
976
  return input
981
977
  .filter((e) => e != null)
982
978
  .map((entry) => {
983
- return serializeAws_restJson1CapacityProviderStrategyItem(entry, context);
979
+ return se_CapacityProviderStrategyItem(entry, context);
984
980
  });
985
981
  };
986
- const serializeAws_restJson1CapacityProviderStrategyItem = (input, context) => {
982
+ const se_CapacityProviderStrategyItem = (input, context) => {
987
983
  return {
988
984
  ...(input.base != null && { base: input.base }),
989
985
  ...(input.capacityProvider != null && { capacityProvider: input.capacityProvider }),
990
986
  ...(input.weight != null && { weight: input.weight }),
991
987
  };
992
988
  };
993
- const serializeAws_restJson1DeadLetterConfig = (input, context) => {
989
+ const se_DeadLetterConfig = (input, context) => {
994
990
  return {
995
991
  ...(input.Arn != null && { Arn: input.Arn }),
996
992
  };
997
993
  };
998
- const serializeAws_restJson1EcsContainerOverride = (input, context) => {
994
+ const se_EcsContainerOverride = (input, context) => {
999
995
  return {
1000
- ...(input.Command != null && { Command: serializeAws_restJson1StringList(input.Command, context) }),
996
+ ...(input.Command != null && { Command: se_StringList(input.Command, context) }),
1001
997
  ...(input.Cpu != null && { Cpu: input.Cpu }),
1002
- ...(input.Environment != null && {
1003
- Environment: serializeAws_restJson1EcsEnvironmentVariableList(input.Environment, context),
1004
- }),
998
+ ...(input.Environment != null && { Environment: se_EcsEnvironmentVariableList(input.Environment, context) }),
1005
999
  ...(input.EnvironmentFiles != null && {
1006
- EnvironmentFiles: serializeAws_restJson1EcsEnvironmentFileList(input.EnvironmentFiles, context),
1000
+ EnvironmentFiles: se_EcsEnvironmentFileList(input.EnvironmentFiles, context),
1007
1001
  }),
1008
1002
  ...(input.Memory != null && { Memory: input.Memory }),
1009
1003
  ...(input.MemoryReservation != null && { MemoryReservation: input.MemoryReservation }),
1010
1004
  ...(input.Name != null && { Name: input.Name }),
1011
1005
  ...(input.ResourceRequirements != null && {
1012
- ResourceRequirements: serializeAws_restJson1EcsResourceRequirementsList(input.ResourceRequirements, context),
1006
+ ResourceRequirements: se_EcsResourceRequirementsList(input.ResourceRequirements, context),
1013
1007
  }),
1014
1008
  };
1015
1009
  };
1016
- const serializeAws_restJson1EcsContainerOverrideList = (input, context) => {
1010
+ const se_EcsContainerOverrideList = (input, context) => {
1017
1011
  return input
1018
1012
  .filter((e) => e != null)
1019
1013
  .map((entry) => {
1020
- return serializeAws_restJson1EcsContainerOverride(entry, context);
1014
+ return se_EcsContainerOverride(entry, context);
1021
1015
  });
1022
1016
  };
1023
- const serializeAws_restJson1EcsEnvironmentFile = (input, context) => {
1017
+ const se_EcsEnvironmentFile = (input, context) => {
1024
1018
  return {
1025
1019
  ...(input.type != null && { type: input.type }),
1026
1020
  ...(input.value != null && { value: input.value }),
1027
1021
  };
1028
1022
  };
1029
- const serializeAws_restJson1EcsEnvironmentFileList = (input, context) => {
1023
+ const se_EcsEnvironmentFileList = (input, context) => {
1030
1024
  return input
1031
1025
  .filter((e) => e != null)
1032
1026
  .map((entry) => {
1033
- return serializeAws_restJson1EcsEnvironmentFile(entry, context);
1027
+ return se_EcsEnvironmentFile(entry, context);
1034
1028
  });
1035
1029
  };
1036
- const serializeAws_restJson1EcsEnvironmentVariable = (input, context) => {
1030
+ const se_EcsEnvironmentVariable = (input, context) => {
1037
1031
  return {
1038
1032
  ...(input.name != null && { name: input.name }),
1039
1033
  ...(input.value != null && { value: input.value }),
1040
1034
  };
1041
1035
  };
1042
- const serializeAws_restJson1EcsEnvironmentVariableList = (input, context) => {
1036
+ const se_EcsEnvironmentVariableList = (input, context) => {
1043
1037
  return input
1044
1038
  .filter((e) => e != null)
1045
1039
  .map((entry) => {
1046
- return serializeAws_restJson1EcsEnvironmentVariable(entry, context);
1040
+ return se_EcsEnvironmentVariable(entry, context);
1047
1041
  });
1048
1042
  };
1049
- const serializeAws_restJson1EcsEphemeralStorage = (input, context) => {
1043
+ const se_EcsEphemeralStorage = (input, context) => {
1050
1044
  return {
1051
1045
  ...(input.sizeInGiB != null && { sizeInGiB: input.sizeInGiB }),
1052
1046
  };
1053
1047
  };
1054
- const serializeAws_restJson1EcsInferenceAcceleratorOverride = (input, context) => {
1048
+ const se_EcsInferenceAcceleratorOverride = (input, context) => {
1055
1049
  return {
1056
1050
  ...(input.deviceName != null && { deviceName: input.deviceName }),
1057
1051
  ...(input.deviceType != null && { deviceType: input.deviceType }),
1058
1052
  };
1059
1053
  };
1060
- const serializeAws_restJson1EcsInferenceAcceleratorOverrideList = (input, context) => {
1054
+ const se_EcsInferenceAcceleratorOverrideList = (input, context) => {
1061
1055
  return input
1062
1056
  .filter((e) => e != null)
1063
1057
  .map((entry) => {
1064
- return serializeAws_restJson1EcsInferenceAcceleratorOverride(entry, context);
1058
+ return se_EcsInferenceAcceleratorOverride(entry, context);
1065
1059
  });
1066
1060
  };
1067
- const serializeAws_restJson1EcsResourceRequirement = (input, context) => {
1061
+ const se_EcsResourceRequirement = (input, context) => {
1068
1062
  return {
1069
1063
  ...(input.type != null && { type: input.type }),
1070
1064
  ...(input.value != null && { value: input.value }),
1071
1065
  };
1072
1066
  };
1073
- const serializeAws_restJson1EcsResourceRequirementsList = (input, context) => {
1067
+ const se_EcsResourceRequirementsList = (input, context) => {
1074
1068
  return input
1075
1069
  .filter((e) => e != null)
1076
1070
  .map((entry) => {
1077
- return serializeAws_restJson1EcsResourceRequirement(entry, context);
1071
+ return se_EcsResourceRequirement(entry, context);
1078
1072
  });
1079
1073
  };
1080
- const serializeAws_restJson1EcsTaskOverride = (input, context) => {
1074
+ const se_EcsTaskOverride = (input, context) => {
1081
1075
  return {
1082
1076
  ...(input.ContainerOverrides != null && {
1083
- ContainerOverrides: serializeAws_restJson1EcsContainerOverrideList(input.ContainerOverrides, context),
1077
+ ContainerOverrides: se_EcsContainerOverrideList(input.ContainerOverrides, context),
1084
1078
  }),
1085
1079
  ...(input.Cpu != null && { Cpu: input.Cpu }),
1086
1080
  ...(input.EphemeralStorage != null && {
1087
- EphemeralStorage: serializeAws_restJson1EcsEphemeralStorage(input.EphemeralStorage, context),
1081
+ EphemeralStorage: se_EcsEphemeralStorage(input.EphemeralStorage, context),
1088
1082
  }),
1089
1083
  ...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
1090
1084
  ...(input.InferenceAcceleratorOverrides != null && {
1091
- InferenceAcceleratorOverrides: serializeAws_restJson1EcsInferenceAcceleratorOverrideList(input.InferenceAcceleratorOverrides, context),
1085
+ InferenceAcceleratorOverrides: se_EcsInferenceAcceleratorOverrideList(input.InferenceAcceleratorOverrides, context),
1092
1086
  }),
1093
1087
  ...(input.Memory != null && { Memory: input.Memory }),
1094
1088
  ...(input.TaskRoleArn != null && { TaskRoleArn: input.TaskRoleArn }),
1095
1089
  };
1096
1090
  };
1097
- const serializeAws_restJson1EventBridgeEventResourceList = (input, context) => {
1091
+ const se_EventBridgeEventResourceList = (input, context) => {
1098
1092
  return input
1099
1093
  .filter((e) => e != null)
1100
1094
  .map((entry) => {
1101
1095
  return entry;
1102
1096
  });
1103
1097
  };
1104
- const serializeAws_restJson1Filter = (input, context) => {
1098
+ const se_Filter = (input, context) => {
1105
1099
  return {
1106
1100
  ...(input.Pattern != null && { Pattern: input.Pattern }),
1107
1101
  };
1108
1102
  };
1109
- const serializeAws_restJson1FilterCriteria = (input, context) => {
1103
+ const se_FilterCriteria = (input, context) => {
1110
1104
  return {
1111
- ...(input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
1105
+ ...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
1112
1106
  };
1113
1107
  };
1114
- const serializeAws_restJson1FilterList = (input, context) => {
1108
+ const se_FilterList = (input, context) => {
1115
1109
  return input
1116
1110
  .filter((e) => e != null)
1117
1111
  .map((entry) => {
1118
- return serializeAws_restJson1Filter(entry, context);
1112
+ return se_Filter(entry, context);
1119
1113
  });
1120
1114
  };
1121
- const serializeAws_restJson1HeaderParametersMap = (input, context) => {
1115
+ const se_HeaderParametersMap = (input, context) => {
1122
1116
  return Object.entries(input).reduce((acc, [key, value]) => {
1123
1117
  if (value === null) {
1124
1118
  return acc;
@@ -1127,79 +1121,75 @@ const serializeAws_restJson1HeaderParametersMap = (input, context) => {
1127
1121
  return acc;
1128
1122
  }, {});
1129
1123
  };
1130
- const serializeAws_restJson1KafkaBootstrapServers = (input, context) => {
1124
+ const se_KafkaBootstrapServers = (input, context) => {
1131
1125
  return input
1132
1126
  .filter((e) => e != null)
1133
1127
  .map((entry) => {
1134
1128
  return entry;
1135
1129
  });
1136
1130
  };
1137
- const serializeAws_restJson1MQBrokerAccessCredentials = (input, context) => {
1131
+ const se_MQBrokerAccessCredentials = (input, context) => {
1138
1132
  return models_0_1.MQBrokerAccessCredentials.visit(input, {
1139
1133
  BasicAuth: (value) => ({ BasicAuth: value }),
1140
1134
  _: (name, value) => ({ name: value }),
1141
1135
  });
1142
1136
  };
1143
- const serializeAws_restJson1MSKAccessCredentials = (input, context) => {
1137
+ const se_MSKAccessCredentials = (input, context) => {
1144
1138
  return models_0_1.MSKAccessCredentials.visit(input, {
1145
1139
  ClientCertificateTlsAuth: (value) => ({ ClientCertificateTlsAuth: value }),
1146
1140
  SaslScram512Auth: (value) => ({ SaslScram512Auth: value }),
1147
1141
  _: (name, value) => ({ name: value }),
1148
1142
  });
1149
1143
  };
1150
- const serializeAws_restJson1NetworkConfiguration = (input, context) => {
1144
+ const se_NetworkConfiguration = (input, context) => {
1151
1145
  return {
1152
1146
  ...(input.awsvpcConfiguration != null && {
1153
- awsvpcConfiguration: serializeAws_restJson1AwsVpcConfiguration(input.awsvpcConfiguration, context),
1147
+ awsvpcConfiguration: se_AwsVpcConfiguration(input.awsvpcConfiguration, context),
1154
1148
  }),
1155
1149
  };
1156
1150
  };
1157
- const serializeAws_restJson1PathParameterList = (input, context) => {
1151
+ const se_PathParameterList = (input, context) => {
1158
1152
  return input
1159
1153
  .filter((e) => e != null)
1160
1154
  .map((entry) => {
1161
1155
  return entry;
1162
1156
  });
1163
1157
  };
1164
- const serializeAws_restJson1PipeEnrichmentHttpParameters = (input, context) => {
1158
+ const se_PipeEnrichmentHttpParameters = (input, context) => {
1165
1159
  return {
1166
1160
  ...(input.HeaderParameters != null && {
1167
- HeaderParameters: serializeAws_restJson1HeaderParametersMap(input.HeaderParameters, context),
1161
+ HeaderParameters: se_HeaderParametersMap(input.HeaderParameters, context),
1168
1162
  }),
1169
1163
  ...(input.PathParameterValues != null && {
1170
- PathParameterValues: serializeAws_restJson1PathParameterList(input.PathParameterValues, context),
1164
+ PathParameterValues: se_PathParameterList(input.PathParameterValues, context),
1171
1165
  }),
1172
1166
  ...(input.QueryStringParameters != null && {
1173
- QueryStringParameters: serializeAws_restJson1QueryStringParametersMap(input.QueryStringParameters, context),
1167
+ QueryStringParameters: se_QueryStringParametersMap(input.QueryStringParameters, context),
1174
1168
  }),
1175
1169
  };
1176
1170
  };
1177
- const serializeAws_restJson1PipeEnrichmentParameters = (input, context) => {
1171
+ const se_PipeEnrichmentParameters = (input, context) => {
1178
1172
  return {
1179
1173
  ...(input.HttpParameters != null && {
1180
- HttpParameters: serializeAws_restJson1PipeEnrichmentHttpParameters(input.HttpParameters, context),
1174
+ HttpParameters: se_PipeEnrichmentHttpParameters(input.HttpParameters, context),
1181
1175
  }),
1182
1176
  ...(input.InputTemplate != null && { InputTemplate: input.InputTemplate }),
1183
1177
  };
1184
1178
  };
1185
- const serializeAws_restJson1PipeSourceActiveMQBrokerParameters = (input, context) => {
1179
+ const se_PipeSourceActiveMQBrokerParameters = (input, context) => {
1186
1180
  return {
1187
1181
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1188
- ...(input.Credentials != null && {
1189
- Credentials: serializeAws_restJson1MQBrokerAccessCredentials(input.Credentials, context),
1190
- }),
1182
+ ...(input.Credentials != null && { Credentials: se_MQBrokerAccessCredentials(input.Credentials, context) }),
1191
1183
  ...(input.MaximumBatchingWindowInSeconds != null && {
1192
1184
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1193
1185
  }),
1194
1186
  ...(input.QueueName != null && { QueueName: input.QueueName }),
1195
1187
  };
1196
1188
  };
1197
- const serializeAws_restJson1PipeSourceDynamoDBStreamParameters = (input, context) => {
1189
+ const se_PipeSourceDynamoDBStreamParameters = (input, context) => {
1198
1190
  return {
1199
1191
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1200
- ...(input.DeadLetterConfig != null && {
1201
- DeadLetterConfig: serializeAws_restJson1DeadLetterConfig(input.DeadLetterConfig, context),
1202
- }),
1192
+ ...(input.DeadLetterConfig != null && { DeadLetterConfig: se_DeadLetterConfig(input.DeadLetterConfig, context) }),
1203
1193
  ...(input.MaximumBatchingWindowInSeconds != null && {
1204
1194
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1205
1195
  }),
@@ -1210,12 +1200,10 @@ const serializeAws_restJson1PipeSourceDynamoDBStreamParameters = (input, context
1210
1200
  ...(input.StartingPosition != null && { StartingPosition: input.StartingPosition }),
1211
1201
  };
1212
1202
  };
1213
- const serializeAws_restJson1PipeSourceKinesisStreamParameters = (input, context) => {
1203
+ const se_PipeSourceKinesisStreamParameters = (input, context) => {
1214
1204
  return {
1215
1205
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1216
- ...(input.DeadLetterConfig != null && {
1217
- DeadLetterConfig: serializeAws_restJson1DeadLetterConfig(input.DeadLetterConfig, context),
1218
- }),
1206
+ ...(input.DeadLetterConfig != null && { DeadLetterConfig: se_DeadLetterConfig(input.DeadLetterConfig, context) }),
1219
1207
  ...(input.MaximumBatchingWindowInSeconds != null && {
1220
1208
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1221
1209
  }),
@@ -1229,13 +1217,11 @@ const serializeAws_restJson1PipeSourceKinesisStreamParameters = (input, context)
1229
1217
  }),
1230
1218
  };
1231
1219
  };
1232
- const serializeAws_restJson1PipeSourceManagedStreamingKafkaParameters = (input, context) => {
1220
+ const se_PipeSourceManagedStreamingKafkaParameters = (input, context) => {
1233
1221
  return {
1234
1222
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1235
1223
  ...(input.ConsumerGroupID != null && { ConsumerGroupID: input.ConsumerGroupID }),
1236
- ...(input.Credentials != null && {
1237
- Credentials: serializeAws_restJson1MSKAccessCredentials(input.Credentials, context),
1238
- }),
1224
+ ...(input.Credentials != null && { Credentials: se_MSKAccessCredentials(input.Credentials, context) }),
1239
1225
  ...(input.MaximumBatchingWindowInSeconds != null && {
1240
1226
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1241
1227
  }),
@@ -1243,40 +1229,36 @@ const serializeAws_restJson1PipeSourceManagedStreamingKafkaParameters = (input,
1243
1229
  ...(input.TopicName != null && { TopicName: input.TopicName }),
1244
1230
  };
1245
1231
  };
1246
- const serializeAws_restJson1PipeSourceParameters = (input, context) => {
1232
+ const se_PipeSourceParameters = (input, context) => {
1247
1233
  return {
1248
1234
  ...(input.ActiveMQBrokerParameters != null && {
1249
- ActiveMQBrokerParameters: serializeAws_restJson1PipeSourceActiveMQBrokerParameters(input.ActiveMQBrokerParameters, context),
1235
+ ActiveMQBrokerParameters: se_PipeSourceActiveMQBrokerParameters(input.ActiveMQBrokerParameters, context),
1250
1236
  }),
1251
1237
  ...(input.DynamoDBStreamParameters != null && {
1252
- DynamoDBStreamParameters: serializeAws_restJson1PipeSourceDynamoDBStreamParameters(input.DynamoDBStreamParameters, context),
1253
- }),
1254
- ...(input.FilterCriteria != null && {
1255
- FilterCriteria: serializeAws_restJson1FilterCriteria(input.FilterCriteria, context),
1238
+ DynamoDBStreamParameters: se_PipeSourceDynamoDBStreamParameters(input.DynamoDBStreamParameters, context),
1256
1239
  }),
1240
+ ...(input.FilterCriteria != null && { FilterCriteria: se_FilterCriteria(input.FilterCriteria, context) }),
1257
1241
  ...(input.KinesisStreamParameters != null && {
1258
- KinesisStreamParameters: serializeAws_restJson1PipeSourceKinesisStreamParameters(input.KinesisStreamParameters, context),
1242
+ KinesisStreamParameters: se_PipeSourceKinesisStreamParameters(input.KinesisStreamParameters, context),
1259
1243
  }),
1260
1244
  ...(input.ManagedStreamingKafkaParameters != null && {
1261
- ManagedStreamingKafkaParameters: serializeAws_restJson1PipeSourceManagedStreamingKafkaParameters(input.ManagedStreamingKafkaParameters, context),
1245
+ ManagedStreamingKafkaParameters: se_PipeSourceManagedStreamingKafkaParameters(input.ManagedStreamingKafkaParameters, context),
1262
1246
  }),
1263
1247
  ...(input.RabbitMQBrokerParameters != null && {
1264
- RabbitMQBrokerParameters: serializeAws_restJson1PipeSourceRabbitMQBrokerParameters(input.RabbitMQBrokerParameters, context),
1248
+ RabbitMQBrokerParameters: se_PipeSourceRabbitMQBrokerParameters(input.RabbitMQBrokerParameters, context),
1265
1249
  }),
1266
1250
  ...(input.SelfManagedKafkaParameters != null && {
1267
- SelfManagedKafkaParameters: serializeAws_restJson1PipeSourceSelfManagedKafkaParameters(input.SelfManagedKafkaParameters, context),
1251
+ SelfManagedKafkaParameters: se_PipeSourceSelfManagedKafkaParameters(input.SelfManagedKafkaParameters, context),
1268
1252
  }),
1269
1253
  ...(input.SqsQueueParameters != null && {
1270
- SqsQueueParameters: serializeAws_restJson1PipeSourceSqsQueueParameters(input.SqsQueueParameters, context),
1254
+ SqsQueueParameters: se_PipeSourceSqsQueueParameters(input.SqsQueueParameters, context),
1271
1255
  }),
1272
1256
  };
1273
1257
  };
1274
- const serializeAws_restJson1PipeSourceRabbitMQBrokerParameters = (input, context) => {
1258
+ const se_PipeSourceRabbitMQBrokerParameters = (input, context) => {
1275
1259
  return {
1276
1260
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1277
- ...(input.Credentials != null && {
1278
- Credentials: serializeAws_restJson1MQBrokerAccessCredentials(input.Credentials, context),
1279
- }),
1261
+ ...(input.Credentials != null && { Credentials: se_MQBrokerAccessCredentials(input.Credentials, context) }),
1280
1262
  ...(input.MaximumBatchingWindowInSeconds != null && {
1281
1263
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1282
1264
  }),
@@ -1284,15 +1266,15 @@ const serializeAws_restJson1PipeSourceRabbitMQBrokerParameters = (input, context
1284
1266
  ...(input.VirtualHost != null && { VirtualHost: input.VirtualHost }),
1285
1267
  };
1286
1268
  };
1287
- const serializeAws_restJson1PipeSourceSelfManagedKafkaParameters = (input, context) => {
1269
+ const se_PipeSourceSelfManagedKafkaParameters = (input, context) => {
1288
1270
  return {
1289
1271
  ...(input.AdditionalBootstrapServers != null && {
1290
- AdditionalBootstrapServers: serializeAws_restJson1KafkaBootstrapServers(input.AdditionalBootstrapServers, context),
1272
+ AdditionalBootstrapServers: se_KafkaBootstrapServers(input.AdditionalBootstrapServers, context),
1291
1273
  }),
1292
1274
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1293
1275
  ...(input.ConsumerGroupID != null && { ConsumerGroupID: input.ConsumerGroupID }),
1294
1276
  ...(input.Credentials != null && {
1295
- Credentials: serializeAws_restJson1SelfManagedKafkaAccessConfigurationCredentials(input.Credentials, context),
1277
+ Credentials: se_SelfManagedKafkaAccessConfigurationCredentials(input.Credentials, context),
1296
1278
  }),
1297
1279
  ...(input.MaximumBatchingWindowInSeconds != null && {
1298
1280
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
@@ -1300,10 +1282,10 @@ const serializeAws_restJson1PipeSourceSelfManagedKafkaParameters = (input, conte
1300
1282
  ...(input.ServerRootCaCertificate != null && { ServerRootCaCertificate: input.ServerRootCaCertificate }),
1301
1283
  ...(input.StartingPosition != null && { StartingPosition: input.StartingPosition }),
1302
1284
  ...(input.TopicName != null && { TopicName: input.TopicName }),
1303
- ...(input.Vpc != null && { Vpc: serializeAws_restJson1SelfManagedKafkaAccessConfigurationVpc(input.Vpc, context) }),
1285
+ ...(input.Vpc != null && { Vpc: se_SelfManagedKafkaAccessConfigurationVpc(input.Vpc, context) }),
1304
1286
  };
1305
1287
  };
1306
- const serializeAws_restJson1PipeSourceSqsQueueParameters = (input, context) => {
1288
+ const se_PipeSourceSqsQueueParameters = (input, context) => {
1307
1289
  return {
1308
1290
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1309
1291
  ...(input.MaximumBatchingWindowInSeconds != null && {
@@ -1311,185 +1293,175 @@ const serializeAws_restJson1PipeSourceSqsQueueParameters = (input, context) => {
1311
1293
  }),
1312
1294
  };
1313
1295
  };
1314
- const serializeAws_restJson1PipeTargetBatchJobParameters = (input, context) => {
1296
+ const se_PipeTargetBatchJobParameters = (input, context) => {
1315
1297
  return {
1316
- ...(input.ArrayProperties != null && {
1317
- ArrayProperties: serializeAws_restJson1BatchArrayProperties(input.ArrayProperties, context),
1318
- }),
1298
+ ...(input.ArrayProperties != null && { ArrayProperties: se_BatchArrayProperties(input.ArrayProperties, context) }),
1319
1299
  ...(input.ContainerOverrides != null && {
1320
- ContainerOverrides: serializeAws_restJson1BatchContainerOverrides(input.ContainerOverrides, context),
1300
+ ContainerOverrides: se_BatchContainerOverrides(input.ContainerOverrides, context),
1321
1301
  }),
1322
- ...(input.DependsOn != null && { DependsOn: serializeAws_restJson1BatchDependsOn(input.DependsOn, context) }),
1302
+ ...(input.DependsOn != null && { DependsOn: se_BatchDependsOn(input.DependsOn, context) }),
1323
1303
  ...(input.JobDefinition != null && { JobDefinition: input.JobDefinition }),
1324
1304
  ...(input.JobName != null && { JobName: input.JobName }),
1325
- ...(input.Parameters != null && {
1326
- Parameters: serializeAws_restJson1BatchParametersMap(input.Parameters, context),
1327
- }),
1328
- ...(input.RetryStrategy != null && {
1329
- RetryStrategy: serializeAws_restJson1BatchRetryStrategy(input.RetryStrategy, context),
1330
- }),
1305
+ ...(input.Parameters != null && { Parameters: se_BatchParametersMap(input.Parameters, context) }),
1306
+ ...(input.RetryStrategy != null && { RetryStrategy: se_BatchRetryStrategy(input.RetryStrategy, context) }),
1331
1307
  };
1332
1308
  };
1333
- const serializeAws_restJson1PipeTargetCloudWatchLogsParameters = (input, context) => {
1309
+ const se_PipeTargetCloudWatchLogsParameters = (input, context) => {
1334
1310
  return {
1335
1311
  ...(input.LogStreamName != null && { LogStreamName: input.LogStreamName }),
1336
1312
  ...(input.Timestamp != null && { Timestamp: input.Timestamp }),
1337
1313
  };
1338
1314
  };
1339
- const serializeAws_restJson1PipeTargetEcsTaskParameters = (input, context) => {
1315
+ const se_PipeTargetEcsTaskParameters = (input, context) => {
1340
1316
  return {
1341
1317
  ...(input.CapacityProviderStrategy != null && {
1342
- CapacityProviderStrategy: serializeAws_restJson1CapacityProviderStrategy(input.CapacityProviderStrategy, context),
1318
+ CapacityProviderStrategy: se_CapacityProviderStrategy(input.CapacityProviderStrategy, context),
1343
1319
  }),
1344
1320
  ...(input.EnableECSManagedTags != null && { EnableECSManagedTags: input.EnableECSManagedTags }),
1345
1321
  ...(input.EnableExecuteCommand != null && { EnableExecuteCommand: input.EnableExecuteCommand }),
1346
1322
  ...(input.Group != null && { Group: input.Group }),
1347
1323
  ...(input.LaunchType != null && { LaunchType: input.LaunchType }),
1348
1324
  ...(input.NetworkConfiguration != null && {
1349
- NetworkConfiguration: serializeAws_restJson1NetworkConfiguration(input.NetworkConfiguration, context),
1325
+ NetworkConfiguration: se_NetworkConfiguration(input.NetworkConfiguration, context),
1350
1326
  }),
1351
- ...(input.Overrides != null && { Overrides: serializeAws_restJson1EcsTaskOverride(input.Overrides, context) }),
1327
+ ...(input.Overrides != null && { Overrides: se_EcsTaskOverride(input.Overrides, context) }),
1352
1328
  ...(input.PlacementConstraints != null && {
1353
- PlacementConstraints: serializeAws_restJson1PlacementConstraints(input.PlacementConstraints, context),
1329
+ PlacementConstraints: se_PlacementConstraints(input.PlacementConstraints, context),
1354
1330
  }),
1355
1331
  ...(input.PlacementStrategy != null && {
1356
- PlacementStrategy: serializeAws_restJson1PlacementStrategies(input.PlacementStrategy, context),
1332
+ PlacementStrategy: se_PlacementStrategies(input.PlacementStrategy, context),
1357
1333
  }),
1358
1334
  ...(input.PlatformVersion != null && { PlatformVersion: input.PlatformVersion }),
1359
1335
  ...(input.PropagateTags != null && { PropagateTags: input.PropagateTags }),
1360
1336
  ...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
1361
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
1337
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1362
1338
  ...(input.TaskCount != null && { TaskCount: input.TaskCount }),
1363
1339
  ...(input.TaskDefinitionArn != null && { TaskDefinitionArn: input.TaskDefinitionArn }),
1364
1340
  };
1365
1341
  };
1366
- const serializeAws_restJson1PipeTargetEventBridgeEventBusParameters = (input, context) => {
1342
+ const se_PipeTargetEventBridgeEventBusParameters = (input, context) => {
1367
1343
  return {
1368
1344
  ...(input.DetailType != null && { DetailType: input.DetailType }),
1369
1345
  ...(input.EndpointId != null && { EndpointId: input.EndpointId }),
1370
- ...(input.Resources != null && {
1371
- Resources: serializeAws_restJson1EventBridgeEventResourceList(input.Resources, context),
1372
- }),
1346
+ ...(input.Resources != null && { Resources: se_EventBridgeEventResourceList(input.Resources, context) }),
1373
1347
  ...(input.Source != null && { Source: input.Source }),
1374
1348
  ...(input.Time != null && { Time: input.Time }),
1375
1349
  };
1376
1350
  };
1377
- const serializeAws_restJson1PipeTargetHttpParameters = (input, context) => {
1351
+ const se_PipeTargetHttpParameters = (input, context) => {
1378
1352
  return {
1379
1353
  ...(input.HeaderParameters != null && {
1380
- HeaderParameters: serializeAws_restJson1HeaderParametersMap(input.HeaderParameters, context),
1354
+ HeaderParameters: se_HeaderParametersMap(input.HeaderParameters, context),
1381
1355
  }),
1382
1356
  ...(input.PathParameterValues != null && {
1383
- PathParameterValues: serializeAws_restJson1PathParameterList(input.PathParameterValues, context),
1357
+ PathParameterValues: se_PathParameterList(input.PathParameterValues, context),
1384
1358
  }),
1385
1359
  ...(input.QueryStringParameters != null && {
1386
- QueryStringParameters: serializeAws_restJson1QueryStringParametersMap(input.QueryStringParameters, context),
1360
+ QueryStringParameters: se_QueryStringParametersMap(input.QueryStringParameters, context),
1387
1361
  }),
1388
1362
  };
1389
1363
  };
1390
- const serializeAws_restJson1PipeTargetKinesisStreamParameters = (input, context) => {
1364
+ const se_PipeTargetKinesisStreamParameters = (input, context) => {
1391
1365
  return {
1392
1366
  ...(input.PartitionKey != null && { PartitionKey: input.PartitionKey }),
1393
1367
  };
1394
1368
  };
1395
- const serializeAws_restJson1PipeTargetLambdaFunctionParameters = (input, context) => {
1369
+ const se_PipeTargetLambdaFunctionParameters = (input, context) => {
1396
1370
  return {
1397
1371
  ...(input.InvocationType != null && { InvocationType: input.InvocationType }),
1398
1372
  };
1399
1373
  };
1400
- const serializeAws_restJson1PipeTargetParameters = (input, context) => {
1374
+ const se_PipeTargetParameters = (input, context) => {
1401
1375
  return {
1402
1376
  ...(input.BatchJobParameters != null && {
1403
- BatchJobParameters: serializeAws_restJson1PipeTargetBatchJobParameters(input.BatchJobParameters, context),
1377
+ BatchJobParameters: se_PipeTargetBatchJobParameters(input.BatchJobParameters, context),
1404
1378
  }),
1405
1379
  ...(input.CloudWatchLogsParameters != null && {
1406
- CloudWatchLogsParameters: serializeAws_restJson1PipeTargetCloudWatchLogsParameters(input.CloudWatchLogsParameters, context),
1380
+ CloudWatchLogsParameters: se_PipeTargetCloudWatchLogsParameters(input.CloudWatchLogsParameters, context),
1407
1381
  }),
1408
1382
  ...(input.EcsTaskParameters != null && {
1409
- EcsTaskParameters: serializeAws_restJson1PipeTargetEcsTaskParameters(input.EcsTaskParameters, context),
1383
+ EcsTaskParameters: se_PipeTargetEcsTaskParameters(input.EcsTaskParameters, context),
1410
1384
  }),
1411
1385
  ...(input.EventBridgeEventBusParameters != null && {
1412
- EventBridgeEventBusParameters: serializeAws_restJson1PipeTargetEventBridgeEventBusParameters(input.EventBridgeEventBusParameters, context),
1413
- }),
1414
- ...(input.HttpParameters != null && {
1415
- HttpParameters: serializeAws_restJson1PipeTargetHttpParameters(input.HttpParameters, context),
1386
+ EventBridgeEventBusParameters: se_PipeTargetEventBridgeEventBusParameters(input.EventBridgeEventBusParameters, context),
1416
1387
  }),
1388
+ ...(input.HttpParameters != null && { HttpParameters: se_PipeTargetHttpParameters(input.HttpParameters, context) }),
1417
1389
  ...(input.InputTemplate != null && { InputTemplate: input.InputTemplate }),
1418
1390
  ...(input.KinesisStreamParameters != null && {
1419
- KinesisStreamParameters: serializeAws_restJson1PipeTargetKinesisStreamParameters(input.KinesisStreamParameters, context),
1391
+ KinesisStreamParameters: se_PipeTargetKinesisStreamParameters(input.KinesisStreamParameters, context),
1420
1392
  }),
1421
1393
  ...(input.LambdaFunctionParameters != null && {
1422
- LambdaFunctionParameters: serializeAws_restJson1PipeTargetLambdaFunctionParameters(input.LambdaFunctionParameters, context),
1394
+ LambdaFunctionParameters: se_PipeTargetLambdaFunctionParameters(input.LambdaFunctionParameters, context),
1423
1395
  }),
1424
1396
  ...(input.RedshiftDataParameters != null && {
1425
- RedshiftDataParameters: serializeAws_restJson1PipeTargetRedshiftDataParameters(input.RedshiftDataParameters, context),
1397
+ RedshiftDataParameters: se_PipeTargetRedshiftDataParameters(input.RedshiftDataParameters, context),
1426
1398
  }),
1427
1399
  ...(input.SageMakerPipelineParameters != null && {
1428
- SageMakerPipelineParameters: serializeAws_restJson1PipeTargetSageMakerPipelineParameters(input.SageMakerPipelineParameters, context),
1400
+ SageMakerPipelineParameters: se_PipeTargetSageMakerPipelineParameters(input.SageMakerPipelineParameters, context),
1429
1401
  }),
1430
1402
  ...(input.SqsQueueParameters != null && {
1431
- SqsQueueParameters: serializeAws_restJson1PipeTargetSqsQueueParameters(input.SqsQueueParameters, context),
1403
+ SqsQueueParameters: se_PipeTargetSqsQueueParameters(input.SqsQueueParameters, context),
1432
1404
  }),
1433
1405
  ...(input.StepFunctionStateMachineParameters != null && {
1434
- StepFunctionStateMachineParameters: serializeAws_restJson1PipeTargetStateMachineParameters(input.StepFunctionStateMachineParameters, context),
1406
+ StepFunctionStateMachineParameters: se_PipeTargetStateMachineParameters(input.StepFunctionStateMachineParameters, context),
1435
1407
  }),
1436
1408
  };
1437
1409
  };
1438
- const serializeAws_restJson1PipeTargetRedshiftDataParameters = (input, context) => {
1410
+ const se_PipeTargetRedshiftDataParameters = (input, context) => {
1439
1411
  return {
1440
1412
  ...(input.Database != null && { Database: input.Database }),
1441
1413
  ...(input.DbUser != null && { DbUser: input.DbUser }),
1442
1414
  ...(input.SecretManagerArn != null && { SecretManagerArn: input.SecretManagerArn }),
1443
- ...(input.Sqls != null && { Sqls: serializeAws_restJson1Sqls(input.Sqls, context) }),
1415
+ ...(input.Sqls != null && { Sqls: se_Sqls(input.Sqls, context) }),
1444
1416
  ...(input.StatementName != null && { StatementName: input.StatementName }),
1445
1417
  ...(input.WithEvent != null && { WithEvent: input.WithEvent }),
1446
1418
  };
1447
1419
  };
1448
- const serializeAws_restJson1PipeTargetSageMakerPipelineParameters = (input, context) => {
1420
+ const se_PipeTargetSageMakerPipelineParameters = (input, context) => {
1449
1421
  return {
1450
1422
  ...(input.PipelineParameterList != null && {
1451
- PipelineParameterList: serializeAws_restJson1SageMakerPipelineParameterList(input.PipelineParameterList, context),
1423
+ PipelineParameterList: se_SageMakerPipelineParameterList(input.PipelineParameterList, context),
1452
1424
  }),
1453
1425
  };
1454
1426
  };
1455
- const serializeAws_restJson1PipeTargetSqsQueueParameters = (input, context) => {
1427
+ const se_PipeTargetSqsQueueParameters = (input, context) => {
1456
1428
  return {
1457
1429
  ...(input.MessageDeduplicationId != null && { MessageDeduplicationId: input.MessageDeduplicationId }),
1458
1430
  ...(input.MessageGroupId != null && { MessageGroupId: input.MessageGroupId }),
1459
1431
  };
1460
1432
  };
1461
- const serializeAws_restJson1PipeTargetStateMachineParameters = (input, context) => {
1433
+ const se_PipeTargetStateMachineParameters = (input, context) => {
1462
1434
  return {
1463
1435
  ...(input.InvocationType != null && { InvocationType: input.InvocationType }),
1464
1436
  };
1465
1437
  };
1466
- const serializeAws_restJson1PlacementConstraint = (input, context) => {
1438
+ const se_PlacementConstraint = (input, context) => {
1467
1439
  return {
1468
1440
  ...(input.expression != null && { expression: input.expression }),
1469
1441
  ...(input.type != null && { type: input.type }),
1470
1442
  };
1471
1443
  };
1472
- const serializeAws_restJson1PlacementConstraints = (input, context) => {
1444
+ const se_PlacementConstraints = (input, context) => {
1473
1445
  return input
1474
1446
  .filter((e) => e != null)
1475
1447
  .map((entry) => {
1476
- return serializeAws_restJson1PlacementConstraint(entry, context);
1448
+ return se_PlacementConstraint(entry, context);
1477
1449
  });
1478
1450
  };
1479
- const serializeAws_restJson1PlacementStrategies = (input, context) => {
1451
+ const se_PlacementStrategies = (input, context) => {
1480
1452
  return input
1481
1453
  .filter((e) => e != null)
1482
1454
  .map((entry) => {
1483
- return serializeAws_restJson1PlacementStrategy(entry, context);
1455
+ return se_PlacementStrategy(entry, context);
1484
1456
  });
1485
1457
  };
1486
- const serializeAws_restJson1PlacementStrategy = (input, context) => {
1458
+ const se_PlacementStrategy = (input, context) => {
1487
1459
  return {
1488
1460
  ...(input.field != null && { field: input.field }),
1489
1461
  ...(input.type != null && { type: input.type }),
1490
1462
  };
1491
1463
  };
1492
- const serializeAws_restJson1QueryStringParametersMap = (input, context) => {
1464
+ const se_QueryStringParametersMap = (input, context) => {
1493
1465
  return Object.entries(input).reduce((acc, [key, value]) => {
1494
1466
  if (value === null) {
1495
1467
  return acc;
@@ -1498,34 +1470,34 @@ const serializeAws_restJson1QueryStringParametersMap = (input, context) => {
1498
1470
  return acc;
1499
1471
  }, {});
1500
1472
  };
1501
- const serializeAws_restJson1SageMakerPipelineParameter = (input, context) => {
1473
+ const se_SageMakerPipelineParameter = (input, context) => {
1502
1474
  return {
1503
1475
  ...(input.Name != null && { Name: input.Name }),
1504
1476
  ...(input.Value != null && { Value: input.Value }),
1505
1477
  };
1506
1478
  };
1507
- const serializeAws_restJson1SageMakerPipelineParameterList = (input, context) => {
1479
+ const se_SageMakerPipelineParameterList = (input, context) => {
1508
1480
  return input
1509
1481
  .filter((e) => e != null)
1510
1482
  .map((entry) => {
1511
- return serializeAws_restJson1SageMakerPipelineParameter(entry, context);
1483
+ return se_SageMakerPipelineParameter(entry, context);
1512
1484
  });
1513
1485
  };
1514
- const serializeAws_restJson1SecurityGroupIds = (input, context) => {
1486
+ const se_SecurityGroupIds = (input, context) => {
1515
1487
  return input
1516
1488
  .filter((e) => e != null)
1517
1489
  .map((entry) => {
1518
1490
  return entry;
1519
1491
  });
1520
1492
  };
1521
- const serializeAws_restJson1SecurityGroups = (input, context) => {
1493
+ const se_SecurityGroups = (input, context) => {
1522
1494
  return input
1523
1495
  .filter((e) => e != null)
1524
1496
  .map((entry) => {
1525
1497
  return entry;
1526
1498
  });
1527
1499
  };
1528
- const serializeAws_restJson1SelfManagedKafkaAccessConfigurationCredentials = (input, context) => {
1500
+ const se_SelfManagedKafkaAccessConfigurationCredentials = (input, context) => {
1529
1501
  return models_0_1.SelfManagedKafkaAccessConfigurationCredentials.visit(input, {
1530
1502
  BasicAuth: (value) => ({ BasicAuth: value }),
1531
1503
  ClientCertificateTlsAuth: (value) => ({ ClientCertificateTlsAuth: value }),
@@ -1534,56 +1506,54 @@ const serializeAws_restJson1SelfManagedKafkaAccessConfigurationCredentials = (in
1534
1506
  _: (name, value) => ({ name: value }),
1535
1507
  });
1536
1508
  };
1537
- const serializeAws_restJson1SelfManagedKafkaAccessConfigurationVpc = (input, context) => {
1509
+ const se_SelfManagedKafkaAccessConfigurationVpc = (input, context) => {
1538
1510
  return {
1539
- ...(input.SecurityGroup != null && {
1540
- SecurityGroup: serializeAws_restJson1SecurityGroupIds(input.SecurityGroup, context),
1541
- }),
1542
- ...(input.Subnets != null && { Subnets: serializeAws_restJson1SubnetIds(input.Subnets, context) }),
1511
+ ...(input.SecurityGroup != null && { SecurityGroup: se_SecurityGroupIds(input.SecurityGroup, context) }),
1512
+ ...(input.Subnets != null && { Subnets: se_SubnetIds(input.Subnets, context) }),
1543
1513
  };
1544
1514
  };
1545
- const serializeAws_restJson1Sqls = (input, context) => {
1515
+ const se_Sqls = (input, context) => {
1546
1516
  return input
1547
1517
  .filter((e) => e != null)
1548
1518
  .map((entry) => {
1549
1519
  return entry;
1550
1520
  });
1551
1521
  };
1552
- const serializeAws_restJson1StringList = (input, context) => {
1522
+ const se_StringList = (input, context) => {
1553
1523
  return input
1554
1524
  .filter((e) => e != null)
1555
1525
  .map((entry) => {
1556
1526
  return entry;
1557
1527
  });
1558
1528
  };
1559
- const serializeAws_restJson1SubnetIds = (input, context) => {
1529
+ const se_SubnetIds = (input, context) => {
1560
1530
  return input
1561
1531
  .filter((e) => e != null)
1562
1532
  .map((entry) => {
1563
1533
  return entry;
1564
1534
  });
1565
1535
  };
1566
- const serializeAws_restJson1Subnets = (input, context) => {
1536
+ const se_Subnets = (input, context) => {
1567
1537
  return input
1568
1538
  .filter((e) => e != null)
1569
1539
  .map((entry) => {
1570
1540
  return entry;
1571
1541
  });
1572
1542
  };
1573
- const serializeAws_restJson1Tag = (input, context) => {
1543
+ const se_Tag = (input, context) => {
1574
1544
  return {
1575
1545
  ...(input.Key != null && { Key: input.Key }),
1576
1546
  ...(input.Value != null && { Value: input.Value }),
1577
1547
  };
1578
1548
  };
1579
- const serializeAws_restJson1TagList = (input, context) => {
1549
+ const se_TagList = (input, context) => {
1580
1550
  return input
1581
1551
  .filter((e) => e != null)
1582
1552
  .map((entry) => {
1583
- return serializeAws_restJson1Tag(entry, context);
1553
+ return se_Tag(entry, context);
1584
1554
  });
1585
1555
  };
1586
- const serializeAws_restJson1TagMap = (input, context) => {
1556
+ const se_TagMap = (input, context) => {
1587
1557
  return Object.entries(input).reduce((acc, [key, value]) => {
1588
1558
  if (value === null) {
1589
1559
  return acc;
@@ -1592,23 +1562,19 @@ const serializeAws_restJson1TagMap = (input, context) => {
1592
1562
  return acc;
1593
1563
  }, {});
1594
1564
  };
1595
- const serializeAws_restJson1UpdatePipeSourceActiveMQBrokerParameters = (input, context) => {
1565
+ const se_UpdatePipeSourceActiveMQBrokerParameters = (input, context) => {
1596
1566
  return {
1597
1567
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1598
- ...(input.Credentials != null && {
1599
- Credentials: serializeAws_restJson1MQBrokerAccessCredentials(input.Credentials, context),
1600
- }),
1568
+ ...(input.Credentials != null && { Credentials: se_MQBrokerAccessCredentials(input.Credentials, context) }),
1601
1569
  ...(input.MaximumBatchingWindowInSeconds != null && {
1602
1570
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1603
1571
  }),
1604
1572
  };
1605
1573
  };
1606
- const serializeAws_restJson1UpdatePipeSourceDynamoDBStreamParameters = (input, context) => {
1574
+ const se_UpdatePipeSourceDynamoDBStreamParameters = (input, context) => {
1607
1575
  return {
1608
1576
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1609
- ...(input.DeadLetterConfig != null && {
1610
- DeadLetterConfig: serializeAws_restJson1DeadLetterConfig(input.DeadLetterConfig, context),
1611
- }),
1577
+ ...(input.DeadLetterConfig != null && { DeadLetterConfig: se_DeadLetterConfig(input.DeadLetterConfig, context) }),
1612
1578
  ...(input.MaximumBatchingWindowInSeconds != null && {
1613
1579
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1614
1580
  }),
@@ -1618,12 +1584,10 @@ const serializeAws_restJson1UpdatePipeSourceDynamoDBStreamParameters = (input, c
1618
1584
  ...(input.ParallelizationFactor != null && { ParallelizationFactor: input.ParallelizationFactor }),
1619
1585
  };
1620
1586
  };
1621
- const serializeAws_restJson1UpdatePipeSourceKinesisStreamParameters = (input, context) => {
1587
+ const se_UpdatePipeSourceKinesisStreamParameters = (input, context) => {
1622
1588
  return {
1623
1589
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1624
- ...(input.DeadLetterConfig != null && {
1625
- DeadLetterConfig: serializeAws_restJson1DeadLetterConfig(input.DeadLetterConfig, context),
1626
- }),
1590
+ ...(input.DeadLetterConfig != null && { DeadLetterConfig: se_DeadLetterConfig(input.DeadLetterConfig, context) }),
1627
1591
  ...(input.MaximumBatchingWindowInSeconds != null && {
1628
1592
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1629
1593
  }),
@@ -1633,70 +1597,64 @@ const serializeAws_restJson1UpdatePipeSourceKinesisStreamParameters = (input, co
1633
1597
  ...(input.ParallelizationFactor != null && { ParallelizationFactor: input.ParallelizationFactor }),
1634
1598
  };
1635
1599
  };
1636
- const serializeAws_restJson1UpdatePipeSourceManagedStreamingKafkaParameters = (input, context) => {
1600
+ const se_UpdatePipeSourceManagedStreamingKafkaParameters = (input, context) => {
1637
1601
  return {
1638
1602
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1639
- ...(input.Credentials != null && {
1640
- Credentials: serializeAws_restJson1MSKAccessCredentials(input.Credentials, context),
1641
- }),
1603
+ ...(input.Credentials != null && { Credentials: se_MSKAccessCredentials(input.Credentials, context) }),
1642
1604
  ...(input.MaximumBatchingWindowInSeconds != null && {
1643
1605
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1644
1606
  }),
1645
1607
  };
1646
1608
  };
1647
- const serializeAws_restJson1UpdatePipeSourceParameters = (input, context) => {
1609
+ const se_UpdatePipeSourceParameters = (input, context) => {
1648
1610
  return {
1649
1611
  ...(input.ActiveMQBrokerParameters != null && {
1650
- ActiveMQBrokerParameters: serializeAws_restJson1UpdatePipeSourceActiveMQBrokerParameters(input.ActiveMQBrokerParameters, context),
1612
+ ActiveMQBrokerParameters: se_UpdatePipeSourceActiveMQBrokerParameters(input.ActiveMQBrokerParameters, context),
1651
1613
  }),
1652
1614
  ...(input.DynamoDBStreamParameters != null && {
1653
- DynamoDBStreamParameters: serializeAws_restJson1UpdatePipeSourceDynamoDBStreamParameters(input.DynamoDBStreamParameters, context),
1654
- }),
1655
- ...(input.FilterCriteria != null && {
1656
- FilterCriteria: serializeAws_restJson1FilterCriteria(input.FilterCriteria, context),
1615
+ DynamoDBStreamParameters: se_UpdatePipeSourceDynamoDBStreamParameters(input.DynamoDBStreamParameters, context),
1657
1616
  }),
1617
+ ...(input.FilterCriteria != null && { FilterCriteria: se_FilterCriteria(input.FilterCriteria, context) }),
1658
1618
  ...(input.KinesisStreamParameters != null && {
1659
- KinesisStreamParameters: serializeAws_restJson1UpdatePipeSourceKinesisStreamParameters(input.KinesisStreamParameters, context),
1619
+ KinesisStreamParameters: se_UpdatePipeSourceKinesisStreamParameters(input.KinesisStreamParameters, context),
1660
1620
  }),
1661
1621
  ...(input.ManagedStreamingKafkaParameters != null && {
1662
- ManagedStreamingKafkaParameters: serializeAws_restJson1UpdatePipeSourceManagedStreamingKafkaParameters(input.ManagedStreamingKafkaParameters, context),
1622
+ ManagedStreamingKafkaParameters: se_UpdatePipeSourceManagedStreamingKafkaParameters(input.ManagedStreamingKafkaParameters, context),
1663
1623
  }),
1664
1624
  ...(input.RabbitMQBrokerParameters != null && {
1665
- RabbitMQBrokerParameters: serializeAws_restJson1UpdatePipeSourceRabbitMQBrokerParameters(input.RabbitMQBrokerParameters, context),
1625
+ RabbitMQBrokerParameters: se_UpdatePipeSourceRabbitMQBrokerParameters(input.RabbitMQBrokerParameters, context),
1666
1626
  }),
1667
1627
  ...(input.SelfManagedKafkaParameters != null && {
1668
- SelfManagedKafkaParameters: serializeAws_restJson1UpdatePipeSourceSelfManagedKafkaParameters(input.SelfManagedKafkaParameters, context),
1628
+ SelfManagedKafkaParameters: se_UpdatePipeSourceSelfManagedKafkaParameters(input.SelfManagedKafkaParameters, context),
1669
1629
  }),
1670
1630
  ...(input.SqsQueueParameters != null && {
1671
- SqsQueueParameters: serializeAws_restJson1UpdatePipeSourceSqsQueueParameters(input.SqsQueueParameters, context),
1631
+ SqsQueueParameters: se_UpdatePipeSourceSqsQueueParameters(input.SqsQueueParameters, context),
1672
1632
  }),
1673
1633
  };
1674
1634
  };
1675
- const serializeAws_restJson1UpdatePipeSourceRabbitMQBrokerParameters = (input, context) => {
1635
+ const se_UpdatePipeSourceRabbitMQBrokerParameters = (input, context) => {
1676
1636
  return {
1677
1637
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1678
- ...(input.Credentials != null && {
1679
- Credentials: serializeAws_restJson1MQBrokerAccessCredentials(input.Credentials, context),
1680
- }),
1638
+ ...(input.Credentials != null && { Credentials: se_MQBrokerAccessCredentials(input.Credentials, context) }),
1681
1639
  ...(input.MaximumBatchingWindowInSeconds != null && {
1682
1640
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1683
1641
  }),
1684
1642
  };
1685
1643
  };
1686
- const serializeAws_restJson1UpdatePipeSourceSelfManagedKafkaParameters = (input, context) => {
1644
+ const se_UpdatePipeSourceSelfManagedKafkaParameters = (input, context) => {
1687
1645
  return {
1688
1646
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1689
1647
  ...(input.Credentials != null && {
1690
- Credentials: serializeAws_restJson1SelfManagedKafkaAccessConfigurationCredentials(input.Credentials, context),
1648
+ Credentials: se_SelfManagedKafkaAccessConfigurationCredentials(input.Credentials, context),
1691
1649
  }),
1692
1650
  ...(input.MaximumBatchingWindowInSeconds != null && {
1693
1651
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
1694
1652
  }),
1695
1653
  ...(input.ServerRootCaCertificate != null && { ServerRootCaCertificate: input.ServerRootCaCertificate }),
1696
- ...(input.Vpc != null && { Vpc: serializeAws_restJson1SelfManagedKafkaAccessConfigurationVpc(input.Vpc, context) }),
1654
+ ...(input.Vpc != null && { Vpc: se_SelfManagedKafkaAccessConfigurationVpc(input.Vpc, context) }),
1697
1655
  };
1698
1656
  };
1699
- const serializeAws_restJson1UpdatePipeSourceSqsQueueParameters = (input, context) => {
1657
+ const se_UpdatePipeSourceSqsQueueParameters = (input, context) => {
1700
1658
  return {
1701
1659
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
1702
1660
  ...(input.MaximumBatchingWindowInSeconds != null && {
@@ -1704,67 +1662,63 @@ const serializeAws_restJson1UpdatePipeSourceSqsQueueParameters = (input, context
1704
1662
  }),
1705
1663
  };
1706
1664
  };
1707
- const deserializeAws_restJson1AwsVpcConfiguration = (output, context) => {
1665
+ const de_AwsVpcConfiguration = (output, context) => {
1708
1666
  return {
1709
1667
  AssignPublicIp: (0, smithy_client_1.expectString)(output.AssignPublicIp),
1710
- SecurityGroups: output.SecurityGroups != null
1711
- ? deserializeAws_restJson1SecurityGroups(output.SecurityGroups, context)
1712
- : undefined,
1713
- Subnets: output.Subnets != null ? deserializeAws_restJson1Subnets(output.Subnets, context) : undefined,
1668
+ SecurityGroups: output.SecurityGroups != null ? de_SecurityGroups(output.SecurityGroups, context) : undefined,
1669
+ Subnets: output.Subnets != null ? de_Subnets(output.Subnets, context) : undefined,
1714
1670
  };
1715
1671
  };
1716
- const deserializeAws_restJson1BatchArrayProperties = (output, context) => {
1672
+ const de_BatchArrayProperties = (output, context) => {
1717
1673
  return {
1718
1674
  Size: (0, smithy_client_1.expectInt32)(output.Size),
1719
1675
  };
1720
1676
  };
1721
- const deserializeAws_restJson1BatchContainerOverrides = (output, context) => {
1677
+ const de_BatchContainerOverrides = (output, context) => {
1722
1678
  return {
1723
- Command: output.Command != null ? deserializeAws_restJson1StringList(output.Command, context) : undefined,
1724
- Environment: output.Environment != null
1725
- ? deserializeAws_restJson1BatchEnvironmentVariableList(output.Environment, context)
1726
- : undefined,
1679
+ Command: output.Command != null ? de_StringList(output.Command, context) : undefined,
1680
+ Environment: output.Environment != null ? de_BatchEnvironmentVariableList(output.Environment, context) : undefined,
1727
1681
  InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
1728
1682
  ResourceRequirements: output.ResourceRequirements != null
1729
- ? deserializeAws_restJson1BatchResourceRequirementsList(output.ResourceRequirements, context)
1683
+ ? de_BatchResourceRequirementsList(output.ResourceRequirements, context)
1730
1684
  : undefined,
1731
1685
  };
1732
1686
  };
1733
- const deserializeAws_restJson1BatchDependsOn = (output, context) => {
1687
+ const de_BatchDependsOn = (output, context) => {
1734
1688
  const retVal = (output || [])
1735
1689
  .filter((e) => e != null)
1736
1690
  .map((entry) => {
1737
1691
  if (entry === null) {
1738
1692
  return null;
1739
1693
  }
1740
- return deserializeAws_restJson1BatchJobDependency(entry, context);
1694
+ return de_BatchJobDependency(entry, context);
1741
1695
  });
1742
1696
  return retVal;
1743
1697
  };
1744
- const deserializeAws_restJson1BatchEnvironmentVariable = (output, context) => {
1698
+ const de_BatchEnvironmentVariable = (output, context) => {
1745
1699
  return {
1746
1700
  Name: (0, smithy_client_1.expectString)(output.Name),
1747
1701
  Value: (0, smithy_client_1.expectString)(output.Value),
1748
1702
  };
1749
1703
  };
1750
- const deserializeAws_restJson1BatchEnvironmentVariableList = (output, context) => {
1704
+ const de_BatchEnvironmentVariableList = (output, context) => {
1751
1705
  const retVal = (output || [])
1752
1706
  .filter((e) => e != null)
1753
1707
  .map((entry) => {
1754
1708
  if (entry === null) {
1755
1709
  return null;
1756
1710
  }
1757
- return deserializeAws_restJson1BatchEnvironmentVariable(entry, context);
1711
+ return de_BatchEnvironmentVariable(entry, context);
1758
1712
  });
1759
1713
  return retVal;
1760
1714
  };
1761
- const deserializeAws_restJson1BatchJobDependency = (output, context) => {
1715
+ const de_BatchJobDependency = (output, context) => {
1762
1716
  return {
1763
1717
  JobId: (0, smithy_client_1.expectString)(output.JobId),
1764
1718
  Type: (0, smithy_client_1.expectString)(output.Type),
1765
1719
  };
1766
1720
  };
1767
- const deserializeAws_restJson1BatchParametersMap = (output, context) => {
1721
+ const de_BatchParametersMap = (output, context) => {
1768
1722
  return Object.entries(output).reduce((acc, [key, value]) => {
1769
1723
  if (value === null) {
1770
1724
  return acc;
@@ -1773,171 +1727,163 @@ const deserializeAws_restJson1BatchParametersMap = (output, context) => {
1773
1727
  return acc;
1774
1728
  }, {});
1775
1729
  };
1776
- const deserializeAws_restJson1BatchResourceRequirement = (output, context) => {
1730
+ const de_BatchResourceRequirement = (output, context) => {
1777
1731
  return {
1778
1732
  Type: (0, smithy_client_1.expectString)(output.Type),
1779
1733
  Value: (0, smithy_client_1.expectString)(output.Value),
1780
1734
  };
1781
1735
  };
1782
- const deserializeAws_restJson1BatchResourceRequirementsList = (output, context) => {
1736
+ const de_BatchResourceRequirementsList = (output, context) => {
1783
1737
  const retVal = (output || [])
1784
1738
  .filter((e) => e != null)
1785
1739
  .map((entry) => {
1786
1740
  if (entry === null) {
1787
1741
  return null;
1788
1742
  }
1789
- return deserializeAws_restJson1BatchResourceRequirement(entry, context);
1743
+ return de_BatchResourceRequirement(entry, context);
1790
1744
  });
1791
1745
  return retVal;
1792
1746
  };
1793
- const deserializeAws_restJson1BatchRetryStrategy = (output, context) => {
1747
+ const de_BatchRetryStrategy = (output, context) => {
1794
1748
  return {
1795
1749
  Attempts: (0, smithy_client_1.expectInt32)(output.Attempts),
1796
1750
  };
1797
1751
  };
1798
- const deserializeAws_restJson1CapacityProviderStrategy = (output, context) => {
1752
+ const de_CapacityProviderStrategy = (output, context) => {
1799
1753
  const retVal = (output || [])
1800
1754
  .filter((e) => e != null)
1801
1755
  .map((entry) => {
1802
1756
  if (entry === null) {
1803
1757
  return null;
1804
1758
  }
1805
- return deserializeAws_restJson1CapacityProviderStrategyItem(entry, context);
1759
+ return de_CapacityProviderStrategyItem(entry, context);
1806
1760
  });
1807
1761
  return retVal;
1808
1762
  };
1809
- const deserializeAws_restJson1CapacityProviderStrategyItem = (output, context) => {
1763
+ const de_CapacityProviderStrategyItem = (output, context) => {
1810
1764
  return {
1811
1765
  base: (0, smithy_client_1.expectInt32)(output.base),
1812
1766
  capacityProvider: (0, smithy_client_1.expectString)(output.capacityProvider),
1813
1767
  weight: (0, smithy_client_1.expectInt32)(output.weight),
1814
1768
  };
1815
1769
  };
1816
- const deserializeAws_restJson1DeadLetterConfig = (output, context) => {
1770
+ const de_DeadLetterConfig = (output, context) => {
1817
1771
  return {
1818
1772
  Arn: (0, smithy_client_1.expectString)(output.Arn),
1819
1773
  };
1820
1774
  };
1821
- const deserializeAws_restJson1EcsContainerOverride = (output, context) => {
1775
+ const de_EcsContainerOverride = (output, context) => {
1822
1776
  return {
1823
- Command: output.Command != null ? deserializeAws_restJson1StringList(output.Command, context) : undefined,
1777
+ Command: output.Command != null ? de_StringList(output.Command, context) : undefined,
1824
1778
  Cpu: (0, smithy_client_1.expectInt32)(output.Cpu),
1825
- Environment: output.Environment != null
1826
- ? deserializeAws_restJson1EcsEnvironmentVariableList(output.Environment, context)
1827
- : undefined,
1828
- EnvironmentFiles: output.EnvironmentFiles != null
1829
- ? deserializeAws_restJson1EcsEnvironmentFileList(output.EnvironmentFiles, context)
1830
- : undefined,
1779
+ Environment: output.Environment != null ? de_EcsEnvironmentVariableList(output.Environment, context) : undefined,
1780
+ EnvironmentFiles: output.EnvironmentFiles != null ? de_EcsEnvironmentFileList(output.EnvironmentFiles, context) : undefined,
1831
1781
  Memory: (0, smithy_client_1.expectInt32)(output.Memory),
1832
1782
  MemoryReservation: (0, smithy_client_1.expectInt32)(output.MemoryReservation),
1833
1783
  Name: (0, smithy_client_1.expectString)(output.Name),
1834
1784
  ResourceRequirements: output.ResourceRequirements != null
1835
- ? deserializeAws_restJson1EcsResourceRequirementsList(output.ResourceRequirements, context)
1785
+ ? de_EcsResourceRequirementsList(output.ResourceRequirements, context)
1836
1786
  : undefined,
1837
1787
  };
1838
1788
  };
1839
- const deserializeAws_restJson1EcsContainerOverrideList = (output, context) => {
1789
+ const de_EcsContainerOverrideList = (output, context) => {
1840
1790
  const retVal = (output || [])
1841
1791
  .filter((e) => e != null)
1842
1792
  .map((entry) => {
1843
1793
  if (entry === null) {
1844
1794
  return null;
1845
1795
  }
1846
- return deserializeAws_restJson1EcsContainerOverride(entry, context);
1796
+ return de_EcsContainerOverride(entry, context);
1847
1797
  });
1848
1798
  return retVal;
1849
1799
  };
1850
- const deserializeAws_restJson1EcsEnvironmentFile = (output, context) => {
1800
+ const de_EcsEnvironmentFile = (output, context) => {
1851
1801
  return {
1852
1802
  type: (0, smithy_client_1.expectString)(output.type),
1853
1803
  value: (0, smithy_client_1.expectString)(output.value),
1854
1804
  };
1855
1805
  };
1856
- const deserializeAws_restJson1EcsEnvironmentFileList = (output, context) => {
1806
+ const de_EcsEnvironmentFileList = (output, context) => {
1857
1807
  const retVal = (output || [])
1858
1808
  .filter((e) => e != null)
1859
1809
  .map((entry) => {
1860
1810
  if (entry === null) {
1861
1811
  return null;
1862
1812
  }
1863
- return deserializeAws_restJson1EcsEnvironmentFile(entry, context);
1813
+ return de_EcsEnvironmentFile(entry, context);
1864
1814
  });
1865
1815
  return retVal;
1866
1816
  };
1867
- const deserializeAws_restJson1EcsEnvironmentVariable = (output, context) => {
1817
+ const de_EcsEnvironmentVariable = (output, context) => {
1868
1818
  return {
1869
1819
  name: (0, smithy_client_1.expectString)(output.name),
1870
1820
  value: (0, smithy_client_1.expectString)(output.value),
1871
1821
  };
1872
1822
  };
1873
- const deserializeAws_restJson1EcsEnvironmentVariableList = (output, context) => {
1823
+ const de_EcsEnvironmentVariableList = (output, context) => {
1874
1824
  const retVal = (output || [])
1875
1825
  .filter((e) => e != null)
1876
1826
  .map((entry) => {
1877
1827
  if (entry === null) {
1878
1828
  return null;
1879
1829
  }
1880
- return deserializeAws_restJson1EcsEnvironmentVariable(entry, context);
1830
+ return de_EcsEnvironmentVariable(entry, context);
1881
1831
  });
1882
1832
  return retVal;
1883
1833
  };
1884
- const deserializeAws_restJson1EcsEphemeralStorage = (output, context) => {
1834
+ const de_EcsEphemeralStorage = (output, context) => {
1885
1835
  return {
1886
1836
  sizeInGiB: (0, smithy_client_1.expectInt32)(output.sizeInGiB),
1887
1837
  };
1888
1838
  };
1889
- const deserializeAws_restJson1EcsInferenceAcceleratorOverride = (output, context) => {
1839
+ const de_EcsInferenceAcceleratorOverride = (output, context) => {
1890
1840
  return {
1891
1841
  deviceName: (0, smithy_client_1.expectString)(output.deviceName),
1892
1842
  deviceType: (0, smithy_client_1.expectString)(output.deviceType),
1893
1843
  };
1894
1844
  };
1895
- const deserializeAws_restJson1EcsInferenceAcceleratorOverrideList = (output, context) => {
1845
+ const de_EcsInferenceAcceleratorOverrideList = (output, context) => {
1896
1846
  const retVal = (output || [])
1897
1847
  .filter((e) => e != null)
1898
1848
  .map((entry) => {
1899
1849
  if (entry === null) {
1900
1850
  return null;
1901
1851
  }
1902
- return deserializeAws_restJson1EcsInferenceAcceleratorOverride(entry, context);
1852
+ return de_EcsInferenceAcceleratorOverride(entry, context);
1903
1853
  });
1904
1854
  return retVal;
1905
1855
  };
1906
- const deserializeAws_restJson1EcsResourceRequirement = (output, context) => {
1856
+ const de_EcsResourceRequirement = (output, context) => {
1907
1857
  return {
1908
1858
  type: (0, smithy_client_1.expectString)(output.type),
1909
1859
  value: (0, smithy_client_1.expectString)(output.value),
1910
1860
  };
1911
1861
  };
1912
- const deserializeAws_restJson1EcsResourceRequirementsList = (output, context) => {
1862
+ const de_EcsResourceRequirementsList = (output, context) => {
1913
1863
  const retVal = (output || [])
1914
1864
  .filter((e) => e != null)
1915
1865
  .map((entry) => {
1916
1866
  if (entry === null) {
1917
1867
  return null;
1918
1868
  }
1919
- return deserializeAws_restJson1EcsResourceRequirement(entry, context);
1869
+ return de_EcsResourceRequirement(entry, context);
1920
1870
  });
1921
1871
  return retVal;
1922
1872
  };
1923
- const deserializeAws_restJson1EcsTaskOverride = (output, context) => {
1873
+ const de_EcsTaskOverride = (output, context) => {
1924
1874
  return {
1925
- ContainerOverrides: output.ContainerOverrides != null
1926
- ? deserializeAws_restJson1EcsContainerOverrideList(output.ContainerOverrides, context)
1927
- : undefined,
1875
+ ContainerOverrides: output.ContainerOverrides != null ? de_EcsContainerOverrideList(output.ContainerOverrides, context) : undefined,
1928
1876
  Cpu: (0, smithy_client_1.expectString)(output.Cpu),
1929
- EphemeralStorage: output.EphemeralStorage != null
1930
- ? deserializeAws_restJson1EcsEphemeralStorage(output.EphemeralStorage, context)
1931
- : undefined,
1877
+ EphemeralStorage: output.EphemeralStorage != null ? de_EcsEphemeralStorage(output.EphemeralStorage, context) : undefined,
1932
1878
  ExecutionRoleArn: (0, smithy_client_1.expectString)(output.ExecutionRoleArn),
1933
1879
  InferenceAcceleratorOverrides: output.InferenceAcceleratorOverrides != null
1934
- ? deserializeAws_restJson1EcsInferenceAcceleratorOverrideList(output.InferenceAcceleratorOverrides, context)
1880
+ ? de_EcsInferenceAcceleratorOverrideList(output.InferenceAcceleratorOverrides, context)
1935
1881
  : undefined,
1936
1882
  Memory: (0, smithy_client_1.expectString)(output.Memory),
1937
1883
  TaskRoleArn: (0, smithy_client_1.expectString)(output.TaskRoleArn),
1938
1884
  };
1939
1885
  };
1940
- const deserializeAws_restJson1EventBridgeEventResourceList = (output, context) => {
1886
+ const de_EventBridgeEventResourceList = (output, context) => {
1941
1887
  const retVal = (output || [])
1942
1888
  .filter((e) => e != null)
1943
1889
  .map((entry) => {
@@ -1948,28 +1894,28 @@ const deserializeAws_restJson1EventBridgeEventResourceList = (output, context) =
1948
1894
  });
1949
1895
  return retVal;
1950
1896
  };
1951
- const deserializeAws_restJson1Filter = (output, context) => {
1897
+ const de_Filter = (output, context) => {
1952
1898
  return {
1953
1899
  Pattern: (0, smithy_client_1.expectString)(output.Pattern),
1954
1900
  };
1955
1901
  };
1956
- const deserializeAws_restJson1FilterCriteria = (output, context) => {
1902
+ const de_FilterCriteria = (output, context) => {
1957
1903
  return {
1958
- Filters: output.Filters != null ? deserializeAws_restJson1FilterList(output.Filters, context) : undefined,
1904
+ Filters: output.Filters != null ? de_FilterList(output.Filters, context) : undefined,
1959
1905
  };
1960
1906
  };
1961
- const deserializeAws_restJson1FilterList = (output, context) => {
1907
+ const de_FilterList = (output, context) => {
1962
1908
  const retVal = (output || [])
1963
1909
  .filter((e) => e != null)
1964
1910
  .map((entry) => {
1965
1911
  if (entry === null) {
1966
1912
  return null;
1967
1913
  }
1968
- return deserializeAws_restJson1Filter(entry, context);
1914
+ return de_Filter(entry, context);
1969
1915
  });
1970
1916
  return retVal;
1971
1917
  };
1972
- const deserializeAws_restJson1HeaderParametersMap = (output, context) => {
1918
+ const de_HeaderParametersMap = (output, context) => {
1973
1919
  return Object.entries(output).reduce((acc, [key, value]) => {
1974
1920
  if (value === null) {
1975
1921
  return acc;
@@ -1978,7 +1924,7 @@ const deserializeAws_restJson1HeaderParametersMap = (output, context) => {
1978
1924
  return acc;
1979
1925
  }, {});
1980
1926
  };
1981
- const deserializeAws_restJson1KafkaBootstrapServers = (output, context) => {
1927
+ const de_KafkaBootstrapServers = (output, context) => {
1982
1928
  const retVal = (output || [])
1983
1929
  .filter((e) => e != null)
1984
1930
  .map((entry) => {
@@ -1989,13 +1935,13 @@ const deserializeAws_restJson1KafkaBootstrapServers = (output, context) => {
1989
1935
  });
1990
1936
  return retVal;
1991
1937
  };
1992
- const deserializeAws_restJson1MQBrokerAccessCredentials = (output, context) => {
1938
+ const de_MQBrokerAccessCredentials = (output, context) => {
1993
1939
  if ((0, smithy_client_1.expectString)(output.BasicAuth) !== undefined) {
1994
1940
  return { BasicAuth: (0, smithy_client_1.expectString)(output.BasicAuth) };
1995
1941
  }
1996
1942
  return { $unknown: Object.entries(output)[0] };
1997
1943
  };
1998
- const deserializeAws_restJson1MSKAccessCredentials = (output, context) => {
1944
+ const de_MSKAccessCredentials = (output, context) => {
1999
1945
  if ((0, smithy_client_1.expectString)(output.ClientCertificateTlsAuth) !== undefined) {
2000
1946
  return { ClientCertificateTlsAuth: (0, smithy_client_1.expectString)(output.ClientCertificateTlsAuth) };
2001
1947
  }
@@ -2004,14 +1950,12 @@ const deserializeAws_restJson1MSKAccessCredentials = (output, context) => {
2004
1950
  }
2005
1951
  return { $unknown: Object.entries(output)[0] };
2006
1952
  };
2007
- const deserializeAws_restJson1NetworkConfiguration = (output, context) => {
1953
+ const de_NetworkConfiguration = (output, context) => {
2008
1954
  return {
2009
- awsvpcConfiguration: output.awsvpcConfiguration != null
2010
- ? deserializeAws_restJson1AwsVpcConfiguration(output.awsvpcConfiguration, context)
2011
- : undefined,
1955
+ awsvpcConfiguration: output.awsvpcConfiguration != null ? de_AwsVpcConfiguration(output.awsvpcConfiguration, context) : undefined,
2012
1956
  };
2013
1957
  };
2014
- const deserializeAws_restJson1PathParameterList = (output, context) => {
1958
+ const de_PathParameterList = (output, context) => {
2015
1959
  const retVal = (output || [])
2016
1960
  .filter((e) => e != null)
2017
1961
  .map((entry) => {
@@ -2022,7 +1966,7 @@ const deserializeAws_restJson1PathParameterList = (output, context) => {
2022
1966
  });
2023
1967
  return retVal;
2024
1968
  };
2025
- const deserializeAws_restJson1Pipe = (output, context) => {
1969
+ const de_Pipe = (output, context) => {
2026
1970
  return {
2027
1971
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2028
1972
  CreationTime: output.CreationTime != null
@@ -2040,54 +1984,44 @@ const deserializeAws_restJson1Pipe = (output, context) => {
2040
1984
  Target: (0, smithy_client_1.expectString)(output.Target),
2041
1985
  };
2042
1986
  };
2043
- const deserializeAws_restJson1PipeEnrichmentHttpParameters = (output, context) => {
1987
+ const de_PipeEnrichmentHttpParameters = (output, context) => {
2044
1988
  return {
2045
- HeaderParameters: output.HeaderParameters != null
2046
- ? deserializeAws_restJson1HeaderParametersMap(output.HeaderParameters, context)
2047
- : undefined,
2048
- PathParameterValues: output.PathParameterValues != null
2049
- ? deserializeAws_restJson1PathParameterList(output.PathParameterValues, context)
2050
- : undefined,
1989
+ HeaderParameters: output.HeaderParameters != null ? de_HeaderParametersMap(output.HeaderParameters, context) : undefined,
1990
+ PathParameterValues: output.PathParameterValues != null ? de_PathParameterList(output.PathParameterValues, context) : undefined,
2051
1991
  QueryStringParameters: output.QueryStringParameters != null
2052
- ? deserializeAws_restJson1QueryStringParametersMap(output.QueryStringParameters, context)
1992
+ ? de_QueryStringParametersMap(output.QueryStringParameters, context)
2053
1993
  : undefined,
2054
1994
  };
2055
1995
  };
2056
- const deserializeAws_restJson1PipeEnrichmentParameters = (output, context) => {
1996
+ const de_PipeEnrichmentParameters = (output, context) => {
2057
1997
  return {
2058
- HttpParameters: output.HttpParameters != null
2059
- ? deserializeAws_restJson1PipeEnrichmentHttpParameters(output.HttpParameters, context)
2060
- : undefined,
1998
+ HttpParameters: output.HttpParameters != null ? de_PipeEnrichmentHttpParameters(output.HttpParameters, context) : undefined,
2061
1999
  InputTemplate: (0, smithy_client_1.expectString)(output.InputTemplate),
2062
2000
  };
2063
2001
  };
2064
- const deserializeAws_restJson1PipeList = (output, context) => {
2002
+ const de_PipeList = (output, context) => {
2065
2003
  const retVal = (output || [])
2066
2004
  .filter((e) => e != null)
2067
2005
  .map((entry) => {
2068
2006
  if (entry === null) {
2069
2007
  return null;
2070
2008
  }
2071
- return deserializeAws_restJson1Pipe(entry, context);
2009
+ return de_Pipe(entry, context);
2072
2010
  });
2073
2011
  return retVal;
2074
2012
  };
2075
- const deserializeAws_restJson1PipeSourceActiveMQBrokerParameters = (output, context) => {
2013
+ const de_PipeSourceActiveMQBrokerParameters = (output, context) => {
2076
2014
  return {
2077
2015
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
2078
- Credentials: output.Credentials != null
2079
- ? deserializeAws_restJson1MQBrokerAccessCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context)
2080
- : undefined,
2016
+ Credentials: output.Credentials != null ? de_MQBrokerAccessCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context) : undefined,
2081
2017
  MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
2082
2018
  QueueName: (0, smithy_client_1.expectString)(output.QueueName),
2083
2019
  };
2084
2020
  };
2085
- const deserializeAws_restJson1PipeSourceDynamoDBStreamParameters = (output, context) => {
2021
+ const de_PipeSourceDynamoDBStreamParameters = (output, context) => {
2086
2022
  return {
2087
2023
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
2088
- DeadLetterConfig: output.DeadLetterConfig != null
2089
- ? deserializeAws_restJson1DeadLetterConfig(output.DeadLetterConfig, context)
2090
- : undefined,
2024
+ DeadLetterConfig: output.DeadLetterConfig != null ? de_DeadLetterConfig(output.DeadLetterConfig, context) : undefined,
2091
2025
  MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
2092
2026
  MaximumRecordAgeInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumRecordAgeInSeconds),
2093
2027
  MaximumRetryAttempts: (0, smithy_client_1.expectInt32)(output.MaximumRetryAttempts),
@@ -2096,12 +2030,10 @@ const deserializeAws_restJson1PipeSourceDynamoDBStreamParameters = (output, cont
2096
2030
  StartingPosition: (0, smithy_client_1.expectString)(output.StartingPosition),
2097
2031
  };
2098
2032
  };
2099
- const deserializeAws_restJson1PipeSourceKinesisStreamParameters = (output, context) => {
2033
+ const de_PipeSourceKinesisStreamParameters = (output, context) => {
2100
2034
  return {
2101
2035
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
2102
- DeadLetterConfig: output.DeadLetterConfig != null
2103
- ? deserializeAws_restJson1DeadLetterConfig(output.DeadLetterConfig, context)
2104
- : undefined,
2036
+ DeadLetterConfig: output.DeadLetterConfig != null ? de_DeadLetterConfig(output.DeadLetterConfig, context) : undefined,
2105
2037
  MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
2106
2038
  MaximumRecordAgeInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumRecordAgeInSeconds),
2107
2039
  MaximumRetryAttempts: (0, smithy_client_1.expectInt32)(output.MaximumRetryAttempts),
@@ -2113,267 +2045,237 @@ const deserializeAws_restJson1PipeSourceKinesisStreamParameters = (output, conte
2113
2045
  : undefined,
2114
2046
  };
2115
2047
  };
2116
- const deserializeAws_restJson1PipeSourceManagedStreamingKafkaParameters = (output, context) => {
2048
+ const de_PipeSourceManagedStreamingKafkaParameters = (output, context) => {
2117
2049
  return {
2118
2050
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
2119
2051
  ConsumerGroupID: (0, smithy_client_1.expectString)(output.ConsumerGroupID),
2120
- Credentials: output.Credentials != null
2121
- ? deserializeAws_restJson1MSKAccessCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context)
2122
- : undefined,
2052
+ Credentials: output.Credentials != null ? de_MSKAccessCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context) : undefined,
2123
2053
  MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
2124
2054
  StartingPosition: (0, smithy_client_1.expectString)(output.StartingPosition),
2125
2055
  TopicName: (0, smithy_client_1.expectString)(output.TopicName),
2126
2056
  };
2127
2057
  };
2128
- const deserializeAws_restJson1PipeSourceParameters = (output, context) => {
2058
+ const de_PipeSourceParameters = (output, context) => {
2129
2059
  return {
2130
2060
  ActiveMQBrokerParameters: output.ActiveMQBrokerParameters != null
2131
- ? deserializeAws_restJson1PipeSourceActiveMQBrokerParameters(output.ActiveMQBrokerParameters, context)
2061
+ ? de_PipeSourceActiveMQBrokerParameters(output.ActiveMQBrokerParameters, context)
2132
2062
  : undefined,
2133
2063
  DynamoDBStreamParameters: output.DynamoDBStreamParameters != null
2134
- ? deserializeAws_restJson1PipeSourceDynamoDBStreamParameters(output.DynamoDBStreamParameters, context)
2135
- : undefined,
2136
- FilterCriteria: output.FilterCriteria != null
2137
- ? deserializeAws_restJson1FilterCriteria(output.FilterCriteria, context)
2064
+ ? de_PipeSourceDynamoDBStreamParameters(output.DynamoDBStreamParameters, context)
2138
2065
  : undefined,
2066
+ FilterCriteria: output.FilterCriteria != null ? de_FilterCriteria(output.FilterCriteria, context) : undefined,
2139
2067
  KinesisStreamParameters: output.KinesisStreamParameters != null
2140
- ? deserializeAws_restJson1PipeSourceKinesisStreamParameters(output.KinesisStreamParameters, context)
2068
+ ? de_PipeSourceKinesisStreamParameters(output.KinesisStreamParameters, context)
2141
2069
  : undefined,
2142
2070
  ManagedStreamingKafkaParameters: output.ManagedStreamingKafkaParameters != null
2143
- ? deserializeAws_restJson1PipeSourceManagedStreamingKafkaParameters(output.ManagedStreamingKafkaParameters, context)
2071
+ ? de_PipeSourceManagedStreamingKafkaParameters(output.ManagedStreamingKafkaParameters, context)
2144
2072
  : undefined,
2145
2073
  RabbitMQBrokerParameters: output.RabbitMQBrokerParameters != null
2146
- ? deserializeAws_restJson1PipeSourceRabbitMQBrokerParameters(output.RabbitMQBrokerParameters, context)
2074
+ ? de_PipeSourceRabbitMQBrokerParameters(output.RabbitMQBrokerParameters, context)
2147
2075
  : undefined,
2148
2076
  SelfManagedKafkaParameters: output.SelfManagedKafkaParameters != null
2149
- ? deserializeAws_restJson1PipeSourceSelfManagedKafkaParameters(output.SelfManagedKafkaParameters, context)
2077
+ ? de_PipeSourceSelfManagedKafkaParameters(output.SelfManagedKafkaParameters, context)
2150
2078
  : undefined,
2151
2079
  SqsQueueParameters: output.SqsQueueParameters != null
2152
- ? deserializeAws_restJson1PipeSourceSqsQueueParameters(output.SqsQueueParameters, context)
2080
+ ? de_PipeSourceSqsQueueParameters(output.SqsQueueParameters, context)
2153
2081
  : undefined,
2154
2082
  };
2155
2083
  };
2156
- const deserializeAws_restJson1PipeSourceRabbitMQBrokerParameters = (output, context) => {
2084
+ const de_PipeSourceRabbitMQBrokerParameters = (output, context) => {
2157
2085
  return {
2158
2086
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
2159
- Credentials: output.Credentials != null
2160
- ? deserializeAws_restJson1MQBrokerAccessCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context)
2161
- : undefined,
2087
+ Credentials: output.Credentials != null ? de_MQBrokerAccessCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context) : undefined,
2162
2088
  MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
2163
2089
  QueueName: (0, smithy_client_1.expectString)(output.QueueName),
2164
2090
  VirtualHost: (0, smithy_client_1.expectString)(output.VirtualHost),
2165
2091
  };
2166
2092
  };
2167
- const deserializeAws_restJson1PipeSourceSelfManagedKafkaParameters = (output, context) => {
2093
+ const de_PipeSourceSelfManagedKafkaParameters = (output, context) => {
2168
2094
  return {
2169
2095
  AdditionalBootstrapServers: output.AdditionalBootstrapServers != null
2170
- ? deserializeAws_restJson1KafkaBootstrapServers(output.AdditionalBootstrapServers, context)
2096
+ ? de_KafkaBootstrapServers(output.AdditionalBootstrapServers, context)
2171
2097
  : undefined,
2172
2098
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
2173
2099
  ConsumerGroupID: (0, smithy_client_1.expectString)(output.ConsumerGroupID),
2174
2100
  Credentials: output.Credentials != null
2175
- ? deserializeAws_restJson1SelfManagedKafkaAccessConfigurationCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context)
2101
+ ? de_SelfManagedKafkaAccessConfigurationCredentials((0, smithy_client_1.expectUnion)(output.Credentials), context)
2176
2102
  : undefined,
2177
2103
  MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
2178
2104
  ServerRootCaCertificate: (0, smithy_client_1.expectString)(output.ServerRootCaCertificate),
2179
2105
  StartingPosition: (0, smithy_client_1.expectString)(output.StartingPosition),
2180
2106
  TopicName: (0, smithy_client_1.expectString)(output.TopicName),
2181
- Vpc: output.Vpc != null
2182
- ? deserializeAws_restJson1SelfManagedKafkaAccessConfigurationVpc(output.Vpc, context)
2183
- : undefined,
2107
+ Vpc: output.Vpc != null ? de_SelfManagedKafkaAccessConfigurationVpc(output.Vpc, context) : undefined,
2184
2108
  };
2185
2109
  };
2186
- const deserializeAws_restJson1PipeSourceSqsQueueParameters = (output, context) => {
2110
+ const de_PipeSourceSqsQueueParameters = (output, context) => {
2187
2111
  return {
2188
2112
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
2189
2113
  MaximumBatchingWindowInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumBatchingWindowInSeconds),
2190
2114
  };
2191
2115
  };
2192
- const deserializeAws_restJson1PipeTargetBatchJobParameters = (output, context) => {
2116
+ const de_PipeTargetBatchJobParameters = (output, context) => {
2193
2117
  return {
2194
- ArrayProperties: output.ArrayProperties != null
2195
- ? deserializeAws_restJson1BatchArrayProperties(output.ArrayProperties, context)
2196
- : undefined,
2197
- ContainerOverrides: output.ContainerOverrides != null
2198
- ? deserializeAws_restJson1BatchContainerOverrides(output.ContainerOverrides, context)
2199
- : undefined,
2200
- DependsOn: output.DependsOn != null ? deserializeAws_restJson1BatchDependsOn(output.DependsOn, context) : undefined,
2118
+ ArrayProperties: output.ArrayProperties != null ? de_BatchArrayProperties(output.ArrayProperties, context) : undefined,
2119
+ ContainerOverrides: output.ContainerOverrides != null ? de_BatchContainerOverrides(output.ContainerOverrides, context) : undefined,
2120
+ DependsOn: output.DependsOn != null ? de_BatchDependsOn(output.DependsOn, context) : undefined,
2201
2121
  JobDefinition: (0, smithy_client_1.expectString)(output.JobDefinition),
2202
2122
  JobName: (0, smithy_client_1.expectString)(output.JobName),
2203
- Parameters: output.Parameters != null ? deserializeAws_restJson1BatchParametersMap(output.Parameters, context) : undefined,
2204
- RetryStrategy: output.RetryStrategy != null
2205
- ? deserializeAws_restJson1BatchRetryStrategy(output.RetryStrategy, context)
2206
- : undefined,
2123
+ Parameters: output.Parameters != null ? de_BatchParametersMap(output.Parameters, context) : undefined,
2124
+ RetryStrategy: output.RetryStrategy != null ? de_BatchRetryStrategy(output.RetryStrategy, context) : undefined,
2207
2125
  };
2208
2126
  };
2209
- const deserializeAws_restJson1PipeTargetCloudWatchLogsParameters = (output, context) => {
2127
+ const de_PipeTargetCloudWatchLogsParameters = (output, context) => {
2210
2128
  return {
2211
2129
  LogStreamName: (0, smithy_client_1.expectString)(output.LogStreamName),
2212
2130
  Timestamp: (0, smithy_client_1.expectString)(output.Timestamp),
2213
2131
  };
2214
2132
  };
2215
- const deserializeAws_restJson1PipeTargetEcsTaskParameters = (output, context) => {
2133
+ const de_PipeTargetEcsTaskParameters = (output, context) => {
2216
2134
  return {
2217
2135
  CapacityProviderStrategy: output.CapacityProviderStrategy != null
2218
- ? deserializeAws_restJson1CapacityProviderStrategy(output.CapacityProviderStrategy, context)
2136
+ ? de_CapacityProviderStrategy(output.CapacityProviderStrategy, context)
2219
2137
  : undefined,
2220
2138
  EnableECSManagedTags: (0, smithy_client_1.expectBoolean)(output.EnableECSManagedTags),
2221
2139
  EnableExecuteCommand: (0, smithy_client_1.expectBoolean)(output.EnableExecuteCommand),
2222
2140
  Group: (0, smithy_client_1.expectString)(output.Group),
2223
2141
  LaunchType: (0, smithy_client_1.expectString)(output.LaunchType),
2224
- NetworkConfiguration: output.NetworkConfiguration != null
2225
- ? deserializeAws_restJson1NetworkConfiguration(output.NetworkConfiguration, context)
2226
- : undefined,
2227
- Overrides: output.Overrides != null ? deserializeAws_restJson1EcsTaskOverride(output.Overrides, context) : undefined,
2228
- PlacementConstraints: output.PlacementConstraints != null
2229
- ? deserializeAws_restJson1PlacementConstraints(output.PlacementConstraints, context)
2230
- : undefined,
2231
- PlacementStrategy: output.PlacementStrategy != null
2232
- ? deserializeAws_restJson1PlacementStrategies(output.PlacementStrategy, context)
2233
- : undefined,
2142
+ NetworkConfiguration: output.NetworkConfiguration != null ? de_NetworkConfiguration(output.NetworkConfiguration, context) : undefined,
2143
+ Overrides: output.Overrides != null ? de_EcsTaskOverride(output.Overrides, context) : undefined,
2144
+ PlacementConstraints: output.PlacementConstraints != null ? de_PlacementConstraints(output.PlacementConstraints, context) : undefined,
2145
+ PlacementStrategy: output.PlacementStrategy != null ? de_PlacementStrategies(output.PlacementStrategy, context) : undefined,
2234
2146
  PlatformVersion: (0, smithy_client_1.expectString)(output.PlatformVersion),
2235
2147
  PropagateTags: (0, smithy_client_1.expectString)(output.PropagateTags),
2236
2148
  ReferenceId: (0, smithy_client_1.expectString)(output.ReferenceId),
2237
- Tags: output.Tags != null ? deserializeAws_restJson1TagList(output.Tags, context) : undefined,
2149
+ Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
2238
2150
  TaskCount: (0, smithy_client_1.expectInt32)(output.TaskCount),
2239
2151
  TaskDefinitionArn: (0, smithy_client_1.expectString)(output.TaskDefinitionArn),
2240
2152
  };
2241
2153
  };
2242
- const deserializeAws_restJson1PipeTargetEventBridgeEventBusParameters = (output, context) => {
2154
+ const de_PipeTargetEventBridgeEventBusParameters = (output, context) => {
2243
2155
  return {
2244
2156
  DetailType: (0, smithy_client_1.expectString)(output.DetailType),
2245
2157
  EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
2246
- Resources: output.Resources != null
2247
- ? deserializeAws_restJson1EventBridgeEventResourceList(output.Resources, context)
2248
- : undefined,
2158
+ Resources: output.Resources != null ? de_EventBridgeEventResourceList(output.Resources, context) : undefined,
2249
2159
  Source: (0, smithy_client_1.expectString)(output.Source),
2250
2160
  Time: (0, smithy_client_1.expectString)(output.Time),
2251
2161
  };
2252
2162
  };
2253
- const deserializeAws_restJson1PipeTargetHttpParameters = (output, context) => {
2163
+ const de_PipeTargetHttpParameters = (output, context) => {
2254
2164
  return {
2255
- HeaderParameters: output.HeaderParameters != null
2256
- ? deserializeAws_restJson1HeaderParametersMap(output.HeaderParameters, context)
2257
- : undefined,
2258
- PathParameterValues: output.PathParameterValues != null
2259
- ? deserializeAws_restJson1PathParameterList(output.PathParameterValues, context)
2260
- : undefined,
2165
+ HeaderParameters: output.HeaderParameters != null ? de_HeaderParametersMap(output.HeaderParameters, context) : undefined,
2166
+ PathParameterValues: output.PathParameterValues != null ? de_PathParameterList(output.PathParameterValues, context) : undefined,
2261
2167
  QueryStringParameters: output.QueryStringParameters != null
2262
- ? deserializeAws_restJson1QueryStringParametersMap(output.QueryStringParameters, context)
2168
+ ? de_QueryStringParametersMap(output.QueryStringParameters, context)
2263
2169
  : undefined,
2264
2170
  };
2265
2171
  };
2266
- const deserializeAws_restJson1PipeTargetKinesisStreamParameters = (output, context) => {
2172
+ const de_PipeTargetKinesisStreamParameters = (output, context) => {
2267
2173
  return {
2268
2174
  PartitionKey: (0, smithy_client_1.expectString)(output.PartitionKey),
2269
2175
  };
2270
2176
  };
2271
- const deserializeAws_restJson1PipeTargetLambdaFunctionParameters = (output, context) => {
2177
+ const de_PipeTargetLambdaFunctionParameters = (output, context) => {
2272
2178
  return {
2273
2179
  InvocationType: (0, smithy_client_1.expectString)(output.InvocationType),
2274
2180
  };
2275
2181
  };
2276
- const deserializeAws_restJson1PipeTargetParameters = (output, context) => {
2182
+ const de_PipeTargetParameters = (output, context) => {
2277
2183
  return {
2278
2184
  BatchJobParameters: output.BatchJobParameters != null
2279
- ? deserializeAws_restJson1PipeTargetBatchJobParameters(output.BatchJobParameters, context)
2185
+ ? de_PipeTargetBatchJobParameters(output.BatchJobParameters, context)
2280
2186
  : undefined,
2281
2187
  CloudWatchLogsParameters: output.CloudWatchLogsParameters != null
2282
- ? deserializeAws_restJson1PipeTargetCloudWatchLogsParameters(output.CloudWatchLogsParameters, context)
2283
- : undefined,
2284
- EcsTaskParameters: output.EcsTaskParameters != null
2285
- ? deserializeAws_restJson1PipeTargetEcsTaskParameters(output.EcsTaskParameters, context)
2188
+ ? de_PipeTargetCloudWatchLogsParameters(output.CloudWatchLogsParameters, context)
2286
2189
  : undefined,
2190
+ EcsTaskParameters: output.EcsTaskParameters != null ? de_PipeTargetEcsTaskParameters(output.EcsTaskParameters, context) : undefined,
2287
2191
  EventBridgeEventBusParameters: output.EventBridgeEventBusParameters != null
2288
- ? deserializeAws_restJson1PipeTargetEventBridgeEventBusParameters(output.EventBridgeEventBusParameters, context)
2289
- : undefined,
2290
- HttpParameters: output.HttpParameters != null
2291
- ? deserializeAws_restJson1PipeTargetHttpParameters(output.HttpParameters, context)
2192
+ ? de_PipeTargetEventBridgeEventBusParameters(output.EventBridgeEventBusParameters, context)
2292
2193
  : undefined,
2194
+ HttpParameters: output.HttpParameters != null ? de_PipeTargetHttpParameters(output.HttpParameters, context) : undefined,
2293
2195
  InputTemplate: (0, smithy_client_1.expectString)(output.InputTemplate),
2294
2196
  KinesisStreamParameters: output.KinesisStreamParameters != null
2295
- ? deserializeAws_restJson1PipeTargetKinesisStreamParameters(output.KinesisStreamParameters, context)
2197
+ ? de_PipeTargetKinesisStreamParameters(output.KinesisStreamParameters, context)
2296
2198
  : undefined,
2297
2199
  LambdaFunctionParameters: output.LambdaFunctionParameters != null
2298
- ? deserializeAws_restJson1PipeTargetLambdaFunctionParameters(output.LambdaFunctionParameters, context)
2200
+ ? de_PipeTargetLambdaFunctionParameters(output.LambdaFunctionParameters, context)
2299
2201
  : undefined,
2300
2202
  RedshiftDataParameters: output.RedshiftDataParameters != null
2301
- ? deserializeAws_restJson1PipeTargetRedshiftDataParameters(output.RedshiftDataParameters, context)
2203
+ ? de_PipeTargetRedshiftDataParameters(output.RedshiftDataParameters, context)
2302
2204
  : undefined,
2303
2205
  SageMakerPipelineParameters: output.SageMakerPipelineParameters != null
2304
- ? deserializeAws_restJson1PipeTargetSageMakerPipelineParameters(output.SageMakerPipelineParameters, context)
2206
+ ? de_PipeTargetSageMakerPipelineParameters(output.SageMakerPipelineParameters, context)
2305
2207
  : undefined,
2306
2208
  SqsQueueParameters: output.SqsQueueParameters != null
2307
- ? deserializeAws_restJson1PipeTargetSqsQueueParameters(output.SqsQueueParameters, context)
2209
+ ? de_PipeTargetSqsQueueParameters(output.SqsQueueParameters, context)
2308
2210
  : undefined,
2309
2211
  StepFunctionStateMachineParameters: output.StepFunctionStateMachineParameters != null
2310
- ? deserializeAws_restJson1PipeTargetStateMachineParameters(output.StepFunctionStateMachineParameters, context)
2212
+ ? de_PipeTargetStateMachineParameters(output.StepFunctionStateMachineParameters, context)
2311
2213
  : undefined,
2312
2214
  };
2313
2215
  };
2314
- const deserializeAws_restJson1PipeTargetRedshiftDataParameters = (output, context) => {
2216
+ const de_PipeTargetRedshiftDataParameters = (output, context) => {
2315
2217
  return {
2316
2218
  Database: (0, smithy_client_1.expectString)(output.Database),
2317
2219
  DbUser: (0, smithy_client_1.expectString)(output.DbUser),
2318
2220
  SecretManagerArn: (0, smithy_client_1.expectString)(output.SecretManagerArn),
2319
- Sqls: output.Sqls != null ? deserializeAws_restJson1Sqls(output.Sqls, context) : undefined,
2221
+ Sqls: output.Sqls != null ? de_Sqls(output.Sqls, context) : undefined,
2320
2222
  StatementName: (0, smithy_client_1.expectString)(output.StatementName),
2321
2223
  WithEvent: (0, smithy_client_1.expectBoolean)(output.WithEvent),
2322
2224
  };
2323
2225
  };
2324
- const deserializeAws_restJson1PipeTargetSageMakerPipelineParameters = (output, context) => {
2226
+ const de_PipeTargetSageMakerPipelineParameters = (output, context) => {
2325
2227
  return {
2326
2228
  PipelineParameterList: output.PipelineParameterList != null
2327
- ? deserializeAws_restJson1SageMakerPipelineParameterList(output.PipelineParameterList, context)
2229
+ ? de_SageMakerPipelineParameterList(output.PipelineParameterList, context)
2328
2230
  : undefined,
2329
2231
  };
2330
2232
  };
2331
- const deserializeAws_restJson1PipeTargetSqsQueueParameters = (output, context) => {
2233
+ const de_PipeTargetSqsQueueParameters = (output, context) => {
2332
2234
  return {
2333
2235
  MessageDeduplicationId: (0, smithy_client_1.expectString)(output.MessageDeduplicationId),
2334
2236
  MessageGroupId: (0, smithy_client_1.expectString)(output.MessageGroupId),
2335
2237
  };
2336
2238
  };
2337
- const deserializeAws_restJson1PipeTargetStateMachineParameters = (output, context) => {
2239
+ const de_PipeTargetStateMachineParameters = (output, context) => {
2338
2240
  return {
2339
2241
  InvocationType: (0, smithy_client_1.expectString)(output.InvocationType),
2340
2242
  };
2341
2243
  };
2342
- const deserializeAws_restJson1PlacementConstraint = (output, context) => {
2244
+ const de_PlacementConstraint = (output, context) => {
2343
2245
  return {
2344
2246
  expression: (0, smithy_client_1.expectString)(output.expression),
2345
2247
  type: (0, smithy_client_1.expectString)(output.type),
2346
2248
  };
2347
2249
  };
2348
- const deserializeAws_restJson1PlacementConstraints = (output, context) => {
2250
+ const de_PlacementConstraints = (output, context) => {
2349
2251
  const retVal = (output || [])
2350
2252
  .filter((e) => e != null)
2351
2253
  .map((entry) => {
2352
2254
  if (entry === null) {
2353
2255
  return null;
2354
2256
  }
2355
- return deserializeAws_restJson1PlacementConstraint(entry, context);
2257
+ return de_PlacementConstraint(entry, context);
2356
2258
  });
2357
2259
  return retVal;
2358
2260
  };
2359
- const deserializeAws_restJson1PlacementStrategies = (output, context) => {
2261
+ const de_PlacementStrategies = (output, context) => {
2360
2262
  const retVal = (output || [])
2361
2263
  .filter((e) => e != null)
2362
2264
  .map((entry) => {
2363
2265
  if (entry === null) {
2364
2266
  return null;
2365
2267
  }
2366
- return deserializeAws_restJson1PlacementStrategy(entry, context);
2268
+ return de_PlacementStrategy(entry, context);
2367
2269
  });
2368
2270
  return retVal;
2369
2271
  };
2370
- const deserializeAws_restJson1PlacementStrategy = (output, context) => {
2272
+ const de_PlacementStrategy = (output, context) => {
2371
2273
  return {
2372
2274
  field: (0, smithy_client_1.expectString)(output.field),
2373
2275
  type: (0, smithy_client_1.expectString)(output.type),
2374
2276
  };
2375
2277
  };
2376
- const deserializeAws_restJson1QueryStringParametersMap = (output, context) => {
2278
+ const de_QueryStringParametersMap = (output, context) => {
2377
2279
  return Object.entries(output).reduce((acc, [key, value]) => {
2378
2280
  if (value === null) {
2379
2281
  return acc;
@@ -2382,24 +2284,24 @@ const deserializeAws_restJson1QueryStringParametersMap = (output, context) => {
2382
2284
  return acc;
2383
2285
  }, {});
2384
2286
  };
2385
- const deserializeAws_restJson1SageMakerPipelineParameter = (output, context) => {
2287
+ const de_SageMakerPipelineParameter = (output, context) => {
2386
2288
  return {
2387
2289
  Name: (0, smithy_client_1.expectString)(output.Name),
2388
2290
  Value: (0, smithy_client_1.expectString)(output.Value),
2389
2291
  };
2390
2292
  };
2391
- const deserializeAws_restJson1SageMakerPipelineParameterList = (output, context) => {
2293
+ const de_SageMakerPipelineParameterList = (output, context) => {
2392
2294
  const retVal = (output || [])
2393
2295
  .filter((e) => e != null)
2394
2296
  .map((entry) => {
2395
2297
  if (entry === null) {
2396
2298
  return null;
2397
2299
  }
2398
- return deserializeAws_restJson1SageMakerPipelineParameter(entry, context);
2300
+ return de_SageMakerPipelineParameter(entry, context);
2399
2301
  });
2400
2302
  return retVal;
2401
2303
  };
2402
- const deserializeAws_restJson1SecurityGroupIds = (output, context) => {
2304
+ const de_SecurityGroupIds = (output, context) => {
2403
2305
  const retVal = (output || [])
2404
2306
  .filter((e) => e != null)
2405
2307
  .map((entry) => {
@@ -2410,7 +2312,7 @@ const deserializeAws_restJson1SecurityGroupIds = (output, context) => {
2410
2312
  });
2411
2313
  return retVal;
2412
2314
  };
2413
- const deserializeAws_restJson1SecurityGroups = (output, context) => {
2315
+ const de_SecurityGroups = (output, context) => {
2414
2316
  const retVal = (output || [])
2415
2317
  .filter((e) => e != null)
2416
2318
  .map((entry) => {
@@ -2421,7 +2323,7 @@ const deserializeAws_restJson1SecurityGroups = (output, context) => {
2421
2323
  });
2422
2324
  return retVal;
2423
2325
  };
2424
- const deserializeAws_restJson1SelfManagedKafkaAccessConfigurationCredentials = (output, context) => {
2326
+ const de_SelfManagedKafkaAccessConfigurationCredentials = (output, context) => {
2425
2327
  if ((0, smithy_client_1.expectString)(output.BasicAuth) !== undefined) {
2426
2328
  return { BasicAuth: (0, smithy_client_1.expectString)(output.BasicAuth) };
2427
2329
  }
@@ -2436,15 +2338,13 @@ const deserializeAws_restJson1SelfManagedKafkaAccessConfigurationCredentials = (
2436
2338
  }
2437
2339
  return { $unknown: Object.entries(output)[0] };
2438
2340
  };
2439
- const deserializeAws_restJson1SelfManagedKafkaAccessConfigurationVpc = (output, context) => {
2341
+ const de_SelfManagedKafkaAccessConfigurationVpc = (output, context) => {
2440
2342
  return {
2441
- SecurityGroup: output.SecurityGroup != null
2442
- ? deserializeAws_restJson1SecurityGroupIds(output.SecurityGroup, context)
2443
- : undefined,
2444
- Subnets: output.Subnets != null ? deserializeAws_restJson1SubnetIds(output.Subnets, context) : undefined,
2343
+ SecurityGroup: output.SecurityGroup != null ? de_SecurityGroupIds(output.SecurityGroup, context) : undefined,
2344
+ Subnets: output.Subnets != null ? de_SubnetIds(output.Subnets, context) : undefined,
2445
2345
  };
2446
2346
  };
2447
- const deserializeAws_restJson1Sqls = (output, context) => {
2347
+ const de_Sqls = (output, context) => {
2448
2348
  const retVal = (output || [])
2449
2349
  .filter((e) => e != null)
2450
2350
  .map((entry) => {
@@ -2455,7 +2355,7 @@ const deserializeAws_restJson1Sqls = (output, context) => {
2455
2355
  });
2456
2356
  return retVal;
2457
2357
  };
2458
- const deserializeAws_restJson1StringList = (output, context) => {
2358
+ const de_StringList = (output, context) => {
2459
2359
  const retVal = (output || [])
2460
2360
  .filter((e) => e != null)
2461
2361
  .map((entry) => {
@@ -2466,7 +2366,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
2466
2366
  });
2467
2367
  return retVal;
2468
2368
  };
2469
- const deserializeAws_restJson1SubnetIds = (output, context) => {
2369
+ const de_SubnetIds = (output, context) => {
2470
2370
  const retVal = (output || [])
2471
2371
  .filter((e) => e != null)
2472
2372
  .map((entry) => {
@@ -2477,7 +2377,7 @@ const deserializeAws_restJson1SubnetIds = (output, context) => {
2477
2377
  });
2478
2378
  return retVal;
2479
2379
  };
2480
- const deserializeAws_restJson1Subnets = (output, context) => {
2380
+ const de_Subnets = (output, context) => {
2481
2381
  const retVal = (output || [])
2482
2382
  .filter((e) => e != null)
2483
2383
  .map((entry) => {
@@ -2488,24 +2388,24 @@ const deserializeAws_restJson1Subnets = (output, context) => {
2488
2388
  });
2489
2389
  return retVal;
2490
2390
  };
2491
- const deserializeAws_restJson1Tag = (output, context) => {
2391
+ const de_Tag = (output, context) => {
2492
2392
  return {
2493
2393
  Key: (0, smithy_client_1.expectString)(output.Key),
2494
2394
  Value: (0, smithy_client_1.expectString)(output.Value),
2495
2395
  };
2496
2396
  };
2497
- const deserializeAws_restJson1TagList = (output, context) => {
2397
+ const de_TagList = (output, context) => {
2498
2398
  const retVal = (output || [])
2499
2399
  .filter((e) => e != null)
2500
2400
  .map((entry) => {
2501
2401
  if (entry === null) {
2502
2402
  return null;
2503
2403
  }
2504
- return deserializeAws_restJson1Tag(entry, context);
2404
+ return de_Tag(entry, context);
2505
2405
  });
2506
2406
  return retVal;
2507
2407
  };
2508
- const deserializeAws_restJson1TagMap = (output, context) => {
2408
+ const de_TagMap = (output, context) => {
2509
2409
  return Object.entries(output).reduce((acc, [key, value]) => {
2510
2410
  if (value === null) {
2511
2411
  return acc;
@@ -2514,20 +2414,20 @@ const deserializeAws_restJson1TagMap = (output, context) => {
2514
2414
  return acc;
2515
2415
  }, {});
2516
2416
  };
2517
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
2417
+ const de_ValidationExceptionField = (output, context) => {
2518
2418
  return {
2519
2419
  message: (0, smithy_client_1.expectString)(output.message),
2520
2420
  name: (0, smithy_client_1.expectString)(output.name),
2521
2421
  };
2522
2422
  };
2523
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
2423
+ const de_ValidationExceptionFieldList = (output, context) => {
2524
2424
  const retVal = (output || [])
2525
2425
  .filter((e) => e != null)
2526
2426
  .map((entry) => {
2527
2427
  if (entry === null) {
2528
2428
  return null;
2529
2429
  }
2530
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
2430
+ return de_ValidationExceptionField(entry, context);
2531
2431
  });
2532
2432
  return retVal;
2533
2433
  };