@aws-sdk/client-inspector2 3.306.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist-cjs/commands/AssociateMemberCommand.js +2 -2
  2. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +2 -2
  3. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +2 -2
  4. package/dist-cjs/commands/CancelFindingsReportCommand.js +2 -2
  5. package/dist-cjs/commands/CreateFilterCommand.js +2 -2
  6. package/dist-cjs/commands/CreateFindingsReportCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteFilterCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +2 -2
  9. package/dist-cjs/commands/DisableCommand.js +2 -2
  10. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +2 -2
  11. package/dist-cjs/commands/DisassociateMemberCommand.js +2 -2
  12. package/dist-cjs/commands/EnableCommand.js +2 -2
  13. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +2 -2
  14. package/dist-cjs/commands/GetConfigurationCommand.js +2 -2
  15. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +2 -2
  16. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +2 -2
  17. package/dist-cjs/commands/GetMemberCommand.js +2 -2
  18. package/dist-cjs/commands/ListAccountPermissionsCommand.js +2 -2
  19. package/dist-cjs/commands/ListCoverageCommand.js +2 -2
  20. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +2 -2
  21. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +2 -2
  22. package/dist-cjs/commands/ListFiltersCommand.js +2 -2
  23. package/dist-cjs/commands/ListFindingAggregationsCommand.js +2 -2
  24. package/dist-cjs/commands/ListFindingsCommand.js +2 -2
  25. package/dist-cjs/commands/ListMembersCommand.js +2 -2
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  27. package/dist-cjs/commands/ListUsageTotalsCommand.js +2 -2
  28. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  29. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateConfigurationCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateFilterCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +2 -2
  33. package/dist-cjs/protocols/Aws_restJson1.js +797 -1027
  34. package/dist-es/commands/AssociateMemberCommand.js +3 -3
  35. package/dist-es/commands/BatchGetAccountStatusCommand.js +3 -3
  36. package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +3 -3
  37. package/dist-es/commands/CancelFindingsReportCommand.js +3 -3
  38. package/dist-es/commands/CreateFilterCommand.js +3 -3
  39. package/dist-es/commands/CreateFindingsReportCommand.js +3 -3
  40. package/dist-es/commands/DeleteFilterCommand.js +3 -3
  41. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  42. package/dist-es/commands/DisableCommand.js +3 -3
  43. package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +3 -3
  44. package/dist-es/commands/DisassociateMemberCommand.js +3 -3
  45. package/dist-es/commands/EnableCommand.js +3 -3
  46. package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +3 -3
  47. package/dist-es/commands/GetConfigurationCommand.js +3 -3
  48. package/dist-es/commands/GetDelegatedAdminAccountCommand.js +3 -3
  49. package/dist-es/commands/GetFindingsReportStatusCommand.js +3 -3
  50. package/dist-es/commands/GetMemberCommand.js +3 -3
  51. package/dist-es/commands/ListAccountPermissionsCommand.js +3 -3
  52. package/dist-es/commands/ListCoverageCommand.js +3 -3
  53. package/dist-es/commands/ListCoverageStatisticsCommand.js +3 -3
  54. package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +3 -3
  55. package/dist-es/commands/ListFiltersCommand.js +3 -3
  56. package/dist-es/commands/ListFindingAggregationsCommand.js +3 -3
  57. package/dist-es/commands/ListFindingsCommand.js +3 -3
  58. package/dist-es/commands/ListMembersCommand.js +3 -3
  59. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  60. package/dist-es/commands/ListUsageTotalsCommand.js +3 -3
  61. package/dist-es/commands/TagResourceCommand.js +3 -3
  62. package/dist-es/commands/UntagResourceCommand.js +3 -3
  63. package/dist-es/commands/UpdateConfigurationCommand.js +3 -3
  64. package/dist-es/commands/UpdateFilterCommand.js +3 -3
  65. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  66. package/dist-es/protocols/Aws_restJson1.js +731 -961
  67. package/dist-types/protocols/Aws_restJson1.d.ts +256 -64
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +64 -64
  69. package/package.json +6 -6
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1ListAccountPermissionsCommand = exports.deserializeAws_restJson1GetMemberCommand = exports.deserializeAws_restJson1GetFindingsReportStatusCommand = exports.deserializeAws_restJson1GetDelegatedAdminAccountCommand = exports.deserializeAws_restJson1GetConfigurationCommand = exports.deserializeAws_restJson1EnableDelegatedAdminAccountCommand = exports.deserializeAws_restJson1EnableCommand = exports.deserializeAws_restJson1DisassociateMemberCommand = exports.deserializeAws_restJson1DisableDelegatedAdminAccountCommand = exports.deserializeAws_restJson1DisableCommand = exports.deserializeAws_restJson1DescribeOrganizationConfigurationCommand = exports.deserializeAws_restJson1DeleteFilterCommand = exports.deserializeAws_restJson1CreateFindingsReportCommand = exports.deserializeAws_restJson1CreateFilterCommand = exports.deserializeAws_restJson1CancelFindingsReportCommand = exports.deserializeAws_restJson1BatchGetFreeTrialInfoCommand = exports.deserializeAws_restJson1BatchGetAccountStatusCommand = exports.deserializeAws_restJson1AssociateMemberCommand = exports.serializeAws_restJson1UpdateOrganizationConfigurationCommand = exports.serializeAws_restJson1UpdateFilterCommand = exports.serializeAws_restJson1UpdateConfigurationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1ListUsageTotalsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListMembersCommand = exports.serializeAws_restJson1ListFindingsCommand = exports.serializeAws_restJson1ListFindingAggregationsCommand = exports.serializeAws_restJson1ListFiltersCommand = exports.serializeAws_restJson1ListDelegatedAdminAccountsCommand = exports.serializeAws_restJson1ListCoverageStatisticsCommand = exports.serializeAws_restJson1ListCoverageCommand = exports.serializeAws_restJson1ListAccountPermissionsCommand = exports.serializeAws_restJson1GetMemberCommand = exports.serializeAws_restJson1GetFindingsReportStatusCommand = exports.serializeAws_restJson1GetDelegatedAdminAccountCommand = exports.serializeAws_restJson1GetConfigurationCommand = exports.serializeAws_restJson1EnableDelegatedAdminAccountCommand = exports.serializeAws_restJson1EnableCommand = exports.serializeAws_restJson1DisassociateMemberCommand = exports.serializeAws_restJson1DisableDelegatedAdminAccountCommand = exports.serializeAws_restJson1DisableCommand = exports.serializeAws_restJson1DescribeOrganizationConfigurationCommand = exports.serializeAws_restJson1DeleteFilterCommand = exports.serializeAws_restJson1CreateFindingsReportCommand = exports.serializeAws_restJson1CreateFilterCommand = exports.serializeAws_restJson1CancelFindingsReportCommand = exports.serializeAws_restJson1BatchGetFreeTrialInfoCommand = exports.serializeAws_restJson1BatchGetAccountStatusCommand = exports.serializeAws_restJson1AssociateMemberCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateOrganizationConfigurationCommand = exports.deserializeAws_restJson1UpdateFilterCommand = exports.deserializeAws_restJson1UpdateConfigurationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1ListUsageTotalsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListMembersCommand = exports.deserializeAws_restJson1ListFindingsCommand = exports.deserializeAws_restJson1ListFindingAggregationsCommand = exports.deserializeAws_restJson1ListFiltersCommand = exports.deserializeAws_restJson1ListDelegatedAdminAccountsCommand = exports.deserializeAws_restJson1ListCoverageStatisticsCommand = exports.deserializeAws_restJson1ListCoverageCommand = void 0;
3
+ exports.de_ListAccountPermissionsCommand = exports.de_GetMemberCommand = exports.de_GetFindingsReportStatusCommand = exports.de_GetDelegatedAdminAccountCommand = exports.de_GetConfigurationCommand = exports.de_EnableDelegatedAdminAccountCommand = exports.de_EnableCommand = exports.de_DisassociateMemberCommand = exports.de_DisableDelegatedAdminAccountCommand = exports.de_DisableCommand = exports.de_DescribeOrganizationConfigurationCommand = exports.de_DeleteFilterCommand = exports.de_CreateFindingsReportCommand = exports.de_CreateFilterCommand = exports.de_CancelFindingsReportCommand = exports.de_BatchGetFreeTrialInfoCommand = exports.de_BatchGetAccountStatusCommand = exports.de_AssociateMemberCommand = exports.se_UpdateOrganizationConfigurationCommand = exports.se_UpdateFilterCommand = exports.se_UpdateConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListUsageTotalsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMembersCommand = exports.se_ListFindingsCommand = exports.se_ListFindingAggregationsCommand = exports.se_ListFiltersCommand = exports.se_ListDelegatedAdminAccountsCommand = exports.se_ListCoverageStatisticsCommand = exports.se_ListCoverageCommand = exports.se_ListAccountPermissionsCommand = exports.se_GetMemberCommand = exports.se_GetFindingsReportStatusCommand = exports.se_GetDelegatedAdminAccountCommand = exports.se_GetConfigurationCommand = exports.se_EnableDelegatedAdminAccountCommand = exports.se_EnableCommand = exports.se_DisassociateMemberCommand = exports.se_DisableDelegatedAdminAccountCommand = exports.se_DisableCommand = exports.se_DescribeOrganizationConfigurationCommand = exports.se_DeleteFilterCommand = exports.se_CreateFindingsReportCommand = exports.se_CreateFilterCommand = exports.se_CancelFindingsReportCommand = exports.se_BatchGetFreeTrialInfoCommand = exports.se_BatchGetAccountStatusCommand = exports.se_AssociateMemberCommand = void 0;
4
+ exports.de_UpdateOrganizationConfigurationCommand = exports.de_UpdateFilterCommand = exports.de_UpdateConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListUsageTotalsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMembersCommand = exports.de_ListFindingsCommand = exports.de_ListFindingAggregationsCommand = exports.de_ListFiltersCommand = exports.de_ListDelegatedAdminAccountsCommand = exports.de_ListCoverageStatisticsCommand = exports.de_ListCoverageCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
8
8
  const Inspector2ServiceException_1 = require("../models/Inspector2ServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
- const serializeAws_restJson1AssociateMemberCommand = async (input, context) => {
10
+ const se_AssociateMemberCommand = async (input, context) => {
11
11
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
12
12
  const headers = {
13
13
  "content-type": "application/json",
@@ -27,8 +27,8 @@ const serializeAws_restJson1AssociateMemberCommand = async (input, context) => {
27
27
  body,
28
28
  });
29
29
  };
30
- exports.serializeAws_restJson1AssociateMemberCommand = serializeAws_restJson1AssociateMemberCommand;
31
- const serializeAws_restJson1BatchGetAccountStatusCommand = async (input, context) => {
30
+ exports.se_AssociateMemberCommand = se_AssociateMemberCommand;
31
+ const se_BatchGetAccountStatusCommand = async (input, context) => {
32
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
33
33
  const headers = {
34
34
  "content-type": "application/json",
@@ -36,7 +36,7 @@ const serializeAws_restJson1BatchGetAccountStatusCommand = async (input, context
36
36
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/status/batch/get";
37
37
  let body;
38
38
  body = JSON.stringify({
39
- ...(input.accountIds != null && { accountIds: serializeAws_restJson1AccountIdSet(input.accountIds, context) }),
39
+ ...(input.accountIds != null && { accountIds: se_AccountIdSet(input.accountIds, context) }),
40
40
  });
41
41
  return new protocol_http_1.HttpRequest({
42
42
  protocol,
@@ -48,8 +48,8 @@ const serializeAws_restJson1BatchGetAccountStatusCommand = async (input, context
48
48
  body,
49
49
  });
50
50
  };
51
- exports.serializeAws_restJson1BatchGetAccountStatusCommand = serializeAws_restJson1BatchGetAccountStatusCommand;
52
- const serializeAws_restJson1BatchGetFreeTrialInfoCommand = async (input, context) => {
51
+ exports.se_BatchGetAccountStatusCommand = se_BatchGetAccountStatusCommand;
52
+ const se_BatchGetFreeTrialInfoCommand = async (input, context) => {
53
53
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
54
54
  const headers = {
55
55
  "content-type": "application/json",
@@ -57,9 +57,7 @@ const serializeAws_restJson1BatchGetFreeTrialInfoCommand = async (input, context
57
57
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/freetrialinfo/batchget";
58
58
  let body;
59
59
  body = JSON.stringify({
60
- ...(input.accountIds != null && {
61
- accountIds: serializeAws_restJson1MeteringAccountIdList(input.accountIds, context),
62
- }),
60
+ ...(input.accountIds != null && { accountIds: se_MeteringAccountIdList(input.accountIds, context) }),
63
61
  });
64
62
  return new protocol_http_1.HttpRequest({
65
63
  protocol,
@@ -71,8 +69,8 @@ const serializeAws_restJson1BatchGetFreeTrialInfoCommand = async (input, context
71
69
  body,
72
70
  });
73
71
  };
74
- exports.serializeAws_restJson1BatchGetFreeTrialInfoCommand = serializeAws_restJson1BatchGetFreeTrialInfoCommand;
75
- const serializeAws_restJson1CancelFindingsReportCommand = async (input, context) => {
72
+ exports.se_BatchGetFreeTrialInfoCommand = se_BatchGetFreeTrialInfoCommand;
73
+ const se_CancelFindingsReportCommand = async (input, context) => {
76
74
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
77
75
  const headers = {
78
76
  "content-type": "application/json",
@@ -92,8 +90,8 @@ const serializeAws_restJson1CancelFindingsReportCommand = async (input, context)
92
90
  body,
93
91
  });
94
92
  };
95
- exports.serializeAws_restJson1CancelFindingsReportCommand = serializeAws_restJson1CancelFindingsReportCommand;
96
- const serializeAws_restJson1CreateFilterCommand = async (input, context) => {
93
+ exports.se_CancelFindingsReportCommand = se_CancelFindingsReportCommand;
94
+ const se_CreateFilterCommand = async (input, context) => {
97
95
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
98
96
  const headers = {
99
97
  "content-type": "application/json",
@@ -103,12 +101,10 @@ const serializeAws_restJson1CreateFilterCommand = async (input, context) => {
103
101
  body = JSON.stringify({
104
102
  ...(input.action != null && { action: input.action }),
105
103
  ...(input.description != null && { description: input.description }),
106
- ...(input.filterCriteria != null && {
107
- filterCriteria: serializeAws_restJson1FilterCriteria(input.filterCriteria, context),
108
- }),
104
+ ...(input.filterCriteria != null && { filterCriteria: se_FilterCriteria(input.filterCriteria, context) }),
109
105
  ...(input.name != null && { name: input.name }),
110
106
  ...(input.reason != null && { reason: input.reason }),
111
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
107
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
112
108
  });
113
109
  return new protocol_http_1.HttpRequest({
114
110
  protocol,
@@ -120,8 +116,8 @@ const serializeAws_restJson1CreateFilterCommand = async (input, context) => {
120
116
  body,
121
117
  });
122
118
  };
123
- exports.serializeAws_restJson1CreateFilterCommand = serializeAws_restJson1CreateFilterCommand;
124
- const serializeAws_restJson1CreateFindingsReportCommand = async (input, context) => {
119
+ exports.se_CreateFilterCommand = se_CreateFilterCommand;
120
+ const se_CreateFindingsReportCommand = async (input, context) => {
125
121
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
126
122
  const headers = {
127
123
  "content-type": "application/json",
@@ -129,13 +125,9 @@ const serializeAws_restJson1CreateFindingsReportCommand = async (input, context)
129
125
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/reporting/create";
130
126
  let body;
131
127
  body = JSON.stringify({
132
- ...(input.filterCriteria != null && {
133
- filterCriteria: serializeAws_restJson1FilterCriteria(input.filterCriteria, context),
134
- }),
128
+ ...(input.filterCriteria != null && { filterCriteria: se_FilterCriteria(input.filterCriteria, context) }),
135
129
  ...(input.reportFormat != null && { reportFormat: input.reportFormat }),
136
- ...(input.s3Destination != null && {
137
- s3Destination: serializeAws_restJson1Destination(input.s3Destination, context),
138
- }),
130
+ ...(input.s3Destination != null && { s3Destination: se_Destination(input.s3Destination, context) }),
139
131
  });
140
132
  return new protocol_http_1.HttpRequest({
141
133
  protocol,
@@ -147,8 +139,8 @@ const serializeAws_restJson1CreateFindingsReportCommand = async (input, context)
147
139
  body,
148
140
  });
149
141
  };
150
- exports.serializeAws_restJson1CreateFindingsReportCommand = serializeAws_restJson1CreateFindingsReportCommand;
151
- const serializeAws_restJson1DeleteFilterCommand = async (input, context) => {
142
+ exports.se_CreateFindingsReportCommand = se_CreateFindingsReportCommand;
143
+ const se_DeleteFilterCommand = async (input, context) => {
152
144
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
153
145
  const headers = {
154
146
  "content-type": "application/json",
@@ -168,8 +160,8 @@ const serializeAws_restJson1DeleteFilterCommand = async (input, context) => {
168
160
  body,
169
161
  });
170
162
  };
171
- exports.serializeAws_restJson1DeleteFilterCommand = serializeAws_restJson1DeleteFilterCommand;
172
- const serializeAws_restJson1DescribeOrganizationConfigurationCommand = async (input, context) => {
163
+ exports.se_DeleteFilterCommand = se_DeleteFilterCommand;
164
+ const se_DescribeOrganizationConfigurationCommand = async (input, context) => {
173
165
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
174
166
  const headers = {
175
167
  "content-type": "application/json",
@@ -187,8 +179,8 @@ const serializeAws_restJson1DescribeOrganizationConfigurationCommand = async (in
187
179
  body,
188
180
  });
189
181
  };
190
- exports.serializeAws_restJson1DescribeOrganizationConfigurationCommand = serializeAws_restJson1DescribeOrganizationConfigurationCommand;
191
- const serializeAws_restJson1DisableCommand = async (input, context) => {
182
+ exports.se_DescribeOrganizationConfigurationCommand = se_DescribeOrganizationConfigurationCommand;
183
+ const se_DisableCommand = async (input, context) => {
192
184
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
193
185
  const headers = {
194
186
  "content-type": "application/json",
@@ -196,10 +188,8 @@ const serializeAws_restJson1DisableCommand = async (input, context) => {
196
188
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/disable";
197
189
  let body;
198
190
  body = JSON.stringify({
199
- ...(input.accountIds != null && { accountIds: serializeAws_restJson1AccountIdSet(input.accountIds, context) }),
200
- ...(input.resourceTypes != null && {
201
- resourceTypes: serializeAws_restJson1DisableResourceTypeList(input.resourceTypes, context),
202
- }),
191
+ ...(input.accountIds != null && { accountIds: se_AccountIdSet(input.accountIds, context) }),
192
+ ...(input.resourceTypes != null && { resourceTypes: se_DisableResourceTypeList(input.resourceTypes, context) }),
203
193
  });
204
194
  return new protocol_http_1.HttpRequest({
205
195
  protocol,
@@ -211,8 +201,8 @@ const serializeAws_restJson1DisableCommand = async (input, context) => {
211
201
  body,
212
202
  });
213
203
  };
214
- exports.serializeAws_restJson1DisableCommand = serializeAws_restJson1DisableCommand;
215
- const serializeAws_restJson1DisableDelegatedAdminAccountCommand = async (input, context) => {
204
+ exports.se_DisableCommand = se_DisableCommand;
205
+ const se_DisableDelegatedAdminAccountCommand = async (input, context) => {
216
206
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
217
207
  const headers = {
218
208
  "content-type": "application/json",
@@ -232,8 +222,8 @@ const serializeAws_restJson1DisableDelegatedAdminAccountCommand = async (input,
232
222
  body,
233
223
  });
234
224
  };
235
- exports.serializeAws_restJson1DisableDelegatedAdminAccountCommand = serializeAws_restJson1DisableDelegatedAdminAccountCommand;
236
- const serializeAws_restJson1DisassociateMemberCommand = async (input, context) => {
225
+ exports.se_DisableDelegatedAdminAccountCommand = se_DisableDelegatedAdminAccountCommand;
226
+ const se_DisassociateMemberCommand = async (input, context) => {
237
227
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
238
228
  const headers = {
239
229
  "content-type": "application/json",
@@ -253,8 +243,8 @@ const serializeAws_restJson1DisassociateMemberCommand = async (input, context) =
253
243
  body,
254
244
  });
255
245
  };
256
- exports.serializeAws_restJson1DisassociateMemberCommand = serializeAws_restJson1DisassociateMemberCommand;
257
- const serializeAws_restJson1EnableCommand = async (input, context) => {
246
+ exports.se_DisassociateMemberCommand = se_DisassociateMemberCommand;
247
+ const se_EnableCommand = async (input, context) => {
258
248
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
259
249
  const headers = {
260
250
  "content-type": "application/json",
@@ -262,11 +252,9 @@ const serializeAws_restJson1EnableCommand = async (input, context) => {
262
252
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/enable";
263
253
  let body;
264
254
  body = JSON.stringify({
265
- ...(input.accountIds != null && { accountIds: serializeAws_restJson1AccountIdSet(input.accountIds, context) }),
255
+ ...(input.accountIds != null && { accountIds: se_AccountIdSet(input.accountIds, context) }),
266
256
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
267
- ...(input.resourceTypes != null && {
268
- resourceTypes: serializeAws_restJson1EnableResourceTypeList(input.resourceTypes, context),
269
- }),
257
+ ...(input.resourceTypes != null && { resourceTypes: se_EnableResourceTypeList(input.resourceTypes, context) }),
270
258
  });
271
259
  return new protocol_http_1.HttpRequest({
272
260
  protocol,
@@ -278,8 +266,8 @@ const serializeAws_restJson1EnableCommand = async (input, context) => {
278
266
  body,
279
267
  });
280
268
  };
281
- exports.serializeAws_restJson1EnableCommand = serializeAws_restJson1EnableCommand;
282
- const serializeAws_restJson1EnableDelegatedAdminAccountCommand = async (input, context) => {
269
+ exports.se_EnableCommand = se_EnableCommand;
270
+ const se_EnableDelegatedAdminAccountCommand = async (input, context) => {
283
271
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
284
272
  const headers = {
285
273
  "content-type": "application/json",
@@ -300,8 +288,8 @@ const serializeAws_restJson1EnableDelegatedAdminAccountCommand = async (input, c
300
288
  body,
301
289
  });
302
290
  };
303
- exports.serializeAws_restJson1EnableDelegatedAdminAccountCommand = serializeAws_restJson1EnableDelegatedAdminAccountCommand;
304
- const serializeAws_restJson1GetConfigurationCommand = async (input, context) => {
291
+ exports.se_EnableDelegatedAdminAccountCommand = se_EnableDelegatedAdminAccountCommand;
292
+ const se_GetConfigurationCommand = async (input, context) => {
305
293
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
306
294
  const headers = {
307
295
  "content-type": "application/json",
@@ -319,8 +307,8 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
319
307
  body,
320
308
  });
321
309
  };
322
- exports.serializeAws_restJson1GetConfigurationCommand = serializeAws_restJson1GetConfigurationCommand;
323
- const serializeAws_restJson1GetDelegatedAdminAccountCommand = async (input, context) => {
310
+ exports.se_GetConfigurationCommand = se_GetConfigurationCommand;
311
+ const se_GetDelegatedAdminAccountCommand = async (input, context) => {
324
312
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
325
313
  const headers = {
326
314
  "content-type": "application/json",
@@ -338,8 +326,8 @@ const serializeAws_restJson1GetDelegatedAdminAccountCommand = async (input, cont
338
326
  body,
339
327
  });
340
328
  };
341
- exports.serializeAws_restJson1GetDelegatedAdminAccountCommand = serializeAws_restJson1GetDelegatedAdminAccountCommand;
342
- const serializeAws_restJson1GetFindingsReportStatusCommand = async (input, context) => {
329
+ exports.se_GetDelegatedAdminAccountCommand = se_GetDelegatedAdminAccountCommand;
330
+ const se_GetFindingsReportStatusCommand = async (input, context) => {
343
331
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
344
332
  const headers = {
345
333
  "content-type": "application/json",
@@ -359,8 +347,8 @@ const serializeAws_restJson1GetFindingsReportStatusCommand = async (input, conte
359
347
  body,
360
348
  });
361
349
  };
362
- exports.serializeAws_restJson1GetFindingsReportStatusCommand = serializeAws_restJson1GetFindingsReportStatusCommand;
363
- const serializeAws_restJson1GetMemberCommand = async (input, context) => {
350
+ exports.se_GetFindingsReportStatusCommand = se_GetFindingsReportStatusCommand;
351
+ const se_GetMemberCommand = async (input, context) => {
364
352
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
365
353
  const headers = {
366
354
  "content-type": "application/json",
@@ -380,8 +368,8 @@ const serializeAws_restJson1GetMemberCommand = async (input, context) => {
380
368
  body,
381
369
  });
382
370
  };
383
- exports.serializeAws_restJson1GetMemberCommand = serializeAws_restJson1GetMemberCommand;
384
- const serializeAws_restJson1ListAccountPermissionsCommand = async (input, context) => {
371
+ exports.se_GetMemberCommand = se_GetMemberCommand;
372
+ const se_ListAccountPermissionsCommand = async (input, context) => {
385
373
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
386
374
  const headers = {
387
375
  "content-type": "application/json",
@@ -403,8 +391,8 @@ const serializeAws_restJson1ListAccountPermissionsCommand = async (input, contex
403
391
  body,
404
392
  });
405
393
  };
406
- exports.serializeAws_restJson1ListAccountPermissionsCommand = serializeAws_restJson1ListAccountPermissionsCommand;
407
- const serializeAws_restJson1ListCoverageCommand = async (input, context) => {
394
+ exports.se_ListAccountPermissionsCommand = se_ListAccountPermissionsCommand;
395
+ const se_ListCoverageCommand = async (input, context) => {
408
396
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
409
397
  const headers = {
410
398
  "content-type": "application/json",
@@ -412,9 +400,7 @@ const serializeAws_restJson1ListCoverageCommand = async (input, context) => {
412
400
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/coverage/list";
413
401
  let body;
414
402
  body = JSON.stringify({
415
- ...(input.filterCriteria != null && {
416
- filterCriteria: serializeAws_restJson1CoverageFilterCriteria(input.filterCriteria, context),
417
- }),
403
+ ...(input.filterCriteria != null && { filterCriteria: se_CoverageFilterCriteria(input.filterCriteria, context) }),
418
404
  ...(input.maxResults != null && { maxResults: input.maxResults }),
419
405
  ...(input.nextToken != null && { nextToken: input.nextToken }),
420
406
  });
@@ -428,8 +414,8 @@ const serializeAws_restJson1ListCoverageCommand = async (input, context) => {
428
414
  body,
429
415
  });
430
416
  };
431
- exports.serializeAws_restJson1ListCoverageCommand = serializeAws_restJson1ListCoverageCommand;
432
- const serializeAws_restJson1ListCoverageStatisticsCommand = async (input, context) => {
417
+ exports.se_ListCoverageCommand = se_ListCoverageCommand;
418
+ const se_ListCoverageStatisticsCommand = async (input, context) => {
433
419
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
434
420
  const headers = {
435
421
  "content-type": "application/json",
@@ -437,9 +423,7 @@ const serializeAws_restJson1ListCoverageStatisticsCommand = async (input, contex
437
423
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/coverage/statistics/list";
438
424
  let body;
439
425
  body = JSON.stringify({
440
- ...(input.filterCriteria != null && {
441
- filterCriteria: serializeAws_restJson1CoverageFilterCriteria(input.filterCriteria, context),
442
- }),
426
+ ...(input.filterCriteria != null && { filterCriteria: se_CoverageFilterCriteria(input.filterCriteria, context) }),
443
427
  ...(input.groupBy != null && { groupBy: input.groupBy }),
444
428
  ...(input.nextToken != null && { nextToken: input.nextToken }),
445
429
  });
@@ -453,8 +437,8 @@ const serializeAws_restJson1ListCoverageStatisticsCommand = async (input, contex
453
437
  body,
454
438
  });
455
439
  };
456
- exports.serializeAws_restJson1ListCoverageStatisticsCommand = serializeAws_restJson1ListCoverageStatisticsCommand;
457
- const serializeAws_restJson1ListDelegatedAdminAccountsCommand = async (input, context) => {
440
+ exports.se_ListCoverageStatisticsCommand = se_ListCoverageStatisticsCommand;
441
+ const se_ListDelegatedAdminAccountsCommand = async (input, context) => {
458
442
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
459
443
  const headers = {
460
444
  "content-type": "application/json",
@@ -475,8 +459,8 @@ const serializeAws_restJson1ListDelegatedAdminAccountsCommand = async (input, co
475
459
  body,
476
460
  });
477
461
  };
478
- exports.serializeAws_restJson1ListDelegatedAdminAccountsCommand = serializeAws_restJson1ListDelegatedAdminAccountsCommand;
479
- const serializeAws_restJson1ListFiltersCommand = async (input, context) => {
462
+ exports.se_ListDelegatedAdminAccountsCommand = se_ListDelegatedAdminAccountsCommand;
463
+ const se_ListFiltersCommand = async (input, context) => {
480
464
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
481
465
  const headers = {
482
466
  "content-type": "application/json",
@@ -485,7 +469,7 @@ const serializeAws_restJson1ListFiltersCommand = async (input, context) => {
485
469
  let body;
486
470
  body = JSON.stringify({
487
471
  ...(input.action != null && { action: input.action }),
488
- ...(input.arns != null && { arns: serializeAws_restJson1FilterArnList(input.arns, context) }),
472
+ ...(input.arns != null && { arns: se_FilterArnList(input.arns, context) }),
489
473
  ...(input.maxResults != null && { maxResults: input.maxResults }),
490
474
  ...(input.nextToken != null && { nextToken: input.nextToken }),
491
475
  });
@@ -499,8 +483,8 @@ const serializeAws_restJson1ListFiltersCommand = async (input, context) => {
499
483
  body,
500
484
  });
501
485
  };
502
- exports.serializeAws_restJson1ListFiltersCommand = serializeAws_restJson1ListFiltersCommand;
503
- const serializeAws_restJson1ListFindingAggregationsCommand = async (input, context) => {
486
+ exports.se_ListFiltersCommand = se_ListFiltersCommand;
487
+ const se_ListFindingAggregationsCommand = async (input, context) => {
504
488
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
505
489
  const headers = {
506
490
  "content-type": "application/json",
@@ -508,9 +492,9 @@ const serializeAws_restJson1ListFindingAggregationsCommand = async (input, conte
508
492
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings/aggregation/list";
509
493
  let body;
510
494
  body = JSON.stringify({
511
- ...(input.accountIds != null && { accountIds: serializeAws_restJson1StringFilterList(input.accountIds, context) }),
495
+ ...(input.accountIds != null && { accountIds: se_StringFilterList(input.accountIds, context) }),
512
496
  ...(input.aggregationRequest != null && {
513
- aggregationRequest: serializeAws_restJson1AggregationRequest(input.aggregationRequest, context),
497
+ aggregationRequest: se_AggregationRequest(input.aggregationRequest, context),
514
498
  }),
515
499
  ...(input.aggregationType != null && { aggregationType: input.aggregationType }),
516
500
  ...(input.maxResults != null && { maxResults: input.maxResults }),
@@ -526,8 +510,8 @@ const serializeAws_restJson1ListFindingAggregationsCommand = async (input, conte
526
510
  body,
527
511
  });
528
512
  };
529
- exports.serializeAws_restJson1ListFindingAggregationsCommand = serializeAws_restJson1ListFindingAggregationsCommand;
530
- const serializeAws_restJson1ListFindingsCommand = async (input, context) => {
513
+ exports.se_ListFindingAggregationsCommand = se_ListFindingAggregationsCommand;
514
+ const se_ListFindingsCommand = async (input, context) => {
531
515
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
532
516
  const headers = {
533
517
  "content-type": "application/json",
@@ -535,14 +519,10 @@ const serializeAws_restJson1ListFindingsCommand = async (input, context) => {
535
519
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings/list";
536
520
  let body;
537
521
  body = JSON.stringify({
538
- ...(input.filterCriteria != null && {
539
- filterCriteria: serializeAws_restJson1FilterCriteria(input.filterCriteria, context),
540
- }),
522
+ ...(input.filterCriteria != null && { filterCriteria: se_FilterCriteria(input.filterCriteria, context) }),
541
523
  ...(input.maxResults != null && { maxResults: input.maxResults }),
542
524
  ...(input.nextToken != null && { nextToken: input.nextToken }),
543
- ...(input.sortCriteria != null && {
544
- sortCriteria: serializeAws_restJson1SortCriteria(input.sortCriteria, context),
545
- }),
525
+ ...(input.sortCriteria != null && { sortCriteria: se_SortCriteria(input.sortCriteria, context) }),
546
526
  });
547
527
  return new protocol_http_1.HttpRequest({
548
528
  protocol,
@@ -554,8 +534,8 @@ const serializeAws_restJson1ListFindingsCommand = async (input, context) => {
554
534
  body,
555
535
  });
556
536
  };
557
- exports.serializeAws_restJson1ListFindingsCommand = serializeAws_restJson1ListFindingsCommand;
558
- const serializeAws_restJson1ListMembersCommand = async (input, context) => {
537
+ exports.se_ListFindingsCommand = se_ListFindingsCommand;
538
+ const se_ListMembersCommand = async (input, context) => {
559
539
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
560
540
  const headers = {
561
541
  "content-type": "application/json",
@@ -577,8 +557,8 @@ const serializeAws_restJson1ListMembersCommand = async (input, context) => {
577
557
  body,
578
558
  });
579
559
  };
580
- exports.serializeAws_restJson1ListMembersCommand = serializeAws_restJson1ListMembersCommand;
581
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
560
+ exports.se_ListMembersCommand = se_ListMembersCommand;
561
+ const se_ListTagsForResourceCommand = async (input, context) => {
582
562
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
583
563
  const headers = {};
584
564
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -594,8 +574,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
594
574
  body,
595
575
  });
596
576
  };
597
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
598
- const serializeAws_restJson1ListUsageTotalsCommand = async (input, context) => {
577
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
578
+ const se_ListUsageTotalsCommand = async (input, context) => {
599
579
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
600
580
  const headers = {
601
581
  "content-type": "application/json",
@@ -603,9 +583,7 @@ const serializeAws_restJson1ListUsageTotalsCommand = async (input, context) => {
603
583
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/usage/list";
604
584
  let body;
605
585
  body = JSON.stringify({
606
- ...(input.accountIds != null && {
607
- accountIds: serializeAws_restJson1UsageAccountIdList(input.accountIds, context),
608
- }),
586
+ ...(input.accountIds != null && { accountIds: se_UsageAccountIdList(input.accountIds, context) }),
609
587
  ...(input.maxResults != null && { maxResults: input.maxResults }),
610
588
  ...(input.nextToken != null && { nextToken: input.nextToken }),
611
589
  });
@@ -619,8 +597,8 @@ const serializeAws_restJson1ListUsageTotalsCommand = async (input, context) => {
619
597
  body,
620
598
  });
621
599
  };
622
- exports.serializeAws_restJson1ListUsageTotalsCommand = serializeAws_restJson1ListUsageTotalsCommand;
623
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
600
+ exports.se_ListUsageTotalsCommand = se_ListUsageTotalsCommand;
601
+ const se_TagResourceCommand = async (input, context) => {
624
602
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
625
603
  const headers = {
626
604
  "content-type": "application/json",
@@ -629,7 +607,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
629
607
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
630
608
  let body;
631
609
  body = JSON.stringify({
632
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
610
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
633
611
  });
634
612
  return new protocol_http_1.HttpRequest({
635
613
  protocol,
@@ -641,8 +619,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
641
619
  body,
642
620
  });
643
621
  };
644
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
645
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
622
+ exports.se_TagResourceCommand = se_TagResourceCommand;
623
+ const se_UntagResourceCommand = async (input, context) => {
646
624
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
647
625
  const headers = {};
648
626
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -665,8 +643,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
665
643
  body,
666
644
  });
667
645
  };
668
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
669
- const serializeAws_restJson1UpdateConfigurationCommand = async (input, context) => {
646
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
647
+ const se_UpdateConfigurationCommand = async (input, context) => {
670
648
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
671
649
  const headers = {
672
650
  "content-type": "application/json",
@@ -674,9 +652,7 @@ const serializeAws_restJson1UpdateConfigurationCommand = async (input, context)
674
652
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration/update";
675
653
  let body;
676
654
  body = JSON.stringify({
677
- ...(input.ecrConfiguration != null && {
678
- ecrConfiguration: serializeAws_restJson1EcrConfiguration(input.ecrConfiguration, context),
679
- }),
655
+ ...(input.ecrConfiguration != null && { ecrConfiguration: se_EcrConfiguration(input.ecrConfiguration, context) }),
680
656
  });
681
657
  return new protocol_http_1.HttpRequest({
682
658
  protocol,
@@ -688,8 +664,8 @@ const serializeAws_restJson1UpdateConfigurationCommand = async (input, context)
688
664
  body,
689
665
  });
690
666
  };
691
- exports.serializeAws_restJson1UpdateConfigurationCommand = serializeAws_restJson1UpdateConfigurationCommand;
692
- const serializeAws_restJson1UpdateFilterCommand = async (input, context) => {
667
+ exports.se_UpdateConfigurationCommand = se_UpdateConfigurationCommand;
668
+ const se_UpdateFilterCommand = async (input, context) => {
693
669
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
694
670
  const headers = {
695
671
  "content-type": "application/json",
@@ -700,9 +676,7 @@ const serializeAws_restJson1UpdateFilterCommand = async (input, context) => {
700
676
  ...(input.action != null && { action: input.action }),
701
677
  ...(input.description != null && { description: input.description }),
702
678
  ...(input.filterArn != null && { filterArn: input.filterArn }),
703
- ...(input.filterCriteria != null && {
704
- filterCriteria: serializeAws_restJson1FilterCriteria(input.filterCriteria, context),
705
- }),
679
+ ...(input.filterCriteria != null && { filterCriteria: se_FilterCriteria(input.filterCriteria, context) }),
706
680
  ...(input.name != null && { name: input.name }),
707
681
  ...(input.reason != null && { reason: input.reason }),
708
682
  });
@@ -716,8 +690,8 @@ const serializeAws_restJson1UpdateFilterCommand = async (input, context) => {
716
690
  body,
717
691
  });
718
692
  };
719
- exports.serializeAws_restJson1UpdateFilterCommand = serializeAws_restJson1UpdateFilterCommand;
720
- const serializeAws_restJson1UpdateOrganizationConfigurationCommand = async (input, context) => {
693
+ exports.se_UpdateFilterCommand = se_UpdateFilterCommand;
694
+ const se_UpdateOrganizationConfigurationCommand = async (input, context) => {
721
695
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
722
696
  const headers = {
723
697
  "content-type": "application/json",
@@ -725,7 +699,7 @@ const serializeAws_restJson1UpdateOrganizationConfigurationCommand = async (inpu
725
699
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/organizationconfiguration/update";
726
700
  let body;
727
701
  body = JSON.stringify({
728
- ...(input.autoEnable != null && { autoEnable: serializeAws_restJson1AutoEnable(input.autoEnable, context) }),
702
+ ...(input.autoEnable != null && { autoEnable: se_AutoEnable(input.autoEnable, context) }),
729
703
  });
730
704
  return new protocol_http_1.HttpRequest({
731
705
  protocol,
@@ -737,10 +711,10 @@ const serializeAws_restJson1UpdateOrganizationConfigurationCommand = async (inpu
737
711
  body,
738
712
  });
739
713
  };
740
- exports.serializeAws_restJson1UpdateOrganizationConfigurationCommand = serializeAws_restJson1UpdateOrganizationConfigurationCommand;
741
- const deserializeAws_restJson1AssociateMemberCommand = async (output, context) => {
714
+ exports.se_UpdateOrganizationConfigurationCommand = se_UpdateOrganizationConfigurationCommand;
715
+ const de_AssociateMemberCommand = async (output, context) => {
742
716
  if (output.statusCode !== 200 && output.statusCode >= 300) {
743
- return deserializeAws_restJson1AssociateMemberCommandError(output, context);
717
+ return de_AssociateMemberCommandError(output, context);
744
718
  }
745
719
  const contents = map({
746
720
  $metadata: deserializeMetadata(output),
@@ -751,8 +725,8 @@ const deserializeAws_restJson1AssociateMemberCommand = async (output, context) =
751
725
  }
752
726
  return contents;
753
727
  };
754
- exports.deserializeAws_restJson1AssociateMemberCommand = deserializeAws_restJson1AssociateMemberCommand;
755
- const deserializeAws_restJson1AssociateMemberCommandError = async (output, context) => {
728
+ exports.de_AssociateMemberCommand = de_AssociateMemberCommand;
729
+ const de_AssociateMemberCommandError = async (output, context) => {
756
730
  const parsedOutput = {
757
731
  ...output,
758
732
  body: await parseErrorBody(output.body, context),
@@ -761,16 +735,16 @@ const deserializeAws_restJson1AssociateMemberCommandError = async (output, conte
761
735
  switch (errorCode) {
762
736
  case "AccessDeniedException":
763
737
  case "com.amazonaws.inspector2#AccessDeniedException":
764
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
738
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
765
739
  case "InternalServerException":
766
740
  case "com.amazonaws.inspector2#InternalServerException":
767
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
741
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
768
742
  case "ThrottlingException":
769
743
  case "com.amazonaws.inspector2#ThrottlingException":
770
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
744
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
771
745
  case "ValidationException":
772
746
  case "com.amazonaws.inspector2#ValidationException":
773
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
747
+ throw await de_ValidationExceptionRes(parsedOutput, context);
774
748
  default:
775
749
  const parsedBody = parsedOutput.body;
776
750
  (0, smithy_client_1.throwDefaultError)({
@@ -781,24 +755,24 @@ const deserializeAws_restJson1AssociateMemberCommandError = async (output, conte
781
755
  });
782
756
  }
783
757
  };
784
- const deserializeAws_restJson1BatchGetAccountStatusCommand = async (output, context) => {
758
+ const de_BatchGetAccountStatusCommand = async (output, context) => {
785
759
  if (output.statusCode !== 200 && output.statusCode >= 300) {
786
- return deserializeAws_restJson1BatchGetAccountStatusCommandError(output, context);
760
+ return de_BatchGetAccountStatusCommandError(output, context);
787
761
  }
788
762
  const contents = map({
789
763
  $metadata: deserializeMetadata(output),
790
764
  });
791
765
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
792
766
  if (data.accounts != null) {
793
- contents.accounts = deserializeAws_restJson1AccountStateList(data.accounts, context);
767
+ contents.accounts = de_AccountStateList(data.accounts, context);
794
768
  }
795
769
  if (data.failedAccounts != null) {
796
- contents.failedAccounts = deserializeAws_restJson1FailedAccountList(data.failedAccounts, context);
770
+ contents.failedAccounts = de_FailedAccountList(data.failedAccounts, context);
797
771
  }
798
772
  return contents;
799
773
  };
800
- exports.deserializeAws_restJson1BatchGetAccountStatusCommand = deserializeAws_restJson1BatchGetAccountStatusCommand;
801
- const deserializeAws_restJson1BatchGetAccountStatusCommandError = async (output, context) => {
774
+ exports.de_BatchGetAccountStatusCommand = de_BatchGetAccountStatusCommand;
775
+ const de_BatchGetAccountStatusCommandError = async (output, context) => {
802
776
  const parsedOutput = {
803
777
  ...output,
804
778
  body: await parseErrorBody(output.body, context),
@@ -807,19 +781,19 @@ const deserializeAws_restJson1BatchGetAccountStatusCommandError = async (output,
807
781
  switch (errorCode) {
808
782
  case "AccessDeniedException":
809
783
  case "com.amazonaws.inspector2#AccessDeniedException":
810
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
784
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
811
785
  case "InternalServerException":
812
786
  case "com.amazonaws.inspector2#InternalServerException":
813
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
787
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
814
788
  case "ResourceNotFoundException":
815
789
  case "com.amazonaws.inspector2#ResourceNotFoundException":
816
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
790
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
817
791
  case "ThrottlingException":
818
792
  case "com.amazonaws.inspector2#ThrottlingException":
819
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
793
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
820
794
  case "ValidationException":
821
795
  case "com.amazonaws.inspector2#ValidationException":
822
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
796
+ throw await de_ValidationExceptionRes(parsedOutput, context);
823
797
  default:
824
798
  const parsedBody = parsedOutput.body;
825
799
  (0, smithy_client_1.throwDefaultError)({
@@ -830,24 +804,24 @@ const deserializeAws_restJson1BatchGetAccountStatusCommandError = async (output,
830
804
  });
831
805
  }
832
806
  };
833
- const deserializeAws_restJson1BatchGetFreeTrialInfoCommand = async (output, context) => {
807
+ const de_BatchGetFreeTrialInfoCommand = async (output, context) => {
834
808
  if (output.statusCode !== 200 && output.statusCode >= 300) {
835
- return deserializeAws_restJson1BatchGetFreeTrialInfoCommandError(output, context);
809
+ return de_BatchGetFreeTrialInfoCommandError(output, context);
836
810
  }
837
811
  const contents = map({
838
812
  $metadata: deserializeMetadata(output),
839
813
  });
840
814
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
841
815
  if (data.accounts != null) {
842
- contents.accounts = deserializeAws_restJson1FreeTrialAccountInfoList(data.accounts, context);
816
+ contents.accounts = de_FreeTrialAccountInfoList(data.accounts, context);
843
817
  }
844
818
  if (data.failedAccounts != null) {
845
- contents.failedAccounts = deserializeAws_restJson1FreeTrialInfoErrorList(data.failedAccounts, context);
819
+ contents.failedAccounts = de_FreeTrialInfoErrorList(data.failedAccounts, context);
846
820
  }
847
821
  return contents;
848
822
  };
849
- exports.deserializeAws_restJson1BatchGetFreeTrialInfoCommand = deserializeAws_restJson1BatchGetFreeTrialInfoCommand;
850
- const deserializeAws_restJson1BatchGetFreeTrialInfoCommandError = async (output, context) => {
823
+ exports.de_BatchGetFreeTrialInfoCommand = de_BatchGetFreeTrialInfoCommand;
824
+ const de_BatchGetFreeTrialInfoCommandError = async (output, context) => {
851
825
  const parsedOutput = {
852
826
  ...output,
853
827
  body: await parseErrorBody(output.body, context),
@@ -856,16 +830,16 @@ const deserializeAws_restJson1BatchGetFreeTrialInfoCommandError = async (output,
856
830
  switch (errorCode) {
857
831
  case "AccessDeniedException":
858
832
  case "com.amazonaws.inspector2#AccessDeniedException":
859
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
833
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
860
834
  case "InternalServerException":
861
835
  case "com.amazonaws.inspector2#InternalServerException":
862
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
836
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
863
837
  case "ThrottlingException":
864
838
  case "com.amazonaws.inspector2#ThrottlingException":
865
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
839
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
866
840
  case "ValidationException":
867
841
  case "com.amazonaws.inspector2#ValidationException":
868
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
842
+ throw await de_ValidationExceptionRes(parsedOutput, context);
869
843
  default:
870
844
  const parsedBody = parsedOutput.body;
871
845
  (0, smithy_client_1.throwDefaultError)({
@@ -876,9 +850,9 @@ const deserializeAws_restJson1BatchGetFreeTrialInfoCommandError = async (output,
876
850
  });
877
851
  }
878
852
  };
879
- const deserializeAws_restJson1CancelFindingsReportCommand = async (output, context) => {
853
+ const de_CancelFindingsReportCommand = async (output, context) => {
880
854
  if (output.statusCode !== 200 && output.statusCode >= 300) {
881
- return deserializeAws_restJson1CancelFindingsReportCommandError(output, context);
855
+ return de_CancelFindingsReportCommandError(output, context);
882
856
  }
883
857
  const contents = map({
884
858
  $metadata: deserializeMetadata(output),
@@ -889,8 +863,8 @@ const deserializeAws_restJson1CancelFindingsReportCommand = async (output, conte
889
863
  }
890
864
  return contents;
891
865
  };
892
- exports.deserializeAws_restJson1CancelFindingsReportCommand = deserializeAws_restJson1CancelFindingsReportCommand;
893
- const deserializeAws_restJson1CancelFindingsReportCommandError = async (output, context) => {
866
+ exports.de_CancelFindingsReportCommand = de_CancelFindingsReportCommand;
867
+ const de_CancelFindingsReportCommandError = async (output, context) => {
894
868
  const parsedOutput = {
895
869
  ...output,
896
870
  body: await parseErrorBody(output.body, context),
@@ -899,19 +873,19 @@ const deserializeAws_restJson1CancelFindingsReportCommandError = async (output,
899
873
  switch (errorCode) {
900
874
  case "AccessDeniedException":
901
875
  case "com.amazonaws.inspector2#AccessDeniedException":
902
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
876
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
903
877
  case "InternalServerException":
904
878
  case "com.amazonaws.inspector2#InternalServerException":
905
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
879
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
906
880
  case "ResourceNotFoundException":
907
881
  case "com.amazonaws.inspector2#ResourceNotFoundException":
908
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
882
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
909
883
  case "ThrottlingException":
910
884
  case "com.amazonaws.inspector2#ThrottlingException":
911
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
885
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
912
886
  case "ValidationException":
913
887
  case "com.amazonaws.inspector2#ValidationException":
914
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
888
+ throw await de_ValidationExceptionRes(parsedOutput, context);
915
889
  default:
916
890
  const parsedBody = parsedOutput.body;
917
891
  (0, smithy_client_1.throwDefaultError)({
@@ -922,9 +896,9 @@ const deserializeAws_restJson1CancelFindingsReportCommandError = async (output,
922
896
  });
923
897
  }
924
898
  };
925
- const deserializeAws_restJson1CreateFilterCommand = async (output, context) => {
899
+ const de_CreateFilterCommand = async (output, context) => {
926
900
  if (output.statusCode !== 200 && output.statusCode >= 300) {
927
- return deserializeAws_restJson1CreateFilterCommandError(output, context);
901
+ return de_CreateFilterCommandError(output, context);
928
902
  }
929
903
  const contents = map({
930
904
  $metadata: deserializeMetadata(output),
@@ -935,8 +909,8 @@ const deserializeAws_restJson1CreateFilterCommand = async (output, context) => {
935
909
  }
936
910
  return contents;
937
911
  };
938
- exports.deserializeAws_restJson1CreateFilterCommand = deserializeAws_restJson1CreateFilterCommand;
939
- const deserializeAws_restJson1CreateFilterCommandError = async (output, context) => {
912
+ exports.de_CreateFilterCommand = de_CreateFilterCommand;
913
+ const de_CreateFilterCommandError = async (output, context) => {
940
914
  const parsedOutput = {
941
915
  ...output,
942
916
  body: await parseErrorBody(output.body, context),
@@ -945,22 +919,22 @@ const deserializeAws_restJson1CreateFilterCommandError = async (output, context)
945
919
  switch (errorCode) {
946
920
  case "AccessDeniedException":
947
921
  case "com.amazonaws.inspector2#AccessDeniedException":
948
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
922
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
949
923
  case "BadRequestException":
950
924
  case "com.amazonaws.inspector2#BadRequestException":
951
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
925
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
952
926
  case "InternalServerException":
953
927
  case "com.amazonaws.inspector2#InternalServerException":
954
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
928
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
955
929
  case "ServiceQuotaExceededException":
956
930
  case "com.amazonaws.inspector2#ServiceQuotaExceededException":
957
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
931
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
958
932
  case "ThrottlingException":
959
933
  case "com.amazonaws.inspector2#ThrottlingException":
960
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
934
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
961
935
  case "ValidationException":
962
936
  case "com.amazonaws.inspector2#ValidationException":
963
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
937
+ throw await de_ValidationExceptionRes(parsedOutput, context);
964
938
  default:
965
939
  const parsedBody = parsedOutput.body;
966
940
  (0, smithy_client_1.throwDefaultError)({
@@ -971,9 +945,9 @@ const deserializeAws_restJson1CreateFilterCommandError = async (output, context)
971
945
  });
972
946
  }
973
947
  };
974
- const deserializeAws_restJson1CreateFindingsReportCommand = async (output, context) => {
948
+ const de_CreateFindingsReportCommand = async (output, context) => {
975
949
  if (output.statusCode !== 200 && output.statusCode >= 300) {
976
- return deserializeAws_restJson1CreateFindingsReportCommandError(output, context);
950
+ return de_CreateFindingsReportCommandError(output, context);
977
951
  }
978
952
  const contents = map({
979
953
  $metadata: deserializeMetadata(output),
@@ -984,8 +958,8 @@ const deserializeAws_restJson1CreateFindingsReportCommand = async (output, conte
984
958
  }
985
959
  return contents;
986
960
  };
987
- exports.deserializeAws_restJson1CreateFindingsReportCommand = deserializeAws_restJson1CreateFindingsReportCommand;
988
- const deserializeAws_restJson1CreateFindingsReportCommandError = async (output, context) => {
961
+ exports.de_CreateFindingsReportCommand = de_CreateFindingsReportCommand;
962
+ const de_CreateFindingsReportCommandError = async (output, context) => {
989
963
  const parsedOutput = {
990
964
  ...output,
991
965
  body: await parseErrorBody(output.body, context),
@@ -994,19 +968,19 @@ const deserializeAws_restJson1CreateFindingsReportCommandError = async (output,
994
968
  switch (errorCode) {
995
969
  case "AccessDeniedException":
996
970
  case "com.amazonaws.inspector2#AccessDeniedException":
997
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
971
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
998
972
  case "InternalServerException":
999
973
  case "com.amazonaws.inspector2#InternalServerException":
1000
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
974
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1001
975
  case "ResourceNotFoundException":
1002
976
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1003
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
977
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1004
978
  case "ThrottlingException":
1005
979
  case "com.amazonaws.inspector2#ThrottlingException":
1006
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
980
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1007
981
  case "ValidationException":
1008
982
  case "com.amazonaws.inspector2#ValidationException":
1009
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
983
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1010
984
  default:
1011
985
  const parsedBody = parsedOutput.body;
1012
986
  (0, smithy_client_1.throwDefaultError)({
@@ -1017,9 +991,9 @@ const deserializeAws_restJson1CreateFindingsReportCommandError = async (output,
1017
991
  });
1018
992
  }
1019
993
  };
1020
- const deserializeAws_restJson1DeleteFilterCommand = async (output, context) => {
994
+ const de_DeleteFilterCommand = async (output, context) => {
1021
995
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1022
- return deserializeAws_restJson1DeleteFilterCommandError(output, context);
996
+ return de_DeleteFilterCommandError(output, context);
1023
997
  }
1024
998
  const contents = map({
1025
999
  $metadata: deserializeMetadata(output),
@@ -1030,8 +1004,8 @@ const deserializeAws_restJson1DeleteFilterCommand = async (output, context) => {
1030
1004
  }
1031
1005
  return contents;
1032
1006
  };
1033
- exports.deserializeAws_restJson1DeleteFilterCommand = deserializeAws_restJson1DeleteFilterCommand;
1034
- const deserializeAws_restJson1DeleteFilterCommandError = async (output, context) => {
1007
+ exports.de_DeleteFilterCommand = de_DeleteFilterCommand;
1008
+ const de_DeleteFilterCommandError = async (output, context) => {
1035
1009
  const parsedOutput = {
1036
1010
  ...output,
1037
1011
  body: await parseErrorBody(output.body, context),
@@ -1040,19 +1014,19 @@ const deserializeAws_restJson1DeleteFilterCommandError = async (output, context)
1040
1014
  switch (errorCode) {
1041
1015
  case "AccessDeniedException":
1042
1016
  case "com.amazonaws.inspector2#AccessDeniedException":
1043
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1017
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1044
1018
  case "InternalServerException":
1045
1019
  case "com.amazonaws.inspector2#InternalServerException":
1046
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1020
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1047
1021
  case "ResourceNotFoundException":
1048
1022
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1049
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1023
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1050
1024
  case "ThrottlingException":
1051
1025
  case "com.amazonaws.inspector2#ThrottlingException":
1052
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1026
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1053
1027
  case "ValidationException":
1054
1028
  case "com.amazonaws.inspector2#ValidationException":
1055
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1029
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1056
1030
  default:
1057
1031
  const parsedBody = parsedOutput.body;
1058
1032
  (0, smithy_client_1.throwDefaultError)({
@@ -1063,24 +1037,24 @@ const deserializeAws_restJson1DeleteFilterCommandError = async (output, context)
1063
1037
  });
1064
1038
  }
1065
1039
  };
1066
- const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (output, context) => {
1040
+ const de_DescribeOrganizationConfigurationCommand = async (output, context) => {
1067
1041
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1068
- return deserializeAws_restJson1DescribeOrganizationConfigurationCommandError(output, context);
1042
+ return de_DescribeOrganizationConfigurationCommandError(output, context);
1069
1043
  }
1070
1044
  const contents = map({
1071
1045
  $metadata: deserializeMetadata(output),
1072
1046
  });
1073
1047
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1074
1048
  if (data.autoEnable != null) {
1075
- contents.autoEnable = deserializeAws_restJson1AutoEnable(data.autoEnable, context);
1049
+ contents.autoEnable = de_AutoEnable(data.autoEnable, context);
1076
1050
  }
1077
1051
  if (data.maxAccountLimitReached != null) {
1078
1052
  contents.maxAccountLimitReached = (0, smithy_client_1.expectBoolean)(data.maxAccountLimitReached);
1079
1053
  }
1080
1054
  return contents;
1081
1055
  };
1082
- exports.deserializeAws_restJson1DescribeOrganizationConfigurationCommand = deserializeAws_restJson1DescribeOrganizationConfigurationCommand;
1083
- const deserializeAws_restJson1DescribeOrganizationConfigurationCommandError = async (output, context) => {
1056
+ exports.de_DescribeOrganizationConfigurationCommand = de_DescribeOrganizationConfigurationCommand;
1057
+ const de_DescribeOrganizationConfigurationCommandError = async (output, context) => {
1084
1058
  const parsedOutput = {
1085
1059
  ...output,
1086
1060
  body: await parseErrorBody(output.body, context),
@@ -1089,16 +1063,16 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommandError = as
1089
1063
  switch (errorCode) {
1090
1064
  case "AccessDeniedException":
1091
1065
  case "com.amazonaws.inspector2#AccessDeniedException":
1092
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1066
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1093
1067
  case "InternalServerException":
1094
1068
  case "com.amazonaws.inspector2#InternalServerException":
1095
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1069
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1096
1070
  case "ThrottlingException":
1097
1071
  case "com.amazonaws.inspector2#ThrottlingException":
1098
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1072
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1099
1073
  case "ValidationException":
1100
1074
  case "com.amazonaws.inspector2#ValidationException":
1101
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1075
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1102
1076
  default:
1103
1077
  const parsedBody = parsedOutput.body;
1104
1078
  (0, smithy_client_1.throwDefaultError)({
@@ -1109,24 +1083,24 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommandError = as
1109
1083
  });
1110
1084
  }
1111
1085
  };
1112
- const deserializeAws_restJson1DisableCommand = async (output, context) => {
1086
+ const de_DisableCommand = async (output, context) => {
1113
1087
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1114
- return deserializeAws_restJson1DisableCommandError(output, context);
1088
+ return de_DisableCommandError(output, context);
1115
1089
  }
1116
1090
  const contents = map({
1117
1091
  $metadata: deserializeMetadata(output),
1118
1092
  });
1119
1093
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1120
1094
  if (data.accounts != null) {
1121
- contents.accounts = deserializeAws_restJson1AccountList(data.accounts, context);
1095
+ contents.accounts = de_AccountList(data.accounts, context);
1122
1096
  }
1123
1097
  if (data.failedAccounts != null) {
1124
- contents.failedAccounts = deserializeAws_restJson1FailedAccountList(data.failedAccounts, context);
1098
+ contents.failedAccounts = de_FailedAccountList(data.failedAccounts, context);
1125
1099
  }
1126
1100
  return contents;
1127
1101
  };
1128
- exports.deserializeAws_restJson1DisableCommand = deserializeAws_restJson1DisableCommand;
1129
- const deserializeAws_restJson1DisableCommandError = async (output, context) => {
1102
+ exports.de_DisableCommand = de_DisableCommand;
1103
+ const de_DisableCommandError = async (output, context) => {
1130
1104
  const parsedOutput = {
1131
1105
  ...output,
1132
1106
  body: await parseErrorBody(output.body, context),
@@ -1135,19 +1109,19 @@ const deserializeAws_restJson1DisableCommandError = async (output, context) => {
1135
1109
  switch (errorCode) {
1136
1110
  case "AccessDeniedException":
1137
1111
  case "com.amazonaws.inspector2#AccessDeniedException":
1138
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1112
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1139
1113
  case "InternalServerException":
1140
1114
  case "com.amazonaws.inspector2#InternalServerException":
1141
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1115
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1142
1116
  case "ResourceNotFoundException":
1143
1117
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1144
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1118
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1145
1119
  case "ThrottlingException":
1146
1120
  case "com.amazonaws.inspector2#ThrottlingException":
1147
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1121
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1148
1122
  case "ValidationException":
1149
1123
  case "com.amazonaws.inspector2#ValidationException":
1150
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1124
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1151
1125
  default:
1152
1126
  const parsedBody = parsedOutput.body;
1153
1127
  (0, smithy_client_1.throwDefaultError)({
@@ -1158,9 +1132,9 @@ const deserializeAws_restJson1DisableCommandError = async (output, context) => {
1158
1132
  });
1159
1133
  }
1160
1134
  };
1161
- const deserializeAws_restJson1DisableDelegatedAdminAccountCommand = async (output, context) => {
1135
+ const de_DisableDelegatedAdminAccountCommand = async (output, context) => {
1162
1136
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1163
- return deserializeAws_restJson1DisableDelegatedAdminAccountCommandError(output, context);
1137
+ return de_DisableDelegatedAdminAccountCommandError(output, context);
1164
1138
  }
1165
1139
  const contents = map({
1166
1140
  $metadata: deserializeMetadata(output),
@@ -1171,8 +1145,8 @@ const deserializeAws_restJson1DisableDelegatedAdminAccountCommand = async (outpu
1171
1145
  }
1172
1146
  return contents;
1173
1147
  };
1174
- exports.deserializeAws_restJson1DisableDelegatedAdminAccountCommand = deserializeAws_restJson1DisableDelegatedAdminAccountCommand;
1175
- const deserializeAws_restJson1DisableDelegatedAdminAccountCommandError = async (output, context) => {
1148
+ exports.de_DisableDelegatedAdminAccountCommand = de_DisableDelegatedAdminAccountCommand;
1149
+ const de_DisableDelegatedAdminAccountCommandError = async (output, context) => {
1176
1150
  const parsedOutput = {
1177
1151
  ...output,
1178
1152
  body: await parseErrorBody(output.body, context),
@@ -1181,22 +1155,22 @@ const deserializeAws_restJson1DisableDelegatedAdminAccountCommandError = async (
1181
1155
  switch (errorCode) {
1182
1156
  case "AccessDeniedException":
1183
1157
  case "com.amazonaws.inspector2#AccessDeniedException":
1184
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1158
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1185
1159
  case "ConflictException":
1186
1160
  case "com.amazonaws.inspector2#ConflictException":
1187
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1161
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1188
1162
  case "InternalServerException":
1189
1163
  case "com.amazonaws.inspector2#InternalServerException":
1190
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1164
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1191
1165
  case "ResourceNotFoundException":
1192
1166
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1193
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1167
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1194
1168
  case "ThrottlingException":
1195
1169
  case "com.amazonaws.inspector2#ThrottlingException":
1196
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1170
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1197
1171
  case "ValidationException":
1198
1172
  case "com.amazonaws.inspector2#ValidationException":
1199
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1173
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1200
1174
  default:
1201
1175
  const parsedBody = parsedOutput.body;
1202
1176
  (0, smithy_client_1.throwDefaultError)({
@@ -1207,9 +1181,9 @@ const deserializeAws_restJson1DisableDelegatedAdminAccountCommandError = async (
1207
1181
  });
1208
1182
  }
1209
1183
  };
1210
- const deserializeAws_restJson1DisassociateMemberCommand = async (output, context) => {
1184
+ const de_DisassociateMemberCommand = async (output, context) => {
1211
1185
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1212
- return deserializeAws_restJson1DisassociateMemberCommandError(output, context);
1186
+ return de_DisassociateMemberCommandError(output, context);
1213
1187
  }
1214
1188
  const contents = map({
1215
1189
  $metadata: deserializeMetadata(output),
@@ -1220,8 +1194,8 @@ const deserializeAws_restJson1DisassociateMemberCommand = async (output, context
1220
1194
  }
1221
1195
  return contents;
1222
1196
  };
1223
- exports.deserializeAws_restJson1DisassociateMemberCommand = deserializeAws_restJson1DisassociateMemberCommand;
1224
- const deserializeAws_restJson1DisassociateMemberCommandError = async (output, context) => {
1197
+ exports.de_DisassociateMemberCommand = de_DisassociateMemberCommand;
1198
+ const de_DisassociateMemberCommandError = async (output, context) => {
1225
1199
  const parsedOutput = {
1226
1200
  ...output,
1227
1201
  body: await parseErrorBody(output.body, context),
@@ -1230,16 +1204,16 @@ const deserializeAws_restJson1DisassociateMemberCommandError = async (output, co
1230
1204
  switch (errorCode) {
1231
1205
  case "AccessDeniedException":
1232
1206
  case "com.amazonaws.inspector2#AccessDeniedException":
1233
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1207
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1234
1208
  case "InternalServerException":
1235
1209
  case "com.amazonaws.inspector2#InternalServerException":
1236
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1210
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1237
1211
  case "ThrottlingException":
1238
1212
  case "com.amazonaws.inspector2#ThrottlingException":
1239
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1213
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1240
1214
  case "ValidationException":
1241
1215
  case "com.amazonaws.inspector2#ValidationException":
1242
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1216
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1243
1217
  default:
1244
1218
  const parsedBody = parsedOutput.body;
1245
1219
  (0, smithy_client_1.throwDefaultError)({
@@ -1250,24 +1224,24 @@ const deserializeAws_restJson1DisassociateMemberCommandError = async (output, co
1250
1224
  });
1251
1225
  }
1252
1226
  };
1253
- const deserializeAws_restJson1EnableCommand = async (output, context) => {
1227
+ const de_EnableCommand = async (output, context) => {
1254
1228
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1255
- return deserializeAws_restJson1EnableCommandError(output, context);
1229
+ return de_EnableCommandError(output, context);
1256
1230
  }
1257
1231
  const contents = map({
1258
1232
  $metadata: deserializeMetadata(output),
1259
1233
  });
1260
1234
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1261
1235
  if (data.accounts != null) {
1262
- contents.accounts = deserializeAws_restJson1AccountList(data.accounts, context);
1236
+ contents.accounts = de_AccountList(data.accounts, context);
1263
1237
  }
1264
1238
  if (data.failedAccounts != null) {
1265
- contents.failedAccounts = deserializeAws_restJson1FailedAccountList(data.failedAccounts, context);
1239
+ contents.failedAccounts = de_FailedAccountList(data.failedAccounts, context);
1266
1240
  }
1267
1241
  return contents;
1268
1242
  };
1269
- exports.deserializeAws_restJson1EnableCommand = deserializeAws_restJson1EnableCommand;
1270
- const deserializeAws_restJson1EnableCommandError = async (output, context) => {
1243
+ exports.de_EnableCommand = de_EnableCommand;
1244
+ const de_EnableCommandError = async (output, context) => {
1271
1245
  const parsedOutput = {
1272
1246
  ...output,
1273
1247
  body: await parseErrorBody(output.body, context),
@@ -1276,19 +1250,19 @@ const deserializeAws_restJson1EnableCommandError = async (output, context) => {
1276
1250
  switch (errorCode) {
1277
1251
  case "AccessDeniedException":
1278
1252
  case "com.amazonaws.inspector2#AccessDeniedException":
1279
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1253
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1280
1254
  case "InternalServerException":
1281
1255
  case "com.amazonaws.inspector2#InternalServerException":
1282
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1256
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1283
1257
  case "ResourceNotFoundException":
1284
1258
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1285
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1259
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1286
1260
  case "ThrottlingException":
1287
1261
  case "com.amazonaws.inspector2#ThrottlingException":
1288
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1262
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1289
1263
  case "ValidationException":
1290
1264
  case "com.amazonaws.inspector2#ValidationException":
1291
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1265
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1292
1266
  default:
1293
1267
  const parsedBody = parsedOutput.body;
1294
1268
  (0, smithy_client_1.throwDefaultError)({
@@ -1299,9 +1273,9 @@ const deserializeAws_restJson1EnableCommandError = async (output, context) => {
1299
1273
  });
1300
1274
  }
1301
1275
  };
1302
- const deserializeAws_restJson1EnableDelegatedAdminAccountCommand = async (output, context) => {
1276
+ const de_EnableDelegatedAdminAccountCommand = async (output, context) => {
1303
1277
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1304
- return deserializeAws_restJson1EnableDelegatedAdminAccountCommandError(output, context);
1278
+ return de_EnableDelegatedAdminAccountCommandError(output, context);
1305
1279
  }
1306
1280
  const contents = map({
1307
1281
  $metadata: deserializeMetadata(output),
@@ -1312,8 +1286,8 @@ const deserializeAws_restJson1EnableDelegatedAdminAccountCommand = async (output
1312
1286
  }
1313
1287
  return contents;
1314
1288
  };
1315
- exports.deserializeAws_restJson1EnableDelegatedAdminAccountCommand = deserializeAws_restJson1EnableDelegatedAdminAccountCommand;
1316
- const deserializeAws_restJson1EnableDelegatedAdminAccountCommandError = async (output, context) => {
1289
+ exports.de_EnableDelegatedAdminAccountCommand = de_EnableDelegatedAdminAccountCommand;
1290
+ const de_EnableDelegatedAdminAccountCommandError = async (output, context) => {
1317
1291
  const parsedOutput = {
1318
1292
  ...output,
1319
1293
  body: await parseErrorBody(output.body, context),
@@ -1322,22 +1296,22 @@ const deserializeAws_restJson1EnableDelegatedAdminAccountCommandError = async (o
1322
1296
  switch (errorCode) {
1323
1297
  case "AccessDeniedException":
1324
1298
  case "com.amazonaws.inspector2#AccessDeniedException":
1325
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1299
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1326
1300
  case "ConflictException":
1327
1301
  case "com.amazonaws.inspector2#ConflictException":
1328
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1302
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1329
1303
  case "InternalServerException":
1330
1304
  case "com.amazonaws.inspector2#InternalServerException":
1331
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1305
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1332
1306
  case "ResourceNotFoundException":
1333
1307
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1334
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1308
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1335
1309
  case "ThrottlingException":
1336
1310
  case "com.amazonaws.inspector2#ThrottlingException":
1337
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1311
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1338
1312
  case "ValidationException":
1339
1313
  case "com.amazonaws.inspector2#ValidationException":
1340
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1314
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1341
1315
  default:
1342
1316
  const parsedBody = parsedOutput.body;
1343
1317
  (0, smithy_client_1.throwDefaultError)({
@@ -1348,21 +1322,21 @@ const deserializeAws_restJson1EnableDelegatedAdminAccountCommandError = async (o
1348
1322
  });
1349
1323
  }
1350
1324
  };
1351
- const deserializeAws_restJson1GetConfigurationCommand = async (output, context) => {
1325
+ const de_GetConfigurationCommand = async (output, context) => {
1352
1326
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1353
- return deserializeAws_restJson1GetConfigurationCommandError(output, context);
1327
+ return de_GetConfigurationCommandError(output, context);
1354
1328
  }
1355
1329
  const contents = map({
1356
1330
  $metadata: deserializeMetadata(output),
1357
1331
  });
1358
1332
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1359
1333
  if (data.ecrConfiguration != null) {
1360
- contents.ecrConfiguration = deserializeAws_restJson1EcrConfigurationState(data.ecrConfiguration, context);
1334
+ contents.ecrConfiguration = de_EcrConfigurationState(data.ecrConfiguration, context);
1361
1335
  }
1362
1336
  return contents;
1363
1337
  };
1364
- exports.deserializeAws_restJson1GetConfigurationCommand = deserializeAws_restJson1GetConfigurationCommand;
1365
- const deserializeAws_restJson1GetConfigurationCommandError = async (output, context) => {
1338
+ exports.de_GetConfigurationCommand = de_GetConfigurationCommand;
1339
+ const de_GetConfigurationCommandError = async (output, context) => {
1366
1340
  const parsedOutput = {
1367
1341
  ...output,
1368
1342
  body: await parseErrorBody(output.body, context),
@@ -1371,13 +1345,13 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (output, cont
1371
1345
  switch (errorCode) {
1372
1346
  case "InternalServerException":
1373
1347
  case "com.amazonaws.inspector2#InternalServerException":
1374
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1348
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1375
1349
  case "ResourceNotFoundException":
1376
1350
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1377
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1351
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1378
1352
  case "ThrottlingException":
1379
1353
  case "com.amazonaws.inspector2#ThrottlingException":
1380
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1354
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1381
1355
  default:
1382
1356
  const parsedBody = parsedOutput.body;
1383
1357
  (0, smithy_client_1.throwDefaultError)({
@@ -1388,21 +1362,21 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (output, cont
1388
1362
  });
1389
1363
  }
1390
1364
  };
1391
- const deserializeAws_restJson1GetDelegatedAdminAccountCommand = async (output, context) => {
1365
+ const de_GetDelegatedAdminAccountCommand = async (output, context) => {
1392
1366
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1393
- return deserializeAws_restJson1GetDelegatedAdminAccountCommandError(output, context);
1367
+ return de_GetDelegatedAdminAccountCommandError(output, context);
1394
1368
  }
1395
1369
  const contents = map({
1396
1370
  $metadata: deserializeMetadata(output),
1397
1371
  });
1398
1372
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1399
1373
  if (data.delegatedAdmin != null) {
1400
- contents.delegatedAdmin = deserializeAws_restJson1DelegatedAdmin(data.delegatedAdmin, context);
1374
+ contents.delegatedAdmin = de_DelegatedAdmin(data.delegatedAdmin, context);
1401
1375
  }
1402
1376
  return contents;
1403
1377
  };
1404
- exports.deserializeAws_restJson1GetDelegatedAdminAccountCommand = deserializeAws_restJson1GetDelegatedAdminAccountCommand;
1405
- const deserializeAws_restJson1GetDelegatedAdminAccountCommandError = async (output, context) => {
1378
+ exports.de_GetDelegatedAdminAccountCommand = de_GetDelegatedAdminAccountCommand;
1379
+ const de_GetDelegatedAdminAccountCommandError = async (output, context) => {
1406
1380
  const parsedOutput = {
1407
1381
  ...output,
1408
1382
  body: await parseErrorBody(output.body, context),
@@ -1411,19 +1385,19 @@ const deserializeAws_restJson1GetDelegatedAdminAccountCommandError = async (outp
1411
1385
  switch (errorCode) {
1412
1386
  case "AccessDeniedException":
1413
1387
  case "com.amazonaws.inspector2#AccessDeniedException":
1414
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1388
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1415
1389
  case "InternalServerException":
1416
1390
  case "com.amazonaws.inspector2#InternalServerException":
1417
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1391
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1418
1392
  case "ResourceNotFoundException":
1419
1393
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1420
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1394
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1421
1395
  case "ThrottlingException":
1422
1396
  case "com.amazonaws.inspector2#ThrottlingException":
1423
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1397
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1424
1398
  case "ValidationException":
1425
1399
  case "com.amazonaws.inspector2#ValidationException":
1426
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1400
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1427
1401
  default:
1428
1402
  const parsedBody = parsedOutput.body;
1429
1403
  (0, smithy_client_1.throwDefaultError)({
@@ -1434,16 +1408,16 @@ const deserializeAws_restJson1GetDelegatedAdminAccountCommandError = async (outp
1434
1408
  });
1435
1409
  }
1436
1410
  };
1437
- const deserializeAws_restJson1GetFindingsReportStatusCommand = async (output, context) => {
1411
+ const de_GetFindingsReportStatusCommand = async (output, context) => {
1438
1412
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1439
- return deserializeAws_restJson1GetFindingsReportStatusCommandError(output, context);
1413
+ return de_GetFindingsReportStatusCommandError(output, context);
1440
1414
  }
1441
1415
  const contents = map({
1442
1416
  $metadata: deserializeMetadata(output),
1443
1417
  });
1444
1418
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1445
1419
  if (data.destination != null) {
1446
- contents.destination = deserializeAws_restJson1Destination(data.destination, context);
1420
+ contents.destination = de_Destination(data.destination, context);
1447
1421
  }
1448
1422
  if (data.errorCode != null) {
1449
1423
  contents.errorCode = (0, smithy_client_1.expectString)(data.errorCode);
@@ -1452,7 +1426,7 @@ const deserializeAws_restJson1GetFindingsReportStatusCommand = async (output, co
1452
1426
  contents.errorMessage = (0, smithy_client_1.expectString)(data.errorMessage);
1453
1427
  }
1454
1428
  if (data.filterCriteria != null) {
1455
- contents.filterCriteria = deserializeAws_restJson1FilterCriteria(data.filterCriteria, context);
1429
+ contents.filterCriteria = de_FilterCriteria(data.filterCriteria, context);
1456
1430
  }
1457
1431
  if (data.reportId != null) {
1458
1432
  contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
@@ -1462,8 +1436,8 @@ const deserializeAws_restJson1GetFindingsReportStatusCommand = async (output, co
1462
1436
  }
1463
1437
  return contents;
1464
1438
  };
1465
- exports.deserializeAws_restJson1GetFindingsReportStatusCommand = deserializeAws_restJson1GetFindingsReportStatusCommand;
1466
- const deserializeAws_restJson1GetFindingsReportStatusCommandError = async (output, context) => {
1439
+ exports.de_GetFindingsReportStatusCommand = de_GetFindingsReportStatusCommand;
1440
+ const de_GetFindingsReportStatusCommandError = async (output, context) => {
1467
1441
  const parsedOutput = {
1468
1442
  ...output,
1469
1443
  body: await parseErrorBody(output.body, context),
@@ -1472,19 +1446,19 @@ const deserializeAws_restJson1GetFindingsReportStatusCommandError = async (outpu
1472
1446
  switch (errorCode) {
1473
1447
  case "AccessDeniedException":
1474
1448
  case "com.amazonaws.inspector2#AccessDeniedException":
1475
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1449
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1476
1450
  case "InternalServerException":
1477
1451
  case "com.amazonaws.inspector2#InternalServerException":
1478
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1452
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1479
1453
  case "ResourceNotFoundException":
1480
1454
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1481
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1455
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1482
1456
  case "ThrottlingException":
1483
1457
  case "com.amazonaws.inspector2#ThrottlingException":
1484
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1458
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1485
1459
  case "ValidationException":
1486
1460
  case "com.amazonaws.inspector2#ValidationException":
1487
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1461
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1488
1462
  default:
1489
1463
  const parsedBody = parsedOutput.body;
1490
1464
  (0, smithy_client_1.throwDefaultError)({
@@ -1495,21 +1469,21 @@ const deserializeAws_restJson1GetFindingsReportStatusCommandError = async (outpu
1495
1469
  });
1496
1470
  }
1497
1471
  };
1498
- const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
1472
+ const de_GetMemberCommand = async (output, context) => {
1499
1473
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1500
- return deserializeAws_restJson1GetMemberCommandError(output, context);
1474
+ return de_GetMemberCommandError(output, context);
1501
1475
  }
1502
1476
  const contents = map({
1503
1477
  $metadata: deserializeMetadata(output),
1504
1478
  });
1505
1479
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1506
1480
  if (data.member != null) {
1507
- contents.member = deserializeAws_restJson1Member(data.member, context);
1481
+ contents.member = de_Member(data.member, context);
1508
1482
  }
1509
1483
  return contents;
1510
1484
  };
1511
- exports.deserializeAws_restJson1GetMemberCommand = deserializeAws_restJson1GetMemberCommand;
1512
- const deserializeAws_restJson1GetMemberCommandError = async (output, context) => {
1485
+ exports.de_GetMemberCommand = de_GetMemberCommand;
1486
+ const de_GetMemberCommandError = async (output, context) => {
1513
1487
  const parsedOutput = {
1514
1488
  ...output,
1515
1489
  body: await parseErrorBody(output.body, context),
@@ -1518,19 +1492,19 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1518
1492
  switch (errorCode) {
1519
1493
  case "AccessDeniedException":
1520
1494
  case "com.amazonaws.inspector2#AccessDeniedException":
1521
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1495
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1522
1496
  case "InternalServerException":
1523
1497
  case "com.amazonaws.inspector2#InternalServerException":
1524
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1498
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1525
1499
  case "ResourceNotFoundException":
1526
1500
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1527
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1501
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1528
1502
  case "ThrottlingException":
1529
1503
  case "com.amazonaws.inspector2#ThrottlingException":
1530
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1504
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1531
1505
  case "ValidationException":
1532
1506
  case "com.amazonaws.inspector2#ValidationException":
1533
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1507
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1534
1508
  default:
1535
1509
  const parsedBody = parsedOutput.body;
1536
1510
  (0, smithy_client_1.throwDefaultError)({
@@ -1541,9 +1515,9 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1541
1515
  });
1542
1516
  }
1543
1517
  };
1544
- const deserializeAws_restJson1ListAccountPermissionsCommand = async (output, context) => {
1518
+ const de_ListAccountPermissionsCommand = async (output, context) => {
1545
1519
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1546
- return deserializeAws_restJson1ListAccountPermissionsCommandError(output, context);
1520
+ return de_ListAccountPermissionsCommandError(output, context);
1547
1521
  }
1548
1522
  const contents = map({
1549
1523
  $metadata: deserializeMetadata(output),
@@ -1553,12 +1527,12 @@ const deserializeAws_restJson1ListAccountPermissionsCommand = async (output, con
1553
1527
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1554
1528
  }
1555
1529
  if (data.permissions != null) {
1556
- contents.permissions = deserializeAws_restJson1Permissions(data.permissions, context);
1530
+ contents.permissions = de_Permissions(data.permissions, context);
1557
1531
  }
1558
1532
  return contents;
1559
1533
  };
1560
- exports.deserializeAws_restJson1ListAccountPermissionsCommand = deserializeAws_restJson1ListAccountPermissionsCommand;
1561
- const deserializeAws_restJson1ListAccountPermissionsCommandError = async (output, context) => {
1534
+ exports.de_ListAccountPermissionsCommand = de_ListAccountPermissionsCommand;
1535
+ const de_ListAccountPermissionsCommandError = async (output, context) => {
1562
1536
  const parsedOutput = {
1563
1537
  ...output,
1564
1538
  body: await parseErrorBody(output.body, context),
@@ -1567,16 +1541,16 @@ const deserializeAws_restJson1ListAccountPermissionsCommandError = async (output
1567
1541
  switch (errorCode) {
1568
1542
  case "AccessDeniedException":
1569
1543
  case "com.amazonaws.inspector2#AccessDeniedException":
1570
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1544
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1571
1545
  case "InternalServerException":
1572
1546
  case "com.amazonaws.inspector2#InternalServerException":
1573
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1547
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1574
1548
  case "ThrottlingException":
1575
1549
  case "com.amazonaws.inspector2#ThrottlingException":
1576
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1550
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1577
1551
  case "ValidationException":
1578
1552
  case "com.amazonaws.inspector2#ValidationException":
1579
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1553
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1580
1554
  default:
1581
1555
  const parsedBody = parsedOutput.body;
1582
1556
  (0, smithy_client_1.throwDefaultError)({
@@ -1587,24 +1561,24 @@ const deserializeAws_restJson1ListAccountPermissionsCommandError = async (output
1587
1561
  });
1588
1562
  }
1589
1563
  };
1590
- const deserializeAws_restJson1ListCoverageCommand = async (output, context) => {
1564
+ const de_ListCoverageCommand = async (output, context) => {
1591
1565
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1592
- return deserializeAws_restJson1ListCoverageCommandError(output, context);
1566
+ return de_ListCoverageCommandError(output, context);
1593
1567
  }
1594
1568
  const contents = map({
1595
1569
  $metadata: deserializeMetadata(output),
1596
1570
  });
1597
1571
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1598
1572
  if (data.coveredResources != null) {
1599
- contents.coveredResources = deserializeAws_restJson1CoveredResources(data.coveredResources, context);
1573
+ contents.coveredResources = de_CoveredResources(data.coveredResources, context);
1600
1574
  }
1601
1575
  if (data.nextToken != null) {
1602
1576
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1603
1577
  }
1604
1578
  return contents;
1605
1579
  };
1606
- exports.deserializeAws_restJson1ListCoverageCommand = deserializeAws_restJson1ListCoverageCommand;
1607
- const deserializeAws_restJson1ListCoverageCommandError = async (output, context) => {
1580
+ exports.de_ListCoverageCommand = de_ListCoverageCommand;
1581
+ const de_ListCoverageCommandError = async (output, context) => {
1608
1582
  const parsedOutput = {
1609
1583
  ...output,
1610
1584
  body: await parseErrorBody(output.body, context),
@@ -1613,13 +1587,13 @@ const deserializeAws_restJson1ListCoverageCommandError = async (output, context)
1613
1587
  switch (errorCode) {
1614
1588
  case "InternalServerException":
1615
1589
  case "com.amazonaws.inspector2#InternalServerException":
1616
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1590
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1617
1591
  case "ThrottlingException":
1618
1592
  case "com.amazonaws.inspector2#ThrottlingException":
1619
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1593
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1620
1594
  case "ValidationException":
1621
1595
  case "com.amazonaws.inspector2#ValidationException":
1622
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1596
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1623
1597
  default:
1624
1598
  const parsedBody = parsedOutput.body;
1625
1599
  (0, smithy_client_1.throwDefaultError)({
@@ -1630,16 +1604,16 @@ const deserializeAws_restJson1ListCoverageCommandError = async (output, context)
1630
1604
  });
1631
1605
  }
1632
1606
  };
1633
- const deserializeAws_restJson1ListCoverageStatisticsCommand = async (output, context) => {
1607
+ const de_ListCoverageStatisticsCommand = async (output, context) => {
1634
1608
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1635
- return deserializeAws_restJson1ListCoverageStatisticsCommandError(output, context);
1609
+ return de_ListCoverageStatisticsCommandError(output, context);
1636
1610
  }
1637
1611
  const contents = map({
1638
1612
  $metadata: deserializeMetadata(output),
1639
1613
  });
1640
1614
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1641
1615
  if (data.countsByGroup != null) {
1642
- contents.countsByGroup = deserializeAws_restJson1CountsList(data.countsByGroup, context);
1616
+ contents.countsByGroup = de_CountsList(data.countsByGroup, context);
1643
1617
  }
1644
1618
  if (data.nextToken != null) {
1645
1619
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
@@ -1649,8 +1623,8 @@ const deserializeAws_restJson1ListCoverageStatisticsCommand = async (output, con
1649
1623
  }
1650
1624
  return contents;
1651
1625
  };
1652
- exports.deserializeAws_restJson1ListCoverageStatisticsCommand = deserializeAws_restJson1ListCoverageStatisticsCommand;
1653
- const deserializeAws_restJson1ListCoverageStatisticsCommandError = async (output, context) => {
1626
+ exports.de_ListCoverageStatisticsCommand = de_ListCoverageStatisticsCommand;
1627
+ const de_ListCoverageStatisticsCommandError = async (output, context) => {
1654
1628
  const parsedOutput = {
1655
1629
  ...output,
1656
1630
  body: await parseErrorBody(output.body, context),
@@ -1659,13 +1633,13 @@ const deserializeAws_restJson1ListCoverageStatisticsCommandError = async (output
1659
1633
  switch (errorCode) {
1660
1634
  case "InternalServerException":
1661
1635
  case "com.amazonaws.inspector2#InternalServerException":
1662
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1636
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1663
1637
  case "ThrottlingException":
1664
1638
  case "com.amazonaws.inspector2#ThrottlingException":
1665
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1639
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1666
1640
  case "ValidationException":
1667
1641
  case "com.amazonaws.inspector2#ValidationException":
1668
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1642
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1669
1643
  default:
1670
1644
  const parsedBody = parsedOutput.body;
1671
1645
  (0, smithy_client_1.throwDefaultError)({
@@ -1676,24 +1650,24 @@ const deserializeAws_restJson1ListCoverageStatisticsCommandError = async (output
1676
1650
  });
1677
1651
  }
1678
1652
  };
1679
- const deserializeAws_restJson1ListDelegatedAdminAccountsCommand = async (output, context) => {
1653
+ const de_ListDelegatedAdminAccountsCommand = async (output, context) => {
1680
1654
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1681
- return deserializeAws_restJson1ListDelegatedAdminAccountsCommandError(output, context);
1655
+ return de_ListDelegatedAdminAccountsCommandError(output, context);
1682
1656
  }
1683
1657
  const contents = map({
1684
1658
  $metadata: deserializeMetadata(output),
1685
1659
  });
1686
1660
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1687
1661
  if (data.delegatedAdminAccounts != null) {
1688
- contents.delegatedAdminAccounts = deserializeAws_restJson1DelegatedAdminAccountList(data.delegatedAdminAccounts, context);
1662
+ contents.delegatedAdminAccounts = de_DelegatedAdminAccountList(data.delegatedAdminAccounts, context);
1689
1663
  }
1690
1664
  if (data.nextToken != null) {
1691
1665
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1692
1666
  }
1693
1667
  return contents;
1694
1668
  };
1695
- exports.deserializeAws_restJson1ListDelegatedAdminAccountsCommand = deserializeAws_restJson1ListDelegatedAdminAccountsCommand;
1696
- const deserializeAws_restJson1ListDelegatedAdminAccountsCommandError = async (output, context) => {
1669
+ exports.de_ListDelegatedAdminAccountsCommand = de_ListDelegatedAdminAccountsCommand;
1670
+ const de_ListDelegatedAdminAccountsCommandError = async (output, context) => {
1697
1671
  const parsedOutput = {
1698
1672
  ...output,
1699
1673
  body: await parseErrorBody(output.body, context),
@@ -1702,16 +1676,16 @@ const deserializeAws_restJson1ListDelegatedAdminAccountsCommandError = async (ou
1702
1676
  switch (errorCode) {
1703
1677
  case "AccessDeniedException":
1704
1678
  case "com.amazonaws.inspector2#AccessDeniedException":
1705
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1679
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1706
1680
  case "InternalServerException":
1707
1681
  case "com.amazonaws.inspector2#InternalServerException":
1708
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1682
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1709
1683
  case "ThrottlingException":
1710
1684
  case "com.amazonaws.inspector2#ThrottlingException":
1711
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1685
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1712
1686
  case "ValidationException":
1713
1687
  case "com.amazonaws.inspector2#ValidationException":
1714
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1688
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1715
1689
  default:
1716
1690
  const parsedBody = parsedOutput.body;
1717
1691
  (0, smithy_client_1.throwDefaultError)({
@@ -1722,24 +1696,24 @@ const deserializeAws_restJson1ListDelegatedAdminAccountsCommandError = async (ou
1722
1696
  });
1723
1697
  }
1724
1698
  };
1725
- const deserializeAws_restJson1ListFiltersCommand = async (output, context) => {
1699
+ const de_ListFiltersCommand = async (output, context) => {
1726
1700
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1727
- return deserializeAws_restJson1ListFiltersCommandError(output, context);
1701
+ return de_ListFiltersCommandError(output, context);
1728
1702
  }
1729
1703
  const contents = map({
1730
1704
  $metadata: deserializeMetadata(output),
1731
1705
  });
1732
1706
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1733
1707
  if (data.filters != null) {
1734
- contents.filters = deserializeAws_restJson1FilterList(data.filters, context);
1708
+ contents.filters = de_FilterList(data.filters, context);
1735
1709
  }
1736
1710
  if (data.nextToken != null) {
1737
1711
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1738
1712
  }
1739
1713
  return contents;
1740
1714
  };
1741
- exports.deserializeAws_restJson1ListFiltersCommand = deserializeAws_restJson1ListFiltersCommand;
1742
- const deserializeAws_restJson1ListFiltersCommandError = async (output, context) => {
1715
+ exports.de_ListFiltersCommand = de_ListFiltersCommand;
1716
+ const de_ListFiltersCommandError = async (output, context) => {
1743
1717
  const parsedOutput = {
1744
1718
  ...output,
1745
1719
  body: await parseErrorBody(output.body, context),
@@ -1748,16 +1722,16 @@ const deserializeAws_restJson1ListFiltersCommandError = async (output, context)
1748
1722
  switch (errorCode) {
1749
1723
  case "AccessDeniedException":
1750
1724
  case "com.amazonaws.inspector2#AccessDeniedException":
1751
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1725
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1752
1726
  case "InternalServerException":
1753
1727
  case "com.amazonaws.inspector2#InternalServerException":
1754
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1728
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1755
1729
  case "ThrottlingException":
1756
1730
  case "com.amazonaws.inspector2#ThrottlingException":
1757
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1731
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1758
1732
  case "ValidationException":
1759
1733
  case "com.amazonaws.inspector2#ValidationException":
1760
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1734
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1761
1735
  default:
1762
1736
  const parsedBody = parsedOutput.body;
1763
1737
  (0, smithy_client_1.throwDefaultError)({
@@ -1768,9 +1742,9 @@ const deserializeAws_restJson1ListFiltersCommandError = async (output, context)
1768
1742
  });
1769
1743
  }
1770
1744
  };
1771
- const deserializeAws_restJson1ListFindingAggregationsCommand = async (output, context) => {
1745
+ const de_ListFindingAggregationsCommand = async (output, context) => {
1772
1746
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1773
- return deserializeAws_restJson1ListFindingAggregationsCommandError(output, context);
1747
+ return de_ListFindingAggregationsCommandError(output, context);
1774
1748
  }
1775
1749
  const contents = map({
1776
1750
  $metadata: deserializeMetadata(output),
@@ -1783,12 +1757,12 @@ const deserializeAws_restJson1ListFindingAggregationsCommand = async (output, co
1783
1757
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1784
1758
  }
1785
1759
  if (data.responses != null) {
1786
- contents.responses = deserializeAws_restJson1AggregationResponseList(data.responses, context);
1760
+ contents.responses = de_AggregationResponseList(data.responses, context);
1787
1761
  }
1788
1762
  return contents;
1789
1763
  };
1790
- exports.deserializeAws_restJson1ListFindingAggregationsCommand = deserializeAws_restJson1ListFindingAggregationsCommand;
1791
- const deserializeAws_restJson1ListFindingAggregationsCommandError = async (output, context) => {
1764
+ exports.de_ListFindingAggregationsCommand = de_ListFindingAggregationsCommand;
1765
+ const de_ListFindingAggregationsCommandError = async (output, context) => {
1792
1766
  const parsedOutput = {
1793
1767
  ...output,
1794
1768
  body: await parseErrorBody(output.body, context),
@@ -1797,13 +1771,13 @@ const deserializeAws_restJson1ListFindingAggregationsCommandError = async (outpu
1797
1771
  switch (errorCode) {
1798
1772
  case "InternalServerException":
1799
1773
  case "com.amazonaws.inspector2#InternalServerException":
1800
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1774
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1801
1775
  case "ThrottlingException":
1802
1776
  case "com.amazonaws.inspector2#ThrottlingException":
1803
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1777
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1804
1778
  case "ValidationException":
1805
1779
  case "com.amazonaws.inspector2#ValidationException":
1806
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1780
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1807
1781
  default:
1808
1782
  const parsedBody = parsedOutput.body;
1809
1783
  (0, smithy_client_1.throwDefaultError)({
@@ -1814,24 +1788,24 @@ const deserializeAws_restJson1ListFindingAggregationsCommandError = async (outpu
1814
1788
  });
1815
1789
  }
1816
1790
  };
1817
- const deserializeAws_restJson1ListFindingsCommand = async (output, context) => {
1791
+ const de_ListFindingsCommand = async (output, context) => {
1818
1792
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1819
- return deserializeAws_restJson1ListFindingsCommandError(output, context);
1793
+ return de_ListFindingsCommandError(output, context);
1820
1794
  }
1821
1795
  const contents = map({
1822
1796
  $metadata: deserializeMetadata(output),
1823
1797
  });
1824
1798
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1825
1799
  if (data.findings != null) {
1826
- contents.findings = deserializeAws_restJson1FindingList(data.findings, context);
1800
+ contents.findings = de_FindingList(data.findings, context);
1827
1801
  }
1828
1802
  if (data.nextToken != null) {
1829
1803
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1830
1804
  }
1831
1805
  return contents;
1832
1806
  };
1833
- exports.deserializeAws_restJson1ListFindingsCommand = deserializeAws_restJson1ListFindingsCommand;
1834
- const deserializeAws_restJson1ListFindingsCommandError = async (output, context) => {
1807
+ exports.de_ListFindingsCommand = de_ListFindingsCommand;
1808
+ const de_ListFindingsCommandError = async (output, context) => {
1835
1809
  const parsedOutput = {
1836
1810
  ...output,
1837
1811
  body: await parseErrorBody(output.body, context),
@@ -1840,13 +1814,13 @@ const deserializeAws_restJson1ListFindingsCommandError = async (output, context)
1840
1814
  switch (errorCode) {
1841
1815
  case "InternalServerException":
1842
1816
  case "com.amazonaws.inspector2#InternalServerException":
1843
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1817
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1844
1818
  case "ThrottlingException":
1845
1819
  case "com.amazonaws.inspector2#ThrottlingException":
1846
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1820
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1847
1821
  case "ValidationException":
1848
1822
  case "com.amazonaws.inspector2#ValidationException":
1849
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1823
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1850
1824
  default:
1851
1825
  const parsedBody = parsedOutput.body;
1852
1826
  (0, smithy_client_1.throwDefaultError)({
@@ -1857,24 +1831,24 @@ const deserializeAws_restJson1ListFindingsCommandError = async (output, context)
1857
1831
  });
1858
1832
  }
1859
1833
  };
1860
- const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
1834
+ const de_ListMembersCommand = async (output, context) => {
1861
1835
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1862
- return deserializeAws_restJson1ListMembersCommandError(output, context);
1836
+ return de_ListMembersCommandError(output, context);
1863
1837
  }
1864
1838
  const contents = map({
1865
1839
  $metadata: deserializeMetadata(output),
1866
1840
  });
1867
1841
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1868
1842
  if (data.members != null) {
1869
- contents.members = deserializeAws_restJson1MemberList(data.members, context);
1843
+ contents.members = de_MemberList(data.members, context);
1870
1844
  }
1871
1845
  if (data.nextToken != null) {
1872
1846
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1873
1847
  }
1874
1848
  return contents;
1875
1849
  };
1876
- exports.deserializeAws_restJson1ListMembersCommand = deserializeAws_restJson1ListMembersCommand;
1877
- const deserializeAws_restJson1ListMembersCommandError = async (output, context) => {
1850
+ exports.de_ListMembersCommand = de_ListMembersCommand;
1851
+ const de_ListMembersCommandError = async (output, context) => {
1878
1852
  const parsedOutput = {
1879
1853
  ...output,
1880
1854
  body: await parseErrorBody(output.body, context),
@@ -1883,16 +1857,16 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1883
1857
  switch (errorCode) {
1884
1858
  case "AccessDeniedException":
1885
1859
  case "com.amazonaws.inspector2#AccessDeniedException":
1886
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1860
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1887
1861
  case "InternalServerException":
1888
1862
  case "com.amazonaws.inspector2#InternalServerException":
1889
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1863
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1890
1864
  case "ThrottlingException":
1891
1865
  case "com.amazonaws.inspector2#ThrottlingException":
1892
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1866
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1893
1867
  case "ValidationException":
1894
1868
  case "com.amazonaws.inspector2#ValidationException":
1895
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1869
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1896
1870
  default:
1897
1871
  const parsedBody = parsedOutput.body;
1898
1872
  (0, smithy_client_1.throwDefaultError)({
@@ -1903,21 +1877,21 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1903
1877
  });
1904
1878
  }
1905
1879
  };
1906
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1880
+ const de_ListTagsForResourceCommand = async (output, context) => {
1907
1881
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1908
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1882
+ return de_ListTagsForResourceCommandError(output, context);
1909
1883
  }
1910
1884
  const contents = map({
1911
1885
  $metadata: deserializeMetadata(output),
1912
1886
  });
1913
1887
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1914
1888
  if (data.tags != null) {
1915
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1889
+ contents.tags = de_TagMap(data.tags, context);
1916
1890
  }
1917
1891
  return contents;
1918
1892
  };
1919
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1920
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1893
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1894
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1921
1895
  const parsedOutput = {
1922
1896
  ...output,
1923
1897
  body: await parseErrorBody(output.body, context),
@@ -1926,16 +1900,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1926
1900
  switch (errorCode) {
1927
1901
  case "InternalServerException":
1928
1902
  case "com.amazonaws.inspector2#InternalServerException":
1929
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1903
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1930
1904
  case "ResourceNotFoundException":
1931
1905
  case "com.amazonaws.inspector2#ResourceNotFoundException":
1932
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1906
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1933
1907
  case "ThrottlingException":
1934
1908
  case "com.amazonaws.inspector2#ThrottlingException":
1935
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1909
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1936
1910
  case "ValidationException":
1937
1911
  case "com.amazonaws.inspector2#ValidationException":
1938
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1912
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1939
1913
  default:
1940
1914
  const parsedBody = parsedOutput.body;
1941
1915
  (0, smithy_client_1.throwDefaultError)({
@@ -1946,9 +1920,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1946
1920
  });
1947
1921
  }
1948
1922
  };
1949
- const deserializeAws_restJson1ListUsageTotalsCommand = async (output, context) => {
1923
+ const de_ListUsageTotalsCommand = async (output, context) => {
1950
1924
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1951
- return deserializeAws_restJson1ListUsageTotalsCommandError(output, context);
1925
+ return de_ListUsageTotalsCommandError(output, context);
1952
1926
  }
1953
1927
  const contents = map({
1954
1928
  $metadata: deserializeMetadata(output),
@@ -1958,12 +1932,12 @@ const deserializeAws_restJson1ListUsageTotalsCommand = async (output, context) =
1958
1932
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1959
1933
  }
1960
1934
  if (data.totals != null) {
1961
- contents.totals = deserializeAws_restJson1UsageTotalList(data.totals, context);
1935
+ contents.totals = de_UsageTotalList(data.totals, context);
1962
1936
  }
1963
1937
  return contents;
1964
1938
  };
1965
- exports.deserializeAws_restJson1ListUsageTotalsCommand = deserializeAws_restJson1ListUsageTotalsCommand;
1966
- const deserializeAws_restJson1ListUsageTotalsCommandError = async (output, context) => {
1939
+ exports.de_ListUsageTotalsCommand = de_ListUsageTotalsCommand;
1940
+ const de_ListUsageTotalsCommandError = async (output, context) => {
1967
1941
  const parsedOutput = {
1968
1942
  ...output,
1969
1943
  body: await parseErrorBody(output.body, context),
@@ -1972,16 +1946,16 @@ const deserializeAws_restJson1ListUsageTotalsCommandError = async (output, conte
1972
1946
  switch (errorCode) {
1973
1947
  case "AccessDeniedException":
1974
1948
  case "com.amazonaws.inspector2#AccessDeniedException":
1975
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1949
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1976
1950
  case "InternalServerException":
1977
1951
  case "com.amazonaws.inspector2#InternalServerException":
1978
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1952
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1979
1953
  case "ThrottlingException":
1980
1954
  case "com.amazonaws.inspector2#ThrottlingException":
1981
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1955
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1982
1956
  case "ValidationException":
1983
1957
  case "com.amazonaws.inspector2#ValidationException":
1984
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1958
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1985
1959
  default:
1986
1960
  const parsedBody = parsedOutput.body;
1987
1961
  (0, smithy_client_1.throwDefaultError)({
@@ -1992,9 +1966,9 @@ const deserializeAws_restJson1ListUsageTotalsCommandError = async (output, conte
1992
1966
  });
1993
1967
  }
1994
1968
  };
1995
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1969
+ const de_TagResourceCommand = async (output, context) => {
1996
1970
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1997
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1971
+ return de_TagResourceCommandError(output, context);
1998
1972
  }
1999
1973
  const contents = map({
2000
1974
  $metadata: deserializeMetadata(output),
@@ -2002,8 +1976,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2002
1976
  await collectBody(output.body, context);
2003
1977
  return contents;
2004
1978
  };
2005
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
2006
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1979
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1980
+ const de_TagResourceCommandError = async (output, context) => {
2007
1981
  const parsedOutput = {
2008
1982
  ...output,
2009
1983
  body: await parseErrorBody(output.body, context),
@@ -2012,19 +1986,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2012
1986
  switch (errorCode) {
2013
1987
  case "BadRequestException":
2014
1988
  case "com.amazonaws.inspector2#BadRequestException":
2015
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1989
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2016
1990
  case "InternalServerException":
2017
1991
  case "com.amazonaws.inspector2#InternalServerException":
2018
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1992
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2019
1993
  case "ResourceNotFoundException":
2020
1994
  case "com.amazonaws.inspector2#ResourceNotFoundException":
2021
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1995
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2022
1996
  case "ThrottlingException":
2023
1997
  case "com.amazonaws.inspector2#ThrottlingException":
2024
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1998
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2025
1999
  case "ValidationException":
2026
2000
  case "com.amazonaws.inspector2#ValidationException":
2027
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2001
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2028
2002
  default:
2029
2003
  const parsedBody = parsedOutput.body;
2030
2004
  (0, smithy_client_1.throwDefaultError)({
@@ -2035,9 +2009,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2035
2009
  });
2036
2010
  }
2037
2011
  };
2038
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2012
+ const de_UntagResourceCommand = async (output, context) => {
2039
2013
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2040
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2014
+ return de_UntagResourceCommandError(output, context);
2041
2015
  }
2042
2016
  const contents = map({
2043
2017
  $metadata: deserializeMetadata(output),
@@ -2045,8 +2019,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
2045
2019
  await collectBody(output.body, context);
2046
2020
  return contents;
2047
2021
  };
2048
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
2049
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2022
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
2023
+ const de_UntagResourceCommandError = async (output, context) => {
2050
2024
  const parsedOutput = {
2051
2025
  ...output,
2052
2026
  body: await parseErrorBody(output.body, context),
@@ -2055,16 +2029,16 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2055
2029
  switch (errorCode) {
2056
2030
  case "InternalServerException":
2057
2031
  case "com.amazonaws.inspector2#InternalServerException":
2058
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2032
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2059
2033
  case "ResourceNotFoundException":
2060
2034
  case "com.amazonaws.inspector2#ResourceNotFoundException":
2061
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2035
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2062
2036
  case "ThrottlingException":
2063
2037
  case "com.amazonaws.inspector2#ThrottlingException":
2064
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2038
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2065
2039
  case "ValidationException":
2066
2040
  case "com.amazonaws.inspector2#ValidationException":
2067
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2041
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2068
2042
  default:
2069
2043
  const parsedBody = parsedOutput.body;
2070
2044
  (0, smithy_client_1.throwDefaultError)({
@@ -2075,9 +2049,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2075
2049
  });
2076
2050
  }
2077
2051
  };
2078
- const deserializeAws_restJson1UpdateConfigurationCommand = async (output, context) => {
2052
+ const de_UpdateConfigurationCommand = async (output, context) => {
2079
2053
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2080
- return deserializeAws_restJson1UpdateConfigurationCommandError(output, context);
2054
+ return de_UpdateConfigurationCommandError(output, context);
2081
2055
  }
2082
2056
  const contents = map({
2083
2057
  $metadata: deserializeMetadata(output),
@@ -2085,8 +2059,8 @@ const deserializeAws_restJson1UpdateConfigurationCommand = async (output, contex
2085
2059
  await collectBody(output.body, context);
2086
2060
  return contents;
2087
2061
  };
2088
- exports.deserializeAws_restJson1UpdateConfigurationCommand = deserializeAws_restJson1UpdateConfigurationCommand;
2089
- const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, context) => {
2062
+ exports.de_UpdateConfigurationCommand = de_UpdateConfigurationCommand;
2063
+ const de_UpdateConfigurationCommandError = async (output, context) => {
2090
2064
  const parsedOutput = {
2091
2065
  ...output,
2092
2066
  body: await parseErrorBody(output.body, context),
@@ -2095,16 +2069,16 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
2095
2069
  switch (errorCode) {
2096
2070
  case "AccessDeniedException":
2097
2071
  case "com.amazonaws.inspector2#AccessDeniedException":
2098
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2072
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2099
2073
  case "InternalServerException":
2100
2074
  case "com.amazonaws.inspector2#InternalServerException":
2101
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2075
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2102
2076
  case "ThrottlingException":
2103
2077
  case "com.amazonaws.inspector2#ThrottlingException":
2104
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2078
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2105
2079
  case "ValidationException":
2106
2080
  case "com.amazonaws.inspector2#ValidationException":
2107
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2081
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2108
2082
  default:
2109
2083
  const parsedBody = parsedOutput.body;
2110
2084
  (0, smithy_client_1.throwDefaultError)({
@@ -2115,9 +2089,9 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
2115
2089
  });
2116
2090
  }
2117
2091
  };
2118
- const deserializeAws_restJson1UpdateFilterCommand = async (output, context) => {
2092
+ const de_UpdateFilterCommand = async (output, context) => {
2119
2093
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2120
- return deserializeAws_restJson1UpdateFilterCommandError(output, context);
2094
+ return de_UpdateFilterCommandError(output, context);
2121
2095
  }
2122
2096
  const contents = map({
2123
2097
  $metadata: deserializeMetadata(output),
@@ -2128,8 +2102,8 @@ const deserializeAws_restJson1UpdateFilterCommand = async (output, context) => {
2128
2102
  }
2129
2103
  return contents;
2130
2104
  };
2131
- exports.deserializeAws_restJson1UpdateFilterCommand = deserializeAws_restJson1UpdateFilterCommand;
2132
- const deserializeAws_restJson1UpdateFilterCommandError = async (output, context) => {
2105
+ exports.de_UpdateFilterCommand = de_UpdateFilterCommand;
2106
+ const de_UpdateFilterCommandError = async (output, context) => {
2133
2107
  const parsedOutput = {
2134
2108
  ...output,
2135
2109
  body: await parseErrorBody(output.body, context),
@@ -2138,19 +2112,19 @@ const deserializeAws_restJson1UpdateFilterCommandError = async (output, context)
2138
2112
  switch (errorCode) {
2139
2113
  case "AccessDeniedException":
2140
2114
  case "com.amazonaws.inspector2#AccessDeniedException":
2141
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2115
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2142
2116
  case "InternalServerException":
2143
2117
  case "com.amazonaws.inspector2#InternalServerException":
2144
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2118
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2145
2119
  case "ResourceNotFoundException":
2146
2120
  case "com.amazonaws.inspector2#ResourceNotFoundException":
2147
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2121
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2148
2122
  case "ThrottlingException":
2149
2123
  case "com.amazonaws.inspector2#ThrottlingException":
2150
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2124
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2151
2125
  case "ValidationException":
2152
2126
  case "com.amazonaws.inspector2#ValidationException":
2153
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2127
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2154
2128
  default:
2155
2129
  const parsedBody = parsedOutput.body;
2156
2130
  (0, smithy_client_1.throwDefaultError)({
@@ -2161,21 +2135,21 @@ const deserializeAws_restJson1UpdateFilterCommandError = async (output, context)
2161
2135
  });
2162
2136
  }
2163
2137
  };
2164
- const deserializeAws_restJson1UpdateOrganizationConfigurationCommand = async (output, context) => {
2138
+ const de_UpdateOrganizationConfigurationCommand = async (output, context) => {
2165
2139
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2166
- return deserializeAws_restJson1UpdateOrganizationConfigurationCommandError(output, context);
2140
+ return de_UpdateOrganizationConfigurationCommandError(output, context);
2167
2141
  }
2168
2142
  const contents = map({
2169
2143
  $metadata: deserializeMetadata(output),
2170
2144
  });
2171
2145
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2172
2146
  if (data.autoEnable != null) {
2173
- contents.autoEnable = deserializeAws_restJson1AutoEnable(data.autoEnable, context);
2147
+ contents.autoEnable = de_AutoEnable(data.autoEnable, context);
2174
2148
  }
2175
2149
  return contents;
2176
2150
  };
2177
- exports.deserializeAws_restJson1UpdateOrganizationConfigurationCommand = deserializeAws_restJson1UpdateOrganizationConfigurationCommand;
2178
- const deserializeAws_restJson1UpdateOrganizationConfigurationCommandError = async (output, context) => {
2151
+ exports.de_UpdateOrganizationConfigurationCommand = de_UpdateOrganizationConfigurationCommand;
2152
+ const de_UpdateOrganizationConfigurationCommandError = async (output, context) => {
2179
2153
  const parsedOutput = {
2180
2154
  ...output,
2181
2155
  body: await parseErrorBody(output.body, context),
@@ -2184,16 +2158,16 @@ const deserializeAws_restJson1UpdateOrganizationConfigurationCommandError = asyn
2184
2158
  switch (errorCode) {
2185
2159
  case "AccessDeniedException":
2186
2160
  case "com.amazonaws.inspector2#AccessDeniedException":
2187
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2161
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2188
2162
  case "InternalServerException":
2189
2163
  case "com.amazonaws.inspector2#InternalServerException":
2190
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2164
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2191
2165
  case "ThrottlingException":
2192
2166
  case "com.amazonaws.inspector2#ThrottlingException":
2193
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2167
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2194
2168
  case "ValidationException":
2195
2169
  case "com.amazonaws.inspector2#ValidationException":
2196
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2170
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2197
2171
  default:
2198
2172
  const parsedBody = parsedOutput.body;
2199
2173
  (0, smithy_client_1.throwDefaultError)({
@@ -2205,7 +2179,7 @@ const deserializeAws_restJson1UpdateOrganizationConfigurationCommandError = asyn
2205
2179
  }
2206
2180
  };
2207
2181
  const map = smithy_client_1.map;
2208
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2182
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2209
2183
  const contents = map({});
2210
2184
  const data = parsedOutput.body;
2211
2185
  if (data.message != null) {
@@ -2217,7 +2191,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2217
2191
  });
2218
2192
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2219
2193
  };
2220
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2194
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
2221
2195
  const contents = map({});
2222
2196
  const data = parsedOutput.body;
2223
2197
  if (data.message != null) {
@@ -2229,7 +2203,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2229
2203
  });
2230
2204
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2231
2205
  };
2232
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2206
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2233
2207
  const contents = map({});
2234
2208
  const data = parsedOutput.body;
2235
2209
  if (data.message != null) {
@@ -2247,7 +2221,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2247
2221
  });
2248
2222
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2249
2223
  };
2250
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2224
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2251
2225
  const contents = map({
2252
2226
  retryAfterSeconds: [
2253
2227
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2264,7 +2238,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2264
2238
  });
2265
2239
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2266
2240
  };
2267
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2241
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2268
2242
  const contents = map({});
2269
2243
  const data = parsedOutput.body;
2270
2244
  if (data.message != null) {
@@ -2276,7 +2250,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2276
2250
  });
2277
2251
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2278
2252
  };
2279
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2253
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2280
2254
  const contents = map({});
2281
2255
  const data = parsedOutput.body;
2282
2256
  if (data.message != null) {
@@ -2291,7 +2265,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2291
2265
  });
2292
2266
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2293
2267
  };
2294
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2268
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2295
2269
  const contents = map({
2296
2270
  retryAfterSeconds: [
2297
2271
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2308,11 +2282,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2308
2282
  });
2309
2283
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2310
2284
  };
2311
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2285
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2312
2286
  const contents = map({});
2313
2287
  const data = parsedOutput.body;
2314
2288
  if (data.fields != null) {
2315
- contents.fields = deserializeAws_restJson1ValidationExceptionFields(data.fields, context);
2289
+ contents.fields = de_ValidationExceptionFields(data.fields, context);
2316
2290
  }
2317
2291
  if (data.message != null) {
2318
2292
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -2326,7 +2300,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2326
2300
  });
2327
2301
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2328
2302
  };
2329
- const serializeAws_restJson1AccountAggregation = (input, context) => {
2303
+ const se_AccountAggregation = (input, context) => {
2330
2304
  return {
2331
2305
  ...(input.findingType != null && { findingType: input.findingType }),
2332
2306
  ...(input.resourceType != null && { resourceType: input.resourceType }),
@@ -2334,310 +2308,232 @@ const serializeAws_restJson1AccountAggregation = (input, context) => {
2334
2308
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2335
2309
  };
2336
2310
  };
2337
- const serializeAws_restJson1AccountIdSet = (input, context) => {
2311
+ const se_AccountIdSet = (input, context) => {
2338
2312
  return input
2339
2313
  .filter((e) => e != null)
2340
2314
  .map((entry) => {
2341
2315
  return entry;
2342
2316
  });
2343
2317
  };
2344
- const serializeAws_restJson1AggregationRequest = (input, context) => {
2318
+ const se_AggregationRequest = (input, context) => {
2345
2319
  return models_0_1.AggregationRequest.visit(input, {
2346
- accountAggregation: (value) => ({ accountAggregation: serializeAws_restJson1AccountAggregation(value, context) }),
2347
- amiAggregation: (value) => ({ amiAggregation: serializeAws_restJson1AmiAggregation(value, context) }),
2320
+ accountAggregation: (value) => ({ accountAggregation: se_AccountAggregation(value, context) }),
2321
+ amiAggregation: (value) => ({ amiAggregation: se_AmiAggregation(value, context) }),
2348
2322
  awsEcrContainerAggregation: (value) => ({
2349
- awsEcrContainerAggregation: serializeAws_restJson1AwsEcrContainerAggregation(value, context),
2350
- }),
2351
- ec2InstanceAggregation: (value) => ({
2352
- ec2InstanceAggregation: serializeAws_restJson1Ec2InstanceAggregation(value, context),
2353
- }),
2354
- findingTypeAggregation: (value) => ({
2355
- findingTypeAggregation: serializeAws_restJson1FindingTypeAggregation(value, context),
2356
- }),
2357
- imageLayerAggregation: (value) => ({
2358
- imageLayerAggregation: serializeAws_restJson1ImageLayerAggregation(value, context),
2359
- }),
2360
- lambdaFunctionAggregation: (value) => ({
2361
- lambdaFunctionAggregation: serializeAws_restJson1LambdaFunctionAggregation(value, context),
2362
- }),
2363
- lambdaLayerAggregation: (value) => ({
2364
- lambdaLayerAggregation: serializeAws_restJson1LambdaLayerAggregation(value, context),
2365
- }),
2366
- packageAggregation: (value) => ({ packageAggregation: serializeAws_restJson1PackageAggregation(value, context) }),
2367
- repositoryAggregation: (value) => ({
2368
- repositoryAggregation: serializeAws_restJson1RepositoryAggregation(value, context),
2369
- }),
2370
- titleAggregation: (value) => ({ titleAggregation: serializeAws_restJson1TitleAggregation(value, context) }),
2323
+ awsEcrContainerAggregation: se_AwsEcrContainerAggregation(value, context),
2324
+ }),
2325
+ ec2InstanceAggregation: (value) => ({ ec2InstanceAggregation: se_Ec2InstanceAggregation(value, context) }),
2326
+ findingTypeAggregation: (value) => ({ findingTypeAggregation: se_FindingTypeAggregation(value, context) }),
2327
+ imageLayerAggregation: (value) => ({ imageLayerAggregation: se_ImageLayerAggregation(value, context) }),
2328
+ lambdaFunctionAggregation: (value) => ({ lambdaFunctionAggregation: se_LambdaFunctionAggregation(value, context) }),
2329
+ lambdaLayerAggregation: (value) => ({ lambdaLayerAggregation: se_LambdaLayerAggregation(value, context) }),
2330
+ packageAggregation: (value) => ({ packageAggregation: se_PackageAggregation(value, context) }),
2331
+ repositoryAggregation: (value) => ({ repositoryAggregation: se_RepositoryAggregation(value, context) }),
2332
+ titleAggregation: (value) => ({ titleAggregation: se_TitleAggregation(value, context) }),
2371
2333
  _: (name, value) => ({ name: value }),
2372
2334
  });
2373
2335
  };
2374
- const serializeAws_restJson1AmiAggregation = (input, context) => {
2336
+ const se_AmiAggregation = (input, context) => {
2375
2337
  return {
2376
- ...(input.amis != null && { amis: serializeAws_restJson1StringFilterList(input.amis, context) }),
2338
+ ...(input.amis != null && { amis: se_StringFilterList(input.amis, context) }),
2377
2339
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2378
2340
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2379
2341
  };
2380
2342
  };
2381
- const serializeAws_restJson1AutoEnable = (input, context) => {
2343
+ const se_AutoEnable = (input, context) => {
2382
2344
  return {
2383
2345
  ...(input.ec2 != null && { ec2: input.ec2 }),
2384
2346
  ...(input.ecr != null && { ecr: input.ecr }),
2385
2347
  ...(input.lambda != null && { lambda: input.lambda }),
2386
2348
  };
2387
2349
  };
2388
- const serializeAws_restJson1AwsEcrContainerAggregation = (input, context) => {
2350
+ const se_AwsEcrContainerAggregation = (input, context) => {
2389
2351
  return {
2390
- ...(input.architectures != null && {
2391
- architectures: serializeAws_restJson1StringFilterList(input.architectures, context),
2392
- }),
2393
- ...(input.imageShas != null && { imageShas: serializeAws_restJson1StringFilterList(input.imageShas, context) }),
2394
- ...(input.imageTags != null && { imageTags: serializeAws_restJson1StringFilterList(input.imageTags, context) }),
2395
- ...(input.repositories != null && {
2396
- repositories: serializeAws_restJson1StringFilterList(input.repositories, context),
2397
- }),
2398
- ...(input.resourceIds != null && {
2399
- resourceIds: serializeAws_restJson1StringFilterList(input.resourceIds, context),
2400
- }),
2352
+ ...(input.architectures != null && { architectures: se_StringFilterList(input.architectures, context) }),
2353
+ ...(input.imageShas != null && { imageShas: se_StringFilterList(input.imageShas, context) }),
2354
+ ...(input.imageTags != null && { imageTags: se_StringFilterList(input.imageTags, context) }),
2355
+ ...(input.repositories != null && { repositories: se_StringFilterList(input.repositories, context) }),
2356
+ ...(input.resourceIds != null && { resourceIds: se_StringFilterList(input.resourceIds, context) }),
2401
2357
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2402
2358
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2403
2359
  };
2404
2360
  };
2405
- const serializeAws_restJson1CoverageFilterCriteria = (input, context) => {
2361
+ const se_CoverageFilterCriteria = (input, context) => {
2406
2362
  return {
2407
- ...(input.accountId != null && {
2408
- accountId: serializeAws_restJson1CoverageStringFilterList(input.accountId, context),
2409
- }),
2410
- ...(input.ec2InstanceTags != null && {
2411
- ec2InstanceTags: serializeAws_restJson1CoverageMapFilterList(input.ec2InstanceTags, context),
2412
- }),
2413
- ...(input.ecrImageTags != null && {
2414
- ecrImageTags: serializeAws_restJson1CoverageStringFilterList(input.ecrImageTags, context),
2415
- }),
2363
+ ...(input.accountId != null && { accountId: se_CoverageStringFilterList(input.accountId, context) }),
2364
+ ...(input.ec2InstanceTags != null && { ec2InstanceTags: se_CoverageMapFilterList(input.ec2InstanceTags, context) }),
2365
+ ...(input.ecrImageTags != null && { ecrImageTags: se_CoverageStringFilterList(input.ecrImageTags, context) }),
2416
2366
  ...(input.ecrRepositoryName != null && {
2417
- ecrRepositoryName: serializeAws_restJson1CoverageStringFilterList(input.ecrRepositoryName, context),
2367
+ ecrRepositoryName: se_CoverageStringFilterList(input.ecrRepositoryName, context),
2418
2368
  }),
2419
2369
  ...(input.lambdaFunctionName != null && {
2420
- lambdaFunctionName: serializeAws_restJson1CoverageStringFilterList(input.lambdaFunctionName, context),
2370
+ lambdaFunctionName: se_CoverageStringFilterList(input.lambdaFunctionName, context),
2421
2371
  }),
2422
2372
  ...(input.lambdaFunctionRuntime != null && {
2423
- lambdaFunctionRuntime: serializeAws_restJson1CoverageStringFilterList(input.lambdaFunctionRuntime, context),
2373
+ lambdaFunctionRuntime: se_CoverageStringFilterList(input.lambdaFunctionRuntime, context),
2424
2374
  }),
2425
2375
  ...(input.lambdaFunctionTags != null && {
2426
- lambdaFunctionTags: serializeAws_restJson1CoverageMapFilterList(input.lambdaFunctionTags, context),
2427
- }),
2428
- ...(input.resourceId != null && {
2429
- resourceId: serializeAws_restJson1CoverageStringFilterList(input.resourceId, context),
2430
- }),
2431
- ...(input.resourceType != null && {
2432
- resourceType: serializeAws_restJson1CoverageStringFilterList(input.resourceType, context),
2433
- }),
2434
- ...(input.scanStatusCode != null && {
2435
- scanStatusCode: serializeAws_restJson1CoverageStringFilterList(input.scanStatusCode, context),
2376
+ lambdaFunctionTags: se_CoverageMapFilterList(input.lambdaFunctionTags, context),
2436
2377
  }),
2378
+ ...(input.resourceId != null && { resourceId: se_CoverageStringFilterList(input.resourceId, context) }),
2379
+ ...(input.resourceType != null && { resourceType: se_CoverageStringFilterList(input.resourceType, context) }),
2380
+ ...(input.scanStatusCode != null && { scanStatusCode: se_CoverageStringFilterList(input.scanStatusCode, context) }),
2437
2381
  ...(input.scanStatusReason != null && {
2438
- scanStatusReason: serializeAws_restJson1CoverageStringFilterList(input.scanStatusReason, context),
2439
- }),
2440
- ...(input.scanType != null && {
2441
- scanType: serializeAws_restJson1CoverageStringFilterList(input.scanType, context),
2382
+ scanStatusReason: se_CoverageStringFilterList(input.scanStatusReason, context),
2442
2383
  }),
2384
+ ...(input.scanType != null && { scanType: se_CoverageStringFilterList(input.scanType, context) }),
2443
2385
  };
2444
2386
  };
2445
- const serializeAws_restJson1CoverageMapFilter = (input, context) => {
2387
+ const se_CoverageMapFilter = (input, context) => {
2446
2388
  return {
2447
2389
  ...(input.comparison != null && { comparison: input.comparison }),
2448
2390
  ...(input.key != null && { key: input.key }),
2449
2391
  ...(input.value != null && { value: input.value }),
2450
2392
  };
2451
2393
  };
2452
- const serializeAws_restJson1CoverageMapFilterList = (input, context) => {
2394
+ const se_CoverageMapFilterList = (input, context) => {
2453
2395
  return input
2454
2396
  .filter((e) => e != null)
2455
2397
  .map((entry) => {
2456
- return serializeAws_restJson1CoverageMapFilter(entry, context);
2398
+ return se_CoverageMapFilter(entry, context);
2457
2399
  });
2458
2400
  };
2459
- const serializeAws_restJson1CoverageStringFilter = (input, context) => {
2401
+ const se_CoverageStringFilter = (input, context) => {
2460
2402
  return {
2461
2403
  ...(input.comparison != null && { comparison: input.comparison }),
2462
2404
  ...(input.value != null && { value: input.value }),
2463
2405
  };
2464
2406
  };
2465
- const serializeAws_restJson1CoverageStringFilterList = (input, context) => {
2407
+ const se_CoverageStringFilterList = (input, context) => {
2466
2408
  return input
2467
2409
  .filter((e) => e != null)
2468
2410
  .map((entry) => {
2469
- return serializeAws_restJson1CoverageStringFilter(entry, context);
2411
+ return se_CoverageStringFilter(entry, context);
2470
2412
  });
2471
2413
  };
2472
- const serializeAws_restJson1DateFilter = (input, context) => {
2414
+ const se_DateFilter = (input, context) => {
2473
2415
  return {
2474
2416
  ...(input.endInclusive != null && { endInclusive: Math.round(input.endInclusive.getTime() / 1000) }),
2475
2417
  ...(input.startInclusive != null && { startInclusive: Math.round(input.startInclusive.getTime() / 1000) }),
2476
2418
  };
2477
2419
  };
2478
- const serializeAws_restJson1DateFilterList = (input, context) => {
2420
+ const se_DateFilterList = (input, context) => {
2479
2421
  return input
2480
2422
  .filter((e) => e != null)
2481
2423
  .map((entry) => {
2482
- return serializeAws_restJson1DateFilter(entry, context);
2424
+ return se_DateFilter(entry, context);
2483
2425
  });
2484
2426
  };
2485
- const serializeAws_restJson1Destination = (input, context) => {
2427
+ const se_Destination = (input, context) => {
2486
2428
  return {
2487
2429
  ...(input.bucketName != null && { bucketName: input.bucketName }),
2488
2430
  ...(input.keyPrefix != null && { keyPrefix: input.keyPrefix }),
2489
2431
  ...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
2490
2432
  };
2491
2433
  };
2492
- const serializeAws_restJson1DisableResourceTypeList = (input, context) => {
2434
+ const se_DisableResourceTypeList = (input, context) => {
2493
2435
  return input
2494
2436
  .filter((e) => e != null)
2495
2437
  .map((entry) => {
2496
2438
  return entry;
2497
2439
  });
2498
2440
  };
2499
- const serializeAws_restJson1Ec2InstanceAggregation = (input, context) => {
2441
+ const se_Ec2InstanceAggregation = (input, context) => {
2500
2442
  return {
2501
- ...(input.amis != null && { amis: serializeAws_restJson1StringFilterList(input.amis, context) }),
2502
- ...(input.instanceIds != null && {
2503
- instanceIds: serializeAws_restJson1StringFilterList(input.instanceIds, context),
2504
- }),
2505
- ...(input.instanceTags != null && {
2506
- instanceTags: serializeAws_restJson1MapFilterList(input.instanceTags, context),
2507
- }),
2508
- ...(input.operatingSystems != null && {
2509
- operatingSystems: serializeAws_restJson1StringFilterList(input.operatingSystems, context),
2510
- }),
2443
+ ...(input.amis != null && { amis: se_StringFilterList(input.amis, context) }),
2444
+ ...(input.instanceIds != null && { instanceIds: se_StringFilterList(input.instanceIds, context) }),
2445
+ ...(input.instanceTags != null && { instanceTags: se_MapFilterList(input.instanceTags, context) }),
2446
+ ...(input.operatingSystems != null && { operatingSystems: se_StringFilterList(input.operatingSystems, context) }),
2511
2447
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2512
2448
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2513
2449
  };
2514
2450
  };
2515
- const serializeAws_restJson1EcrConfiguration = (input, context) => {
2451
+ const se_EcrConfiguration = (input, context) => {
2516
2452
  return {
2517
2453
  ...(input.rescanDuration != null && { rescanDuration: input.rescanDuration }),
2518
2454
  };
2519
2455
  };
2520
- const serializeAws_restJson1EnableResourceTypeList = (input, context) => {
2456
+ const se_EnableResourceTypeList = (input, context) => {
2521
2457
  return input
2522
2458
  .filter((e) => e != null)
2523
2459
  .map((entry) => {
2524
2460
  return entry;
2525
2461
  });
2526
2462
  };
2527
- const serializeAws_restJson1FilterArnList = (input, context) => {
2463
+ const se_FilterArnList = (input, context) => {
2528
2464
  return input
2529
2465
  .filter((e) => e != null)
2530
2466
  .map((entry) => {
2531
2467
  return entry;
2532
2468
  });
2533
2469
  };
2534
- const serializeAws_restJson1FilterCriteria = (input, context) => {
2470
+ const se_FilterCriteria = (input, context) => {
2535
2471
  return {
2536
- ...(input.awsAccountId != null && {
2537
- awsAccountId: serializeAws_restJson1StringFilterList(input.awsAccountId, context),
2538
- }),
2539
- ...(input.componentId != null && {
2540
- componentId: serializeAws_restJson1StringFilterList(input.componentId, context),
2541
- }),
2542
- ...(input.componentType != null && {
2543
- componentType: serializeAws_restJson1StringFilterList(input.componentType, context),
2544
- }),
2472
+ ...(input.awsAccountId != null && { awsAccountId: se_StringFilterList(input.awsAccountId, context) }),
2473
+ ...(input.componentId != null && { componentId: se_StringFilterList(input.componentId, context) }),
2474
+ ...(input.componentType != null && { componentType: se_StringFilterList(input.componentType, context) }),
2545
2475
  ...(input.ec2InstanceImageId != null && {
2546
- ec2InstanceImageId: serializeAws_restJson1StringFilterList(input.ec2InstanceImageId, context),
2476
+ ec2InstanceImageId: se_StringFilterList(input.ec2InstanceImageId, context),
2547
2477
  }),
2548
2478
  ...(input.ec2InstanceSubnetId != null && {
2549
- ec2InstanceSubnetId: serializeAws_restJson1StringFilterList(input.ec2InstanceSubnetId, context),
2550
- }),
2551
- ...(input.ec2InstanceVpcId != null && {
2552
- ec2InstanceVpcId: serializeAws_restJson1StringFilterList(input.ec2InstanceVpcId, context),
2479
+ ec2InstanceSubnetId: se_StringFilterList(input.ec2InstanceSubnetId, context),
2553
2480
  }),
2481
+ ...(input.ec2InstanceVpcId != null && { ec2InstanceVpcId: se_StringFilterList(input.ec2InstanceVpcId, context) }),
2554
2482
  ...(input.ecrImageArchitecture != null && {
2555
- ecrImageArchitecture: serializeAws_restJson1StringFilterList(input.ecrImageArchitecture, context),
2556
- }),
2557
- ...(input.ecrImageHash != null && {
2558
- ecrImageHash: serializeAws_restJson1StringFilterList(input.ecrImageHash, context),
2559
- }),
2560
- ...(input.ecrImagePushedAt != null && {
2561
- ecrImagePushedAt: serializeAws_restJson1DateFilterList(input.ecrImagePushedAt, context),
2562
- }),
2563
- ...(input.ecrImageRegistry != null && {
2564
- ecrImageRegistry: serializeAws_restJson1StringFilterList(input.ecrImageRegistry, context),
2483
+ ecrImageArchitecture: se_StringFilterList(input.ecrImageArchitecture, context),
2565
2484
  }),
2485
+ ...(input.ecrImageHash != null && { ecrImageHash: se_StringFilterList(input.ecrImageHash, context) }),
2486
+ ...(input.ecrImagePushedAt != null && { ecrImagePushedAt: se_DateFilterList(input.ecrImagePushedAt, context) }),
2487
+ ...(input.ecrImageRegistry != null && { ecrImageRegistry: se_StringFilterList(input.ecrImageRegistry, context) }),
2566
2488
  ...(input.ecrImageRepositoryName != null && {
2567
- ecrImageRepositoryName: serializeAws_restJson1StringFilterList(input.ecrImageRepositoryName, context),
2568
- }),
2569
- ...(input.ecrImageTags != null && {
2570
- ecrImageTags: serializeAws_restJson1StringFilterList(input.ecrImageTags, context),
2571
- }),
2572
- ...(input.exploitAvailable != null && {
2573
- exploitAvailable: serializeAws_restJson1StringFilterList(input.exploitAvailable, context),
2574
- }),
2575
- ...(input.findingArn != null && { findingArn: serializeAws_restJson1StringFilterList(input.findingArn, context) }),
2576
- ...(input.findingStatus != null && {
2577
- findingStatus: serializeAws_restJson1StringFilterList(input.findingStatus, context),
2578
- }),
2579
- ...(input.findingType != null && {
2580
- findingType: serializeAws_restJson1StringFilterList(input.findingType, context),
2581
- }),
2582
- ...(input.firstObservedAt != null && {
2583
- firstObservedAt: serializeAws_restJson1DateFilterList(input.firstObservedAt, context),
2584
- }),
2585
- ...(input.fixAvailable != null && {
2586
- fixAvailable: serializeAws_restJson1StringFilterList(input.fixAvailable, context),
2587
- }),
2588
- ...(input.inspectorScore != null && {
2589
- inspectorScore: serializeAws_restJson1NumberFilterList(input.inspectorScore, context),
2590
- }),
2489
+ ecrImageRepositoryName: se_StringFilterList(input.ecrImageRepositoryName, context),
2490
+ }),
2491
+ ...(input.ecrImageTags != null && { ecrImageTags: se_StringFilterList(input.ecrImageTags, context) }),
2492
+ ...(input.exploitAvailable != null && { exploitAvailable: se_StringFilterList(input.exploitAvailable, context) }),
2493
+ ...(input.findingArn != null && { findingArn: se_StringFilterList(input.findingArn, context) }),
2494
+ ...(input.findingStatus != null && { findingStatus: se_StringFilterList(input.findingStatus, context) }),
2495
+ ...(input.findingType != null && { findingType: se_StringFilterList(input.findingType, context) }),
2496
+ ...(input.firstObservedAt != null && { firstObservedAt: se_DateFilterList(input.firstObservedAt, context) }),
2497
+ ...(input.fixAvailable != null && { fixAvailable: se_StringFilterList(input.fixAvailable, context) }),
2498
+ ...(input.inspectorScore != null && { inspectorScore: se_NumberFilterList(input.inspectorScore, context) }),
2591
2499
  ...(input.lambdaFunctionExecutionRoleArn != null && {
2592
- lambdaFunctionExecutionRoleArn: serializeAws_restJson1StringFilterList(input.lambdaFunctionExecutionRoleArn, context),
2500
+ lambdaFunctionExecutionRoleArn: se_StringFilterList(input.lambdaFunctionExecutionRoleArn, context),
2593
2501
  }),
2594
2502
  ...(input.lambdaFunctionLastModifiedAt != null && {
2595
- lambdaFunctionLastModifiedAt: serializeAws_restJson1DateFilterList(input.lambdaFunctionLastModifiedAt, context),
2503
+ lambdaFunctionLastModifiedAt: se_DateFilterList(input.lambdaFunctionLastModifiedAt, context),
2596
2504
  }),
2597
2505
  ...(input.lambdaFunctionLayers != null && {
2598
- lambdaFunctionLayers: serializeAws_restJson1StringFilterList(input.lambdaFunctionLayers, context),
2506
+ lambdaFunctionLayers: se_StringFilterList(input.lambdaFunctionLayers, context),
2599
2507
  }),
2600
2508
  ...(input.lambdaFunctionName != null && {
2601
- lambdaFunctionName: serializeAws_restJson1StringFilterList(input.lambdaFunctionName, context),
2509
+ lambdaFunctionName: se_StringFilterList(input.lambdaFunctionName, context),
2602
2510
  }),
2603
2511
  ...(input.lambdaFunctionRuntime != null && {
2604
- lambdaFunctionRuntime: serializeAws_restJson1StringFilterList(input.lambdaFunctionRuntime, context),
2512
+ lambdaFunctionRuntime: se_StringFilterList(input.lambdaFunctionRuntime, context),
2605
2513
  }),
2606
- ...(input.lastObservedAt != null && {
2607
- lastObservedAt: serializeAws_restJson1DateFilterList(input.lastObservedAt, context),
2608
- }),
2609
- ...(input.networkProtocol != null && {
2610
- networkProtocol: serializeAws_restJson1StringFilterList(input.networkProtocol, context),
2611
- }),
2612
- ...(input.portRange != null && { portRange: serializeAws_restJson1PortRangeFilterList(input.portRange, context) }),
2514
+ ...(input.lastObservedAt != null && { lastObservedAt: se_DateFilterList(input.lastObservedAt, context) }),
2515
+ ...(input.networkProtocol != null && { networkProtocol: se_StringFilterList(input.networkProtocol, context) }),
2516
+ ...(input.portRange != null && { portRange: se_PortRangeFilterList(input.portRange, context) }),
2613
2517
  ...(input.relatedVulnerabilities != null && {
2614
- relatedVulnerabilities: serializeAws_restJson1StringFilterList(input.relatedVulnerabilities, context),
2615
- }),
2616
- ...(input.resourceId != null && { resourceId: serializeAws_restJson1StringFilterList(input.resourceId, context) }),
2617
- ...(input.resourceTags != null && {
2618
- resourceTags: serializeAws_restJson1MapFilterList(input.resourceTags, context),
2619
- }),
2620
- ...(input.resourceType != null && {
2621
- resourceType: serializeAws_restJson1StringFilterList(input.resourceType, context),
2622
- }),
2623
- ...(input.severity != null && { severity: serializeAws_restJson1StringFilterList(input.severity, context) }),
2624
- ...(input.title != null && { title: serializeAws_restJson1StringFilterList(input.title, context) }),
2625
- ...(input.updatedAt != null && { updatedAt: serializeAws_restJson1DateFilterList(input.updatedAt, context) }),
2626
- ...(input.vendorSeverity != null && {
2627
- vendorSeverity: serializeAws_restJson1StringFilterList(input.vendorSeverity, context),
2628
- }),
2629
- ...(input.vulnerabilityId != null && {
2630
- vulnerabilityId: serializeAws_restJson1StringFilterList(input.vulnerabilityId, context),
2631
- }),
2518
+ relatedVulnerabilities: se_StringFilterList(input.relatedVulnerabilities, context),
2519
+ }),
2520
+ ...(input.resourceId != null && { resourceId: se_StringFilterList(input.resourceId, context) }),
2521
+ ...(input.resourceTags != null && { resourceTags: se_MapFilterList(input.resourceTags, context) }),
2522
+ ...(input.resourceType != null && { resourceType: se_StringFilterList(input.resourceType, context) }),
2523
+ ...(input.severity != null && { severity: se_StringFilterList(input.severity, context) }),
2524
+ ...(input.title != null && { title: se_StringFilterList(input.title, context) }),
2525
+ ...(input.updatedAt != null && { updatedAt: se_DateFilterList(input.updatedAt, context) }),
2526
+ ...(input.vendorSeverity != null && { vendorSeverity: se_StringFilterList(input.vendorSeverity, context) }),
2527
+ ...(input.vulnerabilityId != null && { vulnerabilityId: se_StringFilterList(input.vulnerabilityId, context) }),
2632
2528
  ...(input.vulnerabilitySource != null && {
2633
- vulnerabilitySource: serializeAws_restJson1StringFilterList(input.vulnerabilitySource, context),
2529
+ vulnerabilitySource: se_StringFilterList(input.vulnerabilitySource, context),
2634
2530
  }),
2635
2531
  ...(input.vulnerablePackages != null && {
2636
- vulnerablePackages: serializeAws_restJson1PackageFilterList(input.vulnerablePackages, context),
2532
+ vulnerablePackages: se_PackageFilterList(input.vulnerablePackages, context),
2637
2533
  }),
2638
2534
  };
2639
2535
  };
2640
- const serializeAws_restJson1FindingTypeAggregation = (input, context) => {
2536
+ const se_FindingTypeAggregation = (input, context) => {
2641
2537
  return {
2642
2538
  ...(input.findingType != null && { findingType: input.findingType }),
2643
2539
  ...(input.resourceType != null && { resourceType: input.resourceType }),
@@ -2645,159 +2541,135 @@ const serializeAws_restJson1FindingTypeAggregation = (input, context) => {
2645
2541
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2646
2542
  };
2647
2543
  };
2648
- const serializeAws_restJson1ImageLayerAggregation = (input, context) => {
2544
+ const se_ImageLayerAggregation = (input, context) => {
2649
2545
  return {
2650
- ...(input.layerHashes != null && {
2651
- layerHashes: serializeAws_restJson1StringFilterList(input.layerHashes, context),
2652
- }),
2653
- ...(input.repositories != null && {
2654
- repositories: serializeAws_restJson1StringFilterList(input.repositories, context),
2655
- }),
2656
- ...(input.resourceIds != null && {
2657
- resourceIds: serializeAws_restJson1StringFilterList(input.resourceIds, context),
2658
- }),
2546
+ ...(input.layerHashes != null && { layerHashes: se_StringFilterList(input.layerHashes, context) }),
2547
+ ...(input.repositories != null && { repositories: se_StringFilterList(input.repositories, context) }),
2548
+ ...(input.resourceIds != null && { resourceIds: se_StringFilterList(input.resourceIds, context) }),
2659
2549
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2660
2550
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2661
2551
  };
2662
2552
  };
2663
- const serializeAws_restJson1LambdaFunctionAggregation = (input, context) => {
2553
+ const se_LambdaFunctionAggregation = (input, context) => {
2664
2554
  return {
2665
- ...(input.functionNames != null && {
2666
- functionNames: serializeAws_restJson1StringFilterList(input.functionNames, context),
2667
- }),
2668
- ...(input.functionTags != null && {
2669
- functionTags: serializeAws_restJson1MapFilterList(input.functionTags, context),
2670
- }),
2671
- ...(input.resourceIds != null && {
2672
- resourceIds: serializeAws_restJson1StringFilterList(input.resourceIds, context),
2673
- }),
2674
- ...(input.runtimes != null && { runtimes: serializeAws_restJson1StringFilterList(input.runtimes, context) }),
2555
+ ...(input.functionNames != null && { functionNames: se_StringFilterList(input.functionNames, context) }),
2556
+ ...(input.functionTags != null && { functionTags: se_MapFilterList(input.functionTags, context) }),
2557
+ ...(input.resourceIds != null && { resourceIds: se_StringFilterList(input.resourceIds, context) }),
2558
+ ...(input.runtimes != null && { runtimes: se_StringFilterList(input.runtimes, context) }),
2675
2559
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2676
2560
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2677
2561
  };
2678
2562
  };
2679
- const serializeAws_restJson1LambdaLayerAggregation = (input, context) => {
2563
+ const se_LambdaLayerAggregation = (input, context) => {
2680
2564
  return {
2681
- ...(input.functionNames != null && {
2682
- functionNames: serializeAws_restJson1StringFilterList(input.functionNames, context),
2683
- }),
2684
- ...(input.layerArns != null && { layerArns: serializeAws_restJson1StringFilterList(input.layerArns, context) }),
2685
- ...(input.resourceIds != null && {
2686
- resourceIds: serializeAws_restJson1StringFilterList(input.resourceIds, context),
2687
- }),
2565
+ ...(input.functionNames != null && { functionNames: se_StringFilterList(input.functionNames, context) }),
2566
+ ...(input.layerArns != null && { layerArns: se_StringFilterList(input.layerArns, context) }),
2567
+ ...(input.resourceIds != null && { resourceIds: se_StringFilterList(input.resourceIds, context) }),
2688
2568
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2689
2569
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2690
2570
  };
2691
2571
  };
2692
- const serializeAws_restJson1MapFilter = (input, context) => {
2572
+ const se_MapFilter = (input, context) => {
2693
2573
  return {
2694
2574
  ...(input.comparison != null && { comparison: input.comparison }),
2695
2575
  ...(input.key != null && { key: input.key }),
2696
2576
  ...(input.value != null && { value: input.value }),
2697
2577
  };
2698
2578
  };
2699
- const serializeAws_restJson1MapFilterList = (input, context) => {
2579
+ const se_MapFilterList = (input, context) => {
2700
2580
  return input
2701
2581
  .filter((e) => e != null)
2702
2582
  .map((entry) => {
2703
- return serializeAws_restJson1MapFilter(entry, context);
2583
+ return se_MapFilter(entry, context);
2704
2584
  });
2705
2585
  };
2706
- const serializeAws_restJson1MeteringAccountIdList = (input, context) => {
2586
+ const se_MeteringAccountIdList = (input, context) => {
2707
2587
  return input
2708
2588
  .filter((e) => e != null)
2709
2589
  .map((entry) => {
2710
2590
  return entry;
2711
2591
  });
2712
2592
  };
2713
- const serializeAws_restJson1NumberFilter = (input, context) => {
2593
+ const se_NumberFilter = (input, context) => {
2714
2594
  return {
2715
2595
  ...(input.lowerInclusive != null && { lowerInclusive: (0, smithy_client_1.serializeFloat)(input.lowerInclusive) }),
2716
2596
  ...(input.upperInclusive != null && { upperInclusive: (0, smithy_client_1.serializeFloat)(input.upperInclusive) }),
2717
2597
  };
2718
2598
  };
2719
- const serializeAws_restJson1NumberFilterList = (input, context) => {
2599
+ const se_NumberFilterList = (input, context) => {
2720
2600
  return input
2721
2601
  .filter((e) => e != null)
2722
2602
  .map((entry) => {
2723
- return serializeAws_restJson1NumberFilter(entry, context);
2603
+ return se_NumberFilter(entry, context);
2724
2604
  });
2725
2605
  };
2726
- const serializeAws_restJson1PackageAggregation = (input, context) => {
2606
+ const se_PackageAggregation = (input, context) => {
2727
2607
  return {
2728
- ...(input.packageNames != null && {
2729
- packageNames: serializeAws_restJson1StringFilterList(input.packageNames, context),
2730
- }),
2608
+ ...(input.packageNames != null && { packageNames: se_StringFilterList(input.packageNames, context) }),
2731
2609
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2732
2610
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2733
2611
  };
2734
2612
  };
2735
- const serializeAws_restJson1PackageFilter = (input, context) => {
2613
+ const se_PackageFilter = (input, context) => {
2736
2614
  return {
2737
- ...(input.architecture != null && {
2738
- architecture: serializeAws_restJson1StringFilter(input.architecture, context),
2739
- }),
2740
- ...(input.epoch != null && { epoch: serializeAws_restJson1NumberFilter(input.epoch, context) }),
2741
- ...(input.name != null && { name: serializeAws_restJson1StringFilter(input.name, context) }),
2742
- ...(input.release != null && { release: serializeAws_restJson1StringFilter(input.release, context) }),
2615
+ ...(input.architecture != null && { architecture: se_StringFilter(input.architecture, context) }),
2616
+ ...(input.epoch != null && { epoch: se_NumberFilter(input.epoch, context) }),
2617
+ ...(input.name != null && { name: se_StringFilter(input.name, context) }),
2618
+ ...(input.release != null && { release: se_StringFilter(input.release, context) }),
2743
2619
  ...(input.sourceLambdaLayerArn != null && {
2744
- sourceLambdaLayerArn: serializeAws_restJson1StringFilter(input.sourceLambdaLayerArn, context),
2620
+ sourceLambdaLayerArn: se_StringFilter(input.sourceLambdaLayerArn, context),
2745
2621
  }),
2746
- ...(input.sourceLayerHash != null && {
2747
- sourceLayerHash: serializeAws_restJson1StringFilter(input.sourceLayerHash, context),
2748
- }),
2749
- ...(input.version != null && { version: serializeAws_restJson1StringFilter(input.version, context) }),
2622
+ ...(input.sourceLayerHash != null && { sourceLayerHash: se_StringFilter(input.sourceLayerHash, context) }),
2623
+ ...(input.version != null && { version: se_StringFilter(input.version, context) }),
2750
2624
  };
2751
2625
  };
2752
- const serializeAws_restJson1PackageFilterList = (input, context) => {
2626
+ const se_PackageFilterList = (input, context) => {
2753
2627
  return input
2754
2628
  .filter((e) => e != null)
2755
2629
  .map((entry) => {
2756
- return serializeAws_restJson1PackageFilter(entry, context);
2630
+ return se_PackageFilter(entry, context);
2757
2631
  });
2758
2632
  };
2759
- const serializeAws_restJson1PortRangeFilter = (input, context) => {
2633
+ const se_PortRangeFilter = (input, context) => {
2760
2634
  return {
2761
2635
  ...(input.beginInclusive != null && { beginInclusive: input.beginInclusive }),
2762
2636
  ...(input.endInclusive != null && { endInclusive: input.endInclusive }),
2763
2637
  };
2764
2638
  };
2765
- const serializeAws_restJson1PortRangeFilterList = (input, context) => {
2639
+ const se_PortRangeFilterList = (input, context) => {
2766
2640
  return input
2767
2641
  .filter((e) => e != null)
2768
2642
  .map((entry) => {
2769
- return serializeAws_restJson1PortRangeFilter(entry, context);
2643
+ return se_PortRangeFilter(entry, context);
2770
2644
  });
2771
2645
  };
2772
- const serializeAws_restJson1RepositoryAggregation = (input, context) => {
2646
+ const se_RepositoryAggregation = (input, context) => {
2773
2647
  return {
2774
- ...(input.repositories != null && {
2775
- repositories: serializeAws_restJson1StringFilterList(input.repositories, context),
2776
- }),
2648
+ ...(input.repositories != null && { repositories: se_StringFilterList(input.repositories, context) }),
2777
2649
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2778
2650
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2779
2651
  };
2780
2652
  };
2781
- const serializeAws_restJson1SortCriteria = (input, context) => {
2653
+ const se_SortCriteria = (input, context) => {
2782
2654
  return {
2783
2655
  ...(input.field != null && { field: input.field }),
2784
2656
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2785
2657
  };
2786
2658
  };
2787
- const serializeAws_restJson1StringFilter = (input, context) => {
2659
+ const se_StringFilter = (input, context) => {
2788
2660
  return {
2789
2661
  ...(input.comparison != null && { comparison: input.comparison }),
2790
2662
  ...(input.value != null && { value: input.value }),
2791
2663
  };
2792
2664
  };
2793
- const serializeAws_restJson1StringFilterList = (input, context) => {
2665
+ const se_StringFilterList = (input, context) => {
2794
2666
  return input
2795
2667
  .filter((e) => e != null)
2796
2668
  .map((entry) => {
2797
- return serializeAws_restJson1StringFilter(entry, context);
2669
+ return se_StringFilter(entry, context);
2798
2670
  });
2799
2671
  };
2800
- const serializeAws_restJson1TagMap = (input, context) => {
2672
+ const se_TagMap = (input, context) => {
2801
2673
  return Object.entries(input).reduce((acc, [key, value]) => {
2802
2674
  if (value === null) {
2803
2675
  return acc;
@@ -2806,150 +2678,142 @@ const serializeAws_restJson1TagMap = (input, context) => {
2806
2678
  return acc;
2807
2679
  }, {});
2808
2680
  };
2809
- const serializeAws_restJson1TitleAggregation = (input, context) => {
2681
+ const se_TitleAggregation = (input, context) => {
2810
2682
  return {
2811
2683
  ...(input.resourceType != null && { resourceType: input.resourceType }),
2812
2684
  ...(input.sortBy != null && { sortBy: input.sortBy }),
2813
2685
  ...(input.sortOrder != null && { sortOrder: input.sortOrder }),
2814
- ...(input.titles != null && { titles: serializeAws_restJson1StringFilterList(input.titles, context) }),
2815
- ...(input.vulnerabilityIds != null && {
2816
- vulnerabilityIds: serializeAws_restJson1StringFilterList(input.vulnerabilityIds, context),
2817
- }),
2686
+ ...(input.titles != null && { titles: se_StringFilterList(input.titles, context) }),
2687
+ ...(input.vulnerabilityIds != null && { vulnerabilityIds: se_StringFilterList(input.vulnerabilityIds, context) }),
2818
2688
  };
2819
2689
  };
2820
- const serializeAws_restJson1UsageAccountIdList = (input, context) => {
2690
+ const se_UsageAccountIdList = (input, context) => {
2821
2691
  return input
2822
2692
  .filter((e) => e != null)
2823
2693
  .map((entry) => {
2824
2694
  return entry;
2825
2695
  });
2826
2696
  };
2827
- const deserializeAws_restJson1Account = (output, context) => {
2697
+ const de_Account = (output, context) => {
2828
2698
  return {
2829
2699
  accountId: (0, smithy_client_1.expectString)(output.accountId),
2830
- resourceStatus: output.resourceStatus != null
2831
- ? deserializeAws_restJson1ResourceStatus(output.resourceStatus, context)
2832
- : undefined,
2700
+ resourceStatus: output.resourceStatus != null ? de_ResourceStatus(output.resourceStatus, context) : undefined,
2833
2701
  status: (0, smithy_client_1.expectString)(output.status),
2834
2702
  };
2835
2703
  };
2836
- const deserializeAws_restJson1AccountAggregationResponse = (output, context) => {
2704
+ const de_AccountAggregationResponse = (output, context) => {
2837
2705
  return {
2838
2706
  accountId: (0, smithy_client_1.expectString)(output.accountId),
2839
- severityCounts: output.severityCounts != null
2840
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
2841
- : undefined,
2707
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
2842
2708
  };
2843
2709
  };
2844
- const deserializeAws_restJson1AccountList = (output, context) => {
2710
+ const de_AccountList = (output, context) => {
2845
2711
  const retVal = (output || [])
2846
2712
  .filter((e) => e != null)
2847
2713
  .map((entry) => {
2848
2714
  if (entry === null) {
2849
2715
  return null;
2850
2716
  }
2851
- return deserializeAws_restJson1Account(entry, context);
2717
+ return de_Account(entry, context);
2852
2718
  });
2853
2719
  return retVal;
2854
2720
  };
2855
- const deserializeAws_restJson1AccountState = (output, context) => {
2721
+ const de_AccountState = (output, context) => {
2856
2722
  return {
2857
2723
  accountId: (0, smithy_client_1.expectString)(output.accountId),
2858
- resourceState: output.resourceState != null ? deserializeAws_restJson1ResourceState(output.resourceState, context) : undefined,
2859
- state: output.state != null ? deserializeAws_restJson1State(output.state, context) : undefined,
2724
+ resourceState: output.resourceState != null ? de_ResourceState(output.resourceState, context) : undefined,
2725
+ state: output.state != null ? de_State(output.state, context) : undefined,
2860
2726
  };
2861
2727
  };
2862
- const deserializeAws_restJson1AccountStateList = (output, context) => {
2728
+ const de_AccountStateList = (output, context) => {
2863
2729
  const retVal = (output || [])
2864
2730
  .filter((e) => e != null)
2865
2731
  .map((entry) => {
2866
2732
  if (entry === null) {
2867
2733
  return null;
2868
2734
  }
2869
- return deserializeAws_restJson1AccountState(entry, context);
2735
+ return de_AccountState(entry, context);
2870
2736
  });
2871
2737
  return retVal;
2872
2738
  };
2873
- const deserializeAws_restJson1AggregationResponse = (output, context) => {
2739
+ const de_AggregationResponse = (output, context) => {
2874
2740
  if (output.accountAggregation != null) {
2875
2741
  return {
2876
- accountAggregation: deserializeAws_restJson1AccountAggregationResponse(output.accountAggregation, context),
2742
+ accountAggregation: de_AccountAggregationResponse(output.accountAggregation, context),
2877
2743
  };
2878
2744
  }
2879
2745
  if (output.amiAggregation != null) {
2880
2746
  return {
2881
- amiAggregation: deserializeAws_restJson1AmiAggregationResponse(output.amiAggregation, context),
2747
+ amiAggregation: de_AmiAggregationResponse(output.amiAggregation, context),
2882
2748
  };
2883
2749
  }
2884
2750
  if (output.awsEcrContainerAggregation != null) {
2885
2751
  return {
2886
- awsEcrContainerAggregation: deserializeAws_restJson1AwsEcrContainerAggregationResponse(output.awsEcrContainerAggregation, context),
2752
+ awsEcrContainerAggregation: de_AwsEcrContainerAggregationResponse(output.awsEcrContainerAggregation, context),
2887
2753
  };
2888
2754
  }
2889
2755
  if (output.ec2InstanceAggregation != null) {
2890
2756
  return {
2891
- ec2InstanceAggregation: deserializeAws_restJson1Ec2InstanceAggregationResponse(output.ec2InstanceAggregation, context),
2757
+ ec2InstanceAggregation: de_Ec2InstanceAggregationResponse(output.ec2InstanceAggregation, context),
2892
2758
  };
2893
2759
  }
2894
2760
  if (output.findingTypeAggregation != null) {
2895
2761
  return {
2896
- findingTypeAggregation: deserializeAws_restJson1FindingTypeAggregationResponse(output.findingTypeAggregation, context),
2762
+ findingTypeAggregation: de_FindingTypeAggregationResponse(output.findingTypeAggregation, context),
2897
2763
  };
2898
2764
  }
2899
2765
  if (output.imageLayerAggregation != null) {
2900
2766
  return {
2901
- imageLayerAggregation: deserializeAws_restJson1ImageLayerAggregationResponse(output.imageLayerAggregation, context),
2767
+ imageLayerAggregation: de_ImageLayerAggregationResponse(output.imageLayerAggregation, context),
2902
2768
  };
2903
2769
  }
2904
2770
  if (output.lambdaFunctionAggregation != null) {
2905
2771
  return {
2906
- lambdaFunctionAggregation: deserializeAws_restJson1LambdaFunctionAggregationResponse(output.lambdaFunctionAggregation, context),
2772
+ lambdaFunctionAggregation: de_LambdaFunctionAggregationResponse(output.lambdaFunctionAggregation, context),
2907
2773
  };
2908
2774
  }
2909
2775
  if (output.lambdaLayerAggregation != null) {
2910
2776
  return {
2911
- lambdaLayerAggregation: deserializeAws_restJson1LambdaLayerAggregationResponse(output.lambdaLayerAggregation, context),
2777
+ lambdaLayerAggregation: de_LambdaLayerAggregationResponse(output.lambdaLayerAggregation, context),
2912
2778
  };
2913
2779
  }
2914
2780
  if (output.packageAggregation != null) {
2915
2781
  return {
2916
- packageAggregation: deserializeAws_restJson1PackageAggregationResponse(output.packageAggregation, context),
2782
+ packageAggregation: de_PackageAggregationResponse(output.packageAggregation, context),
2917
2783
  };
2918
2784
  }
2919
2785
  if (output.repositoryAggregation != null) {
2920
2786
  return {
2921
- repositoryAggregation: deserializeAws_restJson1RepositoryAggregationResponse(output.repositoryAggregation, context),
2787
+ repositoryAggregation: de_RepositoryAggregationResponse(output.repositoryAggregation, context),
2922
2788
  };
2923
2789
  }
2924
2790
  if (output.titleAggregation != null) {
2925
2791
  return {
2926
- titleAggregation: deserializeAws_restJson1TitleAggregationResponse(output.titleAggregation, context),
2792
+ titleAggregation: de_TitleAggregationResponse(output.titleAggregation, context),
2927
2793
  };
2928
2794
  }
2929
2795
  return { $unknown: Object.entries(output)[0] };
2930
2796
  };
2931
- const deserializeAws_restJson1AggregationResponseList = (output, context) => {
2797
+ const de_AggregationResponseList = (output, context) => {
2932
2798
  const retVal = (output || [])
2933
2799
  .filter((e) => e != null)
2934
2800
  .map((entry) => {
2935
2801
  if (entry === null) {
2936
2802
  return null;
2937
2803
  }
2938
- return deserializeAws_restJson1AggregationResponse((0, smithy_client_1.expectUnion)(entry), context);
2804
+ return de_AggregationResponse((0, smithy_client_1.expectUnion)(entry), context);
2939
2805
  });
2940
2806
  return retVal;
2941
2807
  };
2942
- const deserializeAws_restJson1AmiAggregationResponse = (output, context) => {
2808
+ const de_AmiAggregationResponse = (output, context) => {
2943
2809
  return {
2944
2810
  accountId: (0, smithy_client_1.expectString)(output.accountId),
2945
2811
  affectedInstances: (0, smithy_client_1.expectLong)(output.affectedInstances),
2946
2812
  ami: (0, smithy_client_1.expectString)(output.ami),
2947
- severityCounts: output.severityCounts != null
2948
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
2949
- : undefined,
2813
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
2950
2814
  };
2951
2815
  };
2952
- const deserializeAws_restJson1ArchitectureList = (output, context) => {
2816
+ const de_ArchitectureList = (output, context) => {
2953
2817
  const retVal = (output || [])
2954
2818
  .filter((e) => e != null)
2955
2819
  .map((entry) => {
@@ -2960,19 +2824,19 @@ const deserializeAws_restJson1ArchitectureList = (output, context) => {
2960
2824
  });
2961
2825
  return retVal;
2962
2826
  };
2963
- const deserializeAws_restJson1AutoEnable = (output, context) => {
2827
+ const de_AutoEnable = (output, context) => {
2964
2828
  return {
2965
2829
  ec2: (0, smithy_client_1.expectBoolean)(output.ec2),
2966
2830
  ecr: (0, smithy_client_1.expectBoolean)(output.ecr),
2967
2831
  lambda: (0, smithy_client_1.expectBoolean)(output.lambda),
2968
2832
  };
2969
2833
  };
2970
- const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
2834
+ const de_AwsEc2InstanceDetails = (output, context) => {
2971
2835
  return {
2972
2836
  iamInstanceProfileArn: (0, smithy_client_1.expectString)(output.iamInstanceProfileArn),
2973
2837
  imageId: (0, smithy_client_1.expectString)(output.imageId),
2974
- ipV4Addresses: output.ipV4Addresses != null ? deserializeAws_restJson1IpV4AddressList(output.ipV4Addresses, context) : undefined,
2975
- ipV6Addresses: output.ipV6Addresses != null ? deserializeAws_restJson1IpV6AddressList(output.ipV6Addresses, context) : undefined,
2838
+ ipV4Addresses: output.ipV4Addresses != null ? de_IpV4AddressList(output.ipV4Addresses, context) : undefined,
2839
+ ipV6Addresses: output.ipV6Addresses != null ? de_IpV6AddressList(output.ipV6Addresses, context) : undefined,
2976
2840
  keyName: (0, smithy_client_1.expectString)(output.keyName),
2977
2841
  launchedAt: output.launchedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.launchedAt))) : undefined,
2978
2842
  platform: (0, smithy_client_1.expectString)(output.platform),
@@ -2981,90 +2845,84 @@ const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
2981
2845
  vpcId: (0, smithy_client_1.expectString)(output.vpcId),
2982
2846
  };
2983
2847
  };
2984
- const deserializeAws_restJson1AwsEcrContainerAggregationResponse = (output, context) => {
2848
+ const de_AwsEcrContainerAggregationResponse = (output, context) => {
2985
2849
  return {
2986
2850
  accountId: (0, smithy_client_1.expectString)(output.accountId),
2987
2851
  architecture: (0, smithy_client_1.expectString)(output.architecture),
2988
2852
  imageSha: (0, smithy_client_1.expectString)(output.imageSha),
2989
- imageTags: output.imageTags != null ? deserializeAws_restJson1StringList(output.imageTags, context) : undefined,
2853
+ imageTags: output.imageTags != null ? de_StringList(output.imageTags, context) : undefined,
2990
2854
  repository: (0, smithy_client_1.expectString)(output.repository),
2991
2855
  resourceId: (0, smithy_client_1.expectString)(output.resourceId),
2992
- severityCounts: output.severityCounts != null
2993
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
2994
- : undefined,
2856
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
2995
2857
  };
2996
2858
  };
2997
- const deserializeAws_restJson1AwsEcrContainerImageDetails = (output, context) => {
2859
+ const de_AwsEcrContainerImageDetails = (output, context) => {
2998
2860
  return {
2999
2861
  architecture: (0, smithy_client_1.expectString)(output.architecture),
3000
2862
  author: (0, smithy_client_1.expectString)(output.author),
3001
2863
  imageHash: (0, smithy_client_1.expectString)(output.imageHash),
3002
- imageTags: output.imageTags != null ? deserializeAws_restJson1ImageTagList(output.imageTags, context) : undefined,
2864
+ imageTags: output.imageTags != null ? de_ImageTagList(output.imageTags, context) : undefined,
3003
2865
  platform: (0, smithy_client_1.expectString)(output.platform),
3004
2866
  pushedAt: output.pushedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.pushedAt))) : undefined,
3005
2867
  registry: (0, smithy_client_1.expectString)(output.registry),
3006
2868
  repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3007
2869
  };
3008
2870
  };
3009
- const deserializeAws_restJson1AwsLambdaFunctionDetails = (output, context) => {
2871
+ const de_AwsLambdaFunctionDetails = (output, context) => {
3010
2872
  return {
3011
- architectures: output.architectures != null
3012
- ? deserializeAws_restJson1ArchitectureList(output.architectures, context)
3013
- : undefined,
2873
+ architectures: output.architectures != null ? de_ArchitectureList(output.architectures, context) : undefined,
3014
2874
  codeSha256: (0, smithy_client_1.expectString)(output.codeSha256),
3015
2875
  executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
3016
2876
  functionName: (0, smithy_client_1.expectString)(output.functionName),
3017
2877
  lastModifiedAt: output.lastModifiedAt != null
3018
2878
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
3019
2879
  : undefined,
3020
- layers: output.layers != null ? deserializeAws_restJson1LayerList(output.layers, context) : undefined,
2880
+ layers: output.layers != null ? de_LayerList(output.layers, context) : undefined,
3021
2881
  packageType: (0, smithy_client_1.expectString)(output.packageType),
3022
2882
  runtime: (0, smithy_client_1.expectString)(output.runtime),
3023
2883
  version: (0, smithy_client_1.expectString)(output.version),
3024
- vpcConfig: output.vpcConfig != null ? deserializeAws_restJson1LambdaVpcConfig(output.vpcConfig, context) : undefined,
2884
+ vpcConfig: output.vpcConfig != null ? de_LambdaVpcConfig(output.vpcConfig, context) : undefined,
3025
2885
  };
3026
2886
  };
3027
- const deserializeAws_restJson1Counts = (output, context) => {
2887
+ const de_Counts = (output, context) => {
3028
2888
  return {
3029
2889
  count: (0, smithy_client_1.expectLong)(output.count),
3030
2890
  groupKey: (0, smithy_client_1.expectString)(output.groupKey),
3031
2891
  };
3032
2892
  };
3033
- const deserializeAws_restJson1CountsList = (output, context) => {
2893
+ const de_CountsList = (output, context) => {
3034
2894
  const retVal = (output || [])
3035
2895
  .filter((e) => e != null)
3036
2896
  .map((entry) => {
3037
2897
  if (entry === null) {
3038
2898
  return null;
3039
2899
  }
3040
- return deserializeAws_restJson1Counts(entry, context);
2900
+ return de_Counts(entry, context);
3041
2901
  });
3042
2902
  return retVal;
3043
2903
  };
3044
- const deserializeAws_restJson1CoveredResource = (output, context) => {
2904
+ const de_CoveredResource = (output, context) => {
3045
2905
  return {
3046
2906
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3047
2907
  resourceId: (0, smithy_client_1.expectString)(output.resourceId),
3048
- resourceMetadata: output.resourceMetadata != null
3049
- ? deserializeAws_restJson1ResourceScanMetadata(output.resourceMetadata, context)
3050
- : undefined,
2908
+ resourceMetadata: output.resourceMetadata != null ? de_ResourceScanMetadata(output.resourceMetadata, context) : undefined,
3051
2909
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
3052
- scanStatus: output.scanStatus != null ? deserializeAws_restJson1ScanStatus(output.scanStatus, context) : undefined,
2910
+ scanStatus: output.scanStatus != null ? de_ScanStatus(output.scanStatus, context) : undefined,
3053
2911
  scanType: (0, smithy_client_1.expectString)(output.scanType),
3054
2912
  };
3055
2913
  };
3056
- const deserializeAws_restJson1CoveredResources = (output, context) => {
2914
+ const de_CoveredResources = (output, context) => {
3057
2915
  const retVal = (output || [])
3058
2916
  .filter((e) => e != null)
3059
2917
  .map((entry) => {
3060
2918
  if (entry === null) {
3061
2919
  return null;
3062
2920
  }
3063
- return deserializeAws_restJson1CoveredResource(entry, context);
2921
+ return de_CoveredResource(entry, context);
3064
2922
  });
3065
2923
  return retVal;
3066
2924
  };
3067
- const deserializeAws_restJson1CvssScore = (output, context) => {
2925
+ const de_CvssScore = (output, context) => {
3068
2926
  return {
3069
2927
  baseScore: (0, smithy_client_1.limitedParseDouble)(output.baseScore),
3070
2928
  scoringVector: (0, smithy_client_1.expectString)(output.scoringVector),
@@ -3072,28 +2930,26 @@ const deserializeAws_restJson1CvssScore = (output, context) => {
3072
2930
  version: (0, smithy_client_1.expectString)(output.version),
3073
2931
  };
3074
2932
  };
3075
- const deserializeAws_restJson1CvssScoreAdjustment = (output, context) => {
2933
+ const de_CvssScoreAdjustment = (output, context) => {
3076
2934
  return {
3077
2935
  metric: (0, smithy_client_1.expectString)(output.metric),
3078
2936
  reason: (0, smithy_client_1.expectString)(output.reason),
3079
2937
  };
3080
2938
  };
3081
- const deserializeAws_restJson1CvssScoreAdjustmentList = (output, context) => {
2939
+ const de_CvssScoreAdjustmentList = (output, context) => {
3082
2940
  const retVal = (output || [])
3083
2941
  .filter((e) => e != null)
3084
2942
  .map((entry) => {
3085
2943
  if (entry === null) {
3086
2944
  return null;
3087
2945
  }
3088
- return deserializeAws_restJson1CvssScoreAdjustment(entry, context);
2946
+ return de_CvssScoreAdjustment(entry, context);
3089
2947
  });
3090
2948
  return retVal;
3091
2949
  };
3092
- const deserializeAws_restJson1CvssScoreDetails = (output, context) => {
2950
+ const de_CvssScoreDetails = (output, context) => {
3093
2951
  return {
3094
- adjustments: output.adjustments != null
3095
- ? deserializeAws_restJson1CvssScoreAdjustmentList(output.adjustments, context)
3096
- : undefined,
2952
+ adjustments: output.adjustments != null ? de_CvssScoreAdjustmentList(output.adjustments, context) : undefined,
3097
2953
  cvssSource: (0, smithy_client_1.expectString)(output.cvssSource),
3098
2954
  score: (0, smithy_client_1.limitedParseDouble)(output.score),
3099
2955
  scoreSource: (0, smithy_client_1.expectString)(output.scoreSource),
@@ -3101,18 +2957,18 @@ const deserializeAws_restJson1CvssScoreDetails = (output, context) => {
3101
2957
  version: (0, smithy_client_1.expectString)(output.version),
3102
2958
  };
3103
2959
  };
3104
- const deserializeAws_restJson1CvssScoreList = (output, context) => {
2960
+ const de_CvssScoreList = (output, context) => {
3105
2961
  const retVal = (output || [])
3106
2962
  .filter((e) => e != null)
3107
2963
  .map((entry) => {
3108
2964
  if (entry === null) {
3109
2965
  return null;
3110
2966
  }
3111
- return deserializeAws_restJson1CvssScore(entry, context);
2967
+ return de_CvssScore(entry, context);
3112
2968
  });
3113
2969
  return retVal;
3114
2970
  };
3115
- const deserializeAws_restJson1DateFilter = (output, context) => {
2971
+ const de_DateFilter = (output, context) => {
3116
2972
  return {
3117
2973
  endInclusive: output.endInclusive != null
3118
2974
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endInclusive)))
@@ -3122,243 +2978,193 @@ const deserializeAws_restJson1DateFilter = (output, context) => {
3122
2978
  : undefined,
3123
2979
  };
3124
2980
  };
3125
- const deserializeAws_restJson1DateFilterList = (output, context) => {
2981
+ const de_DateFilterList = (output, context) => {
3126
2982
  const retVal = (output || [])
3127
2983
  .filter((e) => e != null)
3128
2984
  .map((entry) => {
3129
2985
  if (entry === null) {
3130
2986
  return null;
3131
2987
  }
3132
- return deserializeAws_restJson1DateFilter(entry, context);
2988
+ return de_DateFilter(entry, context);
3133
2989
  });
3134
2990
  return retVal;
3135
2991
  };
3136
- const deserializeAws_restJson1DelegatedAdmin = (output, context) => {
2992
+ const de_DelegatedAdmin = (output, context) => {
3137
2993
  return {
3138
2994
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3139
2995
  relationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
3140
2996
  };
3141
2997
  };
3142
- const deserializeAws_restJson1DelegatedAdminAccount = (output, context) => {
2998
+ const de_DelegatedAdminAccount = (output, context) => {
3143
2999
  return {
3144
3000
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3145
3001
  status: (0, smithy_client_1.expectString)(output.status),
3146
3002
  };
3147
3003
  };
3148
- const deserializeAws_restJson1DelegatedAdminAccountList = (output, context) => {
3004
+ const de_DelegatedAdminAccountList = (output, context) => {
3149
3005
  const retVal = (output || [])
3150
3006
  .filter((e) => e != null)
3151
3007
  .map((entry) => {
3152
3008
  if (entry === null) {
3153
3009
  return null;
3154
3010
  }
3155
- return deserializeAws_restJson1DelegatedAdminAccount(entry, context);
3011
+ return de_DelegatedAdminAccount(entry, context);
3156
3012
  });
3157
3013
  return retVal;
3158
3014
  };
3159
- const deserializeAws_restJson1Destination = (output, context) => {
3015
+ const de_Destination = (output, context) => {
3160
3016
  return {
3161
3017
  bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3162
3018
  keyPrefix: (0, smithy_client_1.expectString)(output.keyPrefix),
3163
3019
  kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
3164
3020
  };
3165
3021
  };
3166
- const deserializeAws_restJson1Ec2InstanceAggregationResponse = (output, context) => {
3022
+ const de_Ec2InstanceAggregationResponse = (output, context) => {
3167
3023
  return {
3168
3024
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3169
3025
  ami: (0, smithy_client_1.expectString)(output.ami),
3170
3026
  instanceId: (0, smithy_client_1.expectString)(output.instanceId),
3171
- instanceTags: output.instanceTags != null ? deserializeAws_restJson1TagMap(output.instanceTags, context) : undefined,
3027
+ instanceTags: output.instanceTags != null ? de_TagMap(output.instanceTags, context) : undefined,
3172
3028
  networkFindings: (0, smithy_client_1.expectLong)(output.networkFindings),
3173
3029
  operatingSystem: (0, smithy_client_1.expectString)(output.operatingSystem),
3174
- severityCounts: output.severityCounts != null
3175
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3176
- : undefined,
3030
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3177
3031
  };
3178
3032
  };
3179
- const deserializeAws_restJson1Ec2Metadata = (output, context) => {
3033
+ const de_Ec2Metadata = (output, context) => {
3180
3034
  return {
3181
3035
  amiId: (0, smithy_client_1.expectString)(output.amiId),
3182
3036
  platform: (0, smithy_client_1.expectString)(output.platform),
3183
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
3037
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
3184
3038
  };
3185
3039
  };
3186
- const deserializeAws_restJson1EcrConfigurationState = (output, context) => {
3040
+ const de_EcrConfigurationState = (output, context) => {
3187
3041
  return {
3188
- rescanDurationState: output.rescanDurationState != null
3189
- ? deserializeAws_restJson1EcrRescanDurationState(output.rescanDurationState, context)
3190
- : undefined,
3042
+ rescanDurationState: output.rescanDurationState != null ? de_EcrRescanDurationState(output.rescanDurationState, context) : undefined,
3191
3043
  };
3192
3044
  };
3193
- const deserializeAws_restJson1EcrContainerImageMetadata = (output, context) => {
3045
+ const de_EcrContainerImageMetadata = (output, context) => {
3194
3046
  return {
3195
- tags: output.tags != null ? deserializeAws_restJson1TagList(output.tags, context) : undefined,
3047
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
3196
3048
  };
3197
3049
  };
3198
- const deserializeAws_restJson1EcrRepositoryMetadata = (output, context) => {
3050
+ const de_EcrRepositoryMetadata = (output, context) => {
3199
3051
  return {
3200
3052
  name: (0, smithy_client_1.expectString)(output.name),
3201
3053
  scanFrequency: (0, smithy_client_1.expectString)(output.scanFrequency),
3202
3054
  };
3203
3055
  };
3204
- const deserializeAws_restJson1EcrRescanDurationState = (output, context) => {
3056
+ const de_EcrRescanDurationState = (output, context) => {
3205
3057
  return {
3206
3058
  rescanDuration: (0, smithy_client_1.expectString)(output.rescanDuration),
3207
3059
  status: (0, smithy_client_1.expectString)(output.status),
3208
3060
  updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
3209
3061
  };
3210
3062
  };
3211
- const deserializeAws_restJson1ExploitabilityDetails = (output, context) => {
3063
+ const de_ExploitabilityDetails = (output, context) => {
3212
3064
  return {
3213
3065
  lastKnownExploitAt: output.lastKnownExploitAt != null
3214
3066
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastKnownExploitAt)))
3215
3067
  : undefined,
3216
3068
  };
3217
3069
  };
3218
- const deserializeAws_restJson1FailedAccount = (output, context) => {
3070
+ const de_FailedAccount = (output, context) => {
3219
3071
  return {
3220
3072
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3221
3073
  errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3222
3074
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3223
- resourceStatus: output.resourceStatus != null
3224
- ? deserializeAws_restJson1ResourceStatus(output.resourceStatus, context)
3225
- : undefined,
3075
+ resourceStatus: output.resourceStatus != null ? de_ResourceStatus(output.resourceStatus, context) : undefined,
3226
3076
  status: (0, smithy_client_1.expectString)(output.status),
3227
3077
  };
3228
3078
  };
3229
- const deserializeAws_restJson1FailedAccountList = (output, context) => {
3079
+ const de_FailedAccountList = (output, context) => {
3230
3080
  const retVal = (output || [])
3231
3081
  .filter((e) => e != null)
3232
3082
  .map((entry) => {
3233
3083
  if (entry === null) {
3234
3084
  return null;
3235
3085
  }
3236
- return deserializeAws_restJson1FailedAccount(entry, context);
3086
+ return de_FailedAccount(entry, context);
3237
3087
  });
3238
3088
  return retVal;
3239
3089
  };
3240
- const deserializeAws_restJson1Filter = (output, context) => {
3090
+ const de_Filter = (output, context) => {
3241
3091
  return {
3242
3092
  action: (0, smithy_client_1.expectString)(output.action),
3243
3093
  arn: (0, smithy_client_1.expectString)(output.arn),
3244
3094
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
3245
- criteria: output.criteria != null ? deserializeAws_restJson1FilterCriteria(output.criteria, context) : undefined,
3095
+ criteria: output.criteria != null ? de_FilterCriteria(output.criteria, context) : undefined,
3246
3096
  description: (0, smithy_client_1.expectString)(output.description),
3247
3097
  name: (0, smithy_client_1.expectString)(output.name),
3248
3098
  ownerId: (0, smithy_client_1.expectString)(output.ownerId),
3249
3099
  reason: (0, smithy_client_1.expectString)(output.reason),
3250
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
3100
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
3251
3101
  updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
3252
3102
  };
3253
3103
  };
3254
- const deserializeAws_restJson1FilterCriteria = (output, context) => {
3255
- return {
3256
- awsAccountId: output.awsAccountId != null ? deserializeAws_restJson1StringFilterList(output.awsAccountId, context) : undefined,
3257
- componentId: output.componentId != null ? deserializeAws_restJson1StringFilterList(output.componentId, context) : undefined,
3258
- componentType: output.componentType != null
3259
- ? deserializeAws_restJson1StringFilterList(output.componentType, context)
3260
- : undefined,
3261
- ec2InstanceImageId: output.ec2InstanceImageId != null
3262
- ? deserializeAws_restJson1StringFilterList(output.ec2InstanceImageId, context)
3263
- : undefined,
3264
- ec2InstanceSubnetId: output.ec2InstanceSubnetId != null
3265
- ? deserializeAws_restJson1StringFilterList(output.ec2InstanceSubnetId, context)
3266
- : undefined,
3267
- ec2InstanceVpcId: output.ec2InstanceVpcId != null
3268
- ? deserializeAws_restJson1StringFilterList(output.ec2InstanceVpcId, context)
3269
- : undefined,
3270
- ecrImageArchitecture: output.ecrImageArchitecture != null
3271
- ? deserializeAws_restJson1StringFilterList(output.ecrImageArchitecture, context)
3272
- : undefined,
3273
- ecrImageHash: output.ecrImageHash != null ? deserializeAws_restJson1StringFilterList(output.ecrImageHash, context) : undefined,
3274
- ecrImagePushedAt: output.ecrImagePushedAt != null
3275
- ? deserializeAws_restJson1DateFilterList(output.ecrImagePushedAt, context)
3276
- : undefined,
3277
- ecrImageRegistry: output.ecrImageRegistry != null
3278
- ? deserializeAws_restJson1StringFilterList(output.ecrImageRegistry, context)
3279
- : undefined,
3280
- ecrImageRepositoryName: output.ecrImageRepositoryName != null
3281
- ? deserializeAws_restJson1StringFilterList(output.ecrImageRepositoryName, context)
3282
- : undefined,
3283
- ecrImageTags: output.ecrImageTags != null ? deserializeAws_restJson1StringFilterList(output.ecrImageTags, context) : undefined,
3284
- exploitAvailable: output.exploitAvailable != null
3285
- ? deserializeAws_restJson1StringFilterList(output.exploitAvailable, context)
3286
- : undefined,
3287
- findingArn: output.findingArn != null ? deserializeAws_restJson1StringFilterList(output.findingArn, context) : undefined,
3288
- findingStatus: output.findingStatus != null
3289
- ? deserializeAws_restJson1StringFilterList(output.findingStatus, context)
3290
- : undefined,
3291
- findingType: output.findingType != null ? deserializeAws_restJson1StringFilterList(output.findingType, context) : undefined,
3292
- firstObservedAt: output.firstObservedAt != null
3293
- ? deserializeAws_restJson1DateFilterList(output.firstObservedAt, context)
3294
- : undefined,
3295
- fixAvailable: output.fixAvailable != null ? deserializeAws_restJson1StringFilterList(output.fixAvailable, context) : undefined,
3296
- inspectorScore: output.inspectorScore != null
3297
- ? deserializeAws_restJson1NumberFilterList(output.inspectorScore, context)
3298
- : undefined,
3104
+ const de_FilterCriteria = (output, context) => {
3105
+ return {
3106
+ awsAccountId: output.awsAccountId != null ? de_StringFilterList(output.awsAccountId, context) : undefined,
3107
+ componentId: output.componentId != null ? de_StringFilterList(output.componentId, context) : undefined,
3108
+ componentType: output.componentType != null ? de_StringFilterList(output.componentType, context) : undefined,
3109
+ ec2InstanceImageId: output.ec2InstanceImageId != null ? de_StringFilterList(output.ec2InstanceImageId, context) : undefined,
3110
+ ec2InstanceSubnetId: output.ec2InstanceSubnetId != null ? de_StringFilterList(output.ec2InstanceSubnetId, context) : undefined,
3111
+ ec2InstanceVpcId: output.ec2InstanceVpcId != null ? de_StringFilterList(output.ec2InstanceVpcId, context) : undefined,
3112
+ ecrImageArchitecture: output.ecrImageArchitecture != null ? de_StringFilterList(output.ecrImageArchitecture, context) : undefined,
3113
+ ecrImageHash: output.ecrImageHash != null ? de_StringFilterList(output.ecrImageHash, context) : undefined,
3114
+ ecrImagePushedAt: output.ecrImagePushedAt != null ? de_DateFilterList(output.ecrImagePushedAt, context) : undefined,
3115
+ ecrImageRegistry: output.ecrImageRegistry != null ? de_StringFilterList(output.ecrImageRegistry, context) : undefined,
3116
+ ecrImageRepositoryName: output.ecrImageRepositoryName != null ? de_StringFilterList(output.ecrImageRepositoryName, context) : undefined,
3117
+ ecrImageTags: output.ecrImageTags != null ? de_StringFilterList(output.ecrImageTags, context) : undefined,
3118
+ exploitAvailable: output.exploitAvailable != null ? de_StringFilterList(output.exploitAvailable, context) : undefined,
3119
+ findingArn: output.findingArn != null ? de_StringFilterList(output.findingArn, context) : undefined,
3120
+ findingStatus: output.findingStatus != null ? de_StringFilterList(output.findingStatus, context) : undefined,
3121
+ findingType: output.findingType != null ? de_StringFilterList(output.findingType, context) : undefined,
3122
+ firstObservedAt: output.firstObservedAt != null ? de_DateFilterList(output.firstObservedAt, context) : undefined,
3123
+ fixAvailable: output.fixAvailable != null ? de_StringFilterList(output.fixAvailable, context) : undefined,
3124
+ inspectorScore: output.inspectorScore != null ? de_NumberFilterList(output.inspectorScore, context) : undefined,
3299
3125
  lambdaFunctionExecutionRoleArn: output.lambdaFunctionExecutionRoleArn != null
3300
- ? deserializeAws_restJson1StringFilterList(output.lambdaFunctionExecutionRoleArn, context)
3126
+ ? de_StringFilterList(output.lambdaFunctionExecutionRoleArn, context)
3301
3127
  : undefined,
3302
3128
  lambdaFunctionLastModifiedAt: output.lambdaFunctionLastModifiedAt != null
3303
- ? deserializeAws_restJson1DateFilterList(output.lambdaFunctionLastModifiedAt, context)
3304
- : undefined,
3305
- lambdaFunctionLayers: output.lambdaFunctionLayers != null
3306
- ? deserializeAws_restJson1StringFilterList(output.lambdaFunctionLayers, context)
3307
- : undefined,
3308
- lambdaFunctionName: output.lambdaFunctionName != null
3309
- ? deserializeAws_restJson1StringFilterList(output.lambdaFunctionName, context)
3310
- : undefined,
3311
- lambdaFunctionRuntime: output.lambdaFunctionRuntime != null
3312
- ? deserializeAws_restJson1StringFilterList(output.lambdaFunctionRuntime, context)
3313
- : undefined,
3314
- lastObservedAt: output.lastObservedAt != null
3315
- ? deserializeAws_restJson1DateFilterList(output.lastObservedAt, context)
3316
- : undefined,
3317
- networkProtocol: output.networkProtocol != null
3318
- ? deserializeAws_restJson1StringFilterList(output.networkProtocol, context)
3319
- : undefined,
3320
- portRange: output.portRange != null ? deserializeAws_restJson1PortRangeFilterList(output.portRange, context) : undefined,
3321
- relatedVulnerabilities: output.relatedVulnerabilities != null
3322
- ? deserializeAws_restJson1StringFilterList(output.relatedVulnerabilities, context)
3323
- : undefined,
3324
- resourceId: output.resourceId != null ? deserializeAws_restJson1StringFilterList(output.resourceId, context) : undefined,
3325
- resourceTags: output.resourceTags != null ? deserializeAws_restJson1MapFilterList(output.resourceTags, context) : undefined,
3326
- resourceType: output.resourceType != null ? deserializeAws_restJson1StringFilterList(output.resourceType, context) : undefined,
3327
- severity: output.severity != null ? deserializeAws_restJson1StringFilterList(output.severity, context) : undefined,
3328
- title: output.title != null ? deserializeAws_restJson1StringFilterList(output.title, context) : undefined,
3329
- updatedAt: output.updatedAt != null ? deserializeAws_restJson1DateFilterList(output.updatedAt, context) : undefined,
3330
- vendorSeverity: output.vendorSeverity != null
3331
- ? deserializeAws_restJson1StringFilterList(output.vendorSeverity, context)
3332
- : undefined,
3333
- vulnerabilityId: output.vulnerabilityId != null
3334
- ? deserializeAws_restJson1StringFilterList(output.vulnerabilityId, context)
3335
- : undefined,
3336
- vulnerabilitySource: output.vulnerabilitySource != null
3337
- ? deserializeAws_restJson1StringFilterList(output.vulnerabilitySource, context)
3338
- : undefined,
3339
- vulnerablePackages: output.vulnerablePackages != null
3340
- ? deserializeAws_restJson1PackageFilterList(output.vulnerablePackages, context)
3341
- : undefined,
3342
- };
3343
- };
3344
- const deserializeAws_restJson1FilterList = (output, context) => {
3129
+ ? de_DateFilterList(output.lambdaFunctionLastModifiedAt, context)
3130
+ : undefined,
3131
+ lambdaFunctionLayers: output.lambdaFunctionLayers != null ? de_StringFilterList(output.lambdaFunctionLayers, context) : undefined,
3132
+ lambdaFunctionName: output.lambdaFunctionName != null ? de_StringFilterList(output.lambdaFunctionName, context) : undefined,
3133
+ lambdaFunctionRuntime: output.lambdaFunctionRuntime != null ? de_StringFilterList(output.lambdaFunctionRuntime, context) : undefined,
3134
+ lastObservedAt: output.lastObservedAt != null ? de_DateFilterList(output.lastObservedAt, context) : undefined,
3135
+ networkProtocol: output.networkProtocol != null ? de_StringFilterList(output.networkProtocol, context) : undefined,
3136
+ portRange: output.portRange != null ? de_PortRangeFilterList(output.portRange, context) : undefined,
3137
+ relatedVulnerabilities: output.relatedVulnerabilities != null ? de_StringFilterList(output.relatedVulnerabilities, context) : undefined,
3138
+ resourceId: output.resourceId != null ? de_StringFilterList(output.resourceId, context) : undefined,
3139
+ resourceTags: output.resourceTags != null ? de_MapFilterList(output.resourceTags, context) : undefined,
3140
+ resourceType: output.resourceType != null ? de_StringFilterList(output.resourceType, context) : undefined,
3141
+ severity: output.severity != null ? de_StringFilterList(output.severity, context) : undefined,
3142
+ title: output.title != null ? de_StringFilterList(output.title, context) : undefined,
3143
+ updatedAt: output.updatedAt != null ? de_DateFilterList(output.updatedAt, context) : undefined,
3144
+ vendorSeverity: output.vendorSeverity != null ? de_StringFilterList(output.vendorSeverity, context) : undefined,
3145
+ vulnerabilityId: output.vulnerabilityId != null ? de_StringFilterList(output.vulnerabilityId, context) : undefined,
3146
+ vulnerabilitySource: output.vulnerabilitySource != null ? de_StringFilterList(output.vulnerabilitySource, context) : undefined,
3147
+ vulnerablePackages: output.vulnerablePackages != null ? de_PackageFilterList(output.vulnerablePackages, context) : undefined,
3148
+ };
3149
+ };
3150
+ const de_FilterList = (output, context) => {
3345
3151
  const retVal = (output || [])
3346
3152
  .filter((e) => e != null)
3347
3153
  .map((entry) => {
3348
3154
  if (entry === null) {
3349
3155
  return null;
3350
3156
  }
3351
- return deserializeAws_restJson1Filter(entry, context);
3157
+ return de_Filter(entry, context);
3352
3158
  });
3353
3159
  return retVal;
3354
3160
  };
3355
- const deserializeAws_restJson1Finding = (output, context) => {
3161
+ const de_Finding = (output, context) => {
3356
3162
  return {
3357
3163
  awsAccountId: (0, smithy_client_1.expectString)(output.awsAccountId),
3358
3164
  description: (0, smithy_client_1.expectString)(output.description),
3359
3165
  exploitAvailable: (0, smithy_client_1.expectString)(output.exploitAvailable),
3360
3166
  exploitabilityDetails: output.exploitabilityDetails != null
3361
- ? deserializeAws_restJson1ExploitabilityDetails(output.exploitabilityDetails, context)
3167
+ ? de_ExploitabilityDetails(output.exploitabilityDetails, context)
3362
3168
  : undefined,
3363
3169
  findingArn: (0, smithy_client_1.expectString)(output.findingArn),
3364
3170
  firstObservedAt: output.firstObservedAt != null
@@ -3367,19 +3173,19 @@ const deserializeAws_restJson1Finding = (output, context) => {
3367
3173
  fixAvailable: (0, smithy_client_1.expectString)(output.fixAvailable),
3368
3174
  inspectorScore: (0, smithy_client_1.limitedParseDouble)(output.inspectorScore),
3369
3175
  inspectorScoreDetails: output.inspectorScoreDetails != null
3370
- ? deserializeAws_restJson1InspectorScoreDetails(output.inspectorScoreDetails, context)
3176
+ ? de_InspectorScoreDetails(output.inspectorScoreDetails, context)
3371
3177
  : undefined,
3372
3178
  lastObservedAt: output.lastObservedAt != null
3373
3179
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastObservedAt)))
3374
3180
  : undefined,
3375
3181
  networkReachabilityDetails: output.networkReachabilityDetails != null
3376
- ? deserializeAws_restJson1NetworkReachabilityDetails(output.networkReachabilityDetails, context)
3182
+ ? de_NetworkReachabilityDetails(output.networkReachabilityDetails, context)
3377
3183
  : undefined,
3378
3184
  packageVulnerabilityDetails: output.packageVulnerabilityDetails != null
3379
- ? deserializeAws_restJson1PackageVulnerabilityDetails(output.packageVulnerabilityDetails, context)
3185
+ ? de_PackageVulnerabilityDetails(output.packageVulnerabilityDetails, context)
3380
3186
  : undefined,
3381
- remediation: output.remediation != null ? deserializeAws_restJson1Remediation(output.remediation, context) : undefined,
3382
- resources: output.resources != null ? deserializeAws_restJson1ResourceList(output.resources, context) : undefined,
3187
+ remediation: output.remediation != null ? de_Remediation(output.remediation, context) : undefined,
3188
+ resources: output.resources != null ? de_ResourceList(output.resources, context) : undefined,
3383
3189
  severity: (0, smithy_client_1.expectString)(output.severity),
3384
3190
  status: (0, smithy_client_1.expectString)(output.status),
3385
3191
  title: (0, smithy_client_1.expectString)(output.title),
@@ -3387,45 +3193,41 @@ const deserializeAws_restJson1Finding = (output, context) => {
3387
3193
  updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
3388
3194
  };
3389
3195
  };
3390
- const deserializeAws_restJson1FindingList = (output, context) => {
3196
+ const de_FindingList = (output, context) => {
3391
3197
  const retVal = (output || [])
3392
3198
  .filter((e) => e != null)
3393
3199
  .map((entry) => {
3394
3200
  if (entry === null) {
3395
3201
  return null;
3396
3202
  }
3397
- return deserializeAws_restJson1Finding(entry, context);
3203
+ return de_Finding(entry, context);
3398
3204
  });
3399
3205
  return retVal;
3400
3206
  };
3401
- const deserializeAws_restJson1FindingTypeAggregationResponse = (output, context) => {
3207
+ const de_FindingTypeAggregationResponse = (output, context) => {
3402
3208
  return {
3403
3209
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3404
- severityCounts: output.severityCounts != null
3405
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3406
- : undefined,
3210
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3407
3211
  };
3408
3212
  };
3409
- const deserializeAws_restJson1FreeTrialAccountInfo = (output, context) => {
3213
+ const de_FreeTrialAccountInfo = (output, context) => {
3410
3214
  return {
3411
3215
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3412
- freeTrialInfo: output.freeTrialInfo != null
3413
- ? deserializeAws_restJson1FreeTrialInfoList(output.freeTrialInfo, context)
3414
- : undefined,
3216
+ freeTrialInfo: output.freeTrialInfo != null ? de_FreeTrialInfoList(output.freeTrialInfo, context) : undefined,
3415
3217
  };
3416
3218
  };
3417
- const deserializeAws_restJson1FreeTrialAccountInfoList = (output, context) => {
3219
+ const de_FreeTrialAccountInfoList = (output, context) => {
3418
3220
  const retVal = (output || [])
3419
3221
  .filter((e) => e != null)
3420
3222
  .map((entry) => {
3421
3223
  if (entry === null) {
3422
3224
  return null;
3423
3225
  }
3424
- return deserializeAws_restJson1FreeTrialAccountInfo(entry, context);
3226
+ return de_FreeTrialAccountInfo(entry, context);
3425
3227
  });
3426
3228
  return retVal;
3427
3229
  };
3428
- const deserializeAws_restJson1FreeTrialInfo = (output, context) => {
3230
+ const de_FreeTrialInfo = (output, context) => {
3429
3231
  return {
3430
3232
  end: output.end != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.end))) : undefined,
3431
3233
  start: output.start != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.start))) : undefined,
@@ -3433,47 +3235,45 @@ const deserializeAws_restJson1FreeTrialInfo = (output, context) => {
3433
3235
  type: (0, smithy_client_1.expectString)(output.type),
3434
3236
  };
3435
3237
  };
3436
- const deserializeAws_restJson1FreeTrialInfoError = (output, context) => {
3238
+ const de_FreeTrialInfoError = (output, context) => {
3437
3239
  return {
3438
3240
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3439
3241
  code: (0, smithy_client_1.expectString)(output.code),
3440
3242
  message: (0, smithy_client_1.expectString)(output.message),
3441
3243
  };
3442
3244
  };
3443
- const deserializeAws_restJson1FreeTrialInfoErrorList = (output, context) => {
3245
+ const de_FreeTrialInfoErrorList = (output, context) => {
3444
3246
  const retVal = (output || [])
3445
3247
  .filter((e) => e != null)
3446
3248
  .map((entry) => {
3447
3249
  if (entry === null) {
3448
3250
  return null;
3449
3251
  }
3450
- return deserializeAws_restJson1FreeTrialInfoError(entry, context);
3252
+ return de_FreeTrialInfoError(entry, context);
3451
3253
  });
3452
3254
  return retVal;
3453
3255
  };
3454
- const deserializeAws_restJson1FreeTrialInfoList = (output, context) => {
3256
+ const de_FreeTrialInfoList = (output, context) => {
3455
3257
  const retVal = (output || [])
3456
3258
  .filter((e) => e != null)
3457
3259
  .map((entry) => {
3458
3260
  if (entry === null) {
3459
3261
  return null;
3460
3262
  }
3461
- return deserializeAws_restJson1FreeTrialInfo(entry, context);
3263
+ return de_FreeTrialInfo(entry, context);
3462
3264
  });
3463
3265
  return retVal;
3464
3266
  };
3465
- const deserializeAws_restJson1ImageLayerAggregationResponse = (output, context) => {
3267
+ const de_ImageLayerAggregationResponse = (output, context) => {
3466
3268
  return {
3467
3269
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3468
3270
  layerHash: (0, smithy_client_1.expectString)(output.layerHash),
3469
3271
  repository: (0, smithy_client_1.expectString)(output.repository),
3470
3272
  resourceId: (0, smithy_client_1.expectString)(output.resourceId),
3471
- severityCounts: output.severityCounts != null
3472
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3473
- : undefined,
3273
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3474
3274
  };
3475
3275
  };
3476
- const deserializeAws_restJson1ImageTagList = (output, context) => {
3276
+ const de_ImageTagList = (output, context) => {
3477
3277
  const retVal = (output || [])
3478
3278
  .filter((e) => e != null)
3479
3279
  .map((entry) => {
@@ -3484,12 +3284,12 @@ const deserializeAws_restJson1ImageTagList = (output, context) => {
3484
3284
  });
3485
3285
  return retVal;
3486
3286
  };
3487
- const deserializeAws_restJson1InspectorScoreDetails = (output, context) => {
3287
+ const de_InspectorScoreDetails = (output, context) => {
3488
3288
  return {
3489
- adjustedCvss: output.adjustedCvss != null ? deserializeAws_restJson1CvssScoreDetails(output.adjustedCvss, context) : undefined,
3289
+ adjustedCvss: output.adjustedCvss != null ? de_CvssScoreDetails(output.adjustedCvss, context) : undefined,
3490
3290
  };
3491
3291
  };
3492
- const deserializeAws_restJson1IpV4AddressList = (output, context) => {
3292
+ const de_IpV4AddressList = (output, context) => {
3493
3293
  const retVal = (output || [])
3494
3294
  .filter((e) => e != null)
3495
3295
  .map((entry) => {
@@ -3500,7 +3300,7 @@ const deserializeAws_restJson1IpV4AddressList = (output, context) => {
3500
3300
  });
3501
3301
  return retVal;
3502
3302
  };
3503
- const deserializeAws_restJson1IpV6AddressList = (output, context) => {
3303
+ const de_IpV6AddressList = (output, context) => {
3504
3304
  const retVal = (output || [])
3505
3305
  .filter((e) => e != null)
3506
3306
  .map((entry) => {
@@ -3511,41 +3311,37 @@ const deserializeAws_restJson1IpV6AddressList = (output, context) => {
3511
3311
  });
3512
3312
  return retVal;
3513
3313
  };
3514
- const deserializeAws_restJson1LambdaFunctionAggregationResponse = (output, context) => {
3314
+ const de_LambdaFunctionAggregationResponse = (output, context) => {
3515
3315
  return {
3516
3316
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3517
3317
  functionName: (0, smithy_client_1.expectString)(output.functionName),
3518
- lambdaTags: output.lambdaTags != null ? deserializeAws_restJson1TagMap(output.lambdaTags, context) : undefined,
3318
+ lambdaTags: output.lambdaTags != null ? de_TagMap(output.lambdaTags, context) : undefined,
3519
3319
  lastModifiedAt: output.lastModifiedAt != null
3520
3320
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
3521
3321
  : undefined,
3522
3322
  resourceId: (0, smithy_client_1.expectString)(output.resourceId),
3523
3323
  runtime: (0, smithy_client_1.expectString)(output.runtime),
3524
- severityCounts: output.severityCounts != null
3525
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3526
- : undefined,
3324
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3527
3325
  };
3528
3326
  };
3529
- const deserializeAws_restJson1LambdaFunctionMetadata = (output, context) => {
3327
+ const de_LambdaFunctionMetadata = (output, context) => {
3530
3328
  return {
3531
3329
  functionName: (0, smithy_client_1.expectString)(output.functionName),
3532
- functionTags: output.functionTags != null ? deserializeAws_restJson1TagMap(output.functionTags, context) : undefined,
3533
- layers: output.layers != null ? deserializeAws_restJson1LambdaLayerList(output.layers, context) : undefined,
3330
+ functionTags: output.functionTags != null ? de_TagMap(output.functionTags, context) : undefined,
3331
+ layers: output.layers != null ? de_LambdaLayerList(output.layers, context) : undefined,
3534
3332
  runtime: (0, smithy_client_1.expectString)(output.runtime),
3535
3333
  };
3536
3334
  };
3537
- const deserializeAws_restJson1LambdaLayerAggregationResponse = (output, context) => {
3335
+ const de_LambdaLayerAggregationResponse = (output, context) => {
3538
3336
  return {
3539
3337
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3540
3338
  functionName: (0, smithy_client_1.expectString)(output.functionName),
3541
3339
  layerArn: (0, smithy_client_1.expectString)(output.layerArn),
3542
3340
  resourceId: (0, smithy_client_1.expectString)(output.resourceId),
3543
- severityCounts: output.severityCounts != null
3544
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3545
- : undefined,
3341
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3546
3342
  };
3547
3343
  };
3548
- const deserializeAws_restJson1LambdaLayerList = (output, context) => {
3344
+ const de_LambdaLayerList = (output, context) => {
3549
3345
  const retVal = (output || [])
3550
3346
  .filter((e) => e != null)
3551
3347
  .map((entry) => {
@@ -3556,16 +3352,14 @@ const deserializeAws_restJson1LambdaLayerList = (output, context) => {
3556
3352
  });
3557
3353
  return retVal;
3558
3354
  };
3559
- const deserializeAws_restJson1LambdaVpcConfig = (output, context) => {
3355
+ const de_LambdaVpcConfig = (output, context) => {
3560
3356
  return {
3561
- securityGroupIds: output.securityGroupIds != null
3562
- ? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
3563
- : undefined,
3564
- subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIdList(output.subnetIds, context) : undefined,
3357
+ securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIdList(output.securityGroupIds, context) : undefined,
3358
+ subnetIds: output.subnetIds != null ? de_SubnetIdList(output.subnetIds, context) : undefined,
3565
3359
  vpcId: (0, smithy_client_1.expectString)(output.vpcId),
3566
3360
  };
3567
3361
  };
3568
- const deserializeAws_restJson1LayerList = (output, context) => {
3362
+ const de_LayerList = (output, context) => {
3569
3363
  const retVal = (output || [])
3570
3364
  .filter((e) => e != null)
3571
3365
  .map((entry) => {
@@ -3576,25 +3370,25 @@ const deserializeAws_restJson1LayerList = (output, context) => {
3576
3370
  });
3577
3371
  return retVal;
3578
3372
  };
3579
- const deserializeAws_restJson1MapFilter = (output, context) => {
3373
+ const de_MapFilter = (output, context) => {
3580
3374
  return {
3581
3375
  comparison: (0, smithy_client_1.expectString)(output.comparison),
3582
3376
  key: (0, smithy_client_1.expectString)(output.key),
3583
3377
  value: (0, smithy_client_1.expectString)(output.value),
3584
3378
  };
3585
3379
  };
3586
- const deserializeAws_restJson1MapFilterList = (output, context) => {
3380
+ const de_MapFilterList = (output, context) => {
3587
3381
  const retVal = (output || [])
3588
3382
  .filter((e) => e != null)
3589
3383
  .map((entry) => {
3590
3384
  if (entry === null) {
3591
3385
  return null;
3592
3386
  }
3593
- return deserializeAws_restJson1MapFilter(entry, context);
3387
+ return de_MapFilter(entry, context);
3594
3388
  });
3595
3389
  return retVal;
3596
3390
  };
3597
- const deserializeAws_restJson1Member = (output, context) => {
3391
+ const de_Member = (output, context) => {
3598
3392
  return {
3599
3393
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3600
3394
  delegatedAdminAccountId: (0, smithy_client_1.expectString)(output.delegatedAdminAccountId),
@@ -3602,30 +3396,30 @@ const deserializeAws_restJson1Member = (output, context) => {
3602
3396
  updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
3603
3397
  };
3604
3398
  };
3605
- const deserializeAws_restJson1MemberList = (output, context) => {
3399
+ const de_MemberList = (output, context) => {
3606
3400
  const retVal = (output || [])
3607
3401
  .filter((e) => e != null)
3608
3402
  .map((entry) => {
3609
3403
  if (entry === null) {
3610
3404
  return null;
3611
3405
  }
3612
- return deserializeAws_restJson1Member(entry, context);
3406
+ return de_Member(entry, context);
3613
3407
  });
3614
3408
  return retVal;
3615
3409
  };
3616
- const deserializeAws_restJson1NetworkPath = (output, context) => {
3410
+ const de_NetworkPath = (output, context) => {
3617
3411
  return {
3618
- steps: output.steps != null ? deserializeAws_restJson1StepList(output.steps, context) : undefined,
3412
+ steps: output.steps != null ? de_StepList(output.steps, context) : undefined,
3619
3413
  };
3620
3414
  };
3621
- const deserializeAws_restJson1NetworkReachabilityDetails = (output, context) => {
3415
+ const de_NetworkReachabilityDetails = (output, context) => {
3622
3416
  return {
3623
- networkPath: output.networkPath != null ? deserializeAws_restJson1NetworkPath(output.networkPath, context) : undefined,
3624
- openPortRange: output.openPortRange != null ? deserializeAws_restJson1PortRange(output.openPortRange, context) : undefined,
3417
+ networkPath: output.networkPath != null ? de_NetworkPath(output.networkPath, context) : undefined,
3418
+ openPortRange: output.openPortRange != null ? de_PortRange(output.openPortRange, context) : undefined,
3625
3419
  protocol: (0, smithy_client_1.expectString)(output.protocol),
3626
3420
  };
3627
3421
  };
3628
- const deserializeAws_restJson1NonEmptyStringList = (output, context) => {
3422
+ const de_NonEmptyStringList = (output, context) => {
3629
3423
  const retVal = (output || [])
3630
3424
  .filter((e) => e != null)
3631
3425
  .map((entry) => {
@@ -3636,66 +3430,58 @@ const deserializeAws_restJson1NonEmptyStringList = (output, context) => {
3636
3430
  });
3637
3431
  return retVal;
3638
3432
  };
3639
- const deserializeAws_restJson1NumberFilter = (output, context) => {
3433
+ const de_NumberFilter = (output, context) => {
3640
3434
  return {
3641
3435
  lowerInclusive: (0, smithy_client_1.limitedParseDouble)(output.lowerInclusive),
3642
3436
  upperInclusive: (0, smithy_client_1.limitedParseDouble)(output.upperInclusive),
3643
3437
  };
3644
3438
  };
3645
- const deserializeAws_restJson1NumberFilterList = (output, context) => {
3439
+ const de_NumberFilterList = (output, context) => {
3646
3440
  const retVal = (output || [])
3647
3441
  .filter((e) => e != null)
3648
3442
  .map((entry) => {
3649
3443
  if (entry === null) {
3650
3444
  return null;
3651
3445
  }
3652
- return deserializeAws_restJson1NumberFilter(entry, context);
3446
+ return de_NumberFilter(entry, context);
3653
3447
  });
3654
3448
  return retVal;
3655
3449
  };
3656
- const deserializeAws_restJson1PackageAggregationResponse = (output, context) => {
3450
+ const de_PackageAggregationResponse = (output, context) => {
3657
3451
  return {
3658
3452
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3659
3453
  packageName: (0, smithy_client_1.expectString)(output.packageName),
3660
- severityCounts: output.severityCounts != null
3661
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3662
- : undefined,
3454
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3663
3455
  };
3664
3456
  };
3665
- const deserializeAws_restJson1PackageFilter = (output, context) => {
3457
+ const de_PackageFilter = (output, context) => {
3666
3458
  return {
3667
- architecture: output.architecture != null ? deserializeAws_restJson1StringFilter(output.architecture, context) : undefined,
3668
- epoch: output.epoch != null ? deserializeAws_restJson1NumberFilter(output.epoch, context) : undefined,
3669
- name: output.name != null ? deserializeAws_restJson1StringFilter(output.name, context) : undefined,
3670
- release: output.release != null ? deserializeAws_restJson1StringFilter(output.release, context) : undefined,
3671
- sourceLambdaLayerArn: output.sourceLambdaLayerArn != null
3672
- ? deserializeAws_restJson1StringFilter(output.sourceLambdaLayerArn, context)
3673
- : undefined,
3674
- sourceLayerHash: output.sourceLayerHash != null
3675
- ? deserializeAws_restJson1StringFilter(output.sourceLayerHash, context)
3676
- : undefined,
3677
- version: output.version != null ? deserializeAws_restJson1StringFilter(output.version, context) : undefined,
3459
+ architecture: output.architecture != null ? de_StringFilter(output.architecture, context) : undefined,
3460
+ epoch: output.epoch != null ? de_NumberFilter(output.epoch, context) : undefined,
3461
+ name: output.name != null ? de_StringFilter(output.name, context) : undefined,
3462
+ release: output.release != null ? de_StringFilter(output.release, context) : undefined,
3463
+ sourceLambdaLayerArn: output.sourceLambdaLayerArn != null ? de_StringFilter(output.sourceLambdaLayerArn, context) : undefined,
3464
+ sourceLayerHash: output.sourceLayerHash != null ? de_StringFilter(output.sourceLayerHash, context) : undefined,
3465
+ version: output.version != null ? de_StringFilter(output.version, context) : undefined,
3678
3466
  };
3679
3467
  };
3680
- const deserializeAws_restJson1PackageFilterList = (output, context) => {
3468
+ const de_PackageFilterList = (output, context) => {
3681
3469
  const retVal = (output || [])
3682
3470
  .filter((e) => e != null)
3683
3471
  .map((entry) => {
3684
3472
  if (entry === null) {
3685
3473
  return null;
3686
3474
  }
3687
- return deserializeAws_restJson1PackageFilter(entry, context);
3475
+ return de_PackageFilter(entry, context);
3688
3476
  });
3689
3477
  return retVal;
3690
3478
  };
3691
- const deserializeAws_restJson1PackageVulnerabilityDetails = (output, context) => {
3479
+ const de_PackageVulnerabilityDetails = (output, context) => {
3692
3480
  return {
3693
- cvss: output.cvss != null ? deserializeAws_restJson1CvssScoreList(output.cvss, context) : undefined,
3694
- referenceUrls: output.referenceUrls != null
3695
- ? deserializeAws_restJson1NonEmptyStringList(output.referenceUrls, context)
3696
- : undefined,
3481
+ cvss: output.cvss != null ? de_CvssScoreList(output.cvss, context) : undefined,
3482
+ referenceUrls: output.referenceUrls != null ? de_NonEmptyStringList(output.referenceUrls, context) : undefined,
3697
3483
  relatedVulnerabilities: output.relatedVulnerabilities != null
3698
- ? deserializeAws_restJson1VulnerabilityIdList(output.relatedVulnerabilities, context)
3484
+ ? de_VulnerabilityIdList(output.relatedVulnerabilities, context)
3699
3485
  : undefined,
3700
3486
  source: (0, smithy_client_1.expectString)(output.source),
3701
3487
  sourceUrl: (0, smithy_client_1.expectString)(output.sourceUrl),
@@ -3707,141 +3493,127 @@ const deserializeAws_restJson1PackageVulnerabilityDetails = (output, context) =>
3707
3493
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.vendorUpdatedAt)))
3708
3494
  : undefined,
3709
3495
  vulnerabilityId: (0, smithy_client_1.expectString)(output.vulnerabilityId),
3710
- vulnerablePackages: output.vulnerablePackages != null
3711
- ? deserializeAws_restJson1VulnerablePackageList(output.vulnerablePackages, context)
3712
- : undefined,
3496
+ vulnerablePackages: output.vulnerablePackages != null ? de_VulnerablePackageList(output.vulnerablePackages, context) : undefined,
3713
3497
  };
3714
3498
  };
3715
- const deserializeAws_restJson1Permission = (output, context) => {
3499
+ const de_Permission = (output, context) => {
3716
3500
  return {
3717
3501
  operation: (0, smithy_client_1.expectString)(output.operation),
3718
3502
  service: (0, smithy_client_1.expectString)(output.service),
3719
3503
  };
3720
3504
  };
3721
- const deserializeAws_restJson1Permissions = (output, context) => {
3505
+ const de_Permissions = (output, context) => {
3722
3506
  const retVal = (output || [])
3723
3507
  .filter((e) => e != null)
3724
3508
  .map((entry) => {
3725
3509
  if (entry === null) {
3726
3510
  return null;
3727
3511
  }
3728
- return deserializeAws_restJson1Permission(entry, context);
3512
+ return de_Permission(entry, context);
3729
3513
  });
3730
3514
  return retVal;
3731
3515
  };
3732
- const deserializeAws_restJson1PortRange = (output, context) => {
3516
+ const de_PortRange = (output, context) => {
3733
3517
  return {
3734
3518
  begin: (0, smithy_client_1.expectInt32)(output.begin),
3735
3519
  end: (0, smithy_client_1.expectInt32)(output.end),
3736
3520
  };
3737
3521
  };
3738
- const deserializeAws_restJson1PortRangeFilter = (output, context) => {
3522
+ const de_PortRangeFilter = (output, context) => {
3739
3523
  return {
3740
3524
  beginInclusive: (0, smithy_client_1.expectInt32)(output.beginInclusive),
3741
3525
  endInclusive: (0, smithy_client_1.expectInt32)(output.endInclusive),
3742
3526
  };
3743
3527
  };
3744
- const deserializeAws_restJson1PortRangeFilterList = (output, context) => {
3528
+ const de_PortRangeFilterList = (output, context) => {
3745
3529
  const retVal = (output || [])
3746
3530
  .filter((e) => e != null)
3747
3531
  .map((entry) => {
3748
3532
  if (entry === null) {
3749
3533
  return null;
3750
3534
  }
3751
- return deserializeAws_restJson1PortRangeFilter(entry, context);
3535
+ return de_PortRangeFilter(entry, context);
3752
3536
  });
3753
3537
  return retVal;
3754
3538
  };
3755
- const deserializeAws_restJson1Recommendation = (output, context) => {
3539
+ const de_Recommendation = (output, context) => {
3756
3540
  return {
3757
3541
  Url: (0, smithy_client_1.expectString)(output.Url),
3758
3542
  text: (0, smithy_client_1.expectString)(output.text),
3759
3543
  };
3760
3544
  };
3761
- const deserializeAws_restJson1Remediation = (output, context) => {
3545
+ const de_Remediation = (output, context) => {
3762
3546
  return {
3763
- recommendation: output.recommendation != null
3764
- ? deserializeAws_restJson1Recommendation(output.recommendation, context)
3765
- : undefined,
3547
+ recommendation: output.recommendation != null ? de_Recommendation(output.recommendation, context) : undefined,
3766
3548
  };
3767
3549
  };
3768
- const deserializeAws_restJson1RepositoryAggregationResponse = (output, context) => {
3550
+ const de_RepositoryAggregationResponse = (output, context) => {
3769
3551
  return {
3770
3552
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3771
3553
  affectedImages: (0, smithy_client_1.expectLong)(output.affectedImages),
3772
3554
  repository: (0, smithy_client_1.expectString)(output.repository),
3773
- severityCounts: output.severityCounts != null
3774
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3775
- : undefined,
3555
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3776
3556
  };
3777
3557
  };
3778
- const deserializeAws_restJson1Resource = (output, context) => {
3558
+ const de_Resource = (output, context) => {
3779
3559
  return {
3780
- details: output.details != null ? deserializeAws_restJson1ResourceDetails(output.details, context) : undefined,
3560
+ details: output.details != null ? de_ResourceDetails(output.details, context) : undefined,
3781
3561
  id: (0, smithy_client_1.expectString)(output.id),
3782
3562
  partition: (0, smithy_client_1.expectString)(output.partition),
3783
3563
  region: (0, smithy_client_1.expectString)(output.region),
3784
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
3564
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
3785
3565
  type: (0, smithy_client_1.expectString)(output.type),
3786
3566
  };
3787
3567
  };
3788
- const deserializeAws_restJson1ResourceDetails = (output, context) => {
3568
+ const de_ResourceDetails = (output, context) => {
3789
3569
  return {
3790
- awsEc2Instance: output.awsEc2Instance != null
3791
- ? deserializeAws_restJson1AwsEc2InstanceDetails(output.awsEc2Instance, context)
3792
- : undefined,
3570
+ awsEc2Instance: output.awsEc2Instance != null ? de_AwsEc2InstanceDetails(output.awsEc2Instance, context) : undefined,
3793
3571
  awsEcrContainerImage: output.awsEcrContainerImage != null
3794
- ? deserializeAws_restJson1AwsEcrContainerImageDetails(output.awsEcrContainerImage, context)
3795
- : undefined,
3796
- awsLambdaFunction: output.awsLambdaFunction != null
3797
- ? deserializeAws_restJson1AwsLambdaFunctionDetails(output.awsLambdaFunction, context)
3572
+ ? de_AwsEcrContainerImageDetails(output.awsEcrContainerImage, context)
3798
3573
  : undefined,
3574
+ awsLambdaFunction: output.awsLambdaFunction != null ? de_AwsLambdaFunctionDetails(output.awsLambdaFunction, context) : undefined,
3799
3575
  };
3800
3576
  };
3801
- const deserializeAws_restJson1ResourceList = (output, context) => {
3577
+ const de_ResourceList = (output, context) => {
3802
3578
  const retVal = (output || [])
3803
3579
  .filter((e) => e != null)
3804
3580
  .map((entry) => {
3805
3581
  if (entry === null) {
3806
3582
  return null;
3807
3583
  }
3808
- return deserializeAws_restJson1Resource(entry, context);
3584
+ return de_Resource(entry, context);
3809
3585
  });
3810
3586
  return retVal;
3811
3587
  };
3812
- const deserializeAws_restJson1ResourceScanMetadata = (output, context) => {
3588
+ const de_ResourceScanMetadata = (output, context) => {
3813
3589
  return {
3814
- ec2: output.ec2 != null ? deserializeAws_restJson1Ec2Metadata(output.ec2, context) : undefined,
3815
- ecrImage: output.ecrImage != null ? deserializeAws_restJson1EcrContainerImageMetadata(output.ecrImage, context) : undefined,
3816
- ecrRepository: output.ecrRepository != null
3817
- ? deserializeAws_restJson1EcrRepositoryMetadata(output.ecrRepository, context)
3818
- : undefined,
3819
- lambdaFunction: output.lambdaFunction != null
3820
- ? deserializeAws_restJson1LambdaFunctionMetadata(output.lambdaFunction, context)
3821
- : undefined,
3590
+ ec2: output.ec2 != null ? de_Ec2Metadata(output.ec2, context) : undefined,
3591
+ ecrImage: output.ecrImage != null ? de_EcrContainerImageMetadata(output.ecrImage, context) : undefined,
3592
+ ecrRepository: output.ecrRepository != null ? de_EcrRepositoryMetadata(output.ecrRepository, context) : undefined,
3593
+ lambdaFunction: output.lambdaFunction != null ? de_LambdaFunctionMetadata(output.lambdaFunction, context) : undefined,
3822
3594
  };
3823
3595
  };
3824
- const deserializeAws_restJson1ResourceState = (output, context) => {
3596
+ const de_ResourceState = (output, context) => {
3825
3597
  return {
3826
- ec2: output.ec2 != null ? deserializeAws_restJson1State(output.ec2, context) : undefined,
3827
- ecr: output.ecr != null ? deserializeAws_restJson1State(output.ecr, context) : undefined,
3828
- lambda: output.lambda != null ? deserializeAws_restJson1State(output.lambda, context) : undefined,
3598
+ ec2: output.ec2 != null ? de_State(output.ec2, context) : undefined,
3599
+ ecr: output.ecr != null ? de_State(output.ecr, context) : undefined,
3600
+ lambda: output.lambda != null ? de_State(output.lambda, context) : undefined,
3829
3601
  };
3830
3602
  };
3831
- const deserializeAws_restJson1ResourceStatus = (output, context) => {
3603
+ const de_ResourceStatus = (output, context) => {
3832
3604
  return {
3833
3605
  ec2: (0, smithy_client_1.expectString)(output.ec2),
3834
3606
  ecr: (0, smithy_client_1.expectString)(output.ecr),
3835
3607
  lambda: (0, smithy_client_1.expectString)(output.lambda),
3836
3608
  };
3837
3609
  };
3838
- const deserializeAws_restJson1ScanStatus = (output, context) => {
3610
+ const de_ScanStatus = (output, context) => {
3839
3611
  return {
3840
3612
  reason: (0, smithy_client_1.expectString)(output.reason),
3841
3613
  statusCode: (0, smithy_client_1.expectString)(output.statusCode),
3842
3614
  };
3843
3615
  };
3844
- const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
3616
+ const de_SecurityGroupIdList = (output, context) => {
3845
3617
  const retVal = (output || [])
3846
3618
  .filter((e) => e != null)
3847
3619
  .map((entry) => {
@@ -3852,7 +3624,7 @@ const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
3852
3624
  });
3853
3625
  return retVal;
3854
3626
  };
3855
- const deserializeAws_restJson1SeverityCounts = (output, context) => {
3627
+ const de_SeverityCounts = (output, context) => {
3856
3628
  return {
3857
3629
  all: (0, smithy_client_1.expectLong)(output.all),
3858
3630
  critical: (0, smithy_client_1.expectLong)(output.critical),
@@ -3860,48 +3632,48 @@ const deserializeAws_restJson1SeverityCounts = (output, context) => {
3860
3632
  medium: (0, smithy_client_1.expectLong)(output.medium),
3861
3633
  };
3862
3634
  };
3863
- const deserializeAws_restJson1State = (output, context) => {
3635
+ const de_State = (output, context) => {
3864
3636
  return {
3865
3637
  errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3866
3638
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3867
3639
  status: (0, smithy_client_1.expectString)(output.status),
3868
3640
  };
3869
3641
  };
3870
- const deserializeAws_restJson1Step = (output, context) => {
3642
+ const de_Step = (output, context) => {
3871
3643
  return {
3872
3644
  componentId: (0, smithy_client_1.expectString)(output.componentId),
3873
3645
  componentType: (0, smithy_client_1.expectString)(output.componentType),
3874
3646
  };
3875
3647
  };
3876
- const deserializeAws_restJson1StepList = (output, context) => {
3648
+ const de_StepList = (output, context) => {
3877
3649
  const retVal = (output || [])
3878
3650
  .filter((e) => e != null)
3879
3651
  .map((entry) => {
3880
3652
  if (entry === null) {
3881
3653
  return null;
3882
3654
  }
3883
- return deserializeAws_restJson1Step(entry, context);
3655
+ return de_Step(entry, context);
3884
3656
  });
3885
3657
  return retVal;
3886
3658
  };
3887
- const deserializeAws_restJson1StringFilter = (output, context) => {
3659
+ const de_StringFilter = (output, context) => {
3888
3660
  return {
3889
3661
  comparison: (0, smithy_client_1.expectString)(output.comparison),
3890
3662
  value: (0, smithy_client_1.expectString)(output.value),
3891
3663
  };
3892
3664
  };
3893
- const deserializeAws_restJson1StringFilterList = (output, context) => {
3665
+ const de_StringFilterList = (output, context) => {
3894
3666
  const retVal = (output || [])
3895
3667
  .filter((e) => e != null)
3896
3668
  .map((entry) => {
3897
3669
  if (entry === null) {
3898
3670
  return null;
3899
3671
  }
3900
- return deserializeAws_restJson1StringFilter(entry, context);
3672
+ return de_StringFilter(entry, context);
3901
3673
  });
3902
3674
  return retVal;
3903
3675
  };
3904
- const deserializeAws_restJson1StringList = (output, context) => {
3676
+ const de_StringList = (output, context) => {
3905
3677
  const retVal = (output || [])
3906
3678
  .filter((e) => e != null)
3907
3679
  .map((entry) => {
@@ -3912,7 +3684,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
3912
3684
  });
3913
3685
  return retVal;
3914
3686
  };
3915
- const deserializeAws_restJson1SubnetIdList = (output, context) => {
3687
+ const de_SubnetIdList = (output, context) => {
3916
3688
  const retVal = (output || [])
3917
3689
  .filter((e) => e != null)
3918
3690
  .map((entry) => {
@@ -3923,7 +3695,7 @@ const deserializeAws_restJson1SubnetIdList = (output, context) => {
3923
3695
  });
3924
3696
  return retVal;
3925
3697
  };
3926
- const deserializeAws_restJson1TagList = (output, context) => {
3698
+ const de_TagList = (output, context) => {
3927
3699
  const retVal = (output || [])
3928
3700
  .filter((e) => e != null)
3929
3701
  .map((entry) => {
@@ -3934,7 +3706,7 @@ const deserializeAws_restJson1TagList = (output, context) => {
3934
3706
  });
3935
3707
  return retVal;
3936
3708
  };
3937
- const deserializeAws_restJson1TagMap = (output, context) => {
3709
+ const de_TagMap = (output, context) => {
3938
3710
  return Object.entries(output).reduce((acc, [key, value]) => {
3939
3711
  if (value === null) {
3940
3712
  return acc;
@@ -3943,17 +3715,15 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3943
3715
  return acc;
3944
3716
  }, {});
3945
3717
  };
3946
- const deserializeAws_restJson1TitleAggregationResponse = (output, context) => {
3718
+ const de_TitleAggregationResponse = (output, context) => {
3947
3719
  return {
3948
3720
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3949
- severityCounts: output.severityCounts != null
3950
- ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3951
- : undefined,
3721
+ severityCounts: output.severityCounts != null ? de_SeverityCounts(output.severityCounts, context) : undefined,
3952
3722
  title: (0, smithy_client_1.expectString)(output.title),
3953
3723
  vulnerabilityId: (0, smithy_client_1.expectString)(output.vulnerabilityId),
3954
3724
  };
3955
3725
  };
3956
- const deserializeAws_restJson1Usage = (output, context) => {
3726
+ const de_Usage = (output, context) => {
3957
3727
  return {
3958
3728
  currency: (0, smithy_client_1.expectString)(output.currency),
3959
3729
  estimatedMonthlyCost: (0, smithy_client_1.limitedParseDouble)(output.estimatedMonthlyCost),
@@ -3961,52 +3731,52 @@ const deserializeAws_restJson1Usage = (output, context) => {
3961
3731
  type: (0, smithy_client_1.expectString)(output.type),
3962
3732
  };
3963
3733
  };
3964
- const deserializeAws_restJson1UsageList = (output, context) => {
3734
+ const de_UsageList = (output, context) => {
3965
3735
  const retVal = (output || [])
3966
3736
  .filter((e) => e != null)
3967
3737
  .map((entry) => {
3968
3738
  if (entry === null) {
3969
3739
  return null;
3970
3740
  }
3971
- return deserializeAws_restJson1Usage(entry, context);
3741
+ return de_Usage(entry, context);
3972
3742
  });
3973
3743
  return retVal;
3974
3744
  };
3975
- const deserializeAws_restJson1UsageTotal = (output, context) => {
3745
+ const de_UsageTotal = (output, context) => {
3976
3746
  return {
3977
3747
  accountId: (0, smithy_client_1.expectString)(output.accountId),
3978
- usage: output.usage != null ? deserializeAws_restJson1UsageList(output.usage, context) : undefined,
3748
+ usage: output.usage != null ? de_UsageList(output.usage, context) : undefined,
3979
3749
  };
3980
3750
  };
3981
- const deserializeAws_restJson1UsageTotalList = (output, context) => {
3751
+ const de_UsageTotalList = (output, context) => {
3982
3752
  const retVal = (output || [])
3983
3753
  .filter((e) => e != null)
3984
3754
  .map((entry) => {
3985
3755
  if (entry === null) {
3986
3756
  return null;
3987
3757
  }
3988
- return deserializeAws_restJson1UsageTotal(entry, context);
3758
+ return de_UsageTotal(entry, context);
3989
3759
  });
3990
3760
  return retVal;
3991
3761
  };
3992
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3762
+ const de_ValidationExceptionField = (output, context) => {
3993
3763
  return {
3994
3764
  message: (0, smithy_client_1.expectString)(output.message),
3995
3765
  name: (0, smithy_client_1.expectString)(output.name),
3996
3766
  };
3997
3767
  };
3998
- const deserializeAws_restJson1ValidationExceptionFields = (output, context) => {
3768
+ const de_ValidationExceptionFields = (output, context) => {
3999
3769
  const retVal = (output || [])
4000
3770
  .filter((e) => e != null)
4001
3771
  .map((entry) => {
4002
3772
  if (entry === null) {
4003
3773
  return null;
4004
3774
  }
4005
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
3775
+ return de_ValidationExceptionField(entry, context);
4006
3776
  });
4007
3777
  return retVal;
4008
3778
  };
4009
- const deserializeAws_restJson1VulnerabilityIdList = (output, context) => {
3779
+ const de_VulnerabilityIdList = (output, context) => {
4010
3780
  const retVal = (output || [])
4011
3781
  .filter((e) => e != null)
4012
3782
  .map((entry) => {
@@ -4017,7 +3787,7 @@ const deserializeAws_restJson1VulnerabilityIdList = (output, context) => {
4017
3787
  });
4018
3788
  return retVal;
4019
3789
  };
4020
- const deserializeAws_restJson1VulnerablePackage = (output, context) => {
3790
+ const de_VulnerablePackage = (output, context) => {
4021
3791
  return {
4022
3792
  arch: (0, smithy_client_1.expectString)(output.arch),
4023
3793
  epoch: (0, smithy_client_1.expectInt32)(output.epoch),
@@ -4032,14 +3802,14 @@ const deserializeAws_restJson1VulnerablePackage = (output, context) => {
4032
3802
  version: (0, smithy_client_1.expectString)(output.version),
4033
3803
  };
4034
3804
  };
4035
- const deserializeAws_restJson1VulnerablePackageList = (output, context) => {
3805
+ const de_VulnerablePackageList = (output, context) => {
4036
3806
  const retVal = (output || [])
4037
3807
  .filter((e) => e != null)
4038
3808
  .map((entry) => {
4039
3809
  if (entry === null) {
4040
3810
  return null;
4041
3811
  }
4042
- return deserializeAws_restJson1VulnerablePackage(entry, context);
3812
+ return de_VulnerablePackage(entry, context);
4043
3813
  });
4044
3814
  return retVal;
4045
3815
  };