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