@aws-sdk/client-vpc-lattice 3.477.0 → 3.481.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 (249) hide show
  1. package/dist-cjs/commands/BatchUpdateRuleCommand.js +18 -41
  2. package/dist-cjs/commands/CreateAccessLogSubscriptionCommand.js +18 -41
  3. package/dist-cjs/commands/CreateListenerCommand.js +18 -41
  4. package/dist-cjs/commands/CreateRuleCommand.js +18 -41
  5. package/dist-cjs/commands/CreateServiceCommand.js +18 -41
  6. package/dist-cjs/commands/CreateServiceNetworkCommand.js +18 -41
  7. package/dist-cjs/commands/CreateServiceNetworkServiceAssociationCommand.js +18 -41
  8. package/dist-cjs/commands/CreateServiceNetworkVpcAssociationCommand.js +18 -41
  9. package/dist-cjs/commands/CreateTargetGroupCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteAccessLogSubscriptionCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteAuthPolicyCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteListenerCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteServiceCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteServiceNetworkCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteServiceNetworkServiceAssociationCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteServiceNetworkVpcAssociationCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteTargetGroupCommand.js +18 -41
  20. package/dist-cjs/commands/DeregisterTargetsCommand.js +18 -41
  21. package/dist-cjs/commands/GetAccessLogSubscriptionCommand.js +18 -41
  22. package/dist-cjs/commands/GetAuthPolicyCommand.js +18 -41
  23. package/dist-cjs/commands/GetListenerCommand.js +18 -41
  24. package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
  25. package/dist-cjs/commands/GetRuleCommand.js +18 -41
  26. package/dist-cjs/commands/GetServiceCommand.js +18 -41
  27. package/dist-cjs/commands/GetServiceNetworkCommand.js +18 -41
  28. package/dist-cjs/commands/GetServiceNetworkServiceAssociationCommand.js +18 -41
  29. package/dist-cjs/commands/GetServiceNetworkVpcAssociationCommand.js +18 -41
  30. package/dist-cjs/commands/GetTargetGroupCommand.js +18 -41
  31. package/dist-cjs/commands/ListAccessLogSubscriptionsCommand.js +18 -41
  32. package/dist-cjs/commands/ListListenersCommand.js +18 -41
  33. package/dist-cjs/commands/ListRulesCommand.js +18 -41
  34. package/dist-cjs/commands/ListServiceNetworkServiceAssociationsCommand.js +18 -41
  35. package/dist-cjs/commands/ListServiceNetworkVpcAssociationsCommand.js +18 -41
  36. package/dist-cjs/commands/ListServiceNetworksCommand.js +18 -41
  37. package/dist-cjs/commands/ListServicesCommand.js +18 -41
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  39. package/dist-cjs/commands/ListTargetGroupsCommand.js +18 -41
  40. package/dist-cjs/commands/ListTargetsCommand.js +18 -41
  41. package/dist-cjs/commands/PutAuthPolicyCommand.js +18 -41
  42. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  43. package/dist-cjs/commands/RegisterTargetsCommand.js +18 -41
  44. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  45. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateAccessLogSubscriptionCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateListenerCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateRuleCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateServiceCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateServiceNetworkCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateServiceNetworkVpcAssociationCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateTargetGroupCommand.js +18 -41
  53. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  54. package/dist-cjs/pagination/ListAccessLogSubscriptionsPaginator.js +2 -24
  55. package/dist-cjs/pagination/ListListenersPaginator.js +2 -24
  56. package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
  57. package/dist-cjs/pagination/ListServiceNetworkServiceAssociationsPaginator.js +2 -24
  58. package/dist-cjs/pagination/ListServiceNetworkVpcAssociationsPaginator.js +2 -24
  59. package/dist-cjs/pagination/ListServiceNetworksPaginator.js +2 -24
  60. package/dist-cjs/pagination/ListServicesPaginator.js +2 -24
  61. package/dist-cjs/pagination/ListTargetGroupsPaginator.js +2 -24
  62. package/dist-cjs/pagination/ListTargetsPaginator.js +2 -24
  63. package/dist-es/commands/BatchUpdateRuleCommand.js +18 -41
  64. package/dist-es/commands/CreateAccessLogSubscriptionCommand.js +18 -41
  65. package/dist-es/commands/CreateListenerCommand.js +18 -41
  66. package/dist-es/commands/CreateRuleCommand.js +18 -41
  67. package/dist-es/commands/CreateServiceCommand.js +18 -41
  68. package/dist-es/commands/CreateServiceNetworkCommand.js +18 -41
  69. package/dist-es/commands/CreateServiceNetworkServiceAssociationCommand.js +18 -41
  70. package/dist-es/commands/CreateServiceNetworkVpcAssociationCommand.js +18 -41
  71. package/dist-es/commands/CreateTargetGroupCommand.js +18 -41
  72. package/dist-es/commands/DeleteAccessLogSubscriptionCommand.js +18 -41
  73. package/dist-es/commands/DeleteAuthPolicyCommand.js +18 -41
  74. package/dist-es/commands/DeleteListenerCommand.js +18 -41
  75. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  76. package/dist-es/commands/DeleteRuleCommand.js +18 -41
  77. package/dist-es/commands/DeleteServiceCommand.js +18 -41
  78. package/dist-es/commands/DeleteServiceNetworkCommand.js +18 -41
  79. package/dist-es/commands/DeleteServiceNetworkServiceAssociationCommand.js +18 -41
  80. package/dist-es/commands/DeleteServiceNetworkVpcAssociationCommand.js +18 -41
  81. package/dist-es/commands/DeleteTargetGroupCommand.js +18 -41
  82. package/dist-es/commands/DeregisterTargetsCommand.js +18 -41
  83. package/dist-es/commands/GetAccessLogSubscriptionCommand.js +18 -41
  84. package/dist-es/commands/GetAuthPolicyCommand.js +18 -41
  85. package/dist-es/commands/GetListenerCommand.js +18 -41
  86. package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
  87. package/dist-es/commands/GetRuleCommand.js +18 -41
  88. package/dist-es/commands/GetServiceCommand.js +18 -41
  89. package/dist-es/commands/GetServiceNetworkCommand.js +18 -41
  90. package/dist-es/commands/GetServiceNetworkServiceAssociationCommand.js +18 -41
  91. package/dist-es/commands/GetServiceNetworkVpcAssociationCommand.js +18 -41
  92. package/dist-es/commands/GetTargetGroupCommand.js +18 -41
  93. package/dist-es/commands/ListAccessLogSubscriptionsCommand.js +18 -41
  94. package/dist-es/commands/ListListenersCommand.js +18 -41
  95. package/dist-es/commands/ListRulesCommand.js +18 -41
  96. package/dist-es/commands/ListServiceNetworkServiceAssociationsCommand.js +18 -41
  97. package/dist-es/commands/ListServiceNetworkVpcAssociationsCommand.js +18 -41
  98. package/dist-es/commands/ListServiceNetworksCommand.js +18 -41
  99. package/dist-es/commands/ListServicesCommand.js +18 -41
  100. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  101. package/dist-es/commands/ListTargetGroupsCommand.js +18 -41
  102. package/dist-es/commands/ListTargetsCommand.js +18 -41
  103. package/dist-es/commands/PutAuthPolicyCommand.js +18 -41
  104. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  105. package/dist-es/commands/RegisterTargetsCommand.js +18 -41
  106. package/dist-es/commands/TagResourceCommand.js +18 -41
  107. package/dist-es/commands/UntagResourceCommand.js +18 -41
  108. package/dist-es/commands/UpdateAccessLogSubscriptionCommand.js +18 -41
  109. package/dist-es/commands/UpdateListenerCommand.js +18 -41
  110. package/dist-es/commands/UpdateRuleCommand.js +18 -41
  111. package/dist-es/commands/UpdateServiceCommand.js +18 -41
  112. package/dist-es/commands/UpdateServiceNetworkCommand.js +18 -41
  113. package/dist-es/commands/UpdateServiceNetworkVpcAssociationCommand.js +18 -41
  114. package/dist-es/commands/UpdateTargetGroupCommand.js +18 -41
  115. package/dist-es/endpoint/EndpointParameters.js +6 -0
  116. package/dist-es/pagination/ListAccessLogSubscriptionsPaginator.js +2 -23
  117. package/dist-es/pagination/ListListenersPaginator.js +2 -23
  118. package/dist-es/pagination/ListRulesPaginator.js +2 -23
  119. package/dist-es/pagination/ListServiceNetworkServiceAssociationsPaginator.js +2 -23
  120. package/dist-es/pagination/ListServiceNetworkVpcAssociationsPaginator.js +2 -23
  121. package/dist-es/pagination/ListServiceNetworksPaginator.js +2 -23
  122. package/dist-es/pagination/ListServicesPaginator.js +2 -23
  123. package/dist-es/pagination/ListTargetGroupsPaginator.js +2 -23
  124. package/dist-es/pagination/ListTargetsPaginator.js +2 -23
  125. package/dist-types/commands/BatchUpdateRuleCommand.d.ts +6 -21
  126. package/dist-types/commands/CreateAccessLogSubscriptionCommand.d.ts +6 -21
  127. package/dist-types/commands/CreateListenerCommand.d.ts +6 -21
  128. package/dist-types/commands/CreateRuleCommand.d.ts +6 -21
  129. package/dist-types/commands/CreateServiceCommand.d.ts +6 -21
  130. package/dist-types/commands/CreateServiceNetworkCommand.d.ts +6 -21
  131. package/dist-types/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +6 -21
  132. package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +6 -21
  133. package/dist-types/commands/CreateTargetGroupCommand.d.ts +6 -21
  134. package/dist-types/commands/DeleteAccessLogSubscriptionCommand.d.ts +6 -21
  135. package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +6 -21
  136. package/dist-types/commands/DeleteListenerCommand.d.ts +6 -21
  137. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  138. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
  139. package/dist-types/commands/DeleteServiceCommand.d.ts +6 -21
  140. package/dist-types/commands/DeleteServiceNetworkCommand.d.ts +6 -21
  141. package/dist-types/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +6 -21
  142. package/dist-types/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +6 -21
  143. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +6 -21
  144. package/dist-types/commands/DeregisterTargetsCommand.d.ts +6 -21
  145. package/dist-types/commands/GetAccessLogSubscriptionCommand.d.ts +6 -21
  146. package/dist-types/commands/GetAuthPolicyCommand.d.ts +6 -21
  147. package/dist-types/commands/GetListenerCommand.d.ts +6 -21
  148. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
  149. package/dist-types/commands/GetRuleCommand.d.ts +6 -21
  150. package/dist-types/commands/GetServiceCommand.d.ts +6 -21
  151. package/dist-types/commands/GetServiceNetworkCommand.d.ts +6 -21
  152. package/dist-types/commands/GetServiceNetworkServiceAssociationCommand.d.ts +6 -21
  153. package/dist-types/commands/GetServiceNetworkVpcAssociationCommand.d.ts +6 -21
  154. package/dist-types/commands/GetTargetGroupCommand.d.ts +6 -21
  155. package/dist-types/commands/ListAccessLogSubscriptionsCommand.d.ts +6 -21
  156. package/dist-types/commands/ListListenersCommand.d.ts +6 -21
  157. package/dist-types/commands/ListRulesCommand.d.ts +6 -21
  158. package/dist-types/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +6 -21
  159. package/dist-types/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +6 -21
  160. package/dist-types/commands/ListServiceNetworksCommand.d.ts +6 -21
  161. package/dist-types/commands/ListServicesCommand.d.ts +6 -21
  162. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  163. package/dist-types/commands/ListTargetGroupsCommand.d.ts +6 -21
  164. package/dist-types/commands/ListTargetsCommand.d.ts +6 -21
  165. package/dist-types/commands/PutAuthPolicyCommand.d.ts +6 -21
  166. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  167. package/dist-types/commands/RegisterTargetsCommand.d.ts +6 -21
  168. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  169. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  170. package/dist-types/commands/UpdateAccessLogSubscriptionCommand.d.ts +6 -21
  171. package/dist-types/commands/UpdateListenerCommand.d.ts +6 -21
  172. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -21
  173. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -21
  174. package/dist-types/commands/UpdateServiceNetworkCommand.d.ts +6 -21
  175. package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +6 -21
  176. package/dist-types/commands/UpdateTargetGroupCommand.d.ts +6 -21
  177. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  178. package/dist-types/pagination/ListAccessLogSubscriptionsPaginator.d.ts +1 -1
  179. package/dist-types/pagination/ListListenersPaginator.d.ts +1 -1
  180. package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
  181. package/dist-types/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +1 -1
  182. package/dist-types/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +1 -1
  183. package/dist-types/pagination/ListServiceNetworksPaginator.d.ts +1 -1
  184. package/dist-types/pagination/ListServicesPaginator.d.ts +1 -1
  185. package/dist-types/pagination/ListTargetGroupsPaginator.d.ts +1 -1
  186. package/dist-types/pagination/ListTargetsPaginator.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/BatchUpdateRuleCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/CreateAccessLogSubscriptionCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/CreateServiceNetworkCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/CreateServiceNetworkServiceAssociationCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/DeleteAccessLogSubscriptionCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DeleteAuthPolicyCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/DeleteServiceNetworkCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/DeleteServiceNetworkServiceAssociationCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/DeleteServiceNetworkVpcAssociationCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/GetAccessLogSubscriptionCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/GetAuthPolicyCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/GetListenerCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +12 -23
  212. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/GetServiceNetworkCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/GetServiceNetworkServiceAssociationCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/GetServiceNetworkVpcAssociationCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/GetTargetGroupCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/ListAccessLogSubscriptionsCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/ListServiceNetworkServiceAssociationsCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/ListServiceNetworkVpcAssociationsCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/ListServiceNetworksCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/ListTargetGroupsCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/PutAuthPolicyCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +14 -23
  230. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  231. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/UpdateAccessLogSubscriptionCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +14 -23
  235. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/UpdateServiceNetworkCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/UpdateTargetGroupCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  240. package/dist-types/ts3.4/pagination/ListAccessLogSubscriptionsPaginator.d.ts +3 -3
  241. package/dist-types/ts3.4/pagination/ListListenersPaginator.d.ts +3 -3
  242. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
  243. package/dist-types/ts3.4/pagination/ListServiceNetworkServiceAssociationsPaginator.d.ts +3 -3
  244. package/dist-types/ts3.4/pagination/ListServiceNetworkVpcAssociationsPaginator.d.ts +3 -3
  245. package/dist-types/ts3.4/pagination/ListServiceNetworksPaginator.d.ts +3 -3
  246. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +3 -3
  247. package/dist-types/ts3.4/pagination/ListTargetGroupsPaginator.d.ts +3 -3
  248. package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +3 -3
  249. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateAccessLogSubscriptionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAccessLogSubscriptionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "VPCLatticeClient";
29
- const commandName = "UpdateAccessLogSubscriptionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MercuryControlPlane",
38
- operation: "UpdateAccessLogSubscription",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateAccessLogSubscriptionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateAccessLogSubscriptionCommand)(output, context);
49
- }
10
+ class UpdateAccessLogSubscriptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MercuryControlPlane", "UpdateAccessLogSubscription", {})
22
+ .n("VPCLatticeClient", "UpdateAccessLogSubscriptionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateAccessLogSubscriptionCommand)
25
+ .de(Aws_restJson1_1.de_UpdateAccessLogSubscriptionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateAccessLogSubscriptionCommand = UpdateAccessLogSubscriptionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateListenerCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateListenerCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "VPCLatticeClient";
29
- const commandName = "UpdateListenerCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MercuryControlPlane",
38
- operation: "UpdateListener",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateListenerCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateListenerCommand)(output, context);
49
- }
10
+ class UpdateListenerCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MercuryControlPlane", "UpdateListener", {})
22
+ .n("VPCLatticeClient", "UpdateListenerCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateListenerCommand)
25
+ .de(Aws_restJson1_1.de_UpdateListenerCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateListenerCommand = UpdateListenerCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateRuleCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRuleCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "VPCLatticeClient";
29
- const commandName = "UpdateRuleCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MercuryControlPlane",
38
- operation: "UpdateRule",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateRuleCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateRuleCommand)(output, context);
49
- }
10
+ class UpdateRuleCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MercuryControlPlane", "UpdateRule", {})
22
+ .n("VPCLatticeClient", "UpdateRuleCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateRuleCommand)
25
+ .de(Aws_restJson1_1.de_UpdateRuleCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateRuleCommand = UpdateRuleCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateServiceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateServiceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "VPCLatticeClient";
29
- const commandName = "UpdateServiceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MercuryControlPlane",
38
- operation: "UpdateService",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateServiceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateServiceCommand)(output, context);
49
- }
10
+ class UpdateServiceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MercuryControlPlane", "UpdateService", {})
22
+ .n("VPCLatticeClient", "UpdateServiceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateServiceCommand)
25
+ .de(Aws_restJson1_1.de_UpdateServiceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateServiceCommand = UpdateServiceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateServiceNetworkCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateServiceNetworkCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "VPCLatticeClient";
29
- const commandName = "UpdateServiceNetworkCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MercuryControlPlane",
38
- operation: "UpdateServiceNetwork",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateServiceNetworkCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateServiceNetworkCommand)(output, context);
49
- }
10
+ class UpdateServiceNetworkCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MercuryControlPlane", "UpdateServiceNetwork", {})
22
+ .n("VPCLatticeClient", "UpdateServiceNetworkCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateServiceNetworkCommand)
25
+ .de(Aws_restJson1_1.de_UpdateServiceNetworkCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateServiceNetworkCommand = UpdateServiceNetworkCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateServiceNetworkVpcAssociationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateServiceNetworkVpcAssociationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "VPCLatticeClient";
29
- const commandName = "UpdateServiceNetworkVpcAssociationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MercuryControlPlane",
38
- operation: "UpdateServiceNetworkVpcAssociation",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateServiceNetworkVpcAssociationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateServiceNetworkVpcAssociationCommand)(output, context);
49
- }
10
+ class UpdateServiceNetworkVpcAssociationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MercuryControlPlane", "UpdateServiceNetworkVpcAssociation", {})
22
+ .n("VPCLatticeClient", "UpdateServiceNetworkVpcAssociationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateServiceNetworkVpcAssociationCommand)
25
+ .de(Aws_restJson1_1.de_UpdateServiceNetworkVpcAssociationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateServiceNetworkVpcAssociationCommand = UpdateServiceNetworkVpcAssociationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateTargetGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTargetGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "VPCLatticeClient";
29
- const commandName = "UpdateTargetGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MercuryControlPlane",
38
- operation: "UpdateTargetGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateTargetGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateTargetGroupCommand)(output, context);
49
- }
10
+ class UpdateTargetGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MercuryControlPlane", "UpdateTargetGroup", {})
22
+ .n("VPCLatticeClient", "UpdateTargetGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateTargetGroupCommand)
25
+ .de(Aws_restJson1_1.de_UpdateTargetGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateTargetGroupCommand = UpdateTargetGroupCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAccessLogSubscriptions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAccessLogSubscriptionsCommand_1 = require("../commands/ListAccessLogSubscriptionsCommand");
5
6
  const VPCLatticeClient_1 = require("../VPCLatticeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAccessLogSubscriptionsCommand_1.ListAccessLogSubscriptionsCommand(input), ...args);
8
- };
9
- async function* paginateListAccessLogSubscriptions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAccessLogSubscriptions = paginateListAccessLogSubscriptions;
7
+ exports.paginateListAccessLogSubscriptions = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListAccessLogSubscriptionsCommand_1.ListAccessLogSubscriptionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListListeners = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListListenersCommand_1 = require("../commands/ListListenersCommand");
5
6
  const VPCLatticeClient_1 = require("../VPCLatticeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListListenersCommand_1.ListListenersCommand(input), ...args);
8
- };
9
- async function* paginateListListeners(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListListeners = paginateListListeners;
7
+ exports.paginateListListeners = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListListenersCommand_1.ListListenersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListRules = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListRulesCommand_1 = require("../commands/ListRulesCommand");
5
6
  const VPCLatticeClient_1 = require("../VPCLatticeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListRulesCommand_1.ListRulesCommand(input), ...args);
8
- };
9
- async function* paginateListRules(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListRules = paginateListRules;
7
+ exports.paginateListRules = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListRulesCommand_1.ListRulesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListServiceNetworkServiceAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListServiceNetworkServiceAssociationsCommand_1 = require("../commands/ListServiceNetworkServiceAssociationsCommand");
5
6
  const VPCLatticeClient_1 = require("../VPCLatticeClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListServiceNetworkServiceAssociationsCommand_1.ListServiceNetworkServiceAssociationsCommand(input), ...args);
8
- };
9
- async function* paginateListServiceNetworkServiceAssociations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof VPCLatticeClient_1.VPCLatticeClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListServiceNetworkServiceAssociations = paginateListServiceNetworkServiceAssociations;
7
+ exports.paginateListServiceNetworkServiceAssociations = (0, core_1.createPaginator)(VPCLatticeClient_1.VPCLatticeClient, ListServiceNetworkServiceAssociationsCommand_1.ListServiceNetworkServiceAssociationsCommand, "nextToken", "nextToken", "maxResults");