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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +6 -6
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_restJson1UpdateServiceNetworkCommand = exports.serializeAws_restJson1UpdateServiceCommand = exports.serializeAws_restJson1UpdateRuleCommand = exports.serializeAws_restJson1UpdateListenerCommand = exports.serializeAws_restJson1UpdateAccessLogSubscriptionCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RegisterTargetsCommand = exports.serializeAws_restJson1PutResourcePolicyCommand = exports.serializeAws_restJson1PutAuthPolicyCommand = exports.serializeAws_restJson1ListTargetsCommand = exports.serializeAws_restJson1ListTargetGroupsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListServicesCommand = exports.serializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = exports.serializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = exports.serializeAws_restJson1ListServiceNetworksCommand = exports.serializeAws_restJson1ListRulesCommand = exports.serializeAws_restJson1ListListenersCommand = exports.serializeAws_restJson1ListAccessLogSubscriptionsCommand = exports.serializeAws_restJson1GetTargetGroupCommand = exports.serializeAws_restJson1GetServiceNetworkVpcAssociationCommand = exports.serializeAws_restJson1GetServiceNetworkServiceAssociationCommand = exports.serializeAws_restJson1GetServiceNetworkCommand = exports.serializeAws_restJson1GetServiceCommand = exports.serializeAws_restJson1GetRuleCommand = exports.serializeAws_restJson1GetResourcePolicyCommand = exports.serializeAws_restJson1GetListenerCommand = exports.serializeAws_restJson1GetAuthPolicyCommand = exports.serializeAws_restJson1GetAccessLogSubscriptionCommand = exports.serializeAws_restJson1DeregisterTargetsCommand = exports.serializeAws_restJson1DeleteTargetGroupCommand = exports.serializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = exports.serializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = exports.serializeAws_restJson1DeleteServiceNetworkCommand = exports.serializeAws_restJson1DeleteServiceCommand = exports.serializeAws_restJson1DeleteRuleCommand = exports.serializeAws_restJson1DeleteResourcePolicyCommand = exports.serializeAws_restJson1DeleteListenerCommand = exports.serializeAws_restJson1DeleteAuthPolicyCommand = exports.serializeAws_restJson1DeleteAccessLogSubscriptionCommand = exports.serializeAws_restJson1CreateTargetGroupCommand = exports.serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = exports.serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = exports.serializeAws_restJson1CreateServiceNetworkCommand = exports.serializeAws_restJson1CreateServiceCommand = exports.serializeAws_restJson1CreateRuleCommand = exports.serializeAws_restJson1CreateListenerCommand = exports.serializeAws_restJson1CreateAccessLogSubscriptionCommand = exports.serializeAws_restJson1BatchUpdateRuleCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateRuleCommand = exports.deserializeAws_restJson1UpdateListenerCommand = exports.deserializeAws_restJson1UpdateAccessLogSubscriptionCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RegisterTargetsCommand = exports.deserializeAws_restJson1PutResourcePolicyCommand = exports.deserializeAws_restJson1PutAuthPolicyCommand = exports.deserializeAws_restJson1ListTargetsCommand = exports.deserializeAws_restJson1ListTargetGroupsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListServicesCommand = exports.deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = exports.deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = exports.deserializeAws_restJson1ListServiceNetworksCommand = exports.deserializeAws_restJson1ListRulesCommand = exports.deserializeAws_restJson1ListListenersCommand = exports.deserializeAws_restJson1ListAccessLogSubscriptionsCommand = exports.deserializeAws_restJson1GetTargetGroupCommand = exports.deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = exports.deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand = exports.deserializeAws_restJson1GetServiceNetworkCommand = exports.deserializeAws_restJson1GetServiceCommand = exports.deserializeAws_restJson1GetRuleCommand = exports.deserializeAws_restJson1GetResourcePolicyCommand = exports.deserializeAws_restJson1GetListenerCommand = exports.deserializeAws_restJson1GetAuthPolicyCommand = exports.deserializeAws_restJson1GetAccessLogSubscriptionCommand = exports.deserializeAws_restJson1DeregisterTargetsCommand = exports.deserializeAws_restJson1DeleteTargetGroupCommand = exports.deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = exports.deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = exports.deserializeAws_restJson1DeleteServiceNetworkCommand = exports.deserializeAws_restJson1DeleteServiceCommand = exports.deserializeAws_restJson1DeleteRuleCommand = exports.deserializeAws_restJson1DeleteResourcePolicyCommand = exports.deserializeAws_restJson1DeleteListenerCommand = exports.deserializeAws_restJson1DeleteAuthPolicyCommand = exports.deserializeAws_restJson1DeleteAccessLogSubscriptionCommand = exports.deserializeAws_restJson1CreateTargetGroupCommand = exports.deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = exports.deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = exports.deserializeAws_restJson1CreateServiceNetworkCommand = exports.deserializeAws_restJson1CreateServiceCommand = exports.deserializeAws_restJson1CreateRuleCommand = exports.deserializeAws_restJson1CreateListenerCommand = exports.deserializeAws_restJson1CreateAccessLogSubscriptionCommand = exports.deserializeAws_restJson1BatchUpdateRuleCommand = exports.serializeAws_restJson1UpdateTargetGroupCommand = exports.serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = void 0;
5
- exports.deserializeAws_restJson1UpdateTargetGroupCommand = exports.deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = exports.deserializeAws_restJson1UpdateServiceNetworkCommand = exports.deserializeAws_restJson1UpdateServiceCommand = void 0;
3
+ exports.se_UpdateServiceNetworkCommand = exports.se_UpdateServiceCommand = exports.se_UpdateRuleCommand = exports.se_UpdateListenerCommand = exports.se_UpdateAccessLogSubscriptionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterTargetsCommand = exports.se_PutResourcePolicyCommand = exports.se_PutAuthPolicyCommand = exports.se_ListTargetsCommand = exports.se_ListTargetGroupsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServicesCommand = exports.se_ListServiceNetworkVpcAssociationsCommand = exports.se_ListServiceNetworkServiceAssociationsCommand = exports.se_ListServiceNetworksCommand = exports.se_ListRulesCommand = exports.se_ListListenersCommand = exports.se_ListAccessLogSubscriptionsCommand = exports.se_GetTargetGroupCommand = exports.se_GetServiceNetworkVpcAssociationCommand = exports.se_GetServiceNetworkServiceAssociationCommand = exports.se_GetServiceNetworkCommand = exports.se_GetServiceCommand = exports.se_GetRuleCommand = exports.se_GetResourcePolicyCommand = exports.se_GetListenerCommand = exports.se_GetAuthPolicyCommand = exports.se_GetAccessLogSubscriptionCommand = exports.se_DeregisterTargetsCommand = exports.se_DeleteTargetGroupCommand = exports.se_DeleteServiceNetworkVpcAssociationCommand = exports.se_DeleteServiceNetworkServiceAssociationCommand = exports.se_DeleteServiceNetworkCommand = exports.se_DeleteServiceCommand = exports.se_DeleteRuleCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteListenerCommand = exports.se_DeleteAuthPolicyCommand = exports.se_DeleteAccessLogSubscriptionCommand = exports.se_CreateTargetGroupCommand = exports.se_CreateServiceNetworkVpcAssociationCommand = exports.se_CreateServiceNetworkServiceAssociationCommand = exports.se_CreateServiceNetworkCommand = exports.se_CreateServiceCommand = exports.se_CreateRuleCommand = exports.se_CreateListenerCommand = exports.se_CreateAccessLogSubscriptionCommand = exports.se_BatchUpdateRuleCommand = void 0;
4
+ exports.de_UpdateRuleCommand = exports.de_UpdateListenerCommand = exports.de_UpdateAccessLogSubscriptionCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterTargetsCommand = exports.de_PutResourcePolicyCommand = exports.de_PutAuthPolicyCommand = exports.de_ListTargetsCommand = exports.de_ListTargetGroupsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListServicesCommand = exports.de_ListServiceNetworkVpcAssociationsCommand = exports.de_ListServiceNetworkServiceAssociationsCommand = exports.de_ListServiceNetworksCommand = exports.de_ListRulesCommand = exports.de_ListListenersCommand = exports.de_ListAccessLogSubscriptionsCommand = exports.de_GetTargetGroupCommand = exports.de_GetServiceNetworkVpcAssociationCommand = exports.de_GetServiceNetworkServiceAssociationCommand = exports.de_GetServiceNetworkCommand = exports.de_GetServiceCommand = exports.de_GetRuleCommand = exports.de_GetResourcePolicyCommand = exports.de_GetListenerCommand = exports.de_GetAuthPolicyCommand = exports.de_GetAccessLogSubscriptionCommand = exports.de_DeregisterTargetsCommand = exports.de_DeleteTargetGroupCommand = exports.de_DeleteServiceNetworkVpcAssociationCommand = exports.de_DeleteServiceNetworkServiceAssociationCommand = exports.de_DeleteServiceNetworkCommand = exports.de_DeleteServiceCommand = exports.de_DeleteRuleCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteListenerCommand = exports.de_DeleteAuthPolicyCommand = exports.de_DeleteAccessLogSubscriptionCommand = exports.de_CreateTargetGroupCommand = exports.de_CreateServiceNetworkVpcAssociationCommand = exports.de_CreateServiceNetworkServiceAssociationCommand = exports.de_CreateServiceNetworkCommand = exports.de_CreateServiceCommand = exports.de_CreateRuleCommand = exports.de_CreateListenerCommand = exports.de_CreateAccessLogSubscriptionCommand = exports.de_BatchUpdateRuleCommand = exports.se_UpdateTargetGroupCommand = exports.se_UpdateServiceNetworkVpcAssociationCommand = void 0;
5
+ exports.de_UpdateTargetGroupCommand = exports.de_UpdateServiceNetworkVpcAssociationCommand = exports.de_UpdateServiceNetworkCommand = exports.de_UpdateServiceCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const uuid_1 = require("uuid");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const VPCLatticeServiceException_1 = require("../models/VPCLatticeServiceException");
11
- const serializeAws_restJson1BatchUpdateRuleCommand = async (input, context) => {
11
+ const se_BatchUpdateRuleCommand = async (input, context) => {
12
12
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
13
13
  const headers = {
14
14
  "content-type": "application/json",
@@ -19,7 +19,7 @@ const serializeAws_restJson1BatchUpdateRuleCommand = async (input, context) => {
19
19
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "listenerIdentifier", () => input.listenerIdentifier, "{listenerIdentifier}", false);
20
20
  let body;
21
21
  body = JSON.stringify({
22
- ...(input.rules != null && { rules: serializeAws_restJson1RuleUpdateList(input.rules, context) }),
22
+ ...(input.rules != null && { rules: se_RuleUpdateList(input.rules, context) }),
23
23
  });
24
24
  return new protocol_http_1.HttpRequest({
25
25
  protocol,
@@ -31,8 +31,8 @@ const serializeAws_restJson1BatchUpdateRuleCommand = async (input, context) => {
31
31
  body,
32
32
  });
33
33
  };
34
- exports.serializeAws_restJson1BatchUpdateRuleCommand = serializeAws_restJson1BatchUpdateRuleCommand;
35
- const serializeAws_restJson1CreateAccessLogSubscriptionCommand = async (input, context) => {
34
+ exports.se_BatchUpdateRuleCommand = se_BatchUpdateRuleCommand;
35
+ const se_CreateAccessLogSubscriptionCommand = async (input, context) => {
36
36
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
37
37
  const headers = {
38
38
  "content-type": "application/json",
@@ -43,7 +43,7 @@ const serializeAws_restJson1CreateAccessLogSubscriptionCommand = async (input, c
43
43
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
44
44
  ...(input.destinationArn != null && { destinationArn: input.destinationArn }),
45
45
  ...(input.resourceIdentifier != null && { resourceIdentifier: input.resourceIdentifier }),
46
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
46
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
47
47
  });
48
48
  return new protocol_http_1.HttpRequest({
49
49
  protocol,
@@ -55,8 +55,8 @@ const serializeAws_restJson1CreateAccessLogSubscriptionCommand = async (input, c
55
55
  body,
56
56
  });
57
57
  };
58
- exports.serializeAws_restJson1CreateAccessLogSubscriptionCommand = serializeAws_restJson1CreateAccessLogSubscriptionCommand;
59
- const serializeAws_restJson1CreateListenerCommand = async (input, context) => {
58
+ exports.se_CreateAccessLogSubscriptionCommand = se_CreateAccessLogSubscriptionCommand;
59
+ const se_CreateListenerCommand = async (input, context) => {
60
60
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
61
61
  const headers = {
62
62
  "content-type": "application/json",
@@ -66,13 +66,11 @@ const serializeAws_restJson1CreateListenerCommand = async (input, context) => {
66
66
  let body;
67
67
  body = JSON.stringify({
68
68
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
69
- ...(input.defaultAction != null && {
70
- defaultAction: serializeAws_restJson1RuleAction(input.defaultAction, context),
71
- }),
69
+ ...(input.defaultAction != null && { defaultAction: se_RuleAction(input.defaultAction, context) }),
72
70
  ...(input.name != null && { name: input.name }),
73
71
  ...(input.port != null && { port: input.port }),
74
72
  ...(input.protocol != null && { protocol: input.protocol }),
75
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
73
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
76
74
  });
77
75
  return new protocol_http_1.HttpRequest({
78
76
  protocol,
@@ -84,8 +82,8 @@ const serializeAws_restJson1CreateListenerCommand = async (input, context) => {
84
82
  body,
85
83
  });
86
84
  };
87
- exports.serializeAws_restJson1CreateListenerCommand = serializeAws_restJson1CreateListenerCommand;
88
- const serializeAws_restJson1CreateRuleCommand = async (input, context) => {
85
+ exports.se_CreateListenerCommand = se_CreateListenerCommand;
86
+ const se_CreateRuleCommand = async (input, context) => {
89
87
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
90
88
  const headers = {
91
89
  "content-type": "application/json",
@@ -96,12 +94,12 @@ const serializeAws_restJson1CreateRuleCommand = async (input, context) => {
96
94
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "listenerIdentifier", () => input.listenerIdentifier, "{listenerIdentifier}", false);
97
95
  let body;
98
96
  body = JSON.stringify({
99
- ...(input.action != null && { action: serializeAws_restJson1RuleAction(input.action, context) }),
97
+ ...(input.action != null && { action: se_RuleAction(input.action, context) }),
100
98
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
101
- ...(input.match != null && { match: serializeAws_restJson1RuleMatch(input.match, context) }),
99
+ ...(input.match != null && { match: se_RuleMatch(input.match, context) }),
102
100
  ...(input.name != null && { name: input.name }),
103
101
  ...(input.priority != null && { priority: input.priority }),
104
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
102
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
105
103
  });
106
104
  return new protocol_http_1.HttpRequest({
107
105
  protocol,
@@ -113,8 +111,8 @@ const serializeAws_restJson1CreateRuleCommand = async (input, context) => {
113
111
  body,
114
112
  });
115
113
  };
116
- exports.serializeAws_restJson1CreateRuleCommand = serializeAws_restJson1CreateRuleCommand;
117
- const serializeAws_restJson1CreateServiceCommand = async (input, context) => {
114
+ exports.se_CreateRuleCommand = se_CreateRuleCommand;
115
+ const se_CreateServiceCommand = async (input, context) => {
118
116
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
119
117
  const headers = {
120
118
  "content-type": "application/json",
@@ -127,7 +125,7 @@ const serializeAws_restJson1CreateServiceCommand = async (input, context) => {
127
125
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
128
126
  ...(input.customDomainName != null && { customDomainName: input.customDomainName }),
129
127
  ...(input.name != null && { name: input.name }),
130
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
128
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
131
129
  });
132
130
  return new protocol_http_1.HttpRequest({
133
131
  protocol,
@@ -139,8 +137,8 @@ const serializeAws_restJson1CreateServiceCommand = async (input, context) => {
139
137
  body,
140
138
  });
141
139
  };
142
- exports.serializeAws_restJson1CreateServiceCommand = serializeAws_restJson1CreateServiceCommand;
143
- const serializeAws_restJson1CreateServiceNetworkCommand = async (input, context) => {
140
+ exports.se_CreateServiceCommand = se_CreateServiceCommand;
141
+ const se_CreateServiceNetworkCommand = async (input, context) => {
144
142
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
145
143
  const headers = {
146
144
  "content-type": "application/json",
@@ -151,7 +149,7 @@ const serializeAws_restJson1CreateServiceNetworkCommand = async (input, context)
151
149
  ...(input.authType != null && { authType: input.authType }),
152
150
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
153
151
  ...(input.name != null && { name: input.name }),
154
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
152
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
155
153
  });
156
154
  return new protocol_http_1.HttpRequest({
157
155
  protocol,
@@ -163,8 +161,8 @@ const serializeAws_restJson1CreateServiceNetworkCommand = async (input, context)
163
161
  body,
164
162
  });
165
163
  };
166
- exports.serializeAws_restJson1CreateServiceNetworkCommand = serializeAws_restJson1CreateServiceNetworkCommand;
167
- const serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = async (input, context) => {
164
+ exports.se_CreateServiceNetworkCommand = se_CreateServiceNetworkCommand;
165
+ const se_CreateServiceNetworkServiceAssociationCommand = async (input, context) => {
168
166
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
169
167
  const headers = {
170
168
  "content-type": "application/json",
@@ -175,7 +173,7 @@ const serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = asyn
175
173
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
176
174
  ...(input.serviceIdentifier != null && { serviceIdentifier: input.serviceIdentifier }),
177
175
  ...(input.serviceNetworkIdentifier != null && { serviceNetworkIdentifier: input.serviceNetworkIdentifier }),
178
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
176
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
179
177
  });
180
178
  return new protocol_http_1.HttpRequest({
181
179
  protocol,
@@ -187,8 +185,8 @@ const serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = asyn
187
185
  body,
188
186
  });
189
187
  };
190
- exports.serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = serializeAws_restJson1CreateServiceNetworkServiceAssociationCommand;
191
- const serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = async (input, context) => {
188
+ exports.se_CreateServiceNetworkServiceAssociationCommand = se_CreateServiceNetworkServiceAssociationCommand;
189
+ const se_CreateServiceNetworkVpcAssociationCommand = async (input, context) => {
192
190
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
193
191
  const headers = {
194
192
  "content-type": "application/json",
@@ -197,11 +195,9 @@ const serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = async (i
197
195
  let body;
198
196
  body = JSON.stringify({
199
197
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
200
- ...(input.securityGroupIds != null && {
201
- securityGroupIds: serializeAws_restJson1SecurityGroupList(input.securityGroupIds, context),
202
- }),
198
+ ...(input.securityGroupIds != null && { securityGroupIds: se_SecurityGroupList(input.securityGroupIds, context) }),
203
199
  ...(input.serviceNetworkIdentifier != null && { serviceNetworkIdentifier: input.serviceNetworkIdentifier }),
204
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
200
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
205
201
  ...(input.vpcIdentifier != null && { vpcIdentifier: input.vpcIdentifier }),
206
202
  });
207
203
  return new protocol_http_1.HttpRequest({
@@ -214,8 +210,8 @@ const serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = async (i
214
210
  body,
215
211
  });
216
212
  };
217
- exports.serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = serializeAws_restJson1CreateServiceNetworkVpcAssociationCommand;
218
- const serializeAws_restJson1CreateTargetGroupCommand = async (input, context) => {
213
+ exports.se_CreateServiceNetworkVpcAssociationCommand = se_CreateServiceNetworkVpcAssociationCommand;
214
+ const se_CreateTargetGroupCommand = async (input, context) => {
219
215
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
220
216
  const headers = {
221
217
  "content-type": "application/json",
@@ -224,9 +220,9 @@ const serializeAws_restJson1CreateTargetGroupCommand = async (input, context) =>
224
220
  let body;
225
221
  body = JSON.stringify({
226
222
  clientToken: input.clientToken ?? (0, uuid_1.v4)(),
227
- ...(input.config != null && { config: serializeAws_restJson1TargetGroupConfig(input.config, context) }),
223
+ ...(input.config != null && { config: se_TargetGroupConfig(input.config, context) }),
228
224
  ...(input.name != null && { name: input.name }),
229
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
225
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
230
226
  ...(input.type != null && { type: input.type }),
231
227
  });
232
228
  return new protocol_http_1.HttpRequest({
@@ -239,8 +235,8 @@ const serializeAws_restJson1CreateTargetGroupCommand = async (input, context) =>
239
235
  body,
240
236
  });
241
237
  };
242
- exports.serializeAws_restJson1CreateTargetGroupCommand = serializeAws_restJson1CreateTargetGroupCommand;
243
- const serializeAws_restJson1DeleteAccessLogSubscriptionCommand = async (input, context) => {
238
+ exports.se_CreateTargetGroupCommand = se_CreateTargetGroupCommand;
239
+ const se_DeleteAccessLogSubscriptionCommand = async (input, context) => {
244
240
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
245
241
  const headers = {};
246
242
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -257,8 +253,8 @@ const serializeAws_restJson1DeleteAccessLogSubscriptionCommand = async (input, c
257
253
  body,
258
254
  });
259
255
  };
260
- exports.serializeAws_restJson1DeleteAccessLogSubscriptionCommand = serializeAws_restJson1DeleteAccessLogSubscriptionCommand;
261
- const serializeAws_restJson1DeleteAuthPolicyCommand = async (input, context) => {
256
+ exports.se_DeleteAccessLogSubscriptionCommand = se_DeleteAccessLogSubscriptionCommand;
257
+ const se_DeleteAuthPolicyCommand = async (input, context) => {
262
258
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
263
259
  const headers = {};
264
260
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/authpolicy/{resourceIdentifier}";
@@ -274,8 +270,8 @@ const serializeAws_restJson1DeleteAuthPolicyCommand = async (input, context) =>
274
270
  body,
275
271
  });
276
272
  };
277
- exports.serializeAws_restJson1DeleteAuthPolicyCommand = serializeAws_restJson1DeleteAuthPolicyCommand;
278
- const serializeAws_restJson1DeleteListenerCommand = async (input, context) => {
273
+ exports.se_DeleteAuthPolicyCommand = se_DeleteAuthPolicyCommand;
274
+ const se_DeleteListenerCommand = async (input, context) => {
279
275
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
280
276
  const headers = {};
281
277
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -293,8 +289,8 @@ const serializeAws_restJson1DeleteListenerCommand = async (input, context) => {
293
289
  body,
294
290
  });
295
291
  };
296
- exports.serializeAws_restJson1DeleteListenerCommand = serializeAws_restJson1DeleteListenerCommand;
297
- const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context) => {
292
+ exports.se_DeleteListenerCommand = se_DeleteListenerCommand;
293
+ const se_DeleteResourcePolicyCommand = async (input, context) => {
298
294
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
299
295
  const headers = {};
300
296
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resourcepolicy/{resourceArn}";
@@ -310,8 +306,8 @@ const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context)
310
306
  body,
311
307
  });
312
308
  };
313
- exports.serializeAws_restJson1DeleteResourcePolicyCommand = serializeAws_restJson1DeleteResourcePolicyCommand;
314
- const serializeAws_restJson1DeleteRuleCommand = async (input, context) => {
309
+ exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
310
+ const se_DeleteRuleCommand = async (input, context) => {
315
311
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
316
312
  const headers = {};
317
313
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -330,8 +326,8 @@ const serializeAws_restJson1DeleteRuleCommand = async (input, context) => {
330
326
  body,
331
327
  });
332
328
  };
333
- exports.serializeAws_restJson1DeleteRuleCommand = serializeAws_restJson1DeleteRuleCommand;
334
- const serializeAws_restJson1DeleteServiceCommand = async (input, context) => {
329
+ exports.se_DeleteRuleCommand = se_DeleteRuleCommand;
330
+ const se_DeleteServiceCommand = async (input, context) => {
335
331
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
336
332
  const headers = {};
337
333
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services/{serviceIdentifier}";
@@ -347,8 +343,8 @@ const serializeAws_restJson1DeleteServiceCommand = async (input, context) => {
347
343
  body,
348
344
  });
349
345
  };
350
- exports.serializeAws_restJson1DeleteServiceCommand = serializeAws_restJson1DeleteServiceCommand;
351
- const serializeAws_restJson1DeleteServiceNetworkCommand = async (input, context) => {
346
+ exports.se_DeleteServiceCommand = se_DeleteServiceCommand;
347
+ const se_DeleteServiceNetworkCommand = async (input, context) => {
352
348
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
353
349
  const headers = {};
354
350
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -365,8 +361,8 @@ const serializeAws_restJson1DeleteServiceNetworkCommand = async (input, context)
365
361
  body,
366
362
  });
367
363
  };
368
- exports.serializeAws_restJson1DeleteServiceNetworkCommand = serializeAws_restJson1DeleteServiceNetworkCommand;
369
- const serializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = async (input, context) => {
364
+ exports.se_DeleteServiceNetworkCommand = se_DeleteServiceNetworkCommand;
365
+ const se_DeleteServiceNetworkServiceAssociationCommand = async (input, context) => {
370
366
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
371
367
  const headers = {};
372
368
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -383,8 +379,8 @@ const serializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = asyn
383
379
  body,
384
380
  });
385
381
  };
386
- exports.serializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = serializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand;
387
- const serializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = async (input, context) => {
382
+ exports.se_DeleteServiceNetworkServiceAssociationCommand = se_DeleteServiceNetworkServiceAssociationCommand;
383
+ const se_DeleteServiceNetworkVpcAssociationCommand = async (input, context) => {
388
384
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
389
385
  const headers = {};
390
386
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -401,8 +397,8 @@ const serializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = async (i
401
397
  body,
402
398
  });
403
399
  };
404
- exports.serializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = serializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand;
405
- const serializeAws_restJson1DeleteTargetGroupCommand = async (input, context) => {
400
+ exports.se_DeleteServiceNetworkVpcAssociationCommand = se_DeleteServiceNetworkVpcAssociationCommand;
401
+ const se_DeleteTargetGroupCommand = async (input, context) => {
406
402
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
407
403
  const headers = {};
408
404
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/targetgroups/{targetGroupIdentifier}";
@@ -418,8 +414,8 @@ const serializeAws_restJson1DeleteTargetGroupCommand = async (input, context) =>
418
414
  body,
419
415
  });
420
416
  };
421
- exports.serializeAws_restJson1DeleteTargetGroupCommand = serializeAws_restJson1DeleteTargetGroupCommand;
422
- const serializeAws_restJson1DeregisterTargetsCommand = async (input, context) => {
417
+ exports.se_DeleteTargetGroupCommand = se_DeleteTargetGroupCommand;
418
+ const se_DeregisterTargetsCommand = async (input, context) => {
423
419
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
424
420
  const headers = {
425
421
  "content-type": "application/json",
@@ -429,7 +425,7 @@ const serializeAws_restJson1DeregisterTargetsCommand = async (input, context) =>
429
425
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
430
426
  let body;
431
427
  body = JSON.stringify({
432
- ...(input.targets != null && { targets: serializeAws_restJson1TargetList(input.targets, context) }),
428
+ ...(input.targets != null && { targets: se_TargetList(input.targets, context) }),
433
429
  });
434
430
  return new protocol_http_1.HttpRequest({
435
431
  protocol,
@@ -441,8 +437,8 @@ const serializeAws_restJson1DeregisterTargetsCommand = async (input, context) =>
441
437
  body,
442
438
  });
443
439
  };
444
- exports.serializeAws_restJson1DeregisterTargetsCommand = serializeAws_restJson1DeregisterTargetsCommand;
445
- const serializeAws_restJson1GetAccessLogSubscriptionCommand = async (input, context) => {
440
+ exports.se_DeregisterTargetsCommand = se_DeregisterTargetsCommand;
441
+ const se_GetAccessLogSubscriptionCommand = async (input, context) => {
446
442
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
447
443
  const headers = {};
448
444
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -459,8 +455,8 @@ const serializeAws_restJson1GetAccessLogSubscriptionCommand = async (input, cont
459
455
  body,
460
456
  });
461
457
  };
462
- exports.serializeAws_restJson1GetAccessLogSubscriptionCommand = serializeAws_restJson1GetAccessLogSubscriptionCommand;
463
- const serializeAws_restJson1GetAuthPolicyCommand = async (input, context) => {
458
+ exports.se_GetAccessLogSubscriptionCommand = se_GetAccessLogSubscriptionCommand;
459
+ const se_GetAuthPolicyCommand = async (input, context) => {
464
460
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
465
461
  const headers = {};
466
462
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/authpolicy/{resourceIdentifier}";
@@ -476,8 +472,8 @@ const serializeAws_restJson1GetAuthPolicyCommand = async (input, context) => {
476
472
  body,
477
473
  });
478
474
  };
479
- exports.serializeAws_restJson1GetAuthPolicyCommand = serializeAws_restJson1GetAuthPolicyCommand;
480
- const serializeAws_restJson1GetListenerCommand = async (input, context) => {
475
+ exports.se_GetAuthPolicyCommand = se_GetAuthPolicyCommand;
476
+ const se_GetListenerCommand = async (input, context) => {
481
477
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
482
478
  const headers = {};
483
479
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -495,8 +491,8 @@ const serializeAws_restJson1GetListenerCommand = async (input, context) => {
495
491
  body,
496
492
  });
497
493
  };
498
- exports.serializeAws_restJson1GetListenerCommand = serializeAws_restJson1GetListenerCommand;
499
- const serializeAws_restJson1GetResourcePolicyCommand = async (input, context) => {
494
+ exports.se_GetListenerCommand = se_GetListenerCommand;
495
+ const se_GetResourcePolicyCommand = async (input, context) => {
500
496
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
501
497
  const headers = {};
502
498
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resourcepolicy/{resourceArn}";
@@ -512,8 +508,8 @@ const serializeAws_restJson1GetResourcePolicyCommand = async (input, context) =>
512
508
  body,
513
509
  });
514
510
  };
515
- exports.serializeAws_restJson1GetResourcePolicyCommand = serializeAws_restJson1GetResourcePolicyCommand;
516
- const serializeAws_restJson1GetRuleCommand = async (input, context) => {
511
+ exports.se_GetResourcePolicyCommand = se_GetResourcePolicyCommand;
512
+ const se_GetRuleCommand = async (input, context) => {
517
513
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
518
514
  const headers = {};
519
515
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -532,8 +528,8 @@ const serializeAws_restJson1GetRuleCommand = async (input, context) => {
532
528
  body,
533
529
  });
534
530
  };
535
- exports.serializeAws_restJson1GetRuleCommand = serializeAws_restJson1GetRuleCommand;
536
- const serializeAws_restJson1GetServiceCommand = async (input, context) => {
531
+ exports.se_GetRuleCommand = se_GetRuleCommand;
532
+ const se_GetServiceCommand = async (input, context) => {
537
533
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
538
534
  const headers = {};
539
535
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services/{serviceIdentifier}";
@@ -549,8 +545,8 @@ const serializeAws_restJson1GetServiceCommand = async (input, context) => {
549
545
  body,
550
546
  });
551
547
  };
552
- exports.serializeAws_restJson1GetServiceCommand = serializeAws_restJson1GetServiceCommand;
553
- const serializeAws_restJson1GetServiceNetworkCommand = async (input, context) => {
548
+ exports.se_GetServiceCommand = se_GetServiceCommand;
549
+ const se_GetServiceNetworkCommand = async (input, context) => {
554
550
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
555
551
  const headers = {};
556
552
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -567,8 +563,8 @@ const serializeAws_restJson1GetServiceNetworkCommand = async (input, context) =>
567
563
  body,
568
564
  });
569
565
  };
570
- exports.serializeAws_restJson1GetServiceNetworkCommand = serializeAws_restJson1GetServiceNetworkCommand;
571
- const serializeAws_restJson1GetServiceNetworkServiceAssociationCommand = async (input, context) => {
566
+ exports.se_GetServiceNetworkCommand = se_GetServiceNetworkCommand;
567
+ const se_GetServiceNetworkServiceAssociationCommand = async (input, context) => {
572
568
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
573
569
  const headers = {};
574
570
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -585,8 +581,8 @@ const serializeAws_restJson1GetServiceNetworkServiceAssociationCommand = async (
585
581
  body,
586
582
  });
587
583
  };
588
- exports.serializeAws_restJson1GetServiceNetworkServiceAssociationCommand = serializeAws_restJson1GetServiceNetworkServiceAssociationCommand;
589
- const serializeAws_restJson1GetServiceNetworkVpcAssociationCommand = async (input, context) => {
584
+ exports.se_GetServiceNetworkServiceAssociationCommand = se_GetServiceNetworkServiceAssociationCommand;
585
+ const se_GetServiceNetworkVpcAssociationCommand = async (input, context) => {
590
586
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
591
587
  const headers = {};
592
588
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -603,8 +599,8 @@ const serializeAws_restJson1GetServiceNetworkVpcAssociationCommand = async (inpu
603
599
  body,
604
600
  });
605
601
  };
606
- exports.serializeAws_restJson1GetServiceNetworkVpcAssociationCommand = serializeAws_restJson1GetServiceNetworkVpcAssociationCommand;
607
- const serializeAws_restJson1GetTargetGroupCommand = async (input, context) => {
602
+ exports.se_GetServiceNetworkVpcAssociationCommand = se_GetServiceNetworkVpcAssociationCommand;
603
+ const se_GetTargetGroupCommand = async (input, context) => {
608
604
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
609
605
  const headers = {};
610
606
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/targetgroups/{targetGroupIdentifier}";
@@ -620,8 +616,8 @@ const serializeAws_restJson1GetTargetGroupCommand = async (input, context) => {
620
616
  body,
621
617
  });
622
618
  };
623
- exports.serializeAws_restJson1GetTargetGroupCommand = serializeAws_restJson1GetTargetGroupCommand;
624
- const serializeAws_restJson1ListAccessLogSubscriptionsCommand = async (input, context) => {
619
+ exports.se_GetTargetGroupCommand = se_GetTargetGroupCommand;
620
+ const se_ListAccessLogSubscriptionsCommand = async (input, context) => {
625
621
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
626
622
  const headers = {};
627
623
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accesslogsubscriptions";
@@ -642,8 +638,8 @@ const serializeAws_restJson1ListAccessLogSubscriptionsCommand = async (input, co
642
638
  body,
643
639
  });
644
640
  };
645
- exports.serializeAws_restJson1ListAccessLogSubscriptionsCommand = serializeAws_restJson1ListAccessLogSubscriptionsCommand;
646
- const serializeAws_restJson1ListListenersCommand = async (input, context) => {
641
+ exports.se_ListAccessLogSubscriptionsCommand = se_ListAccessLogSubscriptionsCommand;
642
+ const se_ListListenersCommand = async (input, context) => {
647
643
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
648
644
  const headers = {};
649
645
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services/{serviceIdentifier}/listeners";
@@ -664,8 +660,8 @@ const serializeAws_restJson1ListListenersCommand = async (input, context) => {
664
660
  body,
665
661
  });
666
662
  };
667
- exports.serializeAws_restJson1ListListenersCommand = serializeAws_restJson1ListListenersCommand;
668
- const serializeAws_restJson1ListRulesCommand = async (input, context) => {
663
+ exports.se_ListListenersCommand = se_ListListenersCommand;
664
+ const se_ListRulesCommand = async (input, context) => {
669
665
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
670
666
  const headers = {};
671
667
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -688,8 +684,8 @@ const serializeAws_restJson1ListRulesCommand = async (input, context) => {
688
684
  body,
689
685
  });
690
686
  };
691
- exports.serializeAws_restJson1ListRulesCommand = serializeAws_restJson1ListRulesCommand;
692
- const serializeAws_restJson1ListServiceNetworksCommand = async (input, context) => {
687
+ exports.se_ListRulesCommand = se_ListRulesCommand;
688
+ const se_ListServiceNetworksCommand = async (input, context) => {
693
689
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
694
690
  const headers = {};
695
691
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworks";
@@ -709,8 +705,8 @@ const serializeAws_restJson1ListServiceNetworksCommand = async (input, context)
709
705
  body,
710
706
  });
711
707
  };
712
- exports.serializeAws_restJson1ListServiceNetworksCommand = serializeAws_restJson1ListServiceNetworksCommand;
713
- const serializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = async (input, context) => {
708
+ exports.se_ListServiceNetworksCommand = se_ListServiceNetworksCommand;
709
+ const se_ListServiceNetworkServiceAssociationsCommand = async (input, context) => {
714
710
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
715
711
  const headers = {};
716
712
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworkserviceassociations";
@@ -732,8 +728,8 @@ const serializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = async
732
728
  body,
733
729
  });
734
730
  };
735
- exports.serializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = serializeAws_restJson1ListServiceNetworkServiceAssociationsCommand;
736
- const serializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = async (input, context) => {
731
+ exports.se_ListServiceNetworkServiceAssociationsCommand = se_ListServiceNetworkServiceAssociationsCommand;
732
+ const se_ListServiceNetworkVpcAssociationsCommand = async (input, context) => {
737
733
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
738
734
  const headers = {};
739
735
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworkvpcassociations";
@@ -755,8 +751,8 @@ const serializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = async (in
755
751
  body,
756
752
  });
757
753
  };
758
- exports.serializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = serializeAws_restJson1ListServiceNetworkVpcAssociationsCommand;
759
- const serializeAws_restJson1ListServicesCommand = async (input, context) => {
754
+ exports.se_ListServiceNetworkVpcAssociationsCommand = se_ListServiceNetworkVpcAssociationsCommand;
755
+ const se_ListServicesCommand = async (input, context) => {
760
756
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
761
757
  const headers = {};
762
758
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/services";
@@ -776,8 +772,8 @@ const serializeAws_restJson1ListServicesCommand = async (input, context) => {
776
772
  body,
777
773
  });
778
774
  };
779
- exports.serializeAws_restJson1ListServicesCommand = serializeAws_restJson1ListServicesCommand;
780
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
775
+ exports.se_ListServicesCommand = se_ListServicesCommand;
776
+ const se_ListTagsForResourceCommand = async (input, context) => {
781
777
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
782
778
  const headers = {};
783
779
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -793,8 +789,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
793
789
  body,
794
790
  });
795
791
  };
796
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
797
- const serializeAws_restJson1ListTargetGroupsCommand = async (input, context) => {
792
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
793
+ const se_ListTargetGroupsCommand = async (input, context) => {
798
794
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
799
795
  const headers = {};
800
796
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/targetgroups";
@@ -816,8 +812,8 @@ const serializeAws_restJson1ListTargetGroupsCommand = async (input, context) =>
816
812
  body,
817
813
  });
818
814
  };
819
- exports.serializeAws_restJson1ListTargetGroupsCommand = serializeAws_restJson1ListTargetGroupsCommand;
820
- const serializeAws_restJson1ListTargetsCommand = async (input, context) => {
815
+ exports.se_ListTargetGroupsCommand = se_ListTargetGroupsCommand;
816
+ const se_ListTargetsCommand = async (input, context) => {
821
817
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
822
818
  const headers = {
823
819
  "content-type": "application/json",
@@ -831,7 +827,7 @@ const serializeAws_restJson1ListTargetsCommand = async (input, context) => {
831
827
  });
832
828
  let body;
833
829
  body = JSON.stringify({
834
- ...(input.targets != null && { targets: serializeAws_restJson1TargetList(input.targets, context) }),
830
+ ...(input.targets != null && { targets: se_TargetList(input.targets, context) }),
835
831
  });
836
832
  return new protocol_http_1.HttpRequest({
837
833
  protocol,
@@ -844,8 +840,8 @@ const serializeAws_restJson1ListTargetsCommand = async (input, context) => {
844
840
  body,
845
841
  });
846
842
  };
847
- exports.serializeAws_restJson1ListTargetsCommand = serializeAws_restJson1ListTargetsCommand;
848
- const serializeAws_restJson1PutAuthPolicyCommand = async (input, context) => {
843
+ exports.se_ListTargetsCommand = se_ListTargetsCommand;
844
+ const se_PutAuthPolicyCommand = async (input, context) => {
849
845
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
850
846
  const headers = {
851
847
  "content-type": "application/json",
@@ -866,8 +862,8 @@ const serializeAws_restJson1PutAuthPolicyCommand = async (input, context) => {
866
862
  body,
867
863
  });
868
864
  };
869
- exports.serializeAws_restJson1PutAuthPolicyCommand = serializeAws_restJson1PutAuthPolicyCommand;
870
- const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) => {
865
+ exports.se_PutAuthPolicyCommand = se_PutAuthPolicyCommand;
866
+ const se_PutResourcePolicyCommand = async (input, context) => {
871
867
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
872
868
  const headers = {
873
869
  "content-type": "application/json",
@@ -888,8 +884,8 @@ const serializeAws_restJson1PutResourcePolicyCommand = async (input, context) =>
888
884
  body,
889
885
  });
890
886
  };
891
- exports.serializeAws_restJson1PutResourcePolicyCommand = serializeAws_restJson1PutResourcePolicyCommand;
892
- const serializeAws_restJson1RegisterTargetsCommand = async (input, context) => {
887
+ exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
888
+ const se_RegisterTargetsCommand = async (input, context) => {
893
889
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
894
890
  const headers = {
895
891
  "content-type": "application/json",
@@ -899,7 +895,7 @@ const serializeAws_restJson1RegisterTargetsCommand = async (input, context) => {
899
895
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
900
896
  let body;
901
897
  body = JSON.stringify({
902
- ...(input.targets != null && { targets: serializeAws_restJson1TargetList(input.targets, context) }),
898
+ ...(input.targets != null && { targets: se_TargetList(input.targets, context) }),
903
899
  });
904
900
  return new protocol_http_1.HttpRequest({
905
901
  protocol,
@@ -911,8 +907,8 @@ const serializeAws_restJson1RegisterTargetsCommand = async (input, context) => {
911
907
  body,
912
908
  });
913
909
  };
914
- exports.serializeAws_restJson1RegisterTargetsCommand = serializeAws_restJson1RegisterTargetsCommand;
915
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
910
+ exports.se_RegisterTargetsCommand = se_RegisterTargetsCommand;
911
+ const se_TagResourceCommand = async (input, context) => {
916
912
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
917
913
  const headers = {
918
914
  "content-type": "application/json",
@@ -921,7 +917,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
921
917
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
922
918
  let body;
923
919
  body = JSON.stringify({
924
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
920
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
925
921
  });
926
922
  return new protocol_http_1.HttpRequest({
927
923
  protocol,
@@ -933,8 +929,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
933
929
  body,
934
930
  });
935
931
  };
936
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
937
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
932
+ exports.se_TagResourceCommand = se_TagResourceCommand;
933
+ const se_UntagResourceCommand = async (input, context) => {
938
934
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
939
935
  const headers = {};
940
936
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -957,8 +953,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
957
953
  body,
958
954
  });
959
955
  };
960
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
961
- const serializeAws_restJson1UpdateAccessLogSubscriptionCommand = async (input, context) => {
956
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
957
+ const se_UpdateAccessLogSubscriptionCommand = async (input, context) => {
962
958
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
963
959
  const headers = {
964
960
  "content-type": "application/json",
@@ -980,8 +976,8 @@ const serializeAws_restJson1UpdateAccessLogSubscriptionCommand = async (input, c
980
976
  body,
981
977
  });
982
978
  };
983
- exports.serializeAws_restJson1UpdateAccessLogSubscriptionCommand = serializeAws_restJson1UpdateAccessLogSubscriptionCommand;
984
- const serializeAws_restJson1UpdateListenerCommand = async (input, context) => {
979
+ exports.se_UpdateAccessLogSubscriptionCommand = se_UpdateAccessLogSubscriptionCommand;
980
+ const se_UpdateListenerCommand = async (input, context) => {
985
981
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
986
982
  const headers = {
987
983
  "content-type": "application/json",
@@ -992,9 +988,7 @@ const serializeAws_restJson1UpdateListenerCommand = async (input, context) => {
992
988
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "listenerIdentifier", () => input.listenerIdentifier, "{listenerIdentifier}", false);
993
989
  let body;
994
990
  body = JSON.stringify({
995
- ...(input.defaultAction != null && {
996
- defaultAction: serializeAws_restJson1RuleAction(input.defaultAction, context),
997
- }),
991
+ ...(input.defaultAction != null && { defaultAction: se_RuleAction(input.defaultAction, context) }),
998
992
  });
999
993
  return new protocol_http_1.HttpRequest({
1000
994
  protocol,
@@ -1006,8 +1000,8 @@ const serializeAws_restJson1UpdateListenerCommand = async (input, context) => {
1006
1000
  body,
1007
1001
  });
1008
1002
  };
1009
- exports.serializeAws_restJson1UpdateListenerCommand = serializeAws_restJson1UpdateListenerCommand;
1010
- const serializeAws_restJson1UpdateRuleCommand = async (input, context) => {
1003
+ exports.se_UpdateListenerCommand = se_UpdateListenerCommand;
1004
+ const se_UpdateRuleCommand = async (input, context) => {
1011
1005
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1012
1006
  const headers = {
1013
1007
  "content-type": "application/json",
@@ -1019,8 +1013,8 @@ const serializeAws_restJson1UpdateRuleCommand = async (input, context) => {
1019
1013
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ruleIdentifier", () => input.ruleIdentifier, "{ruleIdentifier}", false);
1020
1014
  let body;
1021
1015
  body = JSON.stringify({
1022
- ...(input.action != null && { action: serializeAws_restJson1RuleAction(input.action, context) }),
1023
- ...(input.match != null && { match: serializeAws_restJson1RuleMatch(input.match, context) }),
1016
+ ...(input.action != null && { action: se_RuleAction(input.action, context) }),
1017
+ ...(input.match != null && { match: se_RuleMatch(input.match, context) }),
1024
1018
  ...(input.priority != null && { priority: input.priority }),
1025
1019
  });
1026
1020
  return new protocol_http_1.HttpRequest({
@@ -1033,8 +1027,8 @@ const serializeAws_restJson1UpdateRuleCommand = async (input, context) => {
1033
1027
  body,
1034
1028
  });
1035
1029
  };
1036
- exports.serializeAws_restJson1UpdateRuleCommand = serializeAws_restJson1UpdateRuleCommand;
1037
- const serializeAws_restJson1UpdateServiceCommand = async (input, context) => {
1030
+ exports.se_UpdateRuleCommand = se_UpdateRuleCommand;
1031
+ const se_UpdateServiceCommand = async (input, context) => {
1038
1032
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1039
1033
  const headers = {
1040
1034
  "content-type": "application/json",
@@ -1056,8 +1050,8 @@ const serializeAws_restJson1UpdateServiceCommand = async (input, context) => {
1056
1050
  body,
1057
1051
  });
1058
1052
  };
1059
- exports.serializeAws_restJson1UpdateServiceCommand = serializeAws_restJson1UpdateServiceCommand;
1060
- const serializeAws_restJson1UpdateServiceNetworkCommand = async (input, context) => {
1053
+ exports.se_UpdateServiceCommand = se_UpdateServiceCommand;
1054
+ const se_UpdateServiceNetworkCommand = async (input, context) => {
1061
1055
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1062
1056
  const headers = {
1063
1057
  "content-type": "application/json",
@@ -1079,8 +1073,8 @@ const serializeAws_restJson1UpdateServiceNetworkCommand = async (input, context)
1079
1073
  body,
1080
1074
  });
1081
1075
  };
1082
- exports.serializeAws_restJson1UpdateServiceNetworkCommand = serializeAws_restJson1UpdateServiceNetworkCommand;
1083
- const serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = async (input, context) => {
1076
+ exports.se_UpdateServiceNetworkCommand = se_UpdateServiceNetworkCommand;
1077
+ const se_UpdateServiceNetworkVpcAssociationCommand = async (input, context) => {
1084
1078
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1085
1079
  const headers = {
1086
1080
  "content-type": "application/json",
@@ -1090,9 +1084,7 @@ const serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = async (i
1090
1084
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "serviceNetworkVpcAssociationIdentifier", () => input.serviceNetworkVpcAssociationIdentifier, "{serviceNetworkVpcAssociationIdentifier}", false);
1091
1085
  let body;
1092
1086
  body = JSON.stringify({
1093
- ...(input.securityGroupIds != null && {
1094
- securityGroupIds: serializeAws_restJson1SecurityGroupList(input.securityGroupIds, context),
1095
- }),
1087
+ ...(input.securityGroupIds != null && { securityGroupIds: se_SecurityGroupList(input.securityGroupIds, context) }),
1096
1088
  });
1097
1089
  return new protocol_http_1.HttpRequest({
1098
1090
  protocol,
@@ -1104,8 +1096,8 @@ const serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = async (i
1104
1096
  body,
1105
1097
  });
1106
1098
  };
1107
- exports.serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = serializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand;
1108
- const serializeAws_restJson1UpdateTargetGroupCommand = async (input, context) => {
1099
+ exports.se_UpdateServiceNetworkVpcAssociationCommand = se_UpdateServiceNetworkVpcAssociationCommand;
1100
+ const se_UpdateTargetGroupCommand = async (input, context) => {
1109
1101
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1110
1102
  const headers = {
1111
1103
  "content-type": "application/json",
@@ -1114,9 +1106,7 @@ const serializeAws_restJson1UpdateTargetGroupCommand = async (input, context) =>
1114
1106
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
1115
1107
  let body;
1116
1108
  body = JSON.stringify({
1117
- ...(input.healthCheck != null && {
1118
- healthCheck: serializeAws_restJson1HealthCheckConfig(input.healthCheck, context),
1119
- }),
1109
+ ...(input.healthCheck != null && { healthCheck: se_HealthCheckConfig(input.healthCheck, context) }),
1120
1110
  });
1121
1111
  return new protocol_http_1.HttpRequest({
1122
1112
  protocol,
@@ -1128,25 +1118,25 @@ const serializeAws_restJson1UpdateTargetGroupCommand = async (input, context) =>
1128
1118
  body,
1129
1119
  });
1130
1120
  };
1131
- exports.serializeAws_restJson1UpdateTargetGroupCommand = serializeAws_restJson1UpdateTargetGroupCommand;
1132
- const deserializeAws_restJson1BatchUpdateRuleCommand = async (output, context) => {
1121
+ exports.se_UpdateTargetGroupCommand = se_UpdateTargetGroupCommand;
1122
+ const de_BatchUpdateRuleCommand = async (output, context) => {
1133
1123
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1134
- return deserializeAws_restJson1BatchUpdateRuleCommandError(output, context);
1124
+ return de_BatchUpdateRuleCommandError(output, context);
1135
1125
  }
1136
1126
  const contents = map({
1137
1127
  $metadata: deserializeMetadata(output),
1138
1128
  });
1139
1129
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1140
1130
  if (data.successful != null) {
1141
- contents.successful = deserializeAws_restJson1RuleUpdateSuccessList(data.successful, context);
1131
+ contents.successful = de_RuleUpdateSuccessList(data.successful, context);
1142
1132
  }
1143
1133
  if (data.unsuccessful != null) {
1144
- contents.unsuccessful = deserializeAws_restJson1RuleUpdateFailureList(data.unsuccessful, context);
1134
+ contents.unsuccessful = de_RuleUpdateFailureList(data.unsuccessful, context);
1145
1135
  }
1146
1136
  return contents;
1147
1137
  };
1148
- exports.deserializeAws_restJson1BatchUpdateRuleCommand = deserializeAws_restJson1BatchUpdateRuleCommand;
1149
- const deserializeAws_restJson1BatchUpdateRuleCommandError = async (output, context) => {
1138
+ exports.de_BatchUpdateRuleCommand = de_BatchUpdateRuleCommand;
1139
+ const de_BatchUpdateRuleCommandError = async (output, context) => {
1150
1140
  const parsedOutput = {
1151
1141
  ...output,
1152
1142
  body: await parseErrorBody(output.body, context),
@@ -1155,22 +1145,22 @@ const deserializeAws_restJson1BatchUpdateRuleCommandError = async (output, conte
1155
1145
  switch (errorCode) {
1156
1146
  case "AccessDeniedException":
1157
1147
  case "com.amazonaws.vpclattice#AccessDeniedException":
1158
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1148
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1159
1149
  case "ConflictException":
1160
1150
  case "com.amazonaws.vpclattice#ConflictException":
1161
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1151
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1162
1152
  case "InternalServerException":
1163
1153
  case "com.amazonaws.vpclattice#InternalServerException":
1164
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1154
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1165
1155
  case "ResourceNotFoundException":
1166
1156
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1167
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1157
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1168
1158
  case "ThrottlingException":
1169
1159
  case "com.amazonaws.vpclattice#ThrottlingException":
1170
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1160
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1171
1161
  case "ValidationException":
1172
1162
  case "com.amazonaws.vpclattice#ValidationException":
1173
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1163
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1174
1164
  default:
1175
1165
  const parsedBody = parsedOutput.body;
1176
1166
  (0, smithy_client_1.throwDefaultError)({
@@ -1181,9 +1171,9 @@ const deserializeAws_restJson1BatchUpdateRuleCommandError = async (output, conte
1181
1171
  });
1182
1172
  }
1183
1173
  };
1184
- const deserializeAws_restJson1CreateAccessLogSubscriptionCommand = async (output, context) => {
1174
+ const de_CreateAccessLogSubscriptionCommand = async (output, context) => {
1185
1175
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1186
- return deserializeAws_restJson1CreateAccessLogSubscriptionCommandError(output, context);
1176
+ return de_CreateAccessLogSubscriptionCommandError(output, context);
1187
1177
  }
1188
1178
  const contents = map({
1189
1179
  $metadata: deserializeMetadata(output),
@@ -1206,8 +1196,8 @@ const deserializeAws_restJson1CreateAccessLogSubscriptionCommand = async (output
1206
1196
  }
1207
1197
  return contents;
1208
1198
  };
1209
- exports.deserializeAws_restJson1CreateAccessLogSubscriptionCommand = deserializeAws_restJson1CreateAccessLogSubscriptionCommand;
1210
- const deserializeAws_restJson1CreateAccessLogSubscriptionCommandError = async (output, context) => {
1199
+ exports.de_CreateAccessLogSubscriptionCommand = de_CreateAccessLogSubscriptionCommand;
1200
+ const de_CreateAccessLogSubscriptionCommandError = async (output, context) => {
1211
1201
  const parsedOutput = {
1212
1202
  ...output,
1213
1203
  body: await parseErrorBody(output.body, context),
@@ -1216,22 +1206,22 @@ const deserializeAws_restJson1CreateAccessLogSubscriptionCommandError = async (o
1216
1206
  switch (errorCode) {
1217
1207
  case "AccessDeniedException":
1218
1208
  case "com.amazonaws.vpclattice#AccessDeniedException":
1219
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1209
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1220
1210
  case "ConflictException":
1221
1211
  case "com.amazonaws.vpclattice#ConflictException":
1222
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1212
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1223
1213
  case "InternalServerException":
1224
1214
  case "com.amazonaws.vpclattice#InternalServerException":
1225
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1215
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1226
1216
  case "ResourceNotFoundException":
1227
1217
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1228
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1218
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1229
1219
  case "ThrottlingException":
1230
1220
  case "com.amazonaws.vpclattice#ThrottlingException":
1231
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1221
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1232
1222
  case "ValidationException":
1233
1223
  case "com.amazonaws.vpclattice#ValidationException":
1234
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1224
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1235
1225
  default:
1236
1226
  const parsedBody = parsedOutput.body;
1237
1227
  (0, smithy_client_1.throwDefaultError)({
@@ -1242,9 +1232,9 @@ const deserializeAws_restJson1CreateAccessLogSubscriptionCommandError = async (o
1242
1232
  });
1243
1233
  }
1244
1234
  };
1245
- const deserializeAws_restJson1CreateListenerCommand = async (output, context) => {
1235
+ const de_CreateListenerCommand = async (output, context) => {
1246
1236
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1247
- return deserializeAws_restJson1CreateListenerCommandError(output, context);
1237
+ return de_CreateListenerCommandError(output, context);
1248
1238
  }
1249
1239
  const contents = map({
1250
1240
  $metadata: deserializeMetadata(output),
@@ -1254,7 +1244,7 @@ const deserializeAws_restJson1CreateListenerCommand = async (output, context) =>
1254
1244
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
1255
1245
  }
1256
1246
  if (data.defaultAction != null) {
1257
- contents.defaultAction = deserializeAws_restJson1RuleAction((0, smithy_client_1.expectUnion)(data.defaultAction), context);
1247
+ contents.defaultAction = de_RuleAction((0, smithy_client_1.expectUnion)(data.defaultAction), context);
1258
1248
  }
1259
1249
  if (data.id != null) {
1260
1250
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -1276,8 +1266,8 @@ const deserializeAws_restJson1CreateListenerCommand = async (output, context) =>
1276
1266
  }
1277
1267
  return contents;
1278
1268
  };
1279
- exports.deserializeAws_restJson1CreateListenerCommand = deserializeAws_restJson1CreateListenerCommand;
1280
- const deserializeAws_restJson1CreateListenerCommandError = async (output, context) => {
1269
+ exports.de_CreateListenerCommand = de_CreateListenerCommand;
1270
+ const de_CreateListenerCommandError = async (output, context) => {
1281
1271
  const parsedOutput = {
1282
1272
  ...output,
1283
1273
  body: await parseErrorBody(output.body, context),
@@ -1286,25 +1276,25 @@ const deserializeAws_restJson1CreateListenerCommandError = async (output, contex
1286
1276
  switch (errorCode) {
1287
1277
  case "AccessDeniedException":
1288
1278
  case "com.amazonaws.vpclattice#AccessDeniedException":
1289
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1279
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1290
1280
  case "ConflictException":
1291
1281
  case "com.amazonaws.vpclattice#ConflictException":
1292
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1282
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1293
1283
  case "InternalServerException":
1294
1284
  case "com.amazonaws.vpclattice#InternalServerException":
1295
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1285
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1296
1286
  case "ResourceNotFoundException":
1297
1287
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1298
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1288
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1299
1289
  case "ServiceQuotaExceededException":
1300
1290
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1301
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1291
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1302
1292
  case "ThrottlingException":
1303
1293
  case "com.amazonaws.vpclattice#ThrottlingException":
1304
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1294
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1305
1295
  case "ValidationException":
1306
1296
  case "com.amazonaws.vpclattice#ValidationException":
1307
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1297
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1308
1298
  default:
1309
1299
  const parsedBody = parsedOutput.body;
1310
1300
  (0, smithy_client_1.throwDefaultError)({
@@ -1315,16 +1305,16 @@ const deserializeAws_restJson1CreateListenerCommandError = async (output, contex
1315
1305
  });
1316
1306
  }
1317
1307
  };
1318
- const deserializeAws_restJson1CreateRuleCommand = async (output, context) => {
1308
+ const de_CreateRuleCommand = async (output, context) => {
1319
1309
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1320
- return deserializeAws_restJson1CreateRuleCommandError(output, context);
1310
+ return de_CreateRuleCommandError(output, context);
1321
1311
  }
1322
1312
  const contents = map({
1323
1313
  $metadata: deserializeMetadata(output),
1324
1314
  });
1325
1315
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1326
1316
  if (data.action != null) {
1327
- contents.action = deserializeAws_restJson1RuleAction((0, smithy_client_1.expectUnion)(data.action), context);
1317
+ contents.action = de_RuleAction((0, smithy_client_1.expectUnion)(data.action), context);
1328
1318
  }
1329
1319
  if (data.arn != null) {
1330
1320
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
@@ -1333,7 +1323,7 @@ const deserializeAws_restJson1CreateRuleCommand = async (output, context) => {
1333
1323
  contents.id = (0, smithy_client_1.expectString)(data.id);
1334
1324
  }
1335
1325
  if (data.match != null) {
1336
- contents.match = deserializeAws_restJson1RuleMatch((0, smithy_client_1.expectUnion)(data.match), context);
1326
+ contents.match = de_RuleMatch((0, smithy_client_1.expectUnion)(data.match), context);
1337
1327
  }
1338
1328
  if (data.name != null) {
1339
1329
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -1343,8 +1333,8 @@ const deserializeAws_restJson1CreateRuleCommand = async (output, context) => {
1343
1333
  }
1344
1334
  return contents;
1345
1335
  };
1346
- exports.deserializeAws_restJson1CreateRuleCommand = deserializeAws_restJson1CreateRuleCommand;
1347
- const deserializeAws_restJson1CreateRuleCommandError = async (output, context) => {
1336
+ exports.de_CreateRuleCommand = de_CreateRuleCommand;
1337
+ const de_CreateRuleCommandError = async (output, context) => {
1348
1338
  const parsedOutput = {
1349
1339
  ...output,
1350
1340
  body: await parseErrorBody(output.body, context),
@@ -1353,25 +1343,25 @@ const deserializeAws_restJson1CreateRuleCommandError = async (output, context) =
1353
1343
  switch (errorCode) {
1354
1344
  case "AccessDeniedException":
1355
1345
  case "com.amazonaws.vpclattice#AccessDeniedException":
1356
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1346
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1357
1347
  case "ConflictException":
1358
1348
  case "com.amazonaws.vpclattice#ConflictException":
1359
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1349
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1360
1350
  case "InternalServerException":
1361
1351
  case "com.amazonaws.vpclattice#InternalServerException":
1362
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1352
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1363
1353
  case "ResourceNotFoundException":
1364
1354
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1365
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1355
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1366
1356
  case "ServiceQuotaExceededException":
1367
1357
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1368
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1358
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1369
1359
  case "ThrottlingException":
1370
1360
  case "com.amazonaws.vpclattice#ThrottlingException":
1371
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1361
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1372
1362
  case "ValidationException":
1373
1363
  case "com.amazonaws.vpclattice#ValidationException":
1374
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1364
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1375
1365
  default:
1376
1366
  const parsedBody = parsedOutput.body;
1377
1367
  (0, smithy_client_1.throwDefaultError)({
@@ -1382,9 +1372,9 @@ const deserializeAws_restJson1CreateRuleCommandError = async (output, context) =
1382
1372
  });
1383
1373
  }
1384
1374
  };
1385
- const deserializeAws_restJson1CreateServiceCommand = async (output, context) => {
1375
+ const de_CreateServiceCommand = async (output, context) => {
1386
1376
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1387
- return deserializeAws_restJson1CreateServiceCommandError(output, context);
1377
+ return de_CreateServiceCommandError(output, context);
1388
1378
  }
1389
1379
  const contents = map({
1390
1380
  $metadata: deserializeMetadata(output),
@@ -1403,7 +1393,7 @@ const deserializeAws_restJson1CreateServiceCommand = async (output, context) =>
1403
1393
  contents.customDomainName = (0, smithy_client_1.expectString)(data.customDomainName);
1404
1394
  }
1405
1395
  if (data.dnsEntry != null) {
1406
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
1396
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
1407
1397
  }
1408
1398
  if (data.id != null) {
1409
1399
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -1416,8 +1406,8 @@ const deserializeAws_restJson1CreateServiceCommand = async (output, context) =>
1416
1406
  }
1417
1407
  return contents;
1418
1408
  };
1419
- exports.deserializeAws_restJson1CreateServiceCommand = deserializeAws_restJson1CreateServiceCommand;
1420
- const deserializeAws_restJson1CreateServiceCommandError = async (output, context) => {
1409
+ exports.de_CreateServiceCommand = de_CreateServiceCommand;
1410
+ const de_CreateServiceCommandError = async (output, context) => {
1421
1411
  const parsedOutput = {
1422
1412
  ...output,
1423
1413
  body: await parseErrorBody(output.body, context),
@@ -1426,25 +1416,25 @@ const deserializeAws_restJson1CreateServiceCommandError = async (output, context
1426
1416
  switch (errorCode) {
1427
1417
  case "AccessDeniedException":
1428
1418
  case "com.amazonaws.vpclattice#AccessDeniedException":
1429
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1419
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1430
1420
  case "ConflictException":
1431
1421
  case "com.amazonaws.vpclattice#ConflictException":
1432
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1422
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1433
1423
  case "InternalServerException":
1434
1424
  case "com.amazonaws.vpclattice#InternalServerException":
1435
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1425
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1436
1426
  case "ResourceNotFoundException":
1437
1427
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1438
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1428
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1439
1429
  case "ServiceQuotaExceededException":
1440
1430
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1441
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1431
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1442
1432
  case "ThrottlingException":
1443
1433
  case "com.amazonaws.vpclattice#ThrottlingException":
1444
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1434
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1445
1435
  case "ValidationException":
1446
1436
  case "com.amazonaws.vpclattice#ValidationException":
1447
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1437
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1448
1438
  default:
1449
1439
  const parsedBody = parsedOutput.body;
1450
1440
  (0, smithy_client_1.throwDefaultError)({
@@ -1455,9 +1445,9 @@ const deserializeAws_restJson1CreateServiceCommandError = async (output, context
1455
1445
  });
1456
1446
  }
1457
1447
  };
1458
- const deserializeAws_restJson1CreateServiceNetworkCommand = async (output, context) => {
1448
+ const de_CreateServiceNetworkCommand = async (output, context) => {
1459
1449
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1460
- return deserializeAws_restJson1CreateServiceNetworkCommandError(output, context);
1450
+ return de_CreateServiceNetworkCommandError(output, context);
1461
1451
  }
1462
1452
  const contents = map({
1463
1453
  $metadata: deserializeMetadata(output),
@@ -1477,8 +1467,8 @@ const deserializeAws_restJson1CreateServiceNetworkCommand = async (output, conte
1477
1467
  }
1478
1468
  return contents;
1479
1469
  };
1480
- exports.deserializeAws_restJson1CreateServiceNetworkCommand = deserializeAws_restJson1CreateServiceNetworkCommand;
1481
- const deserializeAws_restJson1CreateServiceNetworkCommandError = async (output, context) => {
1470
+ exports.de_CreateServiceNetworkCommand = de_CreateServiceNetworkCommand;
1471
+ const de_CreateServiceNetworkCommandError = async (output, context) => {
1482
1472
  const parsedOutput = {
1483
1473
  ...output,
1484
1474
  body: await parseErrorBody(output.body, context),
@@ -1487,25 +1477,25 @@ const deserializeAws_restJson1CreateServiceNetworkCommandError = async (output,
1487
1477
  switch (errorCode) {
1488
1478
  case "AccessDeniedException":
1489
1479
  case "com.amazonaws.vpclattice#AccessDeniedException":
1490
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1480
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
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
  (0, smithy_client_1.throwDefaultError)({
@@ -1516,9 +1506,9 @@ const deserializeAws_restJson1CreateServiceNetworkCommandError = async (output,
1516
1506
  });
1517
1507
  }
1518
1508
  };
1519
- const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = async (output, context) => {
1509
+ const de_CreateServiceNetworkServiceAssociationCommand = async (output, context) => {
1520
1510
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1521
- return deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError(output, context);
1511
+ return de_CreateServiceNetworkServiceAssociationCommandError(output, context);
1522
1512
  }
1523
1513
  const contents = map({
1524
1514
  $metadata: deserializeMetadata(output),
@@ -1534,7 +1524,7 @@ const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = as
1534
1524
  contents.customDomainName = (0, smithy_client_1.expectString)(data.customDomainName);
1535
1525
  }
1536
1526
  if (data.dnsEntry != null) {
1537
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
1527
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
1538
1528
  }
1539
1529
  if (data.id != null) {
1540
1530
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -1544,8 +1534,8 @@ const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = as
1544
1534
  }
1545
1535
  return contents;
1546
1536
  };
1547
- exports.deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommand = deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommand;
1548
- const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError = async (output, context) => {
1537
+ exports.de_CreateServiceNetworkServiceAssociationCommand = de_CreateServiceNetworkServiceAssociationCommand;
1538
+ const de_CreateServiceNetworkServiceAssociationCommandError = async (output, context) => {
1549
1539
  const parsedOutput = {
1550
1540
  ...output,
1551
1541
  body: await parseErrorBody(output.body, context),
@@ -1554,22 +1544,22 @@ const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError
1554
1544
  switch (errorCode) {
1555
1545
  case "ConflictException":
1556
1546
  case "com.amazonaws.vpclattice#ConflictException":
1557
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1547
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1558
1548
  case "InternalServerException":
1559
1549
  case "com.amazonaws.vpclattice#InternalServerException":
1560
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1550
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1561
1551
  case "ResourceNotFoundException":
1562
1552
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1563
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1553
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1564
1554
  case "ServiceQuotaExceededException":
1565
1555
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1566
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1556
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1567
1557
  case "ThrottlingException":
1568
1558
  case "com.amazonaws.vpclattice#ThrottlingException":
1569
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1559
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1570
1560
  case "ValidationException":
1571
1561
  case "com.amazonaws.vpclattice#ValidationException":
1572
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1562
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1573
1563
  default:
1574
1564
  const parsedBody = parsedOutput.body;
1575
1565
  (0, smithy_client_1.throwDefaultError)({
@@ -1580,9 +1570,9 @@ const deserializeAws_restJson1CreateServiceNetworkServiceAssociationCommandError
1580
1570
  });
1581
1571
  }
1582
1572
  };
1583
- const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = async (output, context) => {
1573
+ const de_CreateServiceNetworkVpcAssociationCommand = async (output, context) => {
1584
1574
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1585
- return deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError(output, context);
1575
+ return de_CreateServiceNetworkVpcAssociationCommandError(output, context);
1586
1576
  }
1587
1577
  const contents = map({
1588
1578
  $metadata: deserializeMetadata(output),
@@ -1598,15 +1588,15 @@ const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = async
1598
1588
  contents.id = (0, smithy_client_1.expectString)(data.id);
1599
1589
  }
1600
1590
  if (data.securityGroupIds != null) {
1601
- contents.securityGroupIds = deserializeAws_restJson1SecurityGroupList(data.securityGroupIds, context);
1591
+ contents.securityGroupIds = de_SecurityGroupList(data.securityGroupIds, context);
1602
1592
  }
1603
1593
  if (data.status != null) {
1604
1594
  contents.status = (0, smithy_client_1.expectString)(data.status);
1605
1595
  }
1606
1596
  return contents;
1607
1597
  };
1608
- exports.deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommand = deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommand;
1609
- const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError = async (output, context) => {
1598
+ exports.de_CreateServiceNetworkVpcAssociationCommand = de_CreateServiceNetworkVpcAssociationCommand;
1599
+ const de_CreateServiceNetworkVpcAssociationCommandError = async (output, context) => {
1610
1600
  const parsedOutput = {
1611
1601
  ...output,
1612
1602
  body: await parseErrorBody(output.body, context),
@@ -1615,25 +1605,25 @@ const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError = a
1615
1605
  switch (errorCode) {
1616
1606
  case "AccessDeniedException":
1617
1607
  case "com.amazonaws.vpclattice#AccessDeniedException":
1618
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1608
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1619
1609
  case "ConflictException":
1620
1610
  case "com.amazonaws.vpclattice#ConflictException":
1621
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1611
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1622
1612
  case "InternalServerException":
1623
1613
  case "com.amazonaws.vpclattice#InternalServerException":
1624
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1614
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1625
1615
  case "ResourceNotFoundException":
1626
1616
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1627
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1617
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1628
1618
  case "ServiceQuotaExceededException":
1629
1619
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1630
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1620
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1631
1621
  case "ThrottlingException":
1632
1622
  case "com.amazonaws.vpclattice#ThrottlingException":
1633
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1623
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1634
1624
  case "ValidationException":
1635
1625
  case "com.amazonaws.vpclattice#ValidationException":
1636
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1626
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1637
1627
  default:
1638
1628
  const parsedBody = parsedOutput.body;
1639
1629
  (0, smithy_client_1.throwDefaultError)({
@@ -1644,9 +1634,9 @@ const deserializeAws_restJson1CreateServiceNetworkVpcAssociationCommandError = a
1644
1634
  });
1645
1635
  }
1646
1636
  };
1647
- const deserializeAws_restJson1CreateTargetGroupCommand = async (output, context) => {
1637
+ const de_CreateTargetGroupCommand = async (output, context) => {
1648
1638
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1649
- return deserializeAws_restJson1CreateTargetGroupCommandError(output, context);
1639
+ return de_CreateTargetGroupCommandError(output, context);
1650
1640
  }
1651
1641
  const contents = map({
1652
1642
  $metadata: deserializeMetadata(output),
@@ -1656,7 +1646,7 @@ const deserializeAws_restJson1CreateTargetGroupCommand = async (output, context)
1656
1646
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
1657
1647
  }
1658
1648
  if (data.config != null) {
1659
- contents.config = deserializeAws_restJson1TargetGroupConfig(data.config, context);
1649
+ contents.config = de_TargetGroupConfig(data.config, context);
1660
1650
  }
1661
1651
  if (data.id != null) {
1662
1652
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -1672,8 +1662,8 @@ const deserializeAws_restJson1CreateTargetGroupCommand = async (output, context)
1672
1662
  }
1673
1663
  return contents;
1674
1664
  };
1675
- exports.deserializeAws_restJson1CreateTargetGroupCommand = deserializeAws_restJson1CreateTargetGroupCommand;
1676
- const deserializeAws_restJson1CreateTargetGroupCommandError = async (output, context) => {
1665
+ exports.de_CreateTargetGroupCommand = de_CreateTargetGroupCommand;
1666
+ const de_CreateTargetGroupCommandError = async (output, context) => {
1677
1667
  const parsedOutput = {
1678
1668
  ...output,
1679
1669
  body: await parseErrorBody(output.body, context),
@@ -1682,25 +1672,25 @@ const deserializeAws_restJson1CreateTargetGroupCommandError = async (output, con
1682
1672
  switch (errorCode) {
1683
1673
  case "AccessDeniedException":
1684
1674
  case "com.amazonaws.vpclattice#AccessDeniedException":
1685
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1675
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1686
1676
  case "ConflictException":
1687
1677
  case "com.amazonaws.vpclattice#ConflictException":
1688
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1678
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1689
1679
  case "InternalServerException":
1690
1680
  case "com.amazonaws.vpclattice#InternalServerException":
1691
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1681
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1692
1682
  case "ResourceNotFoundException":
1693
1683
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1694
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1684
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1695
1685
  case "ServiceQuotaExceededException":
1696
1686
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
1697
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1687
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1698
1688
  case "ThrottlingException":
1699
1689
  case "com.amazonaws.vpclattice#ThrottlingException":
1700
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1690
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1701
1691
  case "ValidationException":
1702
1692
  case "com.amazonaws.vpclattice#ValidationException":
1703
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1693
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1704
1694
  default:
1705
1695
  const parsedBody = parsedOutput.body;
1706
1696
  (0, smithy_client_1.throwDefaultError)({
@@ -1711,9 +1701,9 @@ const deserializeAws_restJson1CreateTargetGroupCommandError = async (output, con
1711
1701
  });
1712
1702
  }
1713
1703
  };
1714
- const deserializeAws_restJson1DeleteAccessLogSubscriptionCommand = async (output, context) => {
1704
+ const de_DeleteAccessLogSubscriptionCommand = async (output, context) => {
1715
1705
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1716
- return deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError(output, context);
1706
+ return de_DeleteAccessLogSubscriptionCommandError(output, context);
1717
1707
  }
1718
1708
  const contents = map({
1719
1709
  $metadata: deserializeMetadata(output),
@@ -1721,8 +1711,8 @@ const deserializeAws_restJson1DeleteAccessLogSubscriptionCommand = async (output
1721
1711
  await collectBody(output.body, context);
1722
1712
  return contents;
1723
1713
  };
1724
- exports.deserializeAws_restJson1DeleteAccessLogSubscriptionCommand = deserializeAws_restJson1DeleteAccessLogSubscriptionCommand;
1725
- const deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError = async (output, context) => {
1714
+ exports.de_DeleteAccessLogSubscriptionCommand = de_DeleteAccessLogSubscriptionCommand;
1715
+ const de_DeleteAccessLogSubscriptionCommandError = async (output, context) => {
1726
1716
  const parsedOutput = {
1727
1717
  ...output,
1728
1718
  body: await parseErrorBody(output.body, context),
@@ -1731,19 +1721,19 @@ const deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError = async (o
1731
1721
  switch (errorCode) {
1732
1722
  case "AccessDeniedException":
1733
1723
  case "com.amazonaws.vpclattice#AccessDeniedException":
1734
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1724
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1735
1725
  case "InternalServerException":
1736
1726
  case "com.amazonaws.vpclattice#InternalServerException":
1737
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1727
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1738
1728
  case "ResourceNotFoundException":
1739
1729
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1740
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1730
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1741
1731
  case "ThrottlingException":
1742
1732
  case "com.amazonaws.vpclattice#ThrottlingException":
1743
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1733
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1744
1734
  case "ValidationException":
1745
1735
  case "com.amazonaws.vpclattice#ValidationException":
1746
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1736
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1747
1737
  default:
1748
1738
  const parsedBody = parsedOutput.body;
1749
1739
  (0, smithy_client_1.throwDefaultError)({
@@ -1754,9 +1744,9 @@ const deserializeAws_restJson1DeleteAccessLogSubscriptionCommandError = async (o
1754
1744
  });
1755
1745
  }
1756
1746
  };
1757
- const deserializeAws_restJson1DeleteAuthPolicyCommand = async (output, context) => {
1747
+ const de_DeleteAuthPolicyCommand = async (output, context) => {
1758
1748
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1759
- return deserializeAws_restJson1DeleteAuthPolicyCommandError(output, context);
1749
+ return de_DeleteAuthPolicyCommandError(output, context);
1760
1750
  }
1761
1751
  const contents = map({
1762
1752
  $metadata: deserializeMetadata(output),
@@ -1764,8 +1754,8 @@ const deserializeAws_restJson1DeleteAuthPolicyCommand = async (output, context)
1764
1754
  await collectBody(output.body, context);
1765
1755
  return contents;
1766
1756
  };
1767
- exports.deserializeAws_restJson1DeleteAuthPolicyCommand = deserializeAws_restJson1DeleteAuthPolicyCommand;
1768
- const deserializeAws_restJson1DeleteAuthPolicyCommandError = async (output, context) => {
1757
+ exports.de_DeleteAuthPolicyCommand = de_DeleteAuthPolicyCommand;
1758
+ const de_DeleteAuthPolicyCommandError = async (output, context) => {
1769
1759
  const parsedOutput = {
1770
1760
  ...output,
1771
1761
  body: await parseErrorBody(output.body, context),
@@ -1774,19 +1764,19 @@ const deserializeAws_restJson1DeleteAuthPolicyCommandError = async (output, cont
1774
1764
  switch (errorCode) {
1775
1765
  case "AccessDeniedException":
1776
1766
  case "com.amazonaws.vpclattice#AccessDeniedException":
1777
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1767
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1778
1768
  case "InternalServerException":
1779
1769
  case "com.amazonaws.vpclattice#InternalServerException":
1780
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1770
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1781
1771
  case "ResourceNotFoundException":
1782
1772
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1783
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1773
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1784
1774
  case "ThrottlingException":
1785
1775
  case "com.amazonaws.vpclattice#ThrottlingException":
1786
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1776
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1787
1777
  case "ValidationException":
1788
1778
  case "com.amazonaws.vpclattice#ValidationException":
1789
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1779
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1790
1780
  default:
1791
1781
  const parsedBody = parsedOutput.body;
1792
1782
  (0, smithy_client_1.throwDefaultError)({
@@ -1797,9 +1787,9 @@ const deserializeAws_restJson1DeleteAuthPolicyCommandError = async (output, cont
1797
1787
  });
1798
1788
  }
1799
1789
  };
1800
- const deserializeAws_restJson1DeleteListenerCommand = async (output, context) => {
1790
+ const de_DeleteListenerCommand = async (output, context) => {
1801
1791
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1802
- return deserializeAws_restJson1DeleteListenerCommandError(output, context);
1792
+ return de_DeleteListenerCommandError(output, context);
1803
1793
  }
1804
1794
  const contents = map({
1805
1795
  $metadata: deserializeMetadata(output),
@@ -1807,8 +1797,8 @@ const deserializeAws_restJson1DeleteListenerCommand = async (output, context) =>
1807
1797
  await collectBody(output.body, context);
1808
1798
  return contents;
1809
1799
  };
1810
- exports.deserializeAws_restJson1DeleteListenerCommand = deserializeAws_restJson1DeleteListenerCommand;
1811
- const deserializeAws_restJson1DeleteListenerCommandError = async (output, context) => {
1800
+ exports.de_DeleteListenerCommand = de_DeleteListenerCommand;
1801
+ const de_DeleteListenerCommandError = async (output, context) => {
1812
1802
  const parsedOutput = {
1813
1803
  ...output,
1814
1804
  body: await parseErrorBody(output.body, context),
@@ -1817,22 +1807,22 @@ const deserializeAws_restJson1DeleteListenerCommandError = async (output, contex
1817
1807
  switch (errorCode) {
1818
1808
  case "AccessDeniedException":
1819
1809
  case "com.amazonaws.vpclattice#AccessDeniedException":
1820
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1810
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1821
1811
  case "ConflictException":
1822
1812
  case "com.amazonaws.vpclattice#ConflictException":
1823
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1813
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1824
1814
  case "InternalServerException":
1825
1815
  case "com.amazonaws.vpclattice#InternalServerException":
1826
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1816
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1827
1817
  case "ResourceNotFoundException":
1828
1818
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1829
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1819
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1830
1820
  case "ThrottlingException":
1831
1821
  case "com.amazonaws.vpclattice#ThrottlingException":
1832
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1822
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1833
1823
  case "ValidationException":
1834
1824
  case "com.amazonaws.vpclattice#ValidationException":
1835
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1825
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1836
1826
  default:
1837
1827
  const parsedBody = parsedOutput.body;
1838
1828
  (0, smithy_client_1.throwDefaultError)({
@@ -1843,9 +1833,9 @@ const deserializeAws_restJson1DeleteListenerCommandError = async (output, contex
1843
1833
  });
1844
1834
  }
1845
1835
  };
1846
- const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
1836
+ const de_DeleteResourcePolicyCommand = async (output, context) => {
1847
1837
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1848
- return deserializeAws_restJson1DeleteResourcePolicyCommandError(output, context);
1838
+ return de_DeleteResourcePolicyCommandError(output, context);
1849
1839
  }
1850
1840
  const contents = map({
1851
1841
  $metadata: deserializeMetadata(output),
@@ -1853,8 +1843,8 @@ const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, conte
1853
1843
  await collectBody(output.body, context);
1854
1844
  return contents;
1855
1845
  };
1856
- exports.deserializeAws_restJson1DeleteResourcePolicyCommand = deserializeAws_restJson1DeleteResourcePolicyCommand;
1857
- const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output, context) => {
1846
+ exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand;
1847
+ const de_DeleteResourcePolicyCommandError = async (output, context) => {
1858
1848
  const parsedOutput = {
1859
1849
  ...output,
1860
1850
  body: await parseErrorBody(output.body, context),
@@ -1863,19 +1853,19 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
1863
1853
  switch (errorCode) {
1864
1854
  case "AccessDeniedException":
1865
1855
  case "com.amazonaws.vpclattice#AccessDeniedException":
1866
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1856
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1867
1857
  case "InternalServerException":
1868
1858
  case "com.amazonaws.vpclattice#InternalServerException":
1869
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1859
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1870
1860
  case "ResourceNotFoundException":
1871
1861
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1872
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1862
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1873
1863
  case "ThrottlingException":
1874
1864
  case "com.amazonaws.vpclattice#ThrottlingException":
1875
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1865
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1876
1866
  case "ValidationException":
1877
1867
  case "com.amazonaws.vpclattice#ValidationException":
1878
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1868
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1879
1869
  default:
1880
1870
  const parsedBody = parsedOutput.body;
1881
1871
  (0, smithy_client_1.throwDefaultError)({
@@ -1886,9 +1876,9 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
1886
1876
  });
1887
1877
  }
1888
1878
  };
1889
- const deserializeAws_restJson1DeleteRuleCommand = async (output, context) => {
1879
+ const de_DeleteRuleCommand = async (output, context) => {
1890
1880
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1891
- return deserializeAws_restJson1DeleteRuleCommandError(output, context);
1881
+ return de_DeleteRuleCommandError(output, context);
1892
1882
  }
1893
1883
  const contents = map({
1894
1884
  $metadata: deserializeMetadata(output),
@@ -1896,8 +1886,8 @@ const deserializeAws_restJson1DeleteRuleCommand = async (output, context) => {
1896
1886
  await collectBody(output.body, context);
1897
1887
  return contents;
1898
1888
  };
1899
- exports.deserializeAws_restJson1DeleteRuleCommand = deserializeAws_restJson1DeleteRuleCommand;
1900
- const deserializeAws_restJson1DeleteRuleCommandError = async (output, context) => {
1889
+ exports.de_DeleteRuleCommand = de_DeleteRuleCommand;
1890
+ const de_DeleteRuleCommandError = async (output, context) => {
1901
1891
  const parsedOutput = {
1902
1892
  ...output,
1903
1893
  body: await parseErrorBody(output.body, context),
@@ -1906,22 +1896,22 @@ const deserializeAws_restJson1DeleteRuleCommandError = async (output, context) =
1906
1896
  switch (errorCode) {
1907
1897
  case "AccessDeniedException":
1908
1898
  case "com.amazonaws.vpclattice#AccessDeniedException":
1909
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1899
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1910
1900
  case "ConflictException":
1911
1901
  case "com.amazonaws.vpclattice#ConflictException":
1912
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1902
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1913
1903
  case "InternalServerException":
1914
1904
  case "com.amazonaws.vpclattice#InternalServerException":
1915
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1905
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1916
1906
  case "ResourceNotFoundException":
1917
1907
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1918
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1908
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1919
1909
  case "ThrottlingException":
1920
1910
  case "com.amazonaws.vpclattice#ThrottlingException":
1921
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1911
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1922
1912
  case "ValidationException":
1923
1913
  case "com.amazonaws.vpclattice#ValidationException":
1924
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1914
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1925
1915
  default:
1926
1916
  const parsedBody = parsedOutput.body;
1927
1917
  (0, smithy_client_1.throwDefaultError)({
@@ -1932,9 +1922,9 @@ const deserializeAws_restJson1DeleteRuleCommandError = async (output, context) =
1932
1922
  });
1933
1923
  }
1934
1924
  };
1935
- const deserializeAws_restJson1DeleteServiceCommand = async (output, context) => {
1925
+ const de_DeleteServiceCommand = async (output, context) => {
1936
1926
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1937
- return deserializeAws_restJson1DeleteServiceCommandError(output, context);
1927
+ return de_DeleteServiceCommandError(output, context);
1938
1928
  }
1939
1929
  const contents = map({
1940
1930
  $metadata: deserializeMetadata(output),
@@ -1954,8 +1944,8 @@ const deserializeAws_restJson1DeleteServiceCommand = async (output, context) =>
1954
1944
  }
1955
1945
  return contents;
1956
1946
  };
1957
- exports.deserializeAws_restJson1DeleteServiceCommand = deserializeAws_restJson1DeleteServiceCommand;
1958
- const deserializeAws_restJson1DeleteServiceCommandError = async (output, context) => {
1947
+ exports.de_DeleteServiceCommand = de_DeleteServiceCommand;
1948
+ const de_DeleteServiceCommandError = async (output, context) => {
1959
1949
  const parsedOutput = {
1960
1950
  ...output,
1961
1951
  body: await parseErrorBody(output.body, context),
@@ -1964,22 +1954,22 @@ const deserializeAws_restJson1DeleteServiceCommandError = async (output, context
1964
1954
  switch (errorCode) {
1965
1955
  case "AccessDeniedException":
1966
1956
  case "com.amazonaws.vpclattice#AccessDeniedException":
1967
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1957
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1968
1958
  case "ConflictException":
1969
1959
  case "com.amazonaws.vpclattice#ConflictException":
1970
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1960
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1971
1961
  case "InternalServerException":
1972
1962
  case "com.amazonaws.vpclattice#InternalServerException":
1973
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1963
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1974
1964
  case "ResourceNotFoundException":
1975
1965
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
1976
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1966
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1977
1967
  case "ThrottlingException":
1978
1968
  case "com.amazonaws.vpclattice#ThrottlingException":
1979
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1969
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1980
1970
  case "ValidationException":
1981
1971
  case "com.amazonaws.vpclattice#ValidationException":
1982
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1972
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1983
1973
  default:
1984
1974
  const parsedBody = parsedOutput.body;
1985
1975
  (0, smithy_client_1.throwDefaultError)({
@@ -1990,9 +1980,9 @@ const deserializeAws_restJson1DeleteServiceCommandError = async (output, context
1990
1980
  });
1991
1981
  }
1992
1982
  };
1993
- const deserializeAws_restJson1DeleteServiceNetworkCommand = async (output, context) => {
1983
+ const de_DeleteServiceNetworkCommand = async (output, context) => {
1994
1984
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1995
- return deserializeAws_restJson1DeleteServiceNetworkCommandError(output, context);
1985
+ return de_DeleteServiceNetworkCommandError(output, context);
1996
1986
  }
1997
1987
  const contents = map({
1998
1988
  $metadata: deserializeMetadata(output),
@@ -2000,8 +1990,8 @@ const deserializeAws_restJson1DeleteServiceNetworkCommand = async (output, conte
2000
1990
  await collectBody(output.body, context);
2001
1991
  return contents;
2002
1992
  };
2003
- exports.deserializeAws_restJson1DeleteServiceNetworkCommand = deserializeAws_restJson1DeleteServiceNetworkCommand;
2004
- const deserializeAws_restJson1DeleteServiceNetworkCommandError = async (output, context) => {
1993
+ exports.de_DeleteServiceNetworkCommand = de_DeleteServiceNetworkCommand;
1994
+ const de_DeleteServiceNetworkCommandError = async (output, context) => {
2005
1995
  const parsedOutput = {
2006
1996
  ...output,
2007
1997
  body: await parseErrorBody(output.body, context),
@@ -2010,22 +2000,22 @@ const deserializeAws_restJson1DeleteServiceNetworkCommandError = async (output,
2010
2000
  switch (errorCode) {
2011
2001
  case "AccessDeniedException":
2012
2002
  case "com.amazonaws.vpclattice#AccessDeniedException":
2013
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2003
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2014
2004
  case "ConflictException":
2015
2005
  case "com.amazonaws.vpclattice#ConflictException":
2016
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2006
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2017
2007
  case "InternalServerException":
2018
2008
  case "com.amazonaws.vpclattice#InternalServerException":
2019
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2009
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2020
2010
  case "ResourceNotFoundException":
2021
2011
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2022
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2012
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2023
2013
  case "ThrottlingException":
2024
2014
  case "com.amazonaws.vpclattice#ThrottlingException":
2025
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2015
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2026
2016
  case "ValidationException":
2027
2017
  case "com.amazonaws.vpclattice#ValidationException":
2028
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2018
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2029
2019
  default:
2030
2020
  const parsedBody = parsedOutput.body;
2031
2021
  (0, smithy_client_1.throwDefaultError)({
@@ -2036,9 +2026,9 @@ const deserializeAws_restJson1DeleteServiceNetworkCommandError = async (output,
2036
2026
  });
2037
2027
  }
2038
2028
  };
2039
- const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = async (output, context) => {
2029
+ const de_DeleteServiceNetworkServiceAssociationCommand = async (output, context) => {
2040
2030
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2041
- return deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError(output, context);
2031
+ return de_DeleteServiceNetworkServiceAssociationCommandError(output, context);
2042
2032
  }
2043
2033
  const contents = map({
2044
2034
  $metadata: deserializeMetadata(output),
@@ -2055,8 +2045,8 @@ const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = as
2055
2045
  }
2056
2046
  return contents;
2057
2047
  };
2058
- exports.deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand = deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommand;
2059
- const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError = async (output, context) => {
2048
+ exports.de_DeleteServiceNetworkServiceAssociationCommand = de_DeleteServiceNetworkServiceAssociationCommand;
2049
+ const de_DeleteServiceNetworkServiceAssociationCommandError = async (output, context) => {
2060
2050
  const parsedOutput = {
2061
2051
  ...output,
2062
2052
  body: await parseErrorBody(output.body, context),
@@ -2065,22 +2055,22 @@ const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError
2065
2055
  switch (errorCode) {
2066
2056
  case "AccessDeniedException":
2067
2057
  case "com.amazonaws.vpclattice#AccessDeniedException":
2068
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2058
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2069
2059
  case "ConflictException":
2070
2060
  case "com.amazonaws.vpclattice#ConflictException":
2071
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2061
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2072
2062
  case "InternalServerException":
2073
2063
  case "com.amazonaws.vpclattice#InternalServerException":
2074
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2064
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2075
2065
  case "ResourceNotFoundException":
2076
2066
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2077
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2067
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2078
2068
  case "ThrottlingException":
2079
2069
  case "com.amazonaws.vpclattice#ThrottlingException":
2080
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2070
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2081
2071
  case "ValidationException":
2082
2072
  case "com.amazonaws.vpclattice#ValidationException":
2083
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2073
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2084
2074
  default:
2085
2075
  const parsedBody = parsedOutput.body;
2086
2076
  (0, smithy_client_1.throwDefaultError)({
@@ -2091,9 +2081,9 @@ const deserializeAws_restJson1DeleteServiceNetworkServiceAssociationCommandError
2091
2081
  });
2092
2082
  }
2093
2083
  };
2094
- const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = async (output, context) => {
2084
+ const de_DeleteServiceNetworkVpcAssociationCommand = async (output, context) => {
2095
2085
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2096
- return deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError(output, context);
2086
+ return de_DeleteServiceNetworkVpcAssociationCommandError(output, context);
2097
2087
  }
2098
2088
  const contents = map({
2099
2089
  $metadata: deserializeMetadata(output),
@@ -2110,8 +2100,8 @@ const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = async
2110
2100
  }
2111
2101
  return contents;
2112
2102
  };
2113
- exports.deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand = deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommand;
2114
- const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError = async (output, context) => {
2103
+ exports.de_DeleteServiceNetworkVpcAssociationCommand = de_DeleteServiceNetworkVpcAssociationCommand;
2104
+ const de_DeleteServiceNetworkVpcAssociationCommandError = async (output, context) => {
2115
2105
  const parsedOutput = {
2116
2106
  ...output,
2117
2107
  body: await parseErrorBody(output.body, context),
@@ -2120,22 +2110,22 @@ const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError = a
2120
2110
  switch (errorCode) {
2121
2111
  case "AccessDeniedException":
2122
2112
  case "com.amazonaws.vpclattice#AccessDeniedException":
2123
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2113
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2124
2114
  case "ConflictException":
2125
2115
  case "com.amazonaws.vpclattice#ConflictException":
2126
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2116
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2127
2117
  case "InternalServerException":
2128
2118
  case "com.amazonaws.vpclattice#InternalServerException":
2129
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2119
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2130
2120
  case "ResourceNotFoundException":
2131
2121
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2132
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2122
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2133
2123
  case "ThrottlingException":
2134
2124
  case "com.amazonaws.vpclattice#ThrottlingException":
2135
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2125
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2136
2126
  case "ValidationException":
2137
2127
  case "com.amazonaws.vpclattice#ValidationException":
2138
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2128
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2139
2129
  default:
2140
2130
  const parsedBody = parsedOutput.body;
2141
2131
  (0, smithy_client_1.throwDefaultError)({
@@ -2146,9 +2136,9 @@ const deserializeAws_restJson1DeleteServiceNetworkVpcAssociationCommandError = a
2146
2136
  });
2147
2137
  }
2148
2138
  };
2149
- const deserializeAws_restJson1DeleteTargetGroupCommand = async (output, context) => {
2139
+ const de_DeleteTargetGroupCommand = async (output, context) => {
2150
2140
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2151
- return deserializeAws_restJson1DeleteTargetGroupCommandError(output, context);
2141
+ return de_DeleteTargetGroupCommandError(output, context);
2152
2142
  }
2153
2143
  const contents = map({
2154
2144
  $metadata: deserializeMetadata(output),
@@ -2165,8 +2155,8 @@ const deserializeAws_restJson1DeleteTargetGroupCommand = async (output, context)
2165
2155
  }
2166
2156
  return contents;
2167
2157
  };
2168
- exports.deserializeAws_restJson1DeleteTargetGroupCommand = deserializeAws_restJson1DeleteTargetGroupCommand;
2169
- const deserializeAws_restJson1DeleteTargetGroupCommandError = async (output, context) => {
2158
+ exports.de_DeleteTargetGroupCommand = de_DeleteTargetGroupCommand;
2159
+ const de_DeleteTargetGroupCommandError = async (output, context) => {
2170
2160
  const parsedOutput = {
2171
2161
  ...output,
2172
2162
  body: await parseErrorBody(output.body, context),
@@ -2175,19 +2165,19 @@ const deserializeAws_restJson1DeleteTargetGroupCommandError = async (output, con
2175
2165
  switch (errorCode) {
2176
2166
  case "ConflictException":
2177
2167
  case "com.amazonaws.vpclattice#ConflictException":
2178
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2168
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2179
2169
  case "InternalServerException":
2180
2170
  case "com.amazonaws.vpclattice#InternalServerException":
2181
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2171
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2182
2172
  case "ResourceNotFoundException":
2183
2173
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2184
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2174
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2185
2175
  case "ThrottlingException":
2186
2176
  case "com.amazonaws.vpclattice#ThrottlingException":
2187
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2177
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2188
2178
  case "ValidationException":
2189
2179
  case "com.amazonaws.vpclattice#ValidationException":
2190
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2180
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2191
2181
  default:
2192
2182
  const parsedBody = parsedOutput.body;
2193
2183
  (0, smithy_client_1.throwDefaultError)({
@@ -2198,24 +2188,24 @@ const deserializeAws_restJson1DeleteTargetGroupCommandError = async (output, con
2198
2188
  });
2199
2189
  }
2200
2190
  };
2201
- const deserializeAws_restJson1DeregisterTargetsCommand = async (output, context) => {
2191
+ const de_DeregisterTargetsCommand = async (output, context) => {
2202
2192
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2203
- return deserializeAws_restJson1DeregisterTargetsCommandError(output, context);
2193
+ return de_DeregisterTargetsCommandError(output, context);
2204
2194
  }
2205
2195
  const contents = map({
2206
2196
  $metadata: deserializeMetadata(output),
2207
2197
  });
2208
2198
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2209
2199
  if (data.successful != null) {
2210
- contents.successful = deserializeAws_restJson1TargetList(data.successful, context);
2200
+ contents.successful = de_TargetList(data.successful, context);
2211
2201
  }
2212
2202
  if (data.unsuccessful != null) {
2213
- contents.unsuccessful = deserializeAws_restJson1TargetFailureList(data.unsuccessful, context);
2203
+ contents.unsuccessful = de_TargetFailureList(data.unsuccessful, context);
2214
2204
  }
2215
2205
  return contents;
2216
2206
  };
2217
- exports.deserializeAws_restJson1DeregisterTargetsCommand = deserializeAws_restJson1DeregisterTargetsCommand;
2218
- const deserializeAws_restJson1DeregisterTargetsCommandError = async (output, context) => {
2207
+ exports.de_DeregisterTargetsCommand = de_DeregisterTargetsCommand;
2208
+ const de_DeregisterTargetsCommandError = async (output, context) => {
2219
2209
  const parsedOutput = {
2220
2210
  ...output,
2221
2211
  body: await parseErrorBody(output.body, context),
@@ -2224,22 +2214,22 @@ const deserializeAws_restJson1DeregisterTargetsCommandError = async (output, con
2224
2214
  switch (errorCode) {
2225
2215
  case "AccessDeniedException":
2226
2216
  case "com.amazonaws.vpclattice#AccessDeniedException":
2227
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2217
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2228
2218
  case "ConflictException":
2229
2219
  case "com.amazonaws.vpclattice#ConflictException":
2230
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2220
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2231
2221
  case "InternalServerException":
2232
2222
  case "com.amazonaws.vpclattice#InternalServerException":
2233
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2223
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2234
2224
  case "ResourceNotFoundException":
2235
2225
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2236
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2226
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2237
2227
  case "ThrottlingException":
2238
2228
  case "com.amazonaws.vpclattice#ThrottlingException":
2239
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2229
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2240
2230
  case "ValidationException":
2241
2231
  case "com.amazonaws.vpclattice#ValidationException":
2242
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2232
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2243
2233
  default:
2244
2234
  const parsedBody = parsedOutput.body;
2245
2235
  (0, smithy_client_1.throwDefaultError)({
@@ -2250,9 +2240,9 @@ const deserializeAws_restJson1DeregisterTargetsCommandError = async (output, con
2250
2240
  });
2251
2241
  }
2252
2242
  };
2253
- const deserializeAws_restJson1GetAccessLogSubscriptionCommand = async (output, context) => {
2243
+ const de_GetAccessLogSubscriptionCommand = async (output, context) => {
2254
2244
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2255
- return deserializeAws_restJson1GetAccessLogSubscriptionCommandError(output, context);
2245
+ return de_GetAccessLogSubscriptionCommandError(output, context);
2256
2246
  }
2257
2247
  const contents = map({
2258
2248
  $metadata: deserializeMetadata(output),
@@ -2281,8 +2271,8 @@ const deserializeAws_restJson1GetAccessLogSubscriptionCommand = async (output, c
2281
2271
  }
2282
2272
  return contents;
2283
2273
  };
2284
- exports.deserializeAws_restJson1GetAccessLogSubscriptionCommand = deserializeAws_restJson1GetAccessLogSubscriptionCommand;
2285
- const deserializeAws_restJson1GetAccessLogSubscriptionCommandError = async (output, context) => {
2274
+ exports.de_GetAccessLogSubscriptionCommand = de_GetAccessLogSubscriptionCommand;
2275
+ const de_GetAccessLogSubscriptionCommandError = async (output, context) => {
2286
2276
  const parsedOutput = {
2287
2277
  ...output,
2288
2278
  body: await parseErrorBody(output.body, context),
@@ -2291,19 +2281,19 @@ const deserializeAws_restJson1GetAccessLogSubscriptionCommandError = async (outp
2291
2281
  switch (errorCode) {
2292
2282
  case "AccessDeniedException":
2293
2283
  case "com.amazonaws.vpclattice#AccessDeniedException":
2294
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2284
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2295
2285
  case "InternalServerException":
2296
2286
  case "com.amazonaws.vpclattice#InternalServerException":
2297
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2287
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2298
2288
  case "ResourceNotFoundException":
2299
2289
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2300
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2290
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2301
2291
  case "ThrottlingException":
2302
2292
  case "com.amazonaws.vpclattice#ThrottlingException":
2303
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2293
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2304
2294
  case "ValidationException":
2305
2295
  case "com.amazonaws.vpclattice#ValidationException":
2306
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2296
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2307
2297
  default:
2308
2298
  const parsedBody = parsedOutput.body;
2309
2299
  (0, smithy_client_1.throwDefaultError)({
@@ -2314,9 +2304,9 @@ const deserializeAws_restJson1GetAccessLogSubscriptionCommandError = async (outp
2314
2304
  });
2315
2305
  }
2316
2306
  };
2317
- const deserializeAws_restJson1GetAuthPolicyCommand = async (output, context) => {
2307
+ const de_GetAuthPolicyCommand = async (output, context) => {
2318
2308
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2319
- return deserializeAws_restJson1GetAuthPolicyCommandError(output, context);
2309
+ return de_GetAuthPolicyCommandError(output, context);
2320
2310
  }
2321
2311
  const contents = map({
2322
2312
  $metadata: deserializeMetadata(output),
@@ -2336,8 +2326,8 @@ const deserializeAws_restJson1GetAuthPolicyCommand = async (output, context) =>
2336
2326
  }
2337
2327
  return contents;
2338
2328
  };
2339
- exports.deserializeAws_restJson1GetAuthPolicyCommand = deserializeAws_restJson1GetAuthPolicyCommand;
2340
- const deserializeAws_restJson1GetAuthPolicyCommandError = async (output, context) => {
2329
+ exports.de_GetAuthPolicyCommand = de_GetAuthPolicyCommand;
2330
+ const de_GetAuthPolicyCommandError = async (output, context) => {
2341
2331
  const parsedOutput = {
2342
2332
  ...output,
2343
2333
  body: await parseErrorBody(output.body, context),
@@ -2346,19 +2336,19 @@ const deserializeAws_restJson1GetAuthPolicyCommandError = async (output, context
2346
2336
  switch (errorCode) {
2347
2337
  case "AccessDeniedException":
2348
2338
  case "com.amazonaws.vpclattice#AccessDeniedException":
2349
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2339
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2350
2340
  case "InternalServerException":
2351
2341
  case "com.amazonaws.vpclattice#InternalServerException":
2352
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2342
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2353
2343
  case "ResourceNotFoundException":
2354
2344
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2355
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2345
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2356
2346
  case "ThrottlingException":
2357
2347
  case "com.amazonaws.vpclattice#ThrottlingException":
2358
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2348
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2359
2349
  case "ValidationException":
2360
2350
  case "com.amazonaws.vpclattice#ValidationException":
2361
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2351
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2362
2352
  default:
2363
2353
  const parsedBody = parsedOutput.body;
2364
2354
  (0, smithy_client_1.throwDefaultError)({
@@ -2369,9 +2359,9 @@ const deserializeAws_restJson1GetAuthPolicyCommandError = async (output, context
2369
2359
  });
2370
2360
  }
2371
2361
  };
2372
- const deserializeAws_restJson1GetListenerCommand = async (output, context) => {
2362
+ const de_GetListenerCommand = async (output, context) => {
2373
2363
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2374
- return deserializeAws_restJson1GetListenerCommandError(output, context);
2364
+ return de_GetListenerCommandError(output, context);
2375
2365
  }
2376
2366
  const contents = map({
2377
2367
  $metadata: deserializeMetadata(output),
@@ -2384,7 +2374,7 @@ const deserializeAws_restJson1GetListenerCommand = async (output, context) => {
2384
2374
  contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
2385
2375
  }
2386
2376
  if (data.defaultAction != null) {
2387
- contents.defaultAction = deserializeAws_restJson1RuleAction((0, smithy_client_1.expectUnion)(data.defaultAction), context);
2377
+ contents.defaultAction = de_RuleAction((0, smithy_client_1.expectUnion)(data.defaultAction), context);
2388
2378
  }
2389
2379
  if (data.id != null) {
2390
2380
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -2409,8 +2399,8 @@ const deserializeAws_restJson1GetListenerCommand = async (output, context) => {
2409
2399
  }
2410
2400
  return contents;
2411
2401
  };
2412
- exports.deserializeAws_restJson1GetListenerCommand = deserializeAws_restJson1GetListenerCommand;
2413
- const deserializeAws_restJson1GetListenerCommandError = async (output, context) => {
2402
+ exports.de_GetListenerCommand = de_GetListenerCommand;
2403
+ const de_GetListenerCommandError = async (output, context) => {
2414
2404
  const parsedOutput = {
2415
2405
  ...output,
2416
2406
  body: await parseErrorBody(output.body, context),
@@ -2419,19 +2409,19 @@ const deserializeAws_restJson1GetListenerCommandError = async (output, context)
2419
2409
  switch (errorCode) {
2420
2410
  case "AccessDeniedException":
2421
2411
  case "com.amazonaws.vpclattice#AccessDeniedException":
2422
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2412
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2423
2413
  case "InternalServerException":
2424
2414
  case "com.amazonaws.vpclattice#InternalServerException":
2425
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2415
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2426
2416
  case "ResourceNotFoundException":
2427
2417
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2428
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2418
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2429
2419
  case "ThrottlingException":
2430
2420
  case "com.amazonaws.vpclattice#ThrottlingException":
2431
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2421
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2432
2422
  case "ValidationException":
2433
2423
  case "com.amazonaws.vpclattice#ValidationException":
2434
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2424
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2435
2425
  default:
2436
2426
  const parsedBody = parsedOutput.body;
2437
2427
  (0, smithy_client_1.throwDefaultError)({
@@ -2442,9 +2432,9 @@ const deserializeAws_restJson1GetListenerCommandError = async (output, context)
2442
2432
  });
2443
2433
  }
2444
2434
  };
2445
- const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context) => {
2435
+ const de_GetResourcePolicyCommand = async (output, context) => {
2446
2436
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2447
- return deserializeAws_restJson1GetResourcePolicyCommandError(output, context);
2437
+ return de_GetResourcePolicyCommandError(output, context);
2448
2438
  }
2449
2439
  const contents = map({
2450
2440
  $metadata: deserializeMetadata(output),
@@ -2455,8 +2445,8 @@ const deserializeAws_restJson1GetResourcePolicyCommand = async (output, context)
2455
2445
  }
2456
2446
  return contents;
2457
2447
  };
2458
- exports.deserializeAws_restJson1GetResourcePolicyCommand = deserializeAws_restJson1GetResourcePolicyCommand;
2459
- const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, context) => {
2448
+ exports.de_GetResourcePolicyCommand = de_GetResourcePolicyCommand;
2449
+ const de_GetResourcePolicyCommandError = async (output, context) => {
2460
2450
  const parsedOutput = {
2461
2451
  ...output,
2462
2452
  body: await parseErrorBody(output.body, context),
@@ -2465,19 +2455,19 @@ const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, con
2465
2455
  switch (errorCode) {
2466
2456
  case "AccessDeniedException":
2467
2457
  case "com.amazonaws.vpclattice#AccessDeniedException":
2468
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2458
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2469
2459
  case "InternalServerException":
2470
2460
  case "com.amazonaws.vpclattice#InternalServerException":
2471
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2461
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2472
2462
  case "ResourceNotFoundException":
2473
2463
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2474
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2464
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2475
2465
  case "ThrottlingException":
2476
2466
  case "com.amazonaws.vpclattice#ThrottlingException":
2477
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2467
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2478
2468
  case "ValidationException":
2479
2469
  case "com.amazonaws.vpclattice#ValidationException":
2480
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2470
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2481
2471
  default:
2482
2472
  const parsedBody = parsedOutput.body;
2483
2473
  (0, smithy_client_1.throwDefaultError)({
@@ -2488,16 +2478,16 @@ const deserializeAws_restJson1GetResourcePolicyCommandError = async (output, con
2488
2478
  });
2489
2479
  }
2490
2480
  };
2491
- const deserializeAws_restJson1GetRuleCommand = async (output, context) => {
2481
+ const de_GetRuleCommand = async (output, context) => {
2492
2482
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2493
- return deserializeAws_restJson1GetRuleCommandError(output, context);
2483
+ return de_GetRuleCommandError(output, context);
2494
2484
  }
2495
2485
  const contents = map({
2496
2486
  $metadata: deserializeMetadata(output),
2497
2487
  });
2498
2488
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2499
2489
  if (data.action != null) {
2500
- contents.action = deserializeAws_restJson1RuleAction((0, smithy_client_1.expectUnion)(data.action), context);
2490
+ contents.action = de_RuleAction((0, smithy_client_1.expectUnion)(data.action), context);
2501
2491
  }
2502
2492
  if (data.arn != null) {
2503
2493
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
@@ -2515,7 +2505,7 @@ const deserializeAws_restJson1GetRuleCommand = async (output, context) => {
2515
2505
  contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdatedAt));
2516
2506
  }
2517
2507
  if (data.match != null) {
2518
- contents.match = deserializeAws_restJson1RuleMatch((0, smithy_client_1.expectUnion)(data.match), context);
2508
+ contents.match = de_RuleMatch((0, smithy_client_1.expectUnion)(data.match), context);
2519
2509
  }
2520
2510
  if (data.name != null) {
2521
2511
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -2525,8 +2515,8 @@ const deserializeAws_restJson1GetRuleCommand = async (output, context) => {
2525
2515
  }
2526
2516
  return contents;
2527
2517
  };
2528
- exports.deserializeAws_restJson1GetRuleCommand = deserializeAws_restJson1GetRuleCommand;
2529
- const deserializeAws_restJson1GetRuleCommandError = async (output, context) => {
2518
+ exports.de_GetRuleCommand = de_GetRuleCommand;
2519
+ const de_GetRuleCommandError = async (output, context) => {
2530
2520
  const parsedOutput = {
2531
2521
  ...output,
2532
2522
  body: await parseErrorBody(output.body, context),
@@ -2535,19 +2525,19 @@ const deserializeAws_restJson1GetRuleCommandError = async (output, context) => {
2535
2525
  switch (errorCode) {
2536
2526
  case "AccessDeniedException":
2537
2527
  case "com.amazonaws.vpclattice#AccessDeniedException":
2538
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2528
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2539
2529
  case "InternalServerException":
2540
2530
  case "com.amazonaws.vpclattice#InternalServerException":
2541
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2531
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2542
2532
  case "ResourceNotFoundException":
2543
2533
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2544
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2534
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2545
2535
  case "ThrottlingException":
2546
2536
  case "com.amazonaws.vpclattice#ThrottlingException":
2547
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2537
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2548
2538
  case "ValidationException":
2549
2539
  case "com.amazonaws.vpclattice#ValidationException":
2550
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2540
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2551
2541
  default:
2552
2542
  const parsedBody = parsedOutput.body;
2553
2543
  (0, smithy_client_1.throwDefaultError)({
@@ -2558,9 +2548,9 @@ const deserializeAws_restJson1GetRuleCommandError = async (output, context) => {
2558
2548
  });
2559
2549
  }
2560
2550
  };
2561
- const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
2551
+ const de_GetServiceCommand = async (output, context) => {
2562
2552
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2563
- return deserializeAws_restJson1GetServiceCommandError(output, context);
2553
+ return de_GetServiceCommandError(output, context);
2564
2554
  }
2565
2555
  const contents = map({
2566
2556
  $metadata: deserializeMetadata(output),
@@ -2582,7 +2572,7 @@ const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
2582
2572
  contents.customDomainName = (0, smithy_client_1.expectString)(data.customDomainName);
2583
2573
  }
2584
2574
  if (data.dnsEntry != null) {
2585
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
2575
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
2586
2576
  }
2587
2577
  if (data.failureCode != null) {
2588
2578
  contents.failureCode = (0, smithy_client_1.expectString)(data.failureCode);
@@ -2604,8 +2594,8 @@ const deserializeAws_restJson1GetServiceCommand = async (output, context) => {
2604
2594
  }
2605
2595
  return contents;
2606
2596
  };
2607
- exports.deserializeAws_restJson1GetServiceCommand = deserializeAws_restJson1GetServiceCommand;
2608
- const deserializeAws_restJson1GetServiceCommandError = async (output, context) => {
2597
+ exports.de_GetServiceCommand = de_GetServiceCommand;
2598
+ const de_GetServiceCommandError = async (output, context) => {
2609
2599
  const parsedOutput = {
2610
2600
  ...output,
2611
2601
  body: await parseErrorBody(output.body, context),
@@ -2614,19 +2604,19 @@ const deserializeAws_restJson1GetServiceCommandError = async (output, context) =
2614
2604
  switch (errorCode) {
2615
2605
  case "AccessDeniedException":
2616
2606
  case "com.amazonaws.vpclattice#AccessDeniedException":
2617
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2607
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2618
2608
  case "InternalServerException":
2619
2609
  case "com.amazonaws.vpclattice#InternalServerException":
2620
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2610
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2621
2611
  case "ResourceNotFoundException":
2622
2612
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2623
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2613
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2624
2614
  case "ThrottlingException":
2625
2615
  case "com.amazonaws.vpclattice#ThrottlingException":
2626
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2616
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2627
2617
  case "ValidationException":
2628
2618
  case "com.amazonaws.vpclattice#ValidationException":
2629
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2619
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2630
2620
  default:
2631
2621
  const parsedBody = parsedOutput.body;
2632
2622
  (0, smithy_client_1.throwDefaultError)({
@@ -2637,9 +2627,9 @@ const deserializeAws_restJson1GetServiceCommandError = async (output, context) =
2637
2627
  });
2638
2628
  }
2639
2629
  };
2640
- const deserializeAws_restJson1GetServiceNetworkCommand = async (output, context) => {
2630
+ const de_GetServiceNetworkCommand = async (output, context) => {
2641
2631
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2642
- return deserializeAws_restJson1GetServiceNetworkCommandError(output, context);
2632
+ return de_GetServiceNetworkCommandError(output, context);
2643
2633
  }
2644
2634
  const contents = map({
2645
2635
  $metadata: deserializeMetadata(output),
@@ -2671,8 +2661,8 @@ const deserializeAws_restJson1GetServiceNetworkCommand = async (output, context)
2671
2661
  }
2672
2662
  return contents;
2673
2663
  };
2674
- exports.deserializeAws_restJson1GetServiceNetworkCommand = deserializeAws_restJson1GetServiceNetworkCommand;
2675
- const deserializeAws_restJson1GetServiceNetworkCommandError = async (output, context) => {
2664
+ exports.de_GetServiceNetworkCommand = de_GetServiceNetworkCommand;
2665
+ const de_GetServiceNetworkCommandError = async (output, context) => {
2676
2666
  const parsedOutput = {
2677
2667
  ...output,
2678
2668
  body: await parseErrorBody(output.body, context),
@@ -2681,19 +2671,19 @@ const deserializeAws_restJson1GetServiceNetworkCommandError = async (output, con
2681
2671
  switch (errorCode) {
2682
2672
  case "AccessDeniedException":
2683
2673
  case "com.amazonaws.vpclattice#AccessDeniedException":
2684
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2674
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2685
2675
  case "InternalServerException":
2686
2676
  case "com.amazonaws.vpclattice#InternalServerException":
2687
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2677
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2688
2678
  case "ResourceNotFoundException":
2689
2679
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2690
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2680
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2691
2681
  case "ThrottlingException":
2692
2682
  case "com.amazonaws.vpclattice#ThrottlingException":
2693
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2683
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2694
2684
  case "ValidationException":
2695
2685
  case "com.amazonaws.vpclattice#ValidationException":
2696
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2686
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2697
2687
  default:
2698
2688
  const parsedBody = parsedOutput.body;
2699
2689
  (0, smithy_client_1.throwDefaultError)({
@@ -2704,9 +2694,9 @@ const deserializeAws_restJson1GetServiceNetworkCommandError = async (output, con
2704
2694
  });
2705
2695
  }
2706
2696
  };
2707
- const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand = async (output, context) => {
2697
+ const de_GetServiceNetworkServiceAssociationCommand = async (output, context) => {
2708
2698
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2709
- return deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError(output, context);
2699
+ return de_GetServiceNetworkServiceAssociationCommandError(output, context);
2710
2700
  }
2711
2701
  const contents = map({
2712
2702
  $metadata: deserializeMetadata(output),
@@ -2725,7 +2715,7 @@ const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand = async
2725
2715
  contents.customDomainName = (0, smithy_client_1.expectString)(data.customDomainName);
2726
2716
  }
2727
2717
  if (data.dnsEntry != null) {
2728
- contents.dnsEntry = deserializeAws_restJson1DnsEntry(data.dnsEntry, context);
2718
+ contents.dnsEntry = de_DnsEntry(data.dnsEntry, context);
2729
2719
  }
2730
2720
  if (data.failureCode != null) {
2731
2721
  contents.failureCode = (0, smithy_client_1.expectString)(data.failureCode);
@@ -2759,8 +2749,8 @@ const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand = async
2759
2749
  }
2760
2750
  return contents;
2761
2751
  };
2762
- exports.deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand = deserializeAws_restJson1GetServiceNetworkServiceAssociationCommand;
2763
- const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError = async (output, context) => {
2752
+ exports.de_GetServiceNetworkServiceAssociationCommand = de_GetServiceNetworkServiceAssociationCommand;
2753
+ const de_GetServiceNetworkServiceAssociationCommandError = async (output, context) => {
2764
2754
  const parsedOutput = {
2765
2755
  ...output,
2766
2756
  body: await parseErrorBody(output.body, context),
@@ -2769,19 +2759,19 @@ const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError =
2769
2759
  switch (errorCode) {
2770
2760
  case "AccessDeniedException":
2771
2761
  case "com.amazonaws.vpclattice#AccessDeniedException":
2772
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2762
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2773
2763
  case "InternalServerException":
2774
2764
  case "com.amazonaws.vpclattice#InternalServerException":
2775
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2765
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2776
2766
  case "ResourceNotFoundException":
2777
2767
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2778
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2768
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2779
2769
  case "ThrottlingException":
2780
2770
  case "com.amazonaws.vpclattice#ThrottlingException":
2781
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2771
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2782
2772
  case "ValidationException":
2783
2773
  case "com.amazonaws.vpclattice#ValidationException":
2784
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2774
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2785
2775
  default:
2786
2776
  const parsedBody = parsedOutput.body;
2787
2777
  (0, smithy_client_1.throwDefaultError)({
@@ -2792,9 +2782,9 @@ const deserializeAws_restJson1GetServiceNetworkServiceAssociationCommandError =
2792
2782
  });
2793
2783
  }
2794
2784
  };
2795
- const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = async (output, context) => {
2785
+ const de_GetServiceNetworkVpcAssociationCommand = async (output, context) => {
2796
2786
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2797
- return deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError(output, context);
2787
+ return de_GetServiceNetworkVpcAssociationCommandError(output, context);
2798
2788
  }
2799
2789
  const contents = map({
2800
2790
  $metadata: deserializeMetadata(output),
@@ -2822,7 +2812,7 @@ const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = async (ou
2822
2812
  contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdatedAt));
2823
2813
  }
2824
2814
  if (data.securityGroupIds != null) {
2825
- contents.securityGroupIds = deserializeAws_restJson1SecurityGroupList(data.securityGroupIds, context);
2815
+ contents.securityGroupIds = de_SecurityGroupList(data.securityGroupIds, context);
2826
2816
  }
2827
2817
  if (data.serviceNetworkArn != null) {
2828
2818
  contents.serviceNetworkArn = (0, smithy_client_1.expectString)(data.serviceNetworkArn);
@@ -2841,8 +2831,8 @@ const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = async (ou
2841
2831
  }
2842
2832
  return contents;
2843
2833
  };
2844
- exports.deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand = deserializeAws_restJson1GetServiceNetworkVpcAssociationCommand;
2845
- const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError = async (output, context) => {
2834
+ exports.de_GetServiceNetworkVpcAssociationCommand = de_GetServiceNetworkVpcAssociationCommand;
2835
+ const de_GetServiceNetworkVpcAssociationCommandError = async (output, context) => {
2846
2836
  const parsedOutput = {
2847
2837
  ...output,
2848
2838
  body: await parseErrorBody(output.body, context),
@@ -2851,19 +2841,19 @@ const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError = asyn
2851
2841
  switch (errorCode) {
2852
2842
  case "AccessDeniedException":
2853
2843
  case "com.amazonaws.vpclattice#AccessDeniedException":
2854
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2844
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2855
2845
  case "InternalServerException":
2856
2846
  case "com.amazonaws.vpclattice#InternalServerException":
2857
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2847
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2858
2848
  case "ResourceNotFoundException":
2859
2849
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2860
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2850
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2861
2851
  case "ThrottlingException":
2862
2852
  case "com.amazonaws.vpclattice#ThrottlingException":
2863
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2853
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2864
2854
  case "ValidationException":
2865
2855
  case "com.amazonaws.vpclattice#ValidationException":
2866
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2856
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2867
2857
  default:
2868
2858
  const parsedBody = parsedOutput.body;
2869
2859
  (0, smithy_client_1.throwDefaultError)({
@@ -2874,9 +2864,9 @@ const deserializeAws_restJson1GetServiceNetworkVpcAssociationCommandError = asyn
2874
2864
  });
2875
2865
  }
2876
2866
  };
2877
- const deserializeAws_restJson1GetTargetGroupCommand = async (output, context) => {
2867
+ const de_GetTargetGroupCommand = async (output, context) => {
2878
2868
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2879
- return deserializeAws_restJson1GetTargetGroupCommandError(output, context);
2869
+ return de_GetTargetGroupCommandError(output, context);
2880
2870
  }
2881
2871
  const contents = map({
2882
2872
  $metadata: deserializeMetadata(output),
@@ -2886,7 +2876,7 @@ const deserializeAws_restJson1GetTargetGroupCommand = async (output, context) =>
2886
2876
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
2887
2877
  }
2888
2878
  if (data.config != null) {
2889
- contents.config = deserializeAws_restJson1TargetGroupConfig(data.config, context);
2879
+ contents.config = de_TargetGroupConfig(data.config, context);
2890
2880
  }
2891
2881
  if (data.createdAt != null) {
2892
2882
  contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
@@ -2907,7 +2897,7 @@ const deserializeAws_restJson1GetTargetGroupCommand = async (output, context) =>
2907
2897
  contents.name = (0, smithy_client_1.expectString)(data.name);
2908
2898
  }
2909
2899
  if (data.serviceArns != null) {
2910
- contents.serviceArns = deserializeAws_restJson1ServiceArnList(data.serviceArns, context);
2900
+ contents.serviceArns = de_ServiceArnList(data.serviceArns, context);
2911
2901
  }
2912
2902
  if (data.status != null) {
2913
2903
  contents.status = (0, smithy_client_1.expectString)(data.status);
@@ -2917,8 +2907,8 @@ const deserializeAws_restJson1GetTargetGroupCommand = async (output, context) =>
2917
2907
  }
2918
2908
  return contents;
2919
2909
  };
2920
- exports.deserializeAws_restJson1GetTargetGroupCommand = deserializeAws_restJson1GetTargetGroupCommand;
2921
- const deserializeAws_restJson1GetTargetGroupCommandError = async (output, context) => {
2910
+ exports.de_GetTargetGroupCommand = de_GetTargetGroupCommand;
2911
+ const de_GetTargetGroupCommandError = async (output, context) => {
2922
2912
  const parsedOutput = {
2923
2913
  ...output,
2924
2914
  body: await parseErrorBody(output.body, context),
@@ -2927,16 +2917,16 @@ const deserializeAws_restJson1GetTargetGroupCommandError = async (output, contex
2927
2917
  switch (errorCode) {
2928
2918
  case "InternalServerException":
2929
2919
  case "com.amazonaws.vpclattice#InternalServerException":
2930
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2920
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2931
2921
  case "ResourceNotFoundException":
2932
2922
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
2933
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2923
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2934
2924
  case "ThrottlingException":
2935
2925
  case "com.amazonaws.vpclattice#ThrottlingException":
2936
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2926
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2937
2927
  case "ValidationException":
2938
2928
  case "com.amazonaws.vpclattice#ValidationException":
2939
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2929
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2940
2930
  default:
2941
2931
  const parsedBody = parsedOutput.body;
2942
2932
  (0, smithy_client_1.throwDefaultError)({
@@ -2947,24 +2937,24 @@ const deserializeAws_restJson1GetTargetGroupCommandError = async (output, contex
2947
2937
  });
2948
2938
  }
2949
2939
  };
2950
- const deserializeAws_restJson1ListAccessLogSubscriptionsCommand = async (output, context) => {
2940
+ const de_ListAccessLogSubscriptionsCommand = async (output, context) => {
2951
2941
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2952
- return deserializeAws_restJson1ListAccessLogSubscriptionsCommandError(output, context);
2942
+ return de_ListAccessLogSubscriptionsCommandError(output, context);
2953
2943
  }
2954
2944
  const contents = map({
2955
2945
  $metadata: deserializeMetadata(output),
2956
2946
  });
2957
2947
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2958
2948
  if (data.items != null) {
2959
- contents.items = deserializeAws_restJson1AccessLogSubscriptionList(data.items, context);
2949
+ contents.items = de_AccessLogSubscriptionList(data.items, context);
2960
2950
  }
2961
2951
  if (data.nextToken != null) {
2962
2952
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2963
2953
  }
2964
2954
  return contents;
2965
2955
  };
2966
- exports.deserializeAws_restJson1ListAccessLogSubscriptionsCommand = deserializeAws_restJson1ListAccessLogSubscriptionsCommand;
2967
- const deserializeAws_restJson1ListAccessLogSubscriptionsCommandError = async (output, context) => {
2956
+ exports.de_ListAccessLogSubscriptionsCommand = de_ListAccessLogSubscriptionsCommand;
2957
+ const de_ListAccessLogSubscriptionsCommandError = async (output, context) => {
2968
2958
  const parsedOutput = {
2969
2959
  ...output,
2970
2960
  body: await parseErrorBody(output.body, context),
@@ -2973,13 +2963,13 @@ const deserializeAws_restJson1ListAccessLogSubscriptionsCommandError = async (ou
2973
2963
  switch (errorCode) {
2974
2964
  case "InternalServerException":
2975
2965
  case "com.amazonaws.vpclattice#InternalServerException":
2976
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2966
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2977
2967
  case "ThrottlingException":
2978
2968
  case "com.amazonaws.vpclattice#ThrottlingException":
2979
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2969
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2980
2970
  case "ValidationException":
2981
2971
  case "com.amazonaws.vpclattice#ValidationException":
2982
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2972
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2983
2973
  default:
2984
2974
  const parsedBody = parsedOutput.body;
2985
2975
  (0, smithy_client_1.throwDefaultError)({
@@ -2990,24 +2980,24 @@ const deserializeAws_restJson1ListAccessLogSubscriptionsCommandError = async (ou
2990
2980
  });
2991
2981
  }
2992
2982
  };
2993
- const deserializeAws_restJson1ListListenersCommand = async (output, context) => {
2983
+ const de_ListListenersCommand = async (output, context) => {
2994
2984
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2995
- return deserializeAws_restJson1ListListenersCommandError(output, context);
2985
+ return de_ListListenersCommandError(output, context);
2996
2986
  }
2997
2987
  const contents = map({
2998
2988
  $metadata: deserializeMetadata(output),
2999
2989
  });
3000
2990
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3001
2991
  if (data.items != null) {
3002
- contents.items = deserializeAws_restJson1ListenerSummaryList(data.items, context);
2992
+ contents.items = de_ListenerSummaryList(data.items, context);
3003
2993
  }
3004
2994
  if (data.nextToken != null) {
3005
2995
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3006
2996
  }
3007
2997
  return contents;
3008
2998
  };
3009
- exports.deserializeAws_restJson1ListListenersCommand = deserializeAws_restJson1ListListenersCommand;
3010
- const deserializeAws_restJson1ListListenersCommandError = async (output, context) => {
2999
+ exports.de_ListListenersCommand = de_ListListenersCommand;
3000
+ const de_ListListenersCommandError = async (output, context) => {
3011
3001
  const parsedOutput = {
3012
3002
  ...output,
3013
3003
  body: await parseErrorBody(output.body, context),
@@ -3016,19 +3006,19 @@ const deserializeAws_restJson1ListListenersCommandError = async (output, context
3016
3006
  switch (errorCode) {
3017
3007
  case "AccessDeniedException":
3018
3008
  case "com.amazonaws.vpclattice#AccessDeniedException":
3019
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3009
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3020
3010
  case "InternalServerException":
3021
3011
  case "com.amazonaws.vpclattice#InternalServerException":
3022
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3012
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3023
3013
  case "ResourceNotFoundException":
3024
3014
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3025
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3015
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3026
3016
  case "ThrottlingException":
3027
3017
  case "com.amazonaws.vpclattice#ThrottlingException":
3028
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3018
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3029
3019
  case "ValidationException":
3030
3020
  case "com.amazonaws.vpclattice#ValidationException":
3031
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3021
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3032
3022
  default:
3033
3023
  const parsedBody = parsedOutput.body;
3034
3024
  (0, smithy_client_1.throwDefaultError)({
@@ -3039,24 +3029,24 @@ const deserializeAws_restJson1ListListenersCommandError = async (output, context
3039
3029
  });
3040
3030
  }
3041
3031
  };
3042
- const deserializeAws_restJson1ListRulesCommand = async (output, context) => {
3032
+ const de_ListRulesCommand = async (output, context) => {
3043
3033
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3044
- return deserializeAws_restJson1ListRulesCommandError(output, context);
3034
+ return de_ListRulesCommandError(output, context);
3045
3035
  }
3046
3036
  const contents = map({
3047
3037
  $metadata: deserializeMetadata(output),
3048
3038
  });
3049
3039
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3050
3040
  if (data.items != null) {
3051
- contents.items = deserializeAws_restJson1RuleSummaryList(data.items, context);
3041
+ contents.items = de_RuleSummaryList(data.items, context);
3052
3042
  }
3053
3043
  if (data.nextToken != null) {
3054
3044
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3055
3045
  }
3056
3046
  return contents;
3057
3047
  };
3058
- exports.deserializeAws_restJson1ListRulesCommand = deserializeAws_restJson1ListRulesCommand;
3059
- const deserializeAws_restJson1ListRulesCommandError = async (output, context) => {
3048
+ exports.de_ListRulesCommand = de_ListRulesCommand;
3049
+ const de_ListRulesCommandError = async (output, context) => {
3060
3050
  const parsedOutput = {
3061
3051
  ...output,
3062
3052
  body: await parseErrorBody(output.body, context),
@@ -3065,19 +3055,19 @@ const deserializeAws_restJson1ListRulesCommandError = async (output, context) =>
3065
3055
  switch (errorCode) {
3066
3056
  case "AccessDeniedException":
3067
3057
  case "com.amazonaws.vpclattice#AccessDeniedException":
3068
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3058
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3069
3059
  case "InternalServerException":
3070
3060
  case "com.amazonaws.vpclattice#InternalServerException":
3071
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3061
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3072
3062
  case "ResourceNotFoundException":
3073
3063
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3074
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3064
+ throw await de_ResourceNotFoundExceptionRes(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
  (0, smithy_client_1.throwDefaultError)({
@@ -3088,24 +3078,24 @@ const deserializeAws_restJson1ListRulesCommandError = async (output, context) =>
3088
3078
  });
3089
3079
  }
3090
3080
  };
3091
- const deserializeAws_restJson1ListServiceNetworksCommand = async (output, context) => {
3081
+ const de_ListServiceNetworksCommand = async (output, context) => {
3092
3082
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3093
- return deserializeAws_restJson1ListServiceNetworksCommandError(output, context);
3083
+ return de_ListServiceNetworksCommandError(output, context);
3094
3084
  }
3095
3085
  const contents = map({
3096
3086
  $metadata: deserializeMetadata(output),
3097
3087
  });
3098
3088
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3099
3089
  if (data.items != null) {
3100
- contents.items = deserializeAws_restJson1ServiceNetworkList(data.items, context);
3090
+ contents.items = de_ServiceNetworkList(data.items, context);
3101
3091
  }
3102
3092
  if (data.nextToken != null) {
3103
3093
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3104
3094
  }
3105
3095
  return contents;
3106
3096
  };
3107
- exports.deserializeAws_restJson1ListServiceNetworksCommand = deserializeAws_restJson1ListServiceNetworksCommand;
3108
- const deserializeAws_restJson1ListServiceNetworksCommandError = async (output, context) => {
3097
+ exports.de_ListServiceNetworksCommand = de_ListServiceNetworksCommand;
3098
+ const de_ListServiceNetworksCommandError = async (output, context) => {
3109
3099
  const parsedOutput = {
3110
3100
  ...output,
3111
3101
  body: await parseErrorBody(output.body, context),
@@ -3114,16 +3104,16 @@ const deserializeAws_restJson1ListServiceNetworksCommandError = async (output, c
3114
3104
  switch (errorCode) {
3115
3105
  case "AccessDeniedException":
3116
3106
  case "com.amazonaws.vpclattice#AccessDeniedException":
3117
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3107
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3118
3108
  case "InternalServerException":
3119
3109
  case "com.amazonaws.vpclattice#InternalServerException":
3120
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3110
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3121
3111
  case "ThrottlingException":
3122
3112
  case "com.amazonaws.vpclattice#ThrottlingException":
3123
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3113
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3124
3114
  case "ValidationException":
3125
3115
  case "com.amazonaws.vpclattice#ValidationException":
3126
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3116
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3127
3117
  default:
3128
3118
  const parsedBody = parsedOutput.body;
3129
3119
  (0, smithy_client_1.throwDefaultError)({
@@ -3134,24 +3124,24 @@ const deserializeAws_restJson1ListServiceNetworksCommandError = async (output, c
3134
3124
  });
3135
3125
  }
3136
3126
  };
3137
- const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = async (output, context) => {
3127
+ const de_ListServiceNetworkServiceAssociationsCommand = async (output, context) => {
3138
3128
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3139
- return deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError(output, context);
3129
+ return de_ListServiceNetworkServiceAssociationsCommandError(output, context);
3140
3130
  }
3141
3131
  const contents = map({
3142
3132
  $metadata: deserializeMetadata(output),
3143
3133
  });
3144
3134
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3145
3135
  if (data.items != null) {
3146
- contents.items = deserializeAws_restJson1ServiceNetworkServiceAssociationList(data.items, context);
3136
+ contents.items = de_ServiceNetworkServiceAssociationList(data.items, context);
3147
3137
  }
3148
3138
  if (data.nextToken != null) {
3149
3139
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3150
3140
  }
3151
3141
  return contents;
3152
3142
  };
3153
- exports.deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommand = deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommand;
3154
- const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError = async (output, context) => {
3143
+ exports.de_ListServiceNetworkServiceAssociationsCommand = de_ListServiceNetworkServiceAssociationsCommand;
3144
+ const de_ListServiceNetworkServiceAssociationsCommandError = async (output, context) => {
3155
3145
  const parsedOutput = {
3156
3146
  ...output,
3157
3147
  body: await parseErrorBody(output.body, context),
@@ -3160,16 +3150,16 @@ const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError
3160
3150
  switch (errorCode) {
3161
3151
  case "AccessDeniedException":
3162
3152
  case "com.amazonaws.vpclattice#AccessDeniedException":
3163
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3153
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3164
3154
  case "InternalServerException":
3165
3155
  case "com.amazonaws.vpclattice#InternalServerException":
3166
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3156
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3167
3157
  case "ThrottlingException":
3168
3158
  case "com.amazonaws.vpclattice#ThrottlingException":
3169
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3159
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3170
3160
  case "ValidationException":
3171
3161
  case "com.amazonaws.vpclattice#ValidationException":
3172
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3162
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3173
3163
  default:
3174
3164
  const parsedBody = parsedOutput.body;
3175
3165
  (0, smithy_client_1.throwDefaultError)({
@@ -3180,24 +3170,24 @@ const deserializeAws_restJson1ListServiceNetworkServiceAssociationsCommandError
3180
3170
  });
3181
3171
  }
3182
3172
  };
3183
- const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = async (output, context) => {
3173
+ const de_ListServiceNetworkVpcAssociationsCommand = async (output, context) => {
3184
3174
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3185
- return deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError(output, context);
3175
+ return de_ListServiceNetworkVpcAssociationsCommandError(output, context);
3186
3176
  }
3187
3177
  const contents = map({
3188
3178
  $metadata: deserializeMetadata(output),
3189
3179
  });
3190
3180
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3191
3181
  if (data.items != null) {
3192
- contents.items = deserializeAws_restJson1ServiceNetworkVpcAssociationList(data.items, context);
3182
+ contents.items = de_ServiceNetworkVpcAssociationList(data.items, context);
3193
3183
  }
3194
3184
  if (data.nextToken != null) {
3195
3185
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3196
3186
  }
3197
3187
  return contents;
3198
3188
  };
3199
- exports.deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommand = deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommand;
3200
- const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError = async (output, context) => {
3189
+ exports.de_ListServiceNetworkVpcAssociationsCommand = de_ListServiceNetworkVpcAssociationsCommand;
3190
+ const de_ListServiceNetworkVpcAssociationsCommandError = async (output, context) => {
3201
3191
  const parsedOutput = {
3202
3192
  ...output,
3203
3193
  body: await parseErrorBody(output.body, context),
@@ -3206,16 +3196,16 @@ const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError = as
3206
3196
  switch (errorCode) {
3207
3197
  case "AccessDeniedException":
3208
3198
  case "com.amazonaws.vpclattice#AccessDeniedException":
3209
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3199
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3210
3200
  case "InternalServerException":
3211
3201
  case "com.amazonaws.vpclattice#InternalServerException":
3212
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3202
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3213
3203
  case "ThrottlingException":
3214
3204
  case "com.amazonaws.vpclattice#ThrottlingException":
3215
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3205
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3216
3206
  case "ValidationException":
3217
3207
  case "com.amazonaws.vpclattice#ValidationException":
3218
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3208
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3219
3209
  default:
3220
3210
  const parsedBody = parsedOutput.body;
3221
3211
  (0, smithy_client_1.throwDefaultError)({
@@ -3226,24 +3216,24 @@ const deserializeAws_restJson1ListServiceNetworkVpcAssociationsCommandError = as
3226
3216
  });
3227
3217
  }
3228
3218
  };
3229
- const deserializeAws_restJson1ListServicesCommand = async (output, context) => {
3219
+ const de_ListServicesCommand = async (output, context) => {
3230
3220
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3231
- return deserializeAws_restJson1ListServicesCommandError(output, context);
3221
+ return de_ListServicesCommandError(output, context);
3232
3222
  }
3233
3223
  const contents = map({
3234
3224
  $metadata: deserializeMetadata(output),
3235
3225
  });
3236
3226
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3237
3227
  if (data.items != null) {
3238
- contents.items = deserializeAws_restJson1ServiceList(data.items, context);
3228
+ contents.items = de_ServiceList(data.items, context);
3239
3229
  }
3240
3230
  if (data.nextToken != null) {
3241
3231
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3242
3232
  }
3243
3233
  return contents;
3244
3234
  };
3245
- exports.deserializeAws_restJson1ListServicesCommand = deserializeAws_restJson1ListServicesCommand;
3246
- const deserializeAws_restJson1ListServicesCommandError = async (output, context) => {
3235
+ exports.de_ListServicesCommand = de_ListServicesCommand;
3236
+ const de_ListServicesCommandError = async (output, context) => {
3247
3237
  const parsedOutput = {
3248
3238
  ...output,
3249
3239
  body: await parseErrorBody(output.body, context),
@@ -3252,16 +3242,16 @@ const deserializeAws_restJson1ListServicesCommandError = async (output, context)
3252
3242
  switch (errorCode) {
3253
3243
  case "AccessDeniedException":
3254
3244
  case "com.amazonaws.vpclattice#AccessDeniedException":
3255
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3245
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3256
3246
  case "InternalServerException":
3257
3247
  case "com.amazonaws.vpclattice#InternalServerException":
3258
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3248
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3259
3249
  case "ThrottlingException":
3260
3250
  case "com.amazonaws.vpclattice#ThrottlingException":
3261
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3251
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3262
3252
  case "ValidationException":
3263
3253
  case "com.amazonaws.vpclattice#ValidationException":
3264
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3254
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3265
3255
  default:
3266
3256
  const parsedBody = parsedOutput.body;
3267
3257
  (0, smithy_client_1.throwDefaultError)({
@@ -3272,21 +3262,21 @@ const deserializeAws_restJson1ListServicesCommandError = async (output, context)
3272
3262
  });
3273
3263
  }
3274
3264
  };
3275
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
3265
+ const de_ListTagsForResourceCommand = async (output, context) => {
3276
3266
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3277
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
3267
+ return de_ListTagsForResourceCommandError(output, context);
3278
3268
  }
3279
3269
  const contents = map({
3280
3270
  $metadata: deserializeMetadata(output),
3281
3271
  });
3282
3272
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3283
3273
  if (data.tags != null) {
3284
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3274
+ contents.tags = de_TagMap(data.tags, context);
3285
3275
  }
3286
3276
  return contents;
3287
3277
  };
3288
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
3289
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
3278
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
3279
+ const de_ListTagsForResourceCommandError = async (output, context) => {
3290
3280
  const parsedOutput = {
3291
3281
  ...output,
3292
3282
  body: await parseErrorBody(output.body, context),
@@ -3295,13 +3285,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3295
3285
  switch (errorCode) {
3296
3286
  case "InternalServerException":
3297
3287
  case "com.amazonaws.vpclattice#InternalServerException":
3298
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3288
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3299
3289
  case "ResourceNotFoundException":
3300
3290
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3301
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3291
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3302
3292
  case "ValidationException":
3303
3293
  case "com.amazonaws.vpclattice#ValidationException":
3304
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3294
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3305
3295
  default:
3306
3296
  const parsedBody = parsedOutput.body;
3307
3297
  (0, smithy_client_1.throwDefaultError)({
@@ -3312,24 +3302,24 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
3312
3302
  });
3313
3303
  }
3314
3304
  };
3315
- const deserializeAws_restJson1ListTargetGroupsCommand = async (output, context) => {
3305
+ const de_ListTargetGroupsCommand = async (output, context) => {
3316
3306
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3317
- return deserializeAws_restJson1ListTargetGroupsCommandError(output, context);
3307
+ return de_ListTargetGroupsCommandError(output, context);
3318
3308
  }
3319
3309
  const contents = map({
3320
3310
  $metadata: deserializeMetadata(output),
3321
3311
  });
3322
3312
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3323
3313
  if (data.items != null) {
3324
- contents.items = deserializeAws_restJson1TargetGroupList(data.items, context);
3314
+ contents.items = de_TargetGroupList(data.items, context);
3325
3315
  }
3326
3316
  if (data.nextToken != null) {
3327
3317
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3328
3318
  }
3329
3319
  return contents;
3330
3320
  };
3331
- exports.deserializeAws_restJson1ListTargetGroupsCommand = deserializeAws_restJson1ListTargetGroupsCommand;
3332
- const deserializeAws_restJson1ListTargetGroupsCommandError = async (output, context) => {
3321
+ exports.de_ListTargetGroupsCommand = de_ListTargetGroupsCommand;
3322
+ const de_ListTargetGroupsCommandError = async (output, context) => {
3333
3323
  const parsedOutput = {
3334
3324
  ...output,
3335
3325
  body: await parseErrorBody(output.body, context),
@@ -3338,16 +3328,16 @@ const deserializeAws_restJson1ListTargetGroupsCommandError = async (output, cont
3338
3328
  switch (errorCode) {
3339
3329
  case "AccessDeniedException":
3340
3330
  case "com.amazonaws.vpclattice#AccessDeniedException":
3341
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3331
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3342
3332
  case "InternalServerException":
3343
3333
  case "com.amazonaws.vpclattice#InternalServerException":
3344
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3334
+ throw await de_InternalServerExceptionRes(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
  (0, smithy_client_1.throwDefaultError)({
@@ -3358,24 +3348,24 @@ const deserializeAws_restJson1ListTargetGroupsCommandError = async (output, cont
3358
3348
  });
3359
3349
  }
3360
3350
  };
3361
- const deserializeAws_restJson1ListTargetsCommand = async (output, context) => {
3351
+ const de_ListTargetsCommand = async (output, context) => {
3362
3352
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3363
- return deserializeAws_restJson1ListTargetsCommandError(output, context);
3353
+ return de_ListTargetsCommandError(output, context);
3364
3354
  }
3365
3355
  const contents = map({
3366
3356
  $metadata: deserializeMetadata(output),
3367
3357
  });
3368
3358
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3369
3359
  if (data.items != null) {
3370
- contents.items = deserializeAws_restJson1TargetSummaryList(data.items, context);
3360
+ contents.items = de_TargetSummaryList(data.items, context);
3371
3361
  }
3372
3362
  if (data.nextToken != null) {
3373
3363
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3374
3364
  }
3375
3365
  return contents;
3376
3366
  };
3377
- exports.deserializeAws_restJson1ListTargetsCommand = deserializeAws_restJson1ListTargetsCommand;
3378
- const deserializeAws_restJson1ListTargetsCommandError = async (output, context) => {
3367
+ exports.de_ListTargetsCommand = de_ListTargetsCommand;
3368
+ const de_ListTargetsCommandError = async (output, context) => {
3379
3369
  const parsedOutput = {
3380
3370
  ...output,
3381
3371
  body: await parseErrorBody(output.body, context),
@@ -3384,19 +3374,19 @@ const deserializeAws_restJson1ListTargetsCommandError = async (output, context)
3384
3374
  switch (errorCode) {
3385
3375
  case "AccessDeniedException":
3386
3376
  case "com.amazonaws.vpclattice#AccessDeniedException":
3387
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3377
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3388
3378
  case "InternalServerException":
3389
3379
  case "com.amazonaws.vpclattice#InternalServerException":
3390
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3380
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3391
3381
  case "ResourceNotFoundException":
3392
3382
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3393
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3383
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3394
3384
  case "ThrottlingException":
3395
3385
  case "com.amazonaws.vpclattice#ThrottlingException":
3396
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3386
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3397
3387
  case "ValidationException":
3398
3388
  case "com.amazonaws.vpclattice#ValidationException":
3399
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3389
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3400
3390
  default:
3401
3391
  const parsedBody = parsedOutput.body;
3402
3392
  (0, smithy_client_1.throwDefaultError)({
@@ -3407,9 +3397,9 @@ const deserializeAws_restJson1ListTargetsCommandError = async (output, context)
3407
3397
  });
3408
3398
  }
3409
3399
  };
3410
- const deserializeAws_restJson1PutAuthPolicyCommand = async (output, context) => {
3400
+ const de_PutAuthPolicyCommand = async (output, context) => {
3411
3401
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3412
- return deserializeAws_restJson1PutAuthPolicyCommandError(output, context);
3402
+ return de_PutAuthPolicyCommandError(output, context);
3413
3403
  }
3414
3404
  const contents = map({
3415
3405
  $metadata: deserializeMetadata(output),
@@ -3423,8 +3413,8 @@ const deserializeAws_restJson1PutAuthPolicyCommand = async (output, context) =>
3423
3413
  }
3424
3414
  return contents;
3425
3415
  };
3426
- exports.deserializeAws_restJson1PutAuthPolicyCommand = deserializeAws_restJson1PutAuthPolicyCommand;
3427
- const deserializeAws_restJson1PutAuthPolicyCommandError = async (output, context) => {
3416
+ exports.de_PutAuthPolicyCommand = de_PutAuthPolicyCommand;
3417
+ const de_PutAuthPolicyCommandError = async (output, context) => {
3428
3418
  const parsedOutput = {
3429
3419
  ...output,
3430
3420
  body: await parseErrorBody(output.body, context),
@@ -3433,19 +3423,19 @@ const deserializeAws_restJson1PutAuthPolicyCommandError = async (output, context
3433
3423
  switch (errorCode) {
3434
3424
  case "AccessDeniedException":
3435
3425
  case "com.amazonaws.vpclattice#AccessDeniedException":
3436
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3426
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3437
3427
  case "InternalServerException":
3438
3428
  case "com.amazonaws.vpclattice#InternalServerException":
3439
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3429
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3440
3430
  case "ResourceNotFoundException":
3441
3431
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3442
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3432
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3443
3433
  case "ThrottlingException":
3444
3434
  case "com.amazonaws.vpclattice#ThrottlingException":
3445
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3435
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3446
3436
  case "ValidationException":
3447
3437
  case "com.amazonaws.vpclattice#ValidationException":
3448
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3438
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3449
3439
  default:
3450
3440
  const parsedBody = parsedOutput.body;
3451
3441
  (0, smithy_client_1.throwDefaultError)({
@@ -3456,9 +3446,9 @@ const deserializeAws_restJson1PutAuthPolicyCommandError = async (output, context
3456
3446
  });
3457
3447
  }
3458
3448
  };
3459
- const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context) => {
3449
+ const de_PutResourcePolicyCommand = async (output, context) => {
3460
3450
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3461
- return deserializeAws_restJson1PutResourcePolicyCommandError(output, context);
3451
+ return de_PutResourcePolicyCommandError(output, context);
3462
3452
  }
3463
3453
  const contents = map({
3464
3454
  $metadata: deserializeMetadata(output),
@@ -3466,8 +3456,8 @@ const deserializeAws_restJson1PutResourcePolicyCommand = async (output, context)
3466
3456
  await collectBody(output.body, context);
3467
3457
  return contents;
3468
3458
  };
3469
- exports.deserializeAws_restJson1PutResourcePolicyCommand = deserializeAws_restJson1PutResourcePolicyCommand;
3470
- const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, context) => {
3459
+ exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand;
3460
+ const de_PutResourcePolicyCommandError = async (output, context) => {
3471
3461
  const parsedOutput = {
3472
3462
  ...output,
3473
3463
  body: await parseErrorBody(output.body, context),
@@ -3476,19 +3466,19 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
3476
3466
  switch (errorCode) {
3477
3467
  case "AccessDeniedException":
3478
3468
  case "com.amazonaws.vpclattice#AccessDeniedException":
3479
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3469
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3480
3470
  case "InternalServerException":
3481
3471
  case "com.amazonaws.vpclattice#InternalServerException":
3482
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3472
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3483
3473
  case "ResourceNotFoundException":
3484
3474
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3485
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3475
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3486
3476
  case "ThrottlingException":
3487
3477
  case "com.amazonaws.vpclattice#ThrottlingException":
3488
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3478
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3489
3479
  case "ValidationException":
3490
3480
  case "com.amazonaws.vpclattice#ValidationException":
3491
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3481
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3492
3482
  default:
3493
3483
  const parsedBody = parsedOutput.body;
3494
3484
  (0, smithy_client_1.throwDefaultError)({
@@ -3499,24 +3489,24 @@ const deserializeAws_restJson1PutResourcePolicyCommandError = async (output, con
3499
3489
  });
3500
3490
  }
3501
3491
  };
3502
- const deserializeAws_restJson1RegisterTargetsCommand = async (output, context) => {
3492
+ const de_RegisterTargetsCommand = async (output, context) => {
3503
3493
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3504
- return deserializeAws_restJson1RegisterTargetsCommandError(output, context);
3494
+ return de_RegisterTargetsCommandError(output, context);
3505
3495
  }
3506
3496
  const contents = map({
3507
3497
  $metadata: deserializeMetadata(output),
3508
3498
  });
3509
3499
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3510
3500
  if (data.successful != null) {
3511
- contents.successful = deserializeAws_restJson1TargetList(data.successful, context);
3501
+ contents.successful = de_TargetList(data.successful, context);
3512
3502
  }
3513
3503
  if (data.unsuccessful != null) {
3514
- contents.unsuccessful = deserializeAws_restJson1TargetFailureList(data.unsuccessful, context);
3504
+ contents.unsuccessful = de_TargetFailureList(data.unsuccessful, context);
3515
3505
  }
3516
3506
  return contents;
3517
3507
  };
3518
- exports.deserializeAws_restJson1RegisterTargetsCommand = deserializeAws_restJson1RegisterTargetsCommand;
3519
- const deserializeAws_restJson1RegisterTargetsCommandError = async (output, context) => {
3508
+ exports.de_RegisterTargetsCommand = de_RegisterTargetsCommand;
3509
+ const de_RegisterTargetsCommandError = async (output, context) => {
3520
3510
  const parsedOutput = {
3521
3511
  ...output,
3522
3512
  body: await parseErrorBody(output.body, context),
@@ -3525,25 +3515,25 @@ const deserializeAws_restJson1RegisterTargetsCommandError = async (output, conte
3525
3515
  switch (errorCode) {
3526
3516
  case "AccessDeniedException":
3527
3517
  case "com.amazonaws.vpclattice#AccessDeniedException":
3528
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3518
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3529
3519
  case "ConflictException":
3530
3520
  case "com.amazonaws.vpclattice#ConflictException":
3531
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3521
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3532
3522
  case "InternalServerException":
3533
3523
  case "com.amazonaws.vpclattice#InternalServerException":
3534
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3524
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3535
3525
  case "ResourceNotFoundException":
3536
3526
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3537
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3527
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3538
3528
  case "ServiceQuotaExceededException":
3539
3529
  case "com.amazonaws.vpclattice#ServiceQuotaExceededException":
3540
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
3530
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
3541
3531
  case "ThrottlingException":
3542
3532
  case "com.amazonaws.vpclattice#ThrottlingException":
3543
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3533
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3544
3534
  case "ValidationException":
3545
3535
  case "com.amazonaws.vpclattice#ValidationException":
3546
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3536
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3547
3537
  default:
3548
3538
  const parsedBody = parsedOutput.body;
3549
3539
  (0, smithy_client_1.throwDefaultError)({
@@ -3554,9 +3544,9 @@ const deserializeAws_restJson1RegisterTargetsCommandError = async (output, conte
3554
3544
  });
3555
3545
  }
3556
3546
  };
3557
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
3547
+ const de_TagResourceCommand = async (output, context) => {
3558
3548
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3559
- return deserializeAws_restJson1TagResourceCommandError(output, context);
3549
+ return de_TagResourceCommandError(output, context);
3560
3550
  }
3561
3551
  const contents = map({
3562
3552
  $metadata: deserializeMetadata(output),
@@ -3564,8 +3554,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
3564
3554
  await collectBody(output.body, context);
3565
3555
  return contents;
3566
3556
  };
3567
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
3568
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
3557
+ exports.de_TagResourceCommand = de_TagResourceCommand;
3558
+ const de_TagResourceCommandError = async (output, context) => {
3569
3559
  const parsedOutput = {
3570
3560
  ...output,
3571
3561
  body: await parseErrorBody(output.body, context),
@@ -3574,19 +3564,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3574
3564
  switch (errorCode) {
3575
3565
  case "AccessDeniedException":
3576
3566
  case "com.amazonaws.vpclattice#AccessDeniedException":
3577
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3567
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3578
3568
  case "InternalServerException":
3579
3569
  case "com.amazonaws.vpclattice#InternalServerException":
3580
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3570
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3581
3571
  case "ResourceNotFoundException":
3582
3572
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3583
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3573
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3584
3574
  case "ThrottlingException":
3585
3575
  case "com.amazonaws.vpclattice#ThrottlingException":
3586
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3576
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3587
3577
  case "ValidationException":
3588
3578
  case "com.amazonaws.vpclattice#ValidationException":
3589
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3579
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3590
3580
  default:
3591
3581
  const parsedBody = parsedOutput.body;
3592
3582
  (0, smithy_client_1.throwDefaultError)({
@@ -3597,9 +3587,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3597
3587
  });
3598
3588
  }
3599
3589
  };
3600
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
3590
+ const de_UntagResourceCommand = async (output, context) => {
3601
3591
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3602
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
3592
+ return de_UntagResourceCommandError(output, context);
3603
3593
  }
3604
3594
  const contents = map({
3605
3595
  $metadata: deserializeMetadata(output),
@@ -3607,8 +3597,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
3607
3597
  await collectBody(output.body, context);
3608
3598
  return contents;
3609
3599
  };
3610
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
3611
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
3600
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
3601
+ const de_UntagResourceCommandError = async (output, context) => {
3612
3602
  const parsedOutput = {
3613
3603
  ...output,
3614
3604
  body: await parseErrorBody(output.body, context),
@@ -3617,13 +3607,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3617
3607
  switch (errorCode) {
3618
3608
  case "InternalServerException":
3619
3609
  case "com.amazonaws.vpclattice#InternalServerException":
3620
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3610
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3621
3611
  case "ResourceNotFoundException":
3622
3612
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3623
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3613
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3624
3614
  case "ValidationException":
3625
3615
  case "com.amazonaws.vpclattice#ValidationException":
3626
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3616
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3627
3617
  default:
3628
3618
  const parsedBody = parsedOutput.body;
3629
3619
  (0, smithy_client_1.throwDefaultError)({
@@ -3634,9 +3624,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3634
3624
  });
3635
3625
  }
3636
3626
  };
3637
- const deserializeAws_restJson1UpdateAccessLogSubscriptionCommand = async (output, context) => {
3627
+ const de_UpdateAccessLogSubscriptionCommand = async (output, context) => {
3638
3628
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3639
- return deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError(output, context);
3629
+ return de_UpdateAccessLogSubscriptionCommandError(output, context);
3640
3630
  }
3641
3631
  const contents = map({
3642
3632
  $metadata: deserializeMetadata(output),
@@ -3659,8 +3649,8 @@ const deserializeAws_restJson1UpdateAccessLogSubscriptionCommand = async (output
3659
3649
  }
3660
3650
  return contents;
3661
3651
  };
3662
- exports.deserializeAws_restJson1UpdateAccessLogSubscriptionCommand = deserializeAws_restJson1UpdateAccessLogSubscriptionCommand;
3663
- const deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError = async (output, context) => {
3652
+ exports.de_UpdateAccessLogSubscriptionCommand = de_UpdateAccessLogSubscriptionCommand;
3653
+ const de_UpdateAccessLogSubscriptionCommandError = async (output, context) => {
3664
3654
  const parsedOutput = {
3665
3655
  ...output,
3666
3656
  body: await parseErrorBody(output.body, context),
@@ -3669,22 +3659,22 @@ const deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError = async (o
3669
3659
  switch (errorCode) {
3670
3660
  case "AccessDeniedException":
3671
3661
  case "com.amazonaws.vpclattice#AccessDeniedException":
3672
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3662
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3673
3663
  case "ConflictException":
3674
3664
  case "com.amazonaws.vpclattice#ConflictException":
3675
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3665
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3676
3666
  case "InternalServerException":
3677
3667
  case "com.amazonaws.vpclattice#InternalServerException":
3678
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3668
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3679
3669
  case "ResourceNotFoundException":
3680
3670
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3681
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3671
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3682
3672
  case "ThrottlingException":
3683
3673
  case "com.amazonaws.vpclattice#ThrottlingException":
3684
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3674
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3685
3675
  case "ValidationException":
3686
3676
  case "com.amazonaws.vpclattice#ValidationException":
3687
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3677
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3688
3678
  default:
3689
3679
  const parsedBody = parsedOutput.body;
3690
3680
  (0, smithy_client_1.throwDefaultError)({
@@ -3695,9 +3685,9 @@ const deserializeAws_restJson1UpdateAccessLogSubscriptionCommandError = async (o
3695
3685
  });
3696
3686
  }
3697
3687
  };
3698
- const deserializeAws_restJson1UpdateListenerCommand = async (output, context) => {
3688
+ const de_UpdateListenerCommand = async (output, context) => {
3699
3689
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3700
- return deserializeAws_restJson1UpdateListenerCommandError(output, context);
3690
+ return de_UpdateListenerCommandError(output, context);
3701
3691
  }
3702
3692
  const contents = map({
3703
3693
  $metadata: deserializeMetadata(output),
@@ -3707,7 +3697,7 @@ const deserializeAws_restJson1UpdateListenerCommand = async (output, context) =>
3707
3697
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
3708
3698
  }
3709
3699
  if (data.defaultAction != null) {
3710
- contents.defaultAction = deserializeAws_restJson1RuleAction((0, smithy_client_1.expectUnion)(data.defaultAction), context);
3700
+ contents.defaultAction = de_RuleAction((0, smithy_client_1.expectUnion)(data.defaultAction), context);
3711
3701
  }
3712
3702
  if (data.id != null) {
3713
3703
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -3729,8 +3719,8 @@ const deserializeAws_restJson1UpdateListenerCommand = async (output, context) =>
3729
3719
  }
3730
3720
  return contents;
3731
3721
  };
3732
- exports.deserializeAws_restJson1UpdateListenerCommand = deserializeAws_restJson1UpdateListenerCommand;
3733
- const deserializeAws_restJson1UpdateListenerCommandError = async (output, context) => {
3722
+ exports.de_UpdateListenerCommand = de_UpdateListenerCommand;
3723
+ const de_UpdateListenerCommandError = async (output, context) => {
3734
3724
  const parsedOutput = {
3735
3725
  ...output,
3736
3726
  body: await parseErrorBody(output.body, context),
@@ -3739,22 +3729,22 @@ const deserializeAws_restJson1UpdateListenerCommandError = async (output, contex
3739
3729
  switch (errorCode) {
3740
3730
  case "AccessDeniedException":
3741
3731
  case "com.amazonaws.vpclattice#AccessDeniedException":
3742
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3732
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3743
3733
  case "ConflictException":
3744
3734
  case "com.amazonaws.vpclattice#ConflictException":
3745
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3735
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3746
3736
  case "InternalServerException":
3747
3737
  case "com.amazonaws.vpclattice#InternalServerException":
3748
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3738
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3749
3739
  case "ResourceNotFoundException":
3750
3740
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3751
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3741
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3752
3742
  case "ThrottlingException":
3753
3743
  case "com.amazonaws.vpclattice#ThrottlingException":
3754
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3744
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3755
3745
  case "ValidationException":
3756
3746
  case "com.amazonaws.vpclattice#ValidationException":
3757
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3747
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3758
3748
  default:
3759
3749
  const parsedBody = parsedOutput.body;
3760
3750
  (0, smithy_client_1.throwDefaultError)({
@@ -3765,16 +3755,16 @@ const deserializeAws_restJson1UpdateListenerCommandError = async (output, contex
3765
3755
  });
3766
3756
  }
3767
3757
  };
3768
- const deserializeAws_restJson1UpdateRuleCommand = async (output, context) => {
3758
+ const de_UpdateRuleCommand = async (output, context) => {
3769
3759
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3770
- return deserializeAws_restJson1UpdateRuleCommandError(output, context);
3760
+ return de_UpdateRuleCommandError(output, context);
3771
3761
  }
3772
3762
  const contents = map({
3773
3763
  $metadata: deserializeMetadata(output),
3774
3764
  });
3775
3765
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3776
3766
  if (data.action != null) {
3777
- contents.action = deserializeAws_restJson1RuleAction((0, smithy_client_1.expectUnion)(data.action), context);
3767
+ contents.action = de_RuleAction((0, smithy_client_1.expectUnion)(data.action), context);
3778
3768
  }
3779
3769
  if (data.arn != null) {
3780
3770
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
@@ -3786,7 +3776,7 @@ const deserializeAws_restJson1UpdateRuleCommand = async (output, context) => {
3786
3776
  contents.isDefault = (0, smithy_client_1.expectBoolean)(data.isDefault);
3787
3777
  }
3788
3778
  if (data.match != null) {
3789
- contents.match = deserializeAws_restJson1RuleMatch((0, smithy_client_1.expectUnion)(data.match), context);
3779
+ contents.match = de_RuleMatch((0, smithy_client_1.expectUnion)(data.match), context);
3790
3780
  }
3791
3781
  if (data.name != null) {
3792
3782
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -3796,8 +3786,8 @@ const deserializeAws_restJson1UpdateRuleCommand = async (output, context) => {
3796
3786
  }
3797
3787
  return contents;
3798
3788
  };
3799
- exports.deserializeAws_restJson1UpdateRuleCommand = deserializeAws_restJson1UpdateRuleCommand;
3800
- const deserializeAws_restJson1UpdateRuleCommandError = async (output, context) => {
3789
+ exports.de_UpdateRuleCommand = de_UpdateRuleCommand;
3790
+ const de_UpdateRuleCommandError = async (output, context) => {
3801
3791
  const parsedOutput = {
3802
3792
  ...output,
3803
3793
  body: await parseErrorBody(output.body, context),
@@ -3806,22 +3796,22 @@ const deserializeAws_restJson1UpdateRuleCommandError = async (output, context) =
3806
3796
  switch (errorCode) {
3807
3797
  case "AccessDeniedException":
3808
3798
  case "com.amazonaws.vpclattice#AccessDeniedException":
3809
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3799
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3810
3800
  case "ConflictException":
3811
3801
  case "com.amazonaws.vpclattice#ConflictException":
3812
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3802
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3813
3803
  case "InternalServerException":
3814
3804
  case "com.amazonaws.vpclattice#InternalServerException":
3815
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3805
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3816
3806
  case "ResourceNotFoundException":
3817
3807
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3818
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3808
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3819
3809
  case "ThrottlingException":
3820
3810
  case "com.amazonaws.vpclattice#ThrottlingException":
3821
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3811
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3822
3812
  case "ValidationException":
3823
3813
  case "com.amazonaws.vpclattice#ValidationException":
3824
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3814
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3825
3815
  default:
3826
3816
  const parsedBody = parsedOutput.body;
3827
3817
  (0, smithy_client_1.throwDefaultError)({
@@ -3832,9 +3822,9 @@ const deserializeAws_restJson1UpdateRuleCommandError = async (output, context) =
3832
3822
  });
3833
3823
  }
3834
3824
  };
3835
- const deserializeAws_restJson1UpdateServiceCommand = async (output, context) => {
3825
+ const de_UpdateServiceCommand = async (output, context) => {
3836
3826
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3837
- return deserializeAws_restJson1UpdateServiceCommandError(output, context);
3827
+ return de_UpdateServiceCommandError(output, context);
3838
3828
  }
3839
3829
  const contents = map({
3840
3830
  $metadata: deserializeMetadata(output),
@@ -3860,8 +3850,8 @@ const deserializeAws_restJson1UpdateServiceCommand = async (output, context) =>
3860
3850
  }
3861
3851
  return contents;
3862
3852
  };
3863
- exports.deserializeAws_restJson1UpdateServiceCommand = deserializeAws_restJson1UpdateServiceCommand;
3864
- const deserializeAws_restJson1UpdateServiceCommandError = async (output, context) => {
3853
+ exports.de_UpdateServiceCommand = de_UpdateServiceCommand;
3854
+ const de_UpdateServiceCommandError = async (output, context) => {
3865
3855
  const parsedOutput = {
3866
3856
  ...output,
3867
3857
  body: await parseErrorBody(output.body, context),
@@ -3870,22 +3860,22 @@ const deserializeAws_restJson1UpdateServiceCommandError = async (output, context
3870
3860
  switch (errorCode) {
3871
3861
  case "AccessDeniedException":
3872
3862
  case "com.amazonaws.vpclattice#AccessDeniedException":
3873
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3863
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3874
3864
  case "ConflictException":
3875
3865
  case "com.amazonaws.vpclattice#ConflictException":
3876
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3866
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3877
3867
  case "InternalServerException":
3878
3868
  case "com.amazonaws.vpclattice#InternalServerException":
3879
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3869
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3880
3870
  case "ResourceNotFoundException":
3881
3871
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3882
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3872
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3883
3873
  case "ThrottlingException":
3884
3874
  case "com.amazonaws.vpclattice#ThrottlingException":
3885
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3875
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3886
3876
  case "ValidationException":
3887
3877
  case "com.amazonaws.vpclattice#ValidationException":
3888
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3878
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3889
3879
  default:
3890
3880
  const parsedBody = parsedOutput.body;
3891
3881
  (0, smithy_client_1.throwDefaultError)({
@@ -3896,9 +3886,9 @@ const deserializeAws_restJson1UpdateServiceCommandError = async (output, context
3896
3886
  });
3897
3887
  }
3898
3888
  };
3899
- const deserializeAws_restJson1UpdateServiceNetworkCommand = async (output, context) => {
3889
+ const de_UpdateServiceNetworkCommand = async (output, context) => {
3900
3890
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3901
- return deserializeAws_restJson1UpdateServiceNetworkCommandError(output, context);
3891
+ return de_UpdateServiceNetworkCommandError(output, context);
3902
3892
  }
3903
3893
  const contents = map({
3904
3894
  $metadata: deserializeMetadata(output),
@@ -3918,8 +3908,8 @@ const deserializeAws_restJson1UpdateServiceNetworkCommand = async (output, conte
3918
3908
  }
3919
3909
  return contents;
3920
3910
  };
3921
- exports.deserializeAws_restJson1UpdateServiceNetworkCommand = deserializeAws_restJson1UpdateServiceNetworkCommand;
3922
- const deserializeAws_restJson1UpdateServiceNetworkCommandError = async (output, context) => {
3911
+ exports.de_UpdateServiceNetworkCommand = de_UpdateServiceNetworkCommand;
3912
+ const de_UpdateServiceNetworkCommandError = async (output, context) => {
3923
3913
  const parsedOutput = {
3924
3914
  ...output,
3925
3915
  body: await parseErrorBody(output.body, context),
@@ -3928,22 +3918,22 @@ const deserializeAws_restJson1UpdateServiceNetworkCommandError = async (output,
3928
3918
  switch (errorCode) {
3929
3919
  case "AccessDeniedException":
3930
3920
  case "com.amazonaws.vpclattice#AccessDeniedException":
3931
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3921
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3932
3922
  case "ConflictException":
3933
3923
  case "com.amazonaws.vpclattice#ConflictException":
3934
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3924
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3935
3925
  case "InternalServerException":
3936
3926
  case "com.amazonaws.vpclattice#InternalServerException":
3937
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3927
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3938
3928
  case "ResourceNotFoundException":
3939
3929
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
3940
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3930
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3941
3931
  case "ThrottlingException":
3942
3932
  case "com.amazonaws.vpclattice#ThrottlingException":
3943
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3933
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
3944
3934
  case "ValidationException":
3945
3935
  case "com.amazonaws.vpclattice#ValidationException":
3946
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3936
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3947
3937
  default:
3948
3938
  const parsedBody = parsedOutput.body;
3949
3939
  (0, smithy_client_1.throwDefaultError)({
@@ -3954,9 +3944,9 @@ const deserializeAws_restJson1UpdateServiceNetworkCommandError = async (output,
3954
3944
  });
3955
3945
  }
3956
3946
  };
3957
- const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = async (output, context) => {
3947
+ const de_UpdateServiceNetworkVpcAssociationCommand = async (output, context) => {
3958
3948
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3959
- return deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError(output, context);
3949
+ return de_UpdateServiceNetworkVpcAssociationCommandError(output, context);
3960
3950
  }
3961
3951
  const contents = map({
3962
3952
  $metadata: deserializeMetadata(output),
@@ -3972,15 +3962,15 @@ const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = async
3972
3962
  contents.id = (0, smithy_client_1.expectString)(data.id);
3973
3963
  }
3974
3964
  if (data.securityGroupIds != null) {
3975
- contents.securityGroupIds = deserializeAws_restJson1SecurityGroupList(data.securityGroupIds, context);
3965
+ contents.securityGroupIds = de_SecurityGroupList(data.securityGroupIds, context);
3976
3966
  }
3977
3967
  if (data.status != null) {
3978
3968
  contents.status = (0, smithy_client_1.expectString)(data.status);
3979
3969
  }
3980
3970
  return contents;
3981
3971
  };
3982
- exports.deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand = deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommand;
3983
- const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError = async (output, context) => {
3972
+ exports.de_UpdateServiceNetworkVpcAssociationCommand = de_UpdateServiceNetworkVpcAssociationCommand;
3973
+ const de_UpdateServiceNetworkVpcAssociationCommandError = async (output, context) => {
3984
3974
  const parsedOutput = {
3985
3975
  ...output,
3986
3976
  body: await parseErrorBody(output.body, context),
@@ -3989,22 +3979,22 @@ const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError = a
3989
3979
  switch (errorCode) {
3990
3980
  case "AccessDeniedException":
3991
3981
  case "com.amazonaws.vpclattice#AccessDeniedException":
3992
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3982
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3993
3983
  case "ConflictException":
3994
3984
  case "com.amazonaws.vpclattice#ConflictException":
3995
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3985
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3996
3986
  case "InternalServerException":
3997
3987
  case "com.amazonaws.vpclattice#InternalServerException":
3998
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3988
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
3999
3989
  case "ResourceNotFoundException":
4000
3990
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
4001
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3991
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4002
3992
  case "ThrottlingException":
4003
3993
  case "com.amazonaws.vpclattice#ThrottlingException":
4004
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3994
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
4005
3995
  case "ValidationException":
4006
3996
  case "com.amazonaws.vpclattice#ValidationException":
4007
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3997
+ throw await de_ValidationExceptionRes(parsedOutput, context);
4008
3998
  default:
4009
3999
  const parsedBody = parsedOutput.body;
4010
4000
  (0, smithy_client_1.throwDefaultError)({
@@ -4015,9 +4005,9 @@ const deserializeAws_restJson1UpdateServiceNetworkVpcAssociationCommandError = a
4015
4005
  });
4016
4006
  }
4017
4007
  };
4018
- const deserializeAws_restJson1UpdateTargetGroupCommand = async (output, context) => {
4008
+ const de_UpdateTargetGroupCommand = async (output, context) => {
4019
4009
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4020
- return deserializeAws_restJson1UpdateTargetGroupCommandError(output, context);
4010
+ return de_UpdateTargetGroupCommandError(output, context);
4021
4011
  }
4022
4012
  const contents = map({
4023
4013
  $metadata: deserializeMetadata(output),
@@ -4027,7 +4017,7 @@ const deserializeAws_restJson1UpdateTargetGroupCommand = async (output, context)
4027
4017
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
4028
4018
  }
4029
4019
  if (data.config != null) {
4030
- contents.config = deserializeAws_restJson1TargetGroupConfig(data.config, context);
4020
+ contents.config = de_TargetGroupConfig(data.config, context);
4031
4021
  }
4032
4022
  if (data.id != null) {
4033
4023
  contents.id = (0, smithy_client_1.expectString)(data.id);
@@ -4043,8 +4033,8 @@ const deserializeAws_restJson1UpdateTargetGroupCommand = async (output, context)
4043
4033
  }
4044
4034
  return contents;
4045
4035
  };
4046
- exports.deserializeAws_restJson1UpdateTargetGroupCommand = deserializeAws_restJson1UpdateTargetGroupCommand;
4047
- const deserializeAws_restJson1UpdateTargetGroupCommandError = async (output, context) => {
4036
+ exports.de_UpdateTargetGroupCommand = de_UpdateTargetGroupCommand;
4037
+ const de_UpdateTargetGroupCommandError = async (output, context) => {
4048
4038
  const parsedOutput = {
4049
4039
  ...output,
4050
4040
  body: await parseErrorBody(output.body, context),
@@ -4053,19 +4043,19 @@ const deserializeAws_restJson1UpdateTargetGroupCommandError = async (output, con
4053
4043
  switch (errorCode) {
4054
4044
  case "ConflictException":
4055
4045
  case "com.amazonaws.vpclattice#ConflictException":
4056
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
4046
+ throw await de_ConflictExceptionRes(parsedOutput, context);
4057
4047
  case "InternalServerException":
4058
4048
  case "com.amazonaws.vpclattice#InternalServerException":
4059
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
4049
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
4060
4050
  case "ResourceNotFoundException":
4061
4051
  case "com.amazonaws.vpclattice#ResourceNotFoundException":
4062
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
4052
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4063
4053
  case "ThrottlingException":
4064
4054
  case "com.amazonaws.vpclattice#ThrottlingException":
4065
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
4055
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
4066
4056
  case "ValidationException":
4067
4057
  case "com.amazonaws.vpclattice#ValidationException":
4068
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
4058
+ throw await de_ValidationExceptionRes(parsedOutput, context);
4069
4059
  default:
4070
4060
  const parsedBody = parsedOutput.body;
4071
4061
  (0, smithy_client_1.throwDefaultError)({
@@ -4077,7 +4067,7 @@ const deserializeAws_restJson1UpdateTargetGroupCommandError = async (output, con
4077
4067
  }
4078
4068
  };
4079
4069
  const map = smithy_client_1.map;
4080
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
4070
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
4081
4071
  const contents = map({});
4082
4072
  const data = parsedOutput.body;
4083
4073
  if (data.message != null) {
@@ -4089,7 +4079,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
4089
4079
  });
4090
4080
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4091
4081
  };
4092
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
4082
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
4093
4083
  const contents = map({});
4094
4084
  const data = parsedOutput.body;
4095
4085
  if (data.message != null) {
@@ -4107,7 +4097,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
4107
4097
  });
4108
4098
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4109
4099
  };
4110
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
4100
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
4111
4101
  const contents = map({
4112
4102
  retryAfterSeconds: [
4113
4103
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -4124,7 +4114,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
4124
4114
  });
4125
4115
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4126
4116
  };
4127
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
4117
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
4128
4118
  const contents = map({});
4129
4119
  const data = parsedOutput.body;
4130
4120
  if (data.message != null) {
@@ -4142,7 +4132,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
4142
4132
  });
4143
4133
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4144
4134
  };
4145
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
4135
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
4146
4136
  const contents = map({});
4147
4137
  const data = parsedOutput.body;
4148
4138
  if (data.message != null) {
@@ -4166,7 +4156,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
4166
4156
  });
4167
4157
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4168
4158
  };
4169
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
4159
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
4170
4160
  const contents = map({
4171
4161
  retryAfterSeconds: [
4172
4162
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -4189,11 +4179,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
4189
4179
  });
4190
4180
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4191
4181
  };
4192
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
4182
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
4193
4183
  const contents = map({});
4194
4184
  const data = parsedOutput.body;
4195
4185
  if (data.fieldList != null) {
4196
- contents.fieldList = deserializeAws_restJson1ValidationExceptionFieldList(data.fieldList, context);
4186
+ contents.fieldList = de_ValidationExceptionFieldList(data.fieldList, context);
4197
4187
  }
4198
4188
  if (data.message != null) {
4199
4189
  contents.message = (0, smithy_client_1.expectString)(data.message);
@@ -4207,33 +4197,31 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
4207
4197
  });
4208
4198
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4209
4199
  };
4210
- const serializeAws_restJson1FixedResponseAction = (input, context) => {
4200
+ const se_FixedResponseAction = (input, context) => {
4211
4201
  return {
4212
4202
  ...(input.statusCode != null && { statusCode: input.statusCode }),
4213
4203
  };
4214
4204
  };
4215
- const serializeAws_restJson1ForwardAction = (input, context) => {
4205
+ const se_ForwardAction = (input, context) => {
4216
4206
  return {
4217
- ...(input.targetGroups != null && {
4218
- targetGroups: serializeAws_restJson1WeightedTargetGroupList(input.targetGroups, context),
4219
- }),
4207
+ ...(input.targetGroups != null && { targetGroups: se_WeightedTargetGroupList(input.targetGroups, context) }),
4220
4208
  };
4221
4209
  };
4222
- const serializeAws_restJson1HeaderMatch = (input, context) => {
4210
+ const se_HeaderMatch = (input, context) => {
4223
4211
  return {
4224
4212
  ...(input.caseSensitive != null && { caseSensitive: input.caseSensitive }),
4225
- ...(input.match != null && { match: serializeAws_restJson1HeaderMatchType(input.match, context) }),
4213
+ ...(input.match != null && { match: se_HeaderMatchType(input.match, context) }),
4226
4214
  ...(input.name != null && { name: input.name }),
4227
4215
  };
4228
4216
  };
4229
- const serializeAws_restJson1HeaderMatchList = (input, context) => {
4217
+ const se_HeaderMatchList = (input, context) => {
4230
4218
  return input
4231
4219
  .filter((e) => e != null)
4232
4220
  .map((entry) => {
4233
- return serializeAws_restJson1HeaderMatch(entry, context);
4221
+ return se_HeaderMatch(entry, context);
4234
4222
  });
4235
4223
  };
4236
- const serializeAws_restJson1HeaderMatchType = (input, context) => {
4224
+ const se_HeaderMatchType = (input, context) => {
4237
4225
  return models_0_1.HeaderMatchType.visit(input, {
4238
4226
  contains: (value) => ({ contains: value }),
4239
4227
  exact: (value) => ({ exact: value }),
@@ -4241,13 +4229,13 @@ const serializeAws_restJson1HeaderMatchType = (input, context) => {
4241
4229
  _: (name, value) => ({ name: value }),
4242
4230
  });
4243
4231
  };
4244
- const serializeAws_restJson1HealthCheckConfig = (input, context) => {
4232
+ const se_HealthCheckConfig = (input, context) => {
4245
4233
  return {
4246
4234
  ...(input.enabled != null && { enabled: input.enabled }),
4247
4235
  ...(input.healthCheckIntervalSeconds != null && { healthCheckIntervalSeconds: input.healthCheckIntervalSeconds }),
4248
4236
  ...(input.healthCheckTimeoutSeconds != null && { healthCheckTimeoutSeconds: input.healthCheckTimeoutSeconds }),
4249
4237
  ...(input.healthyThresholdCount != null && { healthyThresholdCount: input.healthyThresholdCount }),
4250
- ...(input.matcher != null && { matcher: serializeAws_restJson1Matcher(input.matcher, context) }),
4238
+ ...(input.matcher != null && { matcher: se_Matcher(input.matcher, context) }),
4251
4239
  ...(input.path != null && { path: input.path }),
4252
4240
  ...(input.port != null && { port: input.port }),
4253
4241
  ...(input.protocol != null && { protocol: input.protocol }),
@@ -4255,70 +4243,68 @@ const serializeAws_restJson1HealthCheckConfig = (input, context) => {
4255
4243
  ...(input.unhealthyThresholdCount != null && { unhealthyThresholdCount: input.unhealthyThresholdCount }),
4256
4244
  };
4257
4245
  };
4258
- const serializeAws_restJson1HttpMatch = (input, context) => {
4246
+ const se_HttpMatch = (input, context) => {
4259
4247
  return {
4260
- ...(input.headerMatches != null && {
4261
- headerMatches: serializeAws_restJson1HeaderMatchList(input.headerMatches, context),
4262
- }),
4248
+ ...(input.headerMatches != null && { headerMatches: se_HeaderMatchList(input.headerMatches, context) }),
4263
4249
  ...(input.method != null && { method: input.method }),
4264
- ...(input.pathMatch != null && { pathMatch: serializeAws_restJson1PathMatch(input.pathMatch, context) }),
4250
+ ...(input.pathMatch != null && { pathMatch: se_PathMatch(input.pathMatch, context) }),
4265
4251
  };
4266
4252
  };
4267
- const serializeAws_restJson1Matcher = (input, context) => {
4253
+ const se_Matcher = (input, context) => {
4268
4254
  return models_0_1.Matcher.visit(input, {
4269
4255
  httpCode: (value) => ({ httpCode: value }),
4270
4256
  _: (name, value) => ({ name: value }),
4271
4257
  });
4272
4258
  };
4273
- const serializeAws_restJson1PathMatch = (input, context) => {
4259
+ const se_PathMatch = (input, context) => {
4274
4260
  return {
4275
4261
  ...(input.caseSensitive != null && { caseSensitive: input.caseSensitive }),
4276
- ...(input.match != null && { match: serializeAws_restJson1PathMatchType(input.match, context) }),
4262
+ ...(input.match != null && { match: se_PathMatchType(input.match, context) }),
4277
4263
  };
4278
4264
  };
4279
- const serializeAws_restJson1PathMatchType = (input, context) => {
4265
+ const se_PathMatchType = (input, context) => {
4280
4266
  return models_0_1.PathMatchType.visit(input, {
4281
4267
  exact: (value) => ({ exact: value }),
4282
4268
  prefix: (value) => ({ prefix: value }),
4283
4269
  _: (name, value) => ({ name: value }),
4284
4270
  });
4285
4271
  };
4286
- const serializeAws_restJson1RuleAction = (input, context) => {
4272
+ const se_RuleAction = (input, context) => {
4287
4273
  return models_0_1.RuleAction.visit(input, {
4288
- fixedResponse: (value) => ({ fixedResponse: serializeAws_restJson1FixedResponseAction(value, context) }),
4289
- forward: (value) => ({ forward: serializeAws_restJson1ForwardAction(value, context) }),
4274
+ fixedResponse: (value) => ({ fixedResponse: se_FixedResponseAction(value, context) }),
4275
+ forward: (value) => ({ forward: se_ForwardAction(value, context) }),
4290
4276
  _: (name, value) => ({ name: value }),
4291
4277
  });
4292
4278
  };
4293
- const serializeAws_restJson1RuleMatch = (input, context) => {
4279
+ const se_RuleMatch = (input, context) => {
4294
4280
  return models_0_1.RuleMatch.visit(input, {
4295
- httpMatch: (value) => ({ httpMatch: serializeAws_restJson1HttpMatch(value, context) }),
4281
+ httpMatch: (value) => ({ httpMatch: se_HttpMatch(value, context) }),
4296
4282
  _: (name, value) => ({ name: value }),
4297
4283
  });
4298
4284
  };
4299
- const serializeAws_restJson1RuleUpdate = (input, context) => {
4285
+ const se_RuleUpdate = (input, context) => {
4300
4286
  return {
4301
- ...(input.action != null && { action: serializeAws_restJson1RuleAction(input.action, context) }),
4302
- ...(input.match != null && { match: serializeAws_restJson1RuleMatch(input.match, context) }),
4287
+ ...(input.action != null && { action: se_RuleAction(input.action, context) }),
4288
+ ...(input.match != null && { match: se_RuleMatch(input.match, context) }),
4303
4289
  ...(input.priority != null && { priority: input.priority }),
4304
4290
  ...(input.ruleIdentifier != null && { ruleIdentifier: input.ruleIdentifier }),
4305
4291
  };
4306
4292
  };
4307
- const serializeAws_restJson1RuleUpdateList = (input, context) => {
4293
+ const se_RuleUpdateList = (input, context) => {
4308
4294
  return input
4309
4295
  .filter((e) => e != null)
4310
4296
  .map((entry) => {
4311
- return serializeAws_restJson1RuleUpdate(entry, context);
4297
+ return se_RuleUpdate(entry, context);
4312
4298
  });
4313
4299
  };
4314
- const serializeAws_restJson1SecurityGroupList = (input, context) => {
4300
+ const se_SecurityGroupList = (input, context) => {
4315
4301
  return input
4316
4302
  .filter((e) => e != null)
4317
4303
  .map((entry) => {
4318
4304
  return entry;
4319
4305
  });
4320
4306
  };
4321
- const serializeAws_restJson1TagMap = (input, context) => {
4307
+ const se_TagMap = (input, context) => {
4322
4308
  return Object.entries(input).reduce((acc, [key, value]) => {
4323
4309
  if (value === null) {
4324
4310
  return acc;
@@ -4327,17 +4313,15 @@ const serializeAws_restJson1TagMap = (input, context) => {
4327
4313
  return acc;
4328
4314
  }, {});
4329
4315
  };
4330
- const serializeAws_restJson1Target = (input, context) => {
4316
+ const se_Target = (input, context) => {
4331
4317
  return {
4332
4318
  ...(input.id != null && { id: input.id }),
4333
4319
  ...(input.port != null && { port: input.port }),
4334
4320
  };
4335
4321
  };
4336
- const serializeAws_restJson1TargetGroupConfig = (input, context) => {
4322
+ const se_TargetGroupConfig = (input, context) => {
4337
4323
  return {
4338
- ...(input.healthCheck != null && {
4339
- healthCheck: serializeAws_restJson1HealthCheckConfig(input.healthCheck, context),
4340
- }),
4324
+ ...(input.healthCheck != null && { healthCheck: se_HealthCheckConfig(input.healthCheck, context) }),
4341
4325
  ...(input.ipAddressType != null && { ipAddressType: input.ipAddressType }),
4342
4326
  ...(input.port != null && { port: input.port }),
4343
4327
  ...(input.protocol != null && { protocol: input.protocol }),
@@ -4345,38 +4329,38 @@ const serializeAws_restJson1TargetGroupConfig = (input, context) => {
4345
4329
  ...(input.vpcIdentifier != null && { vpcIdentifier: input.vpcIdentifier }),
4346
4330
  };
4347
4331
  };
4348
- const serializeAws_restJson1TargetList = (input, context) => {
4332
+ const se_TargetList = (input, context) => {
4349
4333
  return input
4350
4334
  .filter((e) => e != null)
4351
4335
  .map((entry) => {
4352
- return serializeAws_restJson1Target(entry, context);
4336
+ return se_Target(entry, context);
4353
4337
  });
4354
4338
  };
4355
- const serializeAws_restJson1WeightedTargetGroup = (input, context) => {
4339
+ const se_WeightedTargetGroup = (input, context) => {
4356
4340
  return {
4357
4341
  ...(input.targetGroupIdentifier != null && { targetGroupIdentifier: input.targetGroupIdentifier }),
4358
4342
  ...(input.weight != null && { weight: input.weight }),
4359
4343
  };
4360
4344
  };
4361
- const serializeAws_restJson1WeightedTargetGroupList = (input, context) => {
4345
+ const se_WeightedTargetGroupList = (input, context) => {
4362
4346
  return input
4363
4347
  .filter((e) => e != null)
4364
4348
  .map((entry) => {
4365
- return serializeAws_restJson1WeightedTargetGroup(entry, context);
4349
+ return se_WeightedTargetGroup(entry, context);
4366
4350
  });
4367
4351
  };
4368
- const deserializeAws_restJson1AccessLogSubscriptionList = (output, context) => {
4352
+ const de_AccessLogSubscriptionList = (output, context) => {
4369
4353
  const retVal = (output || [])
4370
4354
  .filter((e) => e != null)
4371
4355
  .map((entry) => {
4372
4356
  if (entry === null) {
4373
4357
  return null;
4374
4358
  }
4375
- return deserializeAws_restJson1AccessLogSubscriptionSummary(entry, context);
4359
+ return de_AccessLogSubscriptionSummary(entry, context);
4376
4360
  });
4377
4361
  return retVal;
4378
4362
  };
4379
- const deserializeAws_restJson1AccessLogSubscriptionSummary = (output, context) => {
4363
+ const de_AccessLogSubscriptionSummary = (output, context) => {
4380
4364
  return {
4381
4365
  arn: (0, smithy_client_1.expectString)(output.arn),
4382
4366
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
@@ -4389,43 +4373,41 @@ const deserializeAws_restJson1AccessLogSubscriptionSummary = (output, context) =
4389
4373
  resourceId: (0, smithy_client_1.expectString)(output.resourceId),
4390
4374
  };
4391
4375
  };
4392
- const deserializeAws_restJson1DnsEntry = (output, context) => {
4376
+ const de_DnsEntry = (output, context) => {
4393
4377
  return {
4394
4378
  domainName: (0, smithy_client_1.expectString)(output.domainName),
4395
4379
  hostedZoneId: (0, smithy_client_1.expectString)(output.hostedZoneId),
4396
4380
  };
4397
4381
  };
4398
- const deserializeAws_restJson1FixedResponseAction = (output, context) => {
4382
+ const de_FixedResponseAction = (output, context) => {
4399
4383
  return {
4400
4384
  statusCode: (0, smithy_client_1.expectInt32)(output.statusCode),
4401
4385
  };
4402
4386
  };
4403
- const deserializeAws_restJson1ForwardAction = (output, context) => {
4387
+ const de_ForwardAction = (output, context) => {
4404
4388
  return {
4405
- targetGroups: output.targetGroups != null
4406
- ? deserializeAws_restJson1WeightedTargetGroupList(output.targetGroups, context)
4407
- : undefined,
4389
+ targetGroups: output.targetGroups != null ? de_WeightedTargetGroupList(output.targetGroups, context) : undefined,
4408
4390
  };
4409
4391
  };
4410
- const deserializeAws_restJson1HeaderMatch = (output, context) => {
4392
+ const de_HeaderMatch = (output, context) => {
4411
4393
  return {
4412
4394
  caseSensitive: (0, smithy_client_1.expectBoolean)(output.caseSensitive),
4413
- match: output.match != null ? deserializeAws_restJson1HeaderMatchType((0, smithy_client_1.expectUnion)(output.match), context) : undefined,
4395
+ match: output.match != null ? de_HeaderMatchType((0, smithy_client_1.expectUnion)(output.match), context) : undefined,
4414
4396
  name: (0, smithy_client_1.expectString)(output.name),
4415
4397
  };
4416
4398
  };
4417
- const deserializeAws_restJson1HeaderMatchList = (output, context) => {
4399
+ const de_HeaderMatchList = (output, context) => {
4418
4400
  const retVal = (output || [])
4419
4401
  .filter((e) => e != null)
4420
4402
  .map((entry) => {
4421
4403
  if (entry === null) {
4422
4404
  return null;
4423
4405
  }
4424
- return deserializeAws_restJson1HeaderMatch(entry, context);
4406
+ return de_HeaderMatch(entry, context);
4425
4407
  });
4426
4408
  return retVal;
4427
4409
  };
4428
- const deserializeAws_restJson1HeaderMatchType = (output, context) => {
4410
+ const de_HeaderMatchType = (output, context) => {
4429
4411
  if ((0, smithy_client_1.expectString)(output.contains) !== undefined) {
4430
4412
  return { contains: (0, smithy_client_1.expectString)(output.contains) };
4431
4413
  }
@@ -4437,13 +4419,13 @@ const deserializeAws_restJson1HeaderMatchType = (output, context) => {
4437
4419
  }
4438
4420
  return { $unknown: Object.entries(output)[0] };
4439
4421
  };
4440
- const deserializeAws_restJson1HealthCheckConfig = (output, context) => {
4422
+ const de_HealthCheckConfig = (output, context) => {
4441
4423
  return {
4442
4424
  enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
4443
4425
  healthCheckIntervalSeconds: (0, smithy_client_1.expectInt32)(output.healthCheckIntervalSeconds),
4444
4426
  healthCheckTimeoutSeconds: (0, smithy_client_1.expectInt32)(output.healthCheckTimeoutSeconds),
4445
4427
  healthyThresholdCount: (0, smithy_client_1.expectInt32)(output.healthyThresholdCount),
4446
- matcher: output.matcher != null ? deserializeAws_restJson1Matcher((0, smithy_client_1.expectUnion)(output.matcher), context) : undefined,
4428
+ matcher: output.matcher != null ? de_Matcher((0, smithy_client_1.expectUnion)(output.matcher), context) : undefined,
4447
4429
  path: (0, smithy_client_1.expectString)(output.path),
4448
4430
  port: (0, smithy_client_1.expectInt32)(output.port),
4449
4431
  protocol: (0, smithy_client_1.expectString)(output.protocol),
@@ -4451,14 +4433,14 @@ const deserializeAws_restJson1HealthCheckConfig = (output, context) => {
4451
4433
  unhealthyThresholdCount: (0, smithy_client_1.expectInt32)(output.unhealthyThresholdCount),
4452
4434
  };
4453
4435
  };
4454
- const deserializeAws_restJson1HttpMatch = (output, context) => {
4436
+ const de_HttpMatch = (output, context) => {
4455
4437
  return {
4456
- headerMatches: output.headerMatches != null ? deserializeAws_restJson1HeaderMatchList(output.headerMatches, context) : undefined,
4438
+ headerMatches: output.headerMatches != null ? de_HeaderMatchList(output.headerMatches, context) : undefined,
4457
4439
  method: (0, smithy_client_1.expectString)(output.method),
4458
- pathMatch: output.pathMatch != null ? deserializeAws_restJson1PathMatch(output.pathMatch, context) : undefined,
4440
+ pathMatch: output.pathMatch != null ? de_PathMatch(output.pathMatch, context) : undefined,
4459
4441
  };
4460
4442
  };
4461
- const deserializeAws_restJson1ListenerSummary = (output, context) => {
4443
+ const de_ListenerSummary = (output, context) => {
4462
4444
  return {
4463
4445
  arn: (0, smithy_client_1.expectString)(output.arn),
4464
4446
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
@@ -4471,30 +4453,30 @@ const deserializeAws_restJson1ListenerSummary = (output, context) => {
4471
4453
  protocol: (0, smithy_client_1.expectString)(output.protocol),
4472
4454
  };
4473
4455
  };
4474
- const deserializeAws_restJson1ListenerSummaryList = (output, context) => {
4456
+ const de_ListenerSummaryList = (output, context) => {
4475
4457
  const retVal = (output || [])
4476
4458
  .filter((e) => e != null)
4477
4459
  .map((entry) => {
4478
4460
  if (entry === null) {
4479
4461
  return null;
4480
4462
  }
4481
- return deserializeAws_restJson1ListenerSummary(entry, context);
4463
+ return de_ListenerSummary(entry, context);
4482
4464
  });
4483
4465
  return retVal;
4484
4466
  };
4485
- const deserializeAws_restJson1Matcher = (output, context) => {
4467
+ const de_Matcher = (output, context) => {
4486
4468
  if ((0, smithy_client_1.expectString)(output.httpCode) !== undefined) {
4487
4469
  return { httpCode: (0, smithy_client_1.expectString)(output.httpCode) };
4488
4470
  }
4489
4471
  return { $unknown: Object.entries(output)[0] };
4490
4472
  };
4491
- const deserializeAws_restJson1PathMatch = (output, context) => {
4473
+ const de_PathMatch = (output, context) => {
4492
4474
  return {
4493
4475
  caseSensitive: (0, smithy_client_1.expectBoolean)(output.caseSensitive),
4494
- match: output.match != null ? deserializeAws_restJson1PathMatchType((0, smithy_client_1.expectUnion)(output.match), context) : undefined,
4476
+ match: output.match != null ? de_PathMatchType((0, smithy_client_1.expectUnion)(output.match), context) : undefined,
4495
4477
  };
4496
4478
  };
4497
- const deserializeAws_restJson1PathMatchType = (output, context) => {
4479
+ const de_PathMatchType = (output, context) => {
4498
4480
  if ((0, smithy_client_1.expectString)(output.exact) !== undefined) {
4499
4481
  return { exact: (0, smithy_client_1.expectString)(output.exact) };
4500
4482
  }
@@ -4503,28 +4485,28 @@ const deserializeAws_restJson1PathMatchType = (output, context) => {
4503
4485
  }
4504
4486
  return { $unknown: Object.entries(output)[0] };
4505
4487
  };
4506
- const deserializeAws_restJson1RuleAction = (output, context) => {
4488
+ const de_RuleAction = (output, context) => {
4507
4489
  if (output.fixedResponse != null) {
4508
4490
  return {
4509
- fixedResponse: deserializeAws_restJson1FixedResponseAction(output.fixedResponse, context),
4491
+ fixedResponse: de_FixedResponseAction(output.fixedResponse, context),
4510
4492
  };
4511
4493
  }
4512
4494
  if (output.forward != null) {
4513
4495
  return {
4514
- forward: deserializeAws_restJson1ForwardAction(output.forward, context),
4496
+ forward: de_ForwardAction(output.forward, context),
4515
4497
  };
4516
4498
  }
4517
4499
  return { $unknown: Object.entries(output)[0] };
4518
4500
  };
4519
- const deserializeAws_restJson1RuleMatch = (output, context) => {
4501
+ const de_RuleMatch = (output, context) => {
4520
4502
  if (output.httpMatch != null) {
4521
4503
  return {
4522
- httpMatch: deserializeAws_restJson1HttpMatch(output.httpMatch, context),
4504
+ httpMatch: de_HttpMatch(output.httpMatch, context),
4523
4505
  };
4524
4506
  }
4525
4507
  return { $unknown: Object.entries(output)[0] };
4526
4508
  };
4527
- const deserializeAws_restJson1RuleSummary = (output, context) => {
4509
+ const de_RuleSummary = (output, context) => {
4528
4510
  return {
4529
4511
  arn: (0, smithy_client_1.expectString)(output.arn),
4530
4512
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
@@ -4537,58 +4519,58 @@ const deserializeAws_restJson1RuleSummary = (output, context) => {
4537
4519
  priority: (0, smithy_client_1.expectInt32)(output.priority),
4538
4520
  };
4539
4521
  };
4540
- const deserializeAws_restJson1RuleSummaryList = (output, context) => {
4522
+ const de_RuleSummaryList = (output, context) => {
4541
4523
  const retVal = (output || [])
4542
4524
  .filter((e) => e != null)
4543
4525
  .map((entry) => {
4544
4526
  if (entry === null) {
4545
4527
  return null;
4546
4528
  }
4547
- return deserializeAws_restJson1RuleSummary(entry, context);
4529
+ return de_RuleSummary(entry, context);
4548
4530
  });
4549
4531
  return retVal;
4550
4532
  };
4551
- const deserializeAws_restJson1RuleUpdateFailure = (output, context) => {
4533
+ const de_RuleUpdateFailure = (output, context) => {
4552
4534
  return {
4553
4535
  failureCode: (0, smithy_client_1.expectString)(output.failureCode),
4554
4536
  failureMessage: (0, smithy_client_1.expectString)(output.failureMessage),
4555
4537
  ruleIdentifier: (0, smithy_client_1.expectString)(output.ruleIdentifier),
4556
4538
  };
4557
4539
  };
4558
- const deserializeAws_restJson1RuleUpdateFailureList = (output, context) => {
4540
+ const de_RuleUpdateFailureList = (output, context) => {
4559
4541
  const retVal = (output || [])
4560
4542
  .filter((e) => e != null)
4561
4543
  .map((entry) => {
4562
4544
  if (entry === null) {
4563
4545
  return null;
4564
4546
  }
4565
- return deserializeAws_restJson1RuleUpdateFailure(entry, context);
4547
+ return de_RuleUpdateFailure(entry, context);
4566
4548
  });
4567
4549
  return retVal;
4568
4550
  };
4569
- const deserializeAws_restJson1RuleUpdateSuccess = (output, context) => {
4551
+ const de_RuleUpdateSuccess = (output, context) => {
4570
4552
  return {
4571
- action: output.action != null ? deserializeAws_restJson1RuleAction((0, smithy_client_1.expectUnion)(output.action), context) : undefined,
4553
+ action: output.action != null ? de_RuleAction((0, smithy_client_1.expectUnion)(output.action), context) : undefined,
4572
4554
  arn: (0, smithy_client_1.expectString)(output.arn),
4573
4555
  id: (0, smithy_client_1.expectString)(output.id),
4574
4556
  isDefault: (0, smithy_client_1.expectBoolean)(output.isDefault),
4575
- match: output.match != null ? deserializeAws_restJson1RuleMatch((0, smithy_client_1.expectUnion)(output.match), context) : undefined,
4557
+ match: output.match != null ? de_RuleMatch((0, smithy_client_1.expectUnion)(output.match), context) : undefined,
4576
4558
  name: (0, smithy_client_1.expectString)(output.name),
4577
4559
  priority: (0, smithy_client_1.expectInt32)(output.priority),
4578
4560
  };
4579
4561
  };
4580
- const deserializeAws_restJson1RuleUpdateSuccessList = (output, context) => {
4562
+ const de_RuleUpdateSuccessList = (output, context) => {
4581
4563
  const retVal = (output || [])
4582
4564
  .filter((e) => e != null)
4583
4565
  .map((entry) => {
4584
4566
  if (entry === null) {
4585
4567
  return null;
4586
4568
  }
4587
- return deserializeAws_restJson1RuleUpdateSuccess(entry, context);
4569
+ return de_RuleUpdateSuccess(entry, context);
4588
4570
  });
4589
4571
  return retVal;
4590
4572
  };
4591
- const deserializeAws_restJson1SecurityGroupList = (output, context) => {
4573
+ const de_SecurityGroupList = (output, context) => {
4592
4574
  const retVal = (output || [])
4593
4575
  .filter((e) => e != null)
4594
4576
  .map((entry) => {
@@ -4599,7 +4581,7 @@ const deserializeAws_restJson1SecurityGroupList = (output, context) => {
4599
4581
  });
4600
4582
  return retVal;
4601
4583
  };
4602
- const deserializeAws_restJson1ServiceArnList = (output, context) => {
4584
+ const de_ServiceArnList = (output, context) => {
4603
4585
  const retVal = (output || [])
4604
4586
  .filter((e) => e != null)
4605
4587
  .map((entry) => {
@@ -4610,46 +4592,46 @@ const deserializeAws_restJson1ServiceArnList = (output, context) => {
4610
4592
  });
4611
4593
  return retVal;
4612
4594
  };
4613
- const deserializeAws_restJson1ServiceList = (output, context) => {
4595
+ const de_ServiceList = (output, context) => {
4614
4596
  const retVal = (output || [])
4615
4597
  .filter((e) => e != null)
4616
4598
  .map((entry) => {
4617
4599
  if (entry === null) {
4618
4600
  return null;
4619
4601
  }
4620
- return deserializeAws_restJson1ServiceSummary(entry, context);
4602
+ return de_ServiceSummary(entry, context);
4621
4603
  });
4622
4604
  return retVal;
4623
4605
  };
4624
- const deserializeAws_restJson1ServiceNetworkList = (output, context) => {
4606
+ const de_ServiceNetworkList = (output, context) => {
4625
4607
  const retVal = (output || [])
4626
4608
  .filter((e) => e != null)
4627
4609
  .map((entry) => {
4628
4610
  if (entry === null) {
4629
4611
  return null;
4630
4612
  }
4631
- return deserializeAws_restJson1ServiceNetworkSummary(entry, context);
4613
+ return de_ServiceNetworkSummary(entry, context);
4632
4614
  });
4633
4615
  return retVal;
4634
4616
  };
4635
- const deserializeAws_restJson1ServiceNetworkServiceAssociationList = (output, context) => {
4617
+ const de_ServiceNetworkServiceAssociationList = (output, context) => {
4636
4618
  const retVal = (output || [])
4637
4619
  .filter((e) => e != null)
4638
4620
  .map((entry) => {
4639
4621
  if (entry === null) {
4640
4622
  return null;
4641
4623
  }
4642
- return deserializeAws_restJson1ServiceNetworkServiceAssociationSummary(entry, context);
4624
+ return de_ServiceNetworkServiceAssociationSummary(entry, context);
4643
4625
  });
4644
4626
  return retVal;
4645
4627
  };
4646
- const deserializeAws_restJson1ServiceNetworkServiceAssociationSummary = (output, context) => {
4628
+ const de_ServiceNetworkServiceAssociationSummary = (output, context) => {
4647
4629
  return {
4648
4630
  arn: (0, smithy_client_1.expectString)(output.arn),
4649
4631
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
4650
4632
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
4651
4633
  customDomainName: (0, smithy_client_1.expectString)(output.customDomainName),
4652
- dnsEntry: output.dnsEntry != null ? deserializeAws_restJson1DnsEntry(output.dnsEntry, context) : undefined,
4634
+ dnsEntry: output.dnsEntry != null ? de_DnsEntry(output.dnsEntry, context) : undefined,
4653
4635
  id: (0, smithy_client_1.expectString)(output.id),
4654
4636
  serviceArn: (0, smithy_client_1.expectString)(output.serviceArn),
4655
4637
  serviceId: (0, smithy_client_1.expectString)(output.serviceId),
@@ -4660,7 +4642,7 @@ const deserializeAws_restJson1ServiceNetworkServiceAssociationSummary = (output,
4660
4642
  status: (0, smithy_client_1.expectString)(output.status),
4661
4643
  };
4662
4644
  };
4663
- const deserializeAws_restJson1ServiceNetworkSummary = (output, context) => {
4645
+ const de_ServiceNetworkSummary = (output, context) => {
4664
4646
  return {
4665
4647
  arn: (0, smithy_client_1.expectString)(output.arn),
4666
4648
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
@@ -4673,18 +4655,18 @@ const deserializeAws_restJson1ServiceNetworkSummary = (output, context) => {
4673
4655
  numberOfAssociatedVPCs: (0, smithy_client_1.expectLong)(output.numberOfAssociatedVPCs),
4674
4656
  };
4675
4657
  };
4676
- const deserializeAws_restJson1ServiceNetworkVpcAssociationList = (output, context) => {
4658
+ const de_ServiceNetworkVpcAssociationList = (output, context) => {
4677
4659
  const retVal = (output || [])
4678
4660
  .filter((e) => e != null)
4679
4661
  .map((entry) => {
4680
4662
  if (entry === null) {
4681
4663
  return null;
4682
4664
  }
4683
- return deserializeAws_restJson1ServiceNetworkVpcAssociationSummary(entry, context);
4665
+ return de_ServiceNetworkVpcAssociationSummary(entry, context);
4684
4666
  });
4685
4667
  return retVal;
4686
4668
  };
4687
- const deserializeAws_restJson1ServiceNetworkVpcAssociationSummary = (output, context) => {
4669
+ const de_ServiceNetworkVpcAssociationSummary = (output, context) => {
4688
4670
  return {
4689
4671
  arn: (0, smithy_client_1.expectString)(output.arn),
4690
4672
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
@@ -4700,12 +4682,12 @@ const deserializeAws_restJson1ServiceNetworkVpcAssociationSummary = (output, con
4700
4682
  vpcId: (0, smithy_client_1.expectString)(output.vpcId),
4701
4683
  };
4702
4684
  };
4703
- const deserializeAws_restJson1ServiceSummary = (output, context) => {
4685
+ const de_ServiceSummary = (output, context) => {
4704
4686
  return {
4705
4687
  arn: (0, smithy_client_1.expectString)(output.arn),
4706
4688
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
4707
4689
  customDomainName: (0, smithy_client_1.expectString)(output.customDomainName),
4708
- dnsEntry: output.dnsEntry != null ? deserializeAws_restJson1DnsEntry(output.dnsEntry, context) : undefined,
4690
+ dnsEntry: output.dnsEntry != null ? de_DnsEntry(output.dnsEntry, context) : undefined,
4709
4691
  id: (0, smithy_client_1.expectString)(output.id),
4710
4692
  lastUpdatedAt: output.lastUpdatedAt != null
4711
4693
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdatedAt))
@@ -4714,7 +4696,7 @@ const deserializeAws_restJson1ServiceSummary = (output, context) => {
4714
4696
  status: (0, smithy_client_1.expectString)(output.status),
4715
4697
  };
4716
4698
  };
4717
- const deserializeAws_restJson1TagMap = (output, context) => {
4699
+ const de_TagMap = (output, context) => {
4718
4700
  return Object.entries(output).reduce((acc, [key, value]) => {
4719
4701
  if (value === null) {
4720
4702
  return acc;
@@ -4723,13 +4705,13 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4723
4705
  return acc;
4724
4706
  }, {});
4725
4707
  };
4726
- const deserializeAws_restJson1Target = (output, context) => {
4708
+ const de_Target = (output, context) => {
4727
4709
  return {
4728
4710
  id: (0, smithy_client_1.expectString)(output.id),
4729
4711
  port: (0, smithy_client_1.expectInt32)(output.port),
4730
4712
  };
4731
4713
  };
4732
- const deserializeAws_restJson1TargetFailure = (output, context) => {
4714
+ const de_TargetFailure = (output, context) => {
4733
4715
  return {
4734
4716
  failureCode: (0, smithy_client_1.expectString)(output.failureCode),
4735
4717
  failureMessage: (0, smithy_client_1.expectString)(output.failureMessage),
@@ -4737,20 +4719,20 @@ const deserializeAws_restJson1TargetFailure = (output, context) => {
4737
4719
  port: (0, smithy_client_1.expectInt32)(output.port),
4738
4720
  };
4739
4721
  };
4740
- const deserializeAws_restJson1TargetFailureList = (output, context) => {
4722
+ const de_TargetFailureList = (output, context) => {
4741
4723
  const retVal = (output || [])
4742
4724
  .filter((e) => e != null)
4743
4725
  .map((entry) => {
4744
4726
  if (entry === null) {
4745
4727
  return null;
4746
4728
  }
4747
- return deserializeAws_restJson1TargetFailure(entry, context);
4729
+ return de_TargetFailure(entry, context);
4748
4730
  });
4749
4731
  return retVal;
4750
4732
  };
4751
- const deserializeAws_restJson1TargetGroupConfig = (output, context) => {
4733
+ const de_TargetGroupConfig = (output, context) => {
4752
4734
  return {
4753
- healthCheck: output.healthCheck != null ? deserializeAws_restJson1HealthCheckConfig(output.healthCheck, context) : undefined,
4735
+ healthCheck: output.healthCheck != null ? de_HealthCheckConfig(output.healthCheck, context) : undefined,
4754
4736
  ipAddressType: (0, smithy_client_1.expectString)(output.ipAddressType),
4755
4737
  port: (0, smithy_client_1.expectInt32)(output.port),
4756
4738
  protocol: (0, smithy_client_1.expectString)(output.protocol),
@@ -4758,18 +4740,18 @@ const deserializeAws_restJson1TargetGroupConfig = (output, context) => {
4758
4740
  vpcIdentifier: (0, smithy_client_1.expectString)(output.vpcIdentifier),
4759
4741
  };
4760
4742
  };
4761
- const deserializeAws_restJson1TargetGroupList = (output, context) => {
4743
+ const de_TargetGroupList = (output, context) => {
4762
4744
  const retVal = (output || [])
4763
4745
  .filter((e) => e != null)
4764
4746
  .map((entry) => {
4765
4747
  if (entry === null) {
4766
4748
  return null;
4767
4749
  }
4768
- return deserializeAws_restJson1TargetGroupSummary(entry, context);
4750
+ return de_TargetGroupSummary(entry, context);
4769
4751
  });
4770
4752
  return retVal;
4771
4753
  };
4772
- const deserializeAws_restJson1TargetGroupSummary = (output, context) => {
4754
+ const de_TargetGroupSummary = (output, context) => {
4773
4755
  return {
4774
4756
  arn: (0, smithy_client_1.expectString)(output.arn),
4775
4757
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
@@ -4781,24 +4763,24 @@ const deserializeAws_restJson1TargetGroupSummary = (output, context) => {
4781
4763
  name: (0, smithy_client_1.expectString)(output.name),
4782
4764
  port: (0, smithy_client_1.expectInt32)(output.port),
4783
4765
  protocol: (0, smithy_client_1.expectString)(output.protocol),
4784
- serviceArns: output.serviceArns != null ? deserializeAws_restJson1ServiceArnList(output.serviceArns, context) : undefined,
4766
+ serviceArns: output.serviceArns != null ? de_ServiceArnList(output.serviceArns, context) : undefined,
4785
4767
  status: (0, smithy_client_1.expectString)(output.status),
4786
4768
  type: (0, smithy_client_1.expectString)(output.type),
4787
4769
  vpcIdentifier: (0, smithy_client_1.expectString)(output.vpcIdentifier),
4788
4770
  };
4789
4771
  };
4790
- const deserializeAws_restJson1TargetList = (output, context) => {
4772
+ const de_TargetList = (output, context) => {
4791
4773
  const retVal = (output || [])
4792
4774
  .filter((e) => e != null)
4793
4775
  .map((entry) => {
4794
4776
  if (entry === null) {
4795
4777
  return null;
4796
4778
  }
4797
- return deserializeAws_restJson1Target(entry, context);
4779
+ return de_Target(entry, context);
4798
4780
  });
4799
4781
  return retVal;
4800
4782
  };
4801
- const deserializeAws_restJson1TargetSummary = (output, context) => {
4783
+ const de_TargetSummary = (output, context) => {
4802
4784
  return {
4803
4785
  id: (0, smithy_client_1.expectString)(output.id),
4804
4786
  port: (0, smithy_client_1.expectInt32)(output.port),
@@ -4806,48 +4788,48 @@ const deserializeAws_restJson1TargetSummary = (output, context) => {
4806
4788
  status: (0, smithy_client_1.expectString)(output.status),
4807
4789
  };
4808
4790
  };
4809
- const deserializeAws_restJson1TargetSummaryList = (output, context) => {
4791
+ const de_TargetSummaryList = (output, context) => {
4810
4792
  const retVal = (output || [])
4811
4793
  .filter((e) => e != null)
4812
4794
  .map((entry) => {
4813
4795
  if (entry === null) {
4814
4796
  return null;
4815
4797
  }
4816
- return deserializeAws_restJson1TargetSummary(entry, context);
4798
+ return de_TargetSummary(entry, context);
4817
4799
  });
4818
4800
  return retVal;
4819
4801
  };
4820
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
4802
+ const de_ValidationExceptionField = (output, context) => {
4821
4803
  return {
4822
4804
  message: (0, smithy_client_1.expectString)(output.message),
4823
4805
  name: (0, smithy_client_1.expectString)(output.name),
4824
4806
  };
4825
4807
  };
4826
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
4808
+ const de_ValidationExceptionFieldList = (output, context) => {
4827
4809
  const retVal = (output || [])
4828
4810
  .filter((e) => e != null)
4829
4811
  .map((entry) => {
4830
4812
  if (entry === null) {
4831
4813
  return null;
4832
4814
  }
4833
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
4815
+ return de_ValidationExceptionField(entry, context);
4834
4816
  });
4835
4817
  return retVal;
4836
4818
  };
4837
- const deserializeAws_restJson1WeightedTargetGroup = (output, context) => {
4819
+ const de_WeightedTargetGroup = (output, context) => {
4838
4820
  return {
4839
4821
  targetGroupIdentifier: (0, smithy_client_1.expectString)(output.targetGroupIdentifier),
4840
4822
  weight: (0, smithy_client_1.expectInt32)(output.weight),
4841
4823
  };
4842
4824
  };
4843
- const deserializeAws_restJson1WeightedTargetGroupList = (output, context) => {
4825
+ const de_WeightedTargetGroupList = (output, context) => {
4844
4826
  const retVal = (output || [])
4845
4827
  .filter((e) => e != null)
4846
4828
  .map((entry) => {
4847
4829
  if (entry === null) {
4848
4830
  return null;
4849
4831
  }
4850
- return deserializeAws_restJson1WeightedTargetGroup(entry, context);
4832
+ return de_WeightedTargetGroup(entry, context);
4851
4833
  });
4852
4834
  return retVal;
4853
4835
  };