@aws-sdk/client-elastic-load-balancing-v2 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 (205) hide show
  1. package/dist-cjs/commands/AddListenerCertificatesCommand.js +18 -41
  2. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  3. package/dist-cjs/commands/AddTrustStoreRevocationsCommand.js +18 -41
  4. package/dist-cjs/commands/CreateListenerCommand.js +18 -41
  5. package/dist-cjs/commands/CreateLoadBalancerCommand.js +18 -41
  6. package/dist-cjs/commands/CreateRuleCommand.js +18 -41
  7. package/dist-cjs/commands/CreateTargetGroupCommand.js +18 -41
  8. package/dist-cjs/commands/CreateTrustStoreCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteListenerCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteTargetGroupCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteTrustStoreCommand.js +18 -41
  14. package/dist-cjs/commands/DeregisterTargetsCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeListenerCertificatesCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeListenersCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeRulesCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeSSLPoliciesCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeTagsCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeTargetGroupsCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeTargetHealthCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeTrustStoreAssociationsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeTrustStoreRevocationsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeTrustStoresCommand.js +18 -41
  29. package/dist-cjs/commands/GetTrustStoreCaCertificatesBundleCommand.js +18 -41
  30. package/dist-cjs/commands/GetTrustStoreRevocationContentCommand.js +18 -41
  31. package/dist-cjs/commands/ModifyListenerCommand.js +18 -41
  32. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +18 -41
  33. package/dist-cjs/commands/ModifyRuleCommand.js +18 -41
  34. package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js +18 -41
  35. package/dist-cjs/commands/ModifyTargetGroupCommand.js +18 -41
  36. package/dist-cjs/commands/ModifyTrustStoreCommand.js +18 -41
  37. package/dist-cjs/commands/RegisterTargetsCommand.js +18 -41
  38. package/dist-cjs/commands/RemoveListenerCertificatesCommand.js +18 -41
  39. package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
  40. package/dist-cjs/commands/RemoveTrustStoreRevocationsCommand.js +18 -41
  41. package/dist-cjs/commands/SetIpAddressTypeCommand.js +18 -41
  42. package/dist-cjs/commands/SetRulePrioritiesCommand.js +18 -41
  43. package/dist-cjs/commands/SetSecurityGroupsCommand.js +18 -41
  44. package/dist-cjs/commands/SetSubnetsCommand.js +18 -41
  45. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  46. package/dist-cjs/pagination/DescribeListenersPaginator.js +2 -23
  47. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +2 -23
  48. package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js +2 -23
  49. package/dist-cjs/pagination/DescribeTrustStoreAssociationsPaginator.js +2 -24
  50. package/dist-cjs/pagination/DescribeTrustStoreRevocationsPaginator.js +2 -24
  51. package/dist-cjs/pagination/DescribeTrustStoresPaginator.js +2 -24
  52. package/dist-es/commands/AddListenerCertificatesCommand.js +18 -41
  53. package/dist-es/commands/AddTagsCommand.js +18 -41
  54. package/dist-es/commands/AddTrustStoreRevocationsCommand.js +18 -41
  55. package/dist-es/commands/CreateListenerCommand.js +18 -41
  56. package/dist-es/commands/CreateLoadBalancerCommand.js +18 -41
  57. package/dist-es/commands/CreateRuleCommand.js +18 -41
  58. package/dist-es/commands/CreateTargetGroupCommand.js +18 -41
  59. package/dist-es/commands/CreateTrustStoreCommand.js +18 -41
  60. package/dist-es/commands/DeleteListenerCommand.js +18 -41
  61. package/dist-es/commands/DeleteLoadBalancerCommand.js +18 -41
  62. package/dist-es/commands/DeleteRuleCommand.js +18 -41
  63. package/dist-es/commands/DeleteTargetGroupCommand.js +18 -41
  64. package/dist-es/commands/DeleteTrustStoreCommand.js +18 -41
  65. package/dist-es/commands/DeregisterTargetsCommand.js +18 -41
  66. package/dist-es/commands/DescribeAccountLimitsCommand.js +18 -41
  67. package/dist-es/commands/DescribeListenerCertificatesCommand.js +18 -41
  68. package/dist-es/commands/DescribeListenersCommand.js +18 -41
  69. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +18 -41
  70. package/dist-es/commands/DescribeLoadBalancersCommand.js +18 -41
  71. package/dist-es/commands/DescribeRulesCommand.js +18 -41
  72. package/dist-es/commands/DescribeSSLPoliciesCommand.js +18 -41
  73. package/dist-es/commands/DescribeTagsCommand.js +18 -41
  74. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +18 -41
  75. package/dist-es/commands/DescribeTargetGroupsCommand.js +18 -41
  76. package/dist-es/commands/DescribeTargetHealthCommand.js +18 -41
  77. package/dist-es/commands/DescribeTrustStoreAssociationsCommand.js +18 -41
  78. package/dist-es/commands/DescribeTrustStoreRevocationsCommand.js +18 -41
  79. package/dist-es/commands/DescribeTrustStoresCommand.js +18 -41
  80. package/dist-es/commands/GetTrustStoreCaCertificatesBundleCommand.js +18 -41
  81. package/dist-es/commands/GetTrustStoreRevocationContentCommand.js +18 -41
  82. package/dist-es/commands/ModifyListenerCommand.js +18 -41
  83. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +18 -41
  84. package/dist-es/commands/ModifyRuleCommand.js +18 -41
  85. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +18 -41
  86. package/dist-es/commands/ModifyTargetGroupCommand.js +18 -41
  87. package/dist-es/commands/ModifyTrustStoreCommand.js +18 -41
  88. package/dist-es/commands/RegisterTargetsCommand.js +18 -41
  89. package/dist-es/commands/RemoveListenerCertificatesCommand.js +18 -41
  90. package/dist-es/commands/RemoveTagsCommand.js +18 -41
  91. package/dist-es/commands/RemoveTrustStoreRevocationsCommand.js +18 -41
  92. package/dist-es/commands/SetIpAddressTypeCommand.js +18 -41
  93. package/dist-es/commands/SetRulePrioritiesCommand.js +18 -41
  94. package/dist-es/commands/SetSecurityGroupsCommand.js +18 -41
  95. package/dist-es/commands/SetSubnetsCommand.js +18 -41
  96. package/dist-es/endpoint/EndpointParameters.js +6 -0
  97. package/dist-es/pagination/DescribeListenersPaginator.js +2 -22
  98. package/dist-es/pagination/DescribeLoadBalancersPaginator.js +2 -22
  99. package/dist-es/pagination/DescribeTargetGroupsPaginator.js +2 -22
  100. package/dist-es/pagination/DescribeTrustStoreAssociationsPaginator.js +2 -23
  101. package/dist-es/pagination/DescribeTrustStoreRevocationsPaginator.js +2 -23
  102. package/dist-es/pagination/DescribeTrustStoresPaginator.js +2 -23
  103. package/dist-types/commands/AddListenerCertificatesCommand.d.ts +6 -21
  104. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  105. package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +6 -21
  106. package/dist-types/commands/CreateListenerCommand.d.ts +6 -21
  107. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateRuleCommand.d.ts +6 -21
  109. package/dist-types/commands/CreateTargetGroupCommand.d.ts +6 -21
  110. package/dist-types/commands/CreateTrustStoreCommand.d.ts +6 -21
  111. package/dist-types/commands/DeleteListenerCommand.d.ts +6 -21
  112. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +6 -21
  113. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
  114. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +6 -21
  115. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +6 -21
  116. package/dist-types/commands/DeregisterTargetsCommand.d.ts +6 -21
  117. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +6 -21
  118. package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +6 -21
  119. package/dist-types/commands/DescribeListenersCommand.d.ts +6 -21
  120. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +6 -21
  121. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +6 -21
  122. package/dist-types/commands/DescribeRulesCommand.d.ts +6 -21
  123. package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +6 -21
  124. package/dist-types/commands/DescribeTagsCommand.d.ts +6 -21
  125. package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +6 -21
  126. package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +6 -21
  127. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeTrustStoresCommand.d.ts +6 -21
  131. package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +6 -21
  132. package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +6 -21
  133. package/dist-types/commands/ModifyListenerCommand.d.ts +6 -21
  134. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +6 -21
  135. package/dist-types/commands/ModifyRuleCommand.d.ts +6 -21
  136. package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +6 -21
  137. package/dist-types/commands/ModifyTargetGroupCommand.d.ts +6 -21
  138. package/dist-types/commands/ModifyTrustStoreCommand.d.ts +6 -21
  139. package/dist-types/commands/RegisterTargetsCommand.d.ts +6 -21
  140. package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +6 -21
  141. package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
  142. package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +6 -21
  143. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +6 -21
  144. package/dist-types/commands/SetRulePrioritiesCommand.d.ts +6 -21
  145. package/dist-types/commands/SetSecurityGroupsCommand.d.ts +6 -21
  146. package/dist-types/commands/SetSubnetsCommand.d.ts +6 -21
  147. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  148. package/dist-types/pagination/DescribeListenersPaginator.d.ts +1 -1
  149. package/dist-types/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
  150. package/dist-types/pagination/DescribeTargetGroupsPaginator.d.ts +1 -1
  151. package/dist-types/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +1 -1
  152. package/dist-types/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/DescribeTrustStoresPaginator.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +12 -24
  155. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  156. package/dist-types/ts3.4/commands/AddTrustStoreRevocationsCommand.d.ts +12 -24
  157. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DescribeTrustStoreAssociationsCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/DescribeTrustStoreRevocationsCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/DescribeTrustStoresCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/GetTrustStoreRevocationContentCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/ModifyTrustStoreCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/RemoveTrustStoreRevocationsCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  199. package/dist-types/ts3.4/pagination/DescribeListenersPaginator.d.ts +3 -3
  200. package/dist-types/ts3.4/pagination/DescribeLoadBalancersPaginator.d.ts +3 -3
  201. package/dist-types/ts3.4/pagination/DescribeTargetGroupsPaginator.d.ts +3 -3
  202. package/dist-types/ts3.4/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +3 -3
  203. package/dist-types/ts3.4/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +3 -3
  204. package/dist-types/ts3.4/pagination/DescribeTrustStoresPaginator.d.ts +3 -3
  205. package/package.json +11 -10
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTargetGroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTargetGroupsCommand_1 = require("../commands/DescribeTargetGroupsCommand");
5
6
  const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTargetGroupsCommand_1.DescribeTargetGroupsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTargetGroups(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextMarker;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateDescribeTargetGroups = paginateDescribeTargetGroups;
7
+ exports.paginateDescribeTargetGroups = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTargetGroupsCommand_1.DescribeTargetGroupsCommand, "Marker", "NextMarker", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTrustStoreAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTrustStoreAssociationsCommand_1 = require("../commands/DescribeTrustStoreAssociationsCommand");
5
6
  const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTrustStoreAssociationsCommand_1.DescribeTrustStoreAssociationsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTrustStoreAssociations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["PageSize"] = config.pageSize;
16
- if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextMarker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTrustStoreAssociations = paginateDescribeTrustStoreAssociations;
7
+ exports.paginateDescribeTrustStoreAssociations = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTrustStoreAssociationsCommand_1.DescribeTrustStoreAssociationsCommand, "Marker", "NextMarker", "PageSize");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTrustStoreRevocations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTrustStoreRevocationsCommand_1 = require("../commands/DescribeTrustStoreRevocationsCommand");
5
6
  const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTrustStoreRevocationsCommand_1.DescribeTrustStoreRevocationsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTrustStoreRevocations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["PageSize"] = config.pageSize;
16
- if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextMarker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTrustStoreRevocations = paginateDescribeTrustStoreRevocations;
7
+ exports.paginateDescribeTrustStoreRevocations = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTrustStoreRevocationsCommand_1.DescribeTrustStoreRevocationsCommand, "Marker", "NextMarker", "PageSize");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTrustStores = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTrustStoresCommand_1 = require("../commands/DescribeTrustStoresCommand");
5
6
  const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTrustStoresCommand_1.DescribeTrustStoresCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTrustStores(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["PageSize"] = config.pageSize;
16
- if (config.client instanceof ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextMarker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTrustStores = paginateDescribeTrustStores;
7
+ exports.paginateDescribeTrustStores = (0, core_1.createPaginator)(ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client, DescribeTrustStoresCommand_1.DescribeTrustStoresCommand, "Marker", "NextMarker", "PageSize");
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddListenerCertificatesCommand, se_AddListenerCertificatesCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class AddListenerCertificatesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddListenerCertificatesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ElasticLoadBalancingV2Client";
26
- const commandName = "AddListenerCertificatesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticLoadBalancing_v10",
35
- operation: "AddListenerCertificates",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddListenerCertificatesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddListenerCertificatesCommand(output, context);
46
- }
7
+ export class AddListenerCertificatesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "AddListenerCertificates", {})
19
+ .n("ElasticLoadBalancingV2Client", "AddListenerCertificatesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddListenerCertificatesCommand)
22
+ .de(de_AddListenerCertificatesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddTagsCommand, se_AddTagsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class AddTagsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddTagsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ElasticLoadBalancingV2Client";
26
- const commandName = "AddTagsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticLoadBalancing_v10",
35
- operation: "AddTags",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddTagsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddTagsCommand(output, context);
46
- }
7
+ export class AddTagsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "AddTags", {})
19
+ .n("ElasticLoadBalancingV2Client", "AddTagsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddTagsCommand)
22
+ .de(de_AddTagsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddTrustStoreRevocationsCommand, se_AddTrustStoreRevocationsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class AddTrustStoreRevocationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddTrustStoreRevocationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ElasticLoadBalancingV2Client";
26
- const commandName = "AddTrustStoreRevocationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticLoadBalancing_v10",
35
- operation: "AddTrustStoreRevocations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddTrustStoreRevocationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddTrustStoreRevocationsCommand(output, context);
46
- }
7
+ export class AddTrustStoreRevocationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "AddTrustStoreRevocations", {})
19
+ .n("ElasticLoadBalancingV2Client", "AddTrustStoreRevocationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddTrustStoreRevocationsCommand)
22
+ .de(de_AddTrustStoreRevocationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateListenerCommand, se_CreateListenerCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class CreateListenerCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateListenerCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ElasticLoadBalancingV2Client";
26
- const commandName = "CreateListenerCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticLoadBalancing_v10",
35
- operation: "CreateListener",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateListenerCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateListenerCommand(output, context);
46
- }
7
+ export class CreateListenerCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "CreateListener", {})
19
+ .n("ElasticLoadBalancingV2Client", "CreateListenerCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateListenerCommand)
22
+ .de(de_CreateListenerCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateLoadBalancerCommand, se_CreateLoadBalancerCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class CreateLoadBalancerCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateLoadBalancerCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ElasticLoadBalancingV2Client";
26
- const commandName = "CreateLoadBalancerCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticLoadBalancing_v10",
35
- operation: "CreateLoadBalancer",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateLoadBalancerCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateLoadBalancerCommand(output, context);
46
- }
7
+ export class CreateLoadBalancerCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "CreateLoadBalancer", {})
19
+ .n("ElasticLoadBalancingV2Client", "CreateLoadBalancerCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateLoadBalancerCommand)
22
+ .de(de_CreateLoadBalancerCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateRuleCommand, se_CreateRuleCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class CreateRuleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateRuleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ElasticLoadBalancingV2Client";
26
- const commandName = "CreateRuleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticLoadBalancing_v10",
35
- operation: "CreateRule",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateRuleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateRuleCommand(output, context);
46
- }
7
+ export class CreateRuleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "CreateRule", {})
19
+ .n("ElasticLoadBalancingV2Client", "CreateRuleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateRuleCommand)
22
+ .de(de_CreateRuleCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateTargetGroupCommand, se_CreateTargetGroupCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class CreateTargetGroupCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateTargetGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ElasticLoadBalancingV2Client";
26
- const commandName = "CreateTargetGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ElasticLoadBalancing_v10",
35
- operation: "CreateTargetGroup",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateTargetGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateTargetGroupCommand(output, context);
46
- }
7
+ export class CreateTargetGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "CreateTargetGroup", {})
19
+ .n("ElasticLoadBalancingV2Client", "CreateTargetGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateTargetGroupCommand)
22
+ .de(de_CreateTargetGroupCommand)
23
+ .build() {
47
24
  }