@aws-sdk/client-elastic-load-balancing-v2 3.301.0 → 3.306.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/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({
|
|
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { ElasticLoadBalancingV2ServiceException as __BaseException } from "./ElasticLoadBalancingV2ServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
ALLOW
|
|
8
|
-
AUTHENTICATE
|
|
9
|
-
DENY
|
|
10
|
-
}
|
|
7
|
+
export declare const AuthenticateCognitoActionConditionalBehaviorEnum: {
|
|
8
|
+
readonly ALLOW: "allow";
|
|
9
|
+
readonly AUTHENTICATE: "authenticate";
|
|
10
|
+
readonly DENY: "deny";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type AuthenticateCognitoActionConditionalBehaviorEnum = (typeof AuthenticateCognitoActionConditionalBehaviorEnum)[keyof typeof AuthenticateCognitoActionConditionalBehaviorEnum];
|
|
11
16
|
/**
|
|
12
17
|
* @public
|
|
13
18
|
* <p>Request parameters to use when integrating with Amazon Cognito to authenticate
|
|
@@ -67,12 +72,17 @@ export interface AuthenticateCognitoActionConfig {
|
|
|
67
72
|
}
|
|
68
73
|
/**
|
|
69
74
|
* @public
|
|
75
|
+
* @enum
|
|
70
76
|
*/
|
|
71
|
-
export declare
|
|
72
|
-
ALLOW
|
|
73
|
-
AUTHENTICATE
|
|
74
|
-
DENY
|
|
75
|
-
}
|
|
77
|
+
export declare const AuthenticateOidcActionConditionalBehaviorEnum: {
|
|
78
|
+
readonly ALLOW: "allow";
|
|
79
|
+
readonly AUTHENTICATE: "authenticate";
|
|
80
|
+
readonly DENY: "deny";
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export type AuthenticateOidcActionConditionalBehaviorEnum = (typeof AuthenticateOidcActionConditionalBehaviorEnum)[keyof typeof AuthenticateOidcActionConditionalBehaviorEnum];
|
|
76
86
|
/**
|
|
77
87
|
* @public
|
|
78
88
|
* <p>Request parameters when using an identity provider (IdP) that is compliant with OpenID
|
|
@@ -220,11 +230,16 @@ export interface ForwardActionConfig {
|
|
|
220
230
|
}
|
|
221
231
|
/**
|
|
222
232
|
* @public
|
|
233
|
+
* @enum
|
|
223
234
|
*/
|
|
224
|
-
export declare
|
|
225
|
-
HTTP_301
|
|
226
|
-
HTTP_302
|
|
227
|
-
}
|
|
235
|
+
export declare const RedirectActionStatusCodeEnum: {
|
|
236
|
+
readonly HTTP_301: "HTTP_301";
|
|
237
|
+
readonly HTTP_302: "HTTP_302";
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
export type RedirectActionStatusCodeEnum = (typeof RedirectActionStatusCodeEnum)[keyof typeof RedirectActionStatusCodeEnum];
|
|
228
243
|
/**
|
|
229
244
|
* @public
|
|
230
245
|
* <p>Information about a redirect action.</p>
|
|
@@ -286,14 +301,19 @@ export interface RedirectActionConfig {
|
|
|
286
301
|
}
|
|
287
302
|
/**
|
|
288
303
|
* @public
|
|
304
|
+
* @enum
|
|
289
305
|
*/
|
|
290
|
-
export declare
|
|
291
|
-
AUTHENTICATE_COGNITO
|
|
292
|
-
AUTHENTICATE_OIDC
|
|
293
|
-
FIXED_RESPONSE
|
|
294
|
-
FORWARD
|
|
295
|
-
REDIRECT
|
|
296
|
-
}
|
|
306
|
+
export declare const ActionTypeEnum: {
|
|
307
|
+
readonly AUTHENTICATE_COGNITO: "authenticate-cognito";
|
|
308
|
+
readonly AUTHENTICATE_OIDC: "authenticate-oidc";
|
|
309
|
+
readonly FIXED_RESPONSE: "fixed-response";
|
|
310
|
+
readonly FORWARD: "forward";
|
|
311
|
+
readonly REDIRECT: "redirect";
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
export type ActionTypeEnum = (typeof ActionTypeEnum)[keyof typeof ActionTypeEnum];
|
|
297
317
|
/**
|
|
298
318
|
* @public
|
|
299
319
|
* <p>Information about an action.</p>
|
|
@@ -626,16 +646,21 @@ export interface Cipher {
|
|
|
626
646
|
}
|
|
627
647
|
/**
|
|
628
648
|
* @public
|
|
649
|
+
* @enum
|
|
629
650
|
*/
|
|
630
|
-
export declare
|
|
631
|
-
GENEVE
|
|
632
|
-
HTTP
|
|
633
|
-
HTTPS
|
|
634
|
-
TCP
|
|
635
|
-
TCP_UDP
|
|
636
|
-
TLS
|
|
637
|
-
UDP
|
|
638
|
-
}
|
|
651
|
+
export declare const ProtocolEnum: {
|
|
652
|
+
readonly GENEVE: "GENEVE";
|
|
653
|
+
readonly HTTP: "HTTP";
|
|
654
|
+
readonly HTTPS: "HTTPS";
|
|
655
|
+
readonly TCP: "TCP";
|
|
656
|
+
readonly TCP_UDP: "TCP_UDP";
|
|
657
|
+
readonly TLS: "TLS";
|
|
658
|
+
readonly UDP: "UDP";
|
|
659
|
+
};
|
|
660
|
+
/**
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
export type ProtocolEnum = (typeof ProtocolEnum)[keyof typeof ProtocolEnum];
|
|
639
664
|
/**
|
|
640
665
|
* @public
|
|
641
666
|
*/
|
|
@@ -923,18 +948,28 @@ export declare class UnsupportedProtocolException extends __BaseException {
|
|
|
923
948
|
}
|
|
924
949
|
/**
|
|
925
950
|
* @public
|
|
951
|
+
* @enum
|
|
926
952
|
*/
|
|
927
|
-
export declare
|
|
928
|
-
DUALSTACK
|
|
929
|
-
IPV4
|
|
930
|
-
}
|
|
953
|
+
export declare const IpAddressType: {
|
|
954
|
+
readonly DUALSTACK: "dualstack";
|
|
955
|
+
readonly IPV4: "ipv4";
|
|
956
|
+
};
|
|
931
957
|
/**
|
|
932
958
|
* @public
|
|
933
959
|
*/
|
|
934
|
-
export
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
960
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
961
|
+
/**
|
|
962
|
+
* @public
|
|
963
|
+
* @enum
|
|
964
|
+
*/
|
|
965
|
+
export declare const LoadBalancerSchemeEnum: {
|
|
966
|
+
readonly INTERNAL: "internal";
|
|
967
|
+
readonly INTERNET_FACING: "internet-facing";
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
972
|
+
export type LoadBalancerSchemeEnum = (typeof LoadBalancerSchemeEnum)[keyof typeof LoadBalancerSchemeEnum];
|
|
938
973
|
/**
|
|
939
974
|
* @public
|
|
940
975
|
* <p>Information about a subnet mapping.</p>
|
|
@@ -960,12 +995,17 @@ export interface SubnetMapping {
|
|
|
960
995
|
}
|
|
961
996
|
/**
|
|
962
997
|
* @public
|
|
998
|
+
* @enum
|
|
963
999
|
*/
|
|
964
|
-
export declare
|
|
965
|
-
APPLICATION
|
|
966
|
-
GATEWAY
|
|
967
|
-
NETWORK
|
|
968
|
-
}
|
|
1000
|
+
export declare const LoadBalancerTypeEnum: {
|
|
1001
|
+
readonly APPLICATION: "application";
|
|
1002
|
+
readonly GATEWAY: "gateway";
|
|
1003
|
+
readonly NETWORK: "network";
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
export type LoadBalancerTypeEnum = (typeof LoadBalancerTypeEnum)[keyof typeof LoadBalancerTypeEnum];
|
|
969
1009
|
/**
|
|
970
1010
|
* @public
|
|
971
1011
|
*/
|
|
@@ -1048,13 +1088,18 @@ export interface CreateLoadBalancerInput {
|
|
|
1048
1088
|
}
|
|
1049
1089
|
/**
|
|
1050
1090
|
* @public
|
|
1091
|
+
* @enum
|
|
1051
1092
|
*/
|
|
1052
|
-
export declare
|
|
1053
|
-
ACTIVE
|
|
1054
|
-
ACTIVE_IMPAIRED
|
|
1055
|
-
FAILED
|
|
1056
|
-
PROVISIONING
|
|
1057
|
-
}
|
|
1093
|
+
export declare const LoadBalancerStateEnum: {
|
|
1094
|
+
readonly ACTIVE: "active";
|
|
1095
|
+
readonly ACTIVE_IMPAIRED: "active_impaired";
|
|
1096
|
+
readonly FAILED: "failed";
|
|
1097
|
+
readonly PROVISIONING: "provisioning";
|
|
1098
|
+
};
|
|
1099
|
+
/**
|
|
1100
|
+
* @public
|
|
1101
|
+
*/
|
|
1102
|
+
export type LoadBalancerStateEnum = (typeof LoadBalancerStateEnum)[keyof typeof LoadBalancerStateEnum];
|
|
1058
1103
|
/**
|
|
1059
1104
|
* @public
|
|
1060
1105
|
* <p>Information about the state of the load balancer.</p>
|
|
@@ -1609,11 +1654,16 @@ export declare class TooManyTargetGroupsException extends __BaseException {
|
|
|
1609
1654
|
}
|
|
1610
1655
|
/**
|
|
1611
1656
|
* @public
|
|
1657
|
+
* @enum
|
|
1612
1658
|
*/
|
|
1613
|
-
export declare
|
|
1614
|
-
IPV4
|
|
1615
|
-
IPV6
|
|
1616
|
-
}
|
|
1659
|
+
export declare const TargetGroupIpAddressTypeEnum: {
|
|
1660
|
+
readonly IPV4: "ipv4";
|
|
1661
|
+
readonly IPV6: "ipv6";
|
|
1662
|
+
};
|
|
1663
|
+
/**
|
|
1664
|
+
* @public
|
|
1665
|
+
*/
|
|
1666
|
+
export type TargetGroupIpAddressTypeEnum = (typeof TargetGroupIpAddressTypeEnum)[keyof typeof TargetGroupIpAddressTypeEnum];
|
|
1617
1667
|
/**
|
|
1618
1668
|
* @public
|
|
1619
1669
|
* <p>The codes to use when checking for a successful response from a target. If the protocol
|
|
@@ -1638,13 +1688,18 @@ export interface Matcher {
|
|
|
1638
1688
|
}
|
|
1639
1689
|
/**
|
|
1640
1690
|
* @public
|
|
1691
|
+
* @enum
|
|
1641
1692
|
*/
|
|
1642
|
-
export declare
|
|
1643
|
-
ALB
|
|
1644
|
-
INSTANCE
|
|
1645
|
-
IP
|
|
1646
|
-
LAMBDA
|
|
1647
|
-
}
|
|
1693
|
+
export declare const TargetTypeEnum: {
|
|
1694
|
+
readonly ALB: "alb";
|
|
1695
|
+
readonly INSTANCE: "instance";
|
|
1696
|
+
readonly IP: "ip";
|
|
1697
|
+
readonly LAMBDA: "lambda";
|
|
1698
|
+
};
|
|
1699
|
+
/**
|
|
1700
|
+
* @public
|
|
1701
|
+
*/
|
|
1702
|
+
export type TargetTypeEnum = (typeof TargetTypeEnum)[keyof typeof TargetTypeEnum];
|
|
1648
1703
|
/**
|
|
1649
1704
|
* @public
|
|
1650
1705
|
*/
|
|
@@ -2785,32 +2840,42 @@ export interface DescribeTargetHealthInput {
|
|
|
2785
2840
|
}
|
|
2786
2841
|
/**
|
|
2787
2842
|
* @public
|
|
2843
|
+
* @enum
|
|
2788
2844
|
*/
|
|
2789
|
-
export declare
|
|
2790
|
-
DEREGISTRATION_IN_PROGRESS
|
|
2791
|
-
FAILED_HEALTH_CHECKS
|
|
2792
|
-
HEALTH_CHECK_DISABLED
|
|
2793
|
-
INITIAL_HEALTH_CHECKING
|
|
2794
|
-
INTERNAL_ERROR
|
|
2795
|
-
INVALID_STATE
|
|
2796
|
-
IP_UNUSABLE
|
|
2797
|
-
NOT_IN_USE
|
|
2798
|
-
NOT_REGISTERED
|
|
2799
|
-
REGISTRATION_IN_PROGRESS
|
|
2800
|
-
RESPONSE_CODE_MISMATCH
|
|
2801
|
-
TIMEOUT
|
|
2802
|
-
}
|
|
2845
|
+
export declare const TargetHealthReasonEnum: {
|
|
2846
|
+
readonly DEREGISTRATION_IN_PROGRESS: "Target.DeregistrationInProgress";
|
|
2847
|
+
readonly FAILED_HEALTH_CHECKS: "Target.FailedHealthChecks";
|
|
2848
|
+
readonly HEALTH_CHECK_DISABLED: "Target.HealthCheckDisabled";
|
|
2849
|
+
readonly INITIAL_HEALTH_CHECKING: "Elb.InitialHealthChecking";
|
|
2850
|
+
readonly INTERNAL_ERROR: "Elb.InternalError";
|
|
2851
|
+
readonly INVALID_STATE: "Target.InvalidState";
|
|
2852
|
+
readonly IP_UNUSABLE: "Target.IpUnusable";
|
|
2853
|
+
readonly NOT_IN_USE: "Target.NotInUse";
|
|
2854
|
+
readonly NOT_REGISTERED: "Target.NotRegistered";
|
|
2855
|
+
readonly REGISTRATION_IN_PROGRESS: "Elb.RegistrationInProgress";
|
|
2856
|
+
readonly RESPONSE_CODE_MISMATCH: "Target.ResponseCodeMismatch";
|
|
2857
|
+
readonly TIMEOUT: "Target.Timeout";
|
|
2858
|
+
};
|
|
2803
2859
|
/**
|
|
2804
2860
|
* @public
|
|
2805
2861
|
*/
|
|
2806
|
-
export
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2862
|
+
export type TargetHealthReasonEnum = (typeof TargetHealthReasonEnum)[keyof typeof TargetHealthReasonEnum];
|
|
2863
|
+
/**
|
|
2864
|
+
* @public
|
|
2865
|
+
* @enum
|
|
2866
|
+
*/
|
|
2867
|
+
export declare const TargetHealthStateEnum: {
|
|
2868
|
+
readonly DRAINING: "draining";
|
|
2869
|
+
readonly HEALTHY: "healthy";
|
|
2870
|
+
readonly INITIAL: "initial";
|
|
2871
|
+
readonly UNAVAILABLE: "unavailable";
|
|
2872
|
+
readonly UNHEALTHY: "unhealthy";
|
|
2873
|
+
readonly UNUSED: "unused";
|
|
2874
|
+
};
|
|
2875
|
+
/**
|
|
2876
|
+
* @public
|
|
2877
|
+
*/
|
|
2878
|
+
export type TargetHealthStateEnum = (typeof TargetHealthStateEnum)[keyof typeof TargetHealthStateEnum];
|
|
2814
2879
|
/**
|
|
2815
2880
|
* @public
|
|
2816
2881
|
* <p>Information about the current health of a target.</p>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ElasticLoadBalancingV2ServiceException as __BaseException } from "./ElasticLoadBalancingV2ServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ALLOW
|
|
5
|
-
AUTHENTICATE
|
|
6
|
-
DENY
|
|
7
|
-
}
|
|
3
|
+
export declare const AuthenticateCognitoActionConditionalBehaviorEnum: {
|
|
4
|
+
readonly ALLOW: "allow";
|
|
5
|
+
readonly AUTHENTICATE: "authenticate";
|
|
6
|
+
readonly DENY: "deny";
|
|
7
|
+
};
|
|
8
|
+
export type AuthenticateCognitoActionConditionalBehaviorEnum =
|
|
9
|
+
(typeof AuthenticateCognitoActionConditionalBehaviorEnum)[keyof typeof AuthenticateCognitoActionConditionalBehaviorEnum];
|
|
8
10
|
export interface AuthenticateCognitoActionConfig {
|
|
9
11
|
UserPoolArn: string | undefined;
|
|
10
12
|
UserPoolClientId: string | undefined;
|
|
@@ -17,11 +19,13 @@ export interface AuthenticateCognitoActionConfig {
|
|
|
17
19
|
| AuthenticateCognitoActionConditionalBehaviorEnum
|
|
18
20
|
| string;
|
|
19
21
|
}
|
|
20
|
-
export declare
|
|
21
|
-
ALLOW
|
|
22
|
-
AUTHENTICATE
|
|
23
|
-
DENY
|
|
24
|
-
}
|
|
22
|
+
export declare const AuthenticateOidcActionConditionalBehaviorEnum: {
|
|
23
|
+
readonly ALLOW: "allow";
|
|
24
|
+
readonly AUTHENTICATE: "authenticate";
|
|
25
|
+
readonly DENY: "deny";
|
|
26
|
+
};
|
|
27
|
+
export type AuthenticateOidcActionConditionalBehaviorEnum =
|
|
28
|
+
(typeof AuthenticateOidcActionConditionalBehaviorEnum)[keyof typeof AuthenticateOidcActionConditionalBehaviorEnum];
|
|
25
29
|
export interface AuthenticateOidcActionConfig {
|
|
26
30
|
Issuer: string | undefined;
|
|
27
31
|
AuthorizationEndpoint: string | undefined;
|
|
@@ -55,10 +59,12 @@ export interface ForwardActionConfig {
|
|
|
55
59
|
TargetGroups?: TargetGroupTuple[];
|
|
56
60
|
TargetGroupStickinessConfig?: TargetGroupStickinessConfig;
|
|
57
61
|
}
|
|
58
|
-
export declare
|
|
59
|
-
HTTP_301
|
|
60
|
-
HTTP_302
|
|
61
|
-
}
|
|
62
|
+
export declare const RedirectActionStatusCodeEnum: {
|
|
63
|
+
readonly HTTP_301: "HTTP_301";
|
|
64
|
+
readonly HTTP_302: "HTTP_302";
|
|
65
|
+
};
|
|
66
|
+
export type RedirectActionStatusCodeEnum =
|
|
67
|
+
(typeof RedirectActionStatusCodeEnum)[keyof typeof RedirectActionStatusCodeEnum];
|
|
62
68
|
export interface RedirectActionConfig {
|
|
63
69
|
Protocol?: string;
|
|
64
70
|
Port?: string;
|
|
@@ -67,13 +73,15 @@ export interface RedirectActionConfig {
|
|
|
67
73
|
Query?: string;
|
|
68
74
|
StatusCode: RedirectActionStatusCodeEnum | string | undefined;
|
|
69
75
|
}
|
|
70
|
-
export declare
|
|
71
|
-
AUTHENTICATE_COGNITO
|
|
72
|
-
AUTHENTICATE_OIDC
|
|
73
|
-
FIXED_RESPONSE
|
|
74
|
-
FORWARD
|
|
75
|
-
REDIRECT
|
|
76
|
-
}
|
|
76
|
+
export declare const ActionTypeEnum: {
|
|
77
|
+
readonly AUTHENTICATE_COGNITO: "authenticate-cognito";
|
|
78
|
+
readonly AUTHENTICATE_OIDC: "authenticate-oidc";
|
|
79
|
+
readonly FIXED_RESPONSE: "fixed-response";
|
|
80
|
+
readonly FORWARD: "forward";
|
|
81
|
+
readonly REDIRECT: "redirect";
|
|
82
|
+
};
|
|
83
|
+
export type ActionTypeEnum =
|
|
84
|
+
(typeof ActionTypeEnum)[keyof typeof ActionTypeEnum];
|
|
77
85
|
export interface Action {
|
|
78
86
|
Type: ActionTypeEnum | string | undefined;
|
|
79
87
|
TargetGroupArn?: string;
|
|
@@ -214,15 +222,16 @@ export interface Cipher {
|
|
|
214
222
|
Name?: string;
|
|
215
223
|
Priority?: number;
|
|
216
224
|
}
|
|
217
|
-
export declare
|
|
218
|
-
GENEVE
|
|
219
|
-
HTTP
|
|
220
|
-
HTTPS
|
|
221
|
-
TCP
|
|
222
|
-
TCP_UDP
|
|
223
|
-
TLS
|
|
224
|
-
UDP
|
|
225
|
-
}
|
|
225
|
+
export declare const ProtocolEnum: {
|
|
226
|
+
readonly GENEVE: "GENEVE";
|
|
227
|
+
readonly HTTP: "HTTP";
|
|
228
|
+
readonly HTTPS: "HTTPS";
|
|
229
|
+
readonly TCP: "TCP";
|
|
230
|
+
readonly TCP_UDP: "TCP_UDP";
|
|
231
|
+
readonly TLS: "TLS";
|
|
232
|
+
readonly UDP: "UDP";
|
|
233
|
+
};
|
|
234
|
+
export type ProtocolEnum = (typeof ProtocolEnum)[keyof typeof ProtocolEnum];
|
|
226
235
|
export interface CreateListenerInput {
|
|
227
236
|
LoadBalancerArn: string | undefined;
|
|
228
237
|
Protocol?: ProtocolEnum | string;
|
|
@@ -357,25 +366,30 @@ export declare class UnsupportedProtocolException extends __BaseException {
|
|
|
357
366
|
opts: __ExceptionOptionType<UnsupportedProtocolException, __BaseException>
|
|
358
367
|
);
|
|
359
368
|
}
|
|
360
|
-
export declare
|
|
361
|
-
DUALSTACK
|
|
362
|
-
IPV4
|
|
363
|
-
}
|
|
364
|
-
export
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
369
|
+
export declare const IpAddressType: {
|
|
370
|
+
readonly DUALSTACK: "dualstack";
|
|
371
|
+
readonly IPV4: "ipv4";
|
|
372
|
+
};
|
|
373
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
374
|
+
export declare const LoadBalancerSchemeEnum: {
|
|
375
|
+
readonly INTERNAL: "internal";
|
|
376
|
+
readonly INTERNET_FACING: "internet-facing";
|
|
377
|
+
};
|
|
378
|
+
export type LoadBalancerSchemeEnum =
|
|
379
|
+
(typeof LoadBalancerSchemeEnum)[keyof typeof LoadBalancerSchemeEnum];
|
|
368
380
|
export interface SubnetMapping {
|
|
369
381
|
SubnetId?: string;
|
|
370
382
|
AllocationId?: string;
|
|
371
383
|
PrivateIPv4Address?: string;
|
|
372
384
|
IPv6Address?: string;
|
|
373
385
|
}
|
|
374
|
-
export declare
|
|
375
|
-
APPLICATION
|
|
376
|
-
GATEWAY
|
|
377
|
-
NETWORK
|
|
378
|
-
}
|
|
386
|
+
export declare const LoadBalancerTypeEnum: {
|
|
387
|
+
readonly APPLICATION: "application";
|
|
388
|
+
readonly GATEWAY: "gateway";
|
|
389
|
+
readonly NETWORK: "network";
|
|
390
|
+
};
|
|
391
|
+
export type LoadBalancerTypeEnum =
|
|
392
|
+
(typeof LoadBalancerTypeEnum)[keyof typeof LoadBalancerTypeEnum];
|
|
379
393
|
export interface CreateLoadBalancerInput {
|
|
380
394
|
Name: string | undefined;
|
|
381
395
|
Subnets?: string[];
|
|
@@ -387,12 +401,14 @@ export interface CreateLoadBalancerInput {
|
|
|
387
401
|
IpAddressType?: IpAddressType | string;
|
|
388
402
|
CustomerOwnedIpv4Pool?: string;
|
|
389
403
|
}
|
|
390
|
-
export declare
|
|
391
|
-
ACTIVE
|
|
392
|
-
ACTIVE_IMPAIRED
|
|
393
|
-
FAILED
|
|
394
|
-
PROVISIONING
|
|
395
|
-
}
|
|
404
|
+
export declare const LoadBalancerStateEnum: {
|
|
405
|
+
readonly ACTIVE: "active";
|
|
406
|
+
readonly ACTIVE_IMPAIRED: "active_impaired";
|
|
407
|
+
readonly FAILED: "failed";
|
|
408
|
+
readonly PROVISIONING: "provisioning";
|
|
409
|
+
};
|
|
410
|
+
export type LoadBalancerStateEnum =
|
|
411
|
+
(typeof LoadBalancerStateEnum)[keyof typeof LoadBalancerStateEnum];
|
|
396
412
|
export interface LoadBalancerState {
|
|
397
413
|
Code?: LoadBalancerStateEnum | string;
|
|
398
414
|
Reason?: string;
|
|
@@ -556,20 +572,24 @@ export declare class TooManyTargetGroupsException extends __BaseException {
|
|
|
556
572
|
opts: __ExceptionOptionType<TooManyTargetGroupsException, __BaseException>
|
|
557
573
|
);
|
|
558
574
|
}
|
|
559
|
-
export declare
|
|
560
|
-
IPV4
|
|
561
|
-
IPV6
|
|
562
|
-
}
|
|
575
|
+
export declare const TargetGroupIpAddressTypeEnum: {
|
|
576
|
+
readonly IPV4: "ipv4";
|
|
577
|
+
readonly IPV6: "ipv6";
|
|
578
|
+
};
|
|
579
|
+
export type TargetGroupIpAddressTypeEnum =
|
|
580
|
+
(typeof TargetGroupIpAddressTypeEnum)[keyof typeof TargetGroupIpAddressTypeEnum];
|
|
563
581
|
export interface Matcher {
|
|
564
582
|
HttpCode?: string;
|
|
565
583
|
GrpcCode?: string;
|
|
566
584
|
}
|
|
567
|
-
export declare
|
|
568
|
-
ALB
|
|
569
|
-
INSTANCE
|
|
570
|
-
IP
|
|
571
|
-
LAMBDA
|
|
572
|
-
}
|
|
585
|
+
export declare const TargetTypeEnum: {
|
|
586
|
+
readonly ALB: "alb";
|
|
587
|
+
readonly INSTANCE: "instance";
|
|
588
|
+
readonly IP: "ip";
|
|
589
|
+
readonly LAMBDA: "lambda";
|
|
590
|
+
};
|
|
591
|
+
export type TargetTypeEnum =
|
|
592
|
+
(typeof TargetTypeEnum)[keyof typeof TargetTypeEnum];
|
|
573
593
|
export interface CreateTargetGroupInput {
|
|
574
594
|
Name: string | undefined;
|
|
575
595
|
Protocol?: ProtocolEnum | string;
|
|
@@ -769,28 +789,32 @@ export interface DescribeTargetHealthInput {
|
|
|
769
789
|
TargetGroupArn: string | undefined;
|
|
770
790
|
Targets?: TargetDescription[];
|
|
771
791
|
}
|
|
772
|
-
export declare
|
|
773
|
-
DEREGISTRATION_IN_PROGRESS
|
|
774
|
-
FAILED_HEALTH_CHECKS
|
|
775
|
-
HEALTH_CHECK_DISABLED
|
|
776
|
-
INITIAL_HEALTH_CHECKING
|
|
777
|
-
INTERNAL_ERROR
|
|
778
|
-
INVALID_STATE
|
|
779
|
-
IP_UNUSABLE
|
|
780
|
-
NOT_IN_USE
|
|
781
|
-
NOT_REGISTERED
|
|
782
|
-
REGISTRATION_IN_PROGRESS
|
|
783
|
-
RESPONSE_CODE_MISMATCH
|
|
784
|
-
TIMEOUT
|
|
785
|
-
}
|
|
786
|
-
export
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
export declare const TargetHealthReasonEnum: {
|
|
793
|
+
readonly DEREGISTRATION_IN_PROGRESS: "Target.DeregistrationInProgress";
|
|
794
|
+
readonly FAILED_HEALTH_CHECKS: "Target.FailedHealthChecks";
|
|
795
|
+
readonly HEALTH_CHECK_DISABLED: "Target.HealthCheckDisabled";
|
|
796
|
+
readonly INITIAL_HEALTH_CHECKING: "Elb.InitialHealthChecking";
|
|
797
|
+
readonly INTERNAL_ERROR: "Elb.InternalError";
|
|
798
|
+
readonly INVALID_STATE: "Target.InvalidState";
|
|
799
|
+
readonly IP_UNUSABLE: "Target.IpUnusable";
|
|
800
|
+
readonly NOT_IN_USE: "Target.NotInUse";
|
|
801
|
+
readonly NOT_REGISTERED: "Target.NotRegistered";
|
|
802
|
+
readonly REGISTRATION_IN_PROGRESS: "Elb.RegistrationInProgress";
|
|
803
|
+
readonly RESPONSE_CODE_MISMATCH: "Target.ResponseCodeMismatch";
|
|
804
|
+
readonly TIMEOUT: "Target.Timeout";
|
|
805
|
+
};
|
|
806
|
+
export type TargetHealthReasonEnum =
|
|
807
|
+
(typeof TargetHealthReasonEnum)[keyof typeof TargetHealthReasonEnum];
|
|
808
|
+
export declare const TargetHealthStateEnum: {
|
|
809
|
+
readonly DRAINING: "draining";
|
|
810
|
+
readonly HEALTHY: "healthy";
|
|
811
|
+
readonly INITIAL: "initial";
|
|
812
|
+
readonly UNAVAILABLE: "unavailable";
|
|
813
|
+
readonly UNHEALTHY: "unhealthy";
|
|
814
|
+
readonly UNUSED: "unused";
|
|
815
|
+
};
|
|
816
|
+
export type TargetHealthStateEnum =
|
|
817
|
+
(typeof TargetHealthStateEnum)[keyof typeof TargetHealthStateEnum];
|
|
794
818
|
export interface TargetHealth {
|
|
795
819
|
State?: TargetHealthStateEnum | string;
|
|
796
820
|
Reason?: TargetHealthReasonEnum | string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,44 +21,44 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.306.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^14.14.31",
|
|
64
64
|
"concurrently": "7.0.0",
|