@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
@@ -124,6 +124,61 @@ export class TooManyTagsException extends __BaseException {
124
124
  this.Message = opts.Message;
125
125
  }
126
126
  }
127
+ export class TrustStoreNotFoundException extends __BaseException {
128
+ constructor(opts) {
129
+ super({
130
+ name: "TrustStoreNotFoundException",
131
+ $fault: "client",
132
+ ...opts,
133
+ });
134
+ this.name = "TrustStoreNotFoundException";
135
+ this.$fault = "client";
136
+ Object.setPrototypeOf(this, TrustStoreNotFoundException.prototype);
137
+ this.Message = opts.Message;
138
+ }
139
+ }
140
+ export const RevocationType = {
141
+ CRL: "CRL",
142
+ };
143
+ export class InvalidRevocationContentException extends __BaseException {
144
+ constructor(opts) {
145
+ super({
146
+ name: "InvalidRevocationContentException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ this.name = "InvalidRevocationContentException";
151
+ this.$fault = "client";
152
+ Object.setPrototypeOf(this, InvalidRevocationContentException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ export class RevocationContentNotFoundException extends __BaseException {
157
+ constructor(opts) {
158
+ super({
159
+ name: "RevocationContentNotFoundException",
160
+ $fault: "client",
161
+ ...opts,
162
+ });
163
+ this.name = "RevocationContentNotFoundException";
164
+ this.$fault = "client";
165
+ Object.setPrototypeOf(this, RevocationContentNotFoundException.prototype);
166
+ this.Message = opts.Message;
167
+ }
168
+ }
169
+ export class TooManyTrustStoreRevocationEntriesException extends __BaseException {
170
+ constructor(opts) {
171
+ super({
172
+ name: "TooManyTrustStoreRevocationEntriesException",
173
+ $fault: "client",
174
+ ...opts,
175
+ });
176
+ this.name = "TooManyTrustStoreRevocationEntriesException";
177
+ this.$fault = "client";
178
+ Object.setPrototypeOf(this, TooManyTrustStoreRevocationEntriesException.prototype);
179
+ this.Message = opts.Message;
180
+ }
181
+ }
127
182
  export class AllocationIdNotFoundException extends __BaseException {
128
183
  constructor(opts) {
129
184
  super({
@@ -150,6 +205,14 @@ export class ALPNPolicyNotSupportedException extends __BaseException {
150
205
  this.Message = opts.Message;
151
206
  }
152
207
  }
208
+ export const MitigationInEffectEnum = {
209
+ NO: "no",
210
+ YES: "yes",
211
+ };
212
+ export const AnomalyResultEnum = {
213
+ ANOMALOUS: "anomalous",
214
+ NORMAL: "normal",
215
+ };
153
216
  export class AvailabilityZoneNotSupportedException extends __BaseException {
154
217
  constructor(opts) {
155
218
  super({
@@ -163,6 +226,19 @@ export class AvailabilityZoneNotSupportedException extends __BaseException {
163
226
  this.Message = opts.Message;
164
227
  }
165
228
  }
229
+ export class CaCertificatesBundleNotFoundException extends __BaseException {
230
+ constructor(opts) {
231
+ super({
232
+ name: "CaCertificatesBundleNotFoundException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ this.name = "CaCertificatesBundleNotFoundException";
237
+ this.$fault = "client";
238
+ Object.setPrototypeOf(this, CaCertificatesBundleNotFoundException.prototype);
239
+ this.Message = opts.Message;
240
+ }
241
+ }
166
242
  export const ProtocolEnum = {
167
243
  GENEVE: "GENEVE",
168
244
  HTTP: "HTTP",
@@ -315,6 +391,19 @@ export class TooManyUniqueTargetGroupsPerLoadBalancerException extends __BaseExc
315
391
  this.Message = opts.Message;
316
392
  }
317
393
  }
394
+ export class TrustStoreNotReadyException extends __BaseException {
395
+ constructor(opts) {
396
+ super({
397
+ name: "TrustStoreNotReadyException",
398
+ $fault: "client",
399
+ ...opts,
400
+ });
401
+ this.name = "TrustStoreNotReadyException";
402
+ this.$fault = "client";
403
+ Object.setPrototypeOf(this, TrustStoreNotReadyException.prototype);
404
+ this.Message = opts.Message;
405
+ }
406
+ }
318
407
  export class UnsupportedProtocolException extends __BaseException {
319
408
  constructor(opts) {
320
409
  super({
@@ -513,6 +602,62 @@ export class DuplicateTargetGroupNameException extends __BaseException {
513
602
  this.Message = opts.Message;
514
603
  }
515
604
  }
605
+ export const TrustStoreStatus = {
606
+ ACTIVE: "ACTIVE",
607
+ CREATING: "CREATING",
608
+ };
609
+ export class DuplicateTrustStoreNameException extends __BaseException {
610
+ constructor(opts) {
611
+ super({
612
+ name: "DuplicateTrustStoreNameException",
613
+ $fault: "client",
614
+ ...opts,
615
+ });
616
+ this.name = "DuplicateTrustStoreNameException";
617
+ this.$fault = "client";
618
+ Object.setPrototypeOf(this, DuplicateTrustStoreNameException.prototype);
619
+ this.Message = opts.Message;
620
+ }
621
+ }
622
+ export class InvalidCaCertificatesBundleException extends __BaseException {
623
+ constructor(opts) {
624
+ super({
625
+ name: "InvalidCaCertificatesBundleException",
626
+ $fault: "client",
627
+ ...opts,
628
+ });
629
+ this.name = "InvalidCaCertificatesBundleException";
630
+ this.$fault = "client";
631
+ Object.setPrototypeOf(this, InvalidCaCertificatesBundleException.prototype);
632
+ this.Message = opts.Message;
633
+ }
634
+ }
635
+ export class TooManyTrustStoresException extends __BaseException {
636
+ constructor(opts) {
637
+ super({
638
+ name: "TooManyTrustStoresException",
639
+ $fault: "client",
640
+ ...opts,
641
+ });
642
+ this.name = "TooManyTrustStoresException";
643
+ this.$fault = "client";
644
+ Object.setPrototypeOf(this, TooManyTrustStoresException.prototype);
645
+ this.Message = opts.Message;
646
+ }
647
+ }
648
+ export class TrustStoreInUseException extends __BaseException {
649
+ constructor(opts) {
650
+ super({
651
+ name: "TrustStoreInUseException",
652
+ $fault: "client",
653
+ ...opts,
654
+ });
655
+ this.name = "TrustStoreInUseException";
656
+ this.$fault = "client";
657
+ Object.setPrototypeOf(this, TrustStoreInUseException.prototype);
658
+ this.Message = opts.Message;
659
+ }
660
+ }
516
661
  export class InvalidTargetException extends __BaseException {
517
662
  constructor(opts) {
518
663
  super({
@@ -526,6 +671,10 @@ export class InvalidTargetException extends __BaseException {
526
671
  this.Message = opts.Message;
527
672
  }
528
673
  }
674
+ export const DescribeTargetHealthInputIncludeEnum = {
675
+ ALL: "All",
676
+ ANOMALY: "AnomalyDetection",
677
+ };
529
678
  export const TargetHealthReasonEnum = {
530
679
  DEREGISTRATION_IN_PROGRESS: "Target.DeregistrationInProgress",
531
680
  FAILED_HEALTH_CHECKS: "Target.FailedHealthChecks",
@@ -561,6 +710,19 @@ export class HealthUnavailableException extends __BaseException {
561
710
  this.Message = opts.Message;
562
711
  }
563
712
  }
713
+ export class RevocationIdNotFoundException extends __BaseException {
714
+ constructor(opts) {
715
+ super({
716
+ name: "RevocationIdNotFoundException",
717
+ $fault: "client",
718
+ ...opts,
719
+ });
720
+ this.name = "RevocationIdNotFoundException";
721
+ this.$fault = "client";
722
+ Object.setPrototypeOf(this, RevocationIdNotFoundException.prototype);
723
+ this.Message = opts.Message;
724
+ }
725
+ }
564
726
  export const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
565
727
  off: "off",
566
728
  on: "on",
@@ -0,0 +1,25 @@
1
+ import { DescribeTrustStoreAssociationsCommand, } from "../commands/DescribeTrustStoreAssociationsCommand";
2
+ import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeTrustStoreAssociationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeTrustStoreAssociations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["PageSize"] = config.pageSize;
13
+ if (config.client instanceof ElasticLoadBalancingV2Client) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextMarker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeTrustStoreRevocationsCommand, } from "../commands/DescribeTrustStoreRevocationsCommand";
2
+ import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeTrustStoreRevocationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeTrustStoreRevocations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["PageSize"] = config.pageSize;
13
+ if (config.client instanceof ElasticLoadBalancingV2Client) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextMarker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { DescribeTrustStoresCommand, } from "../commands/DescribeTrustStoresCommand";
2
+ import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeTrustStoresCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeTrustStores(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["PageSize"] = config.pageSize;
13
+ if (config.client instanceof ElasticLoadBalancingV2Client) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected ElasticLoadBalancingV2 | ElasticLoadBalancingV2Client");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextMarker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -1,4 +1,7 @@
1
1
  export * from "./DescribeListenersPaginator";
2
2
  export * from "./DescribeLoadBalancersPaginator";
3
3
  export * from "./DescribeTargetGroupsPaginator";
4
+ export * from "./DescribeTrustStoreAssociationsPaginator";
5
+ export * from "./DescribeTrustStoreRevocationsPaginator";
6
+ export * from "./DescribeTrustStoresPaginator";
4
7
  export * from "./Interfaces";