@aws-sdk/client-scheduler 3.303.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.
Files changed (29) hide show
  1. package/dist-cjs/commands/CreateScheduleCommand.js +2 -2
  2. package/dist-cjs/commands/CreateScheduleGroupCommand.js +2 -2
  3. package/dist-cjs/commands/DeleteScheduleCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteScheduleGroupCommand.js +2 -2
  5. package/dist-cjs/commands/GetScheduleCommand.js +2 -2
  6. package/dist-cjs/commands/GetScheduleGroupCommand.js +2 -2
  7. package/dist-cjs/commands/ListScheduleGroupsCommand.js +2 -2
  8. package/dist-cjs/commands/ListSchedulesCommand.js +2 -2
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  10. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  11. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  12. package/dist-cjs/commands/UpdateScheduleCommand.js +2 -2
  13. package/dist-cjs/protocols/Aws_restJson1.js +247 -269
  14. package/dist-es/commands/CreateScheduleCommand.js +3 -3
  15. package/dist-es/commands/CreateScheduleGroupCommand.js +3 -3
  16. package/dist-es/commands/DeleteScheduleCommand.js +3 -3
  17. package/dist-es/commands/DeleteScheduleGroupCommand.js +3 -3
  18. package/dist-es/commands/GetScheduleCommand.js +3 -3
  19. package/dist-es/commands/GetScheduleGroupCommand.js +3 -3
  20. package/dist-es/commands/ListScheduleGroupsCommand.js +3 -3
  21. package/dist-es/commands/ListSchedulesCommand.js +3 -3
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  23. package/dist-es/commands/TagResourceCommand.js +3 -3
  24. package/dist-es/commands/UntagResourceCommand.js +3 -3
  25. package/dist-es/commands/UpdateScheduleCommand.js +3 -3
  26. package/dist-es/protocols/Aws_restJson1.js +222 -244
  27. package/dist-types/protocols/Aws_restJson1.d.ts +96 -24
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -24
  29. package/package.json +29 -29
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  import { SchedulerServiceException as __BaseException } from "../models/SchedulerServiceException";
6
- export const serializeAws_restJson1CreateScheduleCommand = async (input, context) => {
6
+ export const se_CreateScheduleCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
8
  const headers = {
9
9
  "content-type": "application/json",
@@ -16,7 +16,7 @@ export const serializeAws_restJson1CreateScheduleCommand = async (input, context
16
16
  ...(input.Description != null && { Description: input.Description }),
17
17
  ...(input.EndDate != null && { EndDate: Math.round(input.EndDate.getTime() / 1000) }),
18
18
  ...(input.FlexibleTimeWindow != null && {
19
- FlexibleTimeWindow: serializeAws_restJson1FlexibleTimeWindow(input.FlexibleTimeWindow, context),
19
+ FlexibleTimeWindow: se_FlexibleTimeWindow(input.FlexibleTimeWindow, context),
20
20
  }),
21
21
  ...(input.GroupName != null && { GroupName: input.GroupName }),
22
22
  ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
@@ -24,7 +24,7 @@ export const serializeAws_restJson1CreateScheduleCommand = async (input, context
24
24
  ...(input.ScheduleExpressionTimezone != null && { ScheduleExpressionTimezone: input.ScheduleExpressionTimezone }),
25
25
  ...(input.StartDate != null && { StartDate: Math.round(input.StartDate.getTime() / 1000) }),
26
26
  ...(input.State != null && { State: input.State }),
27
- ...(input.Target != null && { Target: serializeAws_restJson1Target(input.Target, context) }),
27
+ ...(input.Target != null && { Target: se_Target(input.Target, context) }),
28
28
  });
29
29
  return new __HttpRequest({
30
30
  protocol,
@@ -36,7 +36,7 @@ export const serializeAws_restJson1CreateScheduleCommand = async (input, context
36
36
  body,
37
37
  });
38
38
  };
39
- export const serializeAws_restJson1CreateScheduleGroupCommand = async (input, context) => {
39
+ export const se_CreateScheduleGroupCommand = async (input, context) => {
40
40
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
41
41
  const headers = {
42
42
  "content-type": "application/json",
@@ -46,7 +46,7 @@ export const serializeAws_restJson1CreateScheduleGroupCommand = async (input, co
46
46
  let body;
47
47
  body = JSON.stringify({
48
48
  ClientToken: input.ClientToken ?? generateIdempotencyToken(),
49
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
49
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
50
50
  });
51
51
  return new __HttpRequest({
52
52
  protocol,
@@ -58,7 +58,7 @@ export const serializeAws_restJson1CreateScheduleGroupCommand = async (input, co
58
58
  body,
59
59
  });
60
60
  };
61
- export const serializeAws_restJson1DeleteScheduleCommand = async (input, context) => {
61
+ export const se_DeleteScheduleCommand = async (input, context) => {
62
62
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
63
63
  const headers = {};
64
64
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules/{Name}";
@@ -79,7 +79,7 @@ export const serializeAws_restJson1DeleteScheduleCommand = async (input, context
79
79
  body,
80
80
  });
81
81
  };
82
- export const serializeAws_restJson1DeleteScheduleGroupCommand = async (input, context) => {
82
+ export const se_DeleteScheduleGroupCommand = async (input, context) => {
83
83
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
84
84
  const headers = {};
85
85
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedule-groups/{Name}";
@@ -99,7 +99,7 @@ export const serializeAws_restJson1DeleteScheduleGroupCommand = async (input, co
99
99
  body,
100
100
  });
101
101
  };
102
- export const serializeAws_restJson1GetScheduleCommand = async (input, context) => {
102
+ export const se_GetScheduleCommand = async (input, context) => {
103
103
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
104
104
  const headers = {};
105
105
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules/{Name}";
@@ -119,7 +119,7 @@ export const serializeAws_restJson1GetScheduleCommand = async (input, context) =
119
119
  body,
120
120
  });
121
121
  };
122
- export const serializeAws_restJson1GetScheduleGroupCommand = async (input, context) => {
122
+ export const se_GetScheduleGroupCommand = async (input, context) => {
123
123
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
124
124
  const headers = {};
125
125
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedule-groups/{Name}";
@@ -135,7 +135,7 @@ export const serializeAws_restJson1GetScheduleGroupCommand = async (input, conte
135
135
  body,
136
136
  });
137
137
  };
138
- export const serializeAws_restJson1ListScheduleGroupsCommand = async (input, context) => {
138
+ export const se_ListScheduleGroupsCommand = async (input, context) => {
139
139
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
140
140
  const headers = {};
141
141
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedule-groups";
@@ -156,7 +156,7 @@ export const serializeAws_restJson1ListScheduleGroupsCommand = async (input, con
156
156
  body,
157
157
  });
158
158
  };
159
- export const serializeAws_restJson1ListSchedulesCommand = async (input, context) => {
159
+ export const se_ListSchedulesCommand = async (input, context) => {
160
160
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
161
161
  const headers = {};
162
162
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules";
@@ -179,7 +179,7 @@ export const serializeAws_restJson1ListSchedulesCommand = async (input, context)
179
179
  body,
180
180
  });
181
181
  };
182
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
182
+ export const se_ListTagsForResourceCommand = async (input, context) => {
183
183
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
184
184
  const headers = {};
185
185
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -195,7 +195,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
195
195
  body,
196
196
  });
197
197
  };
198
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
198
+ export const se_TagResourceCommand = async (input, context) => {
199
199
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
200
200
  const headers = {
201
201
  "content-type": "application/json",
@@ -204,7 +204,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
204
204
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
205
205
  let body;
206
206
  body = JSON.stringify({
207
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
207
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
208
208
  });
209
209
  return new __HttpRequest({
210
210
  protocol,
@@ -216,7 +216,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
216
216
  body,
217
217
  });
218
218
  };
219
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
219
+ export const se_UntagResourceCommand = async (input, context) => {
220
220
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
221
221
  const headers = {};
222
222
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -239,7 +239,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
239
239
  body,
240
240
  });
241
241
  };
242
- export const serializeAws_restJson1UpdateScheduleCommand = async (input, context) => {
242
+ export const se_UpdateScheduleCommand = async (input, context) => {
243
243
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
244
244
  const headers = {
245
245
  "content-type": "application/json",
@@ -252,7 +252,7 @@ export const serializeAws_restJson1UpdateScheduleCommand = async (input, context
252
252
  ...(input.Description != null && { Description: input.Description }),
253
253
  ...(input.EndDate != null && { EndDate: Math.round(input.EndDate.getTime() / 1000) }),
254
254
  ...(input.FlexibleTimeWindow != null && {
255
- FlexibleTimeWindow: serializeAws_restJson1FlexibleTimeWindow(input.FlexibleTimeWindow, context),
255
+ FlexibleTimeWindow: se_FlexibleTimeWindow(input.FlexibleTimeWindow, context),
256
256
  }),
257
257
  ...(input.GroupName != null && { GroupName: input.GroupName }),
258
258
  ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
@@ -260,7 +260,7 @@ export const serializeAws_restJson1UpdateScheduleCommand = async (input, context
260
260
  ...(input.ScheduleExpressionTimezone != null && { ScheduleExpressionTimezone: input.ScheduleExpressionTimezone }),
261
261
  ...(input.StartDate != null && { StartDate: Math.round(input.StartDate.getTime() / 1000) }),
262
262
  ...(input.State != null && { State: input.State }),
263
- ...(input.Target != null && { Target: serializeAws_restJson1Target(input.Target, context) }),
263
+ ...(input.Target != null && { Target: se_Target(input.Target, context) }),
264
264
  });
265
265
  return new __HttpRequest({
266
266
  protocol,
@@ -272,9 +272,9 @@ export const serializeAws_restJson1UpdateScheduleCommand = async (input, context
272
272
  body,
273
273
  });
274
274
  };
275
- export const deserializeAws_restJson1CreateScheduleCommand = async (output, context) => {
275
+ export const de_CreateScheduleCommand = async (output, context) => {
276
276
  if (output.statusCode !== 200 && output.statusCode >= 300) {
277
- return deserializeAws_restJson1CreateScheduleCommandError(output, context);
277
+ return de_CreateScheduleCommandError(output, context);
278
278
  }
279
279
  const contents = map({
280
280
  $metadata: deserializeMetadata(output),
@@ -285,7 +285,7 @@ export const deserializeAws_restJson1CreateScheduleCommand = async (output, cont
285
285
  }
286
286
  return contents;
287
287
  };
288
- const deserializeAws_restJson1CreateScheduleCommandError = async (output, context) => {
288
+ const de_CreateScheduleCommandError = async (output, context) => {
289
289
  const parsedOutput = {
290
290
  ...output,
291
291
  body: await parseErrorBody(output.body, context),
@@ -294,22 +294,22 @@ const deserializeAws_restJson1CreateScheduleCommandError = async (output, contex
294
294
  switch (errorCode) {
295
295
  case "ConflictException":
296
296
  case "com.amazonaws.scheduler#ConflictException":
297
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
297
+ throw await de_ConflictExceptionRes(parsedOutput, context);
298
298
  case "InternalServerException":
299
299
  case "com.amazonaws.scheduler#InternalServerException":
300
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
300
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
301
301
  case "ResourceNotFoundException":
302
302
  case "com.amazonaws.scheduler#ResourceNotFoundException":
303
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
303
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
304
304
  case "ServiceQuotaExceededException":
305
305
  case "com.amazonaws.scheduler#ServiceQuotaExceededException":
306
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
306
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
307
307
  case "ThrottlingException":
308
308
  case "com.amazonaws.scheduler#ThrottlingException":
309
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
309
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
310
310
  case "ValidationException":
311
311
  case "com.amazonaws.scheduler#ValidationException":
312
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
312
+ throw await de_ValidationExceptionRes(parsedOutput, context);
313
313
  default:
314
314
  const parsedBody = parsedOutput.body;
315
315
  throwDefaultError({
@@ -320,9 +320,9 @@ const deserializeAws_restJson1CreateScheduleCommandError = async (output, contex
320
320
  });
321
321
  }
322
322
  };
323
- export const deserializeAws_restJson1CreateScheduleGroupCommand = async (output, context) => {
323
+ export const de_CreateScheduleGroupCommand = async (output, context) => {
324
324
  if (output.statusCode !== 200 && output.statusCode >= 300) {
325
- return deserializeAws_restJson1CreateScheduleGroupCommandError(output, context);
325
+ return de_CreateScheduleGroupCommandError(output, context);
326
326
  }
327
327
  const contents = map({
328
328
  $metadata: deserializeMetadata(output),
@@ -333,7 +333,7 @@ export const deserializeAws_restJson1CreateScheduleGroupCommand = async (output,
333
333
  }
334
334
  return contents;
335
335
  };
336
- const deserializeAws_restJson1CreateScheduleGroupCommandError = async (output, context) => {
336
+ const de_CreateScheduleGroupCommandError = async (output, context) => {
337
337
  const parsedOutput = {
338
338
  ...output,
339
339
  body: await parseErrorBody(output.body, context),
@@ -342,19 +342,19 @@ const deserializeAws_restJson1CreateScheduleGroupCommandError = async (output, c
342
342
  switch (errorCode) {
343
343
  case "ConflictException":
344
344
  case "com.amazonaws.scheduler#ConflictException":
345
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
345
+ throw await de_ConflictExceptionRes(parsedOutput, context);
346
346
  case "InternalServerException":
347
347
  case "com.amazonaws.scheduler#InternalServerException":
348
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
348
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
349
349
  case "ServiceQuotaExceededException":
350
350
  case "com.amazonaws.scheduler#ServiceQuotaExceededException":
351
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
351
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
352
352
  case "ThrottlingException":
353
353
  case "com.amazonaws.scheduler#ThrottlingException":
354
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
354
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
355
355
  case "ValidationException":
356
356
  case "com.amazonaws.scheduler#ValidationException":
357
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
357
+ throw await de_ValidationExceptionRes(parsedOutput, context);
358
358
  default:
359
359
  const parsedBody = parsedOutput.body;
360
360
  throwDefaultError({
@@ -365,9 +365,9 @@ const deserializeAws_restJson1CreateScheduleGroupCommandError = async (output, c
365
365
  });
366
366
  }
367
367
  };
368
- export const deserializeAws_restJson1DeleteScheduleCommand = async (output, context) => {
368
+ export const de_DeleteScheduleCommand = async (output, context) => {
369
369
  if (output.statusCode !== 200 && output.statusCode >= 300) {
370
- return deserializeAws_restJson1DeleteScheduleCommandError(output, context);
370
+ return de_DeleteScheduleCommandError(output, context);
371
371
  }
372
372
  const contents = map({
373
373
  $metadata: deserializeMetadata(output),
@@ -375,7 +375,7 @@ export const deserializeAws_restJson1DeleteScheduleCommand = async (output, cont
375
375
  await collectBody(output.body, context);
376
376
  return contents;
377
377
  };
378
- const deserializeAws_restJson1DeleteScheduleCommandError = async (output, context) => {
378
+ const de_DeleteScheduleCommandError = async (output, context) => {
379
379
  const parsedOutput = {
380
380
  ...output,
381
381
  body: await parseErrorBody(output.body, context),
@@ -384,19 +384,19 @@ const deserializeAws_restJson1DeleteScheduleCommandError = async (output, contex
384
384
  switch (errorCode) {
385
385
  case "ConflictException":
386
386
  case "com.amazonaws.scheduler#ConflictException":
387
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
387
+ throw await de_ConflictExceptionRes(parsedOutput, context);
388
388
  case "InternalServerException":
389
389
  case "com.amazonaws.scheduler#InternalServerException":
390
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
390
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
391
391
  case "ResourceNotFoundException":
392
392
  case "com.amazonaws.scheduler#ResourceNotFoundException":
393
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
393
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
394
394
  case "ThrottlingException":
395
395
  case "com.amazonaws.scheduler#ThrottlingException":
396
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
396
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
397
397
  case "ValidationException":
398
398
  case "com.amazonaws.scheduler#ValidationException":
399
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
399
+ throw await de_ValidationExceptionRes(parsedOutput, context);
400
400
  default:
401
401
  const parsedBody = parsedOutput.body;
402
402
  throwDefaultError({
@@ -407,9 +407,9 @@ const deserializeAws_restJson1DeleteScheduleCommandError = async (output, contex
407
407
  });
408
408
  }
409
409
  };
410
- export const deserializeAws_restJson1DeleteScheduleGroupCommand = async (output, context) => {
410
+ export const de_DeleteScheduleGroupCommand = async (output, context) => {
411
411
  if (output.statusCode !== 200 && output.statusCode >= 300) {
412
- return deserializeAws_restJson1DeleteScheduleGroupCommandError(output, context);
412
+ return de_DeleteScheduleGroupCommandError(output, context);
413
413
  }
414
414
  const contents = map({
415
415
  $metadata: deserializeMetadata(output),
@@ -417,7 +417,7 @@ export const deserializeAws_restJson1DeleteScheduleGroupCommand = async (output,
417
417
  await collectBody(output.body, context);
418
418
  return contents;
419
419
  };
420
- const deserializeAws_restJson1DeleteScheduleGroupCommandError = async (output, context) => {
420
+ const de_DeleteScheduleGroupCommandError = async (output, context) => {
421
421
  const parsedOutput = {
422
422
  ...output,
423
423
  body: await parseErrorBody(output.body, context),
@@ -426,19 +426,19 @@ const deserializeAws_restJson1DeleteScheduleGroupCommandError = async (output, c
426
426
  switch (errorCode) {
427
427
  case "ConflictException":
428
428
  case "com.amazonaws.scheduler#ConflictException":
429
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
429
+ throw await de_ConflictExceptionRes(parsedOutput, context);
430
430
  case "InternalServerException":
431
431
  case "com.amazonaws.scheduler#InternalServerException":
432
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
432
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
433
433
  case "ResourceNotFoundException":
434
434
  case "com.amazonaws.scheduler#ResourceNotFoundException":
435
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
435
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
436
436
  case "ThrottlingException":
437
437
  case "com.amazonaws.scheduler#ThrottlingException":
438
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
438
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
439
439
  case "ValidationException":
440
440
  case "com.amazonaws.scheduler#ValidationException":
441
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
441
+ throw await de_ValidationExceptionRes(parsedOutput, context);
442
442
  default:
443
443
  const parsedBody = parsedOutput.body;
444
444
  throwDefaultError({
@@ -449,9 +449,9 @@ const deserializeAws_restJson1DeleteScheduleGroupCommandError = async (output, c
449
449
  });
450
450
  }
451
451
  };
452
- export const deserializeAws_restJson1GetScheduleCommand = async (output, context) => {
452
+ export const de_GetScheduleCommand = async (output, context) => {
453
453
  if (output.statusCode !== 200 && output.statusCode >= 300) {
454
- return deserializeAws_restJson1GetScheduleCommandError(output, context);
454
+ return de_GetScheduleCommandError(output, context);
455
455
  }
456
456
  const contents = map({
457
457
  $metadata: deserializeMetadata(output),
@@ -470,7 +470,7 @@ export const deserializeAws_restJson1GetScheduleCommand = async (output, context
470
470
  contents.EndDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.EndDate)));
471
471
  }
472
472
  if (data.FlexibleTimeWindow != null) {
473
- contents.FlexibleTimeWindow = deserializeAws_restJson1FlexibleTimeWindow(data.FlexibleTimeWindow, context);
473
+ contents.FlexibleTimeWindow = de_FlexibleTimeWindow(data.FlexibleTimeWindow, context);
474
474
  }
475
475
  if (data.GroupName != null) {
476
476
  contents.GroupName = __expectString(data.GroupName);
@@ -497,11 +497,11 @@ export const deserializeAws_restJson1GetScheduleCommand = async (output, context
497
497
  contents.State = __expectString(data.State);
498
498
  }
499
499
  if (data.Target != null) {
500
- contents.Target = deserializeAws_restJson1Target(data.Target, context);
500
+ contents.Target = de_Target(data.Target, context);
501
501
  }
502
502
  return contents;
503
503
  };
504
- const deserializeAws_restJson1GetScheduleCommandError = async (output, context) => {
504
+ const de_GetScheduleCommandError = async (output, context) => {
505
505
  const parsedOutput = {
506
506
  ...output,
507
507
  body: await parseErrorBody(output.body, context),
@@ -510,16 +510,16 @@ const deserializeAws_restJson1GetScheduleCommandError = async (output, context)
510
510
  switch (errorCode) {
511
511
  case "InternalServerException":
512
512
  case "com.amazonaws.scheduler#InternalServerException":
513
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
513
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
514
514
  case "ResourceNotFoundException":
515
515
  case "com.amazonaws.scheduler#ResourceNotFoundException":
516
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
516
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
517
517
  case "ThrottlingException":
518
518
  case "com.amazonaws.scheduler#ThrottlingException":
519
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
519
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
520
520
  case "ValidationException":
521
521
  case "com.amazonaws.scheduler#ValidationException":
522
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
522
+ throw await de_ValidationExceptionRes(parsedOutput, context);
523
523
  default:
524
524
  const parsedBody = parsedOutput.body;
525
525
  throwDefaultError({
@@ -530,9 +530,9 @@ const deserializeAws_restJson1GetScheduleCommandError = async (output, context)
530
530
  });
531
531
  }
532
532
  };
533
- export const deserializeAws_restJson1GetScheduleGroupCommand = async (output, context) => {
533
+ export const de_GetScheduleGroupCommand = async (output, context) => {
534
534
  if (output.statusCode !== 200 && output.statusCode >= 300) {
535
- return deserializeAws_restJson1GetScheduleGroupCommandError(output, context);
535
+ return de_GetScheduleGroupCommandError(output, context);
536
536
  }
537
537
  const contents = map({
538
538
  $metadata: deserializeMetadata(output),
@@ -555,7 +555,7 @@ export const deserializeAws_restJson1GetScheduleGroupCommand = async (output, co
555
555
  }
556
556
  return contents;
557
557
  };
558
- const deserializeAws_restJson1GetScheduleGroupCommandError = async (output, context) => {
558
+ const de_GetScheduleGroupCommandError = async (output, context) => {
559
559
  const parsedOutput = {
560
560
  ...output,
561
561
  body: await parseErrorBody(output.body, context),
@@ -564,16 +564,16 @@ const deserializeAws_restJson1GetScheduleGroupCommandError = async (output, cont
564
564
  switch (errorCode) {
565
565
  case "InternalServerException":
566
566
  case "com.amazonaws.scheduler#InternalServerException":
567
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
567
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
568
568
  case "ResourceNotFoundException":
569
569
  case "com.amazonaws.scheduler#ResourceNotFoundException":
570
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
570
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
571
571
  case "ThrottlingException":
572
572
  case "com.amazonaws.scheduler#ThrottlingException":
573
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
573
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
574
574
  case "ValidationException":
575
575
  case "com.amazonaws.scheduler#ValidationException":
576
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
576
+ throw await de_ValidationExceptionRes(parsedOutput, context);
577
577
  default:
578
578
  const parsedBody = parsedOutput.body;
579
579
  throwDefaultError({
@@ -584,9 +584,9 @@ const deserializeAws_restJson1GetScheduleGroupCommandError = async (output, cont
584
584
  });
585
585
  }
586
586
  };
587
- export const deserializeAws_restJson1ListScheduleGroupsCommand = async (output, context) => {
587
+ export const de_ListScheduleGroupsCommand = async (output, context) => {
588
588
  if (output.statusCode !== 200 && output.statusCode >= 300) {
589
- return deserializeAws_restJson1ListScheduleGroupsCommandError(output, context);
589
+ return de_ListScheduleGroupsCommandError(output, context);
590
590
  }
591
591
  const contents = map({
592
592
  $metadata: deserializeMetadata(output),
@@ -596,11 +596,11 @@ export const deserializeAws_restJson1ListScheduleGroupsCommand = async (output,
596
596
  contents.NextToken = __expectString(data.NextToken);
597
597
  }
598
598
  if (data.ScheduleGroups != null) {
599
- contents.ScheduleGroups = deserializeAws_restJson1ScheduleGroupList(data.ScheduleGroups, context);
599
+ contents.ScheduleGroups = de_ScheduleGroupList(data.ScheduleGroups, context);
600
600
  }
601
601
  return contents;
602
602
  };
603
- const deserializeAws_restJson1ListScheduleGroupsCommandError = async (output, context) => {
603
+ const de_ListScheduleGroupsCommandError = async (output, context) => {
604
604
  const parsedOutput = {
605
605
  ...output,
606
606
  body: await parseErrorBody(output.body, context),
@@ -609,13 +609,13 @@ const deserializeAws_restJson1ListScheduleGroupsCommandError = async (output, co
609
609
  switch (errorCode) {
610
610
  case "InternalServerException":
611
611
  case "com.amazonaws.scheduler#InternalServerException":
612
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
612
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
613
613
  case "ThrottlingException":
614
614
  case "com.amazonaws.scheduler#ThrottlingException":
615
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
615
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
616
616
  case "ValidationException":
617
617
  case "com.amazonaws.scheduler#ValidationException":
618
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
618
+ throw await de_ValidationExceptionRes(parsedOutput, context);
619
619
  default:
620
620
  const parsedBody = parsedOutput.body;
621
621
  throwDefaultError({
@@ -626,9 +626,9 @@ const deserializeAws_restJson1ListScheduleGroupsCommandError = async (output, co
626
626
  });
627
627
  }
628
628
  };
629
- export const deserializeAws_restJson1ListSchedulesCommand = async (output, context) => {
629
+ export const de_ListSchedulesCommand = async (output, context) => {
630
630
  if (output.statusCode !== 200 && output.statusCode >= 300) {
631
- return deserializeAws_restJson1ListSchedulesCommandError(output, context);
631
+ return de_ListSchedulesCommandError(output, context);
632
632
  }
633
633
  const contents = map({
634
634
  $metadata: deserializeMetadata(output),
@@ -638,11 +638,11 @@ export const deserializeAws_restJson1ListSchedulesCommand = async (output, conte
638
638
  contents.NextToken = __expectString(data.NextToken);
639
639
  }
640
640
  if (data.Schedules != null) {
641
- contents.Schedules = deserializeAws_restJson1ScheduleList(data.Schedules, context);
641
+ contents.Schedules = de_ScheduleList(data.Schedules, context);
642
642
  }
643
643
  return contents;
644
644
  };
645
- const deserializeAws_restJson1ListSchedulesCommandError = async (output, context) => {
645
+ const de_ListSchedulesCommandError = async (output, context) => {
646
646
  const parsedOutput = {
647
647
  ...output,
648
648
  body: await parseErrorBody(output.body, context),
@@ -651,16 +651,16 @@ const deserializeAws_restJson1ListSchedulesCommandError = async (output, context
651
651
  switch (errorCode) {
652
652
  case "InternalServerException":
653
653
  case "com.amazonaws.scheduler#InternalServerException":
654
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
654
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
655
655
  case "ResourceNotFoundException":
656
656
  case "com.amazonaws.scheduler#ResourceNotFoundException":
657
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
657
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
658
658
  case "ThrottlingException":
659
659
  case "com.amazonaws.scheduler#ThrottlingException":
660
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
660
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
661
661
  case "ValidationException":
662
662
  case "com.amazonaws.scheduler#ValidationException":
663
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
663
+ throw await de_ValidationExceptionRes(parsedOutput, context);
664
664
  default:
665
665
  const parsedBody = parsedOutput.body;
666
666
  throwDefaultError({
@@ -671,20 +671,20 @@ const deserializeAws_restJson1ListSchedulesCommandError = async (output, context
671
671
  });
672
672
  }
673
673
  };
674
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
674
+ export const de_ListTagsForResourceCommand = async (output, context) => {
675
675
  if (output.statusCode !== 200 && output.statusCode >= 300) {
676
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
676
+ return de_ListTagsForResourceCommandError(output, context);
677
677
  }
678
678
  const contents = map({
679
679
  $metadata: deserializeMetadata(output),
680
680
  });
681
681
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
682
682
  if (data.Tags != null) {
683
- contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
683
+ contents.Tags = de_TagList(data.Tags, context);
684
684
  }
685
685
  return contents;
686
686
  };
687
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
687
+ const de_ListTagsForResourceCommandError = async (output, context) => {
688
688
  const parsedOutput = {
689
689
  ...output,
690
690
  body: await parseErrorBody(output.body, context),
@@ -693,16 +693,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
693
693
  switch (errorCode) {
694
694
  case "InternalServerException":
695
695
  case "com.amazonaws.scheduler#InternalServerException":
696
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
696
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
697
697
  case "ResourceNotFoundException":
698
698
  case "com.amazonaws.scheduler#ResourceNotFoundException":
699
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
699
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
700
700
  case "ThrottlingException":
701
701
  case "com.amazonaws.scheduler#ThrottlingException":
702
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
702
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
703
703
  case "ValidationException":
704
704
  case "com.amazonaws.scheduler#ValidationException":
705
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
705
+ throw await de_ValidationExceptionRes(parsedOutput, context);
706
706
  default:
707
707
  const parsedBody = parsedOutput.body;
708
708
  throwDefaultError({
@@ -713,9 +713,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
713
713
  });
714
714
  }
715
715
  };
716
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
716
+ export const de_TagResourceCommand = async (output, context) => {
717
717
  if (output.statusCode !== 200 && output.statusCode >= 300) {
718
- return deserializeAws_restJson1TagResourceCommandError(output, context);
718
+ return de_TagResourceCommandError(output, context);
719
719
  }
720
720
  const contents = map({
721
721
  $metadata: deserializeMetadata(output),
@@ -723,7 +723,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
723
723
  await collectBody(output.body, context);
724
724
  return contents;
725
725
  };
726
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
726
+ const de_TagResourceCommandError = async (output, context) => {
727
727
  const parsedOutput = {
728
728
  ...output,
729
729
  body: await parseErrorBody(output.body, context),
@@ -732,19 +732,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
732
732
  switch (errorCode) {
733
733
  case "ConflictException":
734
734
  case "com.amazonaws.scheduler#ConflictException":
735
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
735
+ throw await de_ConflictExceptionRes(parsedOutput, context);
736
736
  case "InternalServerException":
737
737
  case "com.amazonaws.scheduler#InternalServerException":
738
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
738
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
739
739
  case "ResourceNotFoundException":
740
740
  case "com.amazonaws.scheduler#ResourceNotFoundException":
741
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
741
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
742
742
  case "ThrottlingException":
743
743
  case "com.amazonaws.scheduler#ThrottlingException":
744
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
744
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
745
745
  case "ValidationException":
746
746
  case "com.amazonaws.scheduler#ValidationException":
747
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
747
+ throw await de_ValidationExceptionRes(parsedOutput, context);
748
748
  default:
749
749
  const parsedBody = parsedOutput.body;
750
750
  throwDefaultError({
@@ -755,9 +755,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
755
755
  });
756
756
  }
757
757
  };
758
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
758
+ export const de_UntagResourceCommand = async (output, context) => {
759
759
  if (output.statusCode !== 200 && output.statusCode >= 300) {
760
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
760
+ return de_UntagResourceCommandError(output, context);
761
761
  }
762
762
  const contents = map({
763
763
  $metadata: deserializeMetadata(output),
@@ -765,7 +765,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
765
765
  await collectBody(output.body, context);
766
766
  return contents;
767
767
  };
768
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
768
+ const de_UntagResourceCommandError = async (output, context) => {
769
769
  const parsedOutput = {
770
770
  ...output,
771
771
  body: await parseErrorBody(output.body, context),
@@ -774,19 +774,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
774
774
  switch (errorCode) {
775
775
  case "ConflictException":
776
776
  case "com.amazonaws.scheduler#ConflictException":
777
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
777
+ throw await de_ConflictExceptionRes(parsedOutput, context);
778
778
  case "InternalServerException":
779
779
  case "com.amazonaws.scheduler#InternalServerException":
780
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
780
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
781
781
  case "ResourceNotFoundException":
782
782
  case "com.amazonaws.scheduler#ResourceNotFoundException":
783
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
783
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
784
784
  case "ThrottlingException":
785
785
  case "com.amazonaws.scheduler#ThrottlingException":
786
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
786
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
787
787
  case "ValidationException":
788
788
  case "com.amazonaws.scheduler#ValidationException":
789
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
789
+ throw await de_ValidationExceptionRes(parsedOutput, context);
790
790
  default:
791
791
  const parsedBody = parsedOutput.body;
792
792
  throwDefaultError({
@@ -797,9 +797,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
797
797
  });
798
798
  }
799
799
  };
800
- export const deserializeAws_restJson1UpdateScheduleCommand = async (output, context) => {
800
+ export const de_UpdateScheduleCommand = async (output, context) => {
801
801
  if (output.statusCode !== 200 && output.statusCode >= 300) {
802
- return deserializeAws_restJson1UpdateScheduleCommandError(output, context);
802
+ return de_UpdateScheduleCommandError(output, context);
803
803
  }
804
804
  const contents = map({
805
805
  $metadata: deserializeMetadata(output),
@@ -810,7 +810,7 @@ export const deserializeAws_restJson1UpdateScheduleCommand = async (output, cont
810
810
  }
811
811
  return contents;
812
812
  };
813
- const deserializeAws_restJson1UpdateScheduleCommandError = async (output, context) => {
813
+ const de_UpdateScheduleCommandError = async (output, context) => {
814
814
  const parsedOutput = {
815
815
  ...output,
816
816
  body: await parseErrorBody(output.body, context),
@@ -819,19 +819,19 @@ const deserializeAws_restJson1UpdateScheduleCommandError = async (output, contex
819
819
  switch (errorCode) {
820
820
  case "ConflictException":
821
821
  case "com.amazonaws.scheduler#ConflictException":
822
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
822
+ throw await de_ConflictExceptionRes(parsedOutput, context);
823
823
  case "InternalServerException":
824
824
  case "com.amazonaws.scheduler#InternalServerException":
825
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
825
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
826
826
  case "ResourceNotFoundException":
827
827
  case "com.amazonaws.scheduler#ResourceNotFoundException":
828
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
828
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
829
829
  case "ThrottlingException":
830
830
  case "com.amazonaws.scheduler#ThrottlingException":
831
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
831
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
832
832
  case "ValidationException":
833
833
  case "com.amazonaws.scheduler#ValidationException":
834
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
834
+ throw await de_ValidationExceptionRes(parsedOutput, context);
835
835
  default:
836
836
  const parsedBody = parsedOutput.body;
837
837
  throwDefaultError({
@@ -843,7 +843,7 @@ const deserializeAws_restJson1UpdateScheduleCommandError = async (output, contex
843
843
  }
844
844
  };
845
845
  const map = __map;
846
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
846
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
847
847
  const contents = map({});
848
848
  const data = parsedOutput.body;
849
849
  if (data.Message != null) {
@@ -855,7 +855,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
855
855
  });
856
856
  return __decorateServiceException(exception, parsedOutput.body);
857
857
  };
858
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
858
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
859
859
  const contents = map({});
860
860
  const data = parsedOutput.body;
861
861
  if (data.Message != null) {
@@ -867,7 +867,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
867
867
  });
868
868
  return __decorateServiceException(exception, parsedOutput.body);
869
869
  };
870
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
870
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
871
871
  const contents = map({});
872
872
  const data = parsedOutput.body;
873
873
  if (data.Message != null) {
@@ -879,7 +879,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
879
879
  });
880
880
  return __decorateServiceException(exception, parsedOutput.body);
881
881
  };
882
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
882
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
883
883
  const contents = map({});
884
884
  const data = parsedOutput.body;
885
885
  if (data.Message != null) {
@@ -891,7 +891,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
891
891
  });
892
892
  return __decorateServiceException(exception, parsedOutput.body);
893
893
  };
894
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
894
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
895
895
  const contents = map({});
896
896
  const data = parsedOutput.body;
897
897
  if (data.Message != null) {
@@ -903,7 +903,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
903
903
  });
904
904
  return __decorateServiceException(exception, parsedOutput.body);
905
905
  };
906
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
906
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
907
907
  const contents = map({});
908
908
  const data = parsedOutput.body;
909
909
  if (data.Message != null) {
@@ -915,169 +915,167 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
915
915
  });
916
916
  return __decorateServiceException(exception, parsedOutput.body);
917
917
  };
918
- const serializeAws_restJson1AwsVpcConfiguration = (input, context) => {
918
+ const se_AwsVpcConfiguration = (input, context) => {
919
919
  return {
920
920
  ...(input.AssignPublicIp != null && { AssignPublicIp: input.AssignPublicIp }),
921
- ...(input.SecurityGroups != null && {
922
- SecurityGroups: serializeAws_restJson1SecurityGroups(input.SecurityGroups, context),
923
- }),
924
- ...(input.Subnets != null && { Subnets: serializeAws_restJson1Subnets(input.Subnets, context) }),
921
+ ...(input.SecurityGroups != null && { SecurityGroups: se_SecurityGroups(input.SecurityGroups, context) }),
922
+ ...(input.Subnets != null && { Subnets: se_Subnets(input.Subnets, context) }),
925
923
  };
926
924
  };
927
- const serializeAws_restJson1CapacityProviderStrategy = (input, context) => {
925
+ const se_CapacityProviderStrategy = (input, context) => {
928
926
  return input
929
927
  .filter((e) => e != null)
930
928
  .map((entry) => {
931
- return serializeAws_restJson1CapacityProviderStrategyItem(entry, context);
929
+ return se_CapacityProviderStrategyItem(entry, context);
932
930
  });
933
931
  };
934
- const serializeAws_restJson1CapacityProviderStrategyItem = (input, context) => {
932
+ const se_CapacityProviderStrategyItem = (input, context) => {
935
933
  return {
936
934
  ...(input.base != null && { base: input.base }),
937
935
  ...(input.capacityProvider != null && { capacityProvider: input.capacityProvider }),
938
936
  ...(input.weight != null && { weight: input.weight }),
939
937
  };
940
938
  };
941
- const serializeAws_restJson1DeadLetterConfig = (input, context) => {
939
+ const se_DeadLetterConfig = (input, context) => {
942
940
  return {
943
941
  ...(input.Arn != null && { Arn: input.Arn }),
944
942
  };
945
943
  };
946
- const serializeAws_restJson1EcsParameters = (input, context) => {
944
+ const se_EcsParameters = (input, context) => {
947
945
  return {
948
946
  ...(input.CapacityProviderStrategy != null && {
949
- CapacityProviderStrategy: serializeAws_restJson1CapacityProviderStrategy(input.CapacityProviderStrategy, context),
947
+ CapacityProviderStrategy: se_CapacityProviderStrategy(input.CapacityProviderStrategy, context),
950
948
  }),
951
949
  ...(input.EnableECSManagedTags != null && { EnableECSManagedTags: input.EnableECSManagedTags }),
952
950
  ...(input.EnableExecuteCommand != null && { EnableExecuteCommand: input.EnableExecuteCommand }),
953
951
  ...(input.Group != null && { Group: input.Group }),
954
952
  ...(input.LaunchType != null && { LaunchType: input.LaunchType }),
955
953
  ...(input.NetworkConfiguration != null && {
956
- NetworkConfiguration: serializeAws_restJson1NetworkConfiguration(input.NetworkConfiguration, context),
954
+ NetworkConfiguration: se_NetworkConfiguration(input.NetworkConfiguration, context),
957
955
  }),
958
956
  ...(input.PlacementConstraints != null && {
959
- PlacementConstraints: serializeAws_restJson1PlacementConstraints(input.PlacementConstraints, context),
957
+ PlacementConstraints: se_PlacementConstraints(input.PlacementConstraints, context),
960
958
  }),
961
959
  ...(input.PlacementStrategy != null && {
962
- PlacementStrategy: serializeAws_restJson1PlacementStrategies(input.PlacementStrategy, context),
960
+ PlacementStrategy: se_PlacementStrategies(input.PlacementStrategy, context),
963
961
  }),
964
962
  ...(input.PlatformVersion != null && { PlatformVersion: input.PlatformVersion }),
965
963
  ...(input.PropagateTags != null && { PropagateTags: input.PropagateTags }),
966
964
  ...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
967
- ...(input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
965
+ ...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
968
966
  ...(input.TaskCount != null && { TaskCount: input.TaskCount }),
969
967
  ...(input.TaskDefinitionArn != null && { TaskDefinitionArn: input.TaskDefinitionArn }),
970
968
  };
971
969
  };
972
- const serializeAws_restJson1EventBridgeParameters = (input, context) => {
970
+ const se_EventBridgeParameters = (input, context) => {
973
971
  return {
974
972
  ...(input.DetailType != null && { DetailType: input.DetailType }),
975
973
  ...(input.Source != null && { Source: input.Source }),
976
974
  };
977
975
  };
978
- const serializeAws_restJson1FlexibleTimeWindow = (input, context) => {
976
+ const se_FlexibleTimeWindow = (input, context) => {
979
977
  return {
980
978
  ...(input.MaximumWindowInMinutes != null && { MaximumWindowInMinutes: input.MaximumWindowInMinutes }),
981
979
  ...(input.Mode != null && { Mode: input.Mode }),
982
980
  };
983
981
  };
984
- const serializeAws_restJson1KinesisParameters = (input, context) => {
982
+ const se_KinesisParameters = (input, context) => {
985
983
  return {
986
984
  ...(input.PartitionKey != null && { PartitionKey: input.PartitionKey }),
987
985
  };
988
986
  };
989
- const serializeAws_restJson1NetworkConfiguration = (input, context) => {
987
+ const se_NetworkConfiguration = (input, context) => {
990
988
  return {
991
989
  ...(input.awsvpcConfiguration != null && {
992
- awsvpcConfiguration: serializeAws_restJson1AwsVpcConfiguration(input.awsvpcConfiguration, context),
990
+ awsvpcConfiguration: se_AwsVpcConfiguration(input.awsvpcConfiguration, context),
993
991
  }),
994
992
  };
995
993
  };
996
- const serializeAws_restJson1PlacementConstraint = (input, context) => {
994
+ const se_PlacementConstraint = (input, context) => {
997
995
  return {
998
996
  ...(input.expression != null && { expression: input.expression }),
999
997
  ...(input.type != null && { type: input.type }),
1000
998
  };
1001
999
  };
1002
- const serializeAws_restJson1PlacementConstraints = (input, context) => {
1000
+ const se_PlacementConstraints = (input, context) => {
1003
1001
  return input
1004
1002
  .filter((e) => e != null)
1005
1003
  .map((entry) => {
1006
- return serializeAws_restJson1PlacementConstraint(entry, context);
1004
+ return se_PlacementConstraint(entry, context);
1007
1005
  });
1008
1006
  };
1009
- const serializeAws_restJson1PlacementStrategies = (input, context) => {
1007
+ const se_PlacementStrategies = (input, context) => {
1010
1008
  return input
1011
1009
  .filter((e) => e != null)
1012
1010
  .map((entry) => {
1013
- return serializeAws_restJson1PlacementStrategy(entry, context);
1011
+ return se_PlacementStrategy(entry, context);
1014
1012
  });
1015
1013
  };
1016
- const serializeAws_restJson1PlacementStrategy = (input, context) => {
1014
+ const se_PlacementStrategy = (input, context) => {
1017
1015
  return {
1018
1016
  ...(input.field != null && { field: input.field }),
1019
1017
  ...(input.type != null && { type: input.type }),
1020
1018
  };
1021
1019
  };
1022
- const serializeAws_restJson1RetryPolicy = (input, context) => {
1020
+ const se_RetryPolicy = (input, context) => {
1023
1021
  return {
1024
1022
  ...(input.MaximumEventAgeInSeconds != null && { MaximumEventAgeInSeconds: input.MaximumEventAgeInSeconds }),
1025
1023
  ...(input.MaximumRetryAttempts != null && { MaximumRetryAttempts: input.MaximumRetryAttempts }),
1026
1024
  };
1027
1025
  };
1028
- const serializeAws_restJson1SageMakerPipelineParameter = (input, context) => {
1026
+ const se_SageMakerPipelineParameter = (input, context) => {
1029
1027
  return {
1030
1028
  ...(input.Name != null && { Name: input.Name }),
1031
1029
  ...(input.Value != null && { Value: input.Value }),
1032
1030
  };
1033
1031
  };
1034
- const serializeAws_restJson1SageMakerPipelineParameterList = (input, context) => {
1032
+ const se_SageMakerPipelineParameterList = (input, context) => {
1035
1033
  return input
1036
1034
  .filter((e) => e != null)
1037
1035
  .map((entry) => {
1038
- return serializeAws_restJson1SageMakerPipelineParameter(entry, context);
1036
+ return se_SageMakerPipelineParameter(entry, context);
1039
1037
  });
1040
1038
  };
1041
- const serializeAws_restJson1SageMakerPipelineParameters = (input, context) => {
1039
+ const se_SageMakerPipelineParameters = (input, context) => {
1042
1040
  return {
1043
1041
  ...(input.PipelineParameterList != null && {
1044
- PipelineParameterList: serializeAws_restJson1SageMakerPipelineParameterList(input.PipelineParameterList, context),
1042
+ PipelineParameterList: se_SageMakerPipelineParameterList(input.PipelineParameterList, context),
1045
1043
  }),
1046
1044
  };
1047
1045
  };
1048
- const serializeAws_restJson1SecurityGroups = (input, context) => {
1046
+ const se_SecurityGroups = (input, context) => {
1049
1047
  return input
1050
1048
  .filter((e) => e != null)
1051
1049
  .map((entry) => {
1052
1050
  return entry;
1053
1051
  });
1054
1052
  };
1055
- const serializeAws_restJson1SqsParameters = (input, context) => {
1053
+ const se_SqsParameters = (input, context) => {
1056
1054
  return {
1057
1055
  ...(input.MessageGroupId != null && { MessageGroupId: input.MessageGroupId }),
1058
1056
  };
1059
1057
  };
1060
- const serializeAws_restJson1Subnets = (input, context) => {
1058
+ const se_Subnets = (input, context) => {
1061
1059
  return input
1062
1060
  .filter((e) => e != null)
1063
1061
  .map((entry) => {
1064
1062
  return entry;
1065
1063
  });
1066
1064
  };
1067
- const serializeAws_restJson1Tag = (input, context) => {
1065
+ const se_Tag = (input, context) => {
1068
1066
  return {
1069
1067
  ...(input.Key != null && { Key: input.Key }),
1070
1068
  ...(input.Value != null && { Value: input.Value }),
1071
1069
  };
1072
1070
  };
1073
- const serializeAws_restJson1TagList = (input, context) => {
1071
+ const se_TagList = (input, context) => {
1074
1072
  return input
1075
1073
  .filter((e) => e != null)
1076
1074
  .map((entry) => {
1077
- return serializeAws_restJson1Tag(entry, context);
1075
+ return se_Tag(entry, context);
1078
1076
  });
1079
1077
  };
1080
- const serializeAws_restJson1TagMap = (input, context) => {
1078
+ const se_TagMap = (input, context) => {
1081
1079
  return Object.entries(input).reduce((acc, [key, value]) => {
1082
1080
  if (value === null) {
1083
1081
  return acc;
@@ -1086,197 +1084,181 @@ const serializeAws_restJson1TagMap = (input, context) => {
1086
1084
  return acc;
1087
1085
  }, {});
1088
1086
  };
1089
- const serializeAws_restJson1Tags = (input, context) => {
1087
+ const se_Tags = (input, context) => {
1090
1088
  return input
1091
1089
  .filter((e) => e != null)
1092
1090
  .map((entry) => {
1093
- return serializeAws_restJson1TagMap(entry, context);
1091
+ return se_TagMap(entry, context);
1094
1092
  });
1095
1093
  };
1096
- const serializeAws_restJson1Target = (input, context) => {
1094
+ const se_Target = (input, context) => {
1097
1095
  return {
1098
1096
  ...(input.Arn != null && { Arn: input.Arn }),
1099
- ...(input.DeadLetterConfig != null && {
1100
- DeadLetterConfig: serializeAws_restJson1DeadLetterConfig(input.DeadLetterConfig, context),
1101
- }),
1102
- ...(input.EcsParameters != null && {
1103
- EcsParameters: serializeAws_restJson1EcsParameters(input.EcsParameters, context),
1104
- }),
1097
+ ...(input.DeadLetterConfig != null && { DeadLetterConfig: se_DeadLetterConfig(input.DeadLetterConfig, context) }),
1098
+ ...(input.EcsParameters != null && { EcsParameters: se_EcsParameters(input.EcsParameters, context) }),
1105
1099
  ...(input.EventBridgeParameters != null && {
1106
- EventBridgeParameters: serializeAws_restJson1EventBridgeParameters(input.EventBridgeParameters, context),
1100
+ EventBridgeParameters: se_EventBridgeParameters(input.EventBridgeParameters, context),
1107
1101
  }),
1108
1102
  ...(input.Input != null && { Input: input.Input }),
1109
1103
  ...(input.KinesisParameters != null && {
1110
- KinesisParameters: serializeAws_restJson1KinesisParameters(input.KinesisParameters, context),
1104
+ KinesisParameters: se_KinesisParameters(input.KinesisParameters, context),
1111
1105
  }),
1112
- ...(input.RetryPolicy != null && { RetryPolicy: serializeAws_restJson1RetryPolicy(input.RetryPolicy, context) }),
1106
+ ...(input.RetryPolicy != null && { RetryPolicy: se_RetryPolicy(input.RetryPolicy, context) }),
1113
1107
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
1114
1108
  ...(input.SageMakerPipelineParameters != null && {
1115
- SageMakerPipelineParameters: serializeAws_restJson1SageMakerPipelineParameters(input.SageMakerPipelineParameters, context),
1116
- }),
1117
- ...(input.SqsParameters != null && {
1118
- SqsParameters: serializeAws_restJson1SqsParameters(input.SqsParameters, context),
1109
+ SageMakerPipelineParameters: se_SageMakerPipelineParameters(input.SageMakerPipelineParameters, context),
1119
1110
  }),
1111
+ ...(input.SqsParameters != null && { SqsParameters: se_SqsParameters(input.SqsParameters, context) }),
1120
1112
  };
1121
1113
  };
1122
- const deserializeAws_restJson1AwsVpcConfiguration = (output, context) => {
1114
+ const de_AwsVpcConfiguration = (output, context) => {
1123
1115
  return {
1124
1116
  AssignPublicIp: __expectString(output.AssignPublicIp),
1125
- SecurityGroups: output.SecurityGroups != null
1126
- ? deserializeAws_restJson1SecurityGroups(output.SecurityGroups, context)
1127
- : undefined,
1128
- Subnets: output.Subnets != null ? deserializeAws_restJson1Subnets(output.Subnets, context) : undefined,
1117
+ SecurityGroups: output.SecurityGroups != null ? de_SecurityGroups(output.SecurityGroups, context) : undefined,
1118
+ Subnets: output.Subnets != null ? de_Subnets(output.Subnets, context) : undefined,
1129
1119
  };
1130
1120
  };
1131
- const deserializeAws_restJson1CapacityProviderStrategy = (output, context) => {
1121
+ const de_CapacityProviderStrategy = (output, context) => {
1132
1122
  const retVal = (output || [])
1133
1123
  .filter((e) => e != null)
1134
1124
  .map((entry) => {
1135
1125
  if (entry === null) {
1136
1126
  return null;
1137
1127
  }
1138
- return deserializeAws_restJson1CapacityProviderStrategyItem(entry, context);
1128
+ return de_CapacityProviderStrategyItem(entry, context);
1139
1129
  });
1140
1130
  return retVal;
1141
1131
  };
1142
- const deserializeAws_restJson1CapacityProviderStrategyItem = (output, context) => {
1132
+ const de_CapacityProviderStrategyItem = (output, context) => {
1143
1133
  return {
1144
1134
  base: __expectInt32(output.base),
1145
1135
  capacityProvider: __expectString(output.capacityProvider),
1146
1136
  weight: __expectInt32(output.weight),
1147
1137
  };
1148
1138
  };
1149
- const deserializeAws_restJson1DeadLetterConfig = (output, context) => {
1139
+ const de_DeadLetterConfig = (output, context) => {
1150
1140
  return {
1151
1141
  Arn: __expectString(output.Arn),
1152
1142
  };
1153
1143
  };
1154
- const deserializeAws_restJson1EcsParameters = (output, context) => {
1144
+ const de_EcsParameters = (output, context) => {
1155
1145
  return {
1156
1146
  CapacityProviderStrategy: output.CapacityProviderStrategy != null
1157
- ? deserializeAws_restJson1CapacityProviderStrategy(output.CapacityProviderStrategy, context)
1147
+ ? de_CapacityProviderStrategy(output.CapacityProviderStrategy, context)
1158
1148
  : undefined,
1159
1149
  EnableECSManagedTags: __expectBoolean(output.EnableECSManagedTags),
1160
1150
  EnableExecuteCommand: __expectBoolean(output.EnableExecuteCommand),
1161
1151
  Group: __expectString(output.Group),
1162
1152
  LaunchType: __expectString(output.LaunchType),
1163
- NetworkConfiguration: output.NetworkConfiguration != null
1164
- ? deserializeAws_restJson1NetworkConfiguration(output.NetworkConfiguration, context)
1165
- : undefined,
1166
- PlacementConstraints: output.PlacementConstraints != null
1167
- ? deserializeAws_restJson1PlacementConstraints(output.PlacementConstraints, context)
1168
- : undefined,
1169
- PlacementStrategy: output.PlacementStrategy != null
1170
- ? deserializeAws_restJson1PlacementStrategies(output.PlacementStrategy, context)
1171
- : undefined,
1153
+ NetworkConfiguration: output.NetworkConfiguration != null ? de_NetworkConfiguration(output.NetworkConfiguration, context) : undefined,
1154
+ PlacementConstraints: output.PlacementConstraints != null ? de_PlacementConstraints(output.PlacementConstraints, context) : undefined,
1155
+ PlacementStrategy: output.PlacementStrategy != null ? de_PlacementStrategies(output.PlacementStrategy, context) : undefined,
1172
1156
  PlatformVersion: __expectString(output.PlatformVersion),
1173
1157
  PropagateTags: __expectString(output.PropagateTags),
1174
1158
  ReferenceId: __expectString(output.ReferenceId),
1175
- Tags: output.Tags != null ? deserializeAws_restJson1Tags(output.Tags, context) : undefined,
1159
+ Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
1176
1160
  TaskCount: __expectInt32(output.TaskCount),
1177
1161
  TaskDefinitionArn: __expectString(output.TaskDefinitionArn),
1178
1162
  };
1179
1163
  };
1180
- const deserializeAws_restJson1EventBridgeParameters = (output, context) => {
1164
+ const de_EventBridgeParameters = (output, context) => {
1181
1165
  return {
1182
1166
  DetailType: __expectString(output.DetailType),
1183
1167
  Source: __expectString(output.Source),
1184
1168
  };
1185
1169
  };
1186
- const deserializeAws_restJson1FlexibleTimeWindow = (output, context) => {
1170
+ const de_FlexibleTimeWindow = (output, context) => {
1187
1171
  return {
1188
1172
  MaximumWindowInMinutes: __expectInt32(output.MaximumWindowInMinutes),
1189
1173
  Mode: __expectString(output.Mode),
1190
1174
  };
1191
1175
  };
1192
- const deserializeAws_restJson1KinesisParameters = (output, context) => {
1176
+ const de_KinesisParameters = (output, context) => {
1193
1177
  return {
1194
1178
  PartitionKey: __expectString(output.PartitionKey),
1195
1179
  };
1196
1180
  };
1197
- const deserializeAws_restJson1NetworkConfiguration = (output, context) => {
1181
+ const de_NetworkConfiguration = (output, context) => {
1198
1182
  return {
1199
- awsvpcConfiguration: output.awsvpcConfiguration != null
1200
- ? deserializeAws_restJson1AwsVpcConfiguration(output.awsvpcConfiguration, context)
1201
- : undefined,
1183
+ awsvpcConfiguration: output.awsvpcConfiguration != null ? de_AwsVpcConfiguration(output.awsvpcConfiguration, context) : undefined,
1202
1184
  };
1203
1185
  };
1204
- const deserializeAws_restJson1PlacementConstraint = (output, context) => {
1186
+ const de_PlacementConstraint = (output, context) => {
1205
1187
  return {
1206
1188
  expression: __expectString(output.expression),
1207
1189
  type: __expectString(output.type),
1208
1190
  };
1209
1191
  };
1210
- const deserializeAws_restJson1PlacementConstraints = (output, context) => {
1192
+ const de_PlacementConstraints = (output, context) => {
1211
1193
  const retVal = (output || [])
1212
1194
  .filter((e) => e != null)
1213
1195
  .map((entry) => {
1214
1196
  if (entry === null) {
1215
1197
  return null;
1216
1198
  }
1217
- return deserializeAws_restJson1PlacementConstraint(entry, context);
1199
+ return de_PlacementConstraint(entry, context);
1218
1200
  });
1219
1201
  return retVal;
1220
1202
  };
1221
- const deserializeAws_restJson1PlacementStrategies = (output, context) => {
1203
+ const de_PlacementStrategies = (output, context) => {
1222
1204
  const retVal = (output || [])
1223
1205
  .filter((e) => e != null)
1224
1206
  .map((entry) => {
1225
1207
  if (entry === null) {
1226
1208
  return null;
1227
1209
  }
1228
- return deserializeAws_restJson1PlacementStrategy(entry, context);
1210
+ return de_PlacementStrategy(entry, context);
1229
1211
  });
1230
1212
  return retVal;
1231
1213
  };
1232
- const deserializeAws_restJson1PlacementStrategy = (output, context) => {
1214
+ const de_PlacementStrategy = (output, context) => {
1233
1215
  return {
1234
1216
  field: __expectString(output.field),
1235
1217
  type: __expectString(output.type),
1236
1218
  };
1237
1219
  };
1238
- const deserializeAws_restJson1RetryPolicy = (output, context) => {
1220
+ const de_RetryPolicy = (output, context) => {
1239
1221
  return {
1240
1222
  MaximumEventAgeInSeconds: __expectInt32(output.MaximumEventAgeInSeconds),
1241
1223
  MaximumRetryAttempts: __expectInt32(output.MaximumRetryAttempts),
1242
1224
  };
1243
1225
  };
1244
- const deserializeAws_restJson1SageMakerPipelineParameter = (output, context) => {
1226
+ const de_SageMakerPipelineParameter = (output, context) => {
1245
1227
  return {
1246
1228
  Name: __expectString(output.Name),
1247
1229
  Value: __expectString(output.Value),
1248
1230
  };
1249
1231
  };
1250
- const deserializeAws_restJson1SageMakerPipelineParameterList = (output, context) => {
1232
+ const de_SageMakerPipelineParameterList = (output, context) => {
1251
1233
  const retVal = (output || [])
1252
1234
  .filter((e) => e != null)
1253
1235
  .map((entry) => {
1254
1236
  if (entry === null) {
1255
1237
  return null;
1256
1238
  }
1257
- return deserializeAws_restJson1SageMakerPipelineParameter(entry, context);
1239
+ return de_SageMakerPipelineParameter(entry, context);
1258
1240
  });
1259
1241
  return retVal;
1260
1242
  };
1261
- const deserializeAws_restJson1SageMakerPipelineParameters = (output, context) => {
1243
+ const de_SageMakerPipelineParameters = (output, context) => {
1262
1244
  return {
1263
1245
  PipelineParameterList: output.PipelineParameterList != null
1264
- ? deserializeAws_restJson1SageMakerPipelineParameterList(output.PipelineParameterList, context)
1246
+ ? de_SageMakerPipelineParameterList(output.PipelineParameterList, context)
1265
1247
  : undefined,
1266
1248
  };
1267
1249
  };
1268
- const deserializeAws_restJson1ScheduleGroupList = (output, context) => {
1250
+ const de_ScheduleGroupList = (output, context) => {
1269
1251
  const retVal = (output || [])
1270
1252
  .filter((e) => e != null)
1271
1253
  .map((entry) => {
1272
1254
  if (entry === null) {
1273
1255
  return null;
1274
1256
  }
1275
- return deserializeAws_restJson1ScheduleGroupSummary(entry, context);
1257
+ return de_ScheduleGroupSummary(entry, context);
1276
1258
  });
1277
1259
  return retVal;
1278
1260
  };
1279
- const deserializeAws_restJson1ScheduleGroupSummary = (output, context) => {
1261
+ const de_ScheduleGroupSummary = (output, context) => {
1280
1262
  return {
1281
1263
  Arn: __expectString(output.Arn),
1282
1264
  CreationDate: output.CreationDate != null
@@ -1289,18 +1271,18 @@ const deserializeAws_restJson1ScheduleGroupSummary = (output, context) => {
1289
1271
  State: __expectString(output.State),
1290
1272
  };
1291
1273
  };
1292
- const deserializeAws_restJson1ScheduleList = (output, context) => {
1274
+ const de_ScheduleList = (output, context) => {
1293
1275
  const retVal = (output || [])
1294
1276
  .filter((e) => e != null)
1295
1277
  .map((entry) => {
1296
1278
  if (entry === null) {
1297
1279
  return null;
1298
1280
  }
1299
- return deserializeAws_restJson1ScheduleSummary(entry, context);
1281
+ return de_ScheduleSummary(entry, context);
1300
1282
  });
1301
1283
  return retVal;
1302
1284
  };
1303
- const deserializeAws_restJson1ScheduleSummary = (output, context) => {
1285
+ const de_ScheduleSummary = (output, context) => {
1304
1286
  return {
1305
1287
  Arn: __expectString(output.Arn),
1306
1288
  CreationDate: output.CreationDate != null
@@ -1312,10 +1294,10 @@ const deserializeAws_restJson1ScheduleSummary = (output, context) => {
1312
1294
  : undefined,
1313
1295
  Name: __expectString(output.Name),
1314
1296
  State: __expectString(output.State),
1315
- Target: output.Target != null ? deserializeAws_restJson1TargetSummary(output.Target, context) : undefined,
1297
+ Target: output.Target != null ? de_TargetSummary(output.Target, context) : undefined,
1316
1298
  };
1317
1299
  };
1318
- const deserializeAws_restJson1SecurityGroups = (output, context) => {
1300
+ const de_SecurityGroups = (output, context) => {
1319
1301
  const retVal = (output || [])
1320
1302
  .filter((e) => e != null)
1321
1303
  .map((entry) => {
@@ -1326,12 +1308,12 @@ const deserializeAws_restJson1SecurityGroups = (output, context) => {
1326
1308
  });
1327
1309
  return retVal;
1328
1310
  };
1329
- const deserializeAws_restJson1SqsParameters = (output, context) => {
1311
+ const de_SqsParameters = (output, context) => {
1330
1312
  return {
1331
1313
  MessageGroupId: __expectString(output.MessageGroupId),
1332
1314
  };
1333
1315
  };
1334
- const deserializeAws_restJson1Subnets = (output, context) => {
1316
+ const de_Subnets = (output, context) => {
1335
1317
  const retVal = (output || [])
1336
1318
  .filter((e) => e != null)
1337
1319
  .map((entry) => {
@@ -1342,24 +1324,24 @@ const deserializeAws_restJson1Subnets = (output, context) => {
1342
1324
  });
1343
1325
  return retVal;
1344
1326
  };
1345
- const deserializeAws_restJson1Tag = (output, context) => {
1327
+ const de_Tag = (output, context) => {
1346
1328
  return {
1347
1329
  Key: __expectString(output.Key),
1348
1330
  Value: __expectString(output.Value),
1349
1331
  };
1350
1332
  };
1351
- const deserializeAws_restJson1TagList = (output, context) => {
1333
+ const de_TagList = (output, context) => {
1352
1334
  const retVal = (output || [])
1353
1335
  .filter((e) => e != null)
1354
1336
  .map((entry) => {
1355
1337
  if (entry === null) {
1356
1338
  return null;
1357
1339
  }
1358
- return deserializeAws_restJson1Tag(entry, context);
1340
+ return de_Tag(entry, context);
1359
1341
  });
1360
1342
  return retVal;
1361
1343
  };
1362
- const deserializeAws_restJson1TagMap = (output, context) => {
1344
+ const de_TagMap = (output, context) => {
1363
1345
  return Object.entries(output).reduce((acc, [key, value]) => {
1364
1346
  if (value === null) {
1365
1347
  return acc;
@@ -1368,40 +1350,36 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1368
1350
  return acc;
1369
1351
  }, {});
1370
1352
  };
1371
- const deserializeAws_restJson1Tags = (output, context) => {
1353
+ const de_Tags = (output, context) => {
1372
1354
  const retVal = (output || [])
1373
1355
  .filter((e) => e != null)
1374
1356
  .map((entry) => {
1375
1357
  if (entry === null) {
1376
1358
  return null;
1377
1359
  }
1378
- return deserializeAws_restJson1TagMap(entry, context);
1360
+ return de_TagMap(entry, context);
1379
1361
  });
1380
1362
  return retVal;
1381
1363
  };
1382
- const deserializeAws_restJson1Target = (output, context) => {
1364
+ const de_Target = (output, context) => {
1383
1365
  return {
1384
1366
  Arn: __expectString(output.Arn),
1385
- DeadLetterConfig: output.DeadLetterConfig != null
1386
- ? deserializeAws_restJson1DeadLetterConfig(output.DeadLetterConfig, context)
1387
- : undefined,
1388
- EcsParameters: output.EcsParameters != null ? deserializeAws_restJson1EcsParameters(output.EcsParameters, context) : undefined,
1367
+ DeadLetterConfig: output.DeadLetterConfig != null ? de_DeadLetterConfig(output.DeadLetterConfig, context) : undefined,
1368
+ EcsParameters: output.EcsParameters != null ? de_EcsParameters(output.EcsParameters, context) : undefined,
1389
1369
  EventBridgeParameters: output.EventBridgeParameters != null
1390
- ? deserializeAws_restJson1EventBridgeParameters(output.EventBridgeParameters, context)
1370
+ ? de_EventBridgeParameters(output.EventBridgeParameters, context)
1391
1371
  : undefined,
1392
1372
  Input: __expectString(output.Input),
1393
- KinesisParameters: output.KinesisParameters != null
1394
- ? deserializeAws_restJson1KinesisParameters(output.KinesisParameters, context)
1395
- : undefined,
1396
- RetryPolicy: output.RetryPolicy != null ? deserializeAws_restJson1RetryPolicy(output.RetryPolicy, context) : undefined,
1373
+ KinesisParameters: output.KinesisParameters != null ? de_KinesisParameters(output.KinesisParameters, context) : undefined,
1374
+ RetryPolicy: output.RetryPolicy != null ? de_RetryPolicy(output.RetryPolicy, context) : undefined,
1397
1375
  RoleArn: __expectString(output.RoleArn),
1398
1376
  SageMakerPipelineParameters: output.SageMakerPipelineParameters != null
1399
- ? deserializeAws_restJson1SageMakerPipelineParameters(output.SageMakerPipelineParameters, context)
1377
+ ? de_SageMakerPipelineParameters(output.SageMakerPipelineParameters, context)
1400
1378
  : undefined,
1401
- SqsParameters: output.SqsParameters != null ? deserializeAws_restJson1SqsParameters(output.SqsParameters, context) : undefined,
1379
+ SqsParameters: output.SqsParameters != null ? de_SqsParameters(output.SqsParameters, context) : undefined,
1402
1380
  };
1403
1381
  };
1404
- const deserializeAws_restJson1TargetSummary = (output, context) => {
1382
+ const de_TargetSummary = (output, context) => {
1405
1383
  return {
1406
1384
  Arn: __expectString(output.Arn),
1407
1385
  };