@aws-sdk/client-elastic-load-balancing-v2 3.454.0 → 3.460.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.
- package/README.md +114 -34
- package/dist-cjs/ElasticLoadBalancingV2.js +20 -0
- package/dist-cjs/commands/AddTrustStoreRevocationsCommand.js +51 -0
- package/dist-cjs/commands/CreateTrustStoreCommand.js +51 -0
- package/dist-cjs/commands/DeleteTrustStoreCommand.js +51 -0
- package/dist-cjs/commands/DescribeTrustStoreAssociationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeTrustStoreRevocationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeTrustStoresCommand.js +51 -0
- package/dist-cjs/commands/GetTrustStoreCaCertificatesBundleCommand.js +51 -0
- package/dist-cjs/commands/GetTrustStoreRevocationContentCommand.js +51 -0
- package/dist-cjs/commands/ModifyTrustStoreCommand.js +51 -0
- package/dist-cjs/commands/RemoveTrustStoreRevocationsCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +175 -2
- package/dist-cjs/pagination/DescribeTrustStoreAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeTrustStoreRevocationsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeTrustStoresPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_query.js +1187 -19
- package/dist-es/ElasticLoadBalancingV2.js +20 -0
- package/dist-es/commands/AddTrustStoreRevocationsCommand.js +47 -0
- package/dist-es/commands/CreateTrustStoreCommand.js +47 -0
- package/dist-es/commands/DeleteTrustStoreCommand.js +47 -0
- package/dist-es/commands/DescribeTrustStoreAssociationsCommand.js +47 -0
- package/dist-es/commands/DescribeTrustStoreRevocationsCommand.js +47 -0
- package/dist-es/commands/DescribeTrustStoresCommand.js +47 -0
- package/dist-es/commands/GetTrustStoreCaCertificatesBundleCommand.js +47 -0
- package/dist-es/commands/GetTrustStoreRevocationContentCommand.js +47 -0
- package/dist-es/commands/ModifyTrustStoreCommand.js +47 -0
- package/dist-es/commands/RemoveTrustStoreRevocationsCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +162 -0
- package/dist-es/pagination/DescribeTrustStoreAssociationsPaginator.js +25 -0
- package/dist-es/pagination/DescribeTrustStoreRevocationsPaginator.js +25 -0
- package/dist-es/pagination/DescribeTrustStoresPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_query.js +1167 -19
- package/dist-types/ElasticLoadBalancingV2.d.ts +70 -0
- package/dist-types/ElasticLoadBalancingV2Client.d.ts +12 -2
- package/dist-types/commands/AddTagsCommand.d.ts +5 -2
- package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +100 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +17 -1
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +108 -0
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +77 -0
- package/dist-types/commands/DescribeListenersCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTargetHealthCommand.d.ts +7 -0
- package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +83 -0
- package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +93 -0
- package/dist-types/commands/DescribeTrustStoresCommand.d.ts +93 -0
- package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +78 -0
- package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +82 -0
- package/dist-types/commands/ModifyListenerCommand.d.ts +16 -0
- package/dist-types/commands/ModifyTrustStoreCommand.d.ts +93 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +4 -1
- package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +80 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +712 -2
- package/dist-types/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeTrustStoresPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_query.d.ts +90 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +176 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +60 -0
- package/dist-types/ts3.4/commands/AddTrustStoreRevocationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTrustStoreAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTrustStoreRevocationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTrustStoresCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTrustStoreRevocationContentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyTrustStoreCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveTrustStoreRevocationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +254 -0
- package/dist-types/ts3.4/pagination/DescribeTrustStoreAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeTrustStoreRevocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeTrustStoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +120 -0
- package/package.json +12 -12
|
@@ -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";
|