@aws-sdk/client-elastic-load-balancing-v2 3.300.0 → 3.303.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/dist-cjs/models/models_0.js +81 -94
- package/dist-es/models/models_0.js +81 -94
- package/dist-types/commands/AddListenerCertificatesCommand.d.ts +3 -3
- package/dist-types/commands/AddTagsCommand.d.ts +4 -4
- package/dist-types/commands/CreateListenerCommand.d.ts +18 -18
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +7 -7
- package/dist-types/commands/CreateRuleCommand.d.ts +27 -29
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +4 -4
- package/dist-types/commands/DeleteListenerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeListenersCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeRulesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTargetHealthCommand.d.ts +3 -3
- package/dist-types/commands/ModifyListenerCommand.d.ts +16 -16
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +3 -3
- package/dist-types/commands/ModifyRuleCommand.d.ts +25 -27
- package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +3 -3
- package/dist-types/commands/ModifyTargetGroupCommand.d.ts +2 -2
- package/dist-types/commands/RegisterTargetsCommand.d.ts +3 -3
- package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsCommand.d.ts +3 -3
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -1
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +3 -3
- package/dist-types/commands/SetSecurityGroupsCommand.d.ts +2 -2
- package/dist-types/commands/SetSubnetsCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +146 -81
- package/dist-types/ts3.4/models/models_0.d.ts +105 -81
- package/package.json +35 -35
|
@@ -2,31 +2,27 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
4
|
const ElasticLoadBalancingV2ServiceException_1 = require("./ElasticLoadBalancingV2ServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
ActionTypeEnum["FIXED_RESPONSE"] = "fixed-response";
|
|
27
|
-
ActionTypeEnum["FORWARD"] = "forward";
|
|
28
|
-
ActionTypeEnum["REDIRECT"] = "redirect";
|
|
29
|
-
})(ActionTypeEnum = exports.ActionTypeEnum || (exports.ActionTypeEnum = {}));
|
|
5
|
+
exports.AuthenticateCognitoActionConditionalBehaviorEnum = {
|
|
6
|
+
ALLOW: "allow",
|
|
7
|
+
AUTHENTICATE: "authenticate",
|
|
8
|
+
DENY: "deny",
|
|
9
|
+
};
|
|
10
|
+
exports.AuthenticateOidcActionConditionalBehaviorEnum = {
|
|
11
|
+
ALLOW: "allow",
|
|
12
|
+
AUTHENTICATE: "authenticate",
|
|
13
|
+
DENY: "deny",
|
|
14
|
+
};
|
|
15
|
+
exports.RedirectActionStatusCodeEnum = {
|
|
16
|
+
HTTP_301: "HTTP_301",
|
|
17
|
+
HTTP_302: "HTTP_302",
|
|
18
|
+
};
|
|
19
|
+
exports.ActionTypeEnum = {
|
|
20
|
+
AUTHENTICATE_COGNITO: "authenticate-cognito",
|
|
21
|
+
AUTHENTICATE_OIDC: "authenticate-oidc",
|
|
22
|
+
FIXED_RESPONSE: "fixed-response",
|
|
23
|
+
FORWARD: "forward",
|
|
24
|
+
REDIRECT: "redirect",
|
|
25
|
+
};
|
|
30
26
|
class CertificateNotFoundException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
|
|
31
27
|
constructor(opts) {
|
|
32
28
|
super({
|
|
@@ -181,16 +177,15 @@ class AvailabilityZoneNotSupportedException extends ElasticLoadBalancingV2Servic
|
|
|
181
177
|
}
|
|
182
178
|
}
|
|
183
179
|
exports.AvailabilityZoneNotSupportedException = AvailabilityZoneNotSupportedException;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
})(ProtocolEnum = exports.ProtocolEnum || (exports.ProtocolEnum = {}));
|
|
180
|
+
exports.ProtocolEnum = {
|
|
181
|
+
GENEVE: "GENEVE",
|
|
182
|
+
HTTP: "HTTP",
|
|
183
|
+
HTTPS: "HTTPS",
|
|
184
|
+
TCP: "TCP",
|
|
185
|
+
TCP_UDP: "TCP_UDP",
|
|
186
|
+
TLS: "TLS",
|
|
187
|
+
UDP: "UDP",
|
|
188
|
+
};
|
|
194
189
|
class DuplicateListenerException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
|
|
195
190
|
constructor(opts) {
|
|
196
191
|
super({
|
|
@@ -359,29 +354,25 @@ class UnsupportedProtocolException extends ElasticLoadBalancingV2ServiceExceptio
|
|
|
359
354
|
}
|
|
360
355
|
}
|
|
361
356
|
exports.UnsupportedProtocolException = UnsupportedProtocolException;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
LoadBalancerStateEnum["ACTIVE_IMPAIRED"] = "active_impaired";
|
|
382
|
-
LoadBalancerStateEnum["FAILED"] = "failed";
|
|
383
|
-
LoadBalancerStateEnum["PROVISIONING"] = "provisioning";
|
|
384
|
-
})(LoadBalancerStateEnum = exports.LoadBalancerStateEnum || (exports.LoadBalancerStateEnum = {}));
|
|
357
|
+
exports.IpAddressType = {
|
|
358
|
+
DUALSTACK: "dualstack",
|
|
359
|
+
IPV4: "ipv4",
|
|
360
|
+
};
|
|
361
|
+
exports.LoadBalancerSchemeEnum = {
|
|
362
|
+
INTERNAL: "internal",
|
|
363
|
+
INTERNET_FACING: "internet-facing",
|
|
364
|
+
};
|
|
365
|
+
exports.LoadBalancerTypeEnum = {
|
|
366
|
+
APPLICATION: "application",
|
|
367
|
+
GATEWAY: "gateway",
|
|
368
|
+
NETWORK: "network",
|
|
369
|
+
};
|
|
370
|
+
exports.LoadBalancerStateEnum = {
|
|
371
|
+
ACTIVE: "active",
|
|
372
|
+
ACTIVE_IMPAIRED: "active_impaired",
|
|
373
|
+
FAILED: "failed",
|
|
374
|
+
PROVISIONING: "provisioning",
|
|
375
|
+
};
|
|
385
376
|
class DuplicateLoadBalancerNameException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
|
|
386
377
|
constructor(opts) {
|
|
387
378
|
super({
|
|
@@ -536,18 +527,16 @@ class TooManyTargetGroupsException extends ElasticLoadBalancingV2ServiceExceptio
|
|
|
536
527
|
}
|
|
537
528
|
}
|
|
538
529
|
exports.TooManyTargetGroupsException = TooManyTargetGroupsException;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
TargetTypeEnum["LAMBDA"] = "lambda";
|
|
550
|
-
})(TargetTypeEnum = exports.TargetTypeEnum || (exports.TargetTypeEnum = {}));
|
|
530
|
+
exports.TargetGroupIpAddressTypeEnum = {
|
|
531
|
+
IPV4: "ipv4",
|
|
532
|
+
IPV6: "ipv6",
|
|
533
|
+
};
|
|
534
|
+
exports.TargetTypeEnum = {
|
|
535
|
+
ALB: "alb",
|
|
536
|
+
INSTANCE: "instance",
|
|
537
|
+
IP: "ip",
|
|
538
|
+
LAMBDA: "lambda",
|
|
539
|
+
};
|
|
551
540
|
class DuplicateTargetGroupNameException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
|
|
552
541
|
constructor(opts) {
|
|
553
542
|
super({
|
|
@@ -576,30 +565,28 @@ class InvalidTargetException extends ElasticLoadBalancingV2ServiceException_1.El
|
|
|
576
565
|
}
|
|
577
566
|
}
|
|
578
567
|
exports.InvalidTargetException = InvalidTargetException;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
TargetHealthStateEnum["UNUSED"] = "unused";
|
|
602
|
-
})(TargetHealthStateEnum = exports.TargetHealthStateEnum || (exports.TargetHealthStateEnum = {}));
|
|
568
|
+
exports.TargetHealthReasonEnum = {
|
|
569
|
+
DEREGISTRATION_IN_PROGRESS: "Target.DeregistrationInProgress",
|
|
570
|
+
FAILED_HEALTH_CHECKS: "Target.FailedHealthChecks",
|
|
571
|
+
HEALTH_CHECK_DISABLED: "Target.HealthCheckDisabled",
|
|
572
|
+
INITIAL_HEALTH_CHECKING: "Elb.InitialHealthChecking",
|
|
573
|
+
INTERNAL_ERROR: "Elb.InternalError",
|
|
574
|
+
INVALID_STATE: "Target.InvalidState",
|
|
575
|
+
IP_UNUSABLE: "Target.IpUnusable",
|
|
576
|
+
NOT_IN_USE: "Target.NotInUse",
|
|
577
|
+
NOT_REGISTERED: "Target.NotRegistered",
|
|
578
|
+
REGISTRATION_IN_PROGRESS: "Elb.RegistrationInProgress",
|
|
579
|
+
RESPONSE_CODE_MISMATCH: "Target.ResponseCodeMismatch",
|
|
580
|
+
TIMEOUT: "Target.Timeout",
|
|
581
|
+
};
|
|
582
|
+
exports.TargetHealthStateEnum = {
|
|
583
|
+
DRAINING: "draining",
|
|
584
|
+
HEALTHY: "healthy",
|
|
585
|
+
INITIAL: "initial",
|
|
586
|
+
UNAVAILABLE: "unavailable",
|
|
587
|
+
UNHEALTHY: "unhealthy",
|
|
588
|
+
UNUSED: "unused",
|
|
589
|
+
};
|
|
603
590
|
class HealthUnavailableException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
|
|
604
591
|
constructor(opts) {
|
|
605
592
|
super({
|
|
@@ -1,29 +1,25 @@
|
|
|
1
1
|
import { ElasticLoadBalancingV2ServiceException as __BaseException } from "./ElasticLoadBalancingV2ServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
ActionTypeEnum["FIXED_RESPONSE"] = "fixed-response";
|
|
24
|
-
ActionTypeEnum["FORWARD"] = "forward";
|
|
25
|
-
ActionTypeEnum["REDIRECT"] = "redirect";
|
|
26
|
-
})(ActionTypeEnum || (ActionTypeEnum = {}));
|
|
2
|
+
export const AuthenticateCognitoActionConditionalBehaviorEnum = {
|
|
3
|
+
ALLOW: "allow",
|
|
4
|
+
AUTHENTICATE: "authenticate",
|
|
5
|
+
DENY: "deny",
|
|
6
|
+
};
|
|
7
|
+
export const AuthenticateOidcActionConditionalBehaviorEnum = {
|
|
8
|
+
ALLOW: "allow",
|
|
9
|
+
AUTHENTICATE: "authenticate",
|
|
10
|
+
DENY: "deny",
|
|
11
|
+
};
|
|
12
|
+
export const RedirectActionStatusCodeEnum = {
|
|
13
|
+
HTTP_301: "HTTP_301",
|
|
14
|
+
HTTP_302: "HTTP_302",
|
|
15
|
+
};
|
|
16
|
+
export const ActionTypeEnum = {
|
|
17
|
+
AUTHENTICATE_COGNITO: "authenticate-cognito",
|
|
18
|
+
AUTHENTICATE_OIDC: "authenticate-oidc",
|
|
19
|
+
FIXED_RESPONSE: "fixed-response",
|
|
20
|
+
FORWARD: "forward",
|
|
21
|
+
REDIRECT: "redirect",
|
|
22
|
+
};
|
|
27
23
|
export class CertificateNotFoundException extends __BaseException {
|
|
28
24
|
constructor(opts) {
|
|
29
25
|
super({
|
|
@@ -167,16 +163,15 @@ export class AvailabilityZoneNotSupportedException extends __BaseException {
|
|
|
167
163
|
this.Message = opts.Message;
|
|
168
164
|
}
|
|
169
165
|
}
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
})(ProtocolEnum || (ProtocolEnum = {}));
|
|
166
|
+
export const ProtocolEnum = {
|
|
167
|
+
GENEVE: "GENEVE",
|
|
168
|
+
HTTP: "HTTP",
|
|
169
|
+
HTTPS: "HTTPS",
|
|
170
|
+
TCP: "TCP",
|
|
171
|
+
TCP_UDP: "TCP_UDP",
|
|
172
|
+
TLS: "TLS",
|
|
173
|
+
UDP: "UDP",
|
|
174
|
+
};
|
|
180
175
|
export class DuplicateListenerException extends __BaseException {
|
|
181
176
|
constructor(opts) {
|
|
182
177
|
super({
|
|
@@ -333,29 +328,25 @@ export class UnsupportedProtocolException extends __BaseException {
|
|
|
333
328
|
this.Message = opts.Message;
|
|
334
329
|
}
|
|
335
330
|
}
|
|
336
|
-
export
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
LoadBalancerStateEnum["ACTIVE_IMPAIRED"] = "active_impaired";
|
|
356
|
-
LoadBalancerStateEnum["FAILED"] = "failed";
|
|
357
|
-
LoadBalancerStateEnum["PROVISIONING"] = "provisioning";
|
|
358
|
-
})(LoadBalancerStateEnum || (LoadBalancerStateEnum = {}));
|
|
331
|
+
export const IpAddressType = {
|
|
332
|
+
DUALSTACK: "dualstack",
|
|
333
|
+
IPV4: "ipv4",
|
|
334
|
+
};
|
|
335
|
+
export const LoadBalancerSchemeEnum = {
|
|
336
|
+
INTERNAL: "internal",
|
|
337
|
+
INTERNET_FACING: "internet-facing",
|
|
338
|
+
};
|
|
339
|
+
export const LoadBalancerTypeEnum = {
|
|
340
|
+
APPLICATION: "application",
|
|
341
|
+
GATEWAY: "gateway",
|
|
342
|
+
NETWORK: "network",
|
|
343
|
+
};
|
|
344
|
+
export const LoadBalancerStateEnum = {
|
|
345
|
+
ACTIVE: "active",
|
|
346
|
+
ACTIVE_IMPAIRED: "active_impaired",
|
|
347
|
+
FAILED: "failed",
|
|
348
|
+
PROVISIONING: "provisioning",
|
|
349
|
+
};
|
|
359
350
|
export class DuplicateLoadBalancerNameException extends __BaseException {
|
|
360
351
|
constructor(opts) {
|
|
361
352
|
super({
|
|
@@ -499,18 +490,16 @@ export class TooManyTargetGroupsException extends __BaseException {
|
|
|
499
490
|
this.Message = opts.Message;
|
|
500
491
|
}
|
|
501
492
|
}
|
|
502
|
-
export
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
TargetTypeEnum["LAMBDA"] = "lambda";
|
|
513
|
-
})(TargetTypeEnum || (TargetTypeEnum = {}));
|
|
493
|
+
export const TargetGroupIpAddressTypeEnum = {
|
|
494
|
+
IPV4: "ipv4",
|
|
495
|
+
IPV6: "ipv6",
|
|
496
|
+
};
|
|
497
|
+
export const TargetTypeEnum = {
|
|
498
|
+
ALB: "alb",
|
|
499
|
+
INSTANCE: "instance",
|
|
500
|
+
IP: "ip",
|
|
501
|
+
LAMBDA: "lambda",
|
|
502
|
+
};
|
|
514
503
|
export class DuplicateTargetGroupNameException extends __BaseException {
|
|
515
504
|
constructor(opts) {
|
|
516
505
|
super({
|
|
@@ -537,30 +526,28 @@ export class InvalidTargetException extends __BaseException {
|
|
|
537
526
|
this.Message = opts.Message;
|
|
538
527
|
}
|
|
539
528
|
}
|
|
540
|
-
export
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
TargetHealthStateEnum["UNUSED"] = "unused";
|
|
563
|
-
})(TargetHealthStateEnum || (TargetHealthStateEnum = {}));
|
|
529
|
+
export const TargetHealthReasonEnum = {
|
|
530
|
+
DEREGISTRATION_IN_PROGRESS: "Target.DeregistrationInProgress",
|
|
531
|
+
FAILED_HEALTH_CHECKS: "Target.FailedHealthChecks",
|
|
532
|
+
HEALTH_CHECK_DISABLED: "Target.HealthCheckDisabled",
|
|
533
|
+
INITIAL_HEALTH_CHECKING: "Elb.InitialHealthChecking",
|
|
534
|
+
INTERNAL_ERROR: "Elb.InternalError",
|
|
535
|
+
INVALID_STATE: "Target.InvalidState",
|
|
536
|
+
IP_UNUSABLE: "Target.IpUnusable",
|
|
537
|
+
NOT_IN_USE: "Target.NotInUse",
|
|
538
|
+
NOT_REGISTERED: "Target.NotRegistered",
|
|
539
|
+
REGISTRATION_IN_PROGRESS: "Elb.RegistrationInProgress",
|
|
540
|
+
RESPONSE_CODE_MISMATCH: "Target.ResponseCodeMismatch",
|
|
541
|
+
TIMEOUT: "Target.Timeout",
|
|
542
|
+
};
|
|
543
|
+
export const TargetHealthStateEnum = {
|
|
544
|
+
DRAINING: "draining",
|
|
545
|
+
HEALTHY: "healthy",
|
|
546
|
+
INITIAL: "initial",
|
|
547
|
+
UNAVAILABLE: "unavailable",
|
|
548
|
+
UNHEALTHY: "unhealthy",
|
|
549
|
+
UNUSED: "unused",
|
|
550
|
+
};
|
|
564
551
|
export class HealthUnavailableException extends __BaseException {
|
|
565
552
|
constructor(opts) {
|
|
566
553
|
super({
|
|
@@ -32,10 +32,10 @@ export interface AddListenerCertificatesCommandOutput extends AddListenerCertifi
|
|
|
32
32
|
* import { ElasticLoadBalancingV2Client, AddListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
33
33
|
* // const { ElasticLoadBalancingV2Client, AddListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
34
34
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // AddListenerCertificatesInput
|
|
36
36
|
* ListenerArn: "STRING_VALUE", // required
|
|
37
|
-
* Certificates: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* Certificates: [ // CertificateList // required
|
|
38
|
+
* { // Certificate
|
|
39
39
|
* CertificateArn: "STRING_VALUE",
|
|
40
40
|
* IsDefault: true || false,
|
|
41
41
|
* },
|
|
@@ -30,12 +30,12 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
30
30
|
* import { ElasticLoadBalancingV2Client, AddTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
31
31
|
* // const { ElasticLoadBalancingV2Client, AddTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
32
32
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* ResourceArns: [ // required
|
|
33
|
+
* const input = { // AddTagsInput
|
|
34
|
+
* ResourceArns: [ // ResourceArns // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* Tags: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* Tags: [ // TagList // required
|
|
38
|
+
* { // Tag
|
|
39
39
|
* Key: "STRING_VALUE", // required
|
|
40
40
|
* Value: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -50,22 +50,22 @@ export interface CreateListenerCommandOutput extends CreateListenerOutput, __Met
|
|
|
50
50
|
* import { ElasticLoadBalancingV2Client, CreateListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
51
51
|
* // const { ElasticLoadBalancingV2Client, CreateListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
52
52
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
53
|
-
* const input = {
|
|
53
|
+
* const input = { // CreateListenerInput
|
|
54
54
|
* LoadBalancerArn: "STRING_VALUE", // required
|
|
55
55
|
* Protocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
56
56
|
* Port: Number("int"),
|
|
57
57
|
* SslPolicy: "STRING_VALUE",
|
|
58
|
-
* Certificates: [
|
|
59
|
-
* {
|
|
58
|
+
* Certificates: [ // CertificateList
|
|
59
|
+
* { // Certificate
|
|
60
60
|
* CertificateArn: "STRING_VALUE",
|
|
61
61
|
* IsDefault: true || false,
|
|
62
62
|
* },
|
|
63
63
|
* ],
|
|
64
|
-
* DefaultActions: [ // required
|
|
65
|
-
* {
|
|
64
|
+
* DefaultActions: [ // Actions // required
|
|
65
|
+
* { // Action
|
|
66
66
|
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
67
67
|
* TargetGroupArn: "STRING_VALUE",
|
|
68
|
-
* AuthenticateOidcConfig: {
|
|
68
|
+
* AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
69
69
|
* Issuer: "STRING_VALUE", // required
|
|
70
70
|
* AuthorizationEndpoint: "STRING_VALUE", // required
|
|
71
71
|
* TokenEndpoint: "STRING_VALUE", // required
|
|
@@ -75,26 +75,26 @@ export interface CreateListenerCommandOutput extends CreateListenerOutput, __Met
|
|
|
75
75
|
* SessionCookieName: "STRING_VALUE",
|
|
76
76
|
* Scope: "STRING_VALUE",
|
|
77
77
|
* SessionTimeout: Number("long"),
|
|
78
|
-
* AuthenticationRequestExtraParams: {
|
|
78
|
+
* AuthenticationRequestExtraParams: { // AuthenticateOidcActionAuthenticationRequestExtraParams
|
|
79
79
|
* "<keys>": "STRING_VALUE",
|
|
80
80
|
* },
|
|
81
81
|
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
82
82
|
* UseExistingClientSecret: true || false,
|
|
83
83
|
* },
|
|
84
|
-
* AuthenticateCognitoConfig: {
|
|
84
|
+
* AuthenticateCognitoConfig: { // AuthenticateCognitoActionConfig
|
|
85
85
|
* UserPoolArn: "STRING_VALUE", // required
|
|
86
86
|
* UserPoolClientId: "STRING_VALUE", // required
|
|
87
87
|
* UserPoolDomain: "STRING_VALUE", // required
|
|
88
88
|
* SessionCookieName: "STRING_VALUE",
|
|
89
89
|
* Scope: "STRING_VALUE",
|
|
90
90
|
* SessionTimeout: Number("long"),
|
|
91
|
-
* AuthenticationRequestExtraParams: {
|
|
91
|
+
* AuthenticationRequestExtraParams: { // AuthenticateCognitoActionAuthenticationRequestExtraParams
|
|
92
92
|
* "<keys>": "STRING_VALUE",
|
|
93
93
|
* },
|
|
94
94
|
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
95
95
|
* },
|
|
96
96
|
* Order: Number("int"),
|
|
97
|
-
* RedirectConfig: {
|
|
97
|
+
* RedirectConfig: { // RedirectActionConfig
|
|
98
98
|
* Protocol: "STRING_VALUE",
|
|
99
99
|
* Port: "STRING_VALUE",
|
|
100
100
|
* Host: "STRING_VALUE",
|
|
@@ -102,30 +102,30 @@ export interface CreateListenerCommandOutput extends CreateListenerOutput, __Met
|
|
|
102
102
|
* Query: "STRING_VALUE",
|
|
103
103
|
* StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
104
104
|
* },
|
|
105
|
-
* FixedResponseConfig: {
|
|
105
|
+
* FixedResponseConfig: { // FixedResponseActionConfig
|
|
106
106
|
* MessageBody: "STRING_VALUE",
|
|
107
107
|
* StatusCode: "STRING_VALUE", // required
|
|
108
108
|
* ContentType: "STRING_VALUE",
|
|
109
109
|
* },
|
|
110
|
-
* ForwardConfig: {
|
|
111
|
-
* TargetGroups: [
|
|
112
|
-
* {
|
|
110
|
+
* ForwardConfig: { // ForwardActionConfig
|
|
111
|
+
* TargetGroups: [ // TargetGroupList
|
|
112
|
+
* { // TargetGroupTuple
|
|
113
113
|
* TargetGroupArn: "STRING_VALUE",
|
|
114
114
|
* Weight: Number("int"),
|
|
115
115
|
* },
|
|
116
116
|
* ],
|
|
117
|
-
* TargetGroupStickinessConfig: {
|
|
117
|
+
* TargetGroupStickinessConfig: { // TargetGroupStickinessConfig
|
|
118
118
|
* Enabled: true || false,
|
|
119
119
|
* DurationSeconds: Number("int"),
|
|
120
120
|
* },
|
|
121
121
|
* },
|
|
122
122
|
* },
|
|
123
123
|
* ],
|
|
124
|
-
* AlpnPolicy: [
|
|
124
|
+
* AlpnPolicy: [ // AlpnPolicyName
|
|
125
125
|
* "STRING_VALUE",
|
|
126
126
|
* ],
|
|
127
|
-
* Tags: [
|
|
128
|
-
* {
|
|
127
|
+
* Tags: [ // TagList
|
|
128
|
+
* { // Tag
|
|
129
129
|
* Key: "STRING_VALUE", // required
|
|
130
130
|
* Value: "STRING_VALUE",
|
|
131
131
|
* },
|
|
@@ -49,25 +49,25 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutpu
|
|
|
49
49
|
* import { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
50
50
|
* // const { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
51
51
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
52
|
-
* const input = {
|
|
52
|
+
* const input = { // CreateLoadBalancerInput
|
|
53
53
|
* Name: "STRING_VALUE", // required
|
|
54
|
-
* Subnets: [
|
|
54
|
+
* Subnets: [ // Subnets
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
57
|
-
* SubnetMappings: [
|
|
58
|
-
* {
|
|
57
|
+
* SubnetMappings: [ // SubnetMappings
|
|
58
|
+
* { // SubnetMapping
|
|
59
59
|
* SubnetId: "STRING_VALUE",
|
|
60
60
|
* AllocationId: "STRING_VALUE",
|
|
61
61
|
* PrivateIPv4Address: "STRING_VALUE",
|
|
62
62
|
* IPv6Address: "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* ],
|
|
65
|
-
* SecurityGroups: [
|
|
65
|
+
* SecurityGroups: [ // SecurityGroups
|
|
66
66
|
* "STRING_VALUE",
|
|
67
67
|
* ],
|
|
68
68
|
* Scheme: "internet-facing" || "internal",
|
|
69
|
-
* Tags: [
|
|
70
|
-
* {
|
|
69
|
+
* Tags: [ // TagList
|
|
70
|
+
* { // Tag
|
|
71
71
|
* Key: "STRING_VALUE", // required
|
|
72
72
|
* Value: "STRING_VALUE",
|
|
73
73
|
* },
|