@aws-sdk/client-resource-explorer-2 3.306.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist-cjs/commands/AssociateDefaultViewCommand.js +2 -2
  2. package/dist-cjs/commands/BatchGetViewCommand.js +2 -2
  3. package/dist-cjs/commands/CreateIndexCommand.js +2 -2
  4. package/dist-cjs/commands/CreateViewCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteIndexCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteViewCommand.js +2 -2
  7. package/dist-cjs/commands/DisassociateDefaultViewCommand.js +2 -2
  8. package/dist-cjs/commands/GetDefaultViewCommand.js +2 -2
  9. package/dist-cjs/commands/GetIndexCommand.js +2 -2
  10. package/dist-cjs/commands/GetViewCommand.js +2 -2
  11. package/dist-cjs/commands/ListIndexesCommand.js +2 -2
  12. package/dist-cjs/commands/ListSupportedResourceTypesCommand.js +2 -2
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  14. package/dist-cjs/commands/ListViewsCommand.js +2 -2
  15. package/dist-cjs/commands/SearchCommand.js +2 -2
  16. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  17. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  18. package/dist-cjs/commands/UpdateIndexTypeCommand.js +2 -2
  19. package/dist-cjs/commands/UpdateViewCommand.js +2 -2
  20. package/dist-cjs/protocols/Aws_restJson1.js +291 -293
  21. package/dist-es/commands/AssociateDefaultViewCommand.js +3 -3
  22. package/dist-es/commands/BatchGetViewCommand.js +3 -3
  23. package/dist-es/commands/CreateIndexCommand.js +3 -3
  24. package/dist-es/commands/CreateViewCommand.js +3 -3
  25. package/dist-es/commands/DeleteIndexCommand.js +3 -3
  26. package/dist-es/commands/DeleteViewCommand.js +3 -3
  27. package/dist-es/commands/DisassociateDefaultViewCommand.js +3 -3
  28. package/dist-es/commands/GetDefaultViewCommand.js +3 -3
  29. package/dist-es/commands/GetIndexCommand.js +3 -3
  30. package/dist-es/commands/GetViewCommand.js +3 -3
  31. package/dist-es/commands/ListIndexesCommand.js +3 -3
  32. package/dist-es/commands/ListSupportedResourceTypesCommand.js +3 -3
  33. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  34. package/dist-es/commands/ListViewsCommand.js +3 -3
  35. package/dist-es/commands/SearchCommand.js +3 -3
  36. package/dist-es/commands/TagResourceCommand.js +3 -3
  37. package/dist-es/commands/UntagResourceCommand.js +3 -3
  38. package/dist-es/commands/UpdateIndexTypeCommand.js +3 -3
  39. package/dist-es/commands/UpdateViewCommand.js +3 -3
  40. package/dist-es/protocols/Aws_restJson1.js +252 -254
  41. package/dist-types/protocols/Aws_restJson1.d.ts +152 -38
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -38
  43. package/package.json +6 -6
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateViewCommand = exports.deserializeAws_restJson1UpdateIndexTypeCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchCommand = exports.deserializeAws_restJson1ListViewsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSupportedResourceTypesCommand = exports.deserializeAws_restJson1ListIndexesCommand = exports.deserializeAws_restJson1GetViewCommand = exports.deserializeAws_restJson1GetIndexCommand = exports.deserializeAws_restJson1GetDefaultViewCommand = exports.deserializeAws_restJson1DisassociateDefaultViewCommand = exports.deserializeAws_restJson1DeleteViewCommand = exports.deserializeAws_restJson1DeleteIndexCommand = exports.deserializeAws_restJson1CreateViewCommand = exports.deserializeAws_restJson1CreateIndexCommand = exports.deserializeAws_restJson1BatchGetViewCommand = exports.deserializeAws_restJson1AssociateDefaultViewCommand = exports.serializeAws_restJson1UpdateViewCommand = exports.serializeAws_restJson1UpdateIndexTypeCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SearchCommand = exports.serializeAws_restJson1ListViewsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSupportedResourceTypesCommand = exports.serializeAws_restJson1ListIndexesCommand = exports.serializeAws_restJson1GetViewCommand = exports.serializeAws_restJson1GetIndexCommand = exports.serializeAws_restJson1GetDefaultViewCommand = exports.serializeAws_restJson1DisassociateDefaultViewCommand = exports.serializeAws_restJson1DeleteViewCommand = exports.serializeAws_restJson1DeleteIndexCommand = exports.serializeAws_restJson1CreateViewCommand = exports.serializeAws_restJson1CreateIndexCommand = exports.serializeAws_restJson1BatchGetViewCommand = exports.serializeAws_restJson1AssociateDefaultViewCommand = void 0;
3
+ exports.de_UpdateViewCommand = exports.de_UpdateIndexTypeCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SearchCommand = exports.de_ListViewsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSupportedResourceTypesCommand = exports.de_ListIndexesCommand = exports.de_GetViewCommand = exports.de_GetIndexCommand = exports.de_GetDefaultViewCommand = exports.de_DisassociateDefaultViewCommand = exports.de_DeleteViewCommand = exports.de_DeleteIndexCommand = exports.de_CreateViewCommand = exports.de_CreateIndexCommand = exports.de_BatchGetViewCommand = exports.de_AssociateDefaultViewCommand = exports.se_UpdateViewCommand = exports.se_UpdateIndexTypeCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SearchCommand = exports.se_ListViewsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSupportedResourceTypesCommand = exports.se_ListIndexesCommand = exports.se_GetViewCommand = exports.se_GetIndexCommand = exports.se_GetDefaultViewCommand = exports.se_DisassociateDefaultViewCommand = exports.se_DeleteViewCommand = exports.se_DeleteIndexCommand = exports.se_CreateViewCommand = exports.se_CreateIndexCommand = exports.se_BatchGetViewCommand = exports.se_AssociateDefaultViewCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const uuid_1 = require("uuid");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const ResourceExplorer2ServiceException_1 = require("../models/ResourceExplorer2ServiceException");
9
- const serializeAws_restJson1AssociateDefaultViewCommand = async (input, context) => {
9
+ const se_AssociateDefaultViewCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -26,8 +26,8 @@ const serializeAws_restJson1AssociateDefaultViewCommand = async (input, context)
26
26
  body,
27
27
  });
28
28
  };
29
- exports.serializeAws_restJson1AssociateDefaultViewCommand = serializeAws_restJson1AssociateDefaultViewCommand;
30
- const serializeAws_restJson1BatchGetViewCommand = async (input, context) => {
29
+ exports.se_AssociateDefaultViewCommand = se_AssociateDefaultViewCommand;
30
+ const se_BatchGetViewCommand = async (input, context) => {
31
31
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
32
32
  const headers = {
33
33
  "content-type": "application/json",
@@ -35,7 +35,7 @@ const serializeAws_restJson1BatchGetViewCommand = async (input, context) => {
35
35
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/BatchGetView";
36
36
  let body;
37
37
  body = JSON.stringify({
38
- ...(input.ViewArns != null && { ViewArns: serializeAws_restJson1ViewArnList(input.ViewArns, context) }),
38
+ ...(input.ViewArns != null && { ViewArns: se_ViewArnList(input.ViewArns, context) }),
39
39
  });
40
40
  return new protocol_http_1.HttpRequest({
41
41
  protocol,
@@ -47,8 +47,8 @@ const serializeAws_restJson1BatchGetViewCommand = async (input, context) => {
47
47
  body,
48
48
  });
49
49
  };
50
- exports.serializeAws_restJson1BatchGetViewCommand = serializeAws_restJson1BatchGetViewCommand;
51
- const serializeAws_restJson1CreateIndexCommand = async (input, context) => {
50
+ exports.se_BatchGetViewCommand = se_BatchGetViewCommand;
51
+ const se_CreateIndexCommand = async (input, context) => {
52
52
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
53
53
  const headers = {
54
54
  "content-type": "application/json",
@@ -57,7 +57,7 @@ const serializeAws_restJson1CreateIndexCommand = async (input, context) => {
57
57
  let body;
58
58
  body = JSON.stringify({
59
59
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
60
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
60
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
61
61
  });
62
62
  return new protocol_http_1.HttpRequest({
63
63
  protocol,
@@ -69,8 +69,8 @@ const serializeAws_restJson1CreateIndexCommand = async (input, context) => {
69
69
  body,
70
70
  });
71
71
  };
72
- exports.serializeAws_restJson1CreateIndexCommand = serializeAws_restJson1CreateIndexCommand;
73
- const serializeAws_restJson1CreateViewCommand = async (input, context) => {
72
+ exports.se_CreateIndexCommand = se_CreateIndexCommand;
73
+ const se_CreateViewCommand = 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",
@@ -79,11 +79,11 @@ const serializeAws_restJson1CreateViewCommand = async (input, context) => {
79
79
  let body;
80
80
  body = JSON.stringify({
81
81
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
82
- ...(input.Filters != null && { Filters: serializeAws_restJson1SearchFilter(input.Filters, context) }),
82
+ ...(input.Filters != null && { Filters: se_SearchFilter(input.Filters, context) }),
83
83
  ...(input.IncludedProperties != null && {
84
- IncludedProperties: serializeAws_restJson1IncludedPropertyList(input.IncludedProperties, context),
84
+ IncludedProperties: se_IncludedPropertyList(input.IncludedProperties, context),
85
85
  }),
86
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
86
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
87
87
  ...(input.ViewName != null && { ViewName: input.ViewName }),
88
88
  });
89
89
  return new protocol_http_1.HttpRequest({
@@ -96,8 +96,8 @@ const serializeAws_restJson1CreateViewCommand = async (input, context) => {
96
96
  body,
97
97
  });
98
98
  };
99
- exports.serializeAws_restJson1CreateViewCommand = serializeAws_restJson1CreateViewCommand;
100
- const serializeAws_restJson1DeleteIndexCommand = async (input, context) => {
99
+ exports.se_CreateViewCommand = se_CreateViewCommand;
100
+ const se_DeleteIndexCommand = async (input, context) => {
101
101
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
102
  const headers = {
103
103
  "content-type": "application/json",
@@ -117,8 +117,8 @@ const serializeAws_restJson1DeleteIndexCommand = async (input, context) => {
117
117
  body,
118
118
  });
119
119
  };
120
- exports.serializeAws_restJson1DeleteIndexCommand = serializeAws_restJson1DeleteIndexCommand;
121
- const serializeAws_restJson1DeleteViewCommand = async (input, context) => {
120
+ exports.se_DeleteIndexCommand = se_DeleteIndexCommand;
121
+ const se_DeleteViewCommand = async (input, context) => {
122
122
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
123
123
  const headers = {
124
124
  "content-type": "application/json",
@@ -138,8 +138,8 @@ const serializeAws_restJson1DeleteViewCommand = async (input, context) => {
138
138
  body,
139
139
  });
140
140
  };
141
- exports.serializeAws_restJson1DeleteViewCommand = serializeAws_restJson1DeleteViewCommand;
142
- const serializeAws_restJson1DisassociateDefaultViewCommand = async (input, context) => {
141
+ exports.se_DeleteViewCommand = se_DeleteViewCommand;
142
+ const se_DisassociateDefaultViewCommand = async (input, context) => {
143
143
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
144
144
  const headers = {
145
145
  "content-type": "application/json",
@@ -157,8 +157,8 @@ const serializeAws_restJson1DisassociateDefaultViewCommand = async (input, conte
157
157
  body,
158
158
  });
159
159
  };
160
- exports.serializeAws_restJson1DisassociateDefaultViewCommand = serializeAws_restJson1DisassociateDefaultViewCommand;
161
- const serializeAws_restJson1GetDefaultViewCommand = async (input, context) => {
160
+ exports.se_DisassociateDefaultViewCommand = se_DisassociateDefaultViewCommand;
161
+ const se_GetDefaultViewCommand = async (input, context) => {
162
162
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
163
163
  const headers = {
164
164
  "content-type": "application/json",
@@ -176,8 +176,8 @@ const serializeAws_restJson1GetDefaultViewCommand = async (input, context) => {
176
176
  body,
177
177
  });
178
178
  };
179
- exports.serializeAws_restJson1GetDefaultViewCommand = serializeAws_restJson1GetDefaultViewCommand;
180
- const serializeAws_restJson1GetIndexCommand = async (input, context) => {
179
+ exports.se_GetDefaultViewCommand = se_GetDefaultViewCommand;
180
+ const se_GetIndexCommand = async (input, context) => {
181
181
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
182
182
  const headers = {
183
183
  "content-type": "application/json",
@@ -195,8 +195,8 @@ const serializeAws_restJson1GetIndexCommand = async (input, context) => {
195
195
  body,
196
196
  });
197
197
  };
198
- exports.serializeAws_restJson1GetIndexCommand = serializeAws_restJson1GetIndexCommand;
199
- const serializeAws_restJson1GetViewCommand = async (input, context) => {
198
+ exports.se_GetIndexCommand = se_GetIndexCommand;
199
+ const se_GetViewCommand = async (input, context) => {
200
200
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
201
201
  const headers = {
202
202
  "content-type": "application/json",
@@ -216,8 +216,8 @@ const serializeAws_restJson1GetViewCommand = async (input, context) => {
216
216
  body,
217
217
  });
218
218
  };
219
- exports.serializeAws_restJson1GetViewCommand = serializeAws_restJson1GetViewCommand;
220
- const serializeAws_restJson1ListIndexesCommand = async (input, context) => {
219
+ exports.se_GetViewCommand = se_GetViewCommand;
220
+ const se_ListIndexesCommand = async (input, context) => {
221
221
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
222
222
  const headers = {
223
223
  "content-type": "application/json",
@@ -227,7 +227,7 @@ const serializeAws_restJson1ListIndexesCommand = async (input, context) => {
227
227
  body = JSON.stringify({
228
228
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
229
229
  ...(input.NextToken != null && { NextToken: input.NextToken }),
230
- ...(input.Regions != null && { Regions: serializeAws_restJson1RegionList(input.Regions, context) }),
230
+ ...(input.Regions != null && { Regions: se_RegionList(input.Regions, context) }),
231
231
  ...(input.Type != null && { Type: input.Type }),
232
232
  });
233
233
  return new protocol_http_1.HttpRequest({
@@ -240,8 +240,8 @@ const serializeAws_restJson1ListIndexesCommand = async (input, context) => {
240
240
  body,
241
241
  });
242
242
  };
243
- exports.serializeAws_restJson1ListIndexesCommand = serializeAws_restJson1ListIndexesCommand;
244
- const serializeAws_restJson1ListSupportedResourceTypesCommand = async (input, context) => {
243
+ exports.se_ListIndexesCommand = se_ListIndexesCommand;
244
+ const se_ListSupportedResourceTypesCommand = async (input, context) => {
245
245
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
246
246
  const headers = {
247
247
  "content-type": "application/json",
@@ -262,8 +262,8 @@ const serializeAws_restJson1ListSupportedResourceTypesCommand = async (input, co
262
262
  body,
263
263
  });
264
264
  };
265
- exports.serializeAws_restJson1ListSupportedResourceTypesCommand = serializeAws_restJson1ListSupportedResourceTypesCommand;
266
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
265
+ exports.se_ListSupportedResourceTypesCommand = se_ListSupportedResourceTypesCommand;
266
+ const se_ListTagsForResourceCommand = async (input, context) => {
267
267
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
268
268
  const headers = {};
269
269
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -279,8 +279,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
279
279
  body,
280
280
  });
281
281
  };
282
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
283
- const serializeAws_restJson1ListViewsCommand = async (input, context) => {
282
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
283
+ const se_ListViewsCommand = async (input, context) => {
284
284
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
285
285
  const headers = {
286
286
  "content-type": "application/json",
@@ -301,8 +301,8 @@ const serializeAws_restJson1ListViewsCommand = async (input, context) => {
301
301
  body,
302
302
  });
303
303
  };
304
- exports.serializeAws_restJson1ListViewsCommand = serializeAws_restJson1ListViewsCommand;
305
- const serializeAws_restJson1SearchCommand = async (input, context) => {
304
+ exports.se_ListViewsCommand = se_ListViewsCommand;
305
+ const se_SearchCommand = async (input, context) => {
306
306
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
307
307
  const headers = {
308
308
  "content-type": "application/json",
@@ -325,8 +325,8 @@ const serializeAws_restJson1SearchCommand = async (input, context) => {
325
325
  body,
326
326
  });
327
327
  };
328
- exports.serializeAws_restJson1SearchCommand = serializeAws_restJson1SearchCommand;
329
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
328
+ exports.se_SearchCommand = se_SearchCommand;
329
+ const se_TagResourceCommand = async (input, context) => {
330
330
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
331
331
  const headers = {
332
332
  "content-type": "application/json",
@@ -335,7 +335,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
335
335
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
336
336
  let body;
337
337
  body = JSON.stringify({
338
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
338
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
339
339
  });
340
340
  return new protocol_http_1.HttpRequest({
341
341
  protocol,
@@ -347,8 +347,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
347
347
  body,
348
348
  });
349
349
  };
350
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
351
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
350
+ exports.se_TagResourceCommand = se_TagResourceCommand;
351
+ const se_UntagResourceCommand = async (input, context) => {
352
352
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
353
353
  const headers = {};
354
354
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -371,8 +371,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
371
371
  body,
372
372
  });
373
373
  };
374
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
375
- const serializeAws_restJson1UpdateIndexTypeCommand = async (input, context) => {
374
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
375
+ const se_UpdateIndexTypeCommand = async (input, context) => {
376
376
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
377
377
  const headers = {
378
378
  "content-type": "application/json",
@@ -393,8 +393,8 @@ const serializeAws_restJson1UpdateIndexTypeCommand = async (input, context) => {
393
393
  body,
394
394
  });
395
395
  };
396
- exports.serializeAws_restJson1UpdateIndexTypeCommand = serializeAws_restJson1UpdateIndexTypeCommand;
397
- const serializeAws_restJson1UpdateViewCommand = async (input, context) => {
396
+ exports.se_UpdateIndexTypeCommand = se_UpdateIndexTypeCommand;
397
+ const se_UpdateViewCommand = async (input, context) => {
398
398
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
399
399
  const headers = {
400
400
  "content-type": "application/json",
@@ -402,9 +402,9 @@ const serializeAws_restJson1UpdateViewCommand = async (input, context) => {
402
402
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateView";
403
403
  let body;
404
404
  body = JSON.stringify({
405
- ...(input.Filters != null && { Filters: serializeAws_restJson1SearchFilter(input.Filters, context) }),
405
+ ...(input.Filters != null && { Filters: se_SearchFilter(input.Filters, context) }),
406
406
  ...(input.IncludedProperties != null && {
407
- IncludedProperties: serializeAws_restJson1IncludedPropertyList(input.IncludedProperties, context),
407
+ IncludedProperties: se_IncludedPropertyList(input.IncludedProperties, context),
408
408
  }),
409
409
  ...(input.ViewArn != null && { ViewArn: input.ViewArn }),
410
410
  });
@@ -418,10 +418,10 @@ const serializeAws_restJson1UpdateViewCommand = async (input, context) => {
418
418
  body,
419
419
  });
420
420
  };
421
- exports.serializeAws_restJson1UpdateViewCommand = serializeAws_restJson1UpdateViewCommand;
422
- const deserializeAws_restJson1AssociateDefaultViewCommand = async (output, context) => {
421
+ exports.se_UpdateViewCommand = se_UpdateViewCommand;
422
+ const de_AssociateDefaultViewCommand = async (output, context) => {
423
423
  if (output.statusCode !== 200 && output.statusCode >= 300) {
424
- return deserializeAws_restJson1AssociateDefaultViewCommandError(output, context);
424
+ return de_AssociateDefaultViewCommandError(output, context);
425
425
  }
426
426
  const contents = map({
427
427
  $metadata: deserializeMetadata(output),
@@ -432,8 +432,8 @@ const deserializeAws_restJson1AssociateDefaultViewCommand = async (output, conte
432
432
  }
433
433
  return contents;
434
434
  };
435
- exports.deserializeAws_restJson1AssociateDefaultViewCommand = deserializeAws_restJson1AssociateDefaultViewCommand;
436
- const deserializeAws_restJson1AssociateDefaultViewCommandError = async (output, context) => {
435
+ exports.de_AssociateDefaultViewCommand = de_AssociateDefaultViewCommand;
436
+ const de_AssociateDefaultViewCommandError = async (output, context) => {
437
437
  const parsedOutput = {
438
438
  ...output,
439
439
  body: await parseErrorBody(output.body, context),
@@ -442,19 +442,19 @@ const deserializeAws_restJson1AssociateDefaultViewCommandError = async (output,
442
442
  switch (errorCode) {
443
443
  case "AccessDeniedException":
444
444
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
445
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
445
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
446
446
  case "InternalServerException":
447
447
  case "com.amazonaws.resourceexplorer2#InternalServerException":
448
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
448
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
449
449
  case "ResourceNotFoundException":
450
450
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
451
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
451
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
452
452
  case "ThrottlingException":
453
453
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
454
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
454
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
455
455
  case "ValidationException":
456
456
  case "com.amazonaws.resourceexplorer2#ValidationException":
457
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
457
+ throw await de_ValidationExceptionRes(parsedOutput, context);
458
458
  default:
459
459
  const parsedBody = parsedOutput.body;
460
460
  (0, smithy_client_1.throwDefaultError)({
@@ -465,24 +465,24 @@ const deserializeAws_restJson1AssociateDefaultViewCommandError = async (output,
465
465
  });
466
466
  }
467
467
  };
468
- const deserializeAws_restJson1BatchGetViewCommand = async (output, context) => {
468
+ const de_BatchGetViewCommand = async (output, context) => {
469
469
  if (output.statusCode !== 200 && output.statusCode >= 300) {
470
- return deserializeAws_restJson1BatchGetViewCommandError(output, context);
470
+ return de_BatchGetViewCommandError(output, context);
471
471
  }
472
472
  const contents = map({
473
473
  $metadata: deserializeMetadata(output),
474
474
  });
475
475
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
476
476
  if (data.Errors != null) {
477
- contents.Errors = deserializeAws_restJson1BatchGetViewErrors(data.Errors, context);
477
+ contents.Errors = de_BatchGetViewErrors(data.Errors, context);
478
478
  }
479
479
  if (data.Views != null) {
480
- contents.Views = deserializeAws_restJson1ViewList(data.Views, context);
480
+ contents.Views = de_ViewList(data.Views, context);
481
481
  }
482
482
  return contents;
483
483
  };
484
- exports.deserializeAws_restJson1BatchGetViewCommand = deserializeAws_restJson1BatchGetViewCommand;
485
- const deserializeAws_restJson1BatchGetViewCommandError = async (output, context) => {
484
+ exports.de_BatchGetViewCommand = de_BatchGetViewCommand;
485
+ const de_BatchGetViewCommandError = async (output, context) => {
486
486
  const parsedOutput = {
487
487
  ...output,
488
488
  body: await parseErrorBody(output.body, context),
@@ -491,19 +491,19 @@ const deserializeAws_restJson1BatchGetViewCommandError = async (output, context)
491
491
  switch (errorCode) {
492
492
  case "AccessDeniedException":
493
493
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
494
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
494
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
495
495
  case "InternalServerException":
496
496
  case "com.amazonaws.resourceexplorer2#InternalServerException":
497
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
497
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
498
498
  case "ThrottlingException":
499
499
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
500
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
500
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
501
501
  case "UnauthorizedException":
502
502
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
503
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
503
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
504
504
  case "ValidationException":
505
505
  case "com.amazonaws.resourceexplorer2#ValidationException":
506
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
506
+ throw await de_ValidationExceptionRes(parsedOutput, context);
507
507
  default:
508
508
  const parsedBody = parsedOutput.body;
509
509
  (0, smithy_client_1.throwDefaultError)({
@@ -514,9 +514,9 @@ const deserializeAws_restJson1BatchGetViewCommandError = async (output, context)
514
514
  });
515
515
  }
516
516
  };
517
- const deserializeAws_restJson1CreateIndexCommand = async (output, context) => {
517
+ const de_CreateIndexCommand = async (output, context) => {
518
518
  if (output.statusCode !== 200 && output.statusCode >= 300) {
519
- return deserializeAws_restJson1CreateIndexCommandError(output, context);
519
+ return de_CreateIndexCommandError(output, context);
520
520
  }
521
521
  const contents = map({
522
522
  $metadata: deserializeMetadata(output),
@@ -533,8 +533,8 @@ const deserializeAws_restJson1CreateIndexCommand = async (output, context) => {
533
533
  }
534
534
  return contents;
535
535
  };
536
- exports.deserializeAws_restJson1CreateIndexCommand = deserializeAws_restJson1CreateIndexCommand;
537
- const deserializeAws_restJson1CreateIndexCommandError = async (output, context) => {
536
+ exports.de_CreateIndexCommand = de_CreateIndexCommand;
537
+ const de_CreateIndexCommandError = async (output, context) => {
538
538
  const parsedOutput = {
539
539
  ...output,
540
540
  body: await parseErrorBody(output.body, context),
@@ -543,19 +543,19 @@ const deserializeAws_restJson1CreateIndexCommandError = async (output, context)
543
543
  switch (errorCode) {
544
544
  case "AccessDeniedException":
545
545
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
546
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
546
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
547
547
  case "ConflictException":
548
548
  case "com.amazonaws.resourceexplorer2#ConflictException":
549
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
549
+ throw await de_ConflictExceptionRes(parsedOutput, context);
550
550
  case "InternalServerException":
551
551
  case "com.amazonaws.resourceexplorer2#InternalServerException":
552
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
552
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
553
553
  case "ThrottlingException":
554
554
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
555
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
555
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
556
556
  case "ValidationException":
557
557
  case "com.amazonaws.resourceexplorer2#ValidationException":
558
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
558
+ throw await de_ValidationExceptionRes(parsedOutput, context);
559
559
  default:
560
560
  const parsedBody = parsedOutput.body;
561
561
  (0, smithy_client_1.throwDefaultError)({
@@ -566,21 +566,21 @@ const deserializeAws_restJson1CreateIndexCommandError = async (output, context)
566
566
  });
567
567
  }
568
568
  };
569
- const deserializeAws_restJson1CreateViewCommand = async (output, context) => {
569
+ const de_CreateViewCommand = async (output, context) => {
570
570
  if (output.statusCode !== 200 && output.statusCode >= 300) {
571
- return deserializeAws_restJson1CreateViewCommandError(output, context);
571
+ return de_CreateViewCommandError(output, context);
572
572
  }
573
573
  const contents = map({
574
574
  $metadata: deserializeMetadata(output),
575
575
  });
576
576
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
577
577
  if (data.View != null) {
578
- contents.View = deserializeAws_restJson1View(data.View, context);
578
+ contents.View = de_View(data.View, context);
579
579
  }
580
580
  return contents;
581
581
  };
582
- exports.deserializeAws_restJson1CreateViewCommand = deserializeAws_restJson1CreateViewCommand;
583
- const deserializeAws_restJson1CreateViewCommandError = async (output, context) => {
582
+ exports.de_CreateViewCommand = de_CreateViewCommand;
583
+ const de_CreateViewCommandError = async (output, context) => {
584
584
  const parsedOutput = {
585
585
  ...output,
586
586
  body: await parseErrorBody(output.body, context),
@@ -589,25 +589,25 @@ const deserializeAws_restJson1CreateViewCommandError = async (output, context) =
589
589
  switch (errorCode) {
590
590
  case "AccessDeniedException":
591
591
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
592
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
592
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
593
593
  case "ConflictException":
594
594
  case "com.amazonaws.resourceexplorer2#ConflictException":
595
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
595
+ throw await de_ConflictExceptionRes(parsedOutput, context);
596
596
  case "InternalServerException":
597
597
  case "com.amazonaws.resourceexplorer2#InternalServerException":
598
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
598
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
599
599
  case "ServiceQuotaExceededException":
600
600
  case "com.amazonaws.resourceexplorer2#ServiceQuotaExceededException":
601
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
601
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
602
602
  case "ThrottlingException":
603
603
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
604
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
604
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
605
605
  case "UnauthorizedException":
606
606
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
607
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
607
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
608
608
  case "ValidationException":
609
609
  case "com.amazonaws.resourceexplorer2#ValidationException":
610
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
610
+ throw await de_ValidationExceptionRes(parsedOutput, context);
611
611
  default:
612
612
  const parsedBody = parsedOutput.body;
613
613
  (0, smithy_client_1.throwDefaultError)({
@@ -618,9 +618,9 @@ const deserializeAws_restJson1CreateViewCommandError = async (output, context) =
618
618
  });
619
619
  }
620
620
  };
621
- const deserializeAws_restJson1DeleteIndexCommand = async (output, context) => {
621
+ const de_DeleteIndexCommand = async (output, context) => {
622
622
  if (output.statusCode !== 200 && output.statusCode >= 300) {
623
- return deserializeAws_restJson1DeleteIndexCommandError(output, context);
623
+ return de_DeleteIndexCommandError(output, context);
624
624
  }
625
625
  const contents = map({
626
626
  $metadata: deserializeMetadata(output),
@@ -637,8 +637,8 @@ const deserializeAws_restJson1DeleteIndexCommand = async (output, context) => {
637
637
  }
638
638
  return contents;
639
639
  };
640
- exports.deserializeAws_restJson1DeleteIndexCommand = deserializeAws_restJson1DeleteIndexCommand;
641
- const deserializeAws_restJson1DeleteIndexCommandError = async (output, context) => {
640
+ exports.de_DeleteIndexCommand = de_DeleteIndexCommand;
641
+ const de_DeleteIndexCommandError = async (output, context) => {
642
642
  const parsedOutput = {
643
643
  ...output,
644
644
  body: await parseErrorBody(output.body, context),
@@ -647,19 +647,19 @@ const deserializeAws_restJson1DeleteIndexCommandError = async (output, context)
647
647
  switch (errorCode) {
648
648
  case "AccessDeniedException":
649
649
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
650
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
650
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
651
651
  case "InternalServerException":
652
652
  case "com.amazonaws.resourceexplorer2#InternalServerException":
653
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
653
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
654
654
  case "ResourceNotFoundException":
655
655
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
656
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
656
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
657
657
  case "ThrottlingException":
658
658
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
659
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
659
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
660
660
  case "ValidationException":
661
661
  case "com.amazonaws.resourceexplorer2#ValidationException":
662
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
662
+ throw await de_ValidationExceptionRes(parsedOutput, context);
663
663
  default:
664
664
  const parsedBody = parsedOutput.body;
665
665
  (0, smithy_client_1.throwDefaultError)({
@@ -670,9 +670,9 @@ const deserializeAws_restJson1DeleteIndexCommandError = async (output, context)
670
670
  });
671
671
  }
672
672
  };
673
- const deserializeAws_restJson1DeleteViewCommand = async (output, context) => {
673
+ const de_DeleteViewCommand = async (output, context) => {
674
674
  if (output.statusCode !== 200 && output.statusCode >= 300) {
675
- return deserializeAws_restJson1DeleteViewCommandError(output, context);
675
+ return de_DeleteViewCommandError(output, context);
676
676
  }
677
677
  const contents = map({
678
678
  $metadata: deserializeMetadata(output),
@@ -683,8 +683,8 @@ const deserializeAws_restJson1DeleteViewCommand = async (output, context) => {
683
683
  }
684
684
  return contents;
685
685
  };
686
- exports.deserializeAws_restJson1DeleteViewCommand = deserializeAws_restJson1DeleteViewCommand;
687
- const deserializeAws_restJson1DeleteViewCommandError = async (output, context) => {
686
+ exports.de_DeleteViewCommand = de_DeleteViewCommand;
687
+ const de_DeleteViewCommandError = async (output, context) => {
688
688
  const parsedOutput = {
689
689
  ...output,
690
690
  body: await parseErrorBody(output.body, context),
@@ -693,22 +693,22 @@ const deserializeAws_restJson1DeleteViewCommandError = async (output, context) =
693
693
  switch (errorCode) {
694
694
  case "AccessDeniedException":
695
695
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
696
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
696
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
697
697
  case "InternalServerException":
698
698
  case "com.amazonaws.resourceexplorer2#InternalServerException":
699
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
699
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
700
700
  case "ResourceNotFoundException":
701
701
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
702
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
702
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
703
703
  case "ThrottlingException":
704
704
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
705
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
705
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
706
706
  case "UnauthorizedException":
707
707
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
708
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
708
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
709
709
  case "ValidationException":
710
710
  case "com.amazonaws.resourceexplorer2#ValidationException":
711
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
711
+ throw await de_ValidationExceptionRes(parsedOutput, context);
712
712
  default:
713
713
  const parsedBody = parsedOutput.body;
714
714
  (0, smithy_client_1.throwDefaultError)({
@@ -719,9 +719,9 @@ const deserializeAws_restJson1DeleteViewCommandError = async (output, context) =
719
719
  });
720
720
  }
721
721
  };
722
- const deserializeAws_restJson1DisassociateDefaultViewCommand = async (output, context) => {
722
+ const de_DisassociateDefaultViewCommand = async (output, context) => {
723
723
  if (output.statusCode !== 200 && output.statusCode >= 300) {
724
- return deserializeAws_restJson1DisassociateDefaultViewCommandError(output, context);
724
+ return de_DisassociateDefaultViewCommandError(output, context);
725
725
  }
726
726
  const contents = map({
727
727
  $metadata: deserializeMetadata(output),
@@ -729,8 +729,8 @@ const deserializeAws_restJson1DisassociateDefaultViewCommand = async (output, co
729
729
  await collectBody(output.body, context);
730
730
  return contents;
731
731
  };
732
- exports.deserializeAws_restJson1DisassociateDefaultViewCommand = deserializeAws_restJson1DisassociateDefaultViewCommand;
733
- const deserializeAws_restJson1DisassociateDefaultViewCommandError = async (output, context) => {
732
+ exports.de_DisassociateDefaultViewCommand = de_DisassociateDefaultViewCommand;
733
+ const de_DisassociateDefaultViewCommandError = async (output, context) => {
734
734
  const parsedOutput = {
735
735
  ...output,
736
736
  body: await parseErrorBody(output.body, context),
@@ -739,16 +739,16 @@ const deserializeAws_restJson1DisassociateDefaultViewCommandError = async (outpu
739
739
  switch (errorCode) {
740
740
  case "AccessDeniedException":
741
741
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
742
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
742
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
743
743
  case "InternalServerException":
744
744
  case "com.amazonaws.resourceexplorer2#InternalServerException":
745
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
745
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
746
746
  case "ThrottlingException":
747
747
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
748
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
748
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
749
749
  case "ValidationException":
750
750
  case "com.amazonaws.resourceexplorer2#ValidationException":
751
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
751
+ throw await de_ValidationExceptionRes(parsedOutput, context);
752
752
  default:
753
753
  const parsedBody = parsedOutput.body;
754
754
  (0, smithy_client_1.throwDefaultError)({
@@ -759,9 +759,9 @@ const deserializeAws_restJson1DisassociateDefaultViewCommandError = async (outpu
759
759
  });
760
760
  }
761
761
  };
762
- const deserializeAws_restJson1GetDefaultViewCommand = async (output, context) => {
762
+ const de_GetDefaultViewCommand = async (output, context) => {
763
763
  if (output.statusCode !== 200 && output.statusCode >= 300) {
764
- return deserializeAws_restJson1GetDefaultViewCommandError(output, context);
764
+ return de_GetDefaultViewCommandError(output, context);
765
765
  }
766
766
  const contents = map({
767
767
  $metadata: deserializeMetadata(output),
@@ -772,8 +772,8 @@ const deserializeAws_restJson1GetDefaultViewCommand = async (output, context) =>
772
772
  }
773
773
  return contents;
774
774
  };
775
- exports.deserializeAws_restJson1GetDefaultViewCommand = deserializeAws_restJson1GetDefaultViewCommand;
776
- const deserializeAws_restJson1GetDefaultViewCommandError = async (output, context) => {
775
+ exports.de_GetDefaultViewCommand = de_GetDefaultViewCommand;
776
+ const de_GetDefaultViewCommandError = async (output, context) => {
777
777
  const parsedOutput = {
778
778
  ...output,
779
779
  body: await parseErrorBody(output.body, context),
@@ -782,19 +782,19 @@ const deserializeAws_restJson1GetDefaultViewCommandError = async (output, contex
782
782
  switch (errorCode) {
783
783
  case "AccessDeniedException":
784
784
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
785
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
785
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
786
786
  case "InternalServerException":
787
787
  case "com.amazonaws.resourceexplorer2#InternalServerException":
788
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
788
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
789
789
  case "ResourceNotFoundException":
790
790
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
791
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
791
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
792
792
  case "ThrottlingException":
793
793
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
794
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
794
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
795
795
  case "ValidationException":
796
796
  case "com.amazonaws.resourceexplorer2#ValidationException":
797
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
797
+ throw await de_ValidationExceptionRes(parsedOutput, context);
798
798
  default:
799
799
  const parsedBody = parsedOutput.body;
800
800
  (0, smithy_client_1.throwDefaultError)({
@@ -805,9 +805,9 @@ const deserializeAws_restJson1GetDefaultViewCommandError = async (output, contex
805
805
  });
806
806
  }
807
807
  };
808
- const deserializeAws_restJson1GetIndexCommand = async (output, context) => {
808
+ const de_GetIndexCommand = async (output, context) => {
809
809
  if (output.statusCode !== 200 && output.statusCode >= 300) {
810
- return deserializeAws_restJson1GetIndexCommandError(output, context);
810
+ return de_GetIndexCommandError(output, context);
811
811
  }
812
812
  const contents = map({
813
813
  $metadata: deserializeMetadata(output),
@@ -823,24 +823,24 @@ const deserializeAws_restJson1GetIndexCommand = async (output, context) => {
823
823
  contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.LastUpdatedAt));
824
824
  }
825
825
  if (data.ReplicatingFrom != null) {
826
- contents.ReplicatingFrom = deserializeAws_restJson1RegionList(data.ReplicatingFrom, context);
826
+ contents.ReplicatingFrom = de_RegionList(data.ReplicatingFrom, context);
827
827
  }
828
828
  if (data.ReplicatingTo != null) {
829
- contents.ReplicatingTo = deserializeAws_restJson1RegionList(data.ReplicatingTo, context);
829
+ contents.ReplicatingTo = de_RegionList(data.ReplicatingTo, context);
830
830
  }
831
831
  if (data.State != null) {
832
832
  contents.State = (0, smithy_client_1.expectString)(data.State);
833
833
  }
834
834
  if (data.Tags != null) {
835
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
835
+ contents.Tags = de_TagMap(data.Tags, context);
836
836
  }
837
837
  if (data.Type != null) {
838
838
  contents.Type = (0, smithy_client_1.expectString)(data.Type);
839
839
  }
840
840
  return contents;
841
841
  };
842
- exports.deserializeAws_restJson1GetIndexCommand = deserializeAws_restJson1GetIndexCommand;
843
- const deserializeAws_restJson1GetIndexCommandError = async (output, context) => {
842
+ exports.de_GetIndexCommand = de_GetIndexCommand;
843
+ const de_GetIndexCommandError = async (output, context) => {
844
844
  const parsedOutput = {
845
845
  ...output,
846
846
  body: await parseErrorBody(output.body, context),
@@ -849,19 +849,19 @@ const deserializeAws_restJson1GetIndexCommandError = async (output, context) =>
849
849
  switch (errorCode) {
850
850
  case "AccessDeniedException":
851
851
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
852
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
852
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
853
853
  case "InternalServerException":
854
854
  case "com.amazonaws.resourceexplorer2#InternalServerException":
855
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
855
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
856
856
  case "ResourceNotFoundException":
857
857
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
858
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
858
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
859
859
  case "ThrottlingException":
860
860
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
861
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
861
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
862
862
  case "ValidationException":
863
863
  case "com.amazonaws.resourceexplorer2#ValidationException":
864
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
864
+ throw await de_ValidationExceptionRes(parsedOutput, context);
865
865
  default:
866
866
  const parsedBody = parsedOutput.body;
867
867
  (0, smithy_client_1.throwDefaultError)({
@@ -872,24 +872,24 @@ const deserializeAws_restJson1GetIndexCommandError = async (output, context) =>
872
872
  });
873
873
  }
874
874
  };
875
- const deserializeAws_restJson1GetViewCommand = async (output, context) => {
875
+ const de_GetViewCommand = async (output, context) => {
876
876
  if (output.statusCode !== 200 && output.statusCode >= 300) {
877
- return deserializeAws_restJson1GetViewCommandError(output, context);
877
+ return de_GetViewCommandError(output, context);
878
878
  }
879
879
  const contents = map({
880
880
  $metadata: deserializeMetadata(output),
881
881
  });
882
882
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
883
883
  if (data.Tags != null) {
884
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
884
+ contents.Tags = de_TagMap(data.Tags, context);
885
885
  }
886
886
  if (data.View != null) {
887
- contents.View = deserializeAws_restJson1View(data.View, context);
887
+ contents.View = de_View(data.View, context);
888
888
  }
889
889
  return contents;
890
890
  };
891
- exports.deserializeAws_restJson1GetViewCommand = deserializeAws_restJson1GetViewCommand;
892
- const deserializeAws_restJson1GetViewCommandError = async (output, context) => {
891
+ exports.de_GetViewCommand = de_GetViewCommand;
892
+ const de_GetViewCommandError = async (output, context) => {
893
893
  const parsedOutput = {
894
894
  ...output,
895
895
  body: await parseErrorBody(output.body, context),
@@ -898,22 +898,22 @@ const deserializeAws_restJson1GetViewCommandError = async (output, context) => {
898
898
  switch (errorCode) {
899
899
  case "AccessDeniedException":
900
900
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
901
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
901
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
902
902
  case "InternalServerException":
903
903
  case "com.amazonaws.resourceexplorer2#InternalServerException":
904
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
904
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
905
905
  case "ResourceNotFoundException":
906
906
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
907
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
907
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
908
908
  case "ThrottlingException":
909
909
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
910
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
910
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
911
911
  case "UnauthorizedException":
912
912
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
913
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
913
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
914
914
  case "ValidationException":
915
915
  case "com.amazonaws.resourceexplorer2#ValidationException":
916
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
916
+ throw await de_ValidationExceptionRes(parsedOutput, context);
917
917
  default:
918
918
  const parsedBody = parsedOutput.body;
919
919
  (0, smithy_client_1.throwDefaultError)({
@@ -924,24 +924,24 @@ const deserializeAws_restJson1GetViewCommandError = async (output, context) => {
924
924
  });
925
925
  }
926
926
  };
927
- const deserializeAws_restJson1ListIndexesCommand = async (output, context) => {
927
+ const de_ListIndexesCommand = async (output, context) => {
928
928
  if (output.statusCode !== 200 && output.statusCode >= 300) {
929
- return deserializeAws_restJson1ListIndexesCommandError(output, context);
929
+ return de_ListIndexesCommandError(output, context);
930
930
  }
931
931
  const contents = map({
932
932
  $metadata: deserializeMetadata(output),
933
933
  });
934
934
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
935
935
  if (data.Indexes != null) {
936
- contents.Indexes = deserializeAws_restJson1IndexList(data.Indexes, context);
936
+ contents.Indexes = de_IndexList(data.Indexes, context);
937
937
  }
938
938
  if (data.NextToken != null) {
939
939
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
940
940
  }
941
941
  return contents;
942
942
  };
943
- exports.deserializeAws_restJson1ListIndexesCommand = deserializeAws_restJson1ListIndexesCommand;
944
- const deserializeAws_restJson1ListIndexesCommandError = async (output, context) => {
943
+ exports.de_ListIndexesCommand = de_ListIndexesCommand;
944
+ const de_ListIndexesCommandError = async (output, context) => {
945
945
  const parsedOutput = {
946
946
  ...output,
947
947
  body: await parseErrorBody(output.body, context),
@@ -950,16 +950,16 @@ const deserializeAws_restJson1ListIndexesCommandError = async (output, context)
950
950
  switch (errorCode) {
951
951
  case "AccessDeniedException":
952
952
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
953
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
953
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
954
954
  case "InternalServerException":
955
955
  case "com.amazonaws.resourceexplorer2#InternalServerException":
956
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
956
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
957
957
  case "ThrottlingException":
958
958
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
959
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
959
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
960
960
  case "ValidationException":
961
961
  case "com.amazonaws.resourceexplorer2#ValidationException":
962
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
962
+ throw await de_ValidationExceptionRes(parsedOutput, context);
963
963
  default:
964
964
  const parsedBody = parsedOutput.body;
965
965
  (0, smithy_client_1.throwDefaultError)({
@@ -970,9 +970,9 @@ const deserializeAws_restJson1ListIndexesCommandError = async (output, context)
970
970
  });
971
971
  }
972
972
  };
973
- const deserializeAws_restJson1ListSupportedResourceTypesCommand = async (output, context) => {
973
+ const de_ListSupportedResourceTypesCommand = async (output, context) => {
974
974
  if (output.statusCode !== 200 && output.statusCode >= 300) {
975
- return deserializeAws_restJson1ListSupportedResourceTypesCommandError(output, context);
975
+ return de_ListSupportedResourceTypesCommandError(output, context);
976
976
  }
977
977
  const contents = map({
978
978
  $metadata: deserializeMetadata(output),
@@ -982,12 +982,12 @@ const deserializeAws_restJson1ListSupportedResourceTypesCommand = async (output,
982
982
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
983
983
  }
984
984
  if (data.ResourceTypes != null) {
985
- contents.ResourceTypes = deserializeAws_restJson1ResourceTypeList(data.ResourceTypes, context);
985
+ contents.ResourceTypes = de_ResourceTypeList(data.ResourceTypes, context);
986
986
  }
987
987
  return contents;
988
988
  };
989
- exports.deserializeAws_restJson1ListSupportedResourceTypesCommand = deserializeAws_restJson1ListSupportedResourceTypesCommand;
990
- const deserializeAws_restJson1ListSupportedResourceTypesCommandError = async (output, context) => {
989
+ exports.de_ListSupportedResourceTypesCommand = de_ListSupportedResourceTypesCommand;
990
+ const de_ListSupportedResourceTypesCommandError = async (output, context) => {
991
991
  const parsedOutput = {
992
992
  ...output,
993
993
  body: await parseErrorBody(output.body, context),
@@ -996,16 +996,16 @@ const deserializeAws_restJson1ListSupportedResourceTypesCommandError = async (ou
996
996
  switch (errorCode) {
997
997
  case "AccessDeniedException":
998
998
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
999
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
999
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1000
1000
  case "InternalServerException":
1001
1001
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1002
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1002
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1003
1003
  case "ThrottlingException":
1004
1004
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1005
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1005
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1006
1006
  case "ValidationException":
1007
1007
  case "com.amazonaws.resourceexplorer2#ValidationException":
1008
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1008
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1009
1009
  default:
1010
1010
  const parsedBody = parsedOutput.body;
1011
1011
  (0, smithy_client_1.throwDefaultError)({
@@ -1016,21 +1016,21 @@ const deserializeAws_restJson1ListSupportedResourceTypesCommandError = async (ou
1016
1016
  });
1017
1017
  }
1018
1018
  };
1019
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1019
+ const de_ListTagsForResourceCommand = async (output, context) => {
1020
1020
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1021
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1021
+ return de_ListTagsForResourceCommandError(output, context);
1022
1022
  }
1023
1023
  const contents = map({
1024
1024
  $metadata: deserializeMetadata(output),
1025
1025
  });
1026
1026
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1027
1027
  if (data.Tags != null) {
1028
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1028
+ contents.Tags = de_TagMap(data.Tags, context);
1029
1029
  }
1030
1030
  return contents;
1031
1031
  };
1032
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1033
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1032
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1033
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1034
1034
  const parsedOutput = {
1035
1035
  ...output,
1036
1036
  body: await parseErrorBody(output.body, context),
@@ -1039,22 +1039,22 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1039
1039
  switch (errorCode) {
1040
1040
  case "AccessDeniedException":
1041
1041
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1042
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1042
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1043
1043
  case "InternalServerException":
1044
1044
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1045
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1045
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1046
1046
  case "ResourceNotFoundException":
1047
1047
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
1048
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1048
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1049
1049
  case "ThrottlingException":
1050
1050
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1051
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1051
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1052
1052
  case "UnauthorizedException":
1053
1053
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
1054
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1054
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1055
1055
  case "ValidationException":
1056
1056
  case "com.amazonaws.resourceexplorer2#ValidationException":
1057
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1057
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1058
1058
  default:
1059
1059
  const parsedBody = parsedOutput.body;
1060
1060
  (0, smithy_client_1.throwDefaultError)({
@@ -1065,9 +1065,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1065
1065
  });
1066
1066
  }
1067
1067
  };
1068
- const deserializeAws_restJson1ListViewsCommand = async (output, context) => {
1068
+ const de_ListViewsCommand = async (output, context) => {
1069
1069
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1070
- return deserializeAws_restJson1ListViewsCommandError(output, context);
1070
+ return de_ListViewsCommandError(output, context);
1071
1071
  }
1072
1072
  const contents = map({
1073
1073
  $metadata: deserializeMetadata(output),
@@ -1077,12 +1077,12 @@ const deserializeAws_restJson1ListViewsCommand = async (output, context) => {
1077
1077
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1078
1078
  }
1079
1079
  if (data.Views != null) {
1080
- contents.Views = deserializeAws_restJson1ViewArnList(data.Views, context);
1080
+ contents.Views = de_ViewArnList(data.Views, context);
1081
1081
  }
1082
1082
  return contents;
1083
1083
  };
1084
- exports.deserializeAws_restJson1ListViewsCommand = deserializeAws_restJson1ListViewsCommand;
1085
- const deserializeAws_restJson1ListViewsCommandError = async (output, context) => {
1084
+ exports.de_ListViewsCommand = de_ListViewsCommand;
1085
+ const de_ListViewsCommandError = async (output, context) => {
1086
1086
  const parsedOutput = {
1087
1087
  ...output,
1088
1088
  body: await parseErrorBody(output.body, context),
@@ -1091,16 +1091,16 @@ const deserializeAws_restJson1ListViewsCommandError = async (output, context) =>
1091
1091
  switch (errorCode) {
1092
1092
  case "AccessDeniedException":
1093
1093
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1094
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1094
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1095
1095
  case "InternalServerException":
1096
1096
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1097
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1097
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1098
1098
  case "ThrottlingException":
1099
1099
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1100
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1100
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1101
1101
  case "ValidationException":
1102
1102
  case "com.amazonaws.resourceexplorer2#ValidationException":
1103
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1103
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1104
1104
  default:
1105
1105
  const parsedBody = parsedOutput.body;
1106
1106
  (0, smithy_client_1.throwDefaultError)({
@@ -1111,30 +1111,30 @@ const deserializeAws_restJson1ListViewsCommandError = async (output, context) =>
1111
1111
  });
1112
1112
  }
1113
1113
  };
1114
- const deserializeAws_restJson1SearchCommand = async (output, context) => {
1114
+ const de_SearchCommand = async (output, context) => {
1115
1115
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1116
- return deserializeAws_restJson1SearchCommandError(output, context);
1116
+ return de_SearchCommandError(output, context);
1117
1117
  }
1118
1118
  const contents = map({
1119
1119
  $metadata: deserializeMetadata(output),
1120
1120
  });
1121
1121
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1122
1122
  if (data.Count != null) {
1123
- contents.Count = deserializeAws_restJson1ResourceCount(data.Count, context);
1123
+ contents.Count = de_ResourceCount(data.Count, context);
1124
1124
  }
1125
1125
  if (data.NextToken != null) {
1126
1126
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1127
1127
  }
1128
1128
  if (data.Resources != null) {
1129
- contents.Resources = deserializeAws_restJson1ResourceList(data.Resources, context);
1129
+ contents.Resources = de_ResourceList(data.Resources, context);
1130
1130
  }
1131
1131
  if (data.ViewArn != null) {
1132
1132
  contents.ViewArn = (0, smithy_client_1.expectString)(data.ViewArn);
1133
1133
  }
1134
1134
  return contents;
1135
1135
  };
1136
- exports.deserializeAws_restJson1SearchCommand = deserializeAws_restJson1SearchCommand;
1137
- const deserializeAws_restJson1SearchCommandError = async (output, context) => {
1136
+ exports.de_SearchCommand = de_SearchCommand;
1137
+ const de_SearchCommandError = async (output, context) => {
1138
1138
  const parsedOutput = {
1139
1139
  ...output,
1140
1140
  body: await parseErrorBody(output.body, context),
@@ -1143,22 +1143,22 @@ const deserializeAws_restJson1SearchCommandError = async (output, context) => {
1143
1143
  switch (errorCode) {
1144
1144
  case "AccessDeniedException":
1145
1145
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1146
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1146
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1147
1147
  case "InternalServerException":
1148
1148
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1149
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1149
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1150
1150
  case "ResourceNotFoundException":
1151
1151
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
1152
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1152
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1153
1153
  case "ThrottlingException":
1154
1154
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1155
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1155
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1156
1156
  case "UnauthorizedException":
1157
1157
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
1158
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1158
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1159
1159
  case "ValidationException":
1160
1160
  case "com.amazonaws.resourceexplorer2#ValidationException":
1161
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1161
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1162
1162
  default:
1163
1163
  const parsedBody = parsedOutput.body;
1164
1164
  (0, smithy_client_1.throwDefaultError)({
@@ -1169,9 +1169,9 @@ const deserializeAws_restJson1SearchCommandError = async (output, context) => {
1169
1169
  });
1170
1170
  }
1171
1171
  };
1172
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1172
+ const de_TagResourceCommand = async (output, context) => {
1173
1173
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1174
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1174
+ return de_TagResourceCommandError(output, context);
1175
1175
  }
1176
1176
  const contents = map({
1177
1177
  $metadata: deserializeMetadata(output),
@@ -1179,8 +1179,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1179
1179
  await collectBody(output.body, context);
1180
1180
  return contents;
1181
1181
  };
1182
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1183
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1182
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1183
+ const de_TagResourceCommandError = async (output, context) => {
1184
1184
  const parsedOutput = {
1185
1185
  ...output,
1186
1186
  body: await parseErrorBody(output.body, context),
@@ -1189,22 +1189,22 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1189
1189
  switch (errorCode) {
1190
1190
  case "AccessDeniedException":
1191
1191
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1192
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1192
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1193
1193
  case "ConflictException":
1194
1194
  case "com.amazonaws.resourceexplorer2#ConflictException":
1195
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1195
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1196
1196
  case "InternalServerException":
1197
1197
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1198
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1198
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1199
1199
  case "ThrottlingException":
1200
1200
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1201
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1201
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1202
1202
  case "UnauthorizedException":
1203
1203
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
1204
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1204
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1205
1205
  case "ValidationException":
1206
1206
  case "com.amazonaws.resourceexplorer2#ValidationException":
1207
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1207
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1208
1208
  default:
1209
1209
  const parsedBody = parsedOutput.body;
1210
1210
  (0, smithy_client_1.throwDefaultError)({
@@ -1215,9 +1215,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1215
1215
  });
1216
1216
  }
1217
1217
  };
1218
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1218
+ const de_UntagResourceCommand = async (output, context) => {
1219
1219
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1220
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1220
+ return de_UntagResourceCommandError(output, context);
1221
1221
  }
1222
1222
  const contents = map({
1223
1223
  $metadata: deserializeMetadata(output),
@@ -1225,8 +1225,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1225
1225
  await collectBody(output.body, context);
1226
1226
  return contents;
1227
1227
  };
1228
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1229
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1228
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1229
+ const de_UntagResourceCommandError = async (output, context) => {
1230
1230
  const parsedOutput = {
1231
1231
  ...output,
1232
1232
  body: await parseErrorBody(output.body, context),
@@ -1235,22 +1235,22 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1235
1235
  switch (errorCode) {
1236
1236
  case "AccessDeniedException":
1237
1237
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1238
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1238
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1239
1239
  case "InternalServerException":
1240
1240
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1241
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1241
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1242
1242
  case "ResourceNotFoundException":
1243
1243
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
1244
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1244
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1245
1245
  case "ThrottlingException":
1246
1246
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1247
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1247
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1248
1248
  case "UnauthorizedException":
1249
1249
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
1250
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1250
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1251
1251
  case "ValidationException":
1252
1252
  case "com.amazonaws.resourceexplorer2#ValidationException":
1253
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1253
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1254
1254
  default:
1255
1255
  const parsedBody = parsedOutput.body;
1256
1256
  (0, smithy_client_1.throwDefaultError)({
@@ -1261,9 +1261,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1261
1261
  });
1262
1262
  }
1263
1263
  };
1264
- const deserializeAws_restJson1UpdateIndexTypeCommand = async (output, context) => {
1264
+ const de_UpdateIndexTypeCommand = async (output, context) => {
1265
1265
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1266
- return deserializeAws_restJson1UpdateIndexTypeCommandError(output, context);
1266
+ return de_UpdateIndexTypeCommandError(output, context);
1267
1267
  }
1268
1268
  const contents = map({
1269
1269
  $metadata: deserializeMetadata(output),
@@ -1283,8 +1283,8 @@ const deserializeAws_restJson1UpdateIndexTypeCommand = async (output, context) =
1283
1283
  }
1284
1284
  return contents;
1285
1285
  };
1286
- exports.deserializeAws_restJson1UpdateIndexTypeCommand = deserializeAws_restJson1UpdateIndexTypeCommand;
1287
- const deserializeAws_restJson1UpdateIndexTypeCommandError = async (output, context) => {
1286
+ exports.de_UpdateIndexTypeCommand = de_UpdateIndexTypeCommand;
1287
+ const de_UpdateIndexTypeCommandError = async (output, context) => {
1288
1288
  const parsedOutput = {
1289
1289
  ...output,
1290
1290
  body: await parseErrorBody(output.body, context),
@@ -1293,25 +1293,25 @@ const deserializeAws_restJson1UpdateIndexTypeCommandError = async (output, conte
1293
1293
  switch (errorCode) {
1294
1294
  case "AccessDeniedException":
1295
1295
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1296
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1296
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1297
1297
  case "ConflictException":
1298
1298
  case "com.amazonaws.resourceexplorer2#ConflictException":
1299
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1299
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1300
1300
  case "InternalServerException":
1301
1301
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1302
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1302
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1303
1303
  case "ResourceNotFoundException":
1304
1304
  case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
1305
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1305
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1306
1306
  case "ServiceQuotaExceededException":
1307
1307
  case "com.amazonaws.resourceexplorer2#ServiceQuotaExceededException":
1308
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1308
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1309
1309
  case "ThrottlingException":
1310
1310
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1311
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1311
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1312
1312
  case "ValidationException":
1313
1313
  case "com.amazonaws.resourceexplorer2#ValidationException":
1314
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1314
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1315
1315
  default:
1316
1316
  const parsedBody = parsedOutput.body;
1317
1317
  (0, smithy_client_1.throwDefaultError)({
@@ -1322,21 +1322,21 @@ const deserializeAws_restJson1UpdateIndexTypeCommandError = async (output, conte
1322
1322
  });
1323
1323
  }
1324
1324
  };
1325
- const deserializeAws_restJson1UpdateViewCommand = async (output, context) => {
1325
+ const de_UpdateViewCommand = async (output, context) => {
1326
1326
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1327
- return deserializeAws_restJson1UpdateViewCommandError(output, context);
1327
+ return de_UpdateViewCommandError(output, context);
1328
1328
  }
1329
1329
  const contents = map({
1330
1330
  $metadata: deserializeMetadata(output),
1331
1331
  });
1332
1332
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1333
1333
  if (data.View != null) {
1334
- contents.View = deserializeAws_restJson1View(data.View, context);
1334
+ contents.View = de_View(data.View, context);
1335
1335
  }
1336
1336
  return contents;
1337
1337
  };
1338
- exports.deserializeAws_restJson1UpdateViewCommand = deserializeAws_restJson1UpdateViewCommand;
1339
- const deserializeAws_restJson1UpdateViewCommandError = async (output, context) => {
1338
+ exports.de_UpdateViewCommand = de_UpdateViewCommand;
1339
+ const de_UpdateViewCommandError = async (output, context) => {
1340
1340
  const parsedOutput = {
1341
1341
  ...output,
1342
1342
  body: await parseErrorBody(output.body, context),
@@ -1345,22 +1345,22 @@ const deserializeAws_restJson1UpdateViewCommandError = async (output, context) =
1345
1345
  switch (errorCode) {
1346
1346
  case "AccessDeniedException":
1347
1347
  case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1348
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1348
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1349
1349
  case "InternalServerException":
1350
1350
  case "com.amazonaws.resourceexplorer2#InternalServerException":
1351
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1351
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1352
1352
  case "ServiceQuotaExceededException":
1353
1353
  case "com.amazonaws.resourceexplorer2#ServiceQuotaExceededException":
1354
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1354
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1355
1355
  case "ThrottlingException":
1356
1356
  case "com.amazonaws.resourceexplorer2#ThrottlingException":
1357
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1357
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1358
1358
  case "UnauthorizedException":
1359
1359
  case "com.amazonaws.resourceexplorer2#UnauthorizedException":
1360
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1360
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1361
1361
  case "ValidationException":
1362
1362
  case "com.amazonaws.resourceexplorer2#ValidationException":
1363
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1363
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1364
1364
  default:
1365
1365
  const parsedBody = parsedOutput.body;
1366
1366
  (0, smithy_client_1.throwDefaultError)({
@@ -1372,7 +1372,7 @@ const deserializeAws_restJson1UpdateViewCommandError = async (output, context) =
1372
1372
  }
1373
1373
  };
1374
1374
  const map = smithy_client_1.map;
1375
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1375
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1376
1376
  const contents = map({});
1377
1377
  const data = parsedOutput.body;
1378
1378
  if (data.Message != null) {
@@ -1384,7 +1384,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1384
1384
  });
1385
1385
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1386
1386
  };
1387
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1387
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1388
1388
  const contents = map({});
1389
1389
  const data = parsedOutput.body;
1390
1390
  if (data.Message != null) {
@@ -1396,7 +1396,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1396
1396
  });
1397
1397
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1398
1398
  };
1399
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1399
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1400
1400
  const contents = map({});
1401
1401
  const data = parsedOutput.body;
1402
1402
  if (data.Message != null) {
@@ -1408,7 +1408,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1408
1408
  });
1409
1409
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1410
1410
  };
1411
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1411
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1412
1412
  const contents = map({});
1413
1413
  const data = parsedOutput.body;
1414
1414
  if (data.Message != null) {
@@ -1420,7 +1420,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1420
1420
  });
1421
1421
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1422
1422
  };
1423
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1423
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1424
1424
  const contents = map({});
1425
1425
  const data = parsedOutput.body;
1426
1426
  if (data.Message != null) {
@@ -1438,7 +1438,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1438
1438
  });
1439
1439
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1440
1440
  };
1441
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1441
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1442
1442
  const contents = map({});
1443
1443
  const data = parsedOutput.body;
1444
1444
  if (data.Message != null) {
@@ -1450,7 +1450,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1450
1450
  });
1451
1451
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1452
1452
  };
1453
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
1453
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
1454
1454
  const contents = map({});
1455
1455
  const data = parsedOutput.body;
1456
1456
  if (data.Message != null) {
@@ -1462,11 +1462,11 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
1462
1462
  });
1463
1463
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1464
1464
  };
1465
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1465
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1466
1466
  const contents = map({});
1467
1467
  const data = parsedOutput.body;
1468
1468
  if (data.FieldList != null) {
1469
- contents.FieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.FieldList, context);
1469
+ contents.FieldList = de_ValidationExceptionFieldList(data.FieldList, context);
1470
1470
  }
1471
1471
  if (data.Message != null) {
1472
1472
  contents.Message = (0, smithy_client_1.expectString)(data.Message);
@@ -1477,31 +1477,31 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1477
1477
  });
1478
1478
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1479
1479
  };
1480
- const serializeAws_restJson1IncludedProperty = (input, context) => {
1480
+ const se_IncludedProperty = (input, context) => {
1481
1481
  return {
1482
1482
  ...(input.Name != null && { Name: input.Name }),
1483
1483
  };
1484
1484
  };
1485
- const serializeAws_restJson1IncludedPropertyList = (input, context) => {
1485
+ const se_IncludedPropertyList = (input, context) => {
1486
1486
  return input
1487
1487
  .filter((e) => e != null)
1488
1488
  .map((entry) => {
1489
- return serializeAws_restJson1IncludedProperty(entry, context);
1489
+ return se_IncludedProperty(entry, context);
1490
1490
  });
1491
1491
  };
1492
- const serializeAws_restJson1RegionList = (input, context) => {
1492
+ const se_RegionList = (input, context) => {
1493
1493
  return input
1494
1494
  .filter((e) => e != null)
1495
1495
  .map((entry) => {
1496
1496
  return entry;
1497
1497
  });
1498
1498
  };
1499
- const serializeAws_restJson1SearchFilter = (input, context) => {
1499
+ const se_SearchFilter = (input, context) => {
1500
1500
  return {
1501
1501
  ...(input.FilterString != null && { FilterString: input.FilterString }),
1502
1502
  };
1503
1503
  };
1504
- const serializeAws_restJson1TagMap = (input, context) => {
1504
+ const se_TagMap = (input, context) => {
1505
1505
  return Object.entries(input).reduce((acc, [key, value]) => {
1506
1506
  if (value === null) {
1507
1507
  return acc;
@@ -1510,65 +1510,65 @@ const serializeAws_restJson1TagMap = (input, context) => {
1510
1510
  return acc;
1511
1511
  }, {});
1512
1512
  };
1513
- const serializeAws_restJson1ViewArnList = (input, context) => {
1513
+ const se_ViewArnList = (input, context) => {
1514
1514
  return input
1515
1515
  .filter((e) => e != null)
1516
1516
  .map((entry) => {
1517
1517
  return entry;
1518
1518
  });
1519
1519
  };
1520
- const deserializeAws_restJson1BatchGetViewError = (output, context) => {
1520
+ const de_BatchGetViewError = (output, context) => {
1521
1521
  return {
1522
1522
  ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
1523
1523
  ViewArn: (0, smithy_client_1.expectString)(output.ViewArn),
1524
1524
  };
1525
1525
  };
1526
- const deserializeAws_restJson1BatchGetViewErrors = (output, context) => {
1526
+ const de_BatchGetViewErrors = (output, context) => {
1527
1527
  const retVal = (output || [])
1528
1528
  .filter((e) => e != null)
1529
1529
  .map((entry) => {
1530
1530
  if (entry === null) {
1531
1531
  return null;
1532
1532
  }
1533
- return deserializeAws_restJson1BatchGetViewError(entry, context);
1533
+ return de_BatchGetViewError(entry, context);
1534
1534
  });
1535
1535
  return retVal;
1536
1536
  };
1537
- const deserializeAws_restJson1IncludedProperty = (output, context) => {
1537
+ const de_IncludedProperty = (output, context) => {
1538
1538
  return {
1539
1539
  Name: (0, smithy_client_1.expectString)(output.Name),
1540
1540
  };
1541
1541
  };
1542
- const deserializeAws_restJson1IncludedPropertyList = (output, context) => {
1542
+ const de_IncludedPropertyList = (output, context) => {
1543
1543
  const retVal = (output || [])
1544
1544
  .filter((e) => e != null)
1545
1545
  .map((entry) => {
1546
1546
  if (entry === null) {
1547
1547
  return null;
1548
1548
  }
1549
- return deserializeAws_restJson1IncludedProperty(entry, context);
1549
+ return de_IncludedProperty(entry, context);
1550
1550
  });
1551
1551
  return retVal;
1552
1552
  };
1553
- const deserializeAws_restJson1Index = (output, context) => {
1553
+ const de_Index = (output, context) => {
1554
1554
  return {
1555
1555
  Arn: (0, smithy_client_1.expectString)(output.Arn),
1556
1556
  Region: (0, smithy_client_1.expectString)(output.Region),
1557
1557
  Type: (0, smithy_client_1.expectString)(output.Type),
1558
1558
  };
1559
1559
  };
1560
- const deserializeAws_restJson1IndexList = (output, context) => {
1560
+ const de_IndexList = (output, context) => {
1561
1561
  const retVal = (output || [])
1562
1562
  .filter((e) => e != null)
1563
1563
  .map((entry) => {
1564
1564
  if (entry === null) {
1565
1565
  return null;
1566
1566
  }
1567
- return deserializeAws_restJson1Index(entry, context);
1567
+ return de_Index(entry, context);
1568
1568
  });
1569
1569
  return retVal;
1570
1570
  };
1571
- const deserializeAws_restJson1RegionList = (output, context) => {
1571
+ const de_RegionList = (output, context) => {
1572
1572
  const retVal = (output || [])
1573
1573
  .filter((e) => e != null)
1574
1574
  .map((entry) => {
@@ -1579,79 +1579,79 @@ const deserializeAws_restJson1RegionList = (output, context) => {
1579
1579
  });
1580
1580
  return retVal;
1581
1581
  };
1582
- const deserializeAws_restJson1Resource = (output, context) => {
1582
+ const de_Resource = (output, context) => {
1583
1583
  return {
1584
1584
  Arn: (0, smithy_client_1.expectString)(output.Arn),
1585
1585
  LastReportedAt: output.LastReportedAt != null
1586
1586
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.LastReportedAt))
1587
1587
  : undefined,
1588
1588
  OwningAccountId: (0, smithy_client_1.expectString)(output.OwningAccountId),
1589
- Properties: output.Properties != null ? deserializeAws_restJson1ResourcePropertyList(output.Properties, context) : undefined,
1589
+ Properties: output.Properties != null ? de_ResourcePropertyList(output.Properties, context) : undefined,
1590
1590
  Region: (0, smithy_client_1.expectString)(output.Region),
1591
1591
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
1592
1592
  Service: (0, smithy_client_1.expectString)(output.Service),
1593
1593
  };
1594
1594
  };
1595
- const deserializeAws_restJson1ResourceCount = (output, context) => {
1595
+ const de_ResourceCount = (output, context) => {
1596
1596
  return {
1597
1597
  Complete: (0, smithy_client_1.expectBoolean)(output.Complete),
1598
1598
  TotalResources: (0, smithy_client_1.expectLong)(output.TotalResources),
1599
1599
  };
1600
1600
  };
1601
- const deserializeAws_restJson1ResourceList = (output, context) => {
1601
+ const de_ResourceList = (output, context) => {
1602
1602
  const retVal = (output || [])
1603
1603
  .filter((e) => e != null)
1604
1604
  .map((entry) => {
1605
1605
  if (entry === null) {
1606
1606
  return null;
1607
1607
  }
1608
- return deserializeAws_restJson1Resource(entry, context);
1608
+ return de_Resource(entry, context);
1609
1609
  });
1610
1610
  return retVal;
1611
1611
  };
1612
- const deserializeAws_restJson1ResourceProperty = (output, context) => {
1612
+ const de_ResourceProperty = (output, context) => {
1613
1613
  return {
1614
- Data: output.Data != null ? deserializeAws_restJson1Document(output.Data, context) : undefined,
1614
+ Data: output.Data != null ? de_Document(output.Data, context) : undefined,
1615
1615
  LastReportedAt: output.LastReportedAt != null
1616
1616
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.LastReportedAt))
1617
1617
  : undefined,
1618
1618
  Name: (0, smithy_client_1.expectString)(output.Name),
1619
1619
  };
1620
1620
  };
1621
- const deserializeAws_restJson1ResourcePropertyList = (output, context) => {
1621
+ const de_ResourcePropertyList = (output, context) => {
1622
1622
  const retVal = (output || [])
1623
1623
  .filter((e) => e != null)
1624
1624
  .map((entry) => {
1625
1625
  if (entry === null) {
1626
1626
  return null;
1627
1627
  }
1628
- return deserializeAws_restJson1ResourceProperty(entry, context);
1628
+ return de_ResourceProperty(entry, context);
1629
1629
  });
1630
1630
  return retVal;
1631
1631
  };
1632
- const deserializeAws_restJson1ResourceTypeList = (output, context) => {
1632
+ const de_ResourceTypeList = (output, context) => {
1633
1633
  const retVal = (output || [])
1634
1634
  .filter((e) => e != null)
1635
1635
  .map((entry) => {
1636
1636
  if (entry === null) {
1637
1637
  return null;
1638
1638
  }
1639
- return deserializeAws_restJson1SupportedResourceType(entry, context);
1639
+ return de_SupportedResourceType(entry, context);
1640
1640
  });
1641
1641
  return retVal;
1642
1642
  };
1643
- const deserializeAws_restJson1SearchFilter = (output, context) => {
1643
+ const de_SearchFilter = (output, context) => {
1644
1644
  return {
1645
1645
  FilterString: (0, smithy_client_1.expectString)(output.FilterString),
1646
1646
  };
1647
1647
  };
1648
- const deserializeAws_restJson1SupportedResourceType = (output, context) => {
1648
+ const de_SupportedResourceType = (output, context) => {
1649
1649
  return {
1650
1650
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
1651
1651
  Service: (0, smithy_client_1.expectString)(output.Service),
1652
1652
  };
1653
1653
  };
1654
- const deserializeAws_restJson1TagMap = (output, context) => {
1654
+ const de_TagMap = (output, context) => {
1655
1655
  return Object.entries(output).reduce((acc, [key, value]) => {
1656
1656
  if (value === null) {
1657
1657
  return acc;
@@ -1660,29 +1660,27 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1660
1660
  return acc;
1661
1661
  }, {});
1662
1662
  };
1663
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
1663
+ const de_ValidationExceptionField = (output, context) => {
1664
1664
  return {
1665
1665
  Name: (0, smithy_client_1.expectString)(output.Name),
1666
1666
  ValidationIssue: (0, smithy_client_1.expectString)(output.ValidationIssue),
1667
1667
  };
1668
1668
  };
1669
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
1669
+ const de_ValidationExceptionFieldList = (output, context) => {
1670
1670
  const retVal = (output || [])
1671
1671
  .filter((e) => e != null)
1672
1672
  .map((entry) => {
1673
1673
  if (entry === null) {
1674
1674
  return null;
1675
1675
  }
1676
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
1676
+ return de_ValidationExceptionField(entry, context);
1677
1677
  });
1678
1678
  return retVal;
1679
1679
  };
1680
- const deserializeAws_restJson1View = (output, context) => {
1680
+ const de_View = (output, context) => {
1681
1681
  return {
1682
- Filters: output.Filters != null ? deserializeAws_restJson1SearchFilter(output.Filters, context) : undefined,
1683
- IncludedProperties: output.IncludedProperties != null
1684
- ? deserializeAws_restJson1IncludedPropertyList(output.IncludedProperties, context)
1685
- : undefined,
1682
+ Filters: output.Filters != null ? de_SearchFilter(output.Filters, context) : undefined,
1683
+ IncludedProperties: output.IncludedProperties != null ? de_IncludedPropertyList(output.IncludedProperties, context) : undefined,
1686
1684
  LastUpdatedAt: output.LastUpdatedAt != null
1687
1685
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.LastUpdatedAt))
1688
1686
  : undefined,
@@ -1691,7 +1689,7 @@ const deserializeAws_restJson1View = (output, context) => {
1691
1689
  ViewArn: (0, smithy_client_1.expectString)(output.ViewArn),
1692
1690
  };
1693
1691
  };
1694
- const deserializeAws_restJson1ViewArnList = (output, context) => {
1692
+ const de_ViewArnList = (output, context) => {
1695
1693
  const retVal = (output || [])
1696
1694
  .filter((e) => e != null)
1697
1695
  .map((entry) => {
@@ -1702,18 +1700,18 @@ const deserializeAws_restJson1ViewArnList = (output, context) => {
1702
1700
  });
1703
1701
  return retVal;
1704
1702
  };
1705
- const deserializeAws_restJson1ViewList = (output, context) => {
1703
+ const de_ViewList = (output, context) => {
1706
1704
  const retVal = (output || [])
1707
1705
  .filter((e) => e != null)
1708
1706
  .map((entry) => {
1709
1707
  if (entry === null) {
1710
1708
  return null;
1711
1709
  }
1712
- return deserializeAws_restJson1View(entry, context);
1710
+ return de_View(entry, context);
1713
1711
  });
1714
1712
  return retVal;
1715
1713
  };
1716
- const deserializeAws_restJson1Document = (output, context) => {
1714
+ const de_Document = (output, context) => {
1717
1715
  return output;
1718
1716
  };
1719
1717
  const deserializeMetadata = (output) => ({