@aws-sdk/client-elastic-load-balancing-v2 3.451.0 → 3.458.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 (86) hide show
  1. package/README.md +114 -34
  2. package/dist-cjs/ElasticLoadBalancingV2.js +20 -0
  3. package/dist-cjs/commands/AddTrustStoreRevocationsCommand.js +51 -0
  4. package/dist-cjs/commands/CreateTrustStoreCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteTrustStoreCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeTrustStoreAssociationsCommand.js +51 -0
  7. package/dist-cjs/commands/DescribeTrustStoreRevocationsCommand.js +51 -0
  8. package/dist-cjs/commands/DescribeTrustStoresCommand.js +51 -0
  9. package/dist-cjs/commands/GetTrustStoreCaCertificatesBundleCommand.js +51 -0
  10. package/dist-cjs/commands/GetTrustStoreRevocationContentCommand.js +51 -0
  11. package/dist-cjs/commands/ModifyTrustStoreCommand.js +51 -0
  12. package/dist-cjs/commands/RemoveTrustStoreRevocationsCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +175 -2
  15. package/dist-cjs/pagination/DescribeTrustStoreAssociationsPaginator.js +29 -0
  16. package/dist-cjs/pagination/DescribeTrustStoreRevocationsPaginator.js +29 -0
  17. package/dist-cjs/pagination/DescribeTrustStoresPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +3 -0
  19. package/dist-cjs/protocols/Aws_query.js +1187 -19
  20. package/dist-es/ElasticLoadBalancingV2.js +20 -0
  21. package/dist-es/commands/AddTrustStoreRevocationsCommand.js +47 -0
  22. package/dist-es/commands/CreateTrustStoreCommand.js +47 -0
  23. package/dist-es/commands/DeleteTrustStoreCommand.js +47 -0
  24. package/dist-es/commands/DescribeTrustStoreAssociationsCommand.js +47 -0
  25. package/dist-es/commands/DescribeTrustStoreRevocationsCommand.js +47 -0
  26. package/dist-es/commands/DescribeTrustStoresCommand.js +47 -0
  27. package/dist-es/commands/GetTrustStoreCaCertificatesBundleCommand.js +47 -0
  28. package/dist-es/commands/GetTrustStoreRevocationContentCommand.js +47 -0
  29. package/dist-es/commands/ModifyTrustStoreCommand.js +47 -0
  30. package/dist-es/commands/RemoveTrustStoreRevocationsCommand.js +47 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +162 -0
  33. package/dist-es/pagination/DescribeTrustStoreAssociationsPaginator.js +25 -0
  34. package/dist-es/pagination/DescribeTrustStoreRevocationsPaginator.js +25 -0
  35. package/dist-es/pagination/DescribeTrustStoresPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +3 -0
  37. package/dist-es/protocols/Aws_query.js +1167 -19
  38. package/dist-types/ElasticLoadBalancingV2.d.ts +70 -0
  39. package/dist-types/ElasticLoadBalancingV2Client.d.ts +12 -2
  40. package/dist-types/commands/AddTagsCommand.d.ts +5 -2
  41. package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +100 -0
  42. package/dist-types/commands/CreateListenerCommand.d.ts +17 -1
  43. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateTargetGroupCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateTrustStoreCommand.d.ts +108 -0
  47. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +77 -0
  48. package/dist-types/commands/DescribeListenersCommand.d.ts +5 -0
  49. package/dist-types/commands/DescribeTagsCommand.d.ts +3 -0
  50. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +7 -0
  51. package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +83 -0
  52. package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +93 -0
  53. package/dist-types/commands/DescribeTrustStoresCommand.d.ts +93 -0
  54. package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +78 -0
  55. package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +82 -0
  56. package/dist-types/commands/ModifyListenerCommand.d.ts +16 -0
  57. package/dist-types/commands/ModifyTrustStoreCommand.d.ts +93 -0
  58. package/dist-types/commands/RemoveTagsCommand.d.ts +4 -1
  59. package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +80 -0
  60. package/dist-types/commands/index.d.ts +10 -0
  61. package/dist-types/models/models_0.d.ts +712 -2
  62. package/dist-types/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +7 -0
  64. package/dist-types/pagination/DescribeTrustStoresPaginator.d.ts +7 -0
  65. package/dist-types/pagination/index.d.ts +3 -0
  66. package/dist-types/protocols/Aws_query.d.ts +90 -0
  67. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +176 -0
  68. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +60 -0
  69. package/dist-types/ts3.4/commands/AddTrustStoreRevocationsCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/DescribeTrustStoreAssociationsCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/DescribeTrustStoreRevocationsCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/DescribeTrustStoresCommand.d.ts +39 -0
  75. package/dist-types/ts3.4/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/GetTrustStoreRevocationContentCommand.d.ts +42 -0
  77. package/dist-types/ts3.4/commands/ModifyTrustStoreCommand.d.ts +38 -0
  78. package/dist-types/ts3.4/commands/RemoveTrustStoreRevocationsCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +254 -0
  81. package/dist-types/ts3.4/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/DescribeTrustStoresPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  85. package/dist-types/ts3.4/protocols/Aws_query.d.ts +120 -0
  86. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HealthUnavailableException = exports.TargetHealthStateEnum = exports.TargetHealthReasonEnum = exports.InvalidTargetException = exports.DuplicateTargetGroupNameException = exports.TargetTypeEnum = exports.TargetGroupIpAddressTypeEnum = exports.TooManyTargetGroupsException = exports.TooManyRulesException = exports.PriorityInUseException = exports.TooManyLoadBalancersException = exports.SubnetNotFoundException = exports.ResourceInUseException = exports.OperationNotPermittedException = exports.InvalidSubnetException = exports.InvalidSecurityGroupException = exports.InvalidSchemeException = exports.DuplicateLoadBalancerNameException = exports.LoadBalancerStateEnum = exports.LoadBalancerTypeEnum = exports.LoadBalancerSchemeEnum = exports.IpAddressType = exports.UnsupportedProtocolException = exports.TooManyUniqueTargetGroupsPerLoadBalancerException = exports.TooManyTargetsException = exports.TooManyRegistrationsForTargetIdException = exports.TooManyListenersException = exports.TooManyActionsException = exports.TargetGroupAssociationLimitException = exports.SSLPolicyNotFoundException = exports.InvalidLoadBalancerActionException = exports.InvalidConfigurationRequestException = exports.IncompatibleProtocolsException = exports.DuplicateListenerException = exports.ProtocolEnum = exports.AvailabilityZoneNotSupportedException = exports.ALPNPolicyNotSupportedException = exports.AllocationIdNotFoundException = exports.TooManyTagsException = exports.TargetGroupNotFoundException = exports.RuleNotFoundException = exports.LoadBalancerNotFoundException = exports.DuplicateTagKeysException = exports.TooManyCertificatesException = exports.ListenerNotFoundException = exports.CertificateNotFoundException = exports.ActionTypeEnum = exports.RedirectActionStatusCodeEnum = exports.AuthenticateOidcActionConditionalBehaviorEnum = exports.AuthenticateCognitoActionConditionalBehaviorEnum = void 0;
4
- exports.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = void 0;
3
+ exports.PriorityInUseException = exports.TooManyLoadBalancersException = exports.SubnetNotFoundException = exports.ResourceInUseException = exports.OperationNotPermittedException = exports.InvalidSubnetException = exports.InvalidSecurityGroupException = exports.InvalidSchemeException = exports.DuplicateLoadBalancerNameException = exports.LoadBalancerStateEnum = exports.LoadBalancerTypeEnum = exports.LoadBalancerSchemeEnum = exports.IpAddressType = exports.UnsupportedProtocolException = exports.TrustStoreNotReadyException = exports.TooManyUniqueTargetGroupsPerLoadBalancerException = exports.TooManyTargetsException = exports.TooManyRegistrationsForTargetIdException = exports.TooManyListenersException = exports.TooManyActionsException = exports.TargetGroupAssociationLimitException = exports.SSLPolicyNotFoundException = exports.InvalidLoadBalancerActionException = exports.InvalidConfigurationRequestException = exports.IncompatibleProtocolsException = exports.DuplicateListenerException = exports.ProtocolEnum = exports.CaCertificatesBundleNotFoundException = exports.AvailabilityZoneNotSupportedException = exports.AnomalyResultEnum = exports.MitigationInEffectEnum = exports.ALPNPolicyNotSupportedException = exports.AllocationIdNotFoundException = exports.TooManyTrustStoreRevocationEntriesException = exports.RevocationContentNotFoundException = exports.InvalidRevocationContentException = exports.RevocationType = exports.TrustStoreNotFoundException = exports.TooManyTagsException = exports.TargetGroupNotFoundException = exports.RuleNotFoundException = exports.LoadBalancerNotFoundException = exports.DuplicateTagKeysException = exports.TooManyCertificatesException = exports.ListenerNotFoundException = exports.CertificateNotFoundException = exports.ActionTypeEnum = exports.RedirectActionStatusCodeEnum = exports.AuthenticateOidcActionConditionalBehaviorEnum = exports.AuthenticateCognitoActionConditionalBehaviorEnum = void 0;
4
+ exports.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = exports.RevocationIdNotFoundException = exports.HealthUnavailableException = exports.TargetHealthStateEnum = exports.TargetHealthReasonEnum = exports.DescribeTargetHealthInputIncludeEnum = exports.InvalidTargetException = exports.TrustStoreInUseException = exports.TooManyTrustStoresException = exports.InvalidCaCertificatesBundleException = exports.DuplicateTrustStoreNameException = exports.TrustStoreStatus = exports.DuplicateTargetGroupNameException = exports.TargetTypeEnum = exports.TargetGroupIpAddressTypeEnum = exports.TooManyTargetGroupsException = exports.TooManyRulesException = void 0;
5
5
  const ElasticLoadBalancingV2ServiceException_1 = require("./ElasticLoadBalancingV2ServiceException");
6
6
  exports.AuthenticateCognitoActionConditionalBehaviorEnum = {
7
7
  ALLOW: "allow",
@@ -136,6 +136,65 @@ class TooManyTagsException extends ElasticLoadBalancingV2ServiceException_1.Elas
136
136
  }
137
137
  }
138
138
  exports.TooManyTagsException = TooManyTagsException;
139
+ class TrustStoreNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
140
+ constructor(opts) {
141
+ super({
142
+ name: "TrustStoreNotFoundException",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ this.name = "TrustStoreNotFoundException";
147
+ this.$fault = "client";
148
+ Object.setPrototypeOf(this, TrustStoreNotFoundException.prototype);
149
+ this.Message = opts.Message;
150
+ }
151
+ }
152
+ exports.TrustStoreNotFoundException = TrustStoreNotFoundException;
153
+ exports.RevocationType = {
154
+ CRL: "CRL",
155
+ };
156
+ class InvalidRevocationContentException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
157
+ constructor(opts) {
158
+ super({
159
+ name: "InvalidRevocationContentException",
160
+ $fault: "client",
161
+ ...opts,
162
+ });
163
+ this.name = "InvalidRevocationContentException";
164
+ this.$fault = "client";
165
+ Object.setPrototypeOf(this, InvalidRevocationContentException.prototype);
166
+ this.Message = opts.Message;
167
+ }
168
+ }
169
+ exports.InvalidRevocationContentException = InvalidRevocationContentException;
170
+ class RevocationContentNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
171
+ constructor(opts) {
172
+ super({
173
+ name: "RevocationContentNotFoundException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ this.name = "RevocationContentNotFoundException";
178
+ this.$fault = "client";
179
+ Object.setPrototypeOf(this, RevocationContentNotFoundException.prototype);
180
+ this.Message = opts.Message;
181
+ }
182
+ }
183
+ exports.RevocationContentNotFoundException = RevocationContentNotFoundException;
184
+ class TooManyTrustStoreRevocationEntriesException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
185
+ constructor(opts) {
186
+ super({
187
+ name: "TooManyTrustStoreRevocationEntriesException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ this.name = "TooManyTrustStoreRevocationEntriesException";
192
+ this.$fault = "client";
193
+ Object.setPrototypeOf(this, TooManyTrustStoreRevocationEntriesException.prototype);
194
+ this.Message = opts.Message;
195
+ }
196
+ }
197
+ exports.TooManyTrustStoreRevocationEntriesException = TooManyTrustStoreRevocationEntriesException;
139
198
  class AllocationIdNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
140
199
  constructor(opts) {
141
200
  super({
@@ -164,6 +223,14 @@ class ALPNPolicyNotSupportedException extends ElasticLoadBalancingV2ServiceExcep
164
223
  }
165
224
  }
166
225
  exports.ALPNPolicyNotSupportedException = ALPNPolicyNotSupportedException;
226
+ exports.MitigationInEffectEnum = {
227
+ NO: "no",
228
+ YES: "yes",
229
+ };
230
+ exports.AnomalyResultEnum = {
231
+ ANOMALOUS: "anomalous",
232
+ NORMAL: "normal",
233
+ };
167
234
  class AvailabilityZoneNotSupportedException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
168
235
  constructor(opts) {
169
236
  super({
@@ -178,6 +245,20 @@ class AvailabilityZoneNotSupportedException extends ElasticLoadBalancingV2Servic
178
245
  }
179
246
  }
180
247
  exports.AvailabilityZoneNotSupportedException = AvailabilityZoneNotSupportedException;
248
+ class CaCertificatesBundleNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
249
+ constructor(opts) {
250
+ super({
251
+ name: "CaCertificatesBundleNotFoundException",
252
+ $fault: "client",
253
+ ...opts,
254
+ });
255
+ this.name = "CaCertificatesBundleNotFoundException";
256
+ this.$fault = "client";
257
+ Object.setPrototypeOf(this, CaCertificatesBundleNotFoundException.prototype);
258
+ this.Message = opts.Message;
259
+ }
260
+ }
261
+ exports.CaCertificatesBundleNotFoundException = CaCertificatesBundleNotFoundException;
181
262
  exports.ProtocolEnum = {
182
263
  GENEVE: "GENEVE",
183
264
  HTTP: "HTTP",
@@ -341,6 +422,20 @@ class TooManyUniqueTargetGroupsPerLoadBalancerException extends ElasticLoadBalan
341
422
  }
342
423
  }
343
424
  exports.TooManyUniqueTargetGroupsPerLoadBalancerException = TooManyUniqueTargetGroupsPerLoadBalancerException;
425
+ class TrustStoreNotReadyException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
426
+ constructor(opts) {
427
+ super({
428
+ name: "TrustStoreNotReadyException",
429
+ $fault: "client",
430
+ ...opts,
431
+ });
432
+ this.name = "TrustStoreNotReadyException";
433
+ this.$fault = "client";
434
+ Object.setPrototypeOf(this, TrustStoreNotReadyException.prototype);
435
+ this.Message = opts.Message;
436
+ }
437
+ }
438
+ exports.TrustStoreNotReadyException = TrustStoreNotReadyException;
344
439
  class UnsupportedProtocolException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
345
440
  constructor(opts) {
346
441
  super({
@@ -552,6 +647,66 @@ class DuplicateTargetGroupNameException extends ElasticLoadBalancingV2ServiceExc
552
647
  }
553
648
  }
554
649
  exports.DuplicateTargetGroupNameException = DuplicateTargetGroupNameException;
650
+ exports.TrustStoreStatus = {
651
+ ACTIVE: "ACTIVE",
652
+ CREATING: "CREATING",
653
+ };
654
+ class DuplicateTrustStoreNameException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
655
+ constructor(opts) {
656
+ super({
657
+ name: "DuplicateTrustStoreNameException",
658
+ $fault: "client",
659
+ ...opts,
660
+ });
661
+ this.name = "DuplicateTrustStoreNameException";
662
+ this.$fault = "client";
663
+ Object.setPrototypeOf(this, DuplicateTrustStoreNameException.prototype);
664
+ this.Message = opts.Message;
665
+ }
666
+ }
667
+ exports.DuplicateTrustStoreNameException = DuplicateTrustStoreNameException;
668
+ class InvalidCaCertificatesBundleException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
669
+ constructor(opts) {
670
+ super({
671
+ name: "InvalidCaCertificatesBundleException",
672
+ $fault: "client",
673
+ ...opts,
674
+ });
675
+ this.name = "InvalidCaCertificatesBundleException";
676
+ this.$fault = "client";
677
+ Object.setPrototypeOf(this, InvalidCaCertificatesBundleException.prototype);
678
+ this.Message = opts.Message;
679
+ }
680
+ }
681
+ exports.InvalidCaCertificatesBundleException = InvalidCaCertificatesBundleException;
682
+ class TooManyTrustStoresException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
683
+ constructor(opts) {
684
+ super({
685
+ name: "TooManyTrustStoresException",
686
+ $fault: "client",
687
+ ...opts,
688
+ });
689
+ this.name = "TooManyTrustStoresException";
690
+ this.$fault = "client";
691
+ Object.setPrototypeOf(this, TooManyTrustStoresException.prototype);
692
+ this.Message = opts.Message;
693
+ }
694
+ }
695
+ exports.TooManyTrustStoresException = TooManyTrustStoresException;
696
+ class TrustStoreInUseException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
697
+ constructor(opts) {
698
+ super({
699
+ name: "TrustStoreInUseException",
700
+ $fault: "client",
701
+ ...opts,
702
+ });
703
+ this.name = "TrustStoreInUseException";
704
+ this.$fault = "client";
705
+ Object.setPrototypeOf(this, TrustStoreInUseException.prototype);
706
+ this.Message = opts.Message;
707
+ }
708
+ }
709
+ exports.TrustStoreInUseException = TrustStoreInUseException;
555
710
  class InvalidTargetException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
556
711
  constructor(opts) {
557
712
  super({
@@ -566,6 +721,10 @@ class InvalidTargetException extends ElasticLoadBalancingV2ServiceException_1.El
566
721
  }
567
722
  }
568
723
  exports.InvalidTargetException = InvalidTargetException;
724
+ exports.DescribeTargetHealthInputIncludeEnum = {
725
+ ALL: "All",
726
+ ANOMALY: "AnomalyDetection",
727
+ };
569
728
  exports.TargetHealthReasonEnum = {
570
729
  DEREGISTRATION_IN_PROGRESS: "Target.DeregistrationInProgress",
571
730
  FAILED_HEALTH_CHECKS: "Target.FailedHealthChecks",
@@ -602,6 +761,20 @@ class HealthUnavailableException extends ElasticLoadBalancingV2ServiceException_
602
761
  }
603
762
  }
604
763
  exports.HealthUnavailableException = HealthUnavailableException;
764
+ class RevocationIdNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
765
+ constructor(opts) {
766
+ super({
767
+ name: "RevocationIdNotFoundException",
768
+ $fault: "client",
769
+ ...opts,
770
+ });
771
+ this.name = "RevocationIdNotFoundException";
772
+ this.$fault = "client";
773
+ Object.setPrototypeOf(this, RevocationIdNotFoundException.prototype);
774
+ this.Message = opts.Message;
775
+ }
776
+ }
777
+ exports.RevocationIdNotFoundException = RevocationIdNotFoundException;
605
778
  exports.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
606
779
  off: "off",
607
780
  on: "on",
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeTrustStoreAssociations = void 0;
4
+ const DescribeTrustStoreAssociationsCommand_1 = require("../commands/DescribeTrustStoreAssociationsCommand");
5
+ 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;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeTrustStoreRevocations = void 0;
4
+ const DescribeTrustStoreRevocationsCommand_1 = require("../commands/DescribeTrustStoreRevocationsCommand");
5
+ 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;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeTrustStores = void 0;
4
+ const DescribeTrustStoresCommand_1 = require("../commands/DescribeTrustStoresCommand");
5
+ 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;
@@ -4,4 +4,7 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./DescribeListenersPaginator"), exports);
5
5
  tslib_1.__exportStar(require("./DescribeLoadBalancersPaginator"), exports);
6
6
  tslib_1.__exportStar(require("./DescribeTargetGroupsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./DescribeTrustStoreAssociationsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./DescribeTrustStoreRevocationsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./DescribeTrustStoresPaginator"), exports);
7
10
  tslib_1.__exportStar(require("./Interfaces"), exports);