@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
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListListenersCommand, } from "../commands/ListListenersCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListListenersCommand(input), ...args);
5
- };
6
- export async function* paginateListListeners(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListListeners = createPaginator(VPCLatticeClient, ListListenersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListRulesCommand } from "../commands/ListRulesCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRulesCommand(input), ...args);
5
- };
6
- export async function* paginateListRules(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListRules = createPaginator(VPCLatticeClient, ListRulesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListServiceNetworkServiceAssociationsCommand, } from "../commands/ListServiceNetworkServiceAssociationsCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListServiceNetworkServiceAssociationsCommand(input), ...args);
5
- };
6
- export async function* paginateListServiceNetworkServiceAssociations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListServiceNetworkServiceAssociations = createPaginator(VPCLatticeClient, ListServiceNetworkServiceAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListServiceNetworkVpcAssociationsCommand, } from "../commands/ListServiceNetworkVpcAssociationsCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListServiceNetworkVpcAssociationsCommand(input), ...args);
5
- };
6
- export async function* paginateListServiceNetworkVpcAssociations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListServiceNetworkVpcAssociations = createPaginator(VPCLatticeClient, ListServiceNetworkVpcAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListServiceNetworksCommand, } from "../commands/ListServiceNetworksCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListServiceNetworksCommand(input), ...args);
5
- };
6
- export async function* paginateListServiceNetworks(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListServiceNetworks = createPaginator(VPCLatticeClient, ListServiceNetworksCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListServicesCommand, } from "../commands/ListServicesCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListServicesCommand(input), ...args);
5
- };
6
- export async function* paginateListServices(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListServices = createPaginator(VPCLatticeClient, ListServicesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTargetGroupsCommand, } from "../commands/ListTargetGroupsCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTargetGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateListTargetGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTargetGroups = createPaginator(VPCLatticeClient, ListTargetGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTargetsCommand } from "../commands/ListTargetsCommand";
2
3
  import { VPCLatticeClient } from "../VPCLatticeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTargetsCommand(input), ...args);
5
- };
6
- export async function* paginateListTargets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof VPCLatticeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected VPCLattice | VPCLatticeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTargets = createPaginator(VPCLatticeClient, ListTargetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchUpdateRuleRequest, BatchUpdateRuleResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchUpdateRuleCommandInput extends BatchUpdateRuleRequest {
21
20
  */
22
21
  export interface BatchUpdateRuleCommandOutput extends BatchUpdateRuleResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchUpdateRuleCommand_base: {
24
+ new (input: BatchUpdateRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateRuleCommandInput, BatchUpdateRuleCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates the listener rules in a batch. You can use this operation to change the priority of
@@ -166,23 +169,5 @@ export interface BatchUpdateRuleCommandOutput extends BatchUpdateRuleResponse, _
166
169
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
167
170
  *
168
171
  */
169
- export declare class BatchUpdateRuleCommand extends $Command<BatchUpdateRuleCommandInput, BatchUpdateRuleCommandOutput, VPCLatticeClientResolvedConfig> {
170
- readonly input: BatchUpdateRuleCommandInput;
171
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
172
- /**
173
- * @public
174
- */
175
- constructor(input: BatchUpdateRuleCommandInput);
176
- /**
177
- * @internal
178
- */
179
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateRuleCommandInput, BatchUpdateRuleCommandOutput>;
180
- /**
181
- * @internal
182
- */
183
- private serialize;
184
- /**
185
- * @internal
186
- */
187
- private deserialize;
172
+ export declare class BatchUpdateRuleCommand extends BatchUpdateRuleCommand_base {
188
173
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateAccessLogSubscriptionRequest, CreateAccessLogSubscriptionResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateAccessLogSubscriptionCommandInput extends CreateAccessLog
21
20
  */
22
21
  export interface CreateAccessLogSubscriptionCommandOutput extends CreateAccessLogSubscriptionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateAccessLogSubscriptionCommand_base: {
24
+ new (input: CreateAccessLogSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccessLogSubscriptionCommandInput, CreateAccessLogSubscriptionCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner
@@ -85,23 +88,5 @@ export interface CreateAccessLogSubscriptionCommandOutput extends CreateAccessLo
85
88
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
86
89
  *
87
90
  */
88
- export declare class CreateAccessLogSubscriptionCommand extends $Command<CreateAccessLogSubscriptionCommandInput, CreateAccessLogSubscriptionCommandOutput, VPCLatticeClientResolvedConfig> {
89
- readonly input: CreateAccessLogSubscriptionCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: CreateAccessLogSubscriptionCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAccessLogSubscriptionCommandInput, CreateAccessLogSubscriptionCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class CreateAccessLogSubscriptionCommand extends CreateAccessLogSubscriptionCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateListenerRequest, CreateListenerResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateListenerCommandInput extends CreateListenerRequest {
21
20
  */
22
21
  export interface CreateListenerCommandOutput extends CreateListenerResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateListenerCommand_base: {
24
+ new (input: CreateListenerCommandInput): import("@smithy/smithy-client").CommandImpl<CreateListenerCommandInput, CreateListenerCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must
@@ -116,23 +119,5 @@ export interface CreateListenerCommandOutput extends CreateListenerResponse, __M
116
119
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
117
120
  *
118
121
  */
119
- export declare class CreateListenerCommand extends $Command<CreateListenerCommandInput, CreateListenerCommandOutput, VPCLatticeClientResolvedConfig> {
120
- readonly input: CreateListenerCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: CreateListenerCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateListenerCommandInput, CreateListenerCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class CreateListenerCommand extends CreateListenerCommand_base {
138
123
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateRuleRequest, CreateRuleResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateRuleCommandInput extends CreateRuleRequest {
21
20
  */
22
21
  export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateRuleCommand_base: {
24
+ new (input: CreateRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRuleCommandInput, CreateRuleCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a listener rule. Each listener has a default rule for checking connection requests,
@@ -159,23 +162,5 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
159
162
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
160
163
  *
161
164
  */
162
- export declare class CreateRuleCommand extends $Command<CreateRuleCommandInput, CreateRuleCommandOutput, VPCLatticeClientResolvedConfig> {
163
- readonly input: CreateRuleCommandInput;
164
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
165
- /**
166
- * @public
167
- */
168
- constructor(input: CreateRuleCommandInput);
169
- /**
170
- * @internal
171
- */
172
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRuleCommandInput, CreateRuleCommandOutput>;
173
- /**
174
- * @internal
175
- */
176
- private serialize;
177
- /**
178
- * @internal
179
- */
180
- private deserialize;
165
+ export declare class CreateRuleCommand extends CreateRuleCommand_base {
181
166
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateServiceRequest, CreateServiceResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateServiceCommandInput extends CreateServiceRequest {
21
20
  */
22
21
  export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateServiceCommand_base: {
24
+ new (input: CreateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateServiceCommandInput, CreateServiceCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a service. A service is any software application that can run on instances
@@ -94,23 +97,5 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
94
97
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
95
98
  *
96
99
  */
97
- export declare class CreateServiceCommand extends $Command<CreateServiceCommandInput, CreateServiceCommandOutput, VPCLatticeClientResolvedConfig> {
98
- readonly input: CreateServiceCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: CreateServiceCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceCommandInput, CreateServiceCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class CreateServiceCommand extends CreateServiceCommand_base {
116
101
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateServiceNetworkRequest, CreateServiceNetworkResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateServiceNetworkCommandInput extends CreateServiceNetworkRe
21
20
  */
22
21
  export interface CreateServiceNetworkCommandOutput extends CreateServiceNetworkResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateServiceNetworkCommand_base: {
24
+ new (input: CreateServiceNetworkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateServiceNetworkCommandInput, CreateServiceNetworkCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a service network. A service network is a logical boundary for a collection of
@@ -85,23 +88,5 @@ export interface CreateServiceNetworkCommandOutput extends CreateServiceNetworkR
85
88
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
86
89
  *
87
90
  */
88
- export declare class CreateServiceNetworkCommand extends $Command<CreateServiceNetworkCommandInput, CreateServiceNetworkCommandOutput, VPCLatticeClientResolvedConfig> {
89
- readonly input: CreateServiceNetworkCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: CreateServiceNetworkCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceNetworkCommandInput, CreateServiceNetworkCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class CreateServiceNetworkCommand extends CreateServiceNetworkCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateServiceNetworkServiceAssociationRequest, CreateServiceNetworkServiceAssociationResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateServiceNetworkServiceAssociationCommandInput extends Crea
21
20
  */
22
21
  export interface CreateServiceNetworkServiceAssociationCommandOutput extends CreateServiceNetworkServiceAssociationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateServiceNetworkServiceAssociationCommand_base: {
24
+ new (input: CreateServiceNetworkServiceAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateServiceNetworkServiceAssociationCommandInput, CreateServiceNetworkServiceAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a service with a service network.</p>
@@ -94,23 +97,5 @@ export interface CreateServiceNetworkServiceAssociationCommandOutput extends Cre
94
97
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
95
98
  *
96
99
  */
97
- export declare class CreateServiceNetworkServiceAssociationCommand extends $Command<CreateServiceNetworkServiceAssociationCommandInput, CreateServiceNetworkServiceAssociationCommandOutput, VPCLatticeClientResolvedConfig> {
98
- readonly input: CreateServiceNetworkServiceAssociationCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: CreateServiceNetworkServiceAssociationCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceNetworkServiceAssociationCommandInput, CreateServiceNetworkServiceAssociationCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class CreateServiceNetworkServiceAssociationCommand extends CreateServiceNetworkServiceAssociationCommand_base {
116
101
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateServiceNetworkVpcAssociationRequest, CreateServiceNetworkVpcAssociationResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateServiceNetworkVpcAssociationCommandInput extends CreateSe
21
20
  */
22
21
  export interface CreateServiceNetworkVpcAssociationCommandOutput extends CreateServiceNetworkVpcAssociationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateServiceNetworkVpcAssociationCommand_base: {
24
+ new (input: CreateServiceNetworkVpcAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateServiceNetworkVpcAssociationCommandInput, CreateServiceNetworkVpcAssociationCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a VPC with a service network. When you associate a VPC with the service network,
@@ -97,23 +100,5 @@ export interface CreateServiceNetworkVpcAssociationCommandOutput extends CreateS
97
100
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
98
101
  *
99
102
  */
100
- export declare class CreateServiceNetworkVpcAssociationCommand extends $Command<CreateServiceNetworkVpcAssociationCommandInput, CreateServiceNetworkVpcAssociationCommandOutput, VPCLatticeClientResolvedConfig> {
101
- readonly input: CreateServiceNetworkVpcAssociationCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: CreateServiceNetworkVpcAssociationCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceNetworkVpcAssociationCommandInput, CreateServiceNetworkVpcAssociationCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class CreateServiceNetworkVpcAssociationCommand extends CreateServiceNetworkVpcAssociationCommand_base {
119
104
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateTargetGroupRequest, CreateTargetGroupResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, VPCLatticeClientResolvedConfig } from "../VPCLatticeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateTargetGroupCommandInput extends CreateTargetGroupRequest
21
20
  */
22
21
  export interface CreateTargetGroupCommandOutput extends CreateTargetGroupResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateTargetGroupCommand_base: {
24
+ new (input: CreateTargetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTargetGroupCommandInput, CreateTargetGroupCommandOutput, VPCLatticeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a target group. A target group is a collection of targets, or compute resources,
@@ -130,23 +133,5 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupRespons
130
133
  * <p>Base exception class for all service exceptions from VPCLattice service.</p>
131
134
  *
132
135
  */
133
- export declare class CreateTargetGroupCommand extends $Command<CreateTargetGroupCommandInput, CreateTargetGroupCommandOutput, VPCLatticeClientResolvedConfig> {
134
- readonly input: CreateTargetGroupCommandInput;
135
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
136
- /**
137
- * @public
138
- */
139
- constructor(input: CreateTargetGroupCommandInput);
140
- /**
141
- * @internal
142
- */
143
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: VPCLatticeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTargetGroupCommandInput, CreateTargetGroupCommandOutput>;
144
- /**
145
- * @internal
146
- */
147
- private serialize;
148
- /**
149
- * @internal
150
- */
151
- private deserialize;
136
+ export declare class CreateTargetGroupCommand extends CreateTargetGroupCommand_base {
152
137
  }