@aws-sdk/client-connectcases 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 (65) hide show
  1. package/dist-cjs/commands/BatchGetFieldCommand.js +2 -2
  2. package/dist-cjs/commands/BatchPutFieldOptionsCommand.js +2 -2
  3. package/dist-cjs/commands/CreateCaseCommand.js +2 -2
  4. package/dist-cjs/commands/CreateDomainCommand.js +2 -2
  5. package/dist-cjs/commands/CreateFieldCommand.js +2 -2
  6. package/dist-cjs/commands/CreateLayoutCommand.js +2 -2
  7. package/dist-cjs/commands/CreateRelatedItemCommand.js +2 -2
  8. package/dist-cjs/commands/CreateTemplateCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteDomainCommand.js +2 -2
  10. package/dist-cjs/commands/GetCaseCommand.js +2 -2
  11. package/dist-cjs/commands/GetCaseEventConfigurationCommand.js +2 -2
  12. package/dist-cjs/commands/GetDomainCommand.js +2 -2
  13. package/dist-cjs/commands/GetLayoutCommand.js +2 -2
  14. package/dist-cjs/commands/GetTemplateCommand.js +2 -2
  15. package/dist-cjs/commands/ListCasesForContactCommand.js +2 -2
  16. package/dist-cjs/commands/ListDomainsCommand.js +2 -2
  17. package/dist-cjs/commands/ListFieldOptionsCommand.js +2 -2
  18. package/dist-cjs/commands/ListFieldsCommand.js +2 -2
  19. package/dist-cjs/commands/ListLayoutsCommand.js +2 -2
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  21. package/dist-cjs/commands/ListTemplatesCommand.js +2 -2
  22. package/dist-cjs/commands/PutCaseEventConfigurationCommand.js +2 -2
  23. package/dist-cjs/commands/SearchCasesCommand.js +2 -2
  24. package/dist-cjs/commands/SearchRelatedItemsCommand.js +2 -2
  25. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateCaseCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateFieldCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateLayoutCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateTemplateCommand.js +2 -2
  31. package/dist-cjs/protocols/Aws_restJson1.js +544 -556
  32. package/dist-es/commands/BatchGetFieldCommand.js +3 -3
  33. package/dist-es/commands/BatchPutFieldOptionsCommand.js +3 -3
  34. package/dist-es/commands/CreateCaseCommand.js +3 -3
  35. package/dist-es/commands/CreateDomainCommand.js +3 -3
  36. package/dist-es/commands/CreateFieldCommand.js +3 -3
  37. package/dist-es/commands/CreateLayoutCommand.js +3 -3
  38. package/dist-es/commands/CreateRelatedItemCommand.js +3 -3
  39. package/dist-es/commands/CreateTemplateCommand.js +3 -3
  40. package/dist-es/commands/DeleteDomainCommand.js +3 -3
  41. package/dist-es/commands/GetCaseCommand.js +3 -3
  42. package/dist-es/commands/GetCaseEventConfigurationCommand.js +3 -3
  43. package/dist-es/commands/GetDomainCommand.js +3 -3
  44. package/dist-es/commands/GetLayoutCommand.js +3 -3
  45. package/dist-es/commands/GetTemplateCommand.js +3 -3
  46. package/dist-es/commands/ListCasesForContactCommand.js +3 -3
  47. package/dist-es/commands/ListDomainsCommand.js +3 -3
  48. package/dist-es/commands/ListFieldOptionsCommand.js +3 -3
  49. package/dist-es/commands/ListFieldsCommand.js +3 -3
  50. package/dist-es/commands/ListLayoutsCommand.js +3 -3
  51. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  52. package/dist-es/commands/ListTemplatesCommand.js +3 -3
  53. package/dist-es/commands/PutCaseEventConfigurationCommand.js +3 -3
  54. package/dist-es/commands/SearchCasesCommand.js +3 -3
  55. package/dist-es/commands/SearchRelatedItemsCommand.js +3 -3
  56. package/dist-es/commands/TagResourceCommand.js +3 -3
  57. package/dist-es/commands/UntagResourceCommand.js +3 -3
  58. package/dist-es/commands/UpdateCaseCommand.js +3 -3
  59. package/dist-es/commands/UpdateFieldCommand.js +3 -3
  60. package/dist-es/commands/UpdateLayoutCommand.js +3 -3
  61. package/dist-es/commands/UpdateTemplateCommand.js +3 -3
  62. package/dist-es/protocols/Aws_restJson1.js +482 -494
  63. package/dist-types/protocols/Aws_restJson1.d.ts +240 -60
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -60
  65. 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 { ConnectCasesServiceException as __BaseException } from "../models/ConnectCasesServiceException";
5
5
  import { AccessDeniedException, CaseFilter, ConflictException, FieldFilter, FieldValueUnion, InternalServerException, LayoutContent, RelatedItemInputContent, RelatedItemTypeFilter, ResourceNotFoundException, Section, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
6
- export const serializeAws_restJson1BatchGetFieldCommand = async (input, context) => {
6
+ export const se_BatchGetFieldCommand = 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",
@@ -12,7 +12,7 @@ export const serializeAws_restJson1BatchGetFieldCommand = async (input, context)
12
12
  resolvedPath = __resolvedPath(resolvedPath, input, "domainId", () => input.domainId, "{domainId}", false);
13
13
  let body;
14
14
  body = JSON.stringify({
15
- ...(input.fields != null && { fields: serializeAws_restJson1BatchGetFieldIdentifierList(input.fields, context) }),
15
+ ...(input.fields != null && { fields: se_BatchGetFieldIdentifierList(input.fields, context) }),
16
16
  });
17
17
  return new __HttpRequest({
18
18
  protocol,
@@ -24,7 +24,7 @@ export const serializeAws_restJson1BatchGetFieldCommand = async (input, context)
24
24
  body,
25
25
  });
26
26
  };
27
- export const serializeAws_restJson1BatchPutFieldOptionsCommand = async (input, context) => {
27
+ export const se_BatchPutFieldOptionsCommand = async (input, context) => {
28
28
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
29
29
  const headers = {
30
30
  "content-type": "application/json",
@@ -35,7 +35,7 @@ export const serializeAws_restJson1BatchPutFieldOptionsCommand = async (input, c
35
35
  resolvedPath = __resolvedPath(resolvedPath, input, "fieldId", () => input.fieldId, "{fieldId}", false);
36
36
  let body;
37
37
  body = JSON.stringify({
38
- ...(input.options != null && { options: serializeAws_restJson1FieldOptionsList(input.options, context) }),
38
+ ...(input.options != null && { options: se_FieldOptionsList(input.options, context) }),
39
39
  });
40
40
  return new __HttpRequest({
41
41
  protocol,
@@ -47,7 +47,7 @@ export const serializeAws_restJson1BatchPutFieldOptionsCommand = async (input, c
47
47
  body,
48
48
  });
49
49
  };
50
- export const serializeAws_restJson1CreateCaseCommand = async (input, context) => {
50
+ export const se_CreateCaseCommand = async (input, context) => {
51
51
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
52
52
  const headers = {
53
53
  "content-type": "application/json",
@@ -57,7 +57,7 @@ export const serializeAws_restJson1CreateCaseCommand = async (input, context) =>
57
57
  let body;
58
58
  body = JSON.stringify({
59
59
  clientToken: input.clientToken ?? generateIdempotencyToken(),
60
- ...(input.fields != null && { fields: serializeAws_restJson1FieldValueList(input.fields, context) }),
60
+ ...(input.fields != null && { fields: se_FieldValueList(input.fields, context) }),
61
61
  ...(input.templateId != null && { templateId: input.templateId }),
62
62
  });
63
63
  return new __HttpRequest({
@@ -70,7 +70,7 @@ export const serializeAws_restJson1CreateCaseCommand = async (input, context) =>
70
70
  body,
71
71
  });
72
72
  };
73
- export const serializeAws_restJson1CreateDomainCommand = async (input, context) => {
73
+ export const se_CreateDomainCommand = async (input, context) => {
74
74
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
75
75
  const headers = {
76
76
  "content-type": "application/json",
@@ -90,7 +90,7 @@ export const serializeAws_restJson1CreateDomainCommand = async (input, context)
90
90
  body,
91
91
  });
92
92
  };
93
- export const serializeAws_restJson1CreateFieldCommand = async (input, context) => {
93
+ export const se_CreateFieldCommand = async (input, context) => {
94
94
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
95
95
  const headers = {
96
96
  "content-type": "application/json",
@@ -113,7 +113,7 @@ export const serializeAws_restJson1CreateFieldCommand = async (input, context) =
113
113
  body,
114
114
  });
115
115
  };
116
- export const serializeAws_restJson1CreateLayoutCommand = async (input, context) => {
116
+ export const se_CreateLayoutCommand = async (input, context) => {
117
117
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
118
118
  const headers = {
119
119
  "content-type": "application/json",
@@ -122,7 +122,7 @@ export const serializeAws_restJson1CreateLayoutCommand = async (input, context)
122
122
  resolvedPath = __resolvedPath(resolvedPath, input, "domainId", () => input.domainId, "{domainId}", false);
123
123
  let body;
124
124
  body = JSON.stringify({
125
- ...(input.content != null && { content: serializeAws_restJson1LayoutContent(input.content, context) }),
125
+ ...(input.content != null && { content: se_LayoutContent(input.content, context) }),
126
126
  ...(input.name != null && { name: input.name }),
127
127
  });
128
128
  return new __HttpRequest({
@@ -135,7 +135,7 @@ export const serializeAws_restJson1CreateLayoutCommand = async (input, context)
135
135
  body,
136
136
  });
137
137
  };
138
- export const serializeAws_restJson1CreateRelatedItemCommand = async (input, context) => {
138
+ export const se_CreateRelatedItemCommand = async (input, context) => {
139
139
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
140
140
  const headers = {
141
141
  "content-type": "application/json",
@@ -146,7 +146,7 @@ export const serializeAws_restJson1CreateRelatedItemCommand = async (input, cont
146
146
  resolvedPath = __resolvedPath(resolvedPath, input, "caseId", () => input.caseId, "{caseId}", false);
147
147
  let body;
148
148
  body = JSON.stringify({
149
- ...(input.content != null && { content: serializeAws_restJson1RelatedItemInputContent(input.content, context) }),
149
+ ...(input.content != null && { content: se_RelatedItemInputContent(input.content, context) }),
150
150
  ...(input.type != null && { type: input.type }),
151
151
  });
152
152
  return new __HttpRequest({
@@ -159,7 +159,7 @@ export const serializeAws_restJson1CreateRelatedItemCommand = async (input, cont
159
159
  body,
160
160
  });
161
161
  };
162
- export const serializeAws_restJson1CreateTemplateCommand = async (input, context) => {
162
+ export const se_CreateTemplateCommand = async (input, context) => {
163
163
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
164
164
  const headers = {
165
165
  "content-type": "application/json",
@@ -170,12 +170,10 @@ export const serializeAws_restJson1CreateTemplateCommand = async (input, context
170
170
  body = JSON.stringify({
171
171
  ...(input.description != null && { description: input.description }),
172
172
  ...(input.layoutConfiguration != null && {
173
- layoutConfiguration: serializeAws_restJson1LayoutConfiguration(input.layoutConfiguration, context),
173
+ layoutConfiguration: se_LayoutConfiguration(input.layoutConfiguration, context),
174
174
  }),
175
175
  ...(input.name != null && { name: input.name }),
176
- ...(input.requiredFields != null && {
177
- requiredFields: serializeAws_restJson1RequiredFieldList(input.requiredFields, context),
178
- }),
176
+ ...(input.requiredFields != null && { requiredFields: se_RequiredFieldList(input.requiredFields, context) }),
179
177
  ...(input.status != null && { status: input.status }),
180
178
  });
181
179
  return new __HttpRequest({
@@ -188,7 +186,7 @@ export const serializeAws_restJson1CreateTemplateCommand = async (input, context
188
186
  body,
189
187
  });
190
188
  };
191
- export const serializeAws_restJson1DeleteDomainCommand = async (input, context) => {
189
+ export const se_DeleteDomainCommand = async (input, context) => {
192
190
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
193
191
  const headers = {};
194
192
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{domainId}";
@@ -204,7 +202,7 @@ export const serializeAws_restJson1DeleteDomainCommand = async (input, context)
204
202
  body,
205
203
  });
206
204
  };
207
- export const serializeAws_restJson1GetCaseCommand = async (input, context) => {
205
+ export const se_GetCaseCommand = async (input, context) => {
208
206
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
209
207
  const headers = {
210
208
  "content-type": "application/json",
@@ -214,7 +212,7 @@ export const serializeAws_restJson1GetCaseCommand = async (input, context) => {
214
212
  resolvedPath = __resolvedPath(resolvedPath, input, "domainId", () => input.domainId, "{domainId}", false);
215
213
  let body;
216
214
  body = JSON.stringify({
217
- ...(input.fields != null && { fields: serializeAws_restJson1FieldIdentifierList(input.fields, context) }),
215
+ ...(input.fields != null && { fields: se_FieldIdentifierList(input.fields, context) }),
218
216
  ...(input.nextToken != null && { nextToken: input.nextToken }),
219
217
  });
220
218
  return new __HttpRequest({
@@ -227,7 +225,7 @@ export const serializeAws_restJson1GetCaseCommand = async (input, context) => {
227
225
  body,
228
226
  });
229
227
  };
230
- export const serializeAws_restJson1GetCaseEventConfigurationCommand = async (input, context) => {
228
+ export const se_GetCaseEventConfigurationCommand = async (input, context) => {
231
229
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
232
230
  const headers = {};
233
231
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -244,7 +242,7 @@ export const serializeAws_restJson1GetCaseEventConfigurationCommand = async (inp
244
242
  body,
245
243
  });
246
244
  };
247
- export const serializeAws_restJson1GetDomainCommand = async (input, context) => {
245
+ export const se_GetDomainCommand = async (input, context) => {
248
246
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
249
247
  const headers = {};
250
248
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{domainId}";
@@ -260,7 +258,7 @@ export const serializeAws_restJson1GetDomainCommand = async (input, context) =>
260
258
  body,
261
259
  });
262
260
  };
263
- export const serializeAws_restJson1GetLayoutCommand = async (input, context) => {
261
+ export const se_GetLayoutCommand = async (input, context) => {
264
262
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
263
  const headers = {};
266
264
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{domainId}/layouts/{layoutId}";
@@ -277,7 +275,7 @@ export const serializeAws_restJson1GetLayoutCommand = async (input, context) =>
277
275
  body,
278
276
  });
279
277
  };
280
- export const serializeAws_restJson1GetTemplateCommand = async (input, context) => {
278
+ export const se_GetTemplateCommand = async (input, context) => {
281
279
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
282
280
  const headers = {};
283
281
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -295,7 +293,7 @@ export const serializeAws_restJson1GetTemplateCommand = async (input, context) =
295
293
  body,
296
294
  });
297
295
  };
298
- export const serializeAws_restJson1ListCasesForContactCommand = async (input, context) => {
296
+ export const se_ListCasesForContactCommand = async (input, context) => {
299
297
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
300
298
  const headers = {
301
299
  "content-type": "application/json",
@@ -319,7 +317,7 @@ export const serializeAws_restJson1ListCasesForContactCommand = async (input, co
319
317
  body,
320
318
  });
321
319
  };
322
- export const serializeAws_restJson1ListDomainsCommand = async (input, context) => {
320
+ export const se_ListDomainsCommand = async (input, context) => {
323
321
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
324
322
  const headers = {};
325
323
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains-list";
@@ -339,7 +337,7 @@ export const serializeAws_restJson1ListDomainsCommand = async (input, context) =
339
337
  body,
340
338
  });
341
339
  };
342
- export const serializeAws_restJson1ListFieldOptionsCommand = async (input, context) => {
340
+ export const se_ListFieldOptionsCommand = async (input, context) => {
343
341
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
344
342
  const headers = {};
345
343
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -363,7 +361,7 @@ export const serializeAws_restJson1ListFieldOptionsCommand = async (input, conte
363
361
  body,
364
362
  });
365
363
  };
366
- export const serializeAws_restJson1ListFieldsCommand = async (input, context) => {
364
+ export const se_ListFieldsCommand = async (input, context) => {
367
365
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
368
366
  const headers = {};
369
367
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{domainId}/fields-list";
@@ -384,7 +382,7 @@ export const serializeAws_restJson1ListFieldsCommand = async (input, context) =>
384
382
  body,
385
383
  });
386
384
  };
387
- export const serializeAws_restJson1ListLayoutsCommand = async (input, context) => {
385
+ export const se_ListLayoutsCommand = async (input, context) => {
388
386
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
389
387
  const headers = {};
390
388
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{domainId}/layouts-list";
@@ -405,7 +403,7 @@ export const serializeAws_restJson1ListLayoutsCommand = async (input, context) =
405
403
  body,
406
404
  });
407
405
  };
408
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
406
+ export const se_ListTagsForResourceCommand = async (input, context) => {
409
407
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
410
408
  const headers = {};
411
409
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{arn}";
@@ -421,7 +419,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
421
419
  body,
422
420
  });
423
421
  };
424
- export const serializeAws_restJson1ListTemplatesCommand = async (input, context) => {
422
+ export const se_ListTemplatesCommand = async (input, context) => {
425
423
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
426
424
  const headers = {};
427
425
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{domainId}/templates-list";
@@ -443,7 +441,7 @@ export const serializeAws_restJson1ListTemplatesCommand = async (input, context)
443
441
  body,
444
442
  });
445
443
  };
446
- export const serializeAws_restJson1PutCaseEventConfigurationCommand = async (input, context) => {
444
+ export const se_PutCaseEventConfigurationCommand = async (input, context) => {
447
445
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
448
446
  const headers = {
449
447
  "content-type": "application/json",
@@ -453,9 +451,7 @@ export const serializeAws_restJson1PutCaseEventConfigurationCommand = async (inp
453
451
  resolvedPath = __resolvedPath(resolvedPath, input, "domainId", () => input.domainId, "{domainId}", false);
454
452
  let body;
455
453
  body = JSON.stringify({
456
- ...(input.eventBridge != null && {
457
- eventBridge: serializeAws_restJson1EventBridgeConfiguration(input.eventBridge, context),
458
- }),
454
+ ...(input.eventBridge != null && { eventBridge: se_EventBridgeConfiguration(input.eventBridge, context) }),
459
455
  });
460
456
  return new __HttpRequest({
461
457
  protocol,
@@ -467,7 +463,7 @@ export const serializeAws_restJson1PutCaseEventConfigurationCommand = async (inp
467
463
  body,
468
464
  });
469
465
  };
470
- export const serializeAws_restJson1SearchCasesCommand = async (input, context) => {
466
+ export const se_SearchCasesCommand = async (input, context) => {
471
467
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
472
468
  const headers = {
473
469
  "content-type": "application/json",
@@ -476,12 +472,12 @@ export const serializeAws_restJson1SearchCasesCommand = async (input, context) =
476
472
  resolvedPath = __resolvedPath(resolvedPath, input, "domainId", () => input.domainId, "{domainId}", false);
477
473
  let body;
478
474
  body = JSON.stringify({
479
- ...(input.fields != null && { fields: serializeAws_restJson1FieldIdentifierList(input.fields, context) }),
480
- ...(input.filter != null && { filter: serializeAws_restJson1CaseFilter(input.filter, context) }),
475
+ ...(input.fields != null && { fields: se_FieldIdentifierList(input.fields, context) }),
476
+ ...(input.filter != null && { filter: se_CaseFilter(input.filter, context) }),
481
477
  ...(input.maxResults != null && { maxResults: input.maxResults }),
482
478
  ...(input.nextToken != null && { nextToken: input.nextToken }),
483
479
  ...(input.searchTerm != null && { searchTerm: input.searchTerm }),
484
- ...(input.sorts != null && { sorts: serializeAws_restJson1SortList(input.sorts, context) }),
480
+ ...(input.sorts != null && { sorts: se_SortList(input.sorts, context) }),
485
481
  });
486
482
  return new __HttpRequest({
487
483
  protocol,
@@ -493,7 +489,7 @@ export const serializeAws_restJson1SearchCasesCommand = async (input, context) =
493
489
  body,
494
490
  });
495
491
  };
496
- export const serializeAws_restJson1SearchRelatedItemsCommand = async (input, context) => {
492
+ export const se_SearchRelatedItemsCommand = async (input, context) => {
497
493
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
498
494
  const headers = {
499
495
  "content-type": "application/json",
@@ -504,7 +500,7 @@ export const serializeAws_restJson1SearchRelatedItemsCommand = async (input, con
504
500
  resolvedPath = __resolvedPath(resolvedPath, input, "caseId", () => input.caseId, "{caseId}", false);
505
501
  let body;
506
502
  body = JSON.stringify({
507
- ...(input.filters != null && { filters: serializeAws_restJson1RelatedItemFilterList(input.filters, context) }),
503
+ ...(input.filters != null && { filters: se_RelatedItemFilterList(input.filters, context) }),
508
504
  ...(input.maxResults != null && { maxResults: input.maxResults }),
509
505
  ...(input.nextToken != null && { nextToken: input.nextToken }),
510
506
  });
@@ -518,7 +514,7 @@ export const serializeAws_restJson1SearchRelatedItemsCommand = async (input, con
518
514
  body,
519
515
  });
520
516
  };
521
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
517
+ export const se_TagResourceCommand = async (input, context) => {
522
518
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
523
519
  const headers = {
524
520
  "content-type": "application/json",
@@ -527,7 +523,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
527
523
  resolvedPath = __resolvedPath(resolvedPath, input, "arn", () => input.arn, "{arn}", false);
528
524
  let body;
529
525
  body = JSON.stringify({
530
- ...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
526
+ ...(input.tags != null && { tags: se_Tags(input.tags, context) }),
531
527
  });
532
528
  return new __HttpRequest({
533
529
  protocol,
@@ -539,7 +535,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
539
535
  body,
540
536
  });
541
537
  };
542
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
538
+ export const se_UntagResourceCommand = async (input, context) => {
543
539
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
544
540
  const headers = {};
545
541
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{arn}";
@@ -562,7 +558,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
562
558
  body,
563
559
  });
564
560
  };
565
- export const serializeAws_restJson1UpdateCaseCommand = async (input, context) => {
561
+ export const se_UpdateCaseCommand = async (input, context) => {
566
562
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
567
563
  const headers = {
568
564
  "content-type": "application/json",
@@ -572,7 +568,7 @@ export const serializeAws_restJson1UpdateCaseCommand = async (input, context) =>
572
568
  resolvedPath = __resolvedPath(resolvedPath, input, "caseId", () => input.caseId, "{caseId}", false);
573
569
  let body;
574
570
  body = JSON.stringify({
575
- ...(input.fields != null && { fields: serializeAws_restJson1FieldValueList(input.fields, context) }),
571
+ ...(input.fields != null && { fields: se_FieldValueList(input.fields, context) }),
576
572
  });
577
573
  return new __HttpRequest({
578
574
  protocol,
@@ -584,7 +580,7 @@ export const serializeAws_restJson1UpdateCaseCommand = async (input, context) =>
584
580
  body,
585
581
  });
586
582
  };
587
- export const serializeAws_restJson1UpdateFieldCommand = async (input, context) => {
583
+ export const se_UpdateFieldCommand = async (input, context) => {
588
584
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
589
585
  const headers = {
590
586
  "content-type": "application/json",
@@ -607,7 +603,7 @@ export const serializeAws_restJson1UpdateFieldCommand = async (input, context) =
607
603
  body,
608
604
  });
609
605
  };
610
- export const serializeAws_restJson1UpdateLayoutCommand = async (input, context) => {
606
+ export const se_UpdateLayoutCommand = async (input, context) => {
611
607
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
612
608
  const headers = {
613
609
  "content-type": "application/json",
@@ -617,7 +613,7 @@ export const serializeAws_restJson1UpdateLayoutCommand = async (input, context)
617
613
  resolvedPath = __resolvedPath(resolvedPath, input, "layoutId", () => input.layoutId, "{layoutId}", false);
618
614
  let body;
619
615
  body = JSON.stringify({
620
- ...(input.content != null && { content: serializeAws_restJson1LayoutContent(input.content, context) }),
616
+ ...(input.content != null && { content: se_LayoutContent(input.content, context) }),
621
617
  ...(input.name != null && { name: input.name }),
622
618
  });
623
619
  return new __HttpRequest({
@@ -630,7 +626,7 @@ export const serializeAws_restJson1UpdateLayoutCommand = async (input, context)
630
626
  body,
631
627
  });
632
628
  };
633
- export const serializeAws_restJson1UpdateTemplateCommand = async (input, context) => {
629
+ export const se_UpdateTemplateCommand = async (input, context) => {
634
630
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
635
631
  const headers = {
636
632
  "content-type": "application/json",
@@ -643,12 +639,10 @@ export const serializeAws_restJson1UpdateTemplateCommand = async (input, context
643
639
  body = JSON.stringify({
644
640
  ...(input.description != null && { description: input.description }),
645
641
  ...(input.layoutConfiguration != null && {
646
- layoutConfiguration: serializeAws_restJson1LayoutConfiguration(input.layoutConfiguration, context),
642
+ layoutConfiguration: se_LayoutConfiguration(input.layoutConfiguration, context),
647
643
  }),
648
644
  ...(input.name != null && { name: input.name }),
649
- ...(input.requiredFields != null && {
650
- requiredFields: serializeAws_restJson1RequiredFieldList(input.requiredFields, context),
651
- }),
645
+ ...(input.requiredFields != null && { requiredFields: se_RequiredFieldList(input.requiredFields, context) }),
652
646
  ...(input.status != null && { status: input.status }),
653
647
  });
654
648
  return new __HttpRequest({
@@ -661,23 +655,23 @@ export const serializeAws_restJson1UpdateTemplateCommand = async (input, context
661
655
  body,
662
656
  });
663
657
  };
664
- export const deserializeAws_restJson1BatchGetFieldCommand = async (output, context) => {
658
+ export const de_BatchGetFieldCommand = async (output, context) => {
665
659
  if (output.statusCode !== 200 && output.statusCode >= 300) {
666
- return deserializeAws_restJson1BatchGetFieldCommandError(output, context);
660
+ return de_BatchGetFieldCommandError(output, context);
667
661
  }
668
662
  const contents = map({
669
663
  $metadata: deserializeMetadata(output),
670
664
  });
671
665
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
672
666
  if (data.errors != null) {
673
- contents.errors = deserializeAws_restJson1BatchGetFieldErrorList(data.errors, context);
667
+ contents.errors = de_BatchGetFieldErrorList(data.errors, context);
674
668
  }
675
669
  if (data.fields != null) {
676
- contents.fields = deserializeAws_restJson1BatchGetFieldList(data.fields, context);
670
+ contents.fields = de_BatchGetFieldList(data.fields, context);
677
671
  }
678
672
  return contents;
679
673
  };
680
- const deserializeAws_restJson1BatchGetFieldCommandError = async (output, context) => {
674
+ const de_BatchGetFieldCommandError = async (output, context) => {
681
675
  const parsedOutput = {
682
676
  ...output,
683
677
  body: await parseErrorBody(output.body, context),
@@ -686,19 +680,19 @@ const deserializeAws_restJson1BatchGetFieldCommandError = async (output, context
686
680
  switch (errorCode) {
687
681
  case "AccessDeniedException":
688
682
  case "com.amazonaws.connectcases#AccessDeniedException":
689
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
683
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
690
684
  case "InternalServerException":
691
685
  case "com.amazonaws.connectcases#InternalServerException":
692
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
686
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
693
687
  case "ResourceNotFoundException":
694
688
  case "com.amazonaws.connectcases#ResourceNotFoundException":
695
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
689
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
696
690
  case "ThrottlingException":
697
691
  case "com.amazonaws.connectcases#ThrottlingException":
698
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
692
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
699
693
  case "ValidationException":
700
694
  case "com.amazonaws.connectcases#ValidationException":
701
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
695
+ throw await de_ValidationExceptionRes(parsedOutput, context);
702
696
  default:
703
697
  const parsedBody = parsedOutput.body;
704
698
  throwDefaultError({
@@ -709,20 +703,20 @@ const deserializeAws_restJson1BatchGetFieldCommandError = async (output, context
709
703
  });
710
704
  }
711
705
  };
712
- export const deserializeAws_restJson1BatchPutFieldOptionsCommand = async (output, context) => {
706
+ export const de_BatchPutFieldOptionsCommand = async (output, context) => {
713
707
  if (output.statusCode !== 200 && output.statusCode >= 300) {
714
- return deserializeAws_restJson1BatchPutFieldOptionsCommandError(output, context);
708
+ return de_BatchPutFieldOptionsCommandError(output, context);
715
709
  }
716
710
  const contents = map({
717
711
  $metadata: deserializeMetadata(output),
718
712
  });
719
713
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
720
714
  if (data.errors != null) {
721
- contents.errors = deserializeAws_restJson1FieldOptionErrorList(data.errors, context);
715
+ contents.errors = de_FieldOptionErrorList(data.errors, context);
722
716
  }
723
717
  return contents;
724
718
  };
725
- const deserializeAws_restJson1BatchPutFieldOptionsCommandError = async (output, context) => {
719
+ const de_BatchPutFieldOptionsCommandError = async (output, context) => {
726
720
  const parsedOutput = {
727
721
  ...output,
728
722
  body: await parseErrorBody(output.body, context),
@@ -731,22 +725,22 @@ const deserializeAws_restJson1BatchPutFieldOptionsCommandError = async (output,
731
725
  switch (errorCode) {
732
726
  case "AccessDeniedException":
733
727
  case "com.amazonaws.connectcases#AccessDeniedException":
734
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
728
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
735
729
  case "InternalServerException":
736
730
  case "com.amazonaws.connectcases#InternalServerException":
737
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
731
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
738
732
  case "ResourceNotFoundException":
739
733
  case "com.amazonaws.connectcases#ResourceNotFoundException":
740
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
734
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
741
735
  case "ServiceQuotaExceededException":
742
736
  case "com.amazonaws.connectcases#ServiceQuotaExceededException":
743
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
737
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
744
738
  case "ThrottlingException":
745
739
  case "com.amazonaws.connectcases#ThrottlingException":
746
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
740
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
747
741
  case "ValidationException":
748
742
  case "com.amazonaws.connectcases#ValidationException":
749
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
743
+ throw await de_ValidationExceptionRes(parsedOutput, context);
750
744
  default:
751
745
  const parsedBody = parsedOutput.body;
752
746
  throwDefaultError({
@@ -757,9 +751,9 @@ const deserializeAws_restJson1BatchPutFieldOptionsCommandError = async (output,
757
751
  });
758
752
  }
759
753
  };
760
- export const deserializeAws_restJson1CreateCaseCommand = async (output, context) => {
754
+ export const de_CreateCaseCommand = async (output, context) => {
761
755
  if (output.statusCode !== 200 && output.statusCode >= 300) {
762
- return deserializeAws_restJson1CreateCaseCommandError(output, context);
756
+ return de_CreateCaseCommandError(output, context);
763
757
  }
764
758
  const contents = map({
765
759
  $metadata: deserializeMetadata(output),
@@ -773,7 +767,7 @@ export const deserializeAws_restJson1CreateCaseCommand = async (output, context)
773
767
  }
774
768
  return contents;
775
769
  };
776
- const deserializeAws_restJson1CreateCaseCommandError = async (output, context) => {
770
+ const de_CreateCaseCommandError = async (output, context) => {
777
771
  const parsedOutput = {
778
772
  ...output,
779
773
  body: await parseErrorBody(output.body, context),
@@ -782,22 +776,22 @@ const deserializeAws_restJson1CreateCaseCommandError = async (output, context) =
782
776
  switch (errorCode) {
783
777
  case "AccessDeniedException":
784
778
  case "com.amazonaws.connectcases#AccessDeniedException":
785
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
779
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
786
780
  case "ConflictException":
787
781
  case "com.amazonaws.connectcases#ConflictException":
788
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
782
+ throw await de_ConflictExceptionRes(parsedOutput, context);
789
783
  case "InternalServerException":
790
784
  case "com.amazonaws.connectcases#InternalServerException":
791
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
785
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
792
786
  case "ResourceNotFoundException":
793
787
  case "com.amazonaws.connectcases#ResourceNotFoundException":
794
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
788
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
795
789
  case "ThrottlingException":
796
790
  case "com.amazonaws.connectcases#ThrottlingException":
797
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
791
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
798
792
  case "ValidationException":
799
793
  case "com.amazonaws.connectcases#ValidationException":
800
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
794
+ throw await de_ValidationExceptionRes(parsedOutput, context);
801
795
  default:
802
796
  const parsedBody = parsedOutput.body;
803
797
  throwDefaultError({
@@ -808,9 +802,9 @@ const deserializeAws_restJson1CreateCaseCommandError = async (output, context) =
808
802
  });
809
803
  }
810
804
  };
811
- export const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
805
+ export const de_CreateDomainCommand = async (output, context) => {
812
806
  if (output.statusCode !== 200 && output.statusCode >= 300) {
813
- return deserializeAws_restJson1CreateDomainCommandError(output, context);
807
+ return de_CreateDomainCommandError(output, context);
814
808
  }
815
809
  const contents = map({
816
810
  $metadata: deserializeMetadata(output),
@@ -827,7 +821,7 @@ export const deserializeAws_restJson1CreateDomainCommand = async (output, contex
827
821
  }
828
822
  return contents;
829
823
  };
830
- const deserializeAws_restJson1CreateDomainCommandError = async (output, context) => {
824
+ const de_CreateDomainCommandError = async (output, context) => {
831
825
  const parsedOutput = {
832
826
  ...output,
833
827
  body: await parseErrorBody(output.body, context),
@@ -836,22 +830,22 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
836
830
  switch (errorCode) {
837
831
  case "AccessDeniedException":
838
832
  case "com.amazonaws.connectcases#AccessDeniedException":
839
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
833
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
840
834
  case "ConflictException":
841
835
  case "com.amazonaws.connectcases#ConflictException":
842
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
836
+ throw await de_ConflictExceptionRes(parsedOutput, context);
843
837
  case "InternalServerException":
844
838
  case "com.amazonaws.connectcases#InternalServerException":
845
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
839
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
846
840
  case "ServiceQuotaExceededException":
847
841
  case "com.amazonaws.connectcases#ServiceQuotaExceededException":
848
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
842
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
849
843
  case "ThrottlingException":
850
844
  case "com.amazonaws.connectcases#ThrottlingException":
851
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
845
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
852
846
  case "ValidationException":
853
847
  case "com.amazonaws.connectcases#ValidationException":
854
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
848
+ throw await de_ValidationExceptionRes(parsedOutput, context);
855
849
  default:
856
850
  const parsedBody = parsedOutput.body;
857
851
  throwDefaultError({
@@ -862,9 +856,9 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
862
856
  });
863
857
  }
864
858
  };
865
- export const deserializeAws_restJson1CreateFieldCommand = async (output, context) => {
859
+ export const de_CreateFieldCommand = async (output, context) => {
866
860
  if (output.statusCode !== 200 && output.statusCode >= 300) {
867
- return deserializeAws_restJson1CreateFieldCommandError(output, context);
861
+ return de_CreateFieldCommandError(output, context);
868
862
  }
869
863
  const contents = map({
870
864
  $metadata: deserializeMetadata(output),
@@ -878,7 +872,7 @@ export const deserializeAws_restJson1CreateFieldCommand = async (output, context
878
872
  }
879
873
  return contents;
880
874
  };
881
- const deserializeAws_restJson1CreateFieldCommandError = async (output, context) => {
875
+ const de_CreateFieldCommandError = async (output, context) => {
882
876
  const parsedOutput = {
883
877
  ...output,
884
878
  body: await parseErrorBody(output.body, context),
@@ -887,25 +881,25 @@ const deserializeAws_restJson1CreateFieldCommandError = async (output, context)
887
881
  switch (errorCode) {
888
882
  case "AccessDeniedException":
889
883
  case "com.amazonaws.connectcases#AccessDeniedException":
890
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
884
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
891
885
  case "ConflictException":
892
886
  case "com.amazonaws.connectcases#ConflictException":
893
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
887
+ throw await de_ConflictExceptionRes(parsedOutput, context);
894
888
  case "InternalServerException":
895
889
  case "com.amazonaws.connectcases#InternalServerException":
896
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
890
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
897
891
  case "ResourceNotFoundException":
898
892
  case "com.amazonaws.connectcases#ResourceNotFoundException":
899
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
893
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
900
894
  case "ServiceQuotaExceededException":
901
895
  case "com.amazonaws.connectcases#ServiceQuotaExceededException":
902
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
896
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
903
897
  case "ThrottlingException":
904
898
  case "com.amazonaws.connectcases#ThrottlingException":
905
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
899
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
906
900
  case "ValidationException":
907
901
  case "com.amazonaws.connectcases#ValidationException":
908
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
902
+ throw await de_ValidationExceptionRes(parsedOutput, context);
909
903
  default:
910
904
  const parsedBody = parsedOutput.body;
911
905
  throwDefaultError({
@@ -916,9 +910,9 @@ const deserializeAws_restJson1CreateFieldCommandError = async (output, context)
916
910
  });
917
911
  }
918
912
  };
919
- export const deserializeAws_restJson1CreateLayoutCommand = async (output, context) => {
913
+ export const de_CreateLayoutCommand = async (output, context) => {
920
914
  if (output.statusCode !== 200 && output.statusCode >= 300) {
921
- return deserializeAws_restJson1CreateLayoutCommandError(output, context);
915
+ return de_CreateLayoutCommandError(output, context);
922
916
  }
923
917
  const contents = map({
924
918
  $metadata: deserializeMetadata(output),
@@ -932,7 +926,7 @@ export const deserializeAws_restJson1CreateLayoutCommand = async (output, contex
932
926
  }
933
927
  return contents;
934
928
  };
935
- const deserializeAws_restJson1CreateLayoutCommandError = async (output, context) => {
929
+ const de_CreateLayoutCommandError = async (output, context) => {
936
930
  const parsedOutput = {
937
931
  ...output,
938
932
  body: await parseErrorBody(output.body, context),
@@ -941,25 +935,25 @@ const deserializeAws_restJson1CreateLayoutCommandError = async (output, context)
941
935
  switch (errorCode) {
942
936
  case "AccessDeniedException":
943
937
  case "com.amazonaws.connectcases#AccessDeniedException":
944
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
938
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
945
939
  case "ConflictException":
946
940
  case "com.amazonaws.connectcases#ConflictException":
947
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
941
+ throw await de_ConflictExceptionRes(parsedOutput, context);
948
942
  case "InternalServerException":
949
943
  case "com.amazonaws.connectcases#InternalServerException":
950
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
944
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
951
945
  case "ResourceNotFoundException":
952
946
  case "com.amazonaws.connectcases#ResourceNotFoundException":
953
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
947
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
954
948
  case "ServiceQuotaExceededException":
955
949
  case "com.amazonaws.connectcases#ServiceQuotaExceededException":
956
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
950
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
957
951
  case "ThrottlingException":
958
952
  case "com.amazonaws.connectcases#ThrottlingException":
959
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
953
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
960
954
  case "ValidationException":
961
955
  case "com.amazonaws.connectcases#ValidationException":
962
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
956
+ throw await de_ValidationExceptionRes(parsedOutput, context);
963
957
  default:
964
958
  const parsedBody = parsedOutput.body;
965
959
  throwDefaultError({
@@ -970,9 +964,9 @@ const deserializeAws_restJson1CreateLayoutCommandError = async (output, context)
970
964
  });
971
965
  }
972
966
  };
973
- export const deserializeAws_restJson1CreateRelatedItemCommand = async (output, context) => {
967
+ export const de_CreateRelatedItemCommand = async (output, context) => {
974
968
  if (output.statusCode !== 200 && output.statusCode >= 300) {
975
- return deserializeAws_restJson1CreateRelatedItemCommandError(output, context);
969
+ return de_CreateRelatedItemCommandError(output, context);
976
970
  }
977
971
  const contents = map({
978
972
  $metadata: deserializeMetadata(output),
@@ -986,7 +980,7 @@ export const deserializeAws_restJson1CreateRelatedItemCommand = async (output, c
986
980
  }
987
981
  return contents;
988
982
  };
989
- const deserializeAws_restJson1CreateRelatedItemCommandError = async (output, context) => {
983
+ const de_CreateRelatedItemCommandError = async (output, context) => {
990
984
  const parsedOutput = {
991
985
  ...output,
992
986
  body: await parseErrorBody(output.body, context),
@@ -995,22 +989,22 @@ const deserializeAws_restJson1CreateRelatedItemCommandError = async (output, con
995
989
  switch (errorCode) {
996
990
  case "AccessDeniedException":
997
991
  case "com.amazonaws.connectcases#AccessDeniedException":
998
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
992
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
999
993
  case "InternalServerException":
1000
994
  case "com.amazonaws.connectcases#InternalServerException":
1001
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
995
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1002
996
  case "ResourceNotFoundException":
1003
997
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1004
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
998
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1005
999
  case "ServiceQuotaExceededException":
1006
1000
  case "com.amazonaws.connectcases#ServiceQuotaExceededException":
1007
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1001
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1008
1002
  case "ThrottlingException":
1009
1003
  case "com.amazonaws.connectcases#ThrottlingException":
1010
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1004
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1011
1005
  case "ValidationException":
1012
1006
  case "com.amazonaws.connectcases#ValidationException":
1013
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1007
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1014
1008
  default:
1015
1009
  const parsedBody = parsedOutput.body;
1016
1010
  throwDefaultError({
@@ -1021,9 +1015,9 @@ const deserializeAws_restJson1CreateRelatedItemCommandError = async (output, con
1021
1015
  });
1022
1016
  }
1023
1017
  };
1024
- export const deserializeAws_restJson1CreateTemplateCommand = async (output, context) => {
1018
+ export const de_CreateTemplateCommand = async (output, context) => {
1025
1019
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1026
- return deserializeAws_restJson1CreateTemplateCommandError(output, context);
1020
+ return de_CreateTemplateCommandError(output, context);
1027
1021
  }
1028
1022
  const contents = map({
1029
1023
  $metadata: deserializeMetadata(output),
@@ -1037,7 +1031,7 @@ export const deserializeAws_restJson1CreateTemplateCommand = async (output, cont
1037
1031
  }
1038
1032
  return contents;
1039
1033
  };
1040
- const deserializeAws_restJson1CreateTemplateCommandError = async (output, context) => {
1034
+ const de_CreateTemplateCommandError = async (output, context) => {
1041
1035
  const parsedOutput = {
1042
1036
  ...output,
1043
1037
  body: await parseErrorBody(output.body, context),
@@ -1046,25 +1040,25 @@ const deserializeAws_restJson1CreateTemplateCommandError = async (output, contex
1046
1040
  switch (errorCode) {
1047
1041
  case "AccessDeniedException":
1048
1042
  case "com.amazonaws.connectcases#AccessDeniedException":
1049
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1043
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1050
1044
  case "ConflictException":
1051
1045
  case "com.amazonaws.connectcases#ConflictException":
1052
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1046
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1053
1047
  case "InternalServerException":
1054
1048
  case "com.amazonaws.connectcases#InternalServerException":
1055
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1049
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1056
1050
  case "ResourceNotFoundException":
1057
1051
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1058
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1052
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1059
1053
  case "ServiceQuotaExceededException":
1060
1054
  case "com.amazonaws.connectcases#ServiceQuotaExceededException":
1061
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1055
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1062
1056
  case "ThrottlingException":
1063
1057
  case "com.amazonaws.connectcases#ThrottlingException":
1064
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1058
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1065
1059
  case "ValidationException":
1066
1060
  case "com.amazonaws.connectcases#ValidationException":
1067
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1061
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1068
1062
  default:
1069
1063
  const parsedBody = parsedOutput.body;
1070
1064
  throwDefaultError({
@@ -1075,9 +1069,9 @@ const deserializeAws_restJson1CreateTemplateCommandError = async (output, contex
1075
1069
  });
1076
1070
  }
1077
1071
  };
1078
- export const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
1072
+ export const de_DeleteDomainCommand = async (output, context) => {
1079
1073
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1080
- return deserializeAws_restJson1DeleteDomainCommandError(output, context);
1074
+ return de_DeleteDomainCommandError(output, context);
1081
1075
  }
1082
1076
  const contents = map({
1083
1077
  $metadata: deserializeMetadata(output),
@@ -1085,7 +1079,7 @@ export const deserializeAws_restJson1DeleteDomainCommand = async (output, contex
1085
1079
  await collectBody(output.body, context);
1086
1080
  return contents;
1087
1081
  };
1088
- const deserializeAws_restJson1DeleteDomainCommandError = async (output, context) => {
1082
+ const de_DeleteDomainCommandError = async (output, context) => {
1089
1083
  const parsedOutput = {
1090
1084
  ...output,
1091
1085
  body: await parseErrorBody(output.body, context),
@@ -1094,22 +1088,22 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
1094
1088
  switch (errorCode) {
1095
1089
  case "AccessDeniedException":
1096
1090
  case "com.amazonaws.connectcases#AccessDeniedException":
1097
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1091
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1098
1092
  case "ConflictException":
1099
1093
  case "com.amazonaws.connectcases#ConflictException":
1100
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1094
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1101
1095
  case "InternalServerException":
1102
1096
  case "com.amazonaws.connectcases#InternalServerException":
1103
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1097
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1104
1098
  case "ResourceNotFoundException":
1105
1099
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1106
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1100
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1107
1101
  case "ThrottlingException":
1108
1102
  case "com.amazonaws.connectcases#ThrottlingException":
1109
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1103
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1110
1104
  case "ValidationException":
1111
1105
  case "com.amazonaws.connectcases#ValidationException":
1112
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1106
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1113
1107
  default:
1114
1108
  const parsedBody = parsedOutput.body;
1115
1109
  throwDefaultError({
@@ -1120,29 +1114,29 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
1120
1114
  });
1121
1115
  }
1122
1116
  };
1123
- export const deserializeAws_restJson1GetCaseCommand = async (output, context) => {
1117
+ export const de_GetCaseCommand = async (output, context) => {
1124
1118
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1125
- return deserializeAws_restJson1GetCaseCommandError(output, context);
1119
+ return de_GetCaseCommandError(output, context);
1126
1120
  }
1127
1121
  const contents = map({
1128
1122
  $metadata: deserializeMetadata(output),
1129
1123
  });
1130
1124
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1131
1125
  if (data.fields != null) {
1132
- contents.fields = deserializeAws_restJson1FieldValueList(data.fields, context);
1126
+ contents.fields = de_FieldValueList(data.fields, context);
1133
1127
  }
1134
1128
  if (data.nextToken != null) {
1135
1129
  contents.nextToken = __expectString(data.nextToken);
1136
1130
  }
1137
1131
  if (data.tags != null) {
1138
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
1132
+ contents.tags = de_Tags(data.tags, context);
1139
1133
  }
1140
1134
  if (data.templateId != null) {
1141
1135
  contents.templateId = __expectString(data.templateId);
1142
1136
  }
1143
1137
  return contents;
1144
1138
  };
1145
- const deserializeAws_restJson1GetCaseCommandError = async (output, context) => {
1139
+ const de_GetCaseCommandError = async (output, context) => {
1146
1140
  const parsedOutput = {
1147
1141
  ...output,
1148
1142
  body: await parseErrorBody(output.body, context),
@@ -1151,19 +1145,19 @@ const deserializeAws_restJson1GetCaseCommandError = async (output, context) => {
1151
1145
  switch (errorCode) {
1152
1146
  case "AccessDeniedException":
1153
1147
  case "com.amazonaws.connectcases#AccessDeniedException":
1154
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1148
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1155
1149
  case "InternalServerException":
1156
1150
  case "com.amazonaws.connectcases#InternalServerException":
1157
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1151
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1158
1152
  case "ResourceNotFoundException":
1159
1153
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1160
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1154
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1161
1155
  case "ThrottlingException":
1162
1156
  case "com.amazonaws.connectcases#ThrottlingException":
1163
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1157
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1164
1158
  case "ValidationException":
1165
1159
  case "com.amazonaws.connectcases#ValidationException":
1166
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1160
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1167
1161
  default:
1168
1162
  const parsedBody = parsedOutput.body;
1169
1163
  throwDefaultError({
@@ -1174,20 +1168,20 @@ const deserializeAws_restJson1GetCaseCommandError = async (output, context) => {
1174
1168
  });
1175
1169
  }
1176
1170
  };
1177
- export const deserializeAws_restJson1GetCaseEventConfigurationCommand = async (output, context) => {
1171
+ export const de_GetCaseEventConfigurationCommand = async (output, context) => {
1178
1172
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1179
- return deserializeAws_restJson1GetCaseEventConfigurationCommandError(output, context);
1173
+ return de_GetCaseEventConfigurationCommandError(output, context);
1180
1174
  }
1181
1175
  const contents = map({
1182
1176
  $metadata: deserializeMetadata(output),
1183
1177
  });
1184
1178
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1185
1179
  if (data.eventBridge != null) {
1186
- contents.eventBridge = deserializeAws_restJson1EventBridgeConfiguration(data.eventBridge, context);
1180
+ contents.eventBridge = de_EventBridgeConfiguration(data.eventBridge, context);
1187
1181
  }
1188
1182
  return contents;
1189
1183
  };
1190
- const deserializeAws_restJson1GetCaseEventConfigurationCommandError = async (output, context) => {
1184
+ const de_GetCaseEventConfigurationCommandError = async (output, context) => {
1191
1185
  const parsedOutput = {
1192
1186
  ...output,
1193
1187
  body: await parseErrorBody(output.body, context),
@@ -1196,19 +1190,19 @@ const deserializeAws_restJson1GetCaseEventConfigurationCommandError = async (out
1196
1190
  switch (errorCode) {
1197
1191
  case "AccessDeniedException":
1198
1192
  case "com.amazonaws.connectcases#AccessDeniedException":
1199
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1193
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1200
1194
  case "InternalServerException":
1201
1195
  case "com.amazonaws.connectcases#InternalServerException":
1202
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1196
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1203
1197
  case "ResourceNotFoundException":
1204
1198
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1205
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1199
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1206
1200
  case "ThrottlingException":
1207
1201
  case "com.amazonaws.connectcases#ThrottlingException":
1208
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1202
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1209
1203
  case "ValidationException":
1210
1204
  case "com.amazonaws.connectcases#ValidationException":
1211
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1205
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1212
1206
  default:
1213
1207
  const parsedBody = parsedOutput.body;
1214
1208
  throwDefaultError({
@@ -1219,9 +1213,9 @@ const deserializeAws_restJson1GetCaseEventConfigurationCommandError = async (out
1219
1213
  });
1220
1214
  }
1221
1215
  };
1222
- export const deserializeAws_restJson1GetDomainCommand = async (output, context) => {
1216
+ export const de_GetDomainCommand = async (output, context) => {
1223
1217
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1224
- return deserializeAws_restJson1GetDomainCommandError(output, context);
1218
+ return de_GetDomainCommandError(output, context);
1225
1219
  }
1226
1220
  const contents = map({
1227
1221
  $metadata: deserializeMetadata(output),
@@ -1243,11 +1237,11 @@ export const deserializeAws_restJson1GetDomainCommand = async (output, context)
1243
1237
  contents.name = __expectString(data.name);
1244
1238
  }
1245
1239
  if (data.tags != null) {
1246
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
1240
+ contents.tags = de_Tags(data.tags, context);
1247
1241
  }
1248
1242
  return contents;
1249
1243
  };
1250
- const deserializeAws_restJson1GetDomainCommandError = async (output, context) => {
1244
+ const de_GetDomainCommandError = async (output, context) => {
1251
1245
  const parsedOutput = {
1252
1246
  ...output,
1253
1247
  body: await parseErrorBody(output.body, context),
@@ -1256,19 +1250,19 @@ const deserializeAws_restJson1GetDomainCommandError = async (output, context) =>
1256
1250
  switch (errorCode) {
1257
1251
  case "AccessDeniedException":
1258
1252
  case "com.amazonaws.connectcases#AccessDeniedException":
1259
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1253
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1260
1254
  case "InternalServerException":
1261
1255
  case "com.amazonaws.connectcases#InternalServerException":
1262
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1256
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1263
1257
  case "ResourceNotFoundException":
1264
1258
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1265
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1259
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1266
1260
  case "ThrottlingException":
1267
1261
  case "com.amazonaws.connectcases#ThrottlingException":
1268
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1262
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1269
1263
  case "ValidationException":
1270
1264
  case "com.amazonaws.connectcases#ValidationException":
1271
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1265
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1272
1266
  default:
1273
1267
  const parsedBody = parsedOutput.body;
1274
1268
  throwDefaultError({
@@ -1279,16 +1273,16 @@ const deserializeAws_restJson1GetDomainCommandError = async (output, context) =>
1279
1273
  });
1280
1274
  }
1281
1275
  };
1282
- export const deserializeAws_restJson1GetLayoutCommand = async (output, context) => {
1276
+ export const de_GetLayoutCommand = async (output, context) => {
1283
1277
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1284
- return deserializeAws_restJson1GetLayoutCommandError(output, context);
1278
+ return de_GetLayoutCommandError(output, context);
1285
1279
  }
1286
1280
  const contents = map({
1287
1281
  $metadata: deserializeMetadata(output),
1288
1282
  });
1289
1283
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1290
1284
  if (data.content != null) {
1291
- contents.content = deserializeAws_restJson1LayoutContent(__expectUnion(data.content), context);
1285
+ contents.content = de_LayoutContent(__expectUnion(data.content), context);
1292
1286
  }
1293
1287
  if (data.layoutArn != null) {
1294
1288
  contents.layoutArn = __expectString(data.layoutArn);
@@ -1300,11 +1294,11 @@ export const deserializeAws_restJson1GetLayoutCommand = async (output, context)
1300
1294
  contents.name = __expectString(data.name);
1301
1295
  }
1302
1296
  if (data.tags != null) {
1303
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
1297
+ contents.tags = de_Tags(data.tags, context);
1304
1298
  }
1305
1299
  return contents;
1306
1300
  };
1307
- const deserializeAws_restJson1GetLayoutCommandError = async (output, context) => {
1301
+ const de_GetLayoutCommandError = async (output, context) => {
1308
1302
  const parsedOutput = {
1309
1303
  ...output,
1310
1304
  body: await parseErrorBody(output.body, context),
@@ -1313,19 +1307,19 @@ const deserializeAws_restJson1GetLayoutCommandError = async (output, context) =>
1313
1307
  switch (errorCode) {
1314
1308
  case "AccessDeniedException":
1315
1309
  case "com.amazonaws.connectcases#AccessDeniedException":
1316
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1310
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1317
1311
  case "InternalServerException":
1318
1312
  case "com.amazonaws.connectcases#InternalServerException":
1319
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1313
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1320
1314
  case "ResourceNotFoundException":
1321
1315
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1322
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1316
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1323
1317
  case "ThrottlingException":
1324
1318
  case "com.amazonaws.connectcases#ThrottlingException":
1325
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1319
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1326
1320
  case "ValidationException":
1327
1321
  case "com.amazonaws.connectcases#ValidationException":
1328
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1322
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1329
1323
  default:
1330
1324
  const parsedBody = parsedOutput.body;
1331
1325
  throwDefaultError({
@@ -1336,9 +1330,9 @@ const deserializeAws_restJson1GetLayoutCommandError = async (output, context) =>
1336
1330
  });
1337
1331
  }
1338
1332
  };
1339
- export const deserializeAws_restJson1GetTemplateCommand = async (output, context) => {
1333
+ export const de_GetTemplateCommand = async (output, context) => {
1340
1334
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1341
- return deserializeAws_restJson1GetTemplateCommandError(output, context);
1335
+ return de_GetTemplateCommandError(output, context);
1342
1336
  }
1343
1337
  const contents = map({
1344
1338
  $metadata: deserializeMetadata(output),
@@ -1348,19 +1342,19 @@ export const deserializeAws_restJson1GetTemplateCommand = async (output, context
1348
1342
  contents.description = __expectString(data.description);
1349
1343
  }
1350
1344
  if (data.layoutConfiguration != null) {
1351
- contents.layoutConfiguration = deserializeAws_restJson1LayoutConfiguration(data.layoutConfiguration, context);
1345
+ contents.layoutConfiguration = de_LayoutConfiguration(data.layoutConfiguration, context);
1352
1346
  }
1353
1347
  if (data.name != null) {
1354
1348
  contents.name = __expectString(data.name);
1355
1349
  }
1356
1350
  if (data.requiredFields != null) {
1357
- contents.requiredFields = deserializeAws_restJson1RequiredFieldList(data.requiredFields, context);
1351
+ contents.requiredFields = de_RequiredFieldList(data.requiredFields, context);
1358
1352
  }
1359
1353
  if (data.status != null) {
1360
1354
  contents.status = __expectString(data.status);
1361
1355
  }
1362
1356
  if (data.tags != null) {
1363
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
1357
+ contents.tags = de_Tags(data.tags, context);
1364
1358
  }
1365
1359
  if (data.templateArn != null) {
1366
1360
  contents.templateArn = __expectString(data.templateArn);
@@ -1370,7 +1364,7 @@ export const deserializeAws_restJson1GetTemplateCommand = async (output, context
1370
1364
  }
1371
1365
  return contents;
1372
1366
  };
1373
- const deserializeAws_restJson1GetTemplateCommandError = async (output, context) => {
1367
+ const de_GetTemplateCommandError = async (output, context) => {
1374
1368
  const parsedOutput = {
1375
1369
  ...output,
1376
1370
  body: await parseErrorBody(output.body, context),
@@ -1379,19 +1373,19 @@ const deserializeAws_restJson1GetTemplateCommandError = async (output, context)
1379
1373
  switch (errorCode) {
1380
1374
  case "AccessDeniedException":
1381
1375
  case "com.amazonaws.connectcases#AccessDeniedException":
1382
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1376
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1383
1377
  case "InternalServerException":
1384
1378
  case "com.amazonaws.connectcases#InternalServerException":
1385
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1379
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1386
1380
  case "ResourceNotFoundException":
1387
1381
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1388
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1382
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1389
1383
  case "ThrottlingException":
1390
1384
  case "com.amazonaws.connectcases#ThrottlingException":
1391
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1385
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1392
1386
  case "ValidationException":
1393
1387
  case "com.amazonaws.connectcases#ValidationException":
1394
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1388
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1395
1389
  default:
1396
1390
  const parsedBody = parsedOutput.body;
1397
1391
  throwDefaultError({
@@ -1402,23 +1396,23 @@ const deserializeAws_restJson1GetTemplateCommandError = async (output, context)
1402
1396
  });
1403
1397
  }
1404
1398
  };
1405
- export const deserializeAws_restJson1ListCasesForContactCommand = async (output, context) => {
1399
+ export const de_ListCasesForContactCommand = async (output, context) => {
1406
1400
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1407
- return deserializeAws_restJson1ListCasesForContactCommandError(output, context);
1401
+ return de_ListCasesForContactCommandError(output, context);
1408
1402
  }
1409
1403
  const contents = map({
1410
1404
  $metadata: deserializeMetadata(output),
1411
1405
  });
1412
1406
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1413
1407
  if (data.cases != null) {
1414
- contents.cases = deserializeAws_restJson1CaseSummaryList(data.cases, context);
1408
+ contents.cases = de_CaseSummaryList(data.cases, context);
1415
1409
  }
1416
1410
  if (data.nextToken != null) {
1417
1411
  contents.nextToken = __expectString(data.nextToken);
1418
1412
  }
1419
1413
  return contents;
1420
1414
  };
1421
- const deserializeAws_restJson1ListCasesForContactCommandError = async (output, context) => {
1415
+ const de_ListCasesForContactCommandError = async (output, context) => {
1422
1416
  const parsedOutput = {
1423
1417
  ...output,
1424
1418
  body: await parseErrorBody(output.body, context),
@@ -1427,19 +1421,19 @@ const deserializeAws_restJson1ListCasesForContactCommandError = async (output, c
1427
1421
  switch (errorCode) {
1428
1422
  case "AccessDeniedException":
1429
1423
  case "com.amazonaws.connectcases#AccessDeniedException":
1430
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1424
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1431
1425
  case "InternalServerException":
1432
1426
  case "com.amazonaws.connectcases#InternalServerException":
1433
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1427
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1434
1428
  case "ResourceNotFoundException":
1435
1429
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1436
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1430
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1437
1431
  case "ThrottlingException":
1438
1432
  case "com.amazonaws.connectcases#ThrottlingException":
1439
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1433
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1440
1434
  case "ValidationException":
1441
1435
  case "com.amazonaws.connectcases#ValidationException":
1442
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1436
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1443
1437
  default:
1444
1438
  const parsedBody = parsedOutput.body;
1445
1439
  throwDefaultError({
@@ -1450,23 +1444,23 @@ const deserializeAws_restJson1ListCasesForContactCommandError = async (output, c
1450
1444
  });
1451
1445
  }
1452
1446
  };
1453
- export const deserializeAws_restJson1ListDomainsCommand = async (output, context) => {
1447
+ export const de_ListDomainsCommand = async (output, context) => {
1454
1448
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1455
- return deserializeAws_restJson1ListDomainsCommandError(output, context);
1449
+ return de_ListDomainsCommandError(output, context);
1456
1450
  }
1457
1451
  const contents = map({
1458
1452
  $metadata: deserializeMetadata(output),
1459
1453
  });
1460
1454
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1461
1455
  if (data.domains != null) {
1462
- contents.domains = deserializeAws_restJson1DomainSummaryList(data.domains, context);
1456
+ contents.domains = de_DomainSummaryList(data.domains, context);
1463
1457
  }
1464
1458
  if (data.nextToken != null) {
1465
1459
  contents.nextToken = __expectString(data.nextToken);
1466
1460
  }
1467
1461
  return contents;
1468
1462
  };
1469
- const deserializeAws_restJson1ListDomainsCommandError = async (output, context) => {
1463
+ const de_ListDomainsCommandError = async (output, context) => {
1470
1464
  const parsedOutput = {
1471
1465
  ...output,
1472
1466
  body: await parseErrorBody(output.body, context),
@@ -1475,16 +1469,16 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
1475
1469
  switch (errorCode) {
1476
1470
  case "AccessDeniedException":
1477
1471
  case "com.amazonaws.connectcases#AccessDeniedException":
1478
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1472
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1479
1473
  case "InternalServerException":
1480
1474
  case "com.amazonaws.connectcases#InternalServerException":
1481
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1475
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1482
1476
  case "ThrottlingException":
1483
1477
  case "com.amazonaws.connectcases#ThrottlingException":
1484
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1478
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1485
1479
  case "ValidationException":
1486
1480
  case "com.amazonaws.connectcases#ValidationException":
1487
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1481
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1488
1482
  default:
1489
1483
  const parsedBody = parsedOutput.body;
1490
1484
  throwDefaultError({
@@ -1495,9 +1489,9 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
1495
1489
  });
1496
1490
  }
1497
1491
  };
1498
- export const deserializeAws_restJson1ListFieldOptionsCommand = async (output, context) => {
1492
+ export const de_ListFieldOptionsCommand = async (output, context) => {
1499
1493
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1500
- return deserializeAws_restJson1ListFieldOptionsCommandError(output, context);
1494
+ return de_ListFieldOptionsCommandError(output, context);
1501
1495
  }
1502
1496
  const contents = map({
1503
1497
  $metadata: deserializeMetadata(output),
@@ -1507,11 +1501,11 @@ export const deserializeAws_restJson1ListFieldOptionsCommand = async (output, co
1507
1501
  contents.nextToken = __expectString(data.nextToken);
1508
1502
  }
1509
1503
  if (data.options != null) {
1510
- contents.options = deserializeAws_restJson1FieldOptionsList(data.options, context);
1504
+ contents.options = de_FieldOptionsList(data.options, context);
1511
1505
  }
1512
1506
  return contents;
1513
1507
  };
1514
- const deserializeAws_restJson1ListFieldOptionsCommandError = async (output, context) => {
1508
+ const de_ListFieldOptionsCommandError = async (output, context) => {
1515
1509
  const parsedOutput = {
1516
1510
  ...output,
1517
1511
  body: await parseErrorBody(output.body, context),
@@ -1520,19 +1514,19 @@ const deserializeAws_restJson1ListFieldOptionsCommandError = async (output, cont
1520
1514
  switch (errorCode) {
1521
1515
  case "AccessDeniedException":
1522
1516
  case "com.amazonaws.connectcases#AccessDeniedException":
1523
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1517
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1524
1518
  case "InternalServerException":
1525
1519
  case "com.amazonaws.connectcases#InternalServerException":
1526
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1520
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1527
1521
  case "ResourceNotFoundException":
1528
1522
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1529
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1523
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1530
1524
  case "ThrottlingException":
1531
1525
  case "com.amazonaws.connectcases#ThrottlingException":
1532
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1526
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1533
1527
  case "ValidationException":
1534
1528
  case "com.amazonaws.connectcases#ValidationException":
1535
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1529
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1536
1530
  default:
1537
1531
  const parsedBody = parsedOutput.body;
1538
1532
  throwDefaultError({
@@ -1543,23 +1537,23 @@ const deserializeAws_restJson1ListFieldOptionsCommandError = async (output, cont
1543
1537
  });
1544
1538
  }
1545
1539
  };
1546
- export const deserializeAws_restJson1ListFieldsCommand = async (output, context) => {
1540
+ export const de_ListFieldsCommand = async (output, context) => {
1547
1541
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1548
- return deserializeAws_restJson1ListFieldsCommandError(output, context);
1542
+ return de_ListFieldsCommandError(output, context);
1549
1543
  }
1550
1544
  const contents = map({
1551
1545
  $metadata: deserializeMetadata(output),
1552
1546
  });
1553
1547
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1554
1548
  if (data.fields != null) {
1555
- contents.fields = deserializeAws_restJson1FieldSummaryList(data.fields, context);
1549
+ contents.fields = de_FieldSummaryList(data.fields, context);
1556
1550
  }
1557
1551
  if (data.nextToken != null) {
1558
1552
  contents.nextToken = __expectString(data.nextToken);
1559
1553
  }
1560
1554
  return contents;
1561
1555
  };
1562
- const deserializeAws_restJson1ListFieldsCommandError = async (output, context) => {
1556
+ const de_ListFieldsCommandError = async (output, context) => {
1563
1557
  const parsedOutput = {
1564
1558
  ...output,
1565
1559
  body: await parseErrorBody(output.body, context),
@@ -1568,19 +1562,19 @@ const deserializeAws_restJson1ListFieldsCommandError = async (output, context) =
1568
1562
  switch (errorCode) {
1569
1563
  case "AccessDeniedException":
1570
1564
  case "com.amazonaws.connectcases#AccessDeniedException":
1571
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1565
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1572
1566
  case "InternalServerException":
1573
1567
  case "com.amazonaws.connectcases#InternalServerException":
1574
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1568
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1575
1569
  case "ResourceNotFoundException":
1576
1570
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1577
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1571
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1578
1572
  case "ThrottlingException":
1579
1573
  case "com.amazonaws.connectcases#ThrottlingException":
1580
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1574
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1581
1575
  case "ValidationException":
1582
1576
  case "com.amazonaws.connectcases#ValidationException":
1583
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1577
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1584
1578
  default:
1585
1579
  const parsedBody = parsedOutput.body;
1586
1580
  throwDefaultError({
@@ -1591,23 +1585,23 @@ const deserializeAws_restJson1ListFieldsCommandError = async (output, context) =
1591
1585
  });
1592
1586
  }
1593
1587
  };
1594
- export const deserializeAws_restJson1ListLayoutsCommand = async (output, context) => {
1588
+ export const de_ListLayoutsCommand = async (output, context) => {
1595
1589
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1596
- return deserializeAws_restJson1ListLayoutsCommandError(output, context);
1590
+ return de_ListLayoutsCommandError(output, context);
1597
1591
  }
1598
1592
  const contents = map({
1599
1593
  $metadata: deserializeMetadata(output),
1600
1594
  });
1601
1595
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1602
1596
  if (data.layouts != null) {
1603
- contents.layouts = deserializeAws_restJson1LayoutSummaryList(data.layouts, context);
1597
+ contents.layouts = de_LayoutSummaryList(data.layouts, context);
1604
1598
  }
1605
1599
  if (data.nextToken != null) {
1606
1600
  contents.nextToken = __expectString(data.nextToken);
1607
1601
  }
1608
1602
  return contents;
1609
1603
  };
1610
- const deserializeAws_restJson1ListLayoutsCommandError = async (output, context) => {
1604
+ const de_ListLayoutsCommandError = async (output, context) => {
1611
1605
  const parsedOutput = {
1612
1606
  ...output,
1613
1607
  body: await parseErrorBody(output.body, context),
@@ -1616,19 +1610,19 @@ const deserializeAws_restJson1ListLayoutsCommandError = async (output, context)
1616
1610
  switch (errorCode) {
1617
1611
  case "AccessDeniedException":
1618
1612
  case "com.amazonaws.connectcases#AccessDeniedException":
1619
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1613
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1620
1614
  case "InternalServerException":
1621
1615
  case "com.amazonaws.connectcases#InternalServerException":
1622
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1616
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1623
1617
  case "ResourceNotFoundException":
1624
1618
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1625
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1619
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1626
1620
  case "ThrottlingException":
1627
1621
  case "com.amazonaws.connectcases#ThrottlingException":
1628
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1622
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1629
1623
  case "ValidationException":
1630
1624
  case "com.amazonaws.connectcases#ValidationException":
1631
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1625
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1632
1626
  default:
1633
1627
  const parsedBody = parsedOutput.body;
1634
1628
  throwDefaultError({
@@ -1639,20 +1633,20 @@ const deserializeAws_restJson1ListLayoutsCommandError = async (output, context)
1639
1633
  });
1640
1634
  }
1641
1635
  };
1642
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1636
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1643
1637
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1644
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1638
+ return de_ListTagsForResourceCommandError(output, context);
1645
1639
  }
1646
1640
  const contents = map({
1647
1641
  $metadata: deserializeMetadata(output),
1648
1642
  });
1649
1643
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1650
1644
  if (data.tags != null) {
1651
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
1645
+ contents.tags = de_Tags(data.tags, context);
1652
1646
  }
1653
1647
  return contents;
1654
1648
  };
1655
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1649
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1656
1650
  const parsedOutput = {
1657
1651
  ...output,
1658
1652
  body: await parseErrorBody(output.body, context),
@@ -1661,19 +1655,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1661
1655
  switch (errorCode) {
1662
1656
  case "AccessDeniedException":
1663
1657
  case "com.amazonaws.connectcases#AccessDeniedException":
1664
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1658
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1665
1659
  case "InternalServerException":
1666
1660
  case "com.amazonaws.connectcases#InternalServerException":
1667
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1661
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1668
1662
  case "ResourceNotFoundException":
1669
1663
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1670
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1664
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1671
1665
  case "ThrottlingException":
1672
1666
  case "com.amazonaws.connectcases#ThrottlingException":
1673
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1667
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1674
1668
  case "ValidationException":
1675
1669
  case "com.amazonaws.connectcases#ValidationException":
1676
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1670
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1677
1671
  default:
1678
1672
  const parsedBody = parsedOutput.body;
1679
1673
  throwDefaultError({
@@ -1684,9 +1678,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1684
1678
  });
1685
1679
  }
1686
1680
  };
1687
- export const deserializeAws_restJson1ListTemplatesCommand = async (output, context) => {
1681
+ export const de_ListTemplatesCommand = async (output, context) => {
1688
1682
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1689
- return deserializeAws_restJson1ListTemplatesCommandError(output, context);
1683
+ return de_ListTemplatesCommandError(output, context);
1690
1684
  }
1691
1685
  const contents = map({
1692
1686
  $metadata: deserializeMetadata(output),
@@ -1696,11 +1690,11 @@ export const deserializeAws_restJson1ListTemplatesCommand = async (output, conte
1696
1690
  contents.nextToken = __expectString(data.nextToken);
1697
1691
  }
1698
1692
  if (data.templates != null) {
1699
- contents.templates = deserializeAws_restJson1TemplateSummaryList(data.templates, context);
1693
+ contents.templates = de_TemplateSummaryList(data.templates, context);
1700
1694
  }
1701
1695
  return contents;
1702
1696
  };
1703
- const deserializeAws_restJson1ListTemplatesCommandError = async (output, context) => {
1697
+ const de_ListTemplatesCommandError = async (output, context) => {
1704
1698
  const parsedOutput = {
1705
1699
  ...output,
1706
1700
  body: await parseErrorBody(output.body, context),
@@ -1709,19 +1703,19 @@ const deserializeAws_restJson1ListTemplatesCommandError = async (output, context
1709
1703
  switch (errorCode) {
1710
1704
  case "AccessDeniedException":
1711
1705
  case "com.amazonaws.connectcases#AccessDeniedException":
1712
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1706
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1713
1707
  case "InternalServerException":
1714
1708
  case "com.amazonaws.connectcases#InternalServerException":
1715
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1709
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1716
1710
  case "ResourceNotFoundException":
1717
1711
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1718
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1712
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1719
1713
  case "ThrottlingException":
1720
1714
  case "com.amazonaws.connectcases#ThrottlingException":
1721
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1715
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1722
1716
  case "ValidationException":
1723
1717
  case "com.amazonaws.connectcases#ValidationException":
1724
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1718
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1725
1719
  default:
1726
1720
  const parsedBody = parsedOutput.body;
1727
1721
  throwDefaultError({
@@ -1732,9 +1726,9 @@ const deserializeAws_restJson1ListTemplatesCommandError = async (output, context
1732
1726
  });
1733
1727
  }
1734
1728
  };
1735
- export const deserializeAws_restJson1PutCaseEventConfigurationCommand = async (output, context) => {
1729
+ export const de_PutCaseEventConfigurationCommand = async (output, context) => {
1736
1730
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1737
- return deserializeAws_restJson1PutCaseEventConfigurationCommandError(output, context);
1731
+ return de_PutCaseEventConfigurationCommandError(output, context);
1738
1732
  }
1739
1733
  const contents = map({
1740
1734
  $metadata: deserializeMetadata(output),
@@ -1742,7 +1736,7 @@ export const deserializeAws_restJson1PutCaseEventConfigurationCommand = async (o
1742
1736
  await collectBody(output.body, context);
1743
1737
  return contents;
1744
1738
  };
1745
- const deserializeAws_restJson1PutCaseEventConfigurationCommandError = async (output, context) => {
1739
+ const de_PutCaseEventConfigurationCommandError = async (output, context) => {
1746
1740
  const parsedOutput = {
1747
1741
  ...output,
1748
1742
  body: await parseErrorBody(output.body, context),
@@ -1751,19 +1745,19 @@ const deserializeAws_restJson1PutCaseEventConfigurationCommandError = async (out
1751
1745
  switch (errorCode) {
1752
1746
  case "AccessDeniedException":
1753
1747
  case "com.amazonaws.connectcases#AccessDeniedException":
1754
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1748
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1755
1749
  case "InternalServerException":
1756
1750
  case "com.amazonaws.connectcases#InternalServerException":
1757
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1751
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1758
1752
  case "ResourceNotFoundException":
1759
1753
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1760
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1754
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1761
1755
  case "ThrottlingException":
1762
1756
  case "com.amazonaws.connectcases#ThrottlingException":
1763
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1757
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1764
1758
  case "ValidationException":
1765
1759
  case "com.amazonaws.connectcases#ValidationException":
1766
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1760
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1767
1761
  default:
1768
1762
  const parsedBody = parsedOutput.body;
1769
1763
  throwDefaultError({
@@ -1774,23 +1768,23 @@ const deserializeAws_restJson1PutCaseEventConfigurationCommandError = async (out
1774
1768
  });
1775
1769
  }
1776
1770
  };
1777
- export const deserializeAws_restJson1SearchCasesCommand = async (output, context) => {
1771
+ export const de_SearchCasesCommand = async (output, context) => {
1778
1772
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1779
- return deserializeAws_restJson1SearchCasesCommandError(output, context);
1773
+ return de_SearchCasesCommandError(output, context);
1780
1774
  }
1781
1775
  const contents = map({
1782
1776
  $metadata: deserializeMetadata(output),
1783
1777
  });
1784
1778
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1785
1779
  if (data.cases != null) {
1786
- contents.cases = deserializeAws_restJson1SearchCasesResponseItemList(data.cases, context);
1780
+ contents.cases = de_SearchCasesResponseItemList(data.cases, context);
1787
1781
  }
1788
1782
  if (data.nextToken != null) {
1789
1783
  contents.nextToken = __expectString(data.nextToken);
1790
1784
  }
1791
1785
  return contents;
1792
1786
  };
1793
- const deserializeAws_restJson1SearchCasesCommandError = async (output, context) => {
1787
+ const de_SearchCasesCommandError = async (output, context) => {
1794
1788
  const parsedOutput = {
1795
1789
  ...output,
1796
1790
  body: await parseErrorBody(output.body, context),
@@ -1799,19 +1793,19 @@ const deserializeAws_restJson1SearchCasesCommandError = async (output, context)
1799
1793
  switch (errorCode) {
1800
1794
  case "AccessDeniedException":
1801
1795
  case "com.amazonaws.connectcases#AccessDeniedException":
1802
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1796
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1803
1797
  case "InternalServerException":
1804
1798
  case "com.amazonaws.connectcases#InternalServerException":
1805
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1799
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1806
1800
  case "ResourceNotFoundException":
1807
1801
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1808
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1802
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1809
1803
  case "ThrottlingException":
1810
1804
  case "com.amazonaws.connectcases#ThrottlingException":
1811
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1805
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1812
1806
  case "ValidationException":
1813
1807
  case "com.amazonaws.connectcases#ValidationException":
1814
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1808
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1815
1809
  default:
1816
1810
  const parsedBody = parsedOutput.body;
1817
1811
  throwDefaultError({
@@ -1822,9 +1816,9 @@ const deserializeAws_restJson1SearchCasesCommandError = async (output, context)
1822
1816
  });
1823
1817
  }
1824
1818
  };
1825
- export const deserializeAws_restJson1SearchRelatedItemsCommand = async (output, context) => {
1819
+ export const de_SearchRelatedItemsCommand = async (output, context) => {
1826
1820
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1827
- return deserializeAws_restJson1SearchRelatedItemsCommandError(output, context);
1821
+ return de_SearchRelatedItemsCommandError(output, context);
1828
1822
  }
1829
1823
  const contents = map({
1830
1824
  $metadata: deserializeMetadata(output),
@@ -1834,11 +1828,11 @@ export const deserializeAws_restJson1SearchRelatedItemsCommand = async (output,
1834
1828
  contents.nextToken = __expectString(data.nextToken);
1835
1829
  }
1836
1830
  if (data.relatedItems != null) {
1837
- contents.relatedItems = deserializeAws_restJson1SearchRelatedItemsResponseItemList(data.relatedItems, context);
1831
+ contents.relatedItems = de_SearchRelatedItemsResponseItemList(data.relatedItems, context);
1838
1832
  }
1839
1833
  return contents;
1840
1834
  };
1841
- const deserializeAws_restJson1SearchRelatedItemsCommandError = async (output, context) => {
1835
+ const de_SearchRelatedItemsCommandError = async (output, context) => {
1842
1836
  const parsedOutput = {
1843
1837
  ...output,
1844
1838
  body: await parseErrorBody(output.body, context),
@@ -1847,19 +1841,19 @@ const deserializeAws_restJson1SearchRelatedItemsCommandError = async (output, co
1847
1841
  switch (errorCode) {
1848
1842
  case "AccessDeniedException":
1849
1843
  case "com.amazonaws.connectcases#AccessDeniedException":
1850
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1844
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1851
1845
  case "InternalServerException":
1852
1846
  case "com.amazonaws.connectcases#InternalServerException":
1853
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1847
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1854
1848
  case "ResourceNotFoundException":
1855
1849
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1856
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1850
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1857
1851
  case "ThrottlingException":
1858
1852
  case "com.amazonaws.connectcases#ThrottlingException":
1859
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1853
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1860
1854
  case "ValidationException":
1861
1855
  case "com.amazonaws.connectcases#ValidationException":
1862
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1856
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1863
1857
  default:
1864
1858
  const parsedBody = parsedOutput.body;
1865
1859
  throwDefaultError({
@@ -1870,9 +1864,9 @@ const deserializeAws_restJson1SearchRelatedItemsCommandError = async (output, co
1870
1864
  });
1871
1865
  }
1872
1866
  };
1873
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1867
+ export const de_TagResourceCommand = async (output, context) => {
1874
1868
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1875
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1869
+ return de_TagResourceCommandError(output, context);
1876
1870
  }
1877
1871
  const contents = map({
1878
1872
  $metadata: deserializeMetadata(output),
@@ -1880,7 +1874,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1880
1874
  await collectBody(output.body, context);
1881
1875
  return contents;
1882
1876
  };
1883
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1877
+ const de_TagResourceCommandError = async (output, context) => {
1884
1878
  const parsedOutput = {
1885
1879
  ...output,
1886
1880
  body: await parseErrorBody(output.body, context),
@@ -1889,19 +1883,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1889
1883
  switch (errorCode) {
1890
1884
  case "AccessDeniedException":
1891
1885
  case "com.amazonaws.connectcases#AccessDeniedException":
1892
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1886
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1893
1887
  case "InternalServerException":
1894
1888
  case "com.amazonaws.connectcases#InternalServerException":
1895
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1889
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1896
1890
  case "ResourceNotFoundException":
1897
1891
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1898
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1892
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1899
1893
  case "ThrottlingException":
1900
1894
  case "com.amazonaws.connectcases#ThrottlingException":
1901
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1895
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1902
1896
  case "ValidationException":
1903
1897
  case "com.amazonaws.connectcases#ValidationException":
1904
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1898
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1905
1899
  default:
1906
1900
  const parsedBody = parsedOutput.body;
1907
1901
  throwDefaultError({
@@ -1912,9 +1906,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1912
1906
  });
1913
1907
  }
1914
1908
  };
1915
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1909
+ export const de_UntagResourceCommand = async (output, context) => {
1916
1910
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1917
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1911
+ return de_UntagResourceCommandError(output, context);
1918
1912
  }
1919
1913
  const contents = map({
1920
1914
  $metadata: deserializeMetadata(output),
@@ -1922,7 +1916,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1922
1916
  await collectBody(output.body, context);
1923
1917
  return contents;
1924
1918
  };
1925
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1919
+ const de_UntagResourceCommandError = async (output, context) => {
1926
1920
  const parsedOutput = {
1927
1921
  ...output,
1928
1922
  body: await parseErrorBody(output.body, context),
@@ -1931,19 +1925,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1931
1925
  switch (errorCode) {
1932
1926
  case "AccessDeniedException":
1933
1927
  case "com.amazonaws.connectcases#AccessDeniedException":
1934
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1928
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1935
1929
  case "InternalServerException":
1936
1930
  case "com.amazonaws.connectcases#InternalServerException":
1937
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1931
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1938
1932
  case "ResourceNotFoundException":
1939
1933
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1940
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1934
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1941
1935
  case "ThrottlingException":
1942
1936
  case "com.amazonaws.connectcases#ThrottlingException":
1943
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1937
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1944
1938
  case "ValidationException":
1945
1939
  case "com.amazonaws.connectcases#ValidationException":
1946
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1940
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1947
1941
  default:
1948
1942
  const parsedBody = parsedOutput.body;
1949
1943
  throwDefaultError({
@@ -1954,9 +1948,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1954
1948
  });
1955
1949
  }
1956
1950
  };
1957
- export const deserializeAws_restJson1UpdateCaseCommand = async (output, context) => {
1951
+ export const de_UpdateCaseCommand = async (output, context) => {
1958
1952
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1959
- return deserializeAws_restJson1UpdateCaseCommandError(output, context);
1953
+ return de_UpdateCaseCommandError(output, context);
1960
1954
  }
1961
1955
  const contents = map({
1962
1956
  $metadata: deserializeMetadata(output),
@@ -1964,7 +1958,7 @@ export const deserializeAws_restJson1UpdateCaseCommand = async (output, context)
1964
1958
  await collectBody(output.body, context);
1965
1959
  return contents;
1966
1960
  };
1967
- const deserializeAws_restJson1UpdateCaseCommandError = async (output, context) => {
1961
+ const de_UpdateCaseCommandError = async (output, context) => {
1968
1962
  const parsedOutput = {
1969
1963
  ...output,
1970
1964
  body: await parseErrorBody(output.body, context),
@@ -1973,19 +1967,19 @@ const deserializeAws_restJson1UpdateCaseCommandError = async (output, context) =
1973
1967
  switch (errorCode) {
1974
1968
  case "AccessDeniedException":
1975
1969
  case "com.amazonaws.connectcases#AccessDeniedException":
1976
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1970
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1977
1971
  case "InternalServerException":
1978
1972
  case "com.amazonaws.connectcases#InternalServerException":
1979
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1973
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1980
1974
  case "ResourceNotFoundException":
1981
1975
  case "com.amazonaws.connectcases#ResourceNotFoundException":
1982
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1976
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1983
1977
  case "ThrottlingException":
1984
1978
  case "com.amazonaws.connectcases#ThrottlingException":
1985
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1979
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1986
1980
  case "ValidationException":
1987
1981
  case "com.amazonaws.connectcases#ValidationException":
1988
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1982
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1989
1983
  default:
1990
1984
  const parsedBody = parsedOutput.body;
1991
1985
  throwDefaultError({
@@ -1996,9 +1990,9 @@ const deserializeAws_restJson1UpdateCaseCommandError = async (output, context) =
1996
1990
  });
1997
1991
  }
1998
1992
  };
1999
- export const deserializeAws_restJson1UpdateFieldCommand = async (output, context) => {
1993
+ export const de_UpdateFieldCommand = async (output, context) => {
2000
1994
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2001
- return deserializeAws_restJson1UpdateFieldCommandError(output, context);
1995
+ return de_UpdateFieldCommandError(output, context);
2002
1996
  }
2003
1997
  const contents = map({
2004
1998
  $metadata: deserializeMetadata(output),
@@ -2006,7 +2000,7 @@ export const deserializeAws_restJson1UpdateFieldCommand = async (output, context
2006
2000
  await collectBody(output.body, context);
2007
2001
  return contents;
2008
2002
  };
2009
- const deserializeAws_restJson1UpdateFieldCommandError = async (output, context) => {
2003
+ const de_UpdateFieldCommandError = async (output, context) => {
2010
2004
  const parsedOutput = {
2011
2005
  ...output,
2012
2006
  body: await parseErrorBody(output.body, context),
@@ -2015,22 +2009,22 @@ const deserializeAws_restJson1UpdateFieldCommandError = async (output, context)
2015
2009
  switch (errorCode) {
2016
2010
  case "AccessDeniedException":
2017
2011
  case "com.amazonaws.connectcases#AccessDeniedException":
2018
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2012
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2019
2013
  case "ConflictException":
2020
2014
  case "com.amazonaws.connectcases#ConflictException":
2021
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2015
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2022
2016
  case "InternalServerException":
2023
2017
  case "com.amazonaws.connectcases#InternalServerException":
2024
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2018
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2025
2019
  case "ResourceNotFoundException":
2026
2020
  case "com.amazonaws.connectcases#ResourceNotFoundException":
2027
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2021
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2028
2022
  case "ThrottlingException":
2029
2023
  case "com.amazonaws.connectcases#ThrottlingException":
2030
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2024
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2031
2025
  case "ValidationException":
2032
2026
  case "com.amazonaws.connectcases#ValidationException":
2033
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2027
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2034
2028
  default:
2035
2029
  const parsedBody = parsedOutput.body;
2036
2030
  throwDefaultError({
@@ -2041,9 +2035,9 @@ const deserializeAws_restJson1UpdateFieldCommandError = async (output, context)
2041
2035
  });
2042
2036
  }
2043
2037
  };
2044
- export const deserializeAws_restJson1UpdateLayoutCommand = async (output, context) => {
2038
+ export const de_UpdateLayoutCommand = async (output, context) => {
2045
2039
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2046
- return deserializeAws_restJson1UpdateLayoutCommandError(output, context);
2040
+ return de_UpdateLayoutCommandError(output, context);
2047
2041
  }
2048
2042
  const contents = map({
2049
2043
  $metadata: deserializeMetadata(output),
@@ -2051,7 +2045,7 @@ export const deserializeAws_restJson1UpdateLayoutCommand = async (output, contex
2051
2045
  await collectBody(output.body, context);
2052
2046
  return contents;
2053
2047
  };
2054
- const deserializeAws_restJson1UpdateLayoutCommandError = async (output, context) => {
2048
+ const de_UpdateLayoutCommandError = async (output, context) => {
2055
2049
  const parsedOutput = {
2056
2050
  ...output,
2057
2051
  body: await parseErrorBody(output.body, context),
@@ -2060,25 +2054,25 @@ const deserializeAws_restJson1UpdateLayoutCommandError = async (output, context)
2060
2054
  switch (errorCode) {
2061
2055
  case "AccessDeniedException":
2062
2056
  case "com.amazonaws.connectcases#AccessDeniedException":
2063
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2057
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2064
2058
  case "ConflictException":
2065
2059
  case "com.amazonaws.connectcases#ConflictException":
2066
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2060
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2067
2061
  case "InternalServerException":
2068
2062
  case "com.amazonaws.connectcases#InternalServerException":
2069
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2063
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2070
2064
  case "ResourceNotFoundException":
2071
2065
  case "com.amazonaws.connectcases#ResourceNotFoundException":
2072
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2066
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2073
2067
  case "ServiceQuotaExceededException":
2074
2068
  case "com.amazonaws.connectcases#ServiceQuotaExceededException":
2075
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2069
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2076
2070
  case "ThrottlingException":
2077
2071
  case "com.amazonaws.connectcases#ThrottlingException":
2078
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2072
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2079
2073
  case "ValidationException":
2080
2074
  case "com.amazonaws.connectcases#ValidationException":
2081
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2075
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2082
2076
  default:
2083
2077
  const parsedBody = parsedOutput.body;
2084
2078
  throwDefaultError({
@@ -2089,9 +2083,9 @@ const deserializeAws_restJson1UpdateLayoutCommandError = async (output, context)
2089
2083
  });
2090
2084
  }
2091
2085
  };
2092
- export const deserializeAws_restJson1UpdateTemplateCommand = async (output, context) => {
2086
+ export const de_UpdateTemplateCommand = async (output, context) => {
2093
2087
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2094
- return deserializeAws_restJson1UpdateTemplateCommandError(output, context);
2088
+ return de_UpdateTemplateCommandError(output, context);
2095
2089
  }
2096
2090
  const contents = map({
2097
2091
  $metadata: deserializeMetadata(output),
@@ -2099,7 +2093,7 @@ export const deserializeAws_restJson1UpdateTemplateCommand = async (output, cont
2099
2093
  await collectBody(output.body, context);
2100
2094
  return contents;
2101
2095
  };
2102
- const deserializeAws_restJson1UpdateTemplateCommandError = async (output, context) => {
2096
+ const de_UpdateTemplateCommandError = async (output, context) => {
2103
2097
  const parsedOutput = {
2104
2098
  ...output,
2105
2099
  body: await parseErrorBody(output.body, context),
@@ -2108,22 +2102,22 @@ const deserializeAws_restJson1UpdateTemplateCommandError = async (output, contex
2108
2102
  switch (errorCode) {
2109
2103
  case "AccessDeniedException":
2110
2104
  case "com.amazonaws.connectcases#AccessDeniedException":
2111
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2105
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2112
2106
  case "ConflictException":
2113
2107
  case "com.amazonaws.connectcases#ConflictException":
2114
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2108
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2115
2109
  case "InternalServerException":
2116
2110
  case "com.amazonaws.connectcases#InternalServerException":
2117
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2111
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2118
2112
  case "ResourceNotFoundException":
2119
2113
  case "com.amazonaws.connectcases#ResourceNotFoundException":
2120
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2114
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2121
2115
  case "ThrottlingException":
2122
2116
  case "com.amazonaws.connectcases#ThrottlingException":
2123
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2117
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2124
2118
  case "ValidationException":
2125
2119
  case "com.amazonaws.connectcases#ValidationException":
2126
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2120
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2127
2121
  default:
2128
2122
  const parsedBody = parsedOutput.body;
2129
2123
  throwDefaultError({
@@ -2135,7 +2129,7 @@ const deserializeAws_restJson1UpdateTemplateCommandError = async (output, contex
2135
2129
  }
2136
2130
  };
2137
2131
  const map = __map;
2138
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2132
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2139
2133
  const contents = map({});
2140
2134
  const data = parsedOutput.body;
2141
2135
  if (data.message != null) {
@@ -2147,7 +2141,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2147
2141
  });
2148
2142
  return __decorateServiceException(exception, parsedOutput.body);
2149
2143
  };
2150
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2144
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2151
2145
  const contents = map({});
2152
2146
  const data = parsedOutput.body;
2153
2147
  if (data.message != null) {
@@ -2159,7 +2153,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2159
2153
  });
2160
2154
  return __decorateServiceException(exception, parsedOutput.body);
2161
2155
  };
2162
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2156
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2163
2157
  const contents = map({
2164
2158
  retryAfterSeconds: [
2165
2159
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2176,7 +2170,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2176
2170
  });
2177
2171
  return __decorateServiceException(exception, parsedOutput.body);
2178
2172
  };
2179
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2173
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2180
2174
  const contents = map({});
2181
2175
  const data = parsedOutput.body;
2182
2176
  if (data.message != null) {
@@ -2194,7 +2188,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2194
2188
  });
2195
2189
  return __decorateServiceException(exception, parsedOutput.body);
2196
2190
  };
2197
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2191
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2198
2192
  const contents = map({});
2199
2193
  const data = parsedOutput.body;
2200
2194
  if (data.message != null) {
@@ -2206,7 +2200,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2206
2200
  });
2207
2201
  return __decorateServiceException(exception, parsedOutput.body);
2208
2202
  };
2209
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2203
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2210
2204
  const contents = map({});
2211
2205
  const data = parsedOutput.body;
2212
2206
  if (data.message != null) {
@@ -2218,7 +2212,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2218
2212
  });
2219
2213
  return __decorateServiceException(exception, parsedOutput.body);
2220
2214
  };
2221
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2215
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2222
2216
  const contents = map({});
2223
2217
  const data = parsedOutput.body;
2224
2218
  if (data.message != null) {
@@ -2230,151 +2224,149 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2230
2224
  });
2231
2225
  return __decorateServiceException(exception, parsedOutput.body);
2232
2226
  };
2233
- const serializeAws_restJson1BasicLayout = (input, context) => {
2227
+ const se_BasicLayout = (input, context) => {
2234
2228
  return {
2235
- ...(input.moreInfo != null && { moreInfo: serializeAws_restJson1LayoutSections(input.moreInfo, context) }),
2236
- ...(input.topPanel != null && { topPanel: serializeAws_restJson1LayoutSections(input.topPanel, context) }),
2229
+ ...(input.moreInfo != null && { moreInfo: se_LayoutSections(input.moreInfo, context) }),
2230
+ ...(input.topPanel != null && { topPanel: se_LayoutSections(input.topPanel, context) }),
2237
2231
  };
2238
2232
  };
2239
- const serializeAws_restJson1BatchGetFieldIdentifierList = (input, context) => {
2233
+ const se_BatchGetFieldIdentifierList = (input, context) => {
2240
2234
  return input
2241
2235
  .filter((e) => e != null)
2242
2236
  .map((entry) => {
2243
- return serializeAws_restJson1FieldIdentifier(entry, context);
2237
+ return se_FieldIdentifier(entry, context);
2244
2238
  });
2245
2239
  };
2246
- const serializeAws_restJson1CaseEventIncludedData = (input, context) => {
2240
+ const se_CaseEventIncludedData = (input, context) => {
2247
2241
  return {
2248
- ...(input.fields != null && { fields: serializeAws_restJson1FieldIdentifierList(input.fields, context) }),
2242
+ ...(input.fields != null && { fields: se_FieldIdentifierList(input.fields, context) }),
2249
2243
  };
2250
2244
  };
2251
- const serializeAws_restJson1CaseFilter = (input, context) => {
2245
+ const se_CaseFilter = (input, context) => {
2252
2246
  return CaseFilter.visit(input, {
2253
- andAll: (value) => ({ andAll: serializeAws_restJson1CaseFilterList(value, context) }),
2254
- field: (value) => ({ field: serializeAws_restJson1FieldFilter(value, context) }),
2255
- not: (value) => ({ not: serializeAws_restJson1CaseFilter(value, context) }),
2247
+ andAll: (value) => ({ andAll: se_CaseFilterList(value, context) }),
2248
+ field: (value) => ({ field: se_FieldFilter(value, context) }),
2249
+ not: (value) => ({ not: se_CaseFilter(value, context) }),
2256
2250
  _: (name, value) => ({ name: value }),
2257
2251
  });
2258
2252
  };
2259
- const serializeAws_restJson1CaseFilterList = (input, context) => {
2253
+ const se_CaseFilterList = (input, context) => {
2260
2254
  return input
2261
2255
  .filter((e) => e != null)
2262
2256
  .map((entry) => {
2263
- return serializeAws_restJson1CaseFilter(entry, context);
2257
+ return se_CaseFilter(entry, context);
2264
2258
  });
2265
2259
  };
2266
- const serializeAws_restJson1ChannelList = (input, context) => {
2260
+ const se_ChannelList = (input, context) => {
2267
2261
  return input
2268
2262
  .filter((e) => e != null)
2269
2263
  .map((entry) => {
2270
2264
  return entry;
2271
2265
  });
2272
2266
  };
2273
- const serializeAws_restJson1CommentContent = (input, context) => {
2267
+ const se_CommentContent = (input, context) => {
2274
2268
  return {
2275
2269
  ...(input.body != null && { body: input.body }),
2276
2270
  ...(input.contentType != null && { contentType: input.contentType }),
2277
2271
  };
2278
2272
  };
2279
- const serializeAws_restJson1CommentFilter = (input, context) => {
2273
+ const se_CommentFilter = (input, context) => {
2280
2274
  return {};
2281
2275
  };
2282
- const serializeAws_restJson1Contact = (input, context) => {
2276
+ const se_Contact = (input, context) => {
2283
2277
  return {
2284
2278
  ...(input.contactArn != null && { contactArn: input.contactArn }),
2285
2279
  };
2286
2280
  };
2287
- const serializeAws_restJson1ContactFilter = (input, context) => {
2281
+ const se_ContactFilter = (input, context) => {
2288
2282
  return {
2289
- ...(input.channel != null && { channel: serializeAws_restJson1ChannelList(input.channel, context) }),
2283
+ ...(input.channel != null && { channel: se_ChannelList(input.channel, context) }),
2290
2284
  ...(input.contactArn != null && { contactArn: input.contactArn }),
2291
2285
  };
2292
2286
  };
2293
- const serializeAws_restJson1EventBridgeConfiguration = (input, context) => {
2287
+ const se_EventBridgeConfiguration = (input, context) => {
2294
2288
  return {
2295
2289
  ...(input.enabled != null && { enabled: input.enabled }),
2296
- ...(input.includedData != null && {
2297
- includedData: serializeAws_restJson1EventIncludedData(input.includedData, context),
2298
- }),
2290
+ ...(input.includedData != null && { includedData: se_EventIncludedData(input.includedData, context) }),
2299
2291
  };
2300
2292
  };
2301
- const serializeAws_restJson1EventIncludedData = (input, context) => {
2293
+ const se_EventIncludedData = (input, context) => {
2302
2294
  return {
2303
- ...(input.caseData != null && { caseData: serializeAws_restJson1CaseEventIncludedData(input.caseData, context) }),
2295
+ ...(input.caseData != null && { caseData: se_CaseEventIncludedData(input.caseData, context) }),
2304
2296
  ...(input.relatedItemData != null && {
2305
- relatedItemData: serializeAws_restJson1RelatedItemEventIncludedData(input.relatedItemData, context),
2297
+ relatedItemData: se_RelatedItemEventIncludedData(input.relatedItemData, context),
2306
2298
  }),
2307
2299
  };
2308
2300
  };
2309
- const serializeAws_restJson1FieldFilter = (input, context) => {
2301
+ const se_FieldFilter = (input, context) => {
2310
2302
  return FieldFilter.visit(input, {
2311
- contains: (value) => ({ contains: serializeAws_restJson1FieldValue(value, context) }),
2312
- equalTo: (value) => ({ equalTo: serializeAws_restJson1FieldValue(value, context) }),
2313
- greaterThan: (value) => ({ greaterThan: serializeAws_restJson1FieldValue(value, context) }),
2314
- greaterThanOrEqualTo: (value) => ({ greaterThanOrEqualTo: serializeAws_restJson1FieldValue(value, context) }),
2315
- lessThan: (value) => ({ lessThan: serializeAws_restJson1FieldValue(value, context) }),
2316
- lessThanOrEqualTo: (value) => ({ lessThanOrEqualTo: serializeAws_restJson1FieldValue(value, context) }),
2303
+ contains: (value) => ({ contains: se_FieldValue(value, context) }),
2304
+ equalTo: (value) => ({ equalTo: se_FieldValue(value, context) }),
2305
+ greaterThan: (value) => ({ greaterThan: se_FieldValue(value, context) }),
2306
+ greaterThanOrEqualTo: (value) => ({ greaterThanOrEqualTo: se_FieldValue(value, context) }),
2307
+ lessThan: (value) => ({ lessThan: se_FieldValue(value, context) }),
2308
+ lessThanOrEqualTo: (value) => ({ lessThanOrEqualTo: se_FieldValue(value, context) }),
2317
2309
  _: (name, value) => ({ name: value }),
2318
2310
  });
2319
2311
  };
2320
- const serializeAws_restJson1FieldGroup = (input, context) => {
2312
+ const se_FieldGroup = (input, context) => {
2321
2313
  return {
2322
- ...(input.fields != null && { fields: serializeAws_restJson1FieldList(input.fields, context) }),
2314
+ ...(input.fields != null && { fields: se_FieldList(input.fields, context) }),
2323
2315
  ...(input.name != null && { name: input.name }),
2324
2316
  };
2325
2317
  };
2326
- const serializeAws_restJson1FieldIdentifier = (input, context) => {
2318
+ const se_FieldIdentifier = (input, context) => {
2327
2319
  return {
2328
2320
  ...(input.id != null && { id: input.id }),
2329
2321
  };
2330
2322
  };
2331
- const serializeAws_restJson1FieldIdentifierList = (input, context) => {
2323
+ const se_FieldIdentifierList = (input, context) => {
2332
2324
  return input
2333
2325
  .filter((e) => e != null)
2334
2326
  .map((entry) => {
2335
- return serializeAws_restJson1FieldIdentifier(entry, context);
2327
+ return se_FieldIdentifier(entry, context);
2336
2328
  });
2337
2329
  };
2338
- const serializeAws_restJson1FieldItem = (input, context) => {
2330
+ const se_FieldItem = (input, context) => {
2339
2331
  return {
2340
2332
  ...(input.id != null && { id: input.id }),
2341
2333
  };
2342
2334
  };
2343
- const serializeAws_restJson1FieldList = (input, context) => {
2335
+ const se_FieldList = (input, context) => {
2344
2336
  return input
2345
2337
  .filter((e) => e != null)
2346
2338
  .map((entry) => {
2347
- return serializeAws_restJson1FieldItem(entry, context);
2339
+ return se_FieldItem(entry, context);
2348
2340
  });
2349
2341
  };
2350
- const serializeAws_restJson1FieldOption = (input, context) => {
2342
+ const se_FieldOption = (input, context) => {
2351
2343
  return {
2352
2344
  ...(input.active != null && { active: input.active }),
2353
2345
  ...(input.name != null && { name: input.name }),
2354
2346
  ...(input.value != null && { value: input.value }),
2355
2347
  };
2356
2348
  };
2357
- const serializeAws_restJson1FieldOptionsList = (input, context) => {
2349
+ const se_FieldOptionsList = (input, context) => {
2358
2350
  return input
2359
2351
  .filter((e) => e != null)
2360
2352
  .map((entry) => {
2361
- return serializeAws_restJson1FieldOption(entry, context);
2353
+ return se_FieldOption(entry, context);
2362
2354
  });
2363
2355
  };
2364
- const serializeAws_restJson1FieldValue = (input, context) => {
2356
+ const se_FieldValue = (input, context) => {
2365
2357
  return {
2366
2358
  ...(input.id != null && { id: input.id }),
2367
- ...(input.value != null && { value: serializeAws_restJson1FieldValueUnion(input.value, context) }),
2359
+ ...(input.value != null && { value: se_FieldValueUnion(input.value, context) }),
2368
2360
  };
2369
2361
  };
2370
- const serializeAws_restJson1FieldValueList = (input, context) => {
2362
+ const se_FieldValueList = (input, context) => {
2371
2363
  return input
2372
2364
  .filter((e) => e != null)
2373
2365
  .map((entry) => {
2374
- return serializeAws_restJson1FieldValue(entry, context);
2366
+ return se_FieldValue(entry, context);
2375
2367
  });
2376
2368
  };
2377
- const serializeAws_restJson1FieldValueUnion = (input, context) => {
2369
+ const se_FieldValueUnion = (input, context) => {
2378
2370
  return FieldValueUnion.visit(input, {
2379
2371
  booleanValue: (value) => ({ booleanValue: value }),
2380
2372
  doubleValue: (value) => ({ doubleValue: __serializeFloat(value) }),
@@ -2382,87 +2374,87 @@ const serializeAws_restJson1FieldValueUnion = (input, context) => {
2382
2374
  _: (name, value) => ({ name: value }),
2383
2375
  });
2384
2376
  };
2385
- const serializeAws_restJson1LayoutConfiguration = (input, context) => {
2377
+ const se_LayoutConfiguration = (input, context) => {
2386
2378
  return {
2387
2379
  ...(input.defaultLayout != null && { defaultLayout: input.defaultLayout }),
2388
2380
  };
2389
2381
  };
2390
- const serializeAws_restJson1LayoutContent = (input, context) => {
2382
+ const se_LayoutContent = (input, context) => {
2391
2383
  return LayoutContent.visit(input, {
2392
- basic: (value) => ({ basic: serializeAws_restJson1BasicLayout(value, context) }),
2384
+ basic: (value) => ({ basic: se_BasicLayout(value, context) }),
2393
2385
  _: (name, value) => ({ name: value }),
2394
2386
  });
2395
2387
  };
2396
- const serializeAws_restJson1LayoutSections = (input, context) => {
2388
+ const se_LayoutSections = (input, context) => {
2397
2389
  return {
2398
- ...(input.sections != null && { sections: serializeAws_restJson1SectionsList(input.sections, context) }),
2390
+ ...(input.sections != null && { sections: se_SectionsList(input.sections, context) }),
2399
2391
  };
2400
2392
  };
2401
- const serializeAws_restJson1RelatedItemEventIncludedData = (input, context) => {
2393
+ const se_RelatedItemEventIncludedData = (input, context) => {
2402
2394
  return {
2403
2395
  ...(input.includeContent != null && { includeContent: input.includeContent }),
2404
2396
  };
2405
2397
  };
2406
- const serializeAws_restJson1RelatedItemFilterList = (input, context) => {
2398
+ const se_RelatedItemFilterList = (input, context) => {
2407
2399
  return input
2408
2400
  .filter((e) => e != null)
2409
2401
  .map((entry) => {
2410
- return serializeAws_restJson1RelatedItemTypeFilter(entry, context);
2402
+ return se_RelatedItemTypeFilter(entry, context);
2411
2403
  });
2412
2404
  };
2413
- const serializeAws_restJson1RelatedItemInputContent = (input, context) => {
2405
+ const se_RelatedItemInputContent = (input, context) => {
2414
2406
  return RelatedItemInputContent.visit(input, {
2415
- comment: (value) => ({ comment: serializeAws_restJson1CommentContent(value, context) }),
2416
- contact: (value) => ({ contact: serializeAws_restJson1Contact(value, context) }),
2407
+ comment: (value) => ({ comment: se_CommentContent(value, context) }),
2408
+ contact: (value) => ({ contact: se_Contact(value, context) }),
2417
2409
  _: (name, value) => ({ name: value }),
2418
2410
  });
2419
2411
  };
2420
- const serializeAws_restJson1RelatedItemTypeFilter = (input, context) => {
2412
+ const se_RelatedItemTypeFilter = (input, context) => {
2421
2413
  return RelatedItemTypeFilter.visit(input, {
2422
- comment: (value) => ({ comment: serializeAws_restJson1CommentFilter(value, context) }),
2423
- contact: (value) => ({ contact: serializeAws_restJson1ContactFilter(value, context) }),
2414
+ comment: (value) => ({ comment: se_CommentFilter(value, context) }),
2415
+ contact: (value) => ({ contact: se_ContactFilter(value, context) }),
2424
2416
  _: (name, value) => ({ name: value }),
2425
2417
  });
2426
2418
  };
2427
- const serializeAws_restJson1RequiredField = (input, context) => {
2419
+ const se_RequiredField = (input, context) => {
2428
2420
  return {
2429
2421
  ...(input.fieldId != null && { fieldId: input.fieldId }),
2430
2422
  };
2431
2423
  };
2432
- const serializeAws_restJson1RequiredFieldList = (input, context) => {
2424
+ const se_RequiredFieldList = (input, context) => {
2433
2425
  return input
2434
2426
  .filter((e) => e != null)
2435
2427
  .map((entry) => {
2436
- return serializeAws_restJson1RequiredField(entry, context);
2428
+ return se_RequiredField(entry, context);
2437
2429
  });
2438
2430
  };
2439
- const serializeAws_restJson1Section = (input, context) => {
2431
+ const se_Section = (input, context) => {
2440
2432
  return Section.visit(input, {
2441
- fieldGroup: (value) => ({ fieldGroup: serializeAws_restJson1FieldGroup(value, context) }),
2433
+ fieldGroup: (value) => ({ fieldGroup: se_FieldGroup(value, context) }),
2442
2434
  _: (name, value) => ({ name: value }),
2443
2435
  });
2444
2436
  };
2445
- const serializeAws_restJson1SectionsList = (input, context) => {
2437
+ const se_SectionsList = (input, context) => {
2446
2438
  return input
2447
2439
  .filter((e) => e != null)
2448
2440
  .map((entry) => {
2449
- return serializeAws_restJson1Section(entry, context);
2441
+ return se_Section(entry, context);
2450
2442
  });
2451
2443
  };
2452
- const serializeAws_restJson1Sort = (input, context) => {
2444
+ const se_Sort = (input, context) => {
2453
2445
  return {
2454
2446
  ...(input.fieldId != null && { fieldId: input.fieldId }),
2455
2447
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2456
2448
  };
2457
2449
  };
2458
- const serializeAws_restJson1SortList = (input, context) => {
2450
+ const se_SortList = (input, context) => {
2459
2451
  return input
2460
2452
  .filter((e) => e != null)
2461
2453
  .map((entry) => {
2462
- return serializeAws_restJson1Sort(entry, context);
2454
+ return se_Sort(entry, context);
2463
2455
  });
2464
2456
  };
2465
- const serializeAws_restJson1Tags = (input, context) => {
2457
+ const se_Tags = (input, context) => {
2466
2458
  return Object.entries(input).reduce((acc, [key, value]) => {
2467
2459
  if (value === null) {
2468
2460
  acc[key] = null;
@@ -2472,63 +2464,63 @@ const serializeAws_restJson1Tags = (input, context) => {
2472
2464
  return acc;
2473
2465
  }, {});
2474
2466
  };
2475
- const deserializeAws_restJson1BasicLayout = (output, context) => {
2467
+ const de_BasicLayout = (output, context) => {
2476
2468
  return {
2477
- moreInfo: output.moreInfo != null ? deserializeAws_restJson1LayoutSections(output.moreInfo, context) : undefined,
2478
- topPanel: output.topPanel != null ? deserializeAws_restJson1LayoutSections(output.topPanel, context) : undefined,
2469
+ moreInfo: output.moreInfo != null ? de_LayoutSections(output.moreInfo, context) : undefined,
2470
+ topPanel: output.topPanel != null ? de_LayoutSections(output.topPanel, context) : undefined,
2479
2471
  };
2480
2472
  };
2481
- const deserializeAws_restJson1BatchGetFieldErrorList = (output, context) => {
2473
+ const de_BatchGetFieldErrorList = (output, context) => {
2482
2474
  const retVal = (output || [])
2483
2475
  .filter((e) => e != null)
2484
2476
  .map((entry) => {
2485
2477
  if (entry === null) {
2486
2478
  return null;
2487
2479
  }
2488
- return deserializeAws_restJson1FieldError(entry, context);
2480
+ return de_FieldError(entry, context);
2489
2481
  });
2490
2482
  return retVal;
2491
2483
  };
2492
- const deserializeAws_restJson1BatchGetFieldList = (output, context) => {
2484
+ const de_BatchGetFieldList = (output, context) => {
2493
2485
  const retVal = (output || [])
2494
2486
  .filter((e) => e != null)
2495
2487
  .map((entry) => {
2496
2488
  if (entry === null) {
2497
2489
  return null;
2498
2490
  }
2499
- return deserializeAws_restJson1GetFieldResponse(entry, context);
2491
+ return de_GetFieldResponse(entry, context);
2500
2492
  });
2501
2493
  return retVal;
2502
2494
  };
2503
- const deserializeAws_restJson1CaseEventIncludedData = (output, context) => {
2495
+ const de_CaseEventIncludedData = (output, context) => {
2504
2496
  return {
2505
- fields: output.fields != null ? deserializeAws_restJson1FieldIdentifierList(output.fields, context) : undefined,
2497
+ fields: output.fields != null ? de_FieldIdentifierList(output.fields, context) : undefined,
2506
2498
  };
2507
2499
  };
2508
- const deserializeAws_restJson1CaseSummary = (output, context) => {
2500
+ const de_CaseSummary = (output, context) => {
2509
2501
  return {
2510
2502
  caseId: __expectString(output.caseId),
2511
2503
  templateId: __expectString(output.templateId),
2512
2504
  };
2513
2505
  };
2514
- const deserializeAws_restJson1CaseSummaryList = (output, context) => {
2506
+ const de_CaseSummaryList = (output, context) => {
2515
2507
  const retVal = (output || [])
2516
2508
  .filter((e) => e != null)
2517
2509
  .map((entry) => {
2518
2510
  if (entry === null) {
2519
2511
  return null;
2520
2512
  }
2521
- return deserializeAws_restJson1CaseSummary(entry, context);
2513
+ return de_CaseSummary(entry, context);
2522
2514
  });
2523
2515
  return retVal;
2524
2516
  };
2525
- const deserializeAws_restJson1CommentContent = (output, context) => {
2517
+ const de_CommentContent = (output, context) => {
2526
2518
  return {
2527
2519
  body: __expectString(output.body),
2528
2520
  contentType: __expectString(output.contentType),
2529
2521
  };
2530
2522
  };
2531
- const deserializeAws_restJson1ContactContent = (output, context) => {
2523
+ const de_ContactContent = (output, context) => {
2532
2524
  return {
2533
2525
  channel: __expectString(output.channel),
2534
2526
  connectedToSystemTime: output.connectedToSystemTime != null
@@ -2537,120 +2529,118 @@ const deserializeAws_restJson1ContactContent = (output, context) => {
2537
2529
  contactArn: __expectString(output.contactArn),
2538
2530
  };
2539
2531
  };
2540
- const deserializeAws_restJson1DomainSummary = (output, context) => {
2532
+ const de_DomainSummary = (output, context) => {
2541
2533
  return {
2542
2534
  domainArn: __expectString(output.domainArn),
2543
2535
  domainId: __expectString(output.domainId),
2544
2536
  name: __expectString(output.name),
2545
2537
  };
2546
2538
  };
2547
- const deserializeAws_restJson1DomainSummaryList = (output, context) => {
2539
+ const de_DomainSummaryList = (output, context) => {
2548
2540
  const retVal = (output || [])
2549
2541
  .filter((e) => e != null)
2550
2542
  .map((entry) => {
2551
2543
  if (entry === null) {
2552
2544
  return null;
2553
2545
  }
2554
- return deserializeAws_restJson1DomainSummary(entry, context);
2546
+ return de_DomainSummary(entry, context);
2555
2547
  });
2556
2548
  return retVal;
2557
2549
  };
2558
- const deserializeAws_restJson1EventBridgeConfiguration = (output, context) => {
2550
+ const de_EventBridgeConfiguration = (output, context) => {
2559
2551
  return {
2560
2552
  enabled: __expectBoolean(output.enabled),
2561
- includedData: output.includedData != null ? deserializeAws_restJson1EventIncludedData(output.includedData, context) : undefined,
2553
+ includedData: output.includedData != null ? de_EventIncludedData(output.includedData, context) : undefined,
2562
2554
  };
2563
2555
  };
2564
- const deserializeAws_restJson1EventIncludedData = (output, context) => {
2556
+ const de_EventIncludedData = (output, context) => {
2565
2557
  return {
2566
- caseData: output.caseData != null ? deserializeAws_restJson1CaseEventIncludedData(output.caseData, context) : undefined,
2567
- relatedItemData: output.relatedItemData != null
2568
- ? deserializeAws_restJson1RelatedItemEventIncludedData(output.relatedItemData, context)
2569
- : undefined,
2558
+ caseData: output.caseData != null ? de_CaseEventIncludedData(output.caseData, context) : undefined,
2559
+ relatedItemData: output.relatedItemData != null ? de_RelatedItemEventIncludedData(output.relatedItemData, context) : undefined,
2570
2560
  };
2571
2561
  };
2572
- const deserializeAws_restJson1FieldError = (output, context) => {
2562
+ const de_FieldError = (output, context) => {
2573
2563
  return {
2574
2564
  errorCode: __expectString(output.errorCode),
2575
2565
  id: __expectString(output.id),
2576
2566
  message: __expectString(output.message),
2577
2567
  };
2578
2568
  };
2579
- const deserializeAws_restJson1FieldGroup = (output, context) => {
2569
+ const de_FieldGroup = (output, context) => {
2580
2570
  return {
2581
- fields: output.fields != null ? deserializeAws_restJson1FieldList(output.fields, context) : undefined,
2571
+ fields: output.fields != null ? de_FieldList(output.fields, context) : undefined,
2582
2572
  name: __expectString(output.name),
2583
2573
  };
2584
2574
  };
2585
- const deserializeAws_restJson1FieldIdentifier = (output, context) => {
2575
+ const de_FieldIdentifier = (output, context) => {
2586
2576
  return {
2587
2577
  id: __expectString(output.id),
2588
2578
  };
2589
2579
  };
2590
- const deserializeAws_restJson1FieldIdentifierList = (output, context) => {
2580
+ const de_FieldIdentifierList = (output, context) => {
2591
2581
  const retVal = (output || [])
2592
2582
  .filter((e) => e != null)
2593
2583
  .map((entry) => {
2594
2584
  if (entry === null) {
2595
2585
  return null;
2596
2586
  }
2597
- return deserializeAws_restJson1FieldIdentifier(entry, context);
2587
+ return de_FieldIdentifier(entry, context);
2598
2588
  });
2599
2589
  return retVal;
2600
2590
  };
2601
- const deserializeAws_restJson1FieldItem = (output, context) => {
2591
+ const de_FieldItem = (output, context) => {
2602
2592
  return {
2603
2593
  id: __expectString(output.id),
2604
2594
  };
2605
2595
  };
2606
- const deserializeAws_restJson1FieldList = (output, context) => {
2596
+ const de_FieldList = (output, context) => {
2607
2597
  const retVal = (output || [])
2608
2598
  .filter((e) => e != null)
2609
2599
  .map((entry) => {
2610
2600
  if (entry === null) {
2611
2601
  return null;
2612
2602
  }
2613
- return deserializeAws_restJson1FieldItem(entry, context);
2603
+ return de_FieldItem(entry, context);
2614
2604
  });
2615
2605
  return retVal;
2616
2606
  };
2617
- const deserializeAws_restJson1FieldOption = (output, context) => {
2607
+ const de_FieldOption = (output, context) => {
2618
2608
  return {
2619
2609
  active: __expectBoolean(output.active),
2620
2610
  name: __expectString(output.name),
2621
2611
  value: __expectString(output.value),
2622
2612
  };
2623
2613
  };
2624
- const deserializeAws_restJson1FieldOptionError = (output, context) => {
2614
+ const de_FieldOptionError = (output, context) => {
2625
2615
  return {
2626
2616
  errorCode: __expectString(output.errorCode),
2627
2617
  message: __expectString(output.message),
2628
2618
  value: __expectString(output.value),
2629
2619
  };
2630
2620
  };
2631
- const deserializeAws_restJson1FieldOptionErrorList = (output, context) => {
2621
+ const de_FieldOptionErrorList = (output, context) => {
2632
2622
  const retVal = (output || [])
2633
2623
  .filter((e) => e != null)
2634
2624
  .map((entry) => {
2635
2625
  if (entry === null) {
2636
2626
  return null;
2637
2627
  }
2638
- return deserializeAws_restJson1FieldOptionError(entry, context);
2628
+ return de_FieldOptionError(entry, context);
2639
2629
  });
2640
2630
  return retVal;
2641
2631
  };
2642
- const deserializeAws_restJson1FieldOptionsList = (output, context) => {
2632
+ const de_FieldOptionsList = (output, context) => {
2643
2633
  const retVal = (output || [])
2644
2634
  .filter((e) => e != null)
2645
2635
  .map((entry) => {
2646
2636
  if (entry === null) {
2647
2637
  return null;
2648
2638
  }
2649
- return deserializeAws_restJson1FieldOption(entry, context);
2639
+ return de_FieldOption(entry, context);
2650
2640
  });
2651
2641
  return retVal;
2652
2642
  };
2653
- const deserializeAws_restJson1FieldSummary = (output, context) => {
2643
+ const de_FieldSummary = (output, context) => {
2654
2644
  return {
2655
2645
  fieldArn: __expectString(output.fieldArn),
2656
2646
  fieldId: __expectString(output.fieldId),
@@ -2659,35 +2649,35 @@ const deserializeAws_restJson1FieldSummary = (output, context) => {
2659
2649
  type: __expectString(output.type),
2660
2650
  };
2661
2651
  };
2662
- const deserializeAws_restJson1FieldSummaryList = (output, context) => {
2652
+ const de_FieldSummaryList = (output, context) => {
2663
2653
  const retVal = (output || [])
2664
2654
  .filter((e) => e != null)
2665
2655
  .map((entry) => {
2666
2656
  if (entry === null) {
2667
2657
  return null;
2668
2658
  }
2669
- return deserializeAws_restJson1FieldSummary(entry, context);
2659
+ return de_FieldSummary(entry, context);
2670
2660
  });
2671
2661
  return retVal;
2672
2662
  };
2673
- const deserializeAws_restJson1FieldValue = (output, context) => {
2663
+ const de_FieldValue = (output, context) => {
2674
2664
  return {
2675
2665
  id: __expectString(output.id),
2676
- value: output.value != null ? deserializeAws_restJson1FieldValueUnion(__expectUnion(output.value), context) : undefined,
2666
+ value: output.value != null ? de_FieldValueUnion(__expectUnion(output.value), context) : undefined,
2677
2667
  };
2678
2668
  };
2679
- const deserializeAws_restJson1FieldValueList = (output, context) => {
2669
+ const de_FieldValueList = (output, context) => {
2680
2670
  const retVal = (output || [])
2681
2671
  .filter((e) => e != null)
2682
2672
  .map((entry) => {
2683
2673
  if (entry === null) {
2684
2674
  return null;
2685
2675
  }
2686
- return deserializeAws_restJson1FieldValue(entry, context);
2676
+ return de_FieldValue(entry, context);
2687
2677
  });
2688
2678
  return retVal;
2689
2679
  };
2690
- const deserializeAws_restJson1FieldValueUnion = (output, context) => {
2680
+ const de_FieldValueUnion = (output, context) => {
2691
2681
  if (__expectBoolean(output.booleanValue) !== undefined) {
2692
2682
  return { booleanValue: __expectBoolean(output.booleanValue) };
2693
2683
  }
@@ -2699,146 +2689,144 @@ const deserializeAws_restJson1FieldValueUnion = (output, context) => {
2699
2689
  }
2700
2690
  return { $unknown: Object.entries(output)[0] };
2701
2691
  };
2702
- const deserializeAws_restJson1GetFieldResponse = (output, context) => {
2692
+ const de_GetFieldResponse = (output, context) => {
2703
2693
  return {
2704
2694
  description: __expectString(output.description),
2705
2695
  fieldArn: __expectString(output.fieldArn),
2706
2696
  fieldId: __expectString(output.fieldId),
2707
2697
  name: __expectString(output.name),
2708
2698
  namespace: __expectString(output.namespace),
2709
- tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2699
+ tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
2710
2700
  type: __expectString(output.type),
2711
2701
  };
2712
2702
  };
2713
- const deserializeAws_restJson1LayoutConfiguration = (output, context) => {
2703
+ const de_LayoutConfiguration = (output, context) => {
2714
2704
  return {
2715
2705
  defaultLayout: __expectString(output.defaultLayout),
2716
2706
  };
2717
2707
  };
2718
- const deserializeAws_restJson1LayoutContent = (output, context) => {
2708
+ const de_LayoutContent = (output, context) => {
2719
2709
  if (output.basic != null) {
2720
2710
  return {
2721
- basic: deserializeAws_restJson1BasicLayout(output.basic, context),
2711
+ basic: de_BasicLayout(output.basic, context),
2722
2712
  };
2723
2713
  }
2724
2714
  return { $unknown: Object.entries(output)[0] };
2725
2715
  };
2726
- const deserializeAws_restJson1LayoutSections = (output, context) => {
2716
+ const de_LayoutSections = (output, context) => {
2727
2717
  return {
2728
- sections: output.sections != null ? deserializeAws_restJson1SectionsList(output.sections, context) : undefined,
2718
+ sections: output.sections != null ? de_SectionsList(output.sections, context) : undefined,
2729
2719
  };
2730
2720
  };
2731
- const deserializeAws_restJson1LayoutSummary = (output, context) => {
2721
+ const de_LayoutSummary = (output, context) => {
2732
2722
  return {
2733
2723
  layoutArn: __expectString(output.layoutArn),
2734
2724
  layoutId: __expectString(output.layoutId),
2735
2725
  name: __expectString(output.name),
2736
2726
  };
2737
2727
  };
2738
- const deserializeAws_restJson1LayoutSummaryList = (output, context) => {
2728
+ const de_LayoutSummaryList = (output, context) => {
2739
2729
  const retVal = (output || [])
2740
2730
  .filter((e) => e != null)
2741
2731
  .map((entry) => {
2742
2732
  if (entry === null) {
2743
2733
  return null;
2744
2734
  }
2745
- return deserializeAws_restJson1LayoutSummary(entry, context);
2735
+ return de_LayoutSummary(entry, context);
2746
2736
  });
2747
2737
  return retVal;
2748
2738
  };
2749
- const deserializeAws_restJson1RelatedItemContent = (output, context) => {
2739
+ const de_RelatedItemContent = (output, context) => {
2750
2740
  if (output.comment != null) {
2751
2741
  return {
2752
- comment: deserializeAws_restJson1CommentContent(output.comment, context),
2742
+ comment: de_CommentContent(output.comment, context),
2753
2743
  };
2754
2744
  }
2755
2745
  if (output.contact != null) {
2756
2746
  return {
2757
- contact: deserializeAws_restJson1ContactContent(output.contact, context),
2747
+ contact: de_ContactContent(output.contact, context),
2758
2748
  };
2759
2749
  }
2760
2750
  return { $unknown: Object.entries(output)[0] };
2761
2751
  };
2762
- const deserializeAws_restJson1RelatedItemEventIncludedData = (output, context) => {
2752
+ const de_RelatedItemEventIncludedData = (output, context) => {
2763
2753
  return {
2764
2754
  includeContent: __expectBoolean(output.includeContent),
2765
2755
  };
2766
2756
  };
2767
- const deserializeAws_restJson1RequiredField = (output, context) => {
2757
+ const de_RequiredField = (output, context) => {
2768
2758
  return {
2769
2759
  fieldId: __expectString(output.fieldId),
2770
2760
  };
2771
2761
  };
2772
- const deserializeAws_restJson1RequiredFieldList = (output, context) => {
2762
+ const de_RequiredFieldList = (output, context) => {
2773
2763
  const retVal = (output || [])
2774
2764
  .filter((e) => e != null)
2775
2765
  .map((entry) => {
2776
2766
  if (entry === null) {
2777
2767
  return null;
2778
2768
  }
2779
- return deserializeAws_restJson1RequiredField(entry, context);
2769
+ return de_RequiredField(entry, context);
2780
2770
  });
2781
2771
  return retVal;
2782
2772
  };
2783
- const deserializeAws_restJson1SearchCasesResponseItem = (output, context) => {
2773
+ const de_SearchCasesResponseItem = (output, context) => {
2784
2774
  return {
2785
2775
  caseId: __expectString(output.caseId),
2786
- fields: output.fields != null ? deserializeAws_restJson1FieldValueList(output.fields, context) : undefined,
2787
- tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2776
+ fields: output.fields != null ? de_FieldValueList(output.fields, context) : undefined,
2777
+ tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
2788
2778
  templateId: __expectString(output.templateId),
2789
2779
  };
2790
2780
  };
2791
- const deserializeAws_restJson1SearchCasesResponseItemList = (output, context) => {
2781
+ const de_SearchCasesResponseItemList = (output, context) => {
2792
2782
  const retVal = (output || []).map((entry) => {
2793
2783
  if (entry === null) {
2794
2784
  return null;
2795
2785
  }
2796
- return deserializeAws_restJson1SearchCasesResponseItem(entry, context);
2786
+ return de_SearchCasesResponseItem(entry, context);
2797
2787
  });
2798
2788
  return retVal;
2799
2789
  };
2800
- const deserializeAws_restJson1SearchRelatedItemsResponseItem = (output, context) => {
2790
+ const de_SearchRelatedItemsResponseItem = (output, context) => {
2801
2791
  return {
2802
2792
  associationTime: output.associationTime != null
2803
2793
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.associationTime))
2804
2794
  : undefined,
2805
- content: output.content != null
2806
- ? deserializeAws_restJson1RelatedItemContent(__expectUnion(output.content), context)
2807
- : undefined,
2795
+ content: output.content != null ? de_RelatedItemContent(__expectUnion(output.content), context) : undefined,
2808
2796
  relatedItemId: __expectString(output.relatedItemId),
2809
- tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2797
+ tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
2810
2798
  type: __expectString(output.type),
2811
2799
  };
2812
2800
  };
2813
- const deserializeAws_restJson1SearchRelatedItemsResponseItemList = (output, context) => {
2801
+ const de_SearchRelatedItemsResponseItemList = (output, context) => {
2814
2802
  const retVal = (output || []).map((entry) => {
2815
2803
  if (entry === null) {
2816
2804
  return null;
2817
2805
  }
2818
- return deserializeAws_restJson1SearchRelatedItemsResponseItem(entry, context);
2806
+ return de_SearchRelatedItemsResponseItem(entry, context);
2819
2807
  });
2820
2808
  return retVal;
2821
2809
  };
2822
- const deserializeAws_restJson1Section = (output, context) => {
2810
+ const de_Section = (output, context) => {
2823
2811
  if (output.fieldGroup != null) {
2824
2812
  return {
2825
- fieldGroup: deserializeAws_restJson1FieldGroup(output.fieldGroup, context),
2813
+ fieldGroup: de_FieldGroup(output.fieldGroup, context),
2826
2814
  };
2827
2815
  }
2828
2816
  return { $unknown: Object.entries(output)[0] };
2829
2817
  };
2830
- const deserializeAws_restJson1SectionsList = (output, context) => {
2818
+ const de_SectionsList = (output, context) => {
2831
2819
  const retVal = (output || [])
2832
2820
  .filter((e) => e != null)
2833
2821
  .map((entry) => {
2834
2822
  if (entry === null) {
2835
2823
  return null;
2836
2824
  }
2837
- return deserializeAws_restJson1Section(__expectUnion(entry), context);
2825
+ return de_Section(__expectUnion(entry), context);
2838
2826
  });
2839
2827
  return retVal;
2840
2828
  };
2841
- const deserializeAws_restJson1Tags = (output, context) => {
2829
+ const de_Tags = (output, context) => {
2842
2830
  return Object.entries(output).reduce((acc, [key, value]) => {
2843
2831
  if (value === null) {
2844
2832
  acc[key] = null;
@@ -2848,7 +2836,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
2848
2836
  return acc;
2849
2837
  }, {});
2850
2838
  };
2851
- const deserializeAws_restJson1TemplateSummary = (output, context) => {
2839
+ const de_TemplateSummary = (output, context) => {
2852
2840
  return {
2853
2841
  name: __expectString(output.name),
2854
2842
  status: __expectString(output.status),
@@ -2856,14 +2844,14 @@ const deserializeAws_restJson1TemplateSummary = (output, context) => {
2856
2844
  templateId: __expectString(output.templateId),
2857
2845
  };
2858
2846
  };
2859
- const deserializeAws_restJson1TemplateSummaryList = (output, context) => {
2847
+ const de_TemplateSummaryList = (output, context) => {
2860
2848
  const retVal = (output || [])
2861
2849
  .filter((e) => e != null)
2862
2850
  .map((entry) => {
2863
2851
  if (entry === null) {
2864
2852
  return null;
2865
2853
  }
2866
- return deserializeAws_restJson1TemplateSummary(entry, context);
2854
+ return de_TemplateSummary(entry, context);
2867
2855
  });
2868
2856
  return retVal;
2869
2857
  };