@aws-sdk/client-service-catalog-appregistry 3.306.0 → 3.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist-cjs/commands/AssociateAttributeGroupCommand.js +2 -2
  2. package/dist-cjs/commands/AssociateResourceCommand.js +2 -2
  3. package/dist-cjs/commands/CreateApplicationCommand.js +2 -2
  4. package/dist-cjs/commands/CreateAttributeGroupCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteAttributeGroupCommand.js +2 -2
  7. package/dist-cjs/commands/DisassociateAttributeGroupCommand.js +2 -2
  8. package/dist-cjs/commands/DisassociateResourceCommand.js +2 -2
  9. package/dist-cjs/commands/GetApplicationCommand.js +2 -2
  10. package/dist-cjs/commands/GetAssociatedResourceCommand.js +2 -2
  11. package/dist-cjs/commands/GetAttributeGroupCommand.js +2 -2
  12. package/dist-cjs/commands/GetConfigurationCommand.js +2 -2
  13. package/dist-cjs/commands/ListApplicationsCommand.js +2 -2
  14. package/dist-cjs/commands/ListAssociatedAttributeGroupsCommand.js +2 -2
  15. package/dist-cjs/commands/ListAssociatedResourcesCommand.js +2 -2
  16. package/dist-cjs/commands/ListAttributeGroupsCommand.js +2 -2
  17. package/dist-cjs/commands/ListAttributeGroupsForApplicationCommand.js +2 -2
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  19. package/dist-cjs/commands/PutConfigurationCommand.js +2 -2
  20. package/dist-cjs/commands/SyncResourceCommand.js +2 -2
  21. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  22. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateAttributeGroupCommand.js +2 -2
  25. package/dist-cjs/protocols/Aws_restJson1.js +290 -296
  26. package/dist-es/commands/AssociateAttributeGroupCommand.js +3 -3
  27. package/dist-es/commands/AssociateResourceCommand.js +3 -3
  28. package/dist-es/commands/CreateApplicationCommand.js +3 -3
  29. package/dist-es/commands/CreateAttributeGroupCommand.js +3 -3
  30. package/dist-es/commands/DeleteApplicationCommand.js +3 -3
  31. package/dist-es/commands/DeleteAttributeGroupCommand.js +3 -3
  32. package/dist-es/commands/DisassociateAttributeGroupCommand.js +3 -3
  33. package/dist-es/commands/DisassociateResourceCommand.js +3 -3
  34. package/dist-es/commands/GetApplicationCommand.js +3 -3
  35. package/dist-es/commands/GetAssociatedResourceCommand.js +3 -3
  36. package/dist-es/commands/GetAttributeGroupCommand.js +3 -3
  37. package/dist-es/commands/GetConfigurationCommand.js +3 -3
  38. package/dist-es/commands/ListApplicationsCommand.js +3 -3
  39. package/dist-es/commands/ListAssociatedAttributeGroupsCommand.js +3 -3
  40. package/dist-es/commands/ListAssociatedResourcesCommand.js +3 -3
  41. package/dist-es/commands/ListAttributeGroupsCommand.js +3 -3
  42. package/dist-es/commands/ListAttributeGroupsForApplicationCommand.js +3 -3
  43. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  44. package/dist-es/commands/PutConfigurationCommand.js +3 -3
  45. package/dist-es/commands/SyncResourceCommand.js +3 -3
  46. package/dist-es/commands/TagResourceCommand.js +3 -3
  47. package/dist-es/commands/UntagResourceCommand.js +3 -3
  48. package/dist-es/commands/UpdateApplicationCommand.js +3 -3
  49. package/dist-es/commands/UpdateAttributeGroupCommand.js +3 -3
  50. package/dist-es/protocols/Aws_restJson1.js +241 -247
  51. package/dist-types/protocols/Aws_restJson1.d.ts +192 -48
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -48
  53. package/package.json +35 -35
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateAttributeGroupCommand = exports.deserializeAws_restJson1UpdateApplicationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SyncResourceCommand = exports.deserializeAws_restJson1PutConfigurationCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListAttributeGroupsForApplicationCommand = exports.deserializeAws_restJson1ListAttributeGroupsCommand = exports.deserializeAws_restJson1ListAssociatedResourcesCommand = exports.deserializeAws_restJson1ListAssociatedAttributeGroupsCommand = exports.deserializeAws_restJson1ListApplicationsCommand = exports.deserializeAws_restJson1GetConfigurationCommand = exports.deserializeAws_restJson1GetAttributeGroupCommand = exports.deserializeAws_restJson1GetAssociatedResourceCommand = exports.deserializeAws_restJson1GetApplicationCommand = exports.deserializeAws_restJson1DisassociateResourceCommand = exports.deserializeAws_restJson1DisassociateAttributeGroupCommand = exports.deserializeAws_restJson1DeleteAttributeGroupCommand = exports.deserializeAws_restJson1DeleteApplicationCommand = exports.deserializeAws_restJson1CreateAttributeGroupCommand = exports.deserializeAws_restJson1CreateApplicationCommand = exports.deserializeAws_restJson1AssociateResourceCommand = exports.deserializeAws_restJson1AssociateAttributeGroupCommand = exports.serializeAws_restJson1UpdateAttributeGroupCommand = exports.serializeAws_restJson1UpdateApplicationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SyncResourceCommand = exports.serializeAws_restJson1PutConfigurationCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListAttributeGroupsForApplicationCommand = exports.serializeAws_restJson1ListAttributeGroupsCommand = exports.serializeAws_restJson1ListAssociatedResourcesCommand = exports.serializeAws_restJson1ListAssociatedAttributeGroupsCommand = exports.serializeAws_restJson1ListApplicationsCommand = exports.serializeAws_restJson1GetConfigurationCommand = exports.serializeAws_restJson1GetAttributeGroupCommand = exports.serializeAws_restJson1GetAssociatedResourceCommand = exports.serializeAws_restJson1GetApplicationCommand = exports.serializeAws_restJson1DisassociateResourceCommand = exports.serializeAws_restJson1DisassociateAttributeGroupCommand = exports.serializeAws_restJson1DeleteAttributeGroupCommand = exports.serializeAws_restJson1DeleteApplicationCommand = exports.serializeAws_restJson1CreateAttributeGroupCommand = exports.serializeAws_restJson1CreateApplicationCommand = exports.serializeAws_restJson1AssociateResourceCommand = exports.serializeAws_restJson1AssociateAttributeGroupCommand = void 0;
3
+ exports.de_UpdateAttributeGroupCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SyncResourceCommand = exports.de_PutConfigurationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListAttributeGroupsForApplicationCommand = exports.de_ListAttributeGroupsCommand = exports.de_ListAssociatedResourcesCommand = exports.de_ListAssociatedAttributeGroupsCommand = exports.de_ListApplicationsCommand = exports.de_GetConfigurationCommand = exports.de_GetAttributeGroupCommand = exports.de_GetAssociatedResourceCommand = exports.de_GetApplicationCommand = exports.de_DisassociateResourceCommand = exports.de_DisassociateAttributeGroupCommand = exports.de_DeleteAttributeGroupCommand = exports.de_DeleteApplicationCommand = exports.de_CreateAttributeGroupCommand = exports.de_CreateApplicationCommand = exports.de_AssociateResourceCommand = exports.de_AssociateAttributeGroupCommand = exports.se_UpdateAttributeGroupCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SyncResourceCommand = exports.se_PutConfigurationCommand = exports.se_ListTagsForResourceCommand = exports.se_ListAttributeGroupsForApplicationCommand = exports.se_ListAttributeGroupsCommand = exports.se_ListAssociatedResourcesCommand = exports.se_ListAssociatedAttributeGroupsCommand = exports.se_ListApplicationsCommand = exports.se_GetConfigurationCommand = exports.se_GetAttributeGroupCommand = exports.se_GetAssociatedResourceCommand = exports.se_GetApplicationCommand = exports.se_DisassociateResourceCommand = exports.se_DisassociateAttributeGroupCommand = exports.se_DeleteAttributeGroupCommand = exports.se_DeleteApplicationCommand = exports.se_CreateAttributeGroupCommand = exports.se_CreateApplicationCommand = exports.se_AssociateResourceCommand = exports.se_AssociateAttributeGroupCommand = 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 ServiceCatalogAppRegistryServiceException_1 = require("../models/ServiceCatalogAppRegistryServiceException");
9
- const serializeAws_restJson1AssociateAttributeGroupCommand = async (input, context) => {
9
+ const se_AssociateAttributeGroupCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {};
12
12
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -24,8 +24,8 @@ const serializeAws_restJson1AssociateAttributeGroupCommand = async (input, conte
24
24
  body,
25
25
  });
26
26
  };
27
- exports.serializeAws_restJson1AssociateAttributeGroupCommand = serializeAws_restJson1AssociateAttributeGroupCommand;
28
- const serializeAws_restJson1AssociateResourceCommand = async (input, context) => {
27
+ exports.se_AssociateAttributeGroupCommand = se_AssociateAttributeGroupCommand;
28
+ const se_AssociateResourceCommand = async (input, context) => {
29
29
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
30
30
  const headers = {};
31
31
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -44,8 +44,8 @@ const serializeAws_restJson1AssociateResourceCommand = async (input, context) =>
44
44
  body,
45
45
  });
46
46
  };
47
- exports.serializeAws_restJson1AssociateResourceCommand = serializeAws_restJson1AssociateResourceCommand;
48
- const serializeAws_restJson1CreateApplicationCommand = async (input, context) => {
47
+ exports.se_AssociateResourceCommand = se_AssociateResourceCommand;
48
+ const se_CreateApplicationCommand = async (input, context) => {
49
49
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
50
50
  const headers = {
51
51
  "content-type": "application/json",
@@ -56,7 +56,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
56
56
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
57
57
  ...(input.description != null && { description: input.description }),
58
58
  ...(input.name != null && { name: input.name }),
59
- ...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
59
+ ...(input.tags != null && { tags: se_Tags(input.tags, context) }),
60
60
  });
61
61
  return new protocol_http_1.HttpRequest({
62
62
  protocol,
@@ -68,8 +68,8 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
68
68
  body,
69
69
  });
70
70
  };
71
- exports.serializeAws_restJson1CreateApplicationCommand = serializeAws_restJson1CreateApplicationCommand;
72
- const serializeAws_restJson1CreateAttributeGroupCommand = async (input, context) => {
71
+ exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
72
+ const se_CreateAttributeGroupCommand = async (input, context) => {
73
73
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
74
74
  const headers = {
75
75
  "content-type": "application/json",
@@ -81,7 +81,7 @@ const serializeAws_restJson1CreateAttributeGroupCommand = async (input, context)
81
81
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
82
82
  ...(input.description != null && { description: input.description }),
83
83
  ...(input.name != null && { name: input.name }),
84
- ...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
84
+ ...(input.tags != null && { tags: se_Tags(input.tags, context) }),
85
85
  });
86
86
  return new protocol_http_1.HttpRequest({
87
87
  protocol,
@@ -93,8 +93,8 @@ const serializeAws_restJson1CreateAttributeGroupCommand = async (input, context)
93
93
  body,
94
94
  });
95
95
  };
96
- exports.serializeAws_restJson1CreateAttributeGroupCommand = serializeAws_restJson1CreateAttributeGroupCommand;
97
- const serializeAws_restJson1DeleteApplicationCommand = async (input, context) => {
96
+ exports.se_CreateAttributeGroupCommand = se_CreateAttributeGroupCommand;
97
+ const se_DeleteApplicationCommand = async (input, context) => {
98
98
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
99
99
  const headers = {};
100
100
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{application}";
@@ -110,8 +110,8 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
110
110
  body,
111
111
  });
112
112
  };
113
- exports.serializeAws_restJson1DeleteApplicationCommand = serializeAws_restJson1DeleteApplicationCommand;
114
- const serializeAws_restJson1DeleteAttributeGroupCommand = async (input, context) => {
113
+ exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
114
+ const se_DeleteAttributeGroupCommand = async (input, context) => {
115
115
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
116
116
  const headers = {};
117
117
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/attribute-groups/{attributeGroup}";
@@ -127,8 +127,8 @@ const serializeAws_restJson1DeleteAttributeGroupCommand = async (input, context)
127
127
  body,
128
128
  });
129
129
  };
130
- exports.serializeAws_restJson1DeleteAttributeGroupCommand = serializeAws_restJson1DeleteAttributeGroupCommand;
131
- const serializeAws_restJson1DisassociateAttributeGroupCommand = async (input, context) => {
130
+ exports.se_DeleteAttributeGroupCommand = se_DeleteAttributeGroupCommand;
131
+ const se_DisassociateAttributeGroupCommand = async (input, context) => {
132
132
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
133
133
  const headers = {};
134
134
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -146,8 +146,8 @@ const serializeAws_restJson1DisassociateAttributeGroupCommand = async (input, co
146
146
  body,
147
147
  });
148
148
  };
149
- exports.serializeAws_restJson1DisassociateAttributeGroupCommand = serializeAws_restJson1DisassociateAttributeGroupCommand;
150
- const serializeAws_restJson1DisassociateResourceCommand = async (input, context) => {
149
+ exports.se_DisassociateAttributeGroupCommand = se_DisassociateAttributeGroupCommand;
150
+ const se_DisassociateResourceCommand = async (input, context) => {
151
151
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
152
152
  const headers = {};
153
153
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -166,8 +166,8 @@ const serializeAws_restJson1DisassociateResourceCommand = async (input, context)
166
166
  body,
167
167
  });
168
168
  };
169
- exports.serializeAws_restJson1DisassociateResourceCommand = serializeAws_restJson1DisassociateResourceCommand;
170
- const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
169
+ exports.se_DisassociateResourceCommand = se_DisassociateResourceCommand;
170
+ const se_GetApplicationCommand = async (input, context) => {
171
171
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
172
172
  const headers = {};
173
173
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{application}";
@@ -183,8 +183,8 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
183
183
  body,
184
184
  });
185
185
  };
186
- exports.serializeAws_restJson1GetApplicationCommand = serializeAws_restJson1GetApplicationCommand;
187
- const serializeAws_restJson1GetAssociatedResourceCommand = async (input, context) => {
186
+ exports.se_GetApplicationCommand = se_GetApplicationCommand;
187
+ const se_GetAssociatedResourceCommand = async (input, context) => {
188
188
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
189
189
  const headers = {};
190
190
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -203,8 +203,8 @@ const serializeAws_restJson1GetAssociatedResourceCommand = async (input, context
203
203
  body,
204
204
  });
205
205
  };
206
- exports.serializeAws_restJson1GetAssociatedResourceCommand = serializeAws_restJson1GetAssociatedResourceCommand;
207
- const serializeAws_restJson1GetAttributeGroupCommand = async (input, context) => {
206
+ exports.se_GetAssociatedResourceCommand = se_GetAssociatedResourceCommand;
207
+ const se_GetAttributeGroupCommand = async (input, context) => {
208
208
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
209
209
  const headers = {};
210
210
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/attribute-groups/{attributeGroup}";
@@ -220,8 +220,8 @@ const serializeAws_restJson1GetAttributeGroupCommand = async (input, context) =>
220
220
  body,
221
221
  });
222
222
  };
223
- exports.serializeAws_restJson1GetAttributeGroupCommand = serializeAws_restJson1GetAttributeGroupCommand;
224
- const serializeAws_restJson1GetConfigurationCommand = async (input, context) => {
223
+ exports.se_GetAttributeGroupCommand = se_GetAttributeGroupCommand;
224
+ const se_GetConfigurationCommand = async (input, context) => {
225
225
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
226
226
  const headers = {
227
227
  "content-type": "application/json",
@@ -239,8 +239,8 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
239
239
  body,
240
240
  });
241
241
  };
242
- exports.serializeAws_restJson1GetConfigurationCommand = serializeAws_restJson1GetConfigurationCommand;
243
- const serializeAws_restJson1ListApplicationsCommand = async (input, context) => {
242
+ exports.se_GetConfigurationCommand = se_GetConfigurationCommand;
243
+ const se_ListApplicationsCommand = async (input, context) => {
244
244
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
245
245
  const headers = {};
246
246
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
@@ -260,8 +260,8 @@ const serializeAws_restJson1ListApplicationsCommand = async (input, context) =>
260
260
  body,
261
261
  });
262
262
  };
263
- exports.serializeAws_restJson1ListApplicationsCommand = serializeAws_restJson1ListApplicationsCommand;
264
- const serializeAws_restJson1ListAssociatedAttributeGroupsCommand = async (input, context) => {
263
+ exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
264
+ const se_ListAssociatedAttributeGroupsCommand = async (input, context) => {
265
265
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
266
266
  const headers = {};
267
267
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -283,8 +283,8 @@ const serializeAws_restJson1ListAssociatedAttributeGroupsCommand = async (input,
283
283
  body,
284
284
  });
285
285
  };
286
- exports.serializeAws_restJson1ListAssociatedAttributeGroupsCommand = serializeAws_restJson1ListAssociatedAttributeGroupsCommand;
287
- const serializeAws_restJson1ListAssociatedResourcesCommand = async (input, context) => {
286
+ exports.se_ListAssociatedAttributeGroupsCommand = se_ListAssociatedAttributeGroupsCommand;
287
+ const se_ListAssociatedResourcesCommand = async (input, context) => {
288
288
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
289
289
  const headers = {};
290
290
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{application}/resources";
@@ -305,8 +305,8 @@ const serializeAws_restJson1ListAssociatedResourcesCommand = async (input, conte
305
305
  body,
306
306
  });
307
307
  };
308
- exports.serializeAws_restJson1ListAssociatedResourcesCommand = serializeAws_restJson1ListAssociatedResourcesCommand;
309
- const serializeAws_restJson1ListAttributeGroupsCommand = async (input, context) => {
308
+ exports.se_ListAssociatedResourcesCommand = se_ListAssociatedResourcesCommand;
309
+ const se_ListAttributeGroupsCommand = async (input, context) => {
310
310
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
311
311
  const headers = {};
312
312
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/attribute-groups";
@@ -326,8 +326,8 @@ const serializeAws_restJson1ListAttributeGroupsCommand = async (input, context)
326
326
  body,
327
327
  });
328
328
  };
329
- exports.serializeAws_restJson1ListAttributeGroupsCommand = serializeAws_restJson1ListAttributeGroupsCommand;
330
- const serializeAws_restJson1ListAttributeGroupsForApplicationCommand = async (input, context) => {
329
+ exports.se_ListAttributeGroupsCommand = se_ListAttributeGroupsCommand;
330
+ const se_ListAttributeGroupsForApplicationCommand = async (input, context) => {
331
331
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
332
332
  const headers = {};
333
333
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -349,8 +349,8 @@ const serializeAws_restJson1ListAttributeGroupsForApplicationCommand = async (in
349
349
  body,
350
350
  });
351
351
  };
352
- exports.serializeAws_restJson1ListAttributeGroupsForApplicationCommand = serializeAws_restJson1ListAttributeGroupsForApplicationCommand;
353
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
352
+ exports.se_ListAttributeGroupsForApplicationCommand = se_ListAttributeGroupsForApplicationCommand;
353
+ const se_ListTagsForResourceCommand = async (input, context) => {
354
354
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
355
355
  const headers = {};
356
356
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -366,8 +366,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
366
366
  body,
367
367
  });
368
368
  };
369
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
370
- const serializeAws_restJson1PutConfigurationCommand = async (input, context) => {
369
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
370
+ const se_PutConfigurationCommand = async (input, context) => {
371
371
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
372
372
  const headers = {
373
373
  "content-type": "application/json",
@@ -375,9 +375,7 @@ const serializeAws_restJson1PutConfigurationCommand = async (input, context) =>
375
375
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration";
376
376
  let body;
377
377
  body = JSON.stringify({
378
- ...(input.configuration != null && {
379
- configuration: serializeAws_restJson1AppRegistryConfiguration(input.configuration, context),
380
- }),
378
+ ...(input.configuration != null && { configuration: se_AppRegistryConfiguration(input.configuration, context) }),
381
379
  });
382
380
  return new protocol_http_1.HttpRequest({
383
381
  protocol,
@@ -389,8 +387,8 @@ const serializeAws_restJson1PutConfigurationCommand = async (input, context) =>
389
387
  body,
390
388
  });
391
389
  };
392
- exports.serializeAws_restJson1PutConfigurationCommand = serializeAws_restJson1PutConfigurationCommand;
393
- const serializeAws_restJson1SyncResourceCommand = async (input, context) => {
390
+ exports.se_PutConfigurationCommand = se_PutConfigurationCommand;
391
+ const se_SyncResourceCommand = async (input, context) => {
394
392
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
395
393
  const headers = {};
396
394
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sync/{resourceType}/{resource}";
@@ -407,8 +405,8 @@ const serializeAws_restJson1SyncResourceCommand = async (input, context) => {
407
405
  body,
408
406
  });
409
407
  };
410
- exports.serializeAws_restJson1SyncResourceCommand = serializeAws_restJson1SyncResourceCommand;
411
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
408
+ exports.se_SyncResourceCommand = se_SyncResourceCommand;
409
+ const se_TagResourceCommand = async (input, context) => {
412
410
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
413
411
  const headers = {
414
412
  "content-type": "application/json",
@@ -417,7 +415,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
417
415
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
418
416
  let body;
419
417
  body = JSON.stringify({
420
- ...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
418
+ ...(input.tags != null && { tags: se_Tags(input.tags, context) }),
421
419
  });
422
420
  return new protocol_http_1.HttpRequest({
423
421
  protocol,
@@ -429,8 +427,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
429
427
  body,
430
428
  });
431
429
  };
432
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
433
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
430
+ exports.se_TagResourceCommand = se_TagResourceCommand;
431
+ const se_UntagResourceCommand = async (input, context) => {
434
432
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
435
433
  const headers = {};
436
434
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -453,8 +451,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
453
451
  body,
454
452
  });
455
453
  };
456
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
457
- const serializeAws_restJson1UpdateApplicationCommand = async (input, context) => {
454
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
455
+ const se_UpdateApplicationCommand = async (input, context) => {
458
456
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
459
457
  const headers = {
460
458
  "content-type": "application/json",
@@ -476,8 +474,8 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
476
474
  body,
477
475
  });
478
476
  };
479
- exports.serializeAws_restJson1UpdateApplicationCommand = serializeAws_restJson1UpdateApplicationCommand;
480
- const serializeAws_restJson1UpdateAttributeGroupCommand = async (input, context) => {
477
+ exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
478
+ const se_UpdateAttributeGroupCommand = async (input, context) => {
481
479
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
482
480
  const headers = {
483
481
  "content-type": "application/json",
@@ -500,10 +498,10 @@ const serializeAws_restJson1UpdateAttributeGroupCommand = async (input, context)
500
498
  body,
501
499
  });
502
500
  };
503
- exports.serializeAws_restJson1UpdateAttributeGroupCommand = serializeAws_restJson1UpdateAttributeGroupCommand;
504
- const deserializeAws_restJson1AssociateAttributeGroupCommand = async (output, context) => {
501
+ exports.se_UpdateAttributeGroupCommand = se_UpdateAttributeGroupCommand;
502
+ const de_AssociateAttributeGroupCommand = async (output, context) => {
505
503
  if (output.statusCode !== 200 && output.statusCode >= 300) {
506
- return deserializeAws_restJson1AssociateAttributeGroupCommandError(output, context);
504
+ return de_AssociateAttributeGroupCommandError(output, context);
507
505
  }
508
506
  const contents = map({
509
507
  $metadata: deserializeMetadata(output),
@@ -517,8 +515,8 @@ const deserializeAws_restJson1AssociateAttributeGroupCommand = async (output, co
517
515
  }
518
516
  return contents;
519
517
  };
520
- exports.deserializeAws_restJson1AssociateAttributeGroupCommand = deserializeAws_restJson1AssociateAttributeGroupCommand;
521
- const deserializeAws_restJson1AssociateAttributeGroupCommandError = async (output, context) => {
518
+ exports.de_AssociateAttributeGroupCommand = de_AssociateAttributeGroupCommand;
519
+ const de_AssociateAttributeGroupCommandError = async (output, context) => {
522
520
  const parsedOutput = {
523
521
  ...output,
524
522
  body: await parseErrorBody(output.body, context),
@@ -527,19 +525,19 @@ const deserializeAws_restJson1AssociateAttributeGroupCommandError = async (outpu
527
525
  switch (errorCode) {
528
526
  case "ConflictException":
529
527
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
530
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
528
+ throw await de_ConflictExceptionRes(parsedOutput, context);
531
529
  case "InternalServerException":
532
530
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
533
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
531
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
534
532
  case "ResourceNotFoundException":
535
533
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
536
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
534
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
537
535
  case "ServiceQuotaExceededException":
538
536
  case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException":
539
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
537
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
540
538
  case "ValidationException":
541
539
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
542
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
540
+ throw await de_ValidationExceptionRes(parsedOutput, context);
543
541
  default:
544
542
  const parsedBody = parsedOutput.body;
545
543
  (0, smithy_client_1.throwDefaultError)({
@@ -550,9 +548,9 @@ const deserializeAws_restJson1AssociateAttributeGroupCommandError = async (outpu
550
548
  });
551
549
  }
552
550
  };
553
- const deserializeAws_restJson1AssociateResourceCommand = async (output, context) => {
551
+ const de_AssociateResourceCommand = async (output, context) => {
554
552
  if (output.statusCode !== 200 && output.statusCode >= 300) {
555
- return deserializeAws_restJson1AssociateResourceCommandError(output, context);
553
+ return de_AssociateResourceCommandError(output, context);
556
554
  }
557
555
  const contents = map({
558
556
  $metadata: deserializeMetadata(output),
@@ -566,8 +564,8 @@ const deserializeAws_restJson1AssociateResourceCommand = async (output, context)
566
564
  }
567
565
  return contents;
568
566
  };
569
- exports.deserializeAws_restJson1AssociateResourceCommand = deserializeAws_restJson1AssociateResourceCommand;
570
- const deserializeAws_restJson1AssociateResourceCommandError = async (output, context) => {
567
+ exports.de_AssociateResourceCommand = de_AssociateResourceCommand;
568
+ const de_AssociateResourceCommandError = async (output, context) => {
571
569
  const parsedOutput = {
572
570
  ...output,
573
571
  body: await parseErrorBody(output.body, context),
@@ -576,22 +574,22 @@ const deserializeAws_restJson1AssociateResourceCommandError = async (output, con
576
574
  switch (errorCode) {
577
575
  case "ConflictException":
578
576
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
579
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
577
+ throw await de_ConflictExceptionRes(parsedOutput, context);
580
578
  case "InternalServerException":
581
579
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
582
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
580
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
583
581
  case "ResourceNotFoundException":
584
582
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
585
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
583
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
586
584
  case "ServiceQuotaExceededException":
587
585
  case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException":
588
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
586
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
589
587
  case "ThrottlingException":
590
588
  case "com.amazonaws.servicecatalogappregistry#ThrottlingException":
591
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
589
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
592
590
  case "ValidationException":
593
591
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
594
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
592
+ throw await de_ValidationExceptionRes(parsedOutput, context);
595
593
  default:
596
594
  const parsedBody = parsedOutput.body;
597
595
  (0, smithy_client_1.throwDefaultError)({
@@ -602,21 +600,21 @@ const deserializeAws_restJson1AssociateResourceCommandError = async (output, con
602
600
  });
603
601
  }
604
602
  };
605
- const deserializeAws_restJson1CreateApplicationCommand = async (output, context) => {
603
+ const de_CreateApplicationCommand = async (output, context) => {
606
604
  if (output.statusCode !== 201 && output.statusCode >= 300) {
607
- return deserializeAws_restJson1CreateApplicationCommandError(output, context);
605
+ return de_CreateApplicationCommandError(output, context);
608
606
  }
609
607
  const contents = map({
610
608
  $metadata: deserializeMetadata(output),
611
609
  });
612
610
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
613
611
  if (data.application != null) {
614
- contents.application = deserializeAws_restJson1Application(data.application, context);
612
+ contents.application = de_Application(data.application, context);
615
613
  }
616
614
  return contents;
617
615
  };
618
- exports.deserializeAws_restJson1CreateApplicationCommand = deserializeAws_restJson1CreateApplicationCommand;
619
- const deserializeAws_restJson1CreateApplicationCommandError = async (output, context) => {
616
+ exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
617
+ const de_CreateApplicationCommandError = async (output, context) => {
620
618
  const parsedOutput = {
621
619
  ...output,
622
620
  body: await parseErrorBody(output.body, context),
@@ -625,19 +623,19 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
625
623
  switch (errorCode) {
626
624
  case "ConflictException":
627
625
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
628
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
626
+ throw await de_ConflictExceptionRes(parsedOutput, context);
629
627
  case "InternalServerException":
630
628
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
631
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
629
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
632
630
  case "ServiceQuotaExceededException":
633
631
  case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException":
634
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
632
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
635
633
  case "ThrottlingException":
636
634
  case "com.amazonaws.servicecatalogappregistry#ThrottlingException":
637
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
635
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
638
636
  case "ValidationException":
639
637
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
640
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
638
+ throw await de_ValidationExceptionRes(parsedOutput, context);
641
639
  default:
642
640
  const parsedBody = parsedOutput.body;
643
641
  (0, smithy_client_1.throwDefaultError)({
@@ -648,21 +646,21 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
648
646
  });
649
647
  }
650
648
  };
651
- const deserializeAws_restJson1CreateAttributeGroupCommand = async (output, context) => {
649
+ const de_CreateAttributeGroupCommand = async (output, context) => {
652
650
  if (output.statusCode !== 201 && output.statusCode >= 300) {
653
- return deserializeAws_restJson1CreateAttributeGroupCommandError(output, context);
651
+ return de_CreateAttributeGroupCommandError(output, context);
654
652
  }
655
653
  const contents = map({
656
654
  $metadata: deserializeMetadata(output),
657
655
  });
658
656
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
659
657
  if (data.attributeGroup != null) {
660
- contents.attributeGroup = deserializeAws_restJson1AttributeGroup(data.attributeGroup, context);
658
+ contents.attributeGroup = de_AttributeGroup(data.attributeGroup, context);
661
659
  }
662
660
  return contents;
663
661
  };
664
- exports.deserializeAws_restJson1CreateAttributeGroupCommand = deserializeAws_restJson1CreateAttributeGroupCommand;
665
- const deserializeAws_restJson1CreateAttributeGroupCommandError = async (output, context) => {
662
+ exports.de_CreateAttributeGroupCommand = de_CreateAttributeGroupCommand;
663
+ const de_CreateAttributeGroupCommandError = async (output, context) => {
666
664
  const parsedOutput = {
667
665
  ...output,
668
666
  body: await parseErrorBody(output.body, context),
@@ -671,16 +669,16 @@ const deserializeAws_restJson1CreateAttributeGroupCommandError = async (output,
671
669
  switch (errorCode) {
672
670
  case "ConflictException":
673
671
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
674
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
672
+ throw await de_ConflictExceptionRes(parsedOutput, context);
675
673
  case "InternalServerException":
676
674
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
677
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
675
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
678
676
  case "ServiceQuotaExceededException":
679
677
  case "com.amazonaws.servicecatalogappregistry#ServiceQuotaExceededException":
680
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
678
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
681
679
  case "ValidationException":
682
680
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
683
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
681
+ throw await de_ValidationExceptionRes(parsedOutput, context);
684
682
  default:
685
683
  const parsedBody = parsedOutput.body;
686
684
  (0, smithy_client_1.throwDefaultError)({
@@ -691,21 +689,21 @@ const deserializeAws_restJson1CreateAttributeGroupCommandError = async (output,
691
689
  });
692
690
  }
693
691
  };
694
- const deserializeAws_restJson1DeleteApplicationCommand = async (output, context) => {
692
+ const de_DeleteApplicationCommand = async (output, context) => {
695
693
  if (output.statusCode !== 200 && output.statusCode >= 300) {
696
- return deserializeAws_restJson1DeleteApplicationCommandError(output, context);
694
+ return de_DeleteApplicationCommandError(output, context);
697
695
  }
698
696
  const contents = map({
699
697
  $metadata: deserializeMetadata(output),
700
698
  });
701
699
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
702
700
  if (data.application != null) {
703
- contents.application = deserializeAws_restJson1ApplicationSummary(data.application, context);
701
+ contents.application = de_ApplicationSummary(data.application, context);
704
702
  }
705
703
  return contents;
706
704
  };
707
- exports.deserializeAws_restJson1DeleteApplicationCommand = deserializeAws_restJson1DeleteApplicationCommand;
708
- const deserializeAws_restJson1DeleteApplicationCommandError = async (output, context) => {
705
+ exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
706
+ const de_DeleteApplicationCommandError = async (output, context) => {
709
707
  const parsedOutput = {
710
708
  ...output,
711
709
  body: await parseErrorBody(output.body, context),
@@ -714,13 +712,13 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
714
712
  switch (errorCode) {
715
713
  case "InternalServerException":
716
714
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
717
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
715
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
718
716
  case "ResourceNotFoundException":
719
717
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
720
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
718
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
721
719
  case "ValidationException":
722
720
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
723
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
721
+ throw await de_ValidationExceptionRes(parsedOutput, context);
724
722
  default:
725
723
  const parsedBody = parsedOutput.body;
726
724
  (0, smithy_client_1.throwDefaultError)({
@@ -731,21 +729,21 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
731
729
  });
732
730
  }
733
731
  };
734
- const deserializeAws_restJson1DeleteAttributeGroupCommand = async (output, context) => {
732
+ const de_DeleteAttributeGroupCommand = async (output, context) => {
735
733
  if (output.statusCode !== 200 && output.statusCode >= 300) {
736
- return deserializeAws_restJson1DeleteAttributeGroupCommandError(output, context);
734
+ return de_DeleteAttributeGroupCommandError(output, context);
737
735
  }
738
736
  const contents = map({
739
737
  $metadata: deserializeMetadata(output),
740
738
  });
741
739
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
742
740
  if (data.attributeGroup != null) {
743
- contents.attributeGroup = deserializeAws_restJson1AttributeGroupSummary(data.attributeGroup, context);
741
+ contents.attributeGroup = de_AttributeGroupSummary(data.attributeGroup, context);
744
742
  }
745
743
  return contents;
746
744
  };
747
- exports.deserializeAws_restJson1DeleteAttributeGroupCommand = deserializeAws_restJson1DeleteAttributeGroupCommand;
748
- const deserializeAws_restJson1DeleteAttributeGroupCommandError = async (output, context) => {
745
+ exports.de_DeleteAttributeGroupCommand = de_DeleteAttributeGroupCommand;
746
+ const de_DeleteAttributeGroupCommandError = async (output, context) => {
749
747
  const parsedOutput = {
750
748
  ...output,
751
749
  body: await parseErrorBody(output.body, context),
@@ -754,13 +752,13 @@ const deserializeAws_restJson1DeleteAttributeGroupCommandError = async (output,
754
752
  switch (errorCode) {
755
753
  case "InternalServerException":
756
754
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
757
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
755
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
758
756
  case "ResourceNotFoundException":
759
757
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
760
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
758
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
761
759
  case "ValidationException":
762
760
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
763
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
761
+ throw await de_ValidationExceptionRes(parsedOutput, context);
764
762
  default:
765
763
  const parsedBody = parsedOutput.body;
766
764
  (0, smithy_client_1.throwDefaultError)({
@@ -771,9 +769,9 @@ const deserializeAws_restJson1DeleteAttributeGroupCommandError = async (output,
771
769
  });
772
770
  }
773
771
  };
774
- const deserializeAws_restJson1DisassociateAttributeGroupCommand = async (output, context) => {
772
+ const de_DisassociateAttributeGroupCommand = async (output, context) => {
775
773
  if (output.statusCode !== 200 && output.statusCode >= 300) {
776
- return deserializeAws_restJson1DisassociateAttributeGroupCommandError(output, context);
774
+ return de_DisassociateAttributeGroupCommandError(output, context);
777
775
  }
778
776
  const contents = map({
779
777
  $metadata: deserializeMetadata(output),
@@ -787,8 +785,8 @@ const deserializeAws_restJson1DisassociateAttributeGroupCommand = async (output,
787
785
  }
788
786
  return contents;
789
787
  };
790
- exports.deserializeAws_restJson1DisassociateAttributeGroupCommand = deserializeAws_restJson1DisassociateAttributeGroupCommand;
791
- const deserializeAws_restJson1DisassociateAttributeGroupCommandError = async (output, context) => {
788
+ exports.de_DisassociateAttributeGroupCommand = de_DisassociateAttributeGroupCommand;
789
+ const de_DisassociateAttributeGroupCommandError = async (output, context) => {
792
790
  const parsedOutput = {
793
791
  ...output,
794
792
  body: await parseErrorBody(output.body, context),
@@ -797,13 +795,13 @@ const deserializeAws_restJson1DisassociateAttributeGroupCommandError = async (ou
797
795
  switch (errorCode) {
798
796
  case "InternalServerException":
799
797
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
800
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
798
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
801
799
  case "ResourceNotFoundException":
802
800
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
803
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
801
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
804
802
  case "ValidationException":
805
803
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
806
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
804
+ throw await de_ValidationExceptionRes(parsedOutput, context);
807
805
  default:
808
806
  const parsedBody = parsedOutput.body;
809
807
  (0, smithy_client_1.throwDefaultError)({
@@ -814,9 +812,9 @@ const deserializeAws_restJson1DisassociateAttributeGroupCommandError = async (ou
814
812
  });
815
813
  }
816
814
  };
817
- const deserializeAws_restJson1DisassociateResourceCommand = async (output, context) => {
815
+ const de_DisassociateResourceCommand = async (output, context) => {
818
816
  if (output.statusCode !== 200 && output.statusCode >= 300) {
819
- return deserializeAws_restJson1DisassociateResourceCommandError(output, context);
817
+ return de_DisassociateResourceCommandError(output, context);
820
818
  }
821
819
  const contents = map({
822
820
  $metadata: deserializeMetadata(output),
@@ -830,8 +828,8 @@ const deserializeAws_restJson1DisassociateResourceCommand = async (output, conte
830
828
  }
831
829
  return contents;
832
830
  };
833
- exports.deserializeAws_restJson1DisassociateResourceCommand = deserializeAws_restJson1DisassociateResourceCommand;
834
- const deserializeAws_restJson1DisassociateResourceCommandError = async (output, context) => {
831
+ exports.de_DisassociateResourceCommand = de_DisassociateResourceCommand;
832
+ const de_DisassociateResourceCommandError = async (output, context) => {
835
833
  const parsedOutput = {
836
834
  ...output,
837
835
  body: await parseErrorBody(output.body, context),
@@ -840,16 +838,16 @@ const deserializeAws_restJson1DisassociateResourceCommandError = async (output,
840
838
  switch (errorCode) {
841
839
  case "InternalServerException":
842
840
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
843
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
841
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
844
842
  case "ResourceNotFoundException":
845
843
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
846
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
844
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
847
845
  case "ThrottlingException":
848
846
  case "com.amazonaws.servicecatalogappregistry#ThrottlingException":
849
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
847
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
850
848
  case "ValidationException":
851
849
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
852
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
850
+ throw await de_ValidationExceptionRes(parsedOutput, context);
853
851
  default:
854
852
  const parsedBody = parsedOutput.body;
855
853
  (0, smithy_client_1.throwDefaultError)({
@@ -860,9 +858,9 @@ const deserializeAws_restJson1DisassociateResourceCommandError = async (output,
860
858
  });
861
859
  }
862
860
  };
863
- const deserializeAws_restJson1GetApplicationCommand = async (output, context) => {
861
+ const de_GetApplicationCommand = async (output, context) => {
864
862
  if (output.statusCode !== 200 && output.statusCode >= 300) {
865
- return deserializeAws_restJson1GetApplicationCommandError(output, context);
863
+ return de_GetApplicationCommandError(output, context);
866
864
  }
867
865
  const contents = map({
868
866
  $metadata: deserializeMetadata(output),
@@ -884,7 +882,7 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
884
882
  contents.id = (0, smithy_client_1.expectString)(data.id);
885
883
  }
886
884
  if (data.integrations != null) {
887
- contents.integrations = deserializeAws_restJson1Integrations(data.integrations, context);
885
+ contents.integrations = de_Integrations(data.integrations, context);
888
886
  }
889
887
  if (data.lastUpdateTime != null) {
890
888
  contents.lastUpdateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdateTime));
@@ -893,12 +891,12 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
893
891
  contents.name = (0, smithy_client_1.expectString)(data.name);
894
892
  }
895
893
  if (data.tags != null) {
896
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
894
+ contents.tags = de_Tags(data.tags, context);
897
895
  }
898
896
  return contents;
899
897
  };
900
- exports.deserializeAws_restJson1GetApplicationCommand = deserializeAws_restJson1GetApplicationCommand;
901
- const deserializeAws_restJson1GetApplicationCommandError = async (output, context) => {
898
+ exports.de_GetApplicationCommand = de_GetApplicationCommand;
899
+ const de_GetApplicationCommandError = async (output, context) => {
902
900
  const parsedOutput = {
903
901
  ...output,
904
902
  body: await parseErrorBody(output.body, context),
@@ -907,16 +905,16 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
907
905
  switch (errorCode) {
908
906
  case "ConflictException":
909
907
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
910
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
908
+ throw await de_ConflictExceptionRes(parsedOutput, context);
911
909
  case "InternalServerException":
912
910
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
913
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
911
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
914
912
  case "ResourceNotFoundException":
915
913
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
916
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
914
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
917
915
  case "ValidationException":
918
916
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
919
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
917
+ throw await de_ValidationExceptionRes(parsedOutput, context);
920
918
  default:
921
919
  const parsedBody = parsedOutput.body;
922
920
  (0, smithy_client_1.throwDefaultError)({
@@ -927,21 +925,21 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
927
925
  });
928
926
  }
929
927
  };
930
- const deserializeAws_restJson1GetAssociatedResourceCommand = async (output, context) => {
928
+ const de_GetAssociatedResourceCommand = async (output, context) => {
931
929
  if (output.statusCode !== 200 && output.statusCode >= 300) {
932
- return deserializeAws_restJson1GetAssociatedResourceCommandError(output, context);
930
+ return de_GetAssociatedResourceCommandError(output, context);
933
931
  }
934
932
  const contents = map({
935
933
  $metadata: deserializeMetadata(output),
936
934
  });
937
935
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
938
936
  if (data.resource != null) {
939
- contents.resource = deserializeAws_restJson1Resource(data.resource, context);
937
+ contents.resource = de_Resource(data.resource, context);
940
938
  }
941
939
  return contents;
942
940
  };
943
- exports.deserializeAws_restJson1GetAssociatedResourceCommand = deserializeAws_restJson1GetAssociatedResourceCommand;
944
- const deserializeAws_restJson1GetAssociatedResourceCommandError = async (output, context) => {
941
+ exports.de_GetAssociatedResourceCommand = de_GetAssociatedResourceCommand;
942
+ const de_GetAssociatedResourceCommandError = async (output, context) => {
945
943
  const parsedOutput = {
946
944
  ...output,
947
945
  body: await parseErrorBody(output.body, context),
@@ -950,13 +948,13 @@ const deserializeAws_restJson1GetAssociatedResourceCommandError = async (output,
950
948
  switch (errorCode) {
951
949
  case "InternalServerException":
952
950
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
953
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
951
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
954
952
  case "ResourceNotFoundException":
955
953
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
956
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
954
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
957
955
  case "ValidationException":
958
956
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
959
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
957
+ throw await de_ValidationExceptionRes(parsedOutput, context);
960
958
  default:
961
959
  const parsedBody = parsedOutput.body;
962
960
  (0, smithy_client_1.throwDefaultError)({
@@ -967,9 +965,9 @@ const deserializeAws_restJson1GetAssociatedResourceCommandError = async (output,
967
965
  });
968
966
  }
969
967
  };
970
- const deserializeAws_restJson1GetAttributeGroupCommand = async (output, context) => {
968
+ const de_GetAttributeGroupCommand = async (output, context) => {
971
969
  if (output.statusCode !== 200 && output.statusCode >= 300) {
972
- return deserializeAws_restJson1GetAttributeGroupCommandError(output, context);
970
+ return de_GetAttributeGroupCommandError(output, context);
973
971
  }
974
972
  const contents = map({
975
973
  $metadata: deserializeMetadata(output),
@@ -1000,12 +998,12 @@ const deserializeAws_restJson1GetAttributeGroupCommand = async (output, context)
1000
998
  contents.name = (0, smithy_client_1.expectString)(data.name);
1001
999
  }
1002
1000
  if (data.tags != null) {
1003
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
1001
+ contents.tags = de_Tags(data.tags, context);
1004
1002
  }
1005
1003
  return contents;
1006
1004
  };
1007
- exports.deserializeAws_restJson1GetAttributeGroupCommand = deserializeAws_restJson1GetAttributeGroupCommand;
1008
- const deserializeAws_restJson1GetAttributeGroupCommandError = async (output, context) => {
1005
+ exports.de_GetAttributeGroupCommand = de_GetAttributeGroupCommand;
1006
+ const de_GetAttributeGroupCommandError = async (output, context) => {
1009
1007
  const parsedOutput = {
1010
1008
  ...output,
1011
1009
  body: await parseErrorBody(output.body, context),
@@ -1014,16 +1012,16 @@ const deserializeAws_restJson1GetAttributeGroupCommandError = async (output, con
1014
1012
  switch (errorCode) {
1015
1013
  case "ConflictException":
1016
1014
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
1017
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1015
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1018
1016
  case "InternalServerException":
1019
1017
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1020
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1018
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1021
1019
  case "ResourceNotFoundException":
1022
1020
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1023
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1021
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1024
1022
  case "ValidationException":
1025
1023
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1026
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1024
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1027
1025
  default:
1028
1026
  const parsedBody = parsedOutput.body;
1029
1027
  (0, smithy_client_1.throwDefaultError)({
@@ -1034,21 +1032,21 @@ const deserializeAws_restJson1GetAttributeGroupCommandError = async (output, con
1034
1032
  });
1035
1033
  }
1036
1034
  };
1037
- const deserializeAws_restJson1GetConfigurationCommand = async (output, context) => {
1035
+ const de_GetConfigurationCommand = async (output, context) => {
1038
1036
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1039
- return deserializeAws_restJson1GetConfigurationCommandError(output, context);
1037
+ return de_GetConfigurationCommandError(output, context);
1040
1038
  }
1041
1039
  const contents = map({
1042
1040
  $metadata: deserializeMetadata(output),
1043
1041
  });
1044
1042
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1045
1043
  if (data.configuration != null) {
1046
- contents.configuration = deserializeAws_restJson1AppRegistryConfiguration(data.configuration, context);
1044
+ contents.configuration = de_AppRegistryConfiguration(data.configuration, context);
1047
1045
  }
1048
1046
  return contents;
1049
1047
  };
1050
- exports.deserializeAws_restJson1GetConfigurationCommand = deserializeAws_restJson1GetConfigurationCommand;
1051
- const deserializeAws_restJson1GetConfigurationCommandError = async (output, context) => {
1048
+ exports.de_GetConfigurationCommand = de_GetConfigurationCommand;
1049
+ const de_GetConfigurationCommandError = async (output, context) => {
1052
1050
  const parsedOutput = {
1053
1051
  ...output,
1054
1052
  body: await parseErrorBody(output.body, context),
@@ -1057,7 +1055,7 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (output, cont
1057
1055
  switch (errorCode) {
1058
1056
  case "InternalServerException":
1059
1057
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1060
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1058
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1061
1059
  default:
1062
1060
  const parsedBody = parsedOutput.body;
1063
1061
  (0, smithy_client_1.throwDefaultError)({
@@ -1068,24 +1066,24 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (output, cont
1068
1066
  });
1069
1067
  }
1070
1068
  };
1071
- const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
1069
+ const de_ListApplicationsCommand = async (output, context) => {
1072
1070
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1073
- return deserializeAws_restJson1ListApplicationsCommandError(output, context);
1071
+ return de_ListApplicationsCommandError(output, context);
1074
1072
  }
1075
1073
  const contents = map({
1076
1074
  $metadata: deserializeMetadata(output),
1077
1075
  });
1078
1076
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1079
1077
  if (data.applications != null) {
1080
- contents.applications = deserializeAws_restJson1ApplicationSummaries(data.applications, context);
1078
+ contents.applications = de_ApplicationSummaries(data.applications, context);
1081
1079
  }
1082
1080
  if (data.nextToken != null) {
1083
1081
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1084
1082
  }
1085
1083
  return contents;
1086
1084
  };
1087
- exports.deserializeAws_restJson1ListApplicationsCommand = deserializeAws_restJson1ListApplicationsCommand;
1088
- const deserializeAws_restJson1ListApplicationsCommandError = async (output, context) => {
1085
+ exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
1086
+ const de_ListApplicationsCommandError = async (output, context) => {
1089
1087
  const parsedOutput = {
1090
1088
  ...output,
1091
1089
  body: await parseErrorBody(output.body, context),
@@ -1094,10 +1092,10 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
1094
1092
  switch (errorCode) {
1095
1093
  case "InternalServerException":
1096
1094
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1097
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1095
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1098
1096
  case "ValidationException":
1099
1097
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1100
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1098
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1101
1099
  default:
1102
1100
  const parsedBody = parsedOutput.body;
1103
1101
  (0, smithy_client_1.throwDefaultError)({
@@ -1108,24 +1106,24 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
1108
1106
  });
1109
1107
  }
1110
1108
  };
1111
- const deserializeAws_restJson1ListAssociatedAttributeGroupsCommand = async (output, context) => {
1109
+ const de_ListAssociatedAttributeGroupsCommand = async (output, context) => {
1112
1110
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1113
- return deserializeAws_restJson1ListAssociatedAttributeGroupsCommandError(output, context);
1111
+ return de_ListAssociatedAttributeGroupsCommandError(output, context);
1114
1112
  }
1115
1113
  const contents = map({
1116
1114
  $metadata: deserializeMetadata(output),
1117
1115
  });
1118
1116
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1119
1117
  if (data.attributeGroups != null) {
1120
- contents.attributeGroups = deserializeAws_restJson1AttributeGroupIds(data.attributeGroups, context);
1118
+ contents.attributeGroups = de_AttributeGroupIds(data.attributeGroups, context);
1121
1119
  }
1122
1120
  if (data.nextToken != null) {
1123
1121
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1124
1122
  }
1125
1123
  return contents;
1126
1124
  };
1127
- exports.deserializeAws_restJson1ListAssociatedAttributeGroupsCommand = deserializeAws_restJson1ListAssociatedAttributeGroupsCommand;
1128
- const deserializeAws_restJson1ListAssociatedAttributeGroupsCommandError = async (output, context) => {
1125
+ exports.de_ListAssociatedAttributeGroupsCommand = de_ListAssociatedAttributeGroupsCommand;
1126
+ const de_ListAssociatedAttributeGroupsCommandError = async (output, context) => {
1129
1127
  const parsedOutput = {
1130
1128
  ...output,
1131
1129
  body: await parseErrorBody(output.body, context),
@@ -1134,13 +1132,13 @@ const deserializeAws_restJson1ListAssociatedAttributeGroupsCommandError = async
1134
1132
  switch (errorCode) {
1135
1133
  case "InternalServerException":
1136
1134
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1137
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1135
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1138
1136
  case "ResourceNotFoundException":
1139
1137
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1140
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1138
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1141
1139
  case "ValidationException":
1142
1140
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1143
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1141
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1144
1142
  default:
1145
1143
  const parsedBody = parsedOutput.body;
1146
1144
  (0, smithy_client_1.throwDefaultError)({
@@ -1151,9 +1149,9 @@ const deserializeAws_restJson1ListAssociatedAttributeGroupsCommandError = async
1151
1149
  });
1152
1150
  }
1153
1151
  };
1154
- const deserializeAws_restJson1ListAssociatedResourcesCommand = async (output, context) => {
1152
+ const de_ListAssociatedResourcesCommand = async (output, context) => {
1155
1153
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1156
- return deserializeAws_restJson1ListAssociatedResourcesCommandError(output, context);
1154
+ return de_ListAssociatedResourcesCommandError(output, context);
1157
1155
  }
1158
1156
  const contents = map({
1159
1157
  $metadata: deserializeMetadata(output),
@@ -1163,12 +1161,12 @@ const deserializeAws_restJson1ListAssociatedResourcesCommand = async (output, co
1163
1161
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1164
1162
  }
1165
1163
  if (data.resources != null) {
1166
- contents.resources = deserializeAws_restJson1Resources(data.resources, context);
1164
+ contents.resources = de_Resources(data.resources, context);
1167
1165
  }
1168
1166
  return contents;
1169
1167
  };
1170
- exports.deserializeAws_restJson1ListAssociatedResourcesCommand = deserializeAws_restJson1ListAssociatedResourcesCommand;
1171
- const deserializeAws_restJson1ListAssociatedResourcesCommandError = async (output, context) => {
1168
+ exports.de_ListAssociatedResourcesCommand = de_ListAssociatedResourcesCommand;
1169
+ const de_ListAssociatedResourcesCommandError = async (output, context) => {
1172
1170
  const parsedOutput = {
1173
1171
  ...output,
1174
1172
  body: await parseErrorBody(output.body, context),
@@ -1177,13 +1175,13 @@ const deserializeAws_restJson1ListAssociatedResourcesCommandError = async (outpu
1177
1175
  switch (errorCode) {
1178
1176
  case "InternalServerException":
1179
1177
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1180
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1178
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1181
1179
  case "ResourceNotFoundException":
1182
1180
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1183
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1181
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1184
1182
  case "ValidationException":
1185
1183
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1186
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1184
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1187
1185
  default:
1188
1186
  const parsedBody = parsedOutput.body;
1189
1187
  (0, smithy_client_1.throwDefaultError)({
@@ -1194,24 +1192,24 @@ const deserializeAws_restJson1ListAssociatedResourcesCommandError = async (outpu
1194
1192
  });
1195
1193
  }
1196
1194
  };
1197
- const deserializeAws_restJson1ListAttributeGroupsCommand = async (output, context) => {
1195
+ const de_ListAttributeGroupsCommand = async (output, context) => {
1198
1196
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1199
- return deserializeAws_restJson1ListAttributeGroupsCommandError(output, context);
1197
+ return de_ListAttributeGroupsCommandError(output, context);
1200
1198
  }
1201
1199
  const contents = map({
1202
1200
  $metadata: deserializeMetadata(output),
1203
1201
  });
1204
1202
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1205
1203
  if (data.attributeGroups != null) {
1206
- contents.attributeGroups = deserializeAws_restJson1AttributeGroupSummaries(data.attributeGroups, context);
1204
+ contents.attributeGroups = de_AttributeGroupSummaries(data.attributeGroups, context);
1207
1205
  }
1208
1206
  if (data.nextToken != null) {
1209
1207
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1210
1208
  }
1211
1209
  return contents;
1212
1210
  };
1213
- exports.deserializeAws_restJson1ListAttributeGroupsCommand = deserializeAws_restJson1ListAttributeGroupsCommand;
1214
- const deserializeAws_restJson1ListAttributeGroupsCommandError = async (output, context) => {
1211
+ exports.de_ListAttributeGroupsCommand = de_ListAttributeGroupsCommand;
1212
+ const de_ListAttributeGroupsCommandError = async (output, context) => {
1215
1213
  const parsedOutput = {
1216
1214
  ...output,
1217
1215
  body: await parseErrorBody(output.body, context),
@@ -1220,10 +1218,10 @@ const deserializeAws_restJson1ListAttributeGroupsCommandError = async (output, c
1220
1218
  switch (errorCode) {
1221
1219
  case "InternalServerException":
1222
1220
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1223
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1221
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1224
1222
  case "ValidationException":
1225
1223
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1226
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1224
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1227
1225
  default:
1228
1226
  const parsedBody = parsedOutput.body;
1229
1227
  (0, smithy_client_1.throwDefaultError)({
@@ -1234,24 +1232,24 @@ const deserializeAws_restJson1ListAttributeGroupsCommandError = async (output, c
1234
1232
  });
1235
1233
  }
1236
1234
  };
1237
- const deserializeAws_restJson1ListAttributeGroupsForApplicationCommand = async (output, context) => {
1235
+ const de_ListAttributeGroupsForApplicationCommand = async (output, context) => {
1238
1236
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1239
- return deserializeAws_restJson1ListAttributeGroupsForApplicationCommandError(output, context);
1237
+ return de_ListAttributeGroupsForApplicationCommandError(output, context);
1240
1238
  }
1241
1239
  const contents = map({
1242
1240
  $metadata: deserializeMetadata(output),
1243
1241
  });
1244
1242
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1245
1243
  if (data.attributeGroupsDetails != null) {
1246
- contents.attributeGroupsDetails = deserializeAws_restJson1AttributeGroupDetailsList(data.attributeGroupsDetails, context);
1244
+ contents.attributeGroupsDetails = de_AttributeGroupDetailsList(data.attributeGroupsDetails, context);
1247
1245
  }
1248
1246
  if (data.nextToken != null) {
1249
1247
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1250
1248
  }
1251
1249
  return contents;
1252
1250
  };
1253
- exports.deserializeAws_restJson1ListAttributeGroupsForApplicationCommand = deserializeAws_restJson1ListAttributeGroupsForApplicationCommand;
1254
- const deserializeAws_restJson1ListAttributeGroupsForApplicationCommandError = async (output, context) => {
1251
+ exports.de_ListAttributeGroupsForApplicationCommand = de_ListAttributeGroupsForApplicationCommand;
1252
+ const de_ListAttributeGroupsForApplicationCommandError = async (output, context) => {
1255
1253
  const parsedOutput = {
1256
1254
  ...output,
1257
1255
  body: await parseErrorBody(output.body, context),
@@ -1260,13 +1258,13 @@ const deserializeAws_restJson1ListAttributeGroupsForApplicationCommandError = as
1260
1258
  switch (errorCode) {
1261
1259
  case "InternalServerException":
1262
1260
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1263
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1261
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1264
1262
  case "ResourceNotFoundException":
1265
1263
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1266
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1264
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1267
1265
  case "ValidationException":
1268
1266
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1269
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1267
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1270
1268
  default:
1271
1269
  const parsedBody = parsedOutput.body;
1272
1270
  (0, smithy_client_1.throwDefaultError)({
@@ -1277,21 +1275,21 @@ const deserializeAws_restJson1ListAttributeGroupsForApplicationCommandError = as
1277
1275
  });
1278
1276
  }
1279
1277
  };
1280
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1278
+ const de_ListTagsForResourceCommand = async (output, context) => {
1281
1279
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1282
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1280
+ return de_ListTagsForResourceCommandError(output, context);
1283
1281
  }
1284
1282
  const contents = map({
1285
1283
  $metadata: deserializeMetadata(output),
1286
1284
  });
1287
1285
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1288
1286
  if (data.tags != null) {
1289
- contents.tags = deserializeAws_restJson1Tags(data.tags, context);
1287
+ contents.tags = de_Tags(data.tags, context);
1290
1288
  }
1291
1289
  return contents;
1292
1290
  };
1293
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1294
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1291
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1292
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1295
1293
  const parsedOutput = {
1296
1294
  ...output,
1297
1295
  body: await parseErrorBody(output.body, context),
@@ -1300,13 +1298,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1300
1298
  switch (errorCode) {
1301
1299
  case "InternalServerException":
1302
1300
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1303
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1301
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1304
1302
  case "ResourceNotFoundException":
1305
1303
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1306
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1304
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1307
1305
  case "ValidationException":
1308
1306
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1309
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1307
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1310
1308
  default:
1311
1309
  const parsedBody = parsedOutput.body;
1312
1310
  (0, smithy_client_1.throwDefaultError)({
@@ -1317,9 +1315,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1317
1315
  });
1318
1316
  }
1319
1317
  };
1320
- const deserializeAws_restJson1PutConfigurationCommand = async (output, context) => {
1318
+ const de_PutConfigurationCommand = async (output, context) => {
1321
1319
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1322
- return deserializeAws_restJson1PutConfigurationCommandError(output, context);
1320
+ return de_PutConfigurationCommandError(output, context);
1323
1321
  }
1324
1322
  const contents = map({
1325
1323
  $metadata: deserializeMetadata(output),
@@ -1327,8 +1325,8 @@ const deserializeAws_restJson1PutConfigurationCommand = async (output, context)
1327
1325
  await collectBody(output.body, context);
1328
1326
  return contents;
1329
1327
  };
1330
- exports.deserializeAws_restJson1PutConfigurationCommand = deserializeAws_restJson1PutConfigurationCommand;
1331
- const deserializeAws_restJson1PutConfigurationCommandError = async (output, context) => {
1328
+ exports.de_PutConfigurationCommand = de_PutConfigurationCommand;
1329
+ const de_PutConfigurationCommandError = async (output, context) => {
1332
1330
  const parsedOutput = {
1333
1331
  ...output,
1334
1332
  body: await parseErrorBody(output.body, context),
@@ -1337,13 +1335,13 @@ const deserializeAws_restJson1PutConfigurationCommandError = async (output, cont
1337
1335
  switch (errorCode) {
1338
1336
  case "ConflictException":
1339
1337
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
1340
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1338
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1341
1339
  case "InternalServerException":
1342
1340
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1343
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1341
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1344
1342
  case "ValidationException":
1345
1343
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1346
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1344
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1347
1345
  default:
1348
1346
  const parsedBody = parsedOutput.body;
1349
1347
  (0, smithy_client_1.throwDefaultError)({
@@ -1354,9 +1352,9 @@ const deserializeAws_restJson1PutConfigurationCommandError = async (output, cont
1354
1352
  });
1355
1353
  }
1356
1354
  };
1357
- const deserializeAws_restJson1SyncResourceCommand = async (output, context) => {
1355
+ const de_SyncResourceCommand = async (output, context) => {
1358
1356
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1359
- return deserializeAws_restJson1SyncResourceCommandError(output, context);
1357
+ return de_SyncResourceCommandError(output, context);
1360
1358
  }
1361
1359
  const contents = map({
1362
1360
  $metadata: deserializeMetadata(output),
@@ -1373,8 +1371,8 @@ const deserializeAws_restJson1SyncResourceCommand = async (output, context) => {
1373
1371
  }
1374
1372
  return contents;
1375
1373
  };
1376
- exports.deserializeAws_restJson1SyncResourceCommand = deserializeAws_restJson1SyncResourceCommand;
1377
- const deserializeAws_restJson1SyncResourceCommandError = async (output, context) => {
1374
+ exports.de_SyncResourceCommand = de_SyncResourceCommand;
1375
+ const de_SyncResourceCommandError = async (output, context) => {
1378
1376
  const parsedOutput = {
1379
1377
  ...output,
1380
1378
  body: await parseErrorBody(output.body, context),
@@ -1383,19 +1381,19 @@ const deserializeAws_restJson1SyncResourceCommandError = async (output, context)
1383
1381
  switch (errorCode) {
1384
1382
  case "ConflictException":
1385
1383
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
1386
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1384
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1387
1385
  case "InternalServerException":
1388
1386
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1389
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1387
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1390
1388
  case "ResourceNotFoundException":
1391
1389
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1392
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1390
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1393
1391
  case "ThrottlingException":
1394
1392
  case "com.amazonaws.servicecatalogappregistry#ThrottlingException":
1395
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1393
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1396
1394
  case "ValidationException":
1397
1395
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1398
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1396
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1399
1397
  default:
1400
1398
  const parsedBody = parsedOutput.body;
1401
1399
  (0, smithy_client_1.throwDefaultError)({
@@ -1406,9 +1404,9 @@ const deserializeAws_restJson1SyncResourceCommandError = async (output, context)
1406
1404
  });
1407
1405
  }
1408
1406
  };
1409
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1407
+ const de_TagResourceCommand = async (output, context) => {
1410
1408
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1411
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1409
+ return de_TagResourceCommandError(output, context);
1412
1410
  }
1413
1411
  const contents = map({
1414
1412
  $metadata: deserializeMetadata(output),
@@ -1416,8 +1414,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1416
1414
  await collectBody(output.body, context);
1417
1415
  return contents;
1418
1416
  };
1419
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1420
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1417
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1418
+ const de_TagResourceCommandError = async (output, context) => {
1421
1419
  const parsedOutput = {
1422
1420
  ...output,
1423
1421
  body: await parseErrorBody(output.body, context),
@@ -1426,13 +1424,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1426
1424
  switch (errorCode) {
1427
1425
  case "InternalServerException":
1428
1426
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1429
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1427
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1430
1428
  case "ResourceNotFoundException":
1431
1429
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1432
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1430
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1433
1431
  case "ValidationException":
1434
1432
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1435
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1433
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1436
1434
  default:
1437
1435
  const parsedBody = parsedOutput.body;
1438
1436
  (0, smithy_client_1.throwDefaultError)({
@@ -1443,9 +1441,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1443
1441
  });
1444
1442
  }
1445
1443
  };
1446
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1444
+ const de_UntagResourceCommand = async (output, context) => {
1447
1445
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1448
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1446
+ return de_UntagResourceCommandError(output, context);
1449
1447
  }
1450
1448
  const contents = map({
1451
1449
  $metadata: deserializeMetadata(output),
@@ -1453,8 +1451,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1453
1451
  await collectBody(output.body, context);
1454
1452
  return contents;
1455
1453
  };
1456
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1457
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1454
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1455
+ const de_UntagResourceCommandError = async (output, context) => {
1458
1456
  const parsedOutput = {
1459
1457
  ...output,
1460
1458
  body: await parseErrorBody(output.body, context),
@@ -1463,13 +1461,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1463
1461
  switch (errorCode) {
1464
1462
  case "InternalServerException":
1465
1463
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1466
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1464
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1467
1465
  case "ResourceNotFoundException":
1468
1466
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1469
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1467
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1470
1468
  case "ValidationException":
1471
1469
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1472
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1470
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1473
1471
  default:
1474
1472
  const parsedBody = parsedOutput.body;
1475
1473
  (0, smithy_client_1.throwDefaultError)({
@@ -1480,21 +1478,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1480
1478
  });
1481
1479
  }
1482
1480
  };
1483
- const deserializeAws_restJson1UpdateApplicationCommand = async (output, context) => {
1481
+ const de_UpdateApplicationCommand = async (output, context) => {
1484
1482
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1485
- return deserializeAws_restJson1UpdateApplicationCommandError(output, context);
1483
+ return de_UpdateApplicationCommandError(output, context);
1486
1484
  }
1487
1485
  const contents = map({
1488
1486
  $metadata: deserializeMetadata(output),
1489
1487
  });
1490
1488
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1491
1489
  if (data.application != null) {
1492
- contents.application = deserializeAws_restJson1Application(data.application, context);
1490
+ contents.application = de_Application(data.application, context);
1493
1491
  }
1494
1492
  return contents;
1495
1493
  };
1496
- exports.deserializeAws_restJson1UpdateApplicationCommand = deserializeAws_restJson1UpdateApplicationCommand;
1497
- const deserializeAws_restJson1UpdateApplicationCommandError = async (output, context) => {
1494
+ exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
1495
+ const de_UpdateApplicationCommandError = async (output, context) => {
1498
1496
  const parsedOutput = {
1499
1497
  ...output,
1500
1498
  body: await parseErrorBody(output.body, context),
@@ -1503,19 +1501,19 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
1503
1501
  switch (errorCode) {
1504
1502
  case "ConflictException":
1505
1503
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
1506
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1504
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1507
1505
  case "InternalServerException":
1508
1506
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1509
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1507
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1510
1508
  case "ResourceNotFoundException":
1511
1509
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1512
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1510
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1513
1511
  case "ThrottlingException":
1514
1512
  case "com.amazonaws.servicecatalogappregistry#ThrottlingException":
1515
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1513
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1516
1514
  case "ValidationException":
1517
1515
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1518
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1516
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1519
1517
  default:
1520
1518
  const parsedBody = parsedOutput.body;
1521
1519
  (0, smithy_client_1.throwDefaultError)({
@@ -1526,21 +1524,21 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
1526
1524
  });
1527
1525
  }
1528
1526
  };
1529
- const deserializeAws_restJson1UpdateAttributeGroupCommand = async (output, context) => {
1527
+ const de_UpdateAttributeGroupCommand = async (output, context) => {
1530
1528
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1531
- return deserializeAws_restJson1UpdateAttributeGroupCommandError(output, context);
1529
+ return de_UpdateAttributeGroupCommandError(output, context);
1532
1530
  }
1533
1531
  const contents = map({
1534
1532
  $metadata: deserializeMetadata(output),
1535
1533
  });
1536
1534
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1537
1535
  if (data.attributeGroup != null) {
1538
- contents.attributeGroup = deserializeAws_restJson1AttributeGroup(data.attributeGroup, context);
1536
+ contents.attributeGroup = de_AttributeGroup(data.attributeGroup, context);
1539
1537
  }
1540
1538
  return contents;
1541
1539
  };
1542
- exports.deserializeAws_restJson1UpdateAttributeGroupCommand = deserializeAws_restJson1UpdateAttributeGroupCommand;
1543
- const deserializeAws_restJson1UpdateAttributeGroupCommandError = async (output, context) => {
1540
+ exports.de_UpdateAttributeGroupCommand = de_UpdateAttributeGroupCommand;
1541
+ const de_UpdateAttributeGroupCommandError = async (output, context) => {
1544
1542
  const parsedOutput = {
1545
1543
  ...output,
1546
1544
  body: await parseErrorBody(output.body, context),
@@ -1549,16 +1547,16 @@ const deserializeAws_restJson1UpdateAttributeGroupCommandError = async (output,
1549
1547
  switch (errorCode) {
1550
1548
  case "ConflictException":
1551
1549
  case "com.amazonaws.servicecatalogappregistry#ConflictException":
1552
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1550
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1553
1551
  case "InternalServerException":
1554
1552
  case "com.amazonaws.servicecatalogappregistry#InternalServerException":
1555
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1553
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1556
1554
  case "ResourceNotFoundException":
1557
1555
  case "com.amazonaws.servicecatalogappregistry#ResourceNotFoundException":
1558
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1556
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1559
1557
  case "ValidationException":
1560
1558
  case "com.amazonaws.servicecatalogappregistry#ValidationException":
1561
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1559
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1562
1560
  default:
1563
1561
  const parsedBody = parsedOutput.body;
1564
1562
  (0, smithy_client_1.throwDefaultError)({
@@ -1570,7 +1568,7 @@ const deserializeAws_restJson1UpdateAttributeGroupCommandError = async (output,
1570
1568
  }
1571
1569
  };
1572
1570
  const map = smithy_client_1.map;
1573
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1571
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1574
1572
  const contents = map({});
1575
1573
  const data = parsedOutput.body;
1576
1574
  if (data.message != null) {
@@ -1582,7 +1580,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1582
1580
  });
1583
1581
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1584
1582
  };
1585
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1583
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1586
1584
  const contents = map({});
1587
1585
  const data = parsedOutput.body;
1588
1586
  if (data.message != null) {
@@ -1594,7 +1592,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1594
1592
  });
1595
1593
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1596
1594
  };
1597
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1595
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1598
1596
  const contents = map({});
1599
1597
  const data = parsedOutput.body;
1600
1598
  if (data.message != null) {
@@ -1606,7 +1604,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1606
1604
  });
1607
1605
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1608
1606
  };
1609
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1607
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1610
1608
  const contents = map({});
1611
1609
  const data = parsedOutput.body;
1612
1610
  if (data.message != null) {
@@ -1618,7 +1616,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1618
1616
  });
1619
1617
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1620
1618
  };
1621
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1619
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1622
1620
  const contents = map({});
1623
1621
  const data = parsedOutput.body;
1624
1622
  if (data.message != null) {
@@ -1633,7 +1631,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1633
1631
  });
1634
1632
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1635
1633
  };
1636
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1634
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1637
1635
  const contents = map({});
1638
1636
  const data = parsedOutput.body;
1639
1637
  if (data.message != null) {
@@ -1645,19 +1643,19 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1645
1643
  });
1646
1644
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1647
1645
  };
1648
- const serializeAws_restJson1AppRegistryConfiguration = (input, context) => {
1646
+ const se_AppRegistryConfiguration = (input, context) => {
1649
1647
  return {
1650
1648
  ...(input.tagQueryConfiguration != null && {
1651
- tagQueryConfiguration: serializeAws_restJson1TagQueryConfiguration(input.tagQueryConfiguration, context),
1649
+ tagQueryConfiguration: se_TagQueryConfiguration(input.tagQueryConfiguration, context),
1652
1650
  }),
1653
1651
  };
1654
1652
  };
1655
- const serializeAws_restJson1TagQueryConfiguration = (input, context) => {
1653
+ const se_TagQueryConfiguration = (input, context) => {
1656
1654
  return {
1657
1655
  ...(input.tagKey != null && { tagKey: input.tagKey }),
1658
1656
  };
1659
1657
  };
1660
- const serializeAws_restJson1Tags = (input, context) => {
1658
+ const se_Tags = (input, context) => {
1661
1659
  return Object.entries(input).reduce((acc, [key, value]) => {
1662
1660
  if (value === null) {
1663
1661
  return acc;
@@ -1666,7 +1664,7 @@ const serializeAws_restJson1Tags = (input, context) => {
1666
1664
  return acc;
1667
1665
  }, {});
1668
1666
  };
1669
- const deserializeAws_restJson1Application = (output, context) => {
1667
+ const de_Application = (output, context) => {
1670
1668
  return {
1671
1669
  arn: (0, smithy_client_1.expectString)(output.arn),
1672
1670
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
@@ -1676,21 +1674,21 @@ const deserializeAws_restJson1Application = (output, context) => {
1676
1674
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdateTime))
1677
1675
  : undefined,
1678
1676
  name: (0, smithy_client_1.expectString)(output.name),
1679
- tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
1677
+ tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
1680
1678
  };
1681
1679
  };
1682
- const deserializeAws_restJson1ApplicationSummaries = (output, context) => {
1680
+ const de_ApplicationSummaries = (output, context) => {
1683
1681
  const retVal = (output || [])
1684
1682
  .filter((e) => e != null)
1685
1683
  .map((entry) => {
1686
1684
  if (entry === null) {
1687
1685
  return null;
1688
1686
  }
1689
- return deserializeAws_restJson1ApplicationSummary(entry, context);
1687
+ return de_ApplicationSummary(entry, context);
1690
1688
  });
1691
1689
  return retVal;
1692
1690
  };
1693
- const deserializeAws_restJson1ApplicationSummary = (output, context) => {
1691
+ const de_ApplicationSummary = (output, context) => {
1694
1692
  return {
1695
1693
  arn: (0, smithy_client_1.expectString)(output.arn),
1696
1694
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
@@ -1702,14 +1700,14 @@ const deserializeAws_restJson1ApplicationSummary = (output, context) => {
1702
1700
  name: (0, smithy_client_1.expectString)(output.name),
1703
1701
  };
1704
1702
  };
1705
- const deserializeAws_restJson1AppRegistryConfiguration = (output, context) => {
1703
+ const de_AppRegistryConfiguration = (output, context) => {
1706
1704
  return {
1707
1705
  tagQueryConfiguration: output.tagQueryConfiguration != null
1708
- ? deserializeAws_restJson1TagQueryConfiguration(output.tagQueryConfiguration, context)
1706
+ ? de_TagQueryConfiguration(output.tagQueryConfiguration, context)
1709
1707
  : undefined,
1710
1708
  };
1711
1709
  };
1712
- const deserializeAws_restJson1AttributeGroup = (output, context) => {
1710
+ const de_AttributeGroup = (output, context) => {
1713
1711
  return {
1714
1712
  arn: (0, smithy_client_1.expectString)(output.arn),
1715
1713
  creationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
@@ -1719,10 +1717,10 @@ const deserializeAws_restJson1AttributeGroup = (output, context) => {
1719
1717
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdateTime))
1720
1718
  : undefined,
1721
1719
  name: (0, smithy_client_1.expectString)(output.name),
1722
- tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
1720
+ tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
1723
1721
  };
1724
1722
  };
1725
- const deserializeAws_restJson1AttributeGroupDetails = (output, context) => {
1723
+ const de_AttributeGroupDetails = (output, context) => {
1726
1724
  return {
1727
1725
  arn: (0, smithy_client_1.expectString)(output.arn),
1728
1726
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
@@ -1730,18 +1728,18 @@ const deserializeAws_restJson1AttributeGroupDetails = (output, context) => {
1730
1728
  name: (0, smithy_client_1.expectString)(output.name),
1731
1729
  };
1732
1730
  };
1733
- const deserializeAws_restJson1AttributeGroupDetailsList = (output, context) => {
1731
+ const de_AttributeGroupDetailsList = (output, context) => {
1734
1732
  const retVal = (output || [])
1735
1733
  .filter((e) => e != null)
1736
1734
  .map((entry) => {
1737
1735
  if (entry === null) {
1738
1736
  return null;
1739
1737
  }
1740
- return deserializeAws_restJson1AttributeGroupDetails(entry, context);
1738
+ return de_AttributeGroupDetails(entry, context);
1741
1739
  });
1742
1740
  return retVal;
1743
1741
  };
1744
- const deserializeAws_restJson1AttributeGroupIds = (output, context) => {
1742
+ const de_AttributeGroupIds = (output, context) => {
1745
1743
  const retVal = (output || [])
1746
1744
  .filter((e) => e != null)
1747
1745
  .map((entry) => {
@@ -1752,18 +1750,18 @@ const deserializeAws_restJson1AttributeGroupIds = (output, context) => {
1752
1750
  });
1753
1751
  return retVal;
1754
1752
  };
1755
- const deserializeAws_restJson1AttributeGroupSummaries = (output, context) => {
1753
+ const de_AttributeGroupSummaries = (output, context) => {
1756
1754
  const retVal = (output || [])
1757
1755
  .filter((e) => e != null)
1758
1756
  .map((entry) => {
1759
1757
  if (entry === null) {
1760
1758
  return null;
1761
1759
  }
1762
- return deserializeAws_restJson1AttributeGroupSummary(entry, context);
1760
+ return de_AttributeGroupSummary(entry, context);
1763
1761
  });
1764
1762
  return retVal;
1765
1763
  };
1766
- const deserializeAws_restJson1AttributeGroupSummary = (output, context) => {
1764
+ const de_AttributeGroupSummary = (output, context) => {
1767
1765
  return {
1768
1766
  arn: (0, smithy_client_1.expectString)(output.arn),
1769
1767
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
@@ -1776,67 +1774,63 @@ const deserializeAws_restJson1AttributeGroupSummary = (output, context) => {
1776
1774
  name: (0, smithy_client_1.expectString)(output.name),
1777
1775
  };
1778
1776
  };
1779
- const deserializeAws_restJson1Integrations = (output, context) => {
1777
+ const de_Integrations = (output, context) => {
1780
1778
  return {
1781
- resourceGroup: output.resourceGroup != null ? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context) : undefined,
1779
+ resourceGroup: output.resourceGroup != null ? de_ResourceGroup(output.resourceGroup, context) : undefined,
1782
1780
  };
1783
1781
  };
1784
- const deserializeAws_restJson1Resource = (output, context) => {
1782
+ const de_Resource = (output, context) => {
1785
1783
  return {
1786
1784
  arn: (0, smithy_client_1.expectString)(output.arn),
1787
1785
  associationTime: output.associationTime != null
1788
1786
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.associationTime))
1789
1787
  : undefined,
1790
- integrations: output.integrations != null
1791
- ? deserializeAws_restJson1ResourceIntegrations(output.integrations, context)
1792
- : undefined,
1788
+ integrations: output.integrations != null ? de_ResourceIntegrations(output.integrations, context) : undefined,
1793
1789
  name: (0, smithy_client_1.expectString)(output.name),
1794
1790
  };
1795
1791
  };
1796
- const deserializeAws_restJson1ResourceDetails = (output, context) => {
1792
+ const de_ResourceDetails = (output, context) => {
1797
1793
  return {
1798
1794
  tagValue: (0, smithy_client_1.expectString)(output.tagValue),
1799
1795
  };
1800
1796
  };
1801
- const deserializeAws_restJson1ResourceGroup = (output, context) => {
1797
+ const de_ResourceGroup = (output, context) => {
1802
1798
  return {
1803
1799
  arn: (0, smithy_client_1.expectString)(output.arn),
1804
1800
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
1805
1801
  state: (0, smithy_client_1.expectString)(output.state),
1806
1802
  };
1807
1803
  };
1808
- const deserializeAws_restJson1ResourceInfo = (output, context) => {
1804
+ const de_ResourceInfo = (output, context) => {
1809
1805
  return {
1810
1806
  arn: (0, smithy_client_1.expectString)(output.arn),
1811
1807
  name: (0, smithy_client_1.expectString)(output.name),
1812
- resourceDetails: output.resourceDetails != null
1813
- ? deserializeAws_restJson1ResourceDetails(output.resourceDetails, context)
1814
- : undefined,
1808
+ resourceDetails: output.resourceDetails != null ? de_ResourceDetails(output.resourceDetails, context) : undefined,
1815
1809
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
1816
1810
  };
1817
1811
  };
1818
- const deserializeAws_restJson1ResourceIntegrations = (output, context) => {
1812
+ const de_ResourceIntegrations = (output, context) => {
1819
1813
  return {
1820
- resourceGroup: output.resourceGroup != null ? deserializeAws_restJson1ResourceGroup(output.resourceGroup, context) : undefined,
1814
+ resourceGroup: output.resourceGroup != null ? de_ResourceGroup(output.resourceGroup, context) : undefined,
1821
1815
  };
1822
1816
  };
1823
- const deserializeAws_restJson1Resources = (output, context) => {
1817
+ const de_Resources = (output, context) => {
1824
1818
  const retVal = (output || [])
1825
1819
  .filter((e) => e != null)
1826
1820
  .map((entry) => {
1827
1821
  if (entry === null) {
1828
1822
  return null;
1829
1823
  }
1830
- return deserializeAws_restJson1ResourceInfo(entry, context);
1824
+ return de_ResourceInfo(entry, context);
1831
1825
  });
1832
1826
  return retVal;
1833
1827
  };
1834
- const deserializeAws_restJson1TagQueryConfiguration = (output, context) => {
1828
+ const de_TagQueryConfiguration = (output, context) => {
1835
1829
  return {
1836
1830
  tagKey: (0, smithy_client_1.expectString)(output.tagKey),
1837
1831
  };
1838
1832
  };
1839
- const deserializeAws_restJson1Tags = (output, context) => {
1833
+ const de_Tags = (output, context) => {
1840
1834
  return Object.entries(output).reduce((acc, [key, value]) => {
1841
1835
  if (value === null) {
1842
1836
  return acc;