@aws-sdk/client-vpc-lattice 3.307.0 → 3.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist-cjs/commands/BatchUpdateRuleCommand.js +2 -2
  2. package/dist-cjs/commands/CreateAccessLogSubscriptionCommand.js +2 -2
  3. package/dist-cjs/commands/CreateListenerCommand.js +2 -2
  4. package/dist-cjs/commands/CreateRuleCommand.js +2 -2
  5. package/dist-cjs/commands/CreateServiceCommand.js +2 -2
  6. package/dist-cjs/commands/CreateServiceNetworkCommand.js +2 -2
  7. package/dist-cjs/commands/CreateServiceNetworkServiceAssociationCommand.js +2 -2
  8. package/dist-cjs/commands/CreateServiceNetworkVpcAssociationCommand.js +2 -2
  9. package/dist-cjs/commands/CreateTargetGroupCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteAccessLogSubscriptionCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteAuthPolicyCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteListenerCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteRuleCommand.js +2 -2
  15. package/dist-cjs/commands/DeleteServiceCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteServiceNetworkCommand.js +2 -2
  17. package/dist-cjs/commands/DeleteServiceNetworkServiceAssociationCommand.js +2 -2
  18. package/dist-cjs/commands/DeleteServiceNetworkVpcAssociationCommand.js +2 -2
  19. package/dist-cjs/commands/DeleteTargetGroupCommand.js +2 -2
  20. package/dist-cjs/commands/DeregisterTargetsCommand.js +2 -2
  21. package/dist-cjs/commands/GetAccessLogSubscriptionCommand.js +2 -2
  22. package/dist-cjs/commands/GetAuthPolicyCommand.js +2 -2
  23. package/dist-cjs/commands/GetListenerCommand.js +2 -2
  24. package/dist-cjs/commands/GetResourcePolicyCommand.js +2 -2
  25. package/dist-cjs/commands/GetRuleCommand.js +2 -2
  26. package/dist-cjs/commands/GetServiceCommand.js +2 -2
  27. package/dist-cjs/commands/GetServiceNetworkCommand.js +2 -2
  28. package/dist-cjs/commands/GetServiceNetworkServiceAssociationCommand.js +2 -2
  29. package/dist-cjs/commands/GetServiceNetworkVpcAssociationCommand.js +2 -2
  30. package/dist-cjs/commands/GetTargetGroupCommand.js +2 -2
  31. package/dist-cjs/commands/ListAccessLogSubscriptionsCommand.js +2 -2
  32. package/dist-cjs/commands/ListListenersCommand.js +2 -2
  33. package/dist-cjs/commands/ListRulesCommand.js +2 -2
  34. package/dist-cjs/commands/ListServiceNetworkServiceAssociationsCommand.js +2 -2
  35. package/dist-cjs/commands/ListServiceNetworkVpcAssociationsCommand.js +2 -2
  36. package/dist-cjs/commands/ListServiceNetworksCommand.js +2 -2
  37. package/dist-cjs/commands/ListServicesCommand.js +2 -2
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  39. package/dist-cjs/commands/ListTargetGroupsCommand.js +2 -2
  40. package/dist-cjs/commands/ListTargetsCommand.js +2 -2
  41. package/dist-cjs/commands/PutAuthPolicyCommand.js +2 -2
  42. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
  43. package/dist-cjs/commands/RegisterTargetsCommand.js +2 -2
  44. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  45. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  46. package/dist-cjs/commands/UpdateAccessLogSubscriptionCommand.js +2 -2
  47. package/dist-cjs/commands/UpdateListenerCommand.js +2 -2
  48. package/dist-cjs/commands/UpdateRuleCommand.js +2 -2
  49. package/dist-cjs/commands/UpdateServiceCommand.js +2 -2
  50. package/dist-cjs/commands/UpdateServiceNetworkCommand.js +2 -2
  51. package/dist-cjs/commands/UpdateServiceNetworkVpcAssociationCommand.js +2 -2
  52. package/dist-cjs/commands/UpdateTargetGroupCommand.js +2 -2
  53. package/dist-cjs/protocols/Aws_restJson1.js +775 -793
  54. package/dist-es/commands/BatchUpdateRuleCommand.js +3 -3
  55. package/dist-es/commands/CreateAccessLogSubscriptionCommand.js +3 -3
  56. package/dist-es/commands/CreateListenerCommand.js +3 -3
  57. package/dist-es/commands/CreateRuleCommand.js +3 -3
  58. package/dist-es/commands/CreateServiceCommand.js +3 -3
  59. package/dist-es/commands/CreateServiceNetworkCommand.js +3 -3
  60. package/dist-es/commands/CreateServiceNetworkServiceAssociationCommand.js +3 -3
  61. package/dist-es/commands/CreateServiceNetworkVpcAssociationCommand.js +3 -3
  62. package/dist-es/commands/CreateTargetGroupCommand.js +3 -3
  63. package/dist-es/commands/DeleteAccessLogSubscriptionCommand.js +3 -3
  64. package/dist-es/commands/DeleteAuthPolicyCommand.js +3 -3
  65. package/dist-es/commands/DeleteListenerCommand.js +3 -3
  66. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
  67. package/dist-es/commands/DeleteRuleCommand.js +3 -3
  68. package/dist-es/commands/DeleteServiceCommand.js +3 -3
  69. package/dist-es/commands/DeleteServiceNetworkCommand.js +3 -3
  70. package/dist-es/commands/DeleteServiceNetworkServiceAssociationCommand.js +3 -3
  71. package/dist-es/commands/DeleteServiceNetworkVpcAssociationCommand.js +3 -3
  72. package/dist-es/commands/DeleteTargetGroupCommand.js +3 -3
  73. package/dist-es/commands/DeregisterTargetsCommand.js +3 -3
  74. package/dist-es/commands/GetAccessLogSubscriptionCommand.js +3 -3
  75. package/dist-es/commands/GetAuthPolicyCommand.js +3 -3
  76. package/dist-es/commands/GetListenerCommand.js +3 -3
  77. package/dist-es/commands/GetResourcePolicyCommand.js +3 -3
  78. package/dist-es/commands/GetRuleCommand.js +3 -3
  79. package/dist-es/commands/GetServiceCommand.js +3 -3
  80. package/dist-es/commands/GetServiceNetworkCommand.js +3 -3
  81. package/dist-es/commands/GetServiceNetworkServiceAssociationCommand.js +3 -3
  82. package/dist-es/commands/GetServiceNetworkVpcAssociationCommand.js +3 -3
  83. package/dist-es/commands/GetTargetGroupCommand.js +3 -3
  84. package/dist-es/commands/ListAccessLogSubscriptionsCommand.js +3 -3
  85. package/dist-es/commands/ListListenersCommand.js +3 -3
  86. package/dist-es/commands/ListRulesCommand.js +3 -3
  87. package/dist-es/commands/ListServiceNetworkServiceAssociationsCommand.js +3 -3
  88. package/dist-es/commands/ListServiceNetworkVpcAssociationsCommand.js +3 -3
  89. package/dist-es/commands/ListServiceNetworksCommand.js +3 -3
  90. package/dist-es/commands/ListServicesCommand.js +3 -3
  91. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  92. package/dist-es/commands/ListTargetGroupsCommand.js +3 -3
  93. package/dist-es/commands/ListTargetsCommand.js +3 -3
  94. package/dist-es/commands/PutAuthPolicyCommand.js +3 -3
  95. package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
  96. package/dist-es/commands/RegisterTargetsCommand.js +3 -3
  97. package/dist-es/commands/TagResourceCommand.js +3 -3
  98. package/dist-es/commands/UntagResourceCommand.js +3 -3
  99. package/dist-es/commands/UpdateAccessLogSubscriptionCommand.js +3 -3
  100. package/dist-es/commands/UpdateListenerCommand.js +3 -3
  101. package/dist-es/commands/UpdateRuleCommand.js +3 -3
  102. package/dist-es/commands/UpdateServiceCommand.js +3 -3
  103. package/dist-es/commands/UpdateServiceNetworkCommand.js +3 -3
  104. package/dist-es/commands/UpdateServiceNetworkVpcAssociationCommand.js +3 -3
  105. package/dist-es/commands/UpdateTargetGroupCommand.js +3 -3
  106. package/dist-es/protocols/Aws_restJson1.js +668 -686
  107. package/dist-types/protocols/Aws_restJson1.d.ts +416 -104
  108. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +104 -104
  109. package/package.json +35 -35
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { AccessDeniedException, ConflictException, HeaderMatchType, InternalServerException, Matcher, PathMatchType, ResourceNotFoundException, RuleAction, RuleMatch, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  import { VPCLatticeServiceException as __BaseException } from "../models/VPCLatticeServiceException";
6
- export const serializeAws_restJson1BatchUpdateRuleCommand = async (input, context) => {
6
+ export const se_BatchUpdateRuleCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
8
  const headers = {
9
9
  "content-type": "application/json",
@@ -14,7 +14,7 @@ export const serializeAws_restJson1BatchUpdateRuleCommand = async (input, contex
14
14
  resolvedPath = __resolvedPath(resolvedPath, input, "listenerIdentifier", () => input.listenerIdentifier, "{listenerIdentifier}", false);
15
15
  let body;
16
16
  body = JSON.stringify({
17
- ...(input.rules != null && { rules: serializeAws_restJson1RuleUpdateList(input.rules, context) }),
17
+ ...(input.rules != null && { rules: se_RuleUpdateList(input.rules, context) }),
18
18
  });
19
19
  return new __HttpRequest({
20
20
  protocol,
@@ -26,7 +26,7 @@ export const serializeAws_restJson1BatchUpdateRuleCommand = async (input, contex
26
26
  body,
27
27
  });
28
28
  };
29
- export const serializeAws_restJson1CreateAccessLogSubscriptionCommand = async (input, context) => {
29
+ export const se_CreateAccessLogSubscriptionCommand = async (input, context) => {
30
30
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
31
31
  const headers = {
32
32
  "content-type": "application/json",
@@ -37,7 +37,7 @@ export const serializeAws_restJson1CreateAccessLogSubscriptionCommand = async (i
37
37
  clientToken: input.clientToken ?? generateIdempotencyToken(),
38
38
  ...(input.destinationArn != null && { destinationArn: input.destinationArn }),
39
39
  ...(input.resourceIdentifier != null && { resourceIdentifier: input.resourceIdentifier }),
40
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
40
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
41
41
  });
42
42
  return new __HttpRequest({
43
43
  protocol,
@@ -49,7 +49,7 @@ export const serializeAws_restJson1CreateAccessLogSubscriptionCommand = async (i
49
49
  body,
50
50
  });
51
51
  };
52
- export const serializeAws_restJson1CreateListenerCommand = async (input, context) => {
52
+ export const se_CreateListenerCommand = 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",
@@ -59,13 +59,11 @@ export const serializeAws_restJson1CreateListenerCommand = async (input, context
59
59
  let body;
60
60
  body = JSON.stringify({
61
61
  clientToken: input.clientToken ?? generateIdempotencyToken(),
62
- ...(input.defaultAction != null && {
63
- defaultAction: serializeAws_restJson1RuleAction(input.defaultAction, context),
64
- }),
62
+ ...(input.defaultAction != null && { defaultAction: se_RuleAction(input.defaultAction, context) }),
65
63
  ...(input.name != null && { name: input.name }),
66
64
  ...(input.port != null && { port: input.port }),
67
65
  ...(input.protocol != null && { protocol: input.protocol }),
68
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
66
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
69
67
  });
70
68
  return new __HttpRequest({
71
69
  protocol,
@@ -77,7 +75,7 @@ export const serializeAws_restJson1CreateListenerCommand = async (input, context
77
75
  body,
78
76
  });
79
77
  };
80
- export const serializeAws_restJson1CreateRuleCommand = async (input, context) => {
78
+ export const se_CreateRuleCommand = async (input, context) => {
81
79
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
82
80
  const headers = {
83
81
  "content-type": "application/json",
@@ -88,12 +86,12 @@ export const serializeAws_restJson1CreateRuleCommand = async (input, context) =>
88
86
  resolvedPath = __resolvedPath(resolvedPath, input, "listenerIdentifier", () => input.listenerIdentifier, "{listenerIdentifier}", false);
89
87
  let body;
90
88
  body = JSON.stringify({
91
- ...(input.action != null && { action: serializeAws_restJson1RuleAction(input.action, context) }),
89
+ ...(input.action != null && { action: se_RuleAction(input.action, context) }),
92
90
  clientToken: input.clientToken ?? generateIdempotencyToken(),
93
- ...(input.match != null && { match: serializeAws_restJson1RuleMatch(input.match, context) }),
91
+ ...(input.match != null && { match: se_RuleMatch(input.match, context) }),
94
92
  ...(input.name != null && { name: input.name }),
95
93
  ...(input.priority != null && { priority: input.priority }),
96
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
94
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
97
95
  });
98
96
  return new __HttpRequest({
99
97
  protocol,
@@ -105,7 +103,7 @@ export const serializeAws_restJson1CreateRuleCommand = async (input, context) =>
105
103
  body,
106
104
  });
107
105
  };
108
- export const serializeAws_restJson1CreateServiceCommand = async (input, context) => {
106
+ export const se_CreateServiceCommand = async (input, context) => {
109
107
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
110
108
  const headers = {
111
109
  "content-type": "application/json",
@@ -118,7 +116,7 @@ export const serializeAws_restJson1CreateServiceCommand = async (input, context)
118
116
  clientToken: input.clientToken ?? generateIdempotencyToken(),
119
117
  ...(input.customDomainName != null && { customDomainName: input.customDomainName }),
120
118
  ...(input.name != null && { name: input.name }),
121
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
119
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
122
120
  });
123
121
  return new __HttpRequest({
124
122
  protocol,
@@ -130,7 +128,7 @@ export const serializeAws_restJson1CreateServiceCommand = async (input, context)
130
128
  body,
131
129
  });
132
130
  };
133
- export const serializeAws_restJson1CreateServiceNetworkCommand = async (input, context) => {
131
+ export const se_CreateServiceNetworkCommand = async (input, context) => {
134
132
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
135
133
  const headers = {
136
134
  "content-type": "application/json",
@@ -141,7 +139,7 @@ export const serializeAws_restJson1CreateServiceNetworkCommand = async (input, c
141
139
  ...(input.authType != null && { authType: input.authType }),
142
140
  clientToken: input.clientToken ?? generateIdempotencyToken(),
143
141
  ...(input.name != null && { name: input.name }),
144
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
142
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
145
143
  });
146
144
  return new __HttpRequest({
147
145
  protocol,
@@ -153,7 +151,7 @@ export const serializeAws_restJson1CreateServiceNetworkCommand = async (input, c
153
151
  body,
154
152
  });
155
153
  };
156
- export const serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = async (input, context) => {
154
+ export const se_CreateServiceNetworkServiceAssociationCommand = async (input, context) => {
157
155
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
158
156
  const headers = {
159
157
  "content-type": "application/json",
@@ -164,7 +162,7 @@ export const serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand
164
162
  clientToken: input.clientToken ?? generateIdempotencyToken(),
165
163
  ...(input.serviceIdentifier != null && { serviceIdentifier: input.serviceIdentifier }),
166
164
  ...(input.serviceNetworkIdentifier != null && { serviceNetworkIdentifier: input.serviceNetworkIdentifier }),
167
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
165
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
168
166
  });
169
167
  return new __HttpRequest({
170
168
  protocol,
@@ -176,7 +174,7 @@ export const serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand
176
174
  body,
177
175
  });
178
176
  };
179
- export const serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = async (input, context) => {
177
+ export const se_CreateServiceNetworkVpcAssociationCommand = async (input, context) => {
180
178
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
181
179
  const headers = {
182
180
  "content-type": "application/json",
@@ -185,11 +183,9 @@ export const serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = a
185
183
  let body;
186
184
  body = JSON.stringify({
187
185
  clientToken: input.clientToken ?? generateIdempotencyToken(),
188
- ...(input.securityGroupIds != null && {
189
- securityGroupIds: serializeAws_restJson1SecurityGroupList(input.securityGroupIds, context),
190
- }),
186
+ ...(input.securityGroupIds != null && { securityGroupIds: se_SecurityGroupList(input.securityGroupIds, context) }),
191
187
  ...(input.serviceNetworkIdentifier != null && { serviceNetworkIdentifier: input.serviceNetworkIdentifier }),
192
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
188
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
193
189
  ...(input.vpcIdentifier != null && { vpcIdentifier: input.vpcIdentifier }),
194
190
  });
195
191
  return new __HttpRequest({
@@ -202,7 +198,7 @@ export const serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = a
202
198
  body,
203
199
  });
204
200
  };
205
- export const serializeAws_restJson1CreateTargetGroupCommand = async (input, context) => {
201
+ export const se_CreateTargetGroupCommand = async (input, context) => {
206
202
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
207
203
  const headers = {
208
204
  "content-type": "application/json",
@@ -211,9 +207,9 @@ export const serializeAws_restJson1CreateTargetGroupCommand = async (input, cont
211
207
  let body;
212
208
  body = JSON.stringify({
213
209
  clientToken: input.clientToken ?? generateIdempotencyToken(),
214
- ...(input.config != null && { config: serializeAws_restJson1TargetGroupConfig(input.config, context) }),
210
+ ...(input.config != null && { config: se_TargetGroupConfig(input.config, context) }),
215
211
  ...(input.name != null && { name: input.name }),
216
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
212
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
217
213
  ...(input.type != null && { type: input.type }),
218
214
  });
219
215
  return new __HttpRequest({
@@ -226,7 +222,7 @@ export const serializeAws_restJson1CreateTargetGroupCommand = async (input, cont
226
222
  body,
227
223
  });
228
224
  };
229
- export const serializeAws_restJson1DeleteAccessLogSubscriptionCommand = async (input, context) => {
225
+ export const se_DeleteAccessLogSubscriptionCommand = async (input, context) => {
230
226
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
231
227
  const headers = {};
232
228
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -243,7 +239,7 @@ export const serializeAws_restJson1DeleteAccessLogSubscriptionCommand = async (i
243
239
  body,
244
240
  });
245
241
  };
246
- export const serializeAws_restJson1DeleteAuthPolicyCommand = async (input, context) => {
242
+ export const se_DeleteAuthPolicyCommand = async (input, context) => {
247
243
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
248
244
  const headers = {};
249
245
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/authpolicy/{resourceIdentifier}";
@@ -259,7 +255,7 @@ export const serializeAws_restJson1DeleteAuthPolicyCommand = async (input, conte
259
255
  body,
260
256
  });
261
257
  };
262
- export const serializeAws_restJson1DeleteListenerCommand = async (input, context) => {
258
+ export const se_DeleteListenerCommand = async (input, context) => {
263
259
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
264
260
  const headers = {};
265
261
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -277,7 +273,7 @@ export const serializeAws_restJson1DeleteListenerCommand = async (input, context
277
273
  body,
278
274
  });
279
275
  };
280
- export const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context) => {
276
+ export const se_DeleteResourcePolicyCommand = async (input, context) => {
281
277
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
282
278
  const headers = {};
283
279
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resourcepolicy/{resourceArn}";
@@ -293,7 +289,7 @@ export const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, c
293
289
  body,
294
290
  });
295
291
  };
296
- export const serializeAws_restJson1DeleteRuleCommand = async (input, context) => {
292
+ export const se_DeleteRuleCommand = async (input, context) => {
297
293
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
298
294
  const headers = {};
299
295
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -312,7 +308,7 @@ export const serializeAws_restJson1DeleteRuleCommand = async (input, context) =>
312
308
  body,
313
309
  });
314
310
  };
315
- export const serializeAws_restJson1DeleteServiceCommand = async (input, context) => {
311
+ export const se_DeleteServiceCommand = async (input, context) => {
316
312
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
313
  const headers = {};
318
314
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services/{serviceIdentifier}";
@@ -328,7 +324,7 @@ export const serializeAws_restJson1DeleteServiceCommand = async (input, context)
328
324
  body,
329
325
  });
330
326
  };
331
- export const serializeAws_restJson1DeleteServiceNetworkCommand = async (input, context) => {
327
+ export const se_DeleteServiceNetworkCommand = async (input, context) => {
332
328
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
333
329
  const headers = {};
334
330
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -345,7 +341,7 @@ export const serializeAws_restJson1DeleteServiceNetworkCommand = async (input, c
345
341
  body,
346
342
  });
347
343
  };
348
- export const serializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = async (input, context) => {
344
+ export const se_DeleteServiceNetworkServiceAssociationCommand = async (input, context) => {
349
345
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
350
346
  const headers = {};
351
347
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -362,7 +358,7 @@ export const serializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand
362
358
  body,
363
359
  });
364
360
  };
365
- export const serializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = async (input, context) => {
361
+ export const se_DeleteServiceNetworkVpcAssociationCommand = async (input, context) => {
366
362
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
367
363
  const headers = {};
368
364
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -379,7 +375,7 @@ export const serializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = a
379
375
  body,
380
376
  });
381
377
  };
382
- export const serializeAws_restJson1DeleteTargetGroupCommand = async (input, context) => {
378
+ export const se_DeleteTargetGroupCommand = async (input, context) => {
383
379
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
384
380
  const headers = {};
385
381
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/targetgroups/{targetGroupIdentifier}";
@@ -395,7 +391,7 @@ export const serializeAws_restJson1DeleteTargetGroupCommand = async (input, cont
395
391
  body,
396
392
  });
397
393
  };
398
- export const serializeAws_restJson1DeregisterTargetsCommand = async (input, context) => {
394
+ export const se_DeregisterTargetsCommand = async (input, context) => {
399
395
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
400
396
  const headers = {
401
397
  "content-type": "application/json",
@@ -405,7 +401,7 @@ export const serializeAws_restJson1DeregisterTargetsCommand = async (input, cont
405
401
  resolvedPath = __resolvedPath(resolvedPath, input, "targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
406
402
  let body;
407
403
  body = JSON.stringify({
408
- ...(input.targets != null && { targets: serializeAws_restJson1TargetList(input.targets, context) }),
404
+ ...(input.targets != null && { targets: se_TargetList(input.targets, context) }),
409
405
  });
410
406
  return new __HttpRequest({
411
407
  protocol,
@@ -417,7 +413,7 @@ export const serializeAws_restJson1DeregisterTargetsCommand = async (input, cont
417
413
  body,
418
414
  });
419
415
  };
420
- export const serializeAws_restJson1GetAccessLogSubscriptionCommand = async (input, context) => {
416
+ export const se_GetAccessLogSubscriptionCommand = async (input, context) => {
421
417
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
422
418
  const headers = {};
423
419
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -434,7 +430,7 @@ export const serializeAws_restJson1GetAccessLogSubscriptionCommand = async (inpu
434
430
  body,
435
431
  });
436
432
  };
437
- export const serializeAws_restJson1GetAuthPolicyCommand = async (input, context) => {
433
+ export const se_GetAuthPolicyCommand = async (input, context) => {
438
434
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
439
435
  const headers = {};
440
436
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/authpolicy/{resourceIdentifier}";
@@ -450,7 +446,7 @@ export const serializeAws_restJson1GetAuthPolicyCommand = async (input, context)
450
446
  body,
451
447
  });
452
448
  };
453
- export const serializeAws_restJson1GetListenerCommand = async (input, context) => {
449
+ export const se_GetListenerCommand = async (input, context) => {
454
450
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
455
451
  const headers = {};
456
452
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -468,7 +464,7 @@ export const serializeAws_restJson1GetListenerCommand = async (input, context) =
468
464
  body,
469
465
  });
470
466
  };
471
- export const serializeAws_restJson1GetResourcePolicyCommand = async (input, context) => {
467
+ export const se_GetResourcePolicyCommand = async (input, context) => {
472
468
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
473
469
  const headers = {};
474
470
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resourcepolicy/{resourceArn}";
@@ -484,7 +480,7 @@ export const serializeAws_restJson1GetResourcePolicyCommand = async (input, cont
484
480
  body,
485
481
  });
486
482
  };
487
- export const serializeAws_restJson1GetRuleCommand = async (input, context) => {
483
+ export const se_GetRuleCommand = async (input, context) => {
488
484
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
489
485
  const headers = {};
490
486
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -503,7 +499,7 @@ export const serializeAws_restJson1GetRuleCommand = async (input, context) => {
503
499
  body,
504
500
  });
505
501
  };
506
- export const serializeAws_restJson1GetServiceCommand = async (input, context) => {
502
+ export const se_GetServiceCommand = async (input, context) => {
507
503
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
508
504
  const headers = {};
509
505
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services/{serviceIdentifier}";
@@ -519,7 +515,7 @@ export const serializeAws_restJson1GetServiceCommand = async (input, context) =>
519
515
  body,
520
516
  });
521
517
  };
522
- export const serializeAws_restJson1GetServiceNetworkCommand = async (input, context) => {
518
+ export const se_GetServiceNetworkCommand = async (input, context) => {
523
519
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
524
520
  const headers = {};
525
521
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -536,7 +532,7 @@ export const serializeAws_restJson1GetServiceNetworkCommand = async (input, cont
536
532
  body,
537
533
  });
538
534
  };
539
- export const serializeAws_restJson1GetServiceNetworkServiceAssociationCommand = async (input, context) => {
535
+ export const se_GetServiceNetworkServiceAssociationCommand = async (input, context) => {
540
536
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
541
537
  const headers = {};
542
538
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -553,7 +549,7 @@ export const serializeAws_restJson1GetServiceNetworkServiceAssociationCommand =
553
549
  body,
554
550
  });
555
551
  };
556
- export const serializeAws_restJson1GetServiceNetworkVpcAssociationCommand = async (input, context) => {
552
+ export const se_GetServiceNetworkVpcAssociationCommand = async (input, context) => {
557
553
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
558
554
  const headers = {};
559
555
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -570,7 +566,7 @@ export const serializeAws_restJson1GetServiceNetworkVpcAssociationCommand = asyn
570
566
  body,
571
567
  });
572
568
  };
573
- export const serializeAws_restJson1GetTargetGroupCommand = async (input, context) => {
569
+ export const se_GetTargetGroupCommand = async (input, context) => {
574
570
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
575
571
  const headers = {};
576
572
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/targetgroups/{targetGroupIdentifier}";
@@ -586,7 +582,7 @@ export const serializeAws_restJson1GetTargetGroupCommand = async (input, context
586
582
  body,
587
583
  });
588
584
  };
589
- export const serializeAws_restJson1ListAccessLogSubscriptionsCommand = async (input, context) => {
585
+ export const se_ListAccessLogSubscriptionsCommand = async (input, context) => {
590
586
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
591
587
  const headers = {};
592
588
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accesslogsubscriptions";
@@ -607,7 +603,7 @@ export const serializeAws_restJson1ListAccessLogSubscriptionsCommand = async (in
607
603
  body,
608
604
  });
609
605
  };
610
- export const serializeAws_restJson1ListListenersCommand = async (input, context) => {
606
+ export const se_ListListenersCommand = async (input, context) => {
611
607
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
612
608
  const headers = {};
613
609
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services/{serviceIdentifier}/listeners";
@@ -628,7 +624,7 @@ export const serializeAws_restJson1ListListenersCommand = async (input, context)
628
624
  body,
629
625
  });
630
626
  };
631
- export const serializeAws_restJson1ListRulesCommand = async (input, context) => {
627
+ export const se_ListRulesCommand = async (input, context) => {
632
628
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
633
629
  const headers = {};
634
630
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -651,7 +647,7 @@ export const serializeAws_restJson1ListRulesCommand = async (input, context) =>
651
647
  body,
652
648
  });
653
649
  };
654
- export const serializeAws_restJson1ListServiceNetworksCommand = async (input, context) => {
650
+ export const se_ListServiceNetworksCommand = async (input, context) => {
655
651
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
656
652
  const headers = {};
657
653
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworks";
@@ -671,7 +667,7 @@ export const serializeAws_restJson1ListServiceNetworksCommand = async (input, co
671
667
  body,
672
668
  });
673
669
  };
674
- export const serializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = async (input, context) => {
670
+ export const se_ListServiceNetworkServiceAssociationsCommand = async (input, context) => {
675
671
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
676
672
  const headers = {};
677
673
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworkserviceassociations";
@@ -693,7 +689,7 @@ export const serializeAws_restJson1ListServiceNetworkServiceAssociationsCommand
693
689
  body,
694
690
  });
695
691
  };
696
- export const serializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = async (input, context) => {
692
+ export const se_ListServiceNetworkVpcAssociationsCommand = async (input, context) => {
697
693
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
698
694
  const headers = {};
699
695
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworkvpcassociations";
@@ -715,7 +711,7 @@ export const serializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = as
715
711
  body,
716
712
  });
717
713
  };
718
- export const serializeAws_restJson1ListServicesCommand = async (input, context) => {
714
+ export const se_ListServicesCommand = async (input, context) => {
719
715
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
720
716
  const headers = {};
721
717
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services";
@@ -735,7 +731,7 @@ export const serializeAws_restJson1ListServicesCommand = async (input, context)
735
731
  body,
736
732
  });
737
733
  };
738
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
734
+ export const se_ListTagsForResourceCommand = async (input, context) => {
739
735
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
740
736
  const headers = {};
741
737
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -751,7 +747,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
751
747
  body,
752
748
  });
753
749
  };
754
- export const serializeAws_restJson1ListTargetGroupsCommand = async (input, context) => {
750
+ export const se_ListTargetGroupsCommand = async (input, context) => {
755
751
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
756
752
  const headers = {};
757
753
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/targetgroups";
@@ -773,7 +769,7 @@ export const serializeAws_restJson1ListTargetGroupsCommand = async (input, conte
773
769
  body,
774
770
  });
775
771
  };
776
- export const serializeAws_restJson1ListTargetsCommand = async (input, context) => {
772
+ export const se_ListTargetsCommand = async (input, context) => {
777
773
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
778
774
  const headers = {
779
775
  "content-type": "application/json",
@@ -787,7 +783,7 @@ export const serializeAws_restJson1ListTargetsCommand = async (input, context) =
787
783
  });
788
784
  let body;
789
785
  body = JSON.stringify({
790
- ...(input.targets != null && { targets: serializeAws_restJson1TargetList(input.targets, context) }),
786
+ ...(input.targets != null && { targets: se_TargetList(input.targets, context) }),
791
787
  });
792
788
  return new __HttpRequest({
793
789
  protocol,
@@ -800,7 +796,7 @@ export const serializeAws_restJson1ListTargetsCommand = async (input, context) =
800
796
  body,
801
797
  });
802
798
  };
803
- export const serializeAws_restJson1PutAuthPolicyCommand = async (input, context) => {
799
+ export const se_PutAuthPolicyCommand = async (input, context) => {
804
800
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
805
801
  const headers = {
806
802
  "content-type": "application/json",
@@ -821,7 +817,7 @@ export const serializeAws_restJson1PutAuthPolicyCommand = async (input, context)
821
817
  body,
822
818
  });
823
819
  };
824
- export const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) => {
820
+ export const se_PutResourcePolicyCommand = async (input, context) => {
825
821
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
826
822
  const headers = {
827
823
  "content-type": "application/json",
@@ -842,7 +838,7 @@ export const serializeAws_restJson1PutResourcePolicyCommand = async (input, cont
842
838
  body,
843
839
  });
844
840
  };
845
- export const serializeAws_restJson1RegisterTargetsCommand = async (input, context) => {
841
+ export const se_RegisterTargetsCommand = async (input, context) => {
846
842
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
847
843
  const headers = {
848
844
  "content-type": "application/json",
@@ -852,7 +848,7 @@ export const serializeAws_restJson1RegisterTargetsCommand = async (input, contex
852
848
  resolvedPath = __resolvedPath(resolvedPath, input, "targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
853
849
  let body;
854
850
  body = JSON.stringify({
855
- ...(input.targets != null && { targets: serializeAws_restJson1TargetList(input.targets, context) }),
851
+ ...(input.targets != null && { targets: se_TargetList(input.targets, context) }),
856
852
  });
857
853
  return new __HttpRequest({
858
854
  protocol,
@@ -864,7 +860,7 @@ export const serializeAws_restJson1RegisterTargetsCommand = async (input, contex
864
860
  body,
865
861
  });
866
862
  };
867
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
863
+ export const se_TagResourceCommand = async (input, context) => {
868
864
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
869
865
  const headers = {
870
866
  "content-type": "application/json",
@@ -873,7 +869,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
873
869
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
874
870
  let body;
875
871
  body = JSON.stringify({
876
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
872
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
877
873
  });
878
874
  return new __HttpRequest({
879
875
  protocol,
@@ -885,7 +881,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
885
881
  body,
886
882
  });
887
883
  };
888
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
884
+ export const se_UntagResourceCommand = async (input, context) => {
889
885
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
890
886
  const headers = {};
891
887
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -908,7 +904,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
908
904
  body,
909
905
  });
910
906
  };
911
- export const serializeAws_restJson1UpdateAccessLogSubscriptionCommand = async (input, context) => {
907
+ export const se_UpdateAccessLogSubscriptionCommand = async (input, context) => {
912
908
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
913
909
  const headers = {
914
910
  "content-type": "application/json",
@@ -930,7 +926,7 @@ export const serializeAws_restJson1UpdateAccessLogSubscriptionCommand = async (i
930
926
  body,
931
927
  });
932
928
  };
933
- export const serializeAws_restJson1UpdateListenerCommand = async (input, context) => {
929
+ export const se_UpdateListenerCommand = async (input, context) => {
934
930
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
935
931
  const headers = {
936
932
  "content-type": "application/json",
@@ -941,9 +937,7 @@ export const serializeAws_restJson1UpdateListenerCommand = async (input, context
941
937
  resolvedPath = __resolvedPath(resolvedPath, input, "listenerIdentifier", () => input.listenerIdentifier, "{listenerIdentifier}", false);
942
938
  let body;
943
939
  body = JSON.stringify({
944
- ...(input.defaultAction != null && {
945
- defaultAction: serializeAws_restJson1RuleAction(input.defaultAction, context),
946
- }),
940
+ ...(input.defaultAction != null && { defaultAction: se_RuleAction(input.defaultAction, context) }),
947
941
  });
948
942
  return new __HttpRequest({
949
943
  protocol,
@@ -955,7 +949,7 @@ export const serializeAws_restJson1UpdateListenerCommand = async (input, context
955
949
  body,
956
950
  });
957
951
  };
958
- export const serializeAws_restJson1UpdateRuleCommand = async (input, context) => {
952
+ export const se_UpdateRuleCommand = async (input, context) => {
959
953
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
960
954
  const headers = {
961
955
  "content-type": "application/json",
@@ -967,8 +961,8 @@ export const serializeAws_restJson1UpdateRuleCommand = async (input, context) =>
967
961
  resolvedPath = __resolvedPath(resolvedPath, input, "ruleIdentifier", () => input.ruleIdentifier, "{ruleIdentifier}", false);
968
962
  let body;
969
963
  body = JSON.stringify({
970
- ...(input.action != null && { action: serializeAws_restJson1RuleAction(input.action, context) }),
971
- ...(input.match != null && { match: serializeAws_restJson1RuleMatch(input.match, context) }),
964
+ ...(input.action != null && { action: se_RuleAction(input.action, context) }),
965
+ ...(input.match != null && { match: se_RuleMatch(input.match, context) }),
972
966
  ...(input.priority != null && { priority: input.priority }),
973
967
  });
974
968
  return new __HttpRequest({
@@ -981,7 +975,7 @@ export const serializeAws_restJson1UpdateRuleCommand = async (input, context) =>
981
975
  body,
982
976
  });
983
977
  };
984
- export const serializeAws_restJson1UpdateServiceCommand = async (input, context) => {
978
+ export const se_UpdateServiceCommand = async (input, context) => {
985
979
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
986
980
  const headers = {
987
981
  "content-type": "application/json",
@@ -1003,7 +997,7 @@ export const serializeAws_restJson1UpdateServiceCommand = async (input, context)
1003
997
  body,
1004
998
  });
1005
999
  };
1006
- export const serializeAws_restJson1UpdateServiceNetworkCommand = async (input, context) => {
1000
+ export const se_UpdateServiceNetworkCommand = async (input, context) => {
1007
1001
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1008
1002
  const headers = {
1009
1003
  "content-type": "application/json",
@@ -1025,7 +1019,7 @@ export const serializeAws_restJson1UpdateServiceNetworkCommand = async (input, c
1025
1019
  body,
1026
1020
  });
1027
1021
  };
1028
- export const serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = async (input, context) => {
1022
+ export const se_UpdateServiceNetworkVpcAssociationCommand = async (input, context) => {
1029
1023
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1030
1024
  const headers = {
1031
1025
  "content-type": "application/json",
@@ -1035,9 +1029,7 @@ export const serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = a
1035
1029
  resolvedPath = __resolvedPath(resolvedPath, input, "serviceNetworkVpcAssociationIdentifier", () => input.serviceNetworkVpcAssociationIdentifier, "{serviceNetworkVpcAssociationIdentifier}", false);
1036
1030
  let body;
1037
1031
  body = JSON.stringify({
1038
- ...(input.securityGroupIds != null && {
1039
- securityGroupIds: serializeAws_restJson1SecurityGroupList(input.securityGroupIds, context),
1040
- }),
1032
+ ...(input.securityGroupIds != null && { securityGroupIds: se_SecurityGroupList(input.securityGroupIds, context) }),
1041
1033
  });
1042
1034
  return new __HttpRequest({
1043
1035
  protocol,
@@ -1049,7 +1041,7 @@ export const serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = a
1049
1041
  body,
1050
1042
  });
1051
1043
  };
1052
- export const serializeAws_restJson1UpdateTargetGroupCommand = async (input, context) => {
1044
+ export const se_UpdateTargetGroupCommand = async (input, context) => {
1053
1045
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1054
1046
  const headers = {
1055
1047
  "content-type": "application/json",
@@ -1058,9 +1050,7 @@ export const serializeAws_restJson1UpdateTargetGroupCommand = async (input, cont
1058
1050
  resolvedPath = __resolvedPath(resolvedPath, input, "targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
1059
1051
  let body;
1060
1052
  body = JSON.stringify({
1061
- ...(input.healthCheck != null && {
1062
- healthCheck: serializeAws_restJson1HealthCheckConfig(input.healthCheck, context),
1063
- }),
1053
+ ...(input.healthCheck != null && { healthCheck: se_HealthCheckConfig(input.healthCheck, context) }),
1064
1054
  });
1065
1055
  return new __HttpRequest({
1066
1056
  protocol,
@@ -1072,23 +1062,23 @@ export const serializeAws_restJson1UpdateTargetGroupCommand = async (input, cont
1072
1062
  body,
1073
1063
  });
1074
1064
  };
1075
- export const deserializeAws_restJson1BatchUpdateRuleCommand = async (output, context) => {
1065
+ export const de_BatchUpdateRuleCommand = async (output, context) => {
1076
1066
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1077
- return deserializeAws_restJson1BatchUpdateRuleCommandError(output, context);
1067
+ return de_BatchUpdateRuleCommandError(output, context);
1078
1068
  }
1079
1069
  const contents = map({
1080
1070
  $metadata: deserializeMetadata(output),
1081
1071
  });
1082
1072
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1083
1073
  if (data.successful != null) {
1084
- contents.successful = deserializeAws_restJson1RuleUpdateSuccessList(data.successful, context);
1074
+ contents.successful = de_RuleUpdateSuccessList(data.successful, context);
1085
1075
  }
1086
1076
  if (data.unsuccessful != null) {
1087
- contents.unsuccessful = deserializeAws_restJson1RuleUpdateFailureList(data.unsuccessful, context);
1077
+ contents.unsuccessful = de_RuleUpdateFailureList(data.unsuccessful, context);
1088
1078
  }
1089
1079
  return contents;
1090
1080
  };
1091
- const deserializeAws_restJson1BatchUpdateRuleCommandError = async (output, context) => {
1081
+ const de_BatchUpdateRuleCommandError = async (output, context) => {
1092
1082
  const parsedOutput = {
1093
1083
  ...output,
1094
1084
  body: await parseErrorBody(output.body, context),
@@ -1097,22 +1087,22 @@ const deserializeAws_restJson1BatchUpdateRuleCommandError = async (output, conte
1097
1087
  switch (errorCode) {
1098
1088
  case "AccessDeniedException":
1099
1089
  case "com.amazonaws.vpclattice#AccessDeniedException":
1100
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1090
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1101
1091
  case "ConflictException":
1102
1092
  case "com.amazonaws.vpclattice#ConflictException":
1103
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1093
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1104
1094
  case "InternalServerException":
1105
1095
  case "com.amazonaws.vpclattice#InternalServerException":
1106
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1096
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1107
1097
  case "ResourceNotFoundException":
1108
1098
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1109
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1099
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1110
1100
  case "ThrottlingException":
1111
1101
  case "com.amazonaws.vpclattice#ThrottlingException":
1112
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1102
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1113
1103
  case "ValidationException":
1114
1104
  case "com.amazonaws.vpclattice#ValidationException":
1115
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1105
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1116
1106
  default:
1117
1107
  const parsedBody = parsedOutput.body;
1118
1108
  throwDefaultError({
@@ -1123,9 +1113,9 @@ const deserializeAws_restJson1BatchUpdateRuleCommandError = async (output, conte
1123
1113
  });
1124
1114
  }
1125
1115
  };
1126
- export const deserializeAws_restJson1CreateAccessLogSubscriptionCommand = async (output, context) => {
1116
+ export const de_CreateAccessLogSubscriptionCommand = async (output, context) => {
1127
1117
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1128
- return deserializeAws_restJson1CreateAccessLogSubscriptionCommandError(output, context);
1118
+ return de_CreateAccessLogSubscriptionCommandError(output, context);
1129
1119
  }
1130
1120
  const contents = map({
1131
1121
  $metadata: deserializeMetadata(output),
@@ -1148,7 +1138,7 @@ export const deserializeAws_restJson1CreateAccessLogSubscriptionCommand = async
1148
1138
  }
1149
1139
  return contents;
1150
1140
  };
1151
- const deserializeAws_restJson1CreateAccessLogSubscriptionCommandError = async (output, context) => {
1141
+ const de_CreateAccessLogSubscriptionCommandError = async (output, context) => {
1152
1142
  const parsedOutput = {
1153
1143
  ...output,
1154
1144
  body: await parseErrorBody(output.body, context),
@@ -1157,22 +1147,22 @@ const deserializeAws_restJson1CreateAccessLogSubscriptionCommandError = async (o
1157
1147
  switch (errorCode) {
1158
1148
  case "AccessDeniedException":
1159
1149
  case "com.amazonaws.vpclattice#AccessDeniedException":
1160
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1150
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1161
1151
  case "ConflictException":
1162
1152
  case "com.amazonaws.vpclattice#ConflictException":
1163
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1153
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1164
1154
  case "InternalServerException":
1165
1155
  case "com.amazonaws.vpclattice#InternalServerException":
1166
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1156
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1167
1157
  case "ResourceNotFoundException":
1168
1158
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1169
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1159
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1170
1160
  case "ThrottlingException":
1171
1161
  case "com.amazonaws.vpclattice#ThrottlingException":
1172
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1162
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1173
1163
  case "ValidationException":
1174
1164
  case "com.amazonaws.vpclattice#ValidationException":
1175
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1165
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1176
1166
  default:
1177
1167
  const parsedBody = parsedOutput.body;
1178
1168
  throwDefaultError({
@@ -1183,9 +1173,9 @@ const deserializeAws_restJson1CreateAccessLogSubscriptionCommandError = async (o
1183
1173
  });
1184
1174
  }
1185
1175
  };
1186
- export const deserializeAws_restJson1CreateListenerCommand = async (output, context) => {
1176
+ export const de_CreateListenerCommand = async (output, context) => {
1187
1177
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1188
- return deserializeAws_restJson1CreateListenerCommandError(output, context);
1178
+ return de_CreateListenerCommandError(output, context);
1189
1179
  }
1190
1180
  const contents = map({
1191
1181
  $metadata: deserializeMetadata(output),
@@ -1195,7 +1185,7 @@ export const deserializeAws_restJson1CreateListenerCommand = async (output, cont
1195
1185
  contents.arn = __expectString(data.arn);
1196
1186
  }
1197
1187
  if (data.defaultAction != null) {
1198
- contents.defaultAction = deserializeAws_restJson1RuleAction(__expectUnion(data.defaultAction), context);
1188
+ contents.defaultAction = de_RuleAction(__expectUnion(data.defaultAction), context);
1199
1189
  }
1200
1190
  if (data.id != null) {
1201
1191
  contents.id = __expectString(data.id);
@@ -1217,7 +1207,7 @@ export const deserializeAws_restJson1CreateListenerCommand = async (output, cont
1217
1207
  }
1218
1208
  return contents;
1219
1209
  };
1220
- const deserializeAws_restJson1CreateListenerCommandError = async (output, context) => {
1210
+ const de_CreateListenerCommandError = async (output, context) => {
1221
1211
  const parsedOutput = {
1222
1212
  ...output,
1223
1213
  body: await parseErrorBody(output.body, context),
@@ -1226,25 +1216,25 @@ const deserializeAws_restJson1CreateListenerCommandError = async (output, contex
1226
1216
  switch (errorCode) {
1227
1217
  case "AccessDeniedException":
1228
1218
  case "com.amazonaws.vpclattice#AccessDeniedException":
1229
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1219
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1230
1220
  case "ConflictException":
1231
1221
  case "com.amazonaws.vpclattice#ConflictException":
1232
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1222
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1233
1223
  case "InternalServerException":
1234
1224
  case "com.amazonaws.vpclattice#InternalServerException":
1235
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1225
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1236
1226
  case "ResourceNotFoundException":
1237
1227
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1238
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1228
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1239
1229
  case "ServiceQuotaExceededException":
1240
1230
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1241
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1231
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1242
1232
  case "ThrottlingException":
1243
1233
  case "com.amazonaws.vpclattice#ThrottlingException":
1244
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1234
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1245
1235
  case "ValidationException":
1246
1236
  case "com.amazonaws.vpclattice#ValidationException":
1247
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1237
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1248
1238
  default:
1249
1239
  const parsedBody = parsedOutput.body;
1250
1240
  throwDefaultError({
@@ -1255,16 +1245,16 @@ const deserializeAws_restJson1CreateListenerCommandError = async (output, contex
1255
1245
  });
1256
1246
  }
1257
1247
  };
1258
- export const deserializeAws_restJson1CreateRuleCommand = async (output, context) => {
1248
+ export const de_CreateRuleCommand = async (output, context) => {
1259
1249
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1260
- return deserializeAws_restJson1CreateRuleCommandError(output, context);
1250
+ return de_CreateRuleCommandError(output, context);
1261
1251
  }
1262
1252
  const contents = map({
1263
1253
  $metadata: deserializeMetadata(output),
1264
1254
  });
1265
1255
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1266
1256
  if (data.action != null) {
1267
- contents.action = deserializeAws_restJson1RuleAction(__expectUnion(data.action), context);
1257
+ contents.action = de_RuleAction(__expectUnion(data.action), context);
1268
1258
  }
1269
1259
  if (data.arn != null) {
1270
1260
  contents.arn = __expectString(data.arn);
@@ -1273,7 +1263,7 @@ export const deserializeAws_restJson1CreateRuleCommand = async (output, context)
1273
1263
  contents.id = __expectString(data.id);
1274
1264
  }
1275
1265
  if (data.match != null) {
1276
- contents.match = deserializeAws_restJson1RuleMatch(__expectUnion(data.match), context);
1266
+ contents.match = de_RuleMatch(__expectUnion(data.match), context);
1277
1267
  }
1278
1268
  if (data.name != null) {
1279
1269
  contents.name = __expectString(data.name);
@@ -1283,7 +1273,7 @@ export const deserializeAws_restJson1CreateRuleCommand = async (output, context)
1283
1273
  }
1284
1274
  return contents;
1285
1275
  };
1286
- const deserializeAws_restJson1CreateRuleCommandError = async (output, context) => {
1276
+ const de_CreateRuleCommandError = async (output, context) => {
1287
1277
  const parsedOutput = {
1288
1278
  ...output,
1289
1279
  body: await parseErrorBody(output.body, context),
@@ -1292,25 +1282,25 @@ const deserializeAws_restJson1CreateRuleCommandError = async (output, context) =
1292
1282
  switch (errorCode) {
1293
1283
  case "AccessDeniedException":
1294
1284
  case "com.amazonaws.vpclattice#AccessDeniedException":
1295
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1285
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1296
1286
  case "ConflictException":
1297
1287
  case "com.amazonaws.vpclattice#ConflictException":
1298
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1288
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1299
1289
  case "InternalServerException":
1300
1290
  case "com.amazonaws.vpclattice#InternalServerException":
1301
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1291
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1302
1292
  case "ResourceNotFoundException":
1303
1293
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1304
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1294
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1305
1295
  case "ServiceQuotaExceededException":
1306
1296
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1307
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1297
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1308
1298
  case "ThrottlingException":
1309
1299
  case "com.amazonaws.vpclattice#ThrottlingException":
1310
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1300
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1311
1301
  case "ValidationException":
1312
1302
  case "com.amazonaws.vpclattice#ValidationException":
1313
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1303
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1314
1304
  default:
1315
1305
  const parsedBody = parsedOutput.body;
1316
1306
  throwDefaultError({
@@ -1321,9 +1311,9 @@ const deserializeAws_restJson1CreateRuleCommandError = async (output, context) =
1321
1311
  });
1322
1312
  }
1323
1313
  };
1324
- export const deserializeAws_restJson1CreateServiceCommand = async (output, context) => {
1314
+ export const de_CreateServiceCommand = async (output, context) => {
1325
1315
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1326
- return deserializeAws_restJson1CreateServiceCommandError(output, context);
1316
+ return de_CreateServiceCommandError(output, context);
1327
1317
  }
1328
1318
  const contents = map({
1329
1319
  $metadata: deserializeMetadata(output),
@@ -1342,7 +1332,7 @@ export const deserializeAws_restJson1CreateServiceCommand = async (output, conte
1342
1332
  contents.customDomainName = __expectString(data.customDomainName);
1343
1333
  }
1344
1334
  if (data.dnsEntry != null) {
1345
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
1335
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
1346
1336
  }
1347
1337
  if (data.id != null) {
1348
1338
  contents.id = __expectString(data.id);
@@ -1355,7 +1345,7 @@ export const deserializeAws_restJson1CreateServiceCommand = async (output, conte
1355
1345
  }
1356
1346
  return contents;
1357
1347
  };
1358
- const deserializeAws_restJson1CreateServiceCommandError = async (output, context) => {
1348
+ const de_CreateServiceCommandError = async (output, context) => {
1359
1349
  const parsedOutput = {
1360
1350
  ...output,
1361
1351
  body: await parseErrorBody(output.body, context),
@@ -1364,25 +1354,25 @@ const deserializeAws_restJson1CreateServiceCommandError = async (output, context
1364
1354
  switch (errorCode) {
1365
1355
  case "AccessDeniedException":
1366
1356
  case "com.amazonaws.vpclattice#AccessDeniedException":
1367
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1357
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1368
1358
  case "ConflictException":
1369
1359
  case "com.amazonaws.vpclattice#ConflictException":
1370
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1360
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1371
1361
  case "InternalServerException":
1372
1362
  case "com.amazonaws.vpclattice#InternalServerException":
1373
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1363
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1374
1364
  case "ResourceNotFoundException":
1375
1365
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1376
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1366
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1377
1367
  case "ServiceQuotaExceededException":
1378
1368
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1379
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1369
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1380
1370
  case "ThrottlingException":
1381
1371
  case "com.amazonaws.vpclattice#ThrottlingException":
1382
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1372
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1383
1373
  case "ValidationException":
1384
1374
  case "com.amazonaws.vpclattice#ValidationException":
1385
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1375
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1386
1376
  default:
1387
1377
  const parsedBody = parsedOutput.body;
1388
1378
  throwDefaultError({
@@ -1393,9 +1383,9 @@ const deserializeAws_restJson1CreateServiceCommandError = async (output, context
1393
1383
  });
1394
1384
  }
1395
1385
  };
1396
- export const deserializeAws_restJson1CreateServiceNetworkCommand = async (output, context) => {
1386
+ export const de_CreateServiceNetworkCommand = async (output, context) => {
1397
1387
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1398
- return deserializeAws_restJson1CreateServiceNetworkCommandError(output, context);
1388
+ return de_CreateServiceNetworkCommandError(output, context);
1399
1389
  }
1400
1390
  const contents = map({
1401
1391
  $metadata: deserializeMetadata(output),
@@ -1415,7 +1405,7 @@ export const deserializeAws_restJson1CreateServiceNetworkCommand = async (output
1415
1405
  }
1416
1406
  return contents;
1417
1407
  };
1418
- const deserializeAws_restJson1CreateServiceNetworkCommandError = async (output, context) => {
1408
+ const de_CreateServiceNetworkCommandError = async (output, context) => {
1419
1409
  const parsedOutput = {
1420
1410
  ...output,
1421
1411
  body: await parseErrorBody(output.body, context),
@@ -1424,25 +1414,25 @@ const deserializeAws_restJson1CreateServiceNetworkCommandError = async (output,
1424
1414
  switch (errorCode) {
1425
1415
  case "AccessDeniedException":
1426
1416
  case "com.amazonaws.vpclattice#AccessDeniedException":
1427
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1417
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1428
1418
  case "ConflictException":
1429
1419
  case "com.amazonaws.vpclattice#ConflictException":
1430
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1420
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1431
1421
  case "InternalServerException":
1432
1422
  case "com.amazonaws.vpclattice#InternalServerException":
1433
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1423
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1434
1424
  case "ResourceNotFoundException":
1435
1425
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1436
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1426
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1437
1427
  case "ServiceQuotaExceededException":
1438
1428
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1439
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1429
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1440
1430
  case "ThrottlingException":
1441
1431
  case "com.amazonaws.vpclattice#ThrottlingException":
1442
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1432
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1443
1433
  case "ValidationException":
1444
1434
  case "com.amazonaws.vpclattice#ValidationException":
1445
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1435
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1446
1436
  default:
1447
1437
  const parsedBody = parsedOutput.body;
1448
1438
  throwDefaultError({
@@ -1453,9 +1443,9 @@ const deserializeAws_restJson1CreateServiceNetworkCommandError = async (output,
1453
1443
  });
1454
1444
  }
1455
1445
  };
1456
- export const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = async (output, context) => {
1446
+ export const de_CreateServiceNetworkServiceAssociationCommand = async (output, context) => {
1457
1447
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1458
- return deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError(output, context);
1448
+ return de_CreateServiceNetworkServiceAssociationCommandError(output, context);
1459
1449
  }
1460
1450
  const contents = map({
1461
1451
  $metadata: deserializeMetadata(output),
@@ -1471,7 +1461,7 @@ export const deserializeAws_restJson1CreateServiceNetworkServiceAssociationComma
1471
1461
  contents.customDomainName = __expectString(data.customDomainName);
1472
1462
  }
1473
1463
  if (data.dnsEntry != null) {
1474
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
1464
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
1475
1465
  }
1476
1466
  if (data.id != null) {
1477
1467
  contents.id = __expectString(data.id);
@@ -1481,7 +1471,7 @@ export const deserializeAws_restJson1CreateServiceNetworkServiceAssociationComma
1481
1471
  }
1482
1472
  return contents;
1483
1473
  };
1484
- const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError = async (output, context) => {
1474
+ const de_CreateServiceNetworkServiceAssociationCommandError = async (output, context) => {
1485
1475
  const parsedOutput = {
1486
1476
  ...output,
1487
1477
  body: await parseErrorBody(output.body, context),
@@ -1490,22 +1480,22 @@ const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError
1490
1480
  switch (errorCode) {
1491
1481
  case "ConflictException":
1492
1482
  case "com.amazonaws.vpclattice#ConflictException":
1493
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1483
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1494
1484
  case "InternalServerException":
1495
1485
  case "com.amazonaws.vpclattice#InternalServerException":
1496
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1486
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1497
1487
  case "ResourceNotFoundException":
1498
1488
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1499
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1489
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1500
1490
  case "ServiceQuotaExceededException":
1501
1491
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1502
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1492
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1503
1493
  case "ThrottlingException":
1504
1494
  case "com.amazonaws.vpclattice#ThrottlingException":
1505
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1495
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1506
1496
  case "ValidationException":
1507
1497
  case "com.amazonaws.vpclattice#ValidationException":
1508
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1498
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1509
1499
  default:
1510
1500
  const parsedBody = parsedOutput.body;
1511
1501
  throwDefaultError({
@@ -1516,9 +1506,9 @@ const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError
1516
1506
  });
1517
1507
  }
1518
1508
  };
1519
- export const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = async (output, context) => {
1509
+ export const de_CreateServiceNetworkVpcAssociationCommand = async (output, context) => {
1520
1510
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1521
- return deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError(output, context);
1511
+ return de_CreateServiceNetworkVpcAssociationCommandError(output, context);
1522
1512
  }
1523
1513
  const contents = map({
1524
1514
  $metadata: deserializeMetadata(output),
@@ -1534,14 +1524,14 @@ export const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommand =
1534
1524
  contents.id = __expectString(data.id);
1535
1525
  }
1536
1526
  if (data.securityGroupIds != null) {
1537
- contents.securityGroupIds = deserializeAws_restJson1SecurityGroupList(data.securityGroupIds, context);
1527
+ contents.securityGroupIds = de_SecurityGroupList(data.securityGroupIds, context);
1538
1528
  }
1539
1529
  if (data.status != null) {
1540
1530
  contents.status = __expectString(data.status);
1541
1531
  }
1542
1532
  return contents;
1543
1533
  };
1544
- const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError = async (output, context) => {
1534
+ const de_CreateServiceNetworkVpcAssociationCommandError = async (output, context) => {
1545
1535
  const parsedOutput = {
1546
1536
  ...output,
1547
1537
  body: await parseErrorBody(output.body, context),
@@ -1550,25 +1540,25 @@ const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError = a
1550
1540
  switch (errorCode) {
1551
1541
  case "AccessDeniedException":
1552
1542
  case "com.amazonaws.vpclattice#AccessDeniedException":
1553
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1543
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1554
1544
  case "ConflictException":
1555
1545
  case "com.amazonaws.vpclattice#ConflictException":
1556
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1546
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1557
1547
  case "InternalServerException":
1558
1548
  case "com.amazonaws.vpclattice#InternalServerException":
1559
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1549
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1560
1550
  case "ResourceNotFoundException":
1561
1551
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1562
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1552
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1563
1553
  case "ServiceQuotaExceededException":
1564
1554
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1565
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1555
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1566
1556
  case "ThrottlingException":
1567
1557
  case "com.amazonaws.vpclattice#ThrottlingException":
1568
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1558
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1569
1559
  case "ValidationException":
1570
1560
  case "com.amazonaws.vpclattice#ValidationException":
1571
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1561
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1572
1562
  default:
1573
1563
  const parsedBody = parsedOutput.body;
1574
1564
  throwDefaultError({
@@ -1579,9 +1569,9 @@ const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError = a
1579
1569
  });
1580
1570
  }
1581
1571
  };
1582
- export const deserializeAws_restJson1CreateTargetGroupCommand = async (output, context) => {
1572
+ export const de_CreateTargetGroupCommand = async (output, context) => {
1583
1573
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1584
- return deserializeAws_restJson1CreateTargetGroupCommandError(output, context);
1574
+ return de_CreateTargetGroupCommandError(output, context);
1585
1575
  }
1586
1576
  const contents = map({
1587
1577
  $metadata: deserializeMetadata(output),
@@ -1591,7 +1581,7 @@ export const deserializeAws_restJson1CreateTargetGroupCommand = async (output, c
1591
1581
  contents.arn = __expectString(data.arn);
1592
1582
  }
1593
1583
  if (data.config != null) {
1594
- contents.config = deserializeAws_restJson1TargetGroupConfig(data.config, context);
1584
+ contents.config = de_TargetGroupConfig(data.config, context);
1595
1585
  }
1596
1586
  if (data.id != null) {
1597
1587
  contents.id = __expectString(data.id);
@@ -1607,7 +1597,7 @@ export const deserializeAws_restJson1CreateTargetGroupCommand = async (output, c
1607
1597
  }
1608
1598
  return contents;
1609
1599
  };
1610
- const deserializeAws_restJson1CreateTargetGroupCommandError = async (output, context) => {
1600
+ const de_CreateTargetGroupCommandError = async (output, context) => {
1611
1601
  const parsedOutput = {
1612
1602
  ...output,
1613
1603
  body: await parseErrorBody(output.body, context),
@@ -1616,25 +1606,25 @@ const deserializeAws_restJson1CreateTargetGroupCommandError = async (output, con
1616
1606
  switch (errorCode) {
1617
1607
  case "AccessDeniedException":
1618
1608
  case "com.amazonaws.vpclattice#AccessDeniedException":
1619
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1609
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1620
1610
  case "ConflictException":
1621
1611
  case "com.amazonaws.vpclattice#ConflictException":
1622
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1612
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1623
1613
  case "InternalServerException":
1624
1614
  case "com.amazonaws.vpclattice#InternalServerException":
1625
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1615
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1626
1616
  case "ResourceNotFoundException":
1627
1617
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1628
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1618
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1629
1619
  case "ServiceQuotaExceededException":
1630
1620
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1631
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1621
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1632
1622
  case "ThrottlingException":
1633
1623
  case "com.amazonaws.vpclattice#ThrottlingException":
1634
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1624
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1635
1625
  case "ValidationException":
1636
1626
  case "com.amazonaws.vpclattice#ValidationException":
1637
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1627
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1638
1628
  default:
1639
1629
  const parsedBody = parsedOutput.body;
1640
1630
  throwDefaultError({
@@ -1645,9 +1635,9 @@ const deserializeAws_restJson1CreateTargetGroupCommandError = async (output, con
1645
1635
  });
1646
1636
  }
1647
1637
  };
1648
- export const deserializeAws_restJson1DeleteAccessLogSubscriptionCommand = async (output, context) => {
1638
+ export const de_DeleteAccessLogSubscriptionCommand = async (output, context) => {
1649
1639
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1650
- return deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError(output, context);
1640
+ return de_DeleteAccessLogSubscriptionCommandError(output, context);
1651
1641
  }
1652
1642
  const contents = map({
1653
1643
  $metadata: deserializeMetadata(output),
@@ -1655,7 +1645,7 @@ export const deserializeAws_restJson1DeleteAccessLogSubscriptionCommand = async
1655
1645
  await collectBody(output.body, context);
1656
1646
  return contents;
1657
1647
  };
1658
- const deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError = async (output, context) => {
1648
+ const de_DeleteAccessLogSubscriptionCommandError = async (output, context) => {
1659
1649
  const parsedOutput = {
1660
1650
  ...output,
1661
1651
  body: await parseErrorBody(output.body, context),
@@ -1664,19 +1654,19 @@ const deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError = async (o
1664
1654
  switch (errorCode) {
1665
1655
  case "AccessDeniedException":
1666
1656
  case "com.amazonaws.vpclattice#AccessDeniedException":
1667
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1657
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1668
1658
  case "InternalServerException":
1669
1659
  case "com.amazonaws.vpclattice#InternalServerException":
1670
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1660
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1671
1661
  case "ResourceNotFoundException":
1672
1662
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1673
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1663
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1674
1664
  case "ThrottlingException":
1675
1665
  case "com.amazonaws.vpclattice#ThrottlingException":
1676
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1666
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1677
1667
  case "ValidationException":
1678
1668
  case "com.amazonaws.vpclattice#ValidationException":
1679
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1669
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1680
1670
  default:
1681
1671
  const parsedBody = parsedOutput.body;
1682
1672
  throwDefaultError({
@@ -1687,9 +1677,9 @@ const deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError = async (o
1687
1677
  });
1688
1678
  }
1689
1679
  };
1690
- export const deserializeAws_restJson1DeleteAuthPolicyCommand = async (output, context) => {
1680
+ export const de_DeleteAuthPolicyCommand = async (output, context) => {
1691
1681
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1692
- return deserializeAws_restJson1DeleteAuthPolicyCommandError(output, context);
1682
+ return de_DeleteAuthPolicyCommandError(output, context);
1693
1683
  }
1694
1684
  const contents = map({
1695
1685
  $metadata: deserializeMetadata(output),
@@ -1697,7 +1687,7 @@ export const deserializeAws_restJson1DeleteAuthPolicyCommand = async (output, co
1697
1687
  await collectBody(output.body, context);
1698
1688
  return contents;
1699
1689
  };
1700
- const deserializeAws_restJson1DeleteAuthPolicyCommandError = async (output, context) => {
1690
+ const de_DeleteAuthPolicyCommandError = async (output, context) => {
1701
1691
  const parsedOutput = {
1702
1692
  ...output,
1703
1693
  body: await parseErrorBody(output.body, context),
@@ -1706,19 +1696,19 @@ const deserializeAws_restJson1DeleteAuthPolicyCommandError = async (output, cont
1706
1696
  switch (errorCode) {
1707
1697
  case "AccessDeniedException":
1708
1698
  case "com.amazonaws.vpclattice#AccessDeniedException":
1709
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1699
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1710
1700
  case "InternalServerException":
1711
1701
  case "com.amazonaws.vpclattice#InternalServerException":
1712
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1702
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1713
1703
  case "ResourceNotFoundException":
1714
1704
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1715
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1705
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1716
1706
  case "ThrottlingException":
1717
1707
  case "com.amazonaws.vpclattice#ThrottlingException":
1718
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1708
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1719
1709
  case "ValidationException":
1720
1710
  case "com.amazonaws.vpclattice#ValidationException":
1721
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1711
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1722
1712
  default:
1723
1713
  const parsedBody = parsedOutput.body;
1724
1714
  throwDefaultError({
@@ -1729,9 +1719,9 @@ const deserializeAws_restJson1DeleteAuthPolicyCommandError = async (output, cont
1729
1719
  });
1730
1720
  }
1731
1721
  };
1732
- export const deserializeAws_restJson1DeleteListenerCommand = async (output, context) => {
1722
+ export const de_DeleteListenerCommand = async (output, context) => {
1733
1723
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1734
- return deserializeAws_restJson1DeleteListenerCommandError(output, context);
1724
+ return de_DeleteListenerCommandError(output, context);
1735
1725
  }
1736
1726
  const contents = map({
1737
1727
  $metadata: deserializeMetadata(output),
@@ -1739,7 +1729,7 @@ export const deserializeAws_restJson1DeleteListenerCommand = async (output, cont
1739
1729
  await collectBody(output.body, context);
1740
1730
  return contents;
1741
1731
  };
1742
- const deserializeAws_restJson1DeleteListenerCommandError = async (output, context) => {
1732
+ const de_DeleteListenerCommandError = async (output, context) => {
1743
1733
  const parsedOutput = {
1744
1734
  ...output,
1745
1735
  body: await parseErrorBody(output.body, context),
@@ -1748,22 +1738,22 @@ const deserializeAws_restJson1DeleteListenerCommandError = async (output, contex
1748
1738
  switch (errorCode) {
1749
1739
  case "AccessDeniedException":
1750
1740
  case "com.amazonaws.vpclattice#AccessDeniedException":
1751
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1741
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1752
1742
  case "ConflictException":
1753
1743
  case "com.amazonaws.vpclattice#ConflictException":
1754
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1744
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1755
1745
  case "InternalServerException":
1756
1746
  case "com.amazonaws.vpclattice#InternalServerException":
1757
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1747
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1758
1748
  case "ResourceNotFoundException":
1759
1749
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1760
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1750
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1761
1751
  case "ThrottlingException":
1762
1752
  case "com.amazonaws.vpclattice#ThrottlingException":
1763
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1753
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1764
1754
  case "ValidationException":
1765
1755
  case "com.amazonaws.vpclattice#ValidationException":
1766
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1756
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1767
1757
  default:
1768
1758
  const parsedBody = parsedOutput.body;
1769
1759
  throwDefaultError({
@@ -1774,9 +1764,9 @@ const deserializeAws_restJson1DeleteListenerCommandError = async (output, contex
1774
1764
  });
1775
1765
  }
1776
1766
  };
1777
- export const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
1767
+ export const de_DeleteResourcePolicyCommand = async (output, context) => {
1778
1768
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1779
- return deserializeAws_restJson1DeleteResourcePolicyCommandError(output, context);
1769
+ return de_DeleteResourcePolicyCommandError(output, context);
1780
1770
  }
1781
1771
  const contents = map({
1782
1772
  $metadata: deserializeMetadata(output),
@@ -1784,7 +1774,7 @@ export const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output
1784
1774
  await collectBody(output.body, context);
1785
1775
  return contents;
1786
1776
  };
1787
- const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output, context) => {
1777
+ const de_DeleteResourcePolicyCommandError = async (output, context) => {
1788
1778
  const parsedOutput = {
1789
1779
  ...output,
1790
1780
  body: await parseErrorBody(output.body, context),
@@ -1793,19 +1783,19 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
1793
1783
  switch (errorCode) {
1794
1784
  case "AccessDeniedException":
1795
1785
  case "com.amazonaws.vpclattice#AccessDeniedException":
1796
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1786
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1797
1787
  case "InternalServerException":
1798
1788
  case "com.amazonaws.vpclattice#InternalServerException":
1799
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1789
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1800
1790
  case "ResourceNotFoundException":
1801
1791
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1802
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1792
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1803
1793
  case "ThrottlingException":
1804
1794
  case "com.amazonaws.vpclattice#ThrottlingException":
1805
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1795
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1806
1796
  case "ValidationException":
1807
1797
  case "com.amazonaws.vpclattice#ValidationException":
1808
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1798
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1809
1799
  default:
1810
1800
  const parsedBody = parsedOutput.body;
1811
1801
  throwDefaultError({
@@ -1816,9 +1806,9 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
1816
1806
  });
1817
1807
  }
1818
1808
  };
1819
- export const deserializeAws_restJson1DeleteRuleCommand = async (output, context) => {
1809
+ export const de_DeleteRuleCommand = async (output, context) => {
1820
1810
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1821
- return deserializeAws_restJson1DeleteRuleCommandError(output, context);
1811
+ return de_DeleteRuleCommandError(output, context);
1822
1812
  }
1823
1813
  const contents = map({
1824
1814
  $metadata: deserializeMetadata(output),
@@ -1826,7 +1816,7 @@ export const deserializeAws_restJson1DeleteRuleCommand = async (output, context)
1826
1816
  await collectBody(output.body, context);
1827
1817
  return contents;
1828
1818
  };
1829
- const deserializeAws_restJson1DeleteRuleCommandError = async (output, context) => {
1819
+ const de_DeleteRuleCommandError = async (output, context) => {
1830
1820
  const parsedOutput = {
1831
1821
  ...output,
1832
1822
  body: await parseErrorBody(output.body, context),
@@ -1835,22 +1825,22 @@ const deserializeAws_restJson1DeleteRuleCommandError = async (output, context) =
1835
1825
  switch (errorCode) {
1836
1826
  case "AccessDeniedException":
1837
1827
  case "com.amazonaws.vpclattice#AccessDeniedException":
1838
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1828
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1839
1829
  case "ConflictException":
1840
1830
  case "com.amazonaws.vpclattice#ConflictException":
1841
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1831
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1842
1832
  case "InternalServerException":
1843
1833
  case "com.amazonaws.vpclattice#InternalServerException":
1844
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1834
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1845
1835
  case "ResourceNotFoundException":
1846
1836
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1847
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1837
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1848
1838
  case "ThrottlingException":
1849
1839
  case "com.amazonaws.vpclattice#ThrottlingException":
1850
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1840
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1851
1841
  case "ValidationException":
1852
1842
  case "com.amazonaws.vpclattice#ValidationException":
1853
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1843
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1854
1844
  default:
1855
1845
  const parsedBody = parsedOutput.body;
1856
1846
  throwDefaultError({
@@ -1861,9 +1851,9 @@ const deserializeAws_restJson1DeleteRuleCommandError = async (output, context) =
1861
1851
  });
1862
1852
  }
1863
1853
  };
1864
- export const deserializeAws_restJson1DeleteServiceCommand = async (output, context) => {
1854
+ export const de_DeleteServiceCommand = async (output, context) => {
1865
1855
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1866
- return deserializeAws_restJson1DeleteServiceCommandError(output, context);
1856
+ return de_DeleteServiceCommandError(output, context);
1867
1857
  }
1868
1858
  const contents = map({
1869
1859
  $metadata: deserializeMetadata(output),
@@ -1883,7 +1873,7 @@ export const deserializeAws_restJson1DeleteServiceCommand = async (output, conte
1883
1873
  }
1884
1874
  return contents;
1885
1875
  };
1886
- const deserializeAws_restJson1DeleteServiceCommandError = async (output, context) => {
1876
+ const de_DeleteServiceCommandError = async (output, context) => {
1887
1877
  const parsedOutput = {
1888
1878
  ...output,
1889
1879
  body: await parseErrorBody(output.body, context),
@@ -1892,22 +1882,22 @@ const deserializeAws_restJson1DeleteServiceCommandError = async (output, context
1892
1882
  switch (errorCode) {
1893
1883
  case "AccessDeniedException":
1894
1884
  case "com.amazonaws.vpclattice#AccessDeniedException":
1895
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1885
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1896
1886
  case "ConflictException":
1897
1887
  case "com.amazonaws.vpclattice#ConflictException":
1898
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1888
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1899
1889
  case "InternalServerException":
1900
1890
  case "com.amazonaws.vpclattice#InternalServerException":
1901
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1891
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1902
1892
  case "ResourceNotFoundException":
1903
1893
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1904
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1894
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1905
1895
  case "ThrottlingException":
1906
1896
  case "com.amazonaws.vpclattice#ThrottlingException":
1907
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1897
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1908
1898
  case "ValidationException":
1909
1899
  case "com.amazonaws.vpclattice#ValidationException":
1910
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1900
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1911
1901
  default:
1912
1902
  const parsedBody = parsedOutput.body;
1913
1903
  throwDefaultError({
@@ -1918,9 +1908,9 @@ const deserializeAws_restJson1DeleteServiceCommandError = async (output, context
1918
1908
  });
1919
1909
  }
1920
1910
  };
1921
- export const deserializeAws_restJson1DeleteServiceNetworkCommand = async (output, context) => {
1911
+ export const de_DeleteServiceNetworkCommand = async (output, context) => {
1922
1912
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1923
- return deserializeAws_restJson1DeleteServiceNetworkCommandError(output, context);
1913
+ return de_DeleteServiceNetworkCommandError(output, context);
1924
1914
  }
1925
1915
  const contents = map({
1926
1916
  $metadata: deserializeMetadata(output),
@@ -1928,7 +1918,7 @@ export const deserializeAws_restJson1DeleteServiceNetworkCommand = async (output
1928
1918
  await collectBody(output.body, context);
1929
1919
  return contents;
1930
1920
  };
1931
- const deserializeAws_restJson1DeleteServiceNetworkCommandError = async (output, context) => {
1921
+ const de_DeleteServiceNetworkCommandError = async (output, context) => {
1932
1922
  const parsedOutput = {
1933
1923
  ...output,
1934
1924
  body: await parseErrorBody(output.body, context),
@@ -1937,22 +1927,22 @@ const deserializeAws_restJson1DeleteServiceNetworkCommandError = async (output,
1937
1927
  switch (errorCode) {
1938
1928
  case "AccessDeniedException":
1939
1929
  case "com.amazonaws.vpclattice#AccessDeniedException":
1940
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1930
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1941
1931
  case "ConflictException":
1942
1932
  case "com.amazonaws.vpclattice#ConflictException":
1943
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1933
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1944
1934
  case "InternalServerException":
1945
1935
  case "com.amazonaws.vpclattice#InternalServerException":
1946
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1936
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1947
1937
  case "ResourceNotFoundException":
1948
1938
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1949
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1939
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1950
1940
  case "ThrottlingException":
1951
1941
  case "com.amazonaws.vpclattice#ThrottlingException":
1952
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1942
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1953
1943
  case "ValidationException":
1954
1944
  case "com.amazonaws.vpclattice#ValidationException":
1955
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1945
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1956
1946
  default:
1957
1947
  const parsedBody = parsedOutput.body;
1958
1948
  throwDefaultError({
@@ -1963,9 +1953,9 @@ const deserializeAws_restJson1DeleteServiceNetworkCommandError = async (output,
1963
1953
  });
1964
1954
  }
1965
1955
  };
1966
- export const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = async (output, context) => {
1956
+ export const de_DeleteServiceNetworkServiceAssociationCommand = async (output, context) => {
1967
1957
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1968
- return deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError(output, context);
1958
+ return de_DeleteServiceNetworkServiceAssociationCommandError(output, context);
1969
1959
  }
1970
1960
  const contents = map({
1971
1961
  $metadata: deserializeMetadata(output),
@@ -1982,7 +1972,7 @@ export const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationComma
1982
1972
  }
1983
1973
  return contents;
1984
1974
  };
1985
- const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError = async (output, context) => {
1975
+ const de_DeleteServiceNetworkServiceAssociationCommandError = async (output, context) => {
1986
1976
  const parsedOutput = {
1987
1977
  ...output,
1988
1978
  body: await parseErrorBody(output.body, context),
@@ -1991,22 +1981,22 @@ const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError
1991
1981
  switch (errorCode) {
1992
1982
  case "AccessDeniedException":
1993
1983
  case "com.amazonaws.vpclattice#AccessDeniedException":
1994
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1984
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1995
1985
  case "ConflictException":
1996
1986
  case "com.amazonaws.vpclattice#ConflictException":
1997
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1987
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1998
1988
  case "InternalServerException":
1999
1989
  case "com.amazonaws.vpclattice#InternalServerException":
2000
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1990
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2001
1991
  case "ResourceNotFoundException":
2002
1992
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2003
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1993
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2004
1994
  case "ThrottlingException":
2005
1995
  case "com.amazonaws.vpclattice#ThrottlingException":
2006
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1996
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2007
1997
  case "ValidationException":
2008
1998
  case "com.amazonaws.vpclattice#ValidationException":
2009
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1999
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2010
2000
  default:
2011
2001
  const parsedBody = parsedOutput.body;
2012
2002
  throwDefaultError({
@@ -2017,9 +2007,9 @@ const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError
2017
2007
  });
2018
2008
  }
2019
2009
  };
2020
- export const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = async (output, context) => {
2010
+ export const de_DeleteServiceNetworkVpcAssociationCommand = async (output, context) => {
2021
2011
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2022
- return deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError(output, context);
2012
+ return de_DeleteServiceNetworkVpcAssociationCommandError(output, context);
2023
2013
  }
2024
2014
  const contents = map({
2025
2015
  $metadata: deserializeMetadata(output),
@@ -2036,7 +2026,7 @@ export const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand =
2036
2026
  }
2037
2027
  return contents;
2038
2028
  };
2039
- const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError = async (output, context) => {
2029
+ const de_DeleteServiceNetworkVpcAssociationCommandError = async (output, context) => {
2040
2030
  const parsedOutput = {
2041
2031
  ...output,
2042
2032
  body: await parseErrorBody(output.body, context),
@@ -2045,22 +2035,22 @@ const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError = a
2045
2035
  switch (errorCode) {
2046
2036
  case "AccessDeniedException":
2047
2037
  case "com.amazonaws.vpclattice#AccessDeniedException":
2048
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2038
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2049
2039
  case "ConflictException":
2050
2040
  case "com.amazonaws.vpclattice#ConflictException":
2051
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2041
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2052
2042
  case "InternalServerException":
2053
2043
  case "com.amazonaws.vpclattice#InternalServerException":
2054
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2044
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2055
2045
  case "ResourceNotFoundException":
2056
2046
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2057
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2047
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2058
2048
  case "ThrottlingException":
2059
2049
  case "com.amazonaws.vpclattice#ThrottlingException":
2060
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2050
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2061
2051
  case "ValidationException":
2062
2052
  case "com.amazonaws.vpclattice#ValidationException":
2063
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2053
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2064
2054
  default:
2065
2055
  const parsedBody = parsedOutput.body;
2066
2056
  throwDefaultError({
@@ -2071,9 +2061,9 @@ const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError = a
2071
2061
  });
2072
2062
  }
2073
2063
  };
2074
- export const deserializeAws_restJson1DeleteTargetGroupCommand = async (output, context) => {
2064
+ export const de_DeleteTargetGroupCommand = async (output, context) => {
2075
2065
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2076
- return deserializeAws_restJson1DeleteTargetGroupCommandError(output, context);
2066
+ return de_DeleteTargetGroupCommandError(output, context);
2077
2067
  }
2078
2068
  const contents = map({
2079
2069
  $metadata: deserializeMetadata(output),
@@ -2090,7 +2080,7 @@ export const deserializeAws_restJson1DeleteTargetGroupCommand = async (output, c
2090
2080
  }
2091
2081
  return contents;
2092
2082
  };
2093
- const deserializeAws_restJson1DeleteTargetGroupCommandError = async (output, context) => {
2083
+ const de_DeleteTargetGroupCommandError = async (output, context) => {
2094
2084
  const parsedOutput = {
2095
2085
  ...output,
2096
2086
  body: await parseErrorBody(output.body, context),
@@ -2099,19 +2089,19 @@ const deserializeAws_restJson1DeleteTargetGroupCommandError = async (output, con
2099
2089
  switch (errorCode) {
2100
2090
  case "ConflictException":
2101
2091
  case "com.amazonaws.vpclattice#ConflictException":
2102
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2092
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2103
2093
  case "InternalServerException":
2104
2094
  case "com.amazonaws.vpclattice#InternalServerException":
2105
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2095
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2106
2096
  case "ResourceNotFoundException":
2107
2097
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2108
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2098
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2109
2099
  case "ThrottlingException":
2110
2100
  case "com.amazonaws.vpclattice#ThrottlingException":
2111
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2101
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2112
2102
  case "ValidationException":
2113
2103
  case "com.amazonaws.vpclattice#ValidationException":
2114
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2104
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2115
2105
  default:
2116
2106
  const parsedBody = parsedOutput.body;
2117
2107
  throwDefaultError({
@@ -2122,23 +2112,23 @@ const deserializeAws_restJson1DeleteTargetGroupCommandError = async (output, con
2122
2112
  });
2123
2113
  }
2124
2114
  };
2125
- export const deserializeAws_restJson1DeregisterTargetsCommand = async (output, context) => {
2115
+ export const de_DeregisterTargetsCommand = async (output, context) => {
2126
2116
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2127
- return deserializeAws_restJson1DeregisterTargetsCommandError(output, context);
2117
+ return de_DeregisterTargetsCommandError(output, context);
2128
2118
  }
2129
2119
  const contents = map({
2130
2120
  $metadata: deserializeMetadata(output),
2131
2121
  });
2132
2122
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2133
2123
  if (data.successful != null) {
2134
- contents.successful = deserializeAws_restJson1TargetList(data.successful, context);
2124
+ contents.successful = de_TargetList(data.successful, context);
2135
2125
  }
2136
2126
  if (data.unsuccessful != null) {
2137
- contents.unsuccessful = deserializeAws_restJson1TargetFailureList(data.unsuccessful, context);
2127
+ contents.unsuccessful = de_TargetFailureList(data.unsuccessful, context);
2138
2128
  }
2139
2129
  return contents;
2140
2130
  };
2141
- const deserializeAws_restJson1DeregisterTargetsCommandError = async (output, context) => {
2131
+ const de_DeregisterTargetsCommandError = async (output, context) => {
2142
2132
  const parsedOutput = {
2143
2133
  ...output,
2144
2134
  body: await parseErrorBody(output.body, context),
@@ -2147,22 +2137,22 @@ const deserializeAws_restJson1DeregisterTargetsCommandError = async (output, con
2147
2137
  switch (errorCode) {
2148
2138
  case "AccessDeniedException":
2149
2139
  case "com.amazonaws.vpclattice#AccessDeniedException":
2150
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2140
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2151
2141
  case "ConflictException":
2152
2142
  case "com.amazonaws.vpclattice#ConflictException":
2153
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2143
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2154
2144
  case "InternalServerException":
2155
2145
  case "com.amazonaws.vpclattice#InternalServerException":
2156
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2146
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2157
2147
  case "ResourceNotFoundException":
2158
2148
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2159
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2149
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2160
2150
  case "ThrottlingException":
2161
2151
  case "com.amazonaws.vpclattice#ThrottlingException":
2162
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2152
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2163
2153
  case "ValidationException":
2164
2154
  case "com.amazonaws.vpclattice#ValidationException":
2165
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2155
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2166
2156
  default:
2167
2157
  const parsedBody = parsedOutput.body;
2168
2158
  throwDefaultError({
@@ -2173,9 +2163,9 @@ const deserializeAws_restJson1DeregisterTargetsCommandError = async (output, con
2173
2163
  });
2174
2164
  }
2175
2165
  };
2176
- export const deserializeAws_restJson1GetAccessLogSubscriptionCommand = async (output, context) => {
2166
+ export const de_GetAccessLogSubscriptionCommand = async (output, context) => {
2177
2167
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2178
- return deserializeAws_restJson1GetAccessLogSubscriptionCommandError(output, context);
2168
+ return de_GetAccessLogSubscriptionCommandError(output, context);
2179
2169
  }
2180
2170
  const contents = map({
2181
2171
  $metadata: deserializeMetadata(output),
@@ -2204,7 +2194,7 @@ export const deserializeAws_restJson1GetAccessLogSubscriptionCommand = async (ou
2204
2194
  }
2205
2195
  return contents;
2206
2196
  };
2207
- const deserializeAws_restJson1GetAccessLogSubscriptionCommandError = async (output, context) => {
2197
+ const de_GetAccessLogSubscriptionCommandError = async (output, context) => {
2208
2198
  const parsedOutput = {
2209
2199
  ...output,
2210
2200
  body: await parseErrorBody(output.body, context),
@@ -2213,19 +2203,19 @@ const deserializeAws_restJson1GetAccessLogSubscriptionCommandError = async (outp
2213
2203
  switch (errorCode) {
2214
2204
  case "AccessDeniedException":
2215
2205
  case "com.amazonaws.vpclattice#AccessDeniedException":
2216
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2206
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2217
2207
  case "InternalServerException":
2218
2208
  case "com.amazonaws.vpclattice#InternalServerException":
2219
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2209
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2220
2210
  case "ResourceNotFoundException":
2221
2211
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2222
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2212
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2223
2213
  case "ThrottlingException":
2224
2214
  case "com.amazonaws.vpclattice#ThrottlingException":
2225
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2215
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2226
2216
  case "ValidationException":
2227
2217
  case "com.amazonaws.vpclattice#ValidationException":
2228
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2218
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2229
2219
  default:
2230
2220
  const parsedBody = parsedOutput.body;
2231
2221
  throwDefaultError({
@@ -2236,9 +2226,9 @@ const deserializeAws_restJson1GetAccessLogSubscriptionCommandError = async (outp
2236
2226
  });
2237
2227
  }
2238
2228
  };
2239
- export const deserializeAws_restJson1GetAuthPolicyCommand = async (output, context) => {
2229
+ export const de_GetAuthPolicyCommand = async (output, context) => {
2240
2230
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2241
- return deserializeAws_restJson1GetAuthPolicyCommandError(output, context);
2231
+ return de_GetAuthPolicyCommandError(output, context);
2242
2232
  }
2243
2233
  const contents = map({
2244
2234
  $metadata: deserializeMetadata(output),
@@ -2258,7 +2248,7 @@ export const deserializeAws_restJson1GetAuthPolicyCommand = async (output, conte
2258
2248
  }
2259
2249
  return contents;
2260
2250
  };
2261
- const deserializeAws_restJson1GetAuthPolicyCommandError = async (output, context) => {
2251
+ const de_GetAuthPolicyCommandError = async (output, context) => {
2262
2252
  const parsedOutput = {
2263
2253
  ...output,
2264
2254
  body: await parseErrorBody(output.body, context),
@@ -2267,19 +2257,19 @@ const deserializeAws_restJson1GetAuthPolicyCommandError = async (output, context
2267
2257
  switch (errorCode) {
2268
2258
  case "AccessDeniedException":
2269
2259
  case "com.amazonaws.vpclattice#AccessDeniedException":
2270
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2260
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2271
2261
  case "InternalServerException":
2272
2262
  case "com.amazonaws.vpclattice#InternalServerException":
2273
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2263
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2274
2264
  case "ResourceNotFoundException":
2275
2265
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2276
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2266
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2277
2267
  case "ThrottlingException":
2278
2268
  case "com.amazonaws.vpclattice#ThrottlingException":
2279
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2269
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2280
2270
  case "ValidationException":
2281
2271
  case "com.amazonaws.vpclattice#ValidationException":
2282
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2272
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2283
2273
  default:
2284
2274
  const parsedBody = parsedOutput.body;
2285
2275
  throwDefaultError({
@@ -2290,9 +2280,9 @@ const deserializeAws_restJson1GetAuthPolicyCommandError = async (output, context
2290
2280
  });
2291
2281
  }
2292
2282
  };
2293
- export const deserializeAws_restJson1GetListenerCommand = async (output, context) => {
2283
+ export const de_GetListenerCommand = async (output, context) => {
2294
2284
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2295
- return deserializeAws_restJson1GetListenerCommandError(output, context);
2285
+ return de_GetListenerCommandError(output, context);
2296
2286
  }
2297
2287
  const contents = map({
2298
2288
  $metadata: deserializeMetadata(output),
@@ -2305,7 +2295,7 @@ export const deserializeAws_restJson1GetListenerCommand = async (output, context
2305
2295
  contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
2306
2296
  }
2307
2297
  if (data.defaultAction != null) {
2308
- contents.defaultAction = deserializeAws_restJson1RuleAction(__expectUnion(data.defaultAction), context);
2298
+ contents.defaultAction = de_RuleAction(__expectUnion(data.defaultAction), context);
2309
2299
  }
2310
2300
  if (data.id != null) {
2311
2301
  contents.id = __expectString(data.id);
@@ -2330,7 +2320,7 @@ export const deserializeAws_restJson1GetListenerCommand = async (output, context
2330
2320
  }
2331
2321
  return contents;
2332
2322
  };
2333
- const deserializeAws_restJson1GetListenerCommandError = async (output, context) => {
2323
+ const de_GetListenerCommandError = async (output, context) => {
2334
2324
  const parsedOutput = {
2335
2325
  ...output,
2336
2326
  body: await parseErrorBody(output.body, context),
@@ -2339,19 +2329,19 @@ const deserializeAws_restJson1GetListenerCommandError = async (output, context)
2339
2329
  switch (errorCode) {
2340
2330
  case "AccessDeniedException":
2341
2331
  case "com.amazonaws.vpclattice#AccessDeniedException":
2342
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2332
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2343
2333
  case "InternalServerException":
2344
2334
  case "com.amazonaws.vpclattice#InternalServerException":
2345
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2335
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2346
2336
  case "ResourceNotFoundException":
2347
2337
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2348
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2338
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2349
2339
  case "ThrottlingException":
2350
2340
  case "com.amazonaws.vpclattice#ThrottlingException":
2351
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2341
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2352
2342
  case "ValidationException":
2353
2343
  case "com.amazonaws.vpclattice#ValidationException":
2354
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2344
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2355
2345
  default:
2356
2346
  const parsedBody = parsedOutput.body;
2357
2347
  throwDefaultError({
@@ -2362,9 +2352,9 @@ const deserializeAws_restJson1GetListenerCommandError = async (output, context)
2362
2352
  });
2363
2353
  }
2364
2354
  };
2365
- export const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context) => {
2355
+ export const de_GetResourcePolicyCommand = async (output, context) => {
2366
2356
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2367
- return deserializeAws_restJson1GetResourcePolicyCommandError(output, context);
2357
+ return de_GetResourcePolicyCommandError(output, context);
2368
2358
  }
2369
2359
  const contents = map({
2370
2360
  $metadata: deserializeMetadata(output),
@@ -2375,7 +2365,7 @@ export const deserializeAws_restJson1GetResourcePolicyCommand = async (output, c
2375
2365
  }
2376
2366
  return contents;
2377
2367
  };
2378
- const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, context) => {
2368
+ const de_GetResourcePolicyCommandError = async (output, context) => {
2379
2369
  const parsedOutput = {
2380
2370
  ...output,
2381
2371
  body: await parseErrorBody(output.body, context),
@@ -2384,19 +2374,19 @@ const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, con
2384
2374
  switch (errorCode) {
2385
2375
  case "AccessDeniedException":
2386
2376
  case "com.amazonaws.vpclattice#AccessDeniedException":
2387
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2377
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2388
2378
  case "InternalServerException":
2389
2379
  case "com.amazonaws.vpclattice#InternalServerException":
2390
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2380
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2391
2381
  case "ResourceNotFoundException":
2392
2382
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2393
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2383
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2394
2384
  case "ThrottlingException":
2395
2385
  case "com.amazonaws.vpclattice#ThrottlingException":
2396
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2386
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2397
2387
  case "ValidationException":
2398
2388
  case "com.amazonaws.vpclattice#ValidationException":
2399
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2389
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2400
2390
  default:
2401
2391
  const parsedBody = parsedOutput.body;
2402
2392
  throwDefaultError({
@@ -2407,16 +2397,16 @@ const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, con
2407
2397
  });
2408
2398
  }
2409
2399
  };
2410
- export const deserializeAws_restJson1GetRuleCommand = async (output, context) => {
2400
+ export const de_GetRuleCommand = async (output, context) => {
2411
2401
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2412
- return deserializeAws_restJson1GetRuleCommandError(output, context);
2402
+ return de_GetRuleCommandError(output, context);
2413
2403
  }
2414
2404
  const contents = map({
2415
2405
  $metadata: deserializeMetadata(output),
2416
2406
  });
2417
2407
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2418
2408
  if (data.action != null) {
2419
- contents.action = deserializeAws_restJson1RuleAction(__expectUnion(data.action), context);
2409
+ contents.action = de_RuleAction(__expectUnion(data.action), context);
2420
2410
  }
2421
2411
  if (data.arn != null) {
2422
2412
  contents.arn = __expectString(data.arn);
@@ -2434,7 +2424,7 @@ export const deserializeAws_restJson1GetRuleCommand = async (output, context) =>
2434
2424
  contents.lastUpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdatedAt));
2435
2425
  }
2436
2426
  if (data.match != null) {
2437
- contents.match = deserializeAws_restJson1RuleMatch(__expectUnion(data.match), context);
2427
+ contents.match = de_RuleMatch(__expectUnion(data.match), context);
2438
2428
  }
2439
2429
  if (data.name != null) {
2440
2430
  contents.name = __expectString(data.name);
@@ -2444,7 +2434,7 @@ export const deserializeAws_restJson1GetRuleCommand = async (output, context) =>
2444
2434
  }
2445
2435
  return contents;
2446
2436
  };
2447
- const deserializeAws_restJson1GetRuleCommandError = async (output, context) => {
2437
+ const de_GetRuleCommandError = async (output, context) => {
2448
2438
  const parsedOutput = {
2449
2439
  ...output,
2450
2440
  body: await parseErrorBody(output.body, context),
@@ -2453,19 +2443,19 @@ const deserializeAws_restJson1GetRuleCommandError = async (output, context) => {
2453
2443
  switch (errorCode) {
2454
2444
  case "AccessDeniedException":
2455
2445
  case "com.amazonaws.vpclattice#AccessDeniedException":
2456
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2446
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2457
2447
  case "InternalServerException":
2458
2448
  case "com.amazonaws.vpclattice#InternalServerException":
2459
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2449
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2460
2450
  case "ResourceNotFoundException":
2461
2451
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2462
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2452
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2463
2453
  case "ThrottlingException":
2464
2454
  case "com.amazonaws.vpclattice#ThrottlingException":
2465
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2455
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2466
2456
  case "ValidationException":
2467
2457
  case "com.amazonaws.vpclattice#ValidationException":
2468
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2458
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2469
2459
  default:
2470
2460
  const parsedBody = parsedOutput.body;
2471
2461
  throwDefaultError({
@@ -2476,9 +2466,9 @@ const deserializeAws_restJson1GetRuleCommandError = async (output, context) => {
2476
2466
  });
2477
2467
  }
2478
2468
  };
2479
- export const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
2469
+ export const de_GetServiceCommand = async (output, context) => {
2480
2470
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2481
- return deserializeAws_restJson1GetServiceCommandError(output, context);
2471
+ return de_GetServiceCommandError(output, context);
2482
2472
  }
2483
2473
  const contents = map({
2484
2474
  $metadata: deserializeMetadata(output),
@@ -2500,7 +2490,7 @@ export const deserializeAws_restJson1GetServiceCommand = async (output, context)
2500
2490
  contents.customDomainName = __expectString(data.customDomainName);
2501
2491
  }
2502
2492
  if (data.dnsEntry != null) {
2503
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
2493
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
2504
2494
  }
2505
2495
  if (data.failureCode != null) {
2506
2496
  contents.failureCode = __expectString(data.failureCode);
@@ -2522,7 +2512,7 @@ export const deserializeAws_restJson1GetServiceCommand = async (output, context)
2522
2512
  }
2523
2513
  return contents;
2524
2514
  };
2525
- const deserializeAws_restJson1GetServiceCommandError = async (output, context) => {
2515
+ const de_GetServiceCommandError = async (output, context) => {
2526
2516
  const parsedOutput = {
2527
2517
  ...output,
2528
2518
  body: await parseErrorBody(output.body, context),
@@ -2531,19 +2521,19 @@ const deserializeAws_restJson1GetServiceCommandError = async (output, context) =
2531
2521
  switch (errorCode) {
2532
2522
  case "AccessDeniedException":
2533
2523
  case "com.amazonaws.vpclattice#AccessDeniedException":
2534
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2524
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2535
2525
  case "InternalServerException":
2536
2526
  case "com.amazonaws.vpclattice#InternalServerException":
2537
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2527
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2538
2528
  case "ResourceNotFoundException":
2539
2529
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2540
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2530
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2541
2531
  case "ThrottlingException":
2542
2532
  case "com.amazonaws.vpclattice#ThrottlingException":
2543
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2533
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2544
2534
  case "ValidationException":
2545
2535
  case "com.amazonaws.vpclattice#ValidationException":
2546
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2536
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2547
2537
  default:
2548
2538
  const parsedBody = parsedOutput.body;
2549
2539
  throwDefaultError({
@@ -2554,9 +2544,9 @@ const deserializeAws_restJson1GetServiceCommandError = async (output, context) =
2554
2544
  });
2555
2545
  }
2556
2546
  };
2557
- export const deserializeAws_restJson1GetServiceNetworkCommand = async (output, context) => {
2547
+ export const de_GetServiceNetworkCommand = async (output, context) => {
2558
2548
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2559
- return deserializeAws_restJson1GetServiceNetworkCommandError(output, context);
2549
+ return de_GetServiceNetworkCommandError(output, context);
2560
2550
  }
2561
2551
  const contents = map({
2562
2552
  $metadata: deserializeMetadata(output),
@@ -2588,7 +2578,7 @@ export const deserializeAws_restJson1GetServiceNetworkCommand = async (output, c
2588
2578
  }
2589
2579
  return contents;
2590
2580
  };
2591
- const deserializeAws_restJson1GetServiceNetworkCommandError = async (output, context) => {
2581
+ const de_GetServiceNetworkCommandError = async (output, context) => {
2592
2582
  const parsedOutput = {
2593
2583
  ...output,
2594
2584
  body: await parseErrorBody(output.body, context),
@@ -2597,19 +2587,19 @@ const deserializeAws_restJson1GetServiceNetworkCommandError = async (output, con
2597
2587
  switch (errorCode) {
2598
2588
  case "AccessDeniedException":
2599
2589
  case "com.amazonaws.vpclattice#AccessDeniedException":
2600
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2590
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2601
2591
  case "InternalServerException":
2602
2592
  case "com.amazonaws.vpclattice#InternalServerException":
2603
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2593
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2604
2594
  case "ResourceNotFoundException":
2605
2595
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2606
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2596
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2607
2597
  case "ThrottlingException":
2608
2598
  case "com.amazonaws.vpclattice#ThrottlingException":
2609
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2599
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2610
2600
  case "ValidationException":
2611
2601
  case "com.amazonaws.vpclattice#ValidationException":
2612
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2602
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2613
2603
  default:
2614
2604
  const parsedBody = parsedOutput.body;
2615
2605
  throwDefaultError({
@@ -2620,9 +2610,9 @@ const deserializeAws_restJson1GetServiceNetworkCommandError = async (output, con
2620
2610
  });
2621
2611
  }
2622
2612
  };
2623
- export const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand = async (output, context) => {
2613
+ export const de_GetServiceNetworkServiceAssociationCommand = async (output, context) => {
2624
2614
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2625
- return deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError(output, context);
2615
+ return de_GetServiceNetworkServiceAssociationCommandError(output, context);
2626
2616
  }
2627
2617
  const contents = map({
2628
2618
  $metadata: deserializeMetadata(output),
@@ -2641,7 +2631,7 @@ export const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand
2641
2631
  contents.customDomainName = __expectString(data.customDomainName);
2642
2632
  }
2643
2633
  if (data.dnsEntry != null) {
2644
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
2634
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
2645
2635
  }
2646
2636
  if (data.failureCode != null) {
2647
2637
  contents.failureCode = __expectString(data.failureCode);
@@ -2675,7 +2665,7 @@ export const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand
2675
2665
  }
2676
2666
  return contents;
2677
2667
  };
2678
- const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError = async (output, context) => {
2668
+ const de_GetServiceNetworkServiceAssociationCommandError = async (output, context) => {
2679
2669
  const parsedOutput = {
2680
2670
  ...output,
2681
2671
  body: await parseErrorBody(output.body, context),
@@ -2684,19 +2674,19 @@ const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError =
2684
2674
  switch (errorCode) {
2685
2675
  case "AccessDeniedException":
2686
2676
  case "com.amazonaws.vpclattice#AccessDeniedException":
2687
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2677
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2688
2678
  case "InternalServerException":
2689
2679
  case "com.amazonaws.vpclattice#InternalServerException":
2690
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2680
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2691
2681
  case "ResourceNotFoundException":
2692
2682
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2693
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2683
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2694
2684
  case "ThrottlingException":
2695
2685
  case "com.amazonaws.vpclattice#ThrottlingException":
2696
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2686
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2697
2687
  case "ValidationException":
2698
2688
  case "com.amazonaws.vpclattice#ValidationException":
2699
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2689
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2700
2690
  default:
2701
2691
  const parsedBody = parsedOutput.body;
2702
2692
  throwDefaultError({
@@ -2707,9 +2697,9 @@ const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError =
2707
2697
  });
2708
2698
  }
2709
2699
  };
2710
- export const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = async (output, context) => {
2700
+ export const de_GetServiceNetworkVpcAssociationCommand = async (output, context) => {
2711
2701
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2712
- return deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError(output, context);
2702
+ return de_GetServiceNetworkVpcAssociationCommandError(output, context);
2713
2703
  }
2714
2704
  const contents = map({
2715
2705
  $metadata: deserializeMetadata(output),
@@ -2737,7 +2727,7 @@ export const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = as
2737
2727
  contents.lastUpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdatedAt));
2738
2728
  }
2739
2729
  if (data.securityGroupIds != null) {
2740
- contents.securityGroupIds = deserializeAws_restJson1SecurityGroupList(data.securityGroupIds, context);
2730
+ contents.securityGroupIds = de_SecurityGroupList(data.securityGroupIds, context);
2741
2731
  }
2742
2732
  if (data.serviceNetworkArn != null) {
2743
2733
  contents.serviceNetworkArn = __expectString(data.serviceNetworkArn);
@@ -2756,7 +2746,7 @@ export const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = as
2756
2746
  }
2757
2747
  return contents;
2758
2748
  };
2759
- const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError = async (output, context) => {
2749
+ const de_GetServiceNetworkVpcAssociationCommandError = async (output, context) => {
2760
2750
  const parsedOutput = {
2761
2751
  ...output,
2762
2752
  body: await parseErrorBody(output.body, context),
@@ -2765,19 +2755,19 @@ const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError = asyn
2765
2755
  switch (errorCode) {
2766
2756
  case "AccessDeniedException":
2767
2757
  case "com.amazonaws.vpclattice#AccessDeniedException":
2768
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2758
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2769
2759
  case "InternalServerException":
2770
2760
  case "com.amazonaws.vpclattice#InternalServerException":
2771
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2761
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2772
2762
  case "ResourceNotFoundException":
2773
2763
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2774
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2764
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2775
2765
  case "ThrottlingException":
2776
2766
  case "com.amazonaws.vpclattice#ThrottlingException":
2777
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2767
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2778
2768
  case "ValidationException":
2779
2769
  case "com.amazonaws.vpclattice#ValidationException":
2780
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2770
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2781
2771
  default:
2782
2772
  const parsedBody = parsedOutput.body;
2783
2773
  throwDefaultError({
@@ -2788,9 +2778,9 @@ const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError = asyn
2788
2778
  });
2789
2779
  }
2790
2780
  };
2791
- export const deserializeAws_restJson1GetTargetGroupCommand = async (output, context) => {
2781
+ export const de_GetTargetGroupCommand = async (output, context) => {
2792
2782
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2793
- return deserializeAws_restJson1GetTargetGroupCommandError(output, context);
2783
+ return de_GetTargetGroupCommandError(output, context);
2794
2784
  }
2795
2785
  const contents = map({
2796
2786
  $metadata: deserializeMetadata(output),
@@ -2800,7 +2790,7 @@ export const deserializeAws_restJson1GetTargetGroupCommand = async (output, cont
2800
2790
  contents.arn = __expectString(data.arn);
2801
2791
  }
2802
2792
  if (data.config != null) {
2803
- contents.config = deserializeAws_restJson1TargetGroupConfig(data.config, context);
2793
+ contents.config = de_TargetGroupConfig(data.config, context);
2804
2794
  }
2805
2795
  if (data.createdAt != null) {
2806
2796
  contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
@@ -2821,7 +2811,7 @@ export const deserializeAws_restJson1GetTargetGroupCommand = async (output, cont
2821
2811
  contents.name = __expectString(data.name);
2822
2812
  }
2823
2813
  if (data.serviceArns != null) {
2824
- contents.serviceArns = deserializeAws_restJson1ServiceArnList(data.serviceArns, context);
2814
+ contents.serviceArns = de_ServiceArnList(data.serviceArns, context);
2825
2815
  }
2826
2816
  if (data.status != null) {
2827
2817
  contents.status = __expectString(data.status);
@@ -2831,7 +2821,7 @@ export const deserializeAws_restJson1GetTargetGroupCommand = async (output, cont
2831
2821
  }
2832
2822
  return contents;
2833
2823
  };
2834
- const deserializeAws_restJson1GetTargetGroupCommandError = async (output, context) => {
2824
+ const de_GetTargetGroupCommandError = async (output, context) => {
2835
2825
  const parsedOutput = {
2836
2826
  ...output,
2837
2827
  body: await parseErrorBody(output.body, context),
@@ -2840,16 +2830,16 @@ const deserializeAws_restJson1GetTargetGroupCommandError = async (output, contex
2840
2830
  switch (errorCode) {
2841
2831
  case "InternalServerException":
2842
2832
  case "com.amazonaws.vpclattice#InternalServerException":
2843
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2833
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2844
2834
  case "ResourceNotFoundException":
2845
2835
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2846
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2836
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2847
2837
  case "ThrottlingException":
2848
2838
  case "com.amazonaws.vpclattice#ThrottlingException":
2849
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2839
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2850
2840
  case "ValidationException":
2851
2841
  case "com.amazonaws.vpclattice#ValidationException":
2852
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2842
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2853
2843
  default:
2854
2844
  const parsedBody = parsedOutput.body;
2855
2845
  throwDefaultError({
@@ -2860,23 +2850,23 @@ const deserializeAws_restJson1GetTargetGroupCommandError = async (output, contex
2860
2850
  });
2861
2851
  }
2862
2852
  };
2863
- export const deserializeAws_restJson1ListAccessLogSubscriptionsCommand = async (output, context) => {
2853
+ export const de_ListAccessLogSubscriptionsCommand = async (output, context) => {
2864
2854
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2865
- return deserializeAws_restJson1ListAccessLogSubscriptionsCommandError(output, context);
2855
+ return de_ListAccessLogSubscriptionsCommandError(output, context);
2866
2856
  }
2867
2857
  const contents = map({
2868
2858
  $metadata: deserializeMetadata(output),
2869
2859
  });
2870
2860
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2871
2861
  if (data.items != null) {
2872
- contents.items = deserializeAws_restJson1AccessLogSubscriptionList(data.items, context);
2862
+ contents.items = de_AccessLogSubscriptionList(data.items, context);
2873
2863
  }
2874
2864
  if (data.nextToken != null) {
2875
2865
  contents.nextToken = __expectString(data.nextToken);
2876
2866
  }
2877
2867
  return contents;
2878
2868
  };
2879
- const deserializeAws_restJson1ListAccessLogSubscriptionsCommandError = async (output, context) => {
2869
+ const de_ListAccessLogSubscriptionsCommandError = async (output, context) => {
2880
2870
  const parsedOutput = {
2881
2871
  ...output,
2882
2872
  body: await parseErrorBody(output.body, context),
@@ -2885,13 +2875,13 @@ const deserializeAws_restJson1ListAccessLogSubscriptionsCommandError = async (ou
2885
2875
  switch (errorCode) {
2886
2876
  case "InternalServerException":
2887
2877
  case "com.amazonaws.vpclattice#InternalServerException":
2888
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2878
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2889
2879
  case "ThrottlingException":
2890
2880
  case "com.amazonaws.vpclattice#ThrottlingException":
2891
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2881
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2892
2882
  case "ValidationException":
2893
2883
  case "com.amazonaws.vpclattice#ValidationException":
2894
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2884
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2895
2885
  default:
2896
2886
  const parsedBody = parsedOutput.body;
2897
2887
  throwDefaultError({
@@ -2902,23 +2892,23 @@ const deserializeAws_restJson1ListAccessLogSubscriptionsCommandError = async (ou
2902
2892
  });
2903
2893
  }
2904
2894
  };
2905
- export const deserializeAws_restJson1ListListenersCommand = async (output, context) => {
2895
+ export const de_ListListenersCommand = async (output, context) => {
2906
2896
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2907
- return deserializeAws_restJson1ListListenersCommandError(output, context);
2897
+ return de_ListListenersCommandError(output, context);
2908
2898
  }
2909
2899
  const contents = map({
2910
2900
  $metadata: deserializeMetadata(output),
2911
2901
  });
2912
2902
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2913
2903
  if (data.items != null) {
2914
- contents.items = deserializeAws_restJson1ListenerSummaryList(data.items, context);
2904
+ contents.items = de_ListenerSummaryList(data.items, context);
2915
2905
  }
2916
2906
  if (data.nextToken != null) {
2917
2907
  contents.nextToken = __expectString(data.nextToken);
2918
2908
  }
2919
2909
  return contents;
2920
2910
  };
2921
- const deserializeAws_restJson1ListListenersCommandError = async (output, context) => {
2911
+ const de_ListListenersCommandError = async (output, context) => {
2922
2912
  const parsedOutput = {
2923
2913
  ...output,
2924
2914
  body: await parseErrorBody(output.body, context),
@@ -2927,19 +2917,19 @@ const deserializeAws_restJson1ListListenersCommandError = async (output, context
2927
2917
  switch (errorCode) {
2928
2918
  case "AccessDeniedException":
2929
2919
  case "com.amazonaws.vpclattice#AccessDeniedException":
2930
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2920
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2931
2921
  case "InternalServerException":
2932
2922
  case "com.amazonaws.vpclattice#InternalServerException":
2933
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2923
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2934
2924
  case "ResourceNotFoundException":
2935
2925
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2936
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2926
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2937
2927
  case "ThrottlingException":
2938
2928
  case "com.amazonaws.vpclattice#ThrottlingException":
2939
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2929
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2940
2930
  case "ValidationException":
2941
2931
  case "com.amazonaws.vpclattice#ValidationException":
2942
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2932
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2943
2933
  default:
2944
2934
  const parsedBody = parsedOutput.body;
2945
2935
  throwDefaultError({
@@ -2950,23 +2940,23 @@ const deserializeAws_restJson1ListListenersCommandError = async (output, context
2950
2940
  });
2951
2941
  }
2952
2942
  };
2953
- export const deserializeAws_restJson1ListRulesCommand = async (output, context) => {
2943
+ export const de_ListRulesCommand = async (output, context) => {
2954
2944
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2955
- return deserializeAws_restJson1ListRulesCommandError(output, context);
2945
+ return de_ListRulesCommandError(output, context);
2956
2946
  }
2957
2947
  const contents = map({
2958
2948
  $metadata: deserializeMetadata(output),
2959
2949
  });
2960
2950
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2961
2951
  if (data.items != null) {
2962
- contents.items = deserializeAws_restJson1RuleSummaryList(data.items, context);
2952
+ contents.items = de_RuleSummaryList(data.items, context);
2963
2953
  }
2964
2954
  if (data.nextToken != null) {
2965
2955
  contents.nextToken = __expectString(data.nextToken);
2966
2956
  }
2967
2957
  return contents;
2968
2958
  };
2969
- const deserializeAws_restJson1ListRulesCommandError = async (output, context) => {
2959
+ const de_ListRulesCommandError = async (output, context) => {
2970
2960
  const parsedOutput = {
2971
2961
  ...output,
2972
2962
  body: await parseErrorBody(output.body, context),
@@ -2975,19 +2965,19 @@ const deserializeAws_restJson1ListRulesCommandError = async (output, context) =>
2975
2965
  switch (errorCode) {
2976
2966
  case "AccessDeniedException":
2977
2967
  case "com.amazonaws.vpclattice#AccessDeniedException":
2978
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2968
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2979
2969
  case "InternalServerException":
2980
2970
  case "com.amazonaws.vpclattice#InternalServerException":
2981
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2971
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2982
2972
  case "ResourceNotFoundException":
2983
2973
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2984
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2974
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2985
2975
  case "ThrottlingException":
2986
2976
  case "com.amazonaws.vpclattice#ThrottlingException":
2987
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2977
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2988
2978
  case "ValidationException":
2989
2979
  case "com.amazonaws.vpclattice#ValidationException":
2990
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2980
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2991
2981
  default:
2992
2982
  const parsedBody = parsedOutput.body;
2993
2983
  throwDefaultError({
@@ -2998,23 +2988,23 @@ const deserializeAws_restJson1ListRulesCommandError = async (output, context) =>
2998
2988
  });
2999
2989
  }
3000
2990
  };
3001
- export const deserializeAws_restJson1ListServiceNetworksCommand = async (output, context) => {
2991
+ export const de_ListServiceNetworksCommand = async (output, context) => {
3002
2992
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3003
- return deserializeAws_restJson1ListServiceNetworksCommandError(output, context);
2993
+ return de_ListServiceNetworksCommandError(output, context);
3004
2994
  }
3005
2995
  const contents = map({
3006
2996
  $metadata: deserializeMetadata(output),
3007
2997
  });
3008
2998
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3009
2999
  if (data.items != null) {
3010
- contents.items = deserializeAws_restJson1ServiceNetworkList(data.items, context);
3000
+ contents.items = de_ServiceNetworkList(data.items, context);
3011
3001
  }
3012
3002
  if (data.nextToken != null) {
3013
3003
  contents.nextToken = __expectString(data.nextToken);
3014
3004
  }
3015
3005
  return contents;
3016
3006
  };
3017
- const deserializeAws_restJson1ListServiceNetworksCommandError = async (output, context) => {
3007
+ const de_ListServiceNetworksCommandError = async (output, context) => {
3018
3008
  const parsedOutput = {
3019
3009
  ...output,
3020
3010
  body: await parseErrorBody(output.body, context),
@@ -3023,16 +3013,16 @@ const deserializeAws_restJson1ListServiceNetworksCommandError = async (output, c
3023
3013
  switch (errorCode) {
3024
3014
  case "AccessDeniedException":
3025
3015
  case "com.amazonaws.vpclattice#AccessDeniedException":
3026
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3016
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3027
3017
  case "InternalServerException":
3028
3018
  case "com.amazonaws.vpclattice#InternalServerException":
3029
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3019
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3030
3020
  case "ThrottlingException":
3031
3021
  case "com.amazonaws.vpclattice#ThrottlingException":
3032
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3022
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3033
3023
  case "ValidationException":
3034
3024
  case "com.amazonaws.vpclattice#ValidationException":
3035
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3025
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3036
3026
  default:
3037
3027
  const parsedBody = parsedOutput.body;
3038
3028
  throwDefaultError({
@@ -3043,23 +3033,23 @@ const deserializeAws_restJson1ListServiceNetworksCommandError = async (output, c
3043
3033
  });
3044
3034
  }
3045
3035
  };
3046
- export const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = async (output, context) => {
3036
+ export const de_ListServiceNetworkServiceAssociationsCommand = async (output, context) => {
3047
3037
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3048
- return deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError(output, context);
3038
+ return de_ListServiceNetworkServiceAssociationsCommandError(output, context);
3049
3039
  }
3050
3040
  const contents = map({
3051
3041
  $metadata: deserializeMetadata(output),
3052
3042
  });
3053
3043
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3054
3044
  if (data.items != null) {
3055
- contents.items = deserializeAws_restJson1ServiceNetworkServiceAssociationList(data.items, context);
3045
+ contents.items = de_ServiceNetworkServiceAssociationList(data.items, context);
3056
3046
  }
3057
3047
  if (data.nextToken != null) {
3058
3048
  contents.nextToken = __expectString(data.nextToken);
3059
3049
  }
3060
3050
  return contents;
3061
3051
  };
3062
- const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError = async (output, context) => {
3052
+ const de_ListServiceNetworkServiceAssociationsCommandError = async (output, context) => {
3063
3053
  const parsedOutput = {
3064
3054
  ...output,
3065
3055
  body: await parseErrorBody(output.body, context),
@@ -3068,16 +3058,16 @@ const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError
3068
3058
  switch (errorCode) {
3069
3059
  case "AccessDeniedException":
3070
3060
  case "com.amazonaws.vpclattice#AccessDeniedException":
3071
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3061
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3072
3062
  case "InternalServerException":
3073
3063
  case "com.amazonaws.vpclattice#InternalServerException":
3074
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3064
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3075
3065
  case "ThrottlingException":
3076
3066
  case "com.amazonaws.vpclattice#ThrottlingException":
3077
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3067
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3078
3068
  case "ValidationException":
3079
3069
  case "com.amazonaws.vpclattice#ValidationException":
3080
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3070
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3081
3071
  default:
3082
3072
  const parsedBody = parsedOutput.body;
3083
3073
  throwDefaultError({
@@ -3088,23 +3078,23 @@ const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError
3088
3078
  });
3089
3079
  }
3090
3080
  };
3091
- export const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = async (output, context) => {
3081
+ export const de_ListServiceNetworkVpcAssociationsCommand = async (output, context) => {
3092
3082
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3093
- return deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError(output, context);
3083
+ return de_ListServiceNetworkVpcAssociationsCommandError(output, context);
3094
3084
  }
3095
3085
  const contents = map({
3096
3086
  $metadata: deserializeMetadata(output),
3097
3087
  });
3098
3088
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3099
3089
  if (data.items != null) {
3100
- contents.items = deserializeAws_restJson1ServiceNetworkVpcAssociationList(data.items, context);
3090
+ contents.items = de_ServiceNetworkVpcAssociationList(data.items, context);
3101
3091
  }
3102
3092
  if (data.nextToken != null) {
3103
3093
  contents.nextToken = __expectString(data.nextToken);
3104
3094
  }
3105
3095
  return contents;
3106
3096
  };
3107
- const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError = async (output, context) => {
3097
+ const de_ListServiceNetworkVpcAssociationsCommandError = async (output, context) => {
3108
3098
  const parsedOutput = {
3109
3099
  ...output,
3110
3100
  body: await parseErrorBody(output.body, context),
@@ -3113,16 +3103,16 @@ const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError = as
3113
3103
  switch (errorCode) {
3114
3104
  case "AccessDeniedException":
3115
3105
  case "com.amazonaws.vpclattice#AccessDeniedException":
3116
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3106
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3117
3107
  case "InternalServerException":
3118
3108
  case "com.amazonaws.vpclattice#InternalServerException":
3119
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3109
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3120
3110
  case "ThrottlingException":
3121
3111
  case "com.amazonaws.vpclattice#ThrottlingException":
3122
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3112
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3123
3113
  case "ValidationException":
3124
3114
  case "com.amazonaws.vpclattice#ValidationException":
3125
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3115
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3126
3116
  default:
3127
3117
  const parsedBody = parsedOutput.body;
3128
3118
  throwDefaultError({
@@ -3133,23 +3123,23 @@ const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError = as
3133
3123
  });
3134
3124
  }
3135
3125
  };
3136
- export const deserializeAws_restJson1ListServicesCommand = async (output, context) => {
3126
+ export const de_ListServicesCommand = async (output, context) => {
3137
3127
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3138
- return deserializeAws_restJson1ListServicesCommandError(output, context);
3128
+ return de_ListServicesCommandError(output, context);
3139
3129
  }
3140
3130
  const contents = map({
3141
3131
  $metadata: deserializeMetadata(output),
3142
3132
  });
3143
3133
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3144
3134
  if (data.items != null) {
3145
- contents.items = deserializeAws_restJson1ServiceList(data.items, context);
3135
+ contents.items = de_ServiceList(data.items, context);
3146
3136
  }
3147
3137
  if (data.nextToken != null) {
3148
3138
  contents.nextToken = __expectString(data.nextToken);
3149
3139
  }
3150
3140
  return contents;
3151
3141
  };
3152
- const deserializeAws_restJson1ListServicesCommandError = async (output, context) => {
3142
+ const de_ListServicesCommandError = async (output, context) => {
3153
3143
  const parsedOutput = {
3154
3144
  ...output,
3155
3145
  body: await parseErrorBody(output.body, context),
@@ -3158,16 +3148,16 @@ const deserializeAws_restJson1ListServicesCommandError = async (output, context)
3158
3148
  switch (errorCode) {
3159
3149
  case "AccessDeniedException":
3160
3150
  case "com.amazonaws.vpclattice#AccessDeniedException":
3161
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3151
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3162
3152
  case "InternalServerException":
3163
3153
  case "com.amazonaws.vpclattice#InternalServerException":
3164
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3154
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3165
3155
  case "ThrottlingException":
3166
3156
  case "com.amazonaws.vpclattice#ThrottlingException":
3167
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3157
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3168
3158
  case "ValidationException":
3169
3159
  case "com.amazonaws.vpclattice#ValidationException":
3170
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3160
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3171
3161
  default:
3172
3162
  const parsedBody = parsedOutput.body;
3173
3163
  throwDefaultError({
@@ -3178,20 +3168,20 @@ const deserializeAws_restJson1ListServicesCommandError = async (output, context)
3178
3168
  });
3179
3169
  }
3180
3170
  };
3181
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
3171
+ export const de_ListTagsForResourceCommand = async (output, context) => {
3182
3172
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3183
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
3173
+ return de_ListTagsForResourceCommandError(output, context);
3184
3174
  }
3185
3175
  const contents = map({
3186
3176
  $metadata: deserializeMetadata(output),
3187
3177
  });
3188
3178
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3189
3179
  if (data.tags != null) {
3190
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3180
+ contents.tags = de_TagMap(data.tags, context);
3191
3181
  }
3192
3182
  return contents;
3193
3183
  };
3194
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
3184
+ const de_ListTagsForResourceCommandError = async (output, context) => {
3195
3185
  const parsedOutput = {
3196
3186
  ...output,
3197
3187
  body: await parseErrorBody(output.body, context),
@@ -3200,13 +3190,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3200
3190
  switch (errorCode) {
3201
3191
  case "InternalServerException":
3202
3192
  case "com.amazonaws.vpclattice#InternalServerException":
3203
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3193
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3204
3194
  case "ResourceNotFoundException":
3205
3195
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3206
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3196
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3207
3197
  case "ValidationException":
3208
3198
  case "com.amazonaws.vpclattice#ValidationException":
3209
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3199
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3210
3200
  default:
3211
3201
  const parsedBody = parsedOutput.body;
3212
3202
  throwDefaultError({
@@ -3217,23 +3207,23 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3217
3207
  });
3218
3208
  }
3219
3209
  };
3220
- export const deserializeAws_restJson1ListTargetGroupsCommand = async (output, context) => {
3210
+ export const de_ListTargetGroupsCommand = async (output, context) => {
3221
3211
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3222
- return deserializeAws_restJson1ListTargetGroupsCommandError(output, context);
3212
+ return de_ListTargetGroupsCommandError(output, context);
3223
3213
  }
3224
3214
  const contents = map({
3225
3215
  $metadata: deserializeMetadata(output),
3226
3216
  });
3227
3217
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3228
3218
  if (data.items != null) {
3229
- contents.items = deserializeAws_restJson1TargetGroupList(data.items, context);
3219
+ contents.items = de_TargetGroupList(data.items, context);
3230
3220
  }
3231
3221
  if (data.nextToken != null) {
3232
3222
  contents.nextToken = __expectString(data.nextToken);
3233
3223
  }
3234
3224
  return contents;
3235
3225
  };
3236
- const deserializeAws_restJson1ListTargetGroupsCommandError = async (output, context) => {
3226
+ const de_ListTargetGroupsCommandError = async (output, context) => {
3237
3227
  const parsedOutput = {
3238
3228
  ...output,
3239
3229
  body: await parseErrorBody(output.body, context),
@@ -3242,16 +3232,16 @@ const deserializeAws_restJson1ListTargetGroupsCommandError = async (output, cont
3242
3232
  switch (errorCode) {
3243
3233
  case "AccessDeniedException":
3244
3234
  case "com.amazonaws.vpclattice#AccessDeniedException":
3245
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3235
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3246
3236
  case "InternalServerException":
3247
3237
  case "com.amazonaws.vpclattice#InternalServerException":
3248
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3238
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3249
3239
  case "ThrottlingException":
3250
3240
  case "com.amazonaws.vpclattice#ThrottlingException":
3251
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3241
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3252
3242
  case "ValidationException":
3253
3243
  case "com.amazonaws.vpclattice#ValidationException":
3254
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3244
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3255
3245
  default:
3256
3246
  const parsedBody = parsedOutput.body;
3257
3247
  throwDefaultError({
@@ -3262,23 +3252,23 @@ const deserializeAws_restJson1ListTargetGroupsCommandError = async (output, cont
3262
3252
  });
3263
3253
  }
3264
3254
  };
3265
- export const deserializeAws_restJson1ListTargetsCommand = async (output, context) => {
3255
+ export const de_ListTargetsCommand = async (output, context) => {
3266
3256
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3267
- return deserializeAws_restJson1ListTargetsCommandError(output, context);
3257
+ return de_ListTargetsCommandError(output, context);
3268
3258
  }
3269
3259
  const contents = map({
3270
3260
  $metadata: deserializeMetadata(output),
3271
3261
  });
3272
3262
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3273
3263
  if (data.items != null) {
3274
- contents.items = deserializeAws_restJson1TargetSummaryList(data.items, context);
3264
+ contents.items = de_TargetSummaryList(data.items, context);
3275
3265
  }
3276
3266
  if (data.nextToken != null) {
3277
3267
  contents.nextToken = __expectString(data.nextToken);
3278
3268
  }
3279
3269
  return contents;
3280
3270
  };
3281
- const deserializeAws_restJson1ListTargetsCommandError = async (output, context) => {
3271
+ const de_ListTargetsCommandError = async (output, context) => {
3282
3272
  const parsedOutput = {
3283
3273
  ...output,
3284
3274
  body: await parseErrorBody(output.body, context),
@@ -3287,19 +3277,19 @@ const deserializeAws_restJson1ListTargetsCommandError = async (output, context)
3287
3277
  switch (errorCode) {
3288
3278
  case "AccessDeniedException":
3289
3279
  case "com.amazonaws.vpclattice#AccessDeniedException":
3290
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3280
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3291
3281
  case "InternalServerException":
3292
3282
  case "com.amazonaws.vpclattice#InternalServerException":
3293
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3283
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3294
3284
  case "ResourceNotFoundException":
3295
3285
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3296
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3286
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3297
3287
  case "ThrottlingException":
3298
3288
  case "com.amazonaws.vpclattice#ThrottlingException":
3299
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3289
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3300
3290
  case "ValidationException":
3301
3291
  case "com.amazonaws.vpclattice#ValidationException":
3302
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3292
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3303
3293
  default:
3304
3294
  const parsedBody = parsedOutput.body;
3305
3295
  throwDefaultError({
@@ -3310,9 +3300,9 @@ const deserializeAws_restJson1ListTargetsCommandError = async (output, context)
3310
3300
  });
3311
3301
  }
3312
3302
  };
3313
- export const deserializeAws_restJson1PutAuthPolicyCommand = async (output, context) => {
3303
+ export const de_PutAuthPolicyCommand = async (output, context) => {
3314
3304
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3315
- return deserializeAws_restJson1PutAuthPolicyCommandError(output, context);
3305
+ return de_PutAuthPolicyCommandError(output, context);
3316
3306
  }
3317
3307
  const contents = map({
3318
3308
  $metadata: deserializeMetadata(output),
@@ -3326,7 +3316,7 @@ export const deserializeAws_restJson1PutAuthPolicyCommand = async (output, conte
3326
3316
  }
3327
3317
  return contents;
3328
3318
  };
3329
- const deserializeAws_restJson1PutAuthPolicyCommandError = async (output, context) => {
3319
+ const de_PutAuthPolicyCommandError = async (output, context) => {
3330
3320
  const parsedOutput = {
3331
3321
  ...output,
3332
3322
  body: await parseErrorBody(output.body, context),
@@ -3335,19 +3325,19 @@ const deserializeAws_restJson1PutAuthPolicyCommandError = async (output, context
3335
3325
  switch (errorCode) {
3336
3326
  case "AccessDeniedException":
3337
3327
  case "com.amazonaws.vpclattice#AccessDeniedException":
3338
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3328
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3339
3329
  case "InternalServerException":
3340
3330
  case "com.amazonaws.vpclattice#InternalServerException":
3341
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3331
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3342
3332
  case "ResourceNotFoundException":
3343
3333
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3344
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3334
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3345
3335
  case "ThrottlingException":
3346
3336
  case "com.amazonaws.vpclattice#ThrottlingException":
3347
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3337
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3348
3338
  case "ValidationException":
3349
3339
  case "com.amazonaws.vpclattice#ValidationException":
3350
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3340
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3351
3341
  default:
3352
3342
  const parsedBody = parsedOutput.body;
3353
3343
  throwDefaultError({
@@ -3358,9 +3348,9 @@ const deserializeAws_restJson1PutAuthPolicyCommandError = async (output, context
3358
3348
  });
3359
3349
  }
3360
3350
  };
3361
- export const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context) => {
3351
+ export const de_PutResourcePolicyCommand = async (output, context) => {
3362
3352
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3363
- return deserializeAws_restJson1PutResourcePolicyCommandError(output, context);
3353
+ return de_PutResourcePolicyCommandError(output, context);
3364
3354
  }
3365
3355
  const contents = map({
3366
3356
  $metadata: deserializeMetadata(output),
@@ -3368,7 +3358,7 @@ export const deserializeAws_restJson1PutResourcePolicyCommand = async (output, c
3368
3358
  await collectBody(output.body, context);
3369
3359
  return contents;
3370
3360
  };
3371
- const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, context) => {
3361
+ const de_PutResourcePolicyCommandError = async (output, context) => {
3372
3362
  const parsedOutput = {
3373
3363
  ...output,
3374
3364
  body: await parseErrorBody(output.body, context),
@@ -3377,19 +3367,19 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
3377
3367
  switch (errorCode) {
3378
3368
  case "AccessDeniedException":
3379
3369
  case "com.amazonaws.vpclattice#AccessDeniedException":
3380
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3370
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3381
3371
  case "InternalServerException":
3382
3372
  case "com.amazonaws.vpclattice#InternalServerException":
3383
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3373
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3384
3374
  case "ResourceNotFoundException":
3385
3375
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3386
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3376
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3387
3377
  case "ThrottlingException":
3388
3378
  case "com.amazonaws.vpclattice#ThrottlingException":
3389
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3379
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3390
3380
  case "ValidationException":
3391
3381
  case "com.amazonaws.vpclattice#ValidationException":
3392
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3382
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3393
3383
  default:
3394
3384
  const parsedBody = parsedOutput.body;
3395
3385
  throwDefaultError({
@@ -3400,23 +3390,23 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
3400
3390
  });
3401
3391
  }
3402
3392
  };
3403
- export const deserializeAws_restJson1RegisterTargetsCommand = async (output, context) => {
3393
+ export const de_RegisterTargetsCommand = async (output, context) => {
3404
3394
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3405
- return deserializeAws_restJson1RegisterTargetsCommandError(output, context);
3395
+ return de_RegisterTargetsCommandError(output, context);
3406
3396
  }
3407
3397
  const contents = map({
3408
3398
  $metadata: deserializeMetadata(output),
3409
3399
  });
3410
3400
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3411
3401
  if (data.successful != null) {
3412
- contents.successful = deserializeAws_restJson1TargetList(data.successful, context);
3402
+ contents.successful = de_TargetList(data.successful, context);
3413
3403
  }
3414
3404
  if (data.unsuccessful != null) {
3415
- contents.unsuccessful = deserializeAws_restJson1TargetFailureList(data.unsuccessful, context);
3405
+ contents.unsuccessful = de_TargetFailureList(data.unsuccessful, context);
3416
3406
  }
3417
3407
  return contents;
3418
3408
  };
3419
- const deserializeAws_restJson1RegisterTargetsCommandError = async (output, context) => {
3409
+ const de_RegisterTargetsCommandError = async (output, context) => {
3420
3410
  const parsedOutput = {
3421
3411
  ...output,
3422
3412
  body: await parseErrorBody(output.body, context),
@@ -3425,25 +3415,25 @@ const deserializeAws_restJson1RegisterTargetsCommandError = async (output, conte
3425
3415
  switch (errorCode) {
3426
3416
  case "AccessDeniedException":
3427
3417
  case "com.amazonaws.vpclattice#AccessDeniedException":
3428
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3418
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3429
3419
  case "ConflictException":
3430
3420
  case "com.amazonaws.vpclattice#ConflictException":
3431
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3421
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3432
3422
  case "InternalServerException":
3433
3423
  case "com.amazonaws.vpclattice#InternalServerException":
3434
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3424
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3435
3425
  case "ResourceNotFoundException":
3436
3426
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3437
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3427
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3438
3428
  case "ServiceQuotaExceededException":
3439
3429
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
3440
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
3430
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
3441
3431
  case "ThrottlingException":
3442
3432
  case "com.amazonaws.vpclattice#ThrottlingException":
3443
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3433
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3444
3434
  case "ValidationException":
3445
3435
  case "com.amazonaws.vpclattice#ValidationException":
3446
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3436
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3447
3437
  default:
3448
3438
  const parsedBody = parsedOutput.body;
3449
3439
  throwDefaultError({
@@ -3454,9 +3444,9 @@ const deserializeAws_restJson1RegisterTargetsCommandError = async (output, conte
3454
3444
  });
3455
3445
  }
3456
3446
  };
3457
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
3447
+ export const de_TagResourceCommand = async (output, context) => {
3458
3448
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3459
- return deserializeAws_restJson1TagResourceCommandError(output, context);
3449
+ return de_TagResourceCommandError(output, context);
3460
3450
  }
3461
3451
  const contents = map({
3462
3452
  $metadata: deserializeMetadata(output),
@@ -3464,7 +3454,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
3464
3454
  await collectBody(output.body, context);
3465
3455
  return contents;
3466
3456
  };
3467
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
3457
+ const de_TagResourceCommandError = async (output, context) => {
3468
3458
  const parsedOutput = {
3469
3459
  ...output,
3470
3460
  body: await parseErrorBody(output.body, context),
@@ -3473,19 +3463,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3473
3463
  switch (errorCode) {
3474
3464
  case "AccessDeniedException":
3475
3465
  case "com.amazonaws.vpclattice#AccessDeniedException":
3476
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3466
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3477
3467
  case "InternalServerException":
3478
3468
  case "com.amazonaws.vpclattice#InternalServerException":
3479
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3469
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3480
3470
  case "ResourceNotFoundException":
3481
3471
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3482
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3472
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3483
3473
  case "ThrottlingException":
3484
3474
  case "com.amazonaws.vpclattice#ThrottlingException":
3485
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3475
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3486
3476
  case "ValidationException":
3487
3477
  case "com.amazonaws.vpclattice#ValidationException":
3488
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3478
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3489
3479
  default:
3490
3480
  const parsedBody = parsedOutput.body;
3491
3481
  throwDefaultError({
@@ -3496,9 +3486,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3496
3486
  });
3497
3487
  }
3498
3488
  };
3499
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
3489
+ export const de_UntagResourceCommand = async (output, context) => {
3500
3490
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3501
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
3491
+ return de_UntagResourceCommandError(output, context);
3502
3492
  }
3503
3493
  const contents = map({
3504
3494
  $metadata: deserializeMetadata(output),
@@ -3506,7 +3496,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
3506
3496
  await collectBody(output.body, context);
3507
3497
  return contents;
3508
3498
  };
3509
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
3499
+ const de_UntagResourceCommandError = async (output, context) => {
3510
3500
  const parsedOutput = {
3511
3501
  ...output,
3512
3502
  body: await parseErrorBody(output.body, context),
@@ -3515,13 +3505,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3515
3505
  switch (errorCode) {
3516
3506
  case "InternalServerException":
3517
3507
  case "com.amazonaws.vpclattice#InternalServerException":
3518
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3508
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3519
3509
  case "ResourceNotFoundException":
3520
3510
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3521
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3511
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3522
3512
  case "ValidationException":
3523
3513
  case "com.amazonaws.vpclattice#ValidationException":
3524
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3514
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3525
3515
  default:
3526
3516
  const parsedBody = parsedOutput.body;
3527
3517
  throwDefaultError({
@@ -3532,9 +3522,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3532
3522
  });
3533
3523
  }
3534
3524
  };
3535
- export const deserializeAws_restJson1UpdateAccessLogSubscriptionCommand = async (output, context) => {
3525
+ export const de_UpdateAccessLogSubscriptionCommand = async (output, context) => {
3536
3526
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3537
- return deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError(output, context);
3527
+ return de_UpdateAccessLogSubscriptionCommandError(output, context);
3538
3528
  }
3539
3529
  const contents = map({
3540
3530
  $metadata: deserializeMetadata(output),
@@ -3557,7 +3547,7 @@ export const deserializeAws_restJson1UpdateAccessLogSubscriptionCommand = async
3557
3547
  }
3558
3548
  return contents;
3559
3549
  };
3560
- const deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError = async (output, context) => {
3550
+ const de_UpdateAccessLogSubscriptionCommandError = async (output, context) => {
3561
3551
  const parsedOutput = {
3562
3552
  ...output,
3563
3553
  body: await parseErrorBody(output.body, context),
@@ -3566,22 +3556,22 @@ const deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError = async (o
3566
3556
  switch (errorCode) {
3567
3557
  case "AccessDeniedException":
3568
3558
  case "com.amazonaws.vpclattice#AccessDeniedException":
3569
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3559
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3570
3560
  case "ConflictException":
3571
3561
  case "com.amazonaws.vpclattice#ConflictException":
3572
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3562
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3573
3563
  case "InternalServerException":
3574
3564
  case "com.amazonaws.vpclattice#InternalServerException":
3575
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3565
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3576
3566
  case "ResourceNotFoundException":
3577
3567
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3578
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3568
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3579
3569
  case "ThrottlingException":
3580
3570
  case "com.amazonaws.vpclattice#ThrottlingException":
3581
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3571
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3582
3572
  case "ValidationException":
3583
3573
  case "com.amazonaws.vpclattice#ValidationException":
3584
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3574
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3585
3575
  default:
3586
3576
  const parsedBody = parsedOutput.body;
3587
3577
  throwDefaultError({
@@ -3592,9 +3582,9 @@ const deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError = async (o
3592
3582
  });
3593
3583
  }
3594
3584
  };
3595
- export const deserializeAws_restJson1UpdateListenerCommand = async (output, context) => {
3585
+ export const de_UpdateListenerCommand = async (output, context) => {
3596
3586
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3597
- return deserializeAws_restJson1UpdateListenerCommandError(output, context);
3587
+ return de_UpdateListenerCommandError(output, context);
3598
3588
  }
3599
3589
  const contents = map({
3600
3590
  $metadata: deserializeMetadata(output),
@@ -3604,7 +3594,7 @@ export const deserializeAws_restJson1UpdateListenerCommand = async (output, cont
3604
3594
  contents.arn = __expectString(data.arn);
3605
3595
  }
3606
3596
  if (data.defaultAction != null) {
3607
- contents.defaultAction = deserializeAws_restJson1RuleAction(__expectUnion(data.defaultAction), context);
3597
+ contents.defaultAction = de_RuleAction(__expectUnion(data.defaultAction), context);
3608
3598
  }
3609
3599
  if (data.id != null) {
3610
3600
  contents.id = __expectString(data.id);
@@ -3626,7 +3616,7 @@ export const deserializeAws_restJson1UpdateListenerCommand = async (output, cont
3626
3616
  }
3627
3617
  return contents;
3628
3618
  };
3629
- const deserializeAws_restJson1UpdateListenerCommandError = async (output, context) => {
3619
+ const de_UpdateListenerCommandError = async (output, context) => {
3630
3620
  const parsedOutput = {
3631
3621
  ...output,
3632
3622
  body: await parseErrorBody(output.body, context),
@@ -3635,22 +3625,22 @@ const deserializeAws_restJson1UpdateListenerCommandError = async (output, contex
3635
3625
  switch (errorCode) {
3636
3626
  case "AccessDeniedException":
3637
3627
  case "com.amazonaws.vpclattice#AccessDeniedException":
3638
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3628
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3639
3629
  case "ConflictException":
3640
3630
  case "com.amazonaws.vpclattice#ConflictException":
3641
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3631
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3642
3632
  case "InternalServerException":
3643
3633
  case "com.amazonaws.vpclattice#InternalServerException":
3644
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3634
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3645
3635
  case "ResourceNotFoundException":
3646
3636
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3647
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3637
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3648
3638
  case "ThrottlingException":
3649
3639
  case "com.amazonaws.vpclattice#ThrottlingException":
3650
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3640
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3651
3641
  case "ValidationException":
3652
3642
  case "com.amazonaws.vpclattice#ValidationException":
3653
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3643
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3654
3644
  default:
3655
3645
  const parsedBody = parsedOutput.body;
3656
3646
  throwDefaultError({
@@ -3661,16 +3651,16 @@ const deserializeAws_restJson1UpdateListenerCommandError = async (output, contex
3661
3651
  });
3662
3652
  }
3663
3653
  };
3664
- export const deserializeAws_restJson1UpdateRuleCommand = async (output, context) => {
3654
+ export const de_UpdateRuleCommand = async (output, context) => {
3665
3655
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3666
- return deserializeAws_restJson1UpdateRuleCommandError(output, context);
3656
+ return de_UpdateRuleCommandError(output, context);
3667
3657
  }
3668
3658
  const contents = map({
3669
3659
  $metadata: deserializeMetadata(output),
3670
3660
  });
3671
3661
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3672
3662
  if (data.action != null) {
3673
- contents.action = deserializeAws_restJson1RuleAction(__expectUnion(data.action), context);
3663
+ contents.action = de_RuleAction(__expectUnion(data.action), context);
3674
3664
  }
3675
3665
  if (data.arn != null) {
3676
3666
  contents.arn = __expectString(data.arn);
@@ -3682,7 +3672,7 @@ export const deserializeAws_restJson1UpdateRuleCommand = async (output, context)
3682
3672
  contents.isDefault = __expectBoolean(data.isDefault);
3683
3673
  }
3684
3674
  if (data.match != null) {
3685
- contents.match = deserializeAws_restJson1RuleMatch(__expectUnion(data.match), context);
3675
+ contents.match = de_RuleMatch(__expectUnion(data.match), context);
3686
3676
  }
3687
3677
  if (data.name != null) {
3688
3678
  contents.name = __expectString(data.name);
@@ -3692,7 +3682,7 @@ export const deserializeAws_restJson1UpdateRuleCommand = async (output, context)
3692
3682
  }
3693
3683
  return contents;
3694
3684
  };
3695
- const deserializeAws_restJson1UpdateRuleCommandError = async (output, context) => {
3685
+ const de_UpdateRuleCommandError = async (output, context) => {
3696
3686
  const parsedOutput = {
3697
3687
  ...output,
3698
3688
  body: await parseErrorBody(output.body, context),
@@ -3701,22 +3691,22 @@ const deserializeAws_restJson1UpdateRuleCommandError = async (output, context) =
3701
3691
  switch (errorCode) {
3702
3692
  case "AccessDeniedException":
3703
3693
  case "com.amazonaws.vpclattice#AccessDeniedException":
3704
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3694
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3705
3695
  case "ConflictException":
3706
3696
  case "com.amazonaws.vpclattice#ConflictException":
3707
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3697
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3708
3698
  case "InternalServerException":
3709
3699
  case "com.amazonaws.vpclattice#InternalServerException":
3710
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3700
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3711
3701
  case "ResourceNotFoundException":
3712
3702
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3713
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3703
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3714
3704
  case "ThrottlingException":
3715
3705
  case "com.amazonaws.vpclattice#ThrottlingException":
3716
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3706
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3717
3707
  case "ValidationException":
3718
3708
  case "com.amazonaws.vpclattice#ValidationException":
3719
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3709
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3720
3710
  default:
3721
3711
  const parsedBody = parsedOutput.body;
3722
3712
  throwDefaultError({
@@ -3727,9 +3717,9 @@ const deserializeAws_restJson1UpdateRuleCommandError = async (output, context) =
3727
3717
  });
3728
3718
  }
3729
3719
  };
3730
- export const deserializeAws_restJson1UpdateServiceCommand = async (output, context) => {
3720
+ export const de_UpdateServiceCommand = async (output, context) => {
3731
3721
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3732
- return deserializeAws_restJson1UpdateServiceCommandError(output, context);
3722
+ return de_UpdateServiceCommandError(output, context);
3733
3723
  }
3734
3724
  const contents = map({
3735
3725
  $metadata: deserializeMetadata(output),
@@ -3755,7 +3745,7 @@ export const deserializeAws_restJson1UpdateServiceCommand = async (output, conte
3755
3745
  }
3756
3746
  return contents;
3757
3747
  };
3758
- const deserializeAws_restJson1UpdateServiceCommandError = async (output, context) => {
3748
+ const de_UpdateServiceCommandError = async (output, context) => {
3759
3749
  const parsedOutput = {
3760
3750
  ...output,
3761
3751
  body: await parseErrorBody(output.body, context),
@@ -3764,22 +3754,22 @@ const deserializeAws_restJson1UpdateServiceCommandError = async (output, context
3764
3754
  switch (errorCode) {
3765
3755
  case "AccessDeniedException":
3766
3756
  case "com.amazonaws.vpclattice#AccessDeniedException":
3767
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3757
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3768
3758
  case "ConflictException":
3769
3759
  case "com.amazonaws.vpclattice#ConflictException":
3770
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3760
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3771
3761
  case "InternalServerException":
3772
3762
  case "com.amazonaws.vpclattice#InternalServerException":
3773
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3763
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3774
3764
  case "ResourceNotFoundException":
3775
3765
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3776
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3766
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3777
3767
  case "ThrottlingException":
3778
3768
  case "com.amazonaws.vpclattice#ThrottlingException":
3779
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3769
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3780
3770
  case "ValidationException":
3781
3771
  case "com.amazonaws.vpclattice#ValidationException":
3782
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3772
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3783
3773
  default:
3784
3774
  const parsedBody = parsedOutput.body;
3785
3775
  throwDefaultError({
@@ -3790,9 +3780,9 @@ const deserializeAws_restJson1UpdateServiceCommandError = async (output, context
3790
3780
  });
3791
3781
  }
3792
3782
  };
3793
- export const deserializeAws_restJson1UpdateServiceNetworkCommand = async (output, context) => {
3783
+ export const de_UpdateServiceNetworkCommand = async (output, context) => {
3794
3784
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3795
- return deserializeAws_restJson1UpdateServiceNetworkCommandError(output, context);
3785
+ return de_UpdateServiceNetworkCommandError(output, context);
3796
3786
  }
3797
3787
  const contents = map({
3798
3788
  $metadata: deserializeMetadata(output),
@@ -3812,7 +3802,7 @@ export const deserializeAws_restJson1UpdateServiceNetworkCommand = async (output
3812
3802
  }
3813
3803
  return contents;
3814
3804
  };
3815
- const deserializeAws_restJson1UpdateServiceNetworkCommandError = async (output, context) => {
3805
+ const de_UpdateServiceNetworkCommandError = async (output, context) => {
3816
3806
  const parsedOutput = {
3817
3807
  ...output,
3818
3808
  body: await parseErrorBody(output.body, context),
@@ -3821,22 +3811,22 @@ const deserializeAws_restJson1UpdateServiceNetworkCommandError = async (output,
3821
3811
  switch (errorCode) {
3822
3812
  case "AccessDeniedException":
3823
3813
  case "com.amazonaws.vpclattice#AccessDeniedException":
3824
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3814
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3825
3815
  case "ConflictException":
3826
3816
  case "com.amazonaws.vpclattice#ConflictException":
3827
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3817
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3828
3818
  case "InternalServerException":
3829
3819
  case "com.amazonaws.vpclattice#InternalServerException":
3830
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3820
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3831
3821
  case "ResourceNotFoundException":
3832
3822
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3833
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3823
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3834
3824
  case "ThrottlingException":
3835
3825
  case "com.amazonaws.vpclattice#ThrottlingException":
3836
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3826
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3837
3827
  case "ValidationException":
3838
3828
  case "com.amazonaws.vpclattice#ValidationException":
3839
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3829
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3840
3830
  default:
3841
3831
  const parsedBody = parsedOutput.body;
3842
3832
  throwDefaultError({
@@ -3847,9 +3837,9 @@ const deserializeAws_restJson1UpdateServiceNetworkCommandError = async (output,
3847
3837
  });
3848
3838
  }
3849
3839
  };
3850
- export const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = async (output, context) => {
3840
+ export const de_UpdateServiceNetworkVpcAssociationCommand = async (output, context) => {
3851
3841
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3852
- return deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError(output, context);
3842
+ return de_UpdateServiceNetworkVpcAssociationCommandError(output, context);
3853
3843
  }
3854
3844
  const contents = map({
3855
3845
  $metadata: deserializeMetadata(output),
@@ -3865,14 +3855,14 @@ export const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand =
3865
3855
  contents.id = __expectString(data.id);
3866
3856
  }
3867
3857
  if (data.securityGroupIds != null) {
3868
- contents.securityGroupIds = deserializeAws_restJson1SecurityGroupList(data.securityGroupIds, context);
3858
+ contents.securityGroupIds = de_SecurityGroupList(data.securityGroupIds, context);
3869
3859
  }
3870
3860
  if (data.status != null) {
3871
3861
  contents.status = __expectString(data.status);
3872
3862
  }
3873
3863
  return contents;
3874
3864
  };
3875
- const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError = async (output, context) => {
3865
+ const de_UpdateServiceNetworkVpcAssociationCommandError = async (output, context) => {
3876
3866
  const parsedOutput = {
3877
3867
  ...output,
3878
3868
  body: await parseErrorBody(output.body, context),
@@ -3881,22 +3871,22 @@ const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError = a
3881
3871
  switch (errorCode) {
3882
3872
  case "AccessDeniedException":
3883
3873
  case "com.amazonaws.vpclattice#AccessDeniedException":
3884
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3874
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3885
3875
  case "ConflictException":
3886
3876
  case "com.amazonaws.vpclattice#ConflictException":
3887
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3877
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3888
3878
  case "InternalServerException":
3889
3879
  case "com.amazonaws.vpclattice#InternalServerException":
3890
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3880
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3891
3881
  case "ResourceNotFoundException":
3892
3882
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3893
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3883
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3894
3884
  case "ThrottlingException":
3895
3885
  case "com.amazonaws.vpclattice#ThrottlingException":
3896
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3886
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3897
3887
  case "ValidationException":
3898
3888
  case "com.amazonaws.vpclattice#ValidationException":
3899
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3889
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3900
3890
  default:
3901
3891
  const parsedBody = parsedOutput.body;
3902
3892
  throwDefaultError({
@@ -3907,9 +3897,9 @@ const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError = a
3907
3897
  });
3908
3898
  }
3909
3899
  };
3910
- export const deserializeAws_restJson1UpdateTargetGroupCommand = async (output, context) => {
3900
+ export const de_UpdateTargetGroupCommand = async (output, context) => {
3911
3901
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3912
- return deserializeAws_restJson1UpdateTargetGroupCommandError(output, context);
3902
+ return de_UpdateTargetGroupCommandError(output, context);
3913
3903
  }
3914
3904
  const contents = map({
3915
3905
  $metadata: deserializeMetadata(output),
@@ -3919,7 +3909,7 @@ export const deserializeAws_restJson1UpdateTargetGroupCommand = async (output, c
3919
3909
  contents.arn = __expectString(data.arn);
3920
3910
  }
3921
3911
  if (data.config != null) {
3922
- contents.config = deserializeAws_restJson1TargetGroupConfig(data.config, context);
3912
+ contents.config = de_TargetGroupConfig(data.config, context);
3923
3913
  }
3924
3914
  if (data.id != null) {
3925
3915
  contents.id = __expectString(data.id);
@@ -3935,7 +3925,7 @@ export const deserializeAws_restJson1UpdateTargetGroupCommand = async (output, c
3935
3925
  }
3936
3926
  return contents;
3937
3927
  };
3938
- const deserializeAws_restJson1UpdateTargetGroupCommandError = async (output, context) => {
3928
+ const de_UpdateTargetGroupCommandError = async (output, context) => {
3939
3929
  const parsedOutput = {
3940
3930
  ...output,
3941
3931
  body: await parseErrorBody(output.body, context),
@@ -3944,19 +3934,19 @@ const deserializeAws_restJson1UpdateTargetGroupCommandError = async (output, con
3944
3934
  switch (errorCode) {
3945
3935
  case "ConflictException":
3946
3936
  case "com.amazonaws.vpclattice#ConflictException":
3947
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3937
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3948
3938
  case "InternalServerException":
3949
3939
  case "com.amazonaws.vpclattice#InternalServerException":
3950
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3940
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3951
3941
  case "ResourceNotFoundException":
3952
3942
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3953
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3943
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3954
3944
  case "ThrottlingException":
3955
3945
  case "com.amazonaws.vpclattice#ThrottlingException":
3956
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3946
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3957
3947
  case "ValidationException":
3958
3948
  case "com.amazonaws.vpclattice#ValidationException":
3959
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3949
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3960
3950
  default:
3961
3951
  const parsedBody = parsedOutput.body;
3962
3952
  throwDefaultError({
@@ -3968,7 +3958,7 @@ const deserializeAws_restJson1UpdateTargetGroupCommandError = async (output, con
3968
3958
  }
3969
3959
  };
3970
3960
  const map = __map;
3971
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
3961
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
3972
3962
  const contents = map({});
3973
3963
  const data = parsedOutput.body;
3974
3964
  if (data.message != null) {
@@ -3980,7 +3970,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
3980
3970
  });
3981
3971
  return __decorateServiceException(exception, parsedOutput.body);
3982
3972
  };
3983
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
3973
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
3984
3974
  const contents = map({});
3985
3975
  const data = parsedOutput.body;
3986
3976
  if (data.message != null) {
@@ -3998,7 +3988,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
3998
3988
  });
3999
3989
  return __decorateServiceException(exception, parsedOutput.body);
4000
3990
  };
4001
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
3991
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
4002
3992
  const contents = map({
4003
3993
  retryAfterSeconds: [
4004
3994
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -4015,7 +4005,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
4015
4005
  });
4016
4006
  return __decorateServiceException(exception, parsedOutput.body);
4017
4007
  };
4018
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
4008
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
4019
4009
  const contents = map({});
4020
4010
  const data = parsedOutput.body;
4021
4011
  if (data.message != null) {
@@ -4033,7 +4023,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
4033
4023
  });
4034
4024
  return __decorateServiceException(exception, parsedOutput.body);
4035
4025
  };
4036
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
4026
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
4037
4027
  const contents = map({});
4038
4028
  const data = parsedOutput.body;
4039
4029
  if (data.message != null) {
@@ -4057,7 +4047,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
4057
4047
  });
4058
4048
  return __decorateServiceException(exception, parsedOutput.body);
4059
4049
  };
4060
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
4050
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
4061
4051
  const contents = map({
4062
4052
  retryAfterSeconds: [
4063
4053
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -4080,11 +4070,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
4080
4070
  });
4081
4071
  return __decorateServiceException(exception, parsedOutput.body);
4082
4072
  };
4083
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
4073
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
4084
4074
  const contents = map({});
4085
4075
  const data = parsedOutput.body;
4086
4076
  if (data.fieldList != null) {
4087
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
4077
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
4088
4078
  }
4089
4079
  if (data.message != null) {
4090
4080
  contents.message = __expectString(data.message);
@@ -4098,33 +4088,31 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
4098
4088
  });
4099
4089
  return __decorateServiceException(exception, parsedOutput.body);
4100
4090
  };
4101
- const serializeAws_restJson1FixedResponseAction = (input, context) => {
4091
+ const se_FixedResponseAction = (input, context) => {
4102
4092
  return {
4103
4093
  ...(input.statusCode != null && { statusCode: input.statusCode }),
4104
4094
  };
4105
4095
  };
4106
- const serializeAws_restJson1ForwardAction = (input, context) => {
4096
+ const se_ForwardAction = (input, context) => {
4107
4097
  return {
4108
- ...(input.targetGroups != null && {
4109
- targetGroups: serializeAws_restJson1WeightedTargetGroupList(input.targetGroups, context),
4110
- }),
4098
+ ...(input.targetGroups != null && { targetGroups: se_WeightedTargetGroupList(input.targetGroups, context) }),
4111
4099
  };
4112
4100
  };
4113
- const serializeAws_restJson1HeaderMatch = (input, context) => {
4101
+ const se_HeaderMatch = (input, context) => {
4114
4102
  return {
4115
4103
  ...(input.caseSensitive != null && { caseSensitive: input.caseSensitive }),
4116
- ...(input.match != null && { match: serializeAws_restJson1HeaderMatchType(input.match, context) }),
4104
+ ...(input.match != null && { match: se_HeaderMatchType(input.match, context) }),
4117
4105
  ...(input.name != null && { name: input.name }),
4118
4106
  };
4119
4107
  };
4120
- const serializeAws_restJson1HeaderMatchList = (input, context) => {
4108
+ const se_HeaderMatchList = (input, context) => {
4121
4109
  return input
4122
4110
  .filter((e) => e != null)
4123
4111
  .map((entry) => {
4124
- return serializeAws_restJson1HeaderMatch(entry, context);
4112
+ return se_HeaderMatch(entry, context);
4125
4113
  });
4126
4114
  };
4127
- const serializeAws_restJson1HeaderMatchType = (input, context) => {
4115
+ const se_HeaderMatchType = (input, context) => {
4128
4116
  return HeaderMatchType.visit(input, {
4129
4117
  contains: (value) => ({ contains: value }),
4130
4118
  exact: (value) => ({ exact: value }),
@@ -4132,13 +4120,13 @@ const serializeAws_restJson1HeaderMatchType = (input, context) => {
4132
4120
  _: (name, value) => ({ name: value }),
4133
4121
  });
4134
4122
  };
4135
- const serializeAws_restJson1HealthCheckConfig = (input, context) => {
4123
+ const se_HealthCheckConfig = (input, context) => {
4136
4124
  return {
4137
4125
  ...(input.enabled != null && { enabled: input.enabled }),
4138
4126
  ...(input.healthCheckIntervalSeconds != null && { healthCheckIntervalSeconds: input.healthCheckIntervalSeconds }),
4139
4127
  ...(input.healthCheckTimeoutSeconds != null && { healthCheckTimeoutSeconds: input.healthCheckTimeoutSeconds }),
4140
4128
  ...(input.healthyThresholdCount != null && { healthyThresholdCount: input.healthyThresholdCount }),
4141
- ...(input.matcher != null && { matcher: serializeAws_restJson1Matcher(input.matcher, context) }),
4129
+ ...(input.matcher != null && { matcher: se_Matcher(input.matcher, context) }),
4142
4130
  ...(input.path != null && { path: input.path }),
4143
4131
  ...(input.port != null && { port: input.port }),
4144
4132
  ...(input.protocol != null && { protocol: input.protocol }),
@@ -4146,70 +4134,68 @@ const serializeAws_restJson1HealthCheckConfig = (input, context) => {
4146
4134
  ...(input.unhealthyThresholdCount != null && { unhealthyThresholdCount: input.unhealthyThresholdCount }),
4147
4135
  };
4148
4136
  };
4149
- const serializeAws_restJson1HttpMatch = (input, context) => {
4137
+ const se_HttpMatch = (input, context) => {
4150
4138
  return {
4151
- ...(input.headerMatches != null && {
4152
- headerMatches: serializeAws_restJson1HeaderMatchList(input.headerMatches, context),
4153
- }),
4139
+ ...(input.headerMatches != null && { headerMatches: se_HeaderMatchList(input.headerMatches, context) }),
4154
4140
  ...(input.method != null && { method: input.method }),
4155
- ...(input.pathMatch != null && { pathMatch: serializeAws_restJson1PathMatch(input.pathMatch, context) }),
4141
+ ...(input.pathMatch != null && { pathMatch: se_PathMatch(input.pathMatch, context) }),
4156
4142
  };
4157
4143
  };
4158
- const serializeAws_restJson1Matcher = (input, context) => {
4144
+ const se_Matcher = (input, context) => {
4159
4145
  return Matcher.visit(input, {
4160
4146
  httpCode: (value) => ({ httpCode: value }),
4161
4147
  _: (name, value) => ({ name: value }),
4162
4148
  });
4163
4149
  };
4164
- const serializeAws_restJson1PathMatch = (input, context) => {
4150
+ const se_PathMatch = (input, context) => {
4165
4151
  return {
4166
4152
  ...(input.caseSensitive != null && { caseSensitive: input.caseSensitive }),
4167
- ...(input.match != null && { match: serializeAws_restJson1PathMatchType(input.match, context) }),
4153
+ ...(input.match != null && { match: se_PathMatchType(input.match, context) }),
4168
4154
  };
4169
4155
  };
4170
- const serializeAws_restJson1PathMatchType = (input, context) => {
4156
+ const se_PathMatchType = (input, context) => {
4171
4157
  return PathMatchType.visit(input, {
4172
4158
  exact: (value) => ({ exact: value }),
4173
4159
  prefix: (value) => ({ prefix: value }),
4174
4160
  _: (name, value) => ({ name: value }),
4175
4161
  });
4176
4162
  };
4177
- const serializeAws_restJson1RuleAction = (input, context) => {
4163
+ const se_RuleAction = (input, context) => {
4178
4164
  return RuleAction.visit(input, {
4179
- fixedResponse: (value) => ({ fixedResponse: serializeAws_restJson1FixedResponseAction(value, context) }),
4180
- forward: (value) => ({ forward: serializeAws_restJson1ForwardAction(value, context) }),
4165
+ fixedResponse: (value) => ({ fixedResponse: se_FixedResponseAction(value, context) }),
4166
+ forward: (value) => ({ forward: se_ForwardAction(value, context) }),
4181
4167
  _: (name, value) => ({ name: value }),
4182
4168
  });
4183
4169
  };
4184
- const serializeAws_restJson1RuleMatch = (input, context) => {
4170
+ const se_RuleMatch = (input, context) => {
4185
4171
  return RuleMatch.visit(input, {
4186
- httpMatch: (value) => ({ httpMatch: serializeAws_restJson1HttpMatch(value, context) }),
4172
+ httpMatch: (value) => ({ httpMatch: se_HttpMatch(value, context) }),
4187
4173
  _: (name, value) => ({ name: value }),
4188
4174
  });
4189
4175
  };
4190
- const serializeAws_restJson1RuleUpdate = (input, context) => {
4176
+ const se_RuleUpdate = (input, context) => {
4191
4177
  return {
4192
- ...(input.action != null && { action: serializeAws_restJson1RuleAction(input.action, context) }),
4193
- ...(input.match != null && { match: serializeAws_restJson1RuleMatch(input.match, context) }),
4178
+ ...(input.action != null && { action: se_RuleAction(input.action, context) }),
4179
+ ...(input.match != null && { match: se_RuleMatch(input.match, context) }),
4194
4180
  ...(input.priority != null && { priority: input.priority }),
4195
4181
  ...(input.ruleIdentifier != null && { ruleIdentifier: input.ruleIdentifier }),
4196
4182
  };
4197
4183
  };
4198
- const serializeAws_restJson1RuleUpdateList = (input, context) => {
4184
+ const se_RuleUpdateList = (input, context) => {
4199
4185
  return input
4200
4186
  .filter((e) => e != null)
4201
4187
  .map((entry) => {
4202
- return serializeAws_restJson1RuleUpdate(entry, context);
4188
+ return se_RuleUpdate(entry, context);
4203
4189
  });
4204
4190
  };
4205
- const serializeAws_restJson1SecurityGroupList = (input, context) => {
4191
+ const se_SecurityGroupList = (input, context) => {
4206
4192
  return input
4207
4193
  .filter((e) => e != null)
4208
4194
  .map((entry) => {
4209
4195
  return entry;
4210
4196
  });
4211
4197
  };
4212
- const serializeAws_restJson1TagMap = (input, context) => {
4198
+ const se_TagMap = (input, context) => {
4213
4199
  return Object.entries(input).reduce((acc, [key, value]) => {
4214
4200
  if (value === null) {
4215
4201
  return acc;
@@ -4218,17 +4204,15 @@ const serializeAws_restJson1TagMap = (input, context) => {
4218
4204
  return acc;
4219
4205
  }, {});
4220
4206
  };
4221
- const serializeAws_restJson1Target = (input, context) => {
4207
+ const se_Target = (input, context) => {
4222
4208
  return {
4223
4209
  ...(input.id != null && { id: input.id }),
4224
4210
  ...(input.port != null && { port: input.port }),
4225
4211
  };
4226
4212
  };
4227
- const serializeAws_restJson1TargetGroupConfig = (input, context) => {
4213
+ const se_TargetGroupConfig = (input, context) => {
4228
4214
  return {
4229
- ...(input.healthCheck != null && {
4230
- healthCheck: serializeAws_restJson1HealthCheckConfig(input.healthCheck, context),
4231
- }),
4215
+ ...(input.healthCheck != null && { healthCheck: se_HealthCheckConfig(input.healthCheck, context) }),
4232
4216
  ...(input.ipAddressType != null && { ipAddressType: input.ipAddressType }),
4233
4217
  ...(input.port != null && { port: input.port }),
4234
4218
  ...(input.protocol != null && { protocol: input.protocol }),
@@ -4236,38 +4220,38 @@ const serializeAws_restJson1TargetGroupConfig = (input, context) => {
4236
4220
  ...(input.vpcIdentifier != null && { vpcIdentifier: input.vpcIdentifier }),
4237
4221
  };
4238
4222
  };
4239
- const serializeAws_restJson1TargetList = (input, context) => {
4223
+ const se_TargetList = (input, context) => {
4240
4224
  return input
4241
4225
  .filter((e) => e != null)
4242
4226
  .map((entry) => {
4243
- return serializeAws_restJson1Target(entry, context);
4227
+ return se_Target(entry, context);
4244
4228
  });
4245
4229
  };
4246
- const serializeAws_restJson1WeightedTargetGroup = (input, context) => {
4230
+ const se_WeightedTargetGroup = (input, context) => {
4247
4231
  return {
4248
4232
  ...(input.targetGroupIdentifier != null && { targetGroupIdentifier: input.targetGroupIdentifier }),
4249
4233
  ...(input.weight != null && { weight: input.weight }),
4250
4234
  };
4251
4235
  };
4252
- const serializeAws_restJson1WeightedTargetGroupList = (input, context) => {
4236
+ const se_WeightedTargetGroupList = (input, context) => {
4253
4237
  return input
4254
4238
  .filter((e) => e != null)
4255
4239
  .map((entry) => {
4256
- return serializeAws_restJson1WeightedTargetGroup(entry, context);
4240
+ return se_WeightedTargetGroup(entry, context);
4257
4241
  });
4258
4242
  };
4259
- const deserializeAws_restJson1AccessLogSubscriptionList = (output, context) => {
4243
+ const de_AccessLogSubscriptionList = (output, context) => {
4260
4244
  const retVal = (output || [])
4261
4245
  .filter((e) => e != null)
4262
4246
  .map((entry) => {
4263
4247
  if (entry === null) {
4264
4248
  return null;
4265
4249
  }
4266
- return deserializeAws_restJson1AccessLogSubscriptionSummary(entry, context);
4250
+ return de_AccessLogSubscriptionSummary(entry, context);
4267
4251
  });
4268
4252
  return retVal;
4269
4253
  };
4270
- const deserializeAws_restJson1AccessLogSubscriptionSummary = (output, context) => {
4254
+ const de_AccessLogSubscriptionSummary = (output, context) => {
4271
4255
  return {
4272
4256
  arn: __expectString(output.arn),
4273
4257
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
@@ -4280,43 +4264,41 @@ const deserializeAws_restJson1AccessLogSubscriptionSummary = (output, context) =
4280
4264
  resourceId: __expectString(output.resourceId),
4281
4265
  };
4282
4266
  };
4283
- const deserializeAws_restJson1DnsEntry = (output, context) => {
4267
+ const de_DnsEntry = (output, context) => {
4284
4268
  return {
4285
4269
  domainName: __expectString(output.domainName),
4286
4270
  hostedZoneId: __expectString(output.hostedZoneId),
4287
4271
  };
4288
4272
  };
4289
- const deserializeAws_restJson1FixedResponseAction = (output, context) => {
4273
+ const de_FixedResponseAction = (output, context) => {
4290
4274
  return {
4291
4275
  statusCode: __expectInt32(output.statusCode),
4292
4276
  };
4293
4277
  };
4294
- const deserializeAws_restJson1ForwardAction = (output, context) => {
4278
+ const de_ForwardAction = (output, context) => {
4295
4279
  return {
4296
- targetGroups: output.targetGroups != null
4297
- ? deserializeAws_restJson1WeightedTargetGroupList(output.targetGroups, context)
4298
- : undefined,
4280
+ targetGroups: output.targetGroups != null ? de_WeightedTargetGroupList(output.targetGroups, context) : undefined,
4299
4281
  };
4300
4282
  };
4301
- const deserializeAws_restJson1HeaderMatch = (output, context) => {
4283
+ const de_HeaderMatch = (output, context) => {
4302
4284
  return {
4303
4285
  caseSensitive: __expectBoolean(output.caseSensitive),
4304
- match: output.match != null ? deserializeAws_restJson1HeaderMatchType(__expectUnion(output.match), context) : undefined,
4286
+ match: output.match != null ? de_HeaderMatchType(__expectUnion(output.match), context) : undefined,
4305
4287
  name: __expectString(output.name),
4306
4288
  };
4307
4289
  };
4308
- const deserializeAws_restJson1HeaderMatchList = (output, context) => {
4290
+ const de_HeaderMatchList = (output, context) => {
4309
4291
  const retVal = (output || [])
4310
4292
  .filter((e) => e != null)
4311
4293
  .map((entry) => {
4312
4294
  if (entry === null) {
4313
4295
  return null;
4314
4296
  }
4315
- return deserializeAws_restJson1HeaderMatch(entry, context);
4297
+ return de_HeaderMatch(entry, context);
4316
4298
  });
4317
4299
  return retVal;
4318
4300
  };
4319
- const deserializeAws_restJson1HeaderMatchType = (output, context) => {
4301
+ const de_HeaderMatchType = (output, context) => {
4320
4302
  if (__expectString(output.contains) !== undefined) {
4321
4303
  return { contains: __expectString(output.contains) };
4322
4304
  }
@@ -4328,13 +4310,13 @@ const deserializeAws_restJson1HeaderMatchType = (output, context) => {
4328
4310
  }
4329
4311
  return { $unknown: Object.entries(output)[0] };
4330
4312
  };
4331
- const deserializeAws_restJson1HealthCheckConfig = (output, context) => {
4313
+ const de_HealthCheckConfig = (output, context) => {
4332
4314
  return {
4333
4315
  enabled: __expectBoolean(output.enabled),
4334
4316
  healthCheckIntervalSeconds: __expectInt32(output.healthCheckIntervalSeconds),
4335
4317
  healthCheckTimeoutSeconds: __expectInt32(output.healthCheckTimeoutSeconds),
4336
4318
  healthyThresholdCount: __expectInt32(output.healthyThresholdCount),
4337
- matcher: output.matcher != null ? deserializeAws_restJson1Matcher(__expectUnion(output.matcher), context) : undefined,
4319
+ matcher: output.matcher != null ? de_Matcher(__expectUnion(output.matcher), context) : undefined,
4338
4320
  path: __expectString(output.path),
4339
4321
  port: __expectInt32(output.port),
4340
4322
  protocol: __expectString(output.protocol),
@@ -4342,14 +4324,14 @@ const deserializeAws_restJson1HealthCheckConfig = (output, context) => {
4342
4324
  unhealthyThresholdCount: __expectInt32(output.unhealthyThresholdCount),
4343
4325
  };
4344
4326
  };
4345
- const deserializeAws_restJson1HttpMatch = (output, context) => {
4327
+ const de_HttpMatch = (output, context) => {
4346
4328
  return {
4347
- headerMatches: output.headerMatches != null ? deserializeAws_restJson1HeaderMatchList(output.headerMatches, context) : undefined,
4329
+ headerMatches: output.headerMatches != null ? de_HeaderMatchList(output.headerMatches, context) : undefined,
4348
4330
  method: __expectString(output.method),
4349
- pathMatch: output.pathMatch != null ? deserializeAws_restJson1PathMatch(output.pathMatch, context) : undefined,
4331
+ pathMatch: output.pathMatch != null ? de_PathMatch(output.pathMatch, context) : undefined,
4350
4332
  };
4351
4333
  };
4352
- const deserializeAws_restJson1ListenerSummary = (output, context) => {
4334
+ const de_ListenerSummary = (output, context) => {
4353
4335
  return {
4354
4336
  arn: __expectString(output.arn),
4355
4337
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
@@ -4362,30 +4344,30 @@ const deserializeAws_restJson1ListenerSummary = (output, context) => {
4362
4344
  protocol: __expectString(output.protocol),
4363
4345
  };
4364
4346
  };
4365
- const deserializeAws_restJson1ListenerSummaryList = (output, context) => {
4347
+ const de_ListenerSummaryList = (output, context) => {
4366
4348
  const retVal = (output || [])
4367
4349
  .filter((e) => e != null)
4368
4350
  .map((entry) => {
4369
4351
  if (entry === null) {
4370
4352
  return null;
4371
4353
  }
4372
- return deserializeAws_restJson1ListenerSummary(entry, context);
4354
+ return de_ListenerSummary(entry, context);
4373
4355
  });
4374
4356
  return retVal;
4375
4357
  };
4376
- const deserializeAws_restJson1Matcher = (output, context) => {
4358
+ const de_Matcher = (output, context) => {
4377
4359
  if (__expectString(output.httpCode) !== undefined) {
4378
4360
  return { httpCode: __expectString(output.httpCode) };
4379
4361
  }
4380
4362
  return { $unknown: Object.entries(output)[0] };
4381
4363
  };
4382
- const deserializeAws_restJson1PathMatch = (output, context) => {
4364
+ const de_PathMatch = (output, context) => {
4383
4365
  return {
4384
4366
  caseSensitive: __expectBoolean(output.caseSensitive),
4385
- match: output.match != null ? deserializeAws_restJson1PathMatchType(__expectUnion(output.match), context) : undefined,
4367
+ match: output.match != null ? de_PathMatchType(__expectUnion(output.match), context) : undefined,
4386
4368
  };
4387
4369
  };
4388
- const deserializeAws_restJson1PathMatchType = (output, context) => {
4370
+ const de_PathMatchType = (output, context) => {
4389
4371
  if (__expectString(output.exact) !== undefined) {
4390
4372
  return { exact: __expectString(output.exact) };
4391
4373
  }
@@ -4394,28 +4376,28 @@ const deserializeAws_restJson1PathMatchType = (output, context) => {
4394
4376
  }
4395
4377
  return { $unknown: Object.entries(output)[0] };
4396
4378
  };
4397
- const deserializeAws_restJson1RuleAction = (output, context) => {
4379
+ const de_RuleAction = (output, context) => {
4398
4380
  if (output.fixedResponse != null) {
4399
4381
  return {
4400
- fixedResponse: deserializeAws_restJson1FixedResponseAction(output.fixedResponse, context),
4382
+ fixedResponse: de_FixedResponseAction(output.fixedResponse, context),
4401
4383
  };
4402
4384
  }
4403
4385
  if (output.forward != null) {
4404
4386
  return {
4405
- forward: deserializeAws_restJson1ForwardAction(output.forward, context),
4387
+ forward: de_ForwardAction(output.forward, context),
4406
4388
  };
4407
4389
  }
4408
4390
  return { $unknown: Object.entries(output)[0] };
4409
4391
  };
4410
- const deserializeAws_restJson1RuleMatch = (output, context) => {
4392
+ const de_RuleMatch = (output, context) => {
4411
4393
  if (output.httpMatch != null) {
4412
4394
  return {
4413
- httpMatch: deserializeAws_restJson1HttpMatch(output.httpMatch, context),
4395
+ httpMatch: de_HttpMatch(output.httpMatch, context),
4414
4396
  };
4415
4397
  }
4416
4398
  return { $unknown: Object.entries(output)[0] };
4417
4399
  };
4418
- const deserializeAws_restJson1RuleSummary = (output, context) => {
4400
+ const de_RuleSummary = (output, context) => {
4419
4401
  return {
4420
4402
  arn: __expectString(output.arn),
4421
4403
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
@@ -4428,58 +4410,58 @@ const deserializeAws_restJson1RuleSummary = (output, context) => {
4428
4410
  priority: __expectInt32(output.priority),
4429
4411
  };
4430
4412
  };
4431
- const deserializeAws_restJson1RuleSummaryList = (output, context) => {
4413
+ const de_RuleSummaryList = (output, context) => {
4432
4414
  const retVal = (output || [])
4433
4415
  .filter((e) => e != null)
4434
4416
  .map((entry) => {
4435
4417
  if (entry === null) {
4436
4418
  return null;
4437
4419
  }
4438
- return deserializeAws_restJson1RuleSummary(entry, context);
4420
+ return de_RuleSummary(entry, context);
4439
4421
  });
4440
4422
  return retVal;
4441
4423
  };
4442
- const deserializeAws_restJson1RuleUpdateFailure = (output, context) => {
4424
+ const de_RuleUpdateFailure = (output, context) => {
4443
4425
  return {
4444
4426
  failureCode: __expectString(output.failureCode),
4445
4427
  failureMessage: __expectString(output.failureMessage),
4446
4428
  ruleIdentifier: __expectString(output.ruleIdentifier),
4447
4429
  };
4448
4430
  };
4449
- const deserializeAws_restJson1RuleUpdateFailureList = (output, context) => {
4431
+ const de_RuleUpdateFailureList = (output, context) => {
4450
4432
  const retVal = (output || [])
4451
4433
  .filter((e) => e != null)
4452
4434
  .map((entry) => {
4453
4435
  if (entry === null) {
4454
4436
  return null;
4455
4437
  }
4456
- return deserializeAws_restJson1RuleUpdateFailure(entry, context);
4438
+ return de_RuleUpdateFailure(entry, context);
4457
4439
  });
4458
4440
  return retVal;
4459
4441
  };
4460
- const deserializeAws_restJson1RuleUpdateSuccess = (output, context) => {
4442
+ const de_RuleUpdateSuccess = (output, context) => {
4461
4443
  return {
4462
- action: output.action != null ? deserializeAws_restJson1RuleAction(__expectUnion(output.action), context) : undefined,
4444
+ action: output.action != null ? de_RuleAction(__expectUnion(output.action), context) : undefined,
4463
4445
  arn: __expectString(output.arn),
4464
4446
  id: __expectString(output.id),
4465
4447
  isDefault: __expectBoolean(output.isDefault),
4466
- match: output.match != null ? deserializeAws_restJson1RuleMatch(__expectUnion(output.match), context) : undefined,
4448
+ match: output.match != null ? de_RuleMatch(__expectUnion(output.match), context) : undefined,
4467
4449
  name: __expectString(output.name),
4468
4450
  priority: __expectInt32(output.priority),
4469
4451
  };
4470
4452
  };
4471
- const deserializeAws_restJson1RuleUpdateSuccessList = (output, context) => {
4453
+ const de_RuleUpdateSuccessList = (output, context) => {
4472
4454
  const retVal = (output || [])
4473
4455
  .filter((e) => e != null)
4474
4456
  .map((entry) => {
4475
4457
  if (entry === null) {
4476
4458
  return null;
4477
4459
  }
4478
- return deserializeAws_restJson1RuleUpdateSuccess(entry, context);
4460
+ return de_RuleUpdateSuccess(entry, context);
4479
4461
  });
4480
4462
  return retVal;
4481
4463
  };
4482
- const deserializeAws_restJson1SecurityGroupList = (output, context) => {
4464
+ const de_SecurityGroupList = (output, context) => {
4483
4465
  const retVal = (output || [])
4484
4466
  .filter((e) => e != null)
4485
4467
  .map((entry) => {
@@ -4490,7 +4472,7 @@ const deserializeAws_restJson1SecurityGroupList = (output, context) => {
4490
4472
  });
4491
4473
  return retVal;
4492
4474
  };
4493
- const deserializeAws_restJson1ServiceArnList = (output, context) => {
4475
+ const de_ServiceArnList = (output, context) => {
4494
4476
  const retVal = (output || [])
4495
4477
  .filter((e) => e != null)
4496
4478
  .map((entry) => {
@@ -4501,46 +4483,46 @@ const deserializeAws_restJson1ServiceArnList = (output, context) => {
4501
4483
  });
4502
4484
  return retVal;
4503
4485
  };
4504
- const deserializeAws_restJson1ServiceList = (output, context) => {
4486
+ const de_ServiceList = (output, context) => {
4505
4487
  const retVal = (output || [])
4506
4488
  .filter((e) => e != null)
4507
4489
  .map((entry) => {
4508
4490
  if (entry === null) {
4509
4491
  return null;
4510
4492
  }
4511
- return deserializeAws_restJson1ServiceSummary(entry, context);
4493
+ return de_ServiceSummary(entry, context);
4512
4494
  });
4513
4495
  return retVal;
4514
4496
  };
4515
- const deserializeAws_restJson1ServiceNetworkList = (output, context) => {
4497
+ const de_ServiceNetworkList = (output, context) => {
4516
4498
  const retVal = (output || [])
4517
4499
  .filter((e) => e != null)
4518
4500
  .map((entry) => {
4519
4501
  if (entry === null) {
4520
4502
  return null;
4521
4503
  }
4522
- return deserializeAws_restJson1ServiceNetworkSummary(entry, context);
4504
+ return de_ServiceNetworkSummary(entry, context);
4523
4505
  });
4524
4506
  return retVal;
4525
4507
  };
4526
- const deserializeAws_restJson1ServiceNetworkServiceAssociationList = (output, context) => {
4508
+ const de_ServiceNetworkServiceAssociationList = (output, context) => {
4527
4509
  const retVal = (output || [])
4528
4510
  .filter((e) => e != null)
4529
4511
  .map((entry) => {
4530
4512
  if (entry === null) {
4531
4513
  return null;
4532
4514
  }
4533
- return deserializeAws_restJson1ServiceNetworkServiceAssociationSummary(entry, context);
4515
+ return de_ServiceNetworkServiceAssociationSummary(entry, context);
4534
4516
  });
4535
4517
  return retVal;
4536
4518
  };
4537
- const deserializeAws_restJson1ServiceNetworkServiceAssociationSummary = (output, context) => {
4519
+ const de_ServiceNetworkServiceAssociationSummary = (output, context) => {
4538
4520
  return {
4539
4521
  arn: __expectString(output.arn),
4540
4522
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
4541
4523
  createdBy: __expectString(output.createdBy),
4542
4524
  customDomainName: __expectString(output.customDomainName),
4543
- dnsEntry: output.dnsEntry != null ? deserializeAws_restJson1DnsEntry(output.dnsEntry, context) : undefined,
4525
+ dnsEntry: output.dnsEntry != null ? de_DnsEntry(output.dnsEntry, context) : undefined,
4544
4526
  id: __expectString(output.id),
4545
4527
  serviceArn: __expectString(output.serviceArn),
4546
4528
  serviceId: __expectString(output.serviceId),
@@ -4551,7 +4533,7 @@ const deserializeAws_restJson1ServiceNetworkServiceAssociationSummary = (output,
4551
4533
  status: __expectString(output.status),
4552
4534
  };
4553
4535
  };
4554
- const deserializeAws_restJson1ServiceNetworkSummary = (output, context) => {
4536
+ const de_ServiceNetworkSummary = (output, context) => {
4555
4537
  return {
4556
4538
  arn: __expectString(output.arn),
4557
4539
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
@@ -4564,18 +4546,18 @@ const deserializeAws_restJson1ServiceNetworkSummary = (output, context) => {
4564
4546
  numberOfAssociatedVPCs: __expectLong(output.numberOfAssociatedVPCs),
4565
4547
  };
4566
4548
  };
4567
- const deserializeAws_restJson1ServiceNetworkVpcAssociationList = (output, context) => {
4549
+ const de_ServiceNetworkVpcAssociationList = (output, context) => {
4568
4550
  const retVal = (output || [])
4569
4551
  .filter((e) => e != null)
4570
4552
  .map((entry) => {
4571
4553
  if (entry === null) {
4572
4554
  return null;
4573
4555
  }
4574
- return deserializeAws_restJson1ServiceNetworkVpcAssociationSummary(entry, context);
4556
+ return de_ServiceNetworkVpcAssociationSummary(entry, context);
4575
4557
  });
4576
4558
  return retVal;
4577
4559
  };
4578
- const deserializeAws_restJson1ServiceNetworkVpcAssociationSummary = (output, context) => {
4560
+ const de_ServiceNetworkVpcAssociationSummary = (output, context) => {
4579
4561
  return {
4580
4562
  arn: __expectString(output.arn),
4581
4563
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
@@ -4591,12 +4573,12 @@ const deserializeAws_restJson1ServiceNetworkVpcAssociationSummary = (output, con
4591
4573
  vpcId: __expectString(output.vpcId),
4592
4574
  };
4593
4575
  };
4594
- const deserializeAws_restJson1ServiceSummary = (output, context) => {
4576
+ const de_ServiceSummary = (output, context) => {
4595
4577
  return {
4596
4578
  arn: __expectString(output.arn),
4597
4579
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
4598
4580
  customDomainName: __expectString(output.customDomainName),
4599
- dnsEntry: output.dnsEntry != null ? deserializeAws_restJson1DnsEntry(output.dnsEntry, context) : undefined,
4581
+ dnsEntry: output.dnsEntry != null ? de_DnsEntry(output.dnsEntry, context) : undefined,
4600
4582
  id: __expectString(output.id),
4601
4583
  lastUpdatedAt: output.lastUpdatedAt != null
4602
4584
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdatedAt))
@@ -4605,7 +4587,7 @@ const deserializeAws_restJson1ServiceSummary = (output, context) => {
4605
4587
  status: __expectString(output.status),
4606
4588
  };
4607
4589
  };
4608
- const deserializeAws_restJson1TagMap = (output, context) => {
4590
+ const de_TagMap = (output, context) => {
4609
4591
  return Object.entries(output).reduce((acc, [key, value]) => {
4610
4592
  if (value === null) {
4611
4593
  return acc;
@@ -4614,13 +4596,13 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4614
4596
  return acc;
4615
4597
  }, {});
4616
4598
  };
4617
- const deserializeAws_restJson1Target = (output, context) => {
4599
+ const de_Target = (output, context) => {
4618
4600
  return {
4619
4601
  id: __expectString(output.id),
4620
4602
  port: __expectInt32(output.port),
4621
4603
  };
4622
4604
  };
4623
- const deserializeAws_restJson1TargetFailure = (output, context) => {
4605
+ const de_TargetFailure = (output, context) => {
4624
4606
  return {
4625
4607
  failureCode: __expectString(output.failureCode),
4626
4608
  failureMessage: __expectString(output.failureMessage),
@@ -4628,20 +4610,20 @@ const deserializeAws_restJson1TargetFailure = (output, context) => {
4628
4610
  port: __expectInt32(output.port),
4629
4611
  };
4630
4612
  };
4631
- const deserializeAws_restJson1TargetFailureList = (output, context) => {
4613
+ const de_TargetFailureList = (output, context) => {
4632
4614
  const retVal = (output || [])
4633
4615
  .filter((e) => e != null)
4634
4616
  .map((entry) => {
4635
4617
  if (entry === null) {
4636
4618
  return null;
4637
4619
  }
4638
- return deserializeAws_restJson1TargetFailure(entry, context);
4620
+ return de_TargetFailure(entry, context);
4639
4621
  });
4640
4622
  return retVal;
4641
4623
  };
4642
- const deserializeAws_restJson1TargetGroupConfig = (output, context) => {
4624
+ const de_TargetGroupConfig = (output, context) => {
4643
4625
  return {
4644
- healthCheck: output.healthCheck != null ? deserializeAws_restJson1HealthCheckConfig(output.healthCheck, context) : undefined,
4626
+ healthCheck: output.healthCheck != null ? de_HealthCheckConfig(output.healthCheck, context) : undefined,
4645
4627
  ipAddressType: __expectString(output.ipAddressType),
4646
4628
  port: __expectInt32(output.port),
4647
4629
  protocol: __expectString(output.protocol),
@@ -4649,18 +4631,18 @@ const deserializeAws_restJson1TargetGroupConfig = (output, context) => {
4649
4631
  vpcIdentifier: __expectString(output.vpcIdentifier),
4650
4632
  };
4651
4633
  };
4652
- const deserializeAws_restJson1TargetGroupList = (output, context) => {
4634
+ const de_TargetGroupList = (output, context) => {
4653
4635
  const retVal = (output || [])
4654
4636
  .filter((e) => e != null)
4655
4637
  .map((entry) => {
4656
4638
  if (entry === null) {
4657
4639
  return null;
4658
4640
  }
4659
- return deserializeAws_restJson1TargetGroupSummary(entry, context);
4641
+ return de_TargetGroupSummary(entry, context);
4660
4642
  });
4661
4643
  return retVal;
4662
4644
  };
4663
- const deserializeAws_restJson1TargetGroupSummary = (output, context) => {
4645
+ const de_TargetGroupSummary = (output, context) => {
4664
4646
  return {
4665
4647
  arn: __expectString(output.arn),
4666
4648
  createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
@@ -4672,24 +4654,24 @@ const deserializeAws_restJson1TargetGroupSummary = (output, context) => {
4672
4654
  name: __expectString(output.name),
4673
4655
  port: __expectInt32(output.port),
4674
4656
  protocol: __expectString(output.protocol),
4675
- serviceArns: output.serviceArns != null ? deserializeAws_restJson1ServiceArnList(output.serviceArns, context) : undefined,
4657
+ serviceArns: output.serviceArns != null ? de_ServiceArnList(output.serviceArns, context) : undefined,
4676
4658
  status: __expectString(output.status),
4677
4659
  type: __expectString(output.type),
4678
4660
  vpcIdentifier: __expectString(output.vpcIdentifier),
4679
4661
  };
4680
4662
  };
4681
- const deserializeAws_restJson1TargetList = (output, context) => {
4663
+ const de_TargetList = (output, context) => {
4682
4664
  const retVal = (output || [])
4683
4665
  .filter((e) => e != null)
4684
4666
  .map((entry) => {
4685
4667
  if (entry === null) {
4686
4668
  return null;
4687
4669
  }
4688
- return deserializeAws_restJson1Target(entry, context);
4670
+ return de_Target(entry, context);
4689
4671
  });
4690
4672
  return retVal;
4691
4673
  };
4692
- const deserializeAws_restJson1TargetSummary = (output, context) => {
4674
+ const de_TargetSummary = (output, context) => {
4693
4675
  return {
4694
4676
  id: __expectString(output.id),
4695
4677
  port: __expectInt32(output.port),
@@ -4697,48 +4679,48 @@ const deserializeAws_restJson1TargetSummary = (output, context) => {
4697
4679
  status: __expectString(output.status),
4698
4680
  };
4699
4681
  };
4700
- const deserializeAws_restJson1TargetSummaryList = (output, context) => {
4682
+ const de_TargetSummaryList = (output, context) => {
4701
4683
  const retVal = (output || [])
4702
4684
  .filter((e) => e != null)
4703
4685
  .map((entry) => {
4704
4686
  if (entry === null) {
4705
4687
  return null;
4706
4688
  }
4707
- return deserializeAws_restJson1TargetSummary(entry, context);
4689
+ return de_TargetSummary(entry, context);
4708
4690
  });
4709
4691
  return retVal;
4710
4692
  };
4711
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
4693
+ const de_ValidationExceptionField = (output, context) => {
4712
4694
  return {
4713
4695
  message: __expectString(output.message),
4714
4696
  name: __expectString(output.name),
4715
4697
  };
4716
4698
  };
4717
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
4699
+ const de_ValidationExceptionFieldList = (output, context) => {
4718
4700
  const retVal = (output || [])
4719
4701
  .filter((e) => e != null)
4720
4702
  .map((entry) => {
4721
4703
  if (entry === null) {
4722
4704
  return null;
4723
4705
  }
4724
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
4706
+ return de_ValidationExceptionField(entry, context);
4725
4707
  });
4726
4708
  return retVal;
4727
4709
  };
4728
- const deserializeAws_restJson1WeightedTargetGroup = (output, context) => {
4710
+ const de_WeightedTargetGroup = (output, context) => {
4729
4711
  return {
4730
4712
  targetGroupIdentifier: __expectString(output.targetGroupIdentifier),
4731
4713
  weight: __expectInt32(output.weight),
4732
4714
  };
4733
4715
  };
4734
- const deserializeAws_restJson1WeightedTargetGroupList = (output, context) => {
4716
+ const de_WeightedTargetGroupList = (output, context) => {
4735
4717
  const retVal = (output || [])
4736
4718
  .filter((e) => e != null)
4737
4719
  .map((entry) => {
4738
4720
  if (entry === null) {
4739
4721
  return null;
4740
4722
  }
4741
- return deserializeAws_restJson1WeightedTargetGroup(entry, context);
4723
+ return de_WeightedTargetGroup(entry, context);
4742
4724
  });
4743
4725
  return retVal;
4744
4726
  };