@aws-sdk/client-elastic-load-balancing-v2 3.301.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.
@@ -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
- var AuthenticateCognitoActionConditionalBehaviorEnum;
6
- (function (AuthenticateCognitoActionConditionalBehaviorEnum) {
7
- AuthenticateCognitoActionConditionalBehaviorEnum["ALLOW"] = "allow";
8
- AuthenticateCognitoActionConditionalBehaviorEnum["AUTHENTICATE"] = "authenticate";
9
- AuthenticateCognitoActionConditionalBehaviorEnum["DENY"] = "deny";
10
- })(AuthenticateCognitoActionConditionalBehaviorEnum = exports.AuthenticateCognitoActionConditionalBehaviorEnum || (exports.AuthenticateCognitoActionConditionalBehaviorEnum = {}));
11
- var AuthenticateOidcActionConditionalBehaviorEnum;
12
- (function (AuthenticateOidcActionConditionalBehaviorEnum) {
13
- AuthenticateOidcActionConditionalBehaviorEnum["ALLOW"] = "allow";
14
- AuthenticateOidcActionConditionalBehaviorEnum["AUTHENTICATE"] = "authenticate";
15
- AuthenticateOidcActionConditionalBehaviorEnum["DENY"] = "deny";
16
- })(AuthenticateOidcActionConditionalBehaviorEnum = exports.AuthenticateOidcActionConditionalBehaviorEnum || (exports.AuthenticateOidcActionConditionalBehaviorEnum = {}));
17
- var RedirectActionStatusCodeEnum;
18
- (function (RedirectActionStatusCodeEnum) {
19
- RedirectActionStatusCodeEnum["HTTP_301"] = "HTTP_301";
20
- RedirectActionStatusCodeEnum["HTTP_302"] = "HTTP_302";
21
- })(RedirectActionStatusCodeEnum = exports.RedirectActionStatusCodeEnum || (exports.RedirectActionStatusCodeEnum = {}));
22
- var ActionTypeEnum;
23
- (function (ActionTypeEnum) {
24
- ActionTypeEnum["AUTHENTICATE_COGNITO"] = "authenticate-cognito";
25
- ActionTypeEnum["AUTHENTICATE_OIDC"] = "authenticate-oidc";
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
- var ProtocolEnum;
185
- (function (ProtocolEnum) {
186
- ProtocolEnum["GENEVE"] = "GENEVE";
187
- ProtocolEnum["HTTP"] = "HTTP";
188
- ProtocolEnum["HTTPS"] = "HTTPS";
189
- ProtocolEnum["TCP"] = "TCP";
190
- ProtocolEnum["TCP_UDP"] = "TCP_UDP";
191
- ProtocolEnum["TLS"] = "TLS";
192
- ProtocolEnum["UDP"] = "UDP";
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
- var IpAddressType;
363
- (function (IpAddressType) {
364
- IpAddressType["DUALSTACK"] = "dualstack";
365
- IpAddressType["IPV4"] = "ipv4";
366
- })(IpAddressType = exports.IpAddressType || (exports.IpAddressType = {}));
367
- var LoadBalancerSchemeEnum;
368
- (function (LoadBalancerSchemeEnum) {
369
- LoadBalancerSchemeEnum["INTERNAL"] = "internal";
370
- LoadBalancerSchemeEnum["INTERNET_FACING"] = "internet-facing";
371
- })(LoadBalancerSchemeEnum = exports.LoadBalancerSchemeEnum || (exports.LoadBalancerSchemeEnum = {}));
372
- var LoadBalancerTypeEnum;
373
- (function (LoadBalancerTypeEnum) {
374
- LoadBalancerTypeEnum["APPLICATION"] = "application";
375
- LoadBalancerTypeEnum["GATEWAY"] = "gateway";
376
- LoadBalancerTypeEnum["NETWORK"] = "network";
377
- })(LoadBalancerTypeEnum = exports.LoadBalancerTypeEnum || (exports.LoadBalancerTypeEnum = {}));
378
- var LoadBalancerStateEnum;
379
- (function (LoadBalancerStateEnum) {
380
- LoadBalancerStateEnum["ACTIVE"] = "active";
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
- var TargetGroupIpAddressTypeEnum;
540
- (function (TargetGroupIpAddressTypeEnum) {
541
- TargetGroupIpAddressTypeEnum["IPV4"] = "ipv4";
542
- TargetGroupIpAddressTypeEnum["IPV6"] = "ipv6";
543
- })(TargetGroupIpAddressTypeEnum = exports.TargetGroupIpAddressTypeEnum || (exports.TargetGroupIpAddressTypeEnum = {}));
544
- var TargetTypeEnum;
545
- (function (TargetTypeEnum) {
546
- TargetTypeEnum["ALB"] = "alb";
547
- TargetTypeEnum["INSTANCE"] = "instance";
548
- TargetTypeEnum["IP"] = "ip";
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
- var TargetHealthReasonEnum;
580
- (function (TargetHealthReasonEnum) {
581
- TargetHealthReasonEnum["DEREGISTRATION_IN_PROGRESS"] = "Target.DeregistrationInProgress";
582
- TargetHealthReasonEnum["FAILED_HEALTH_CHECKS"] = "Target.FailedHealthChecks";
583
- TargetHealthReasonEnum["HEALTH_CHECK_DISABLED"] = "Target.HealthCheckDisabled";
584
- TargetHealthReasonEnum["INITIAL_HEALTH_CHECKING"] = "Elb.InitialHealthChecking";
585
- TargetHealthReasonEnum["INTERNAL_ERROR"] = "Elb.InternalError";
586
- TargetHealthReasonEnum["INVALID_STATE"] = "Target.InvalidState";
587
- TargetHealthReasonEnum["IP_UNUSABLE"] = "Target.IpUnusable";
588
- TargetHealthReasonEnum["NOT_IN_USE"] = "Target.NotInUse";
589
- TargetHealthReasonEnum["NOT_REGISTERED"] = "Target.NotRegistered";
590
- TargetHealthReasonEnum["REGISTRATION_IN_PROGRESS"] = "Elb.RegistrationInProgress";
591
- TargetHealthReasonEnum["RESPONSE_CODE_MISMATCH"] = "Target.ResponseCodeMismatch";
592
- TargetHealthReasonEnum["TIMEOUT"] = "Target.Timeout";
593
- })(TargetHealthReasonEnum = exports.TargetHealthReasonEnum || (exports.TargetHealthReasonEnum = {}));
594
- var TargetHealthStateEnum;
595
- (function (TargetHealthStateEnum) {
596
- TargetHealthStateEnum["DRAINING"] = "draining";
597
- TargetHealthStateEnum["HEALTHY"] = "healthy";
598
- TargetHealthStateEnum["INITIAL"] = "initial";
599
- TargetHealthStateEnum["UNAVAILABLE"] = "unavailable";
600
- TargetHealthStateEnum["UNHEALTHY"] = "unhealthy";
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 var AuthenticateCognitoActionConditionalBehaviorEnum;
3
- (function (AuthenticateCognitoActionConditionalBehaviorEnum) {
4
- AuthenticateCognitoActionConditionalBehaviorEnum["ALLOW"] = "allow";
5
- AuthenticateCognitoActionConditionalBehaviorEnum["AUTHENTICATE"] = "authenticate";
6
- AuthenticateCognitoActionConditionalBehaviorEnum["DENY"] = "deny";
7
- })(AuthenticateCognitoActionConditionalBehaviorEnum || (AuthenticateCognitoActionConditionalBehaviorEnum = {}));
8
- export var AuthenticateOidcActionConditionalBehaviorEnum;
9
- (function (AuthenticateOidcActionConditionalBehaviorEnum) {
10
- AuthenticateOidcActionConditionalBehaviorEnum["ALLOW"] = "allow";
11
- AuthenticateOidcActionConditionalBehaviorEnum["AUTHENTICATE"] = "authenticate";
12
- AuthenticateOidcActionConditionalBehaviorEnum["DENY"] = "deny";
13
- })(AuthenticateOidcActionConditionalBehaviorEnum || (AuthenticateOidcActionConditionalBehaviorEnum = {}));
14
- export var RedirectActionStatusCodeEnum;
15
- (function (RedirectActionStatusCodeEnum) {
16
- RedirectActionStatusCodeEnum["HTTP_301"] = "HTTP_301";
17
- RedirectActionStatusCodeEnum["HTTP_302"] = "HTTP_302";
18
- })(RedirectActionStatusCodeEnum || (RedirectActionStatusCodeEnum = {}));
19
- export var ActionTypeEnum;
20
- (function (ActionTypeEnum) {
21
- ActionTypeEnum["AUTHENTICATE_COGNITO"] = "authenticate-cognito";
22
- ActionTypeEnum["AUTHENTICATE_OIDC"] = "authenticate-oidc";
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 var ProtocolEnum;
171
- (function (ProtocolEnum) {
172
- ProtocolEnum["GENEVE"] = "GENEVE";
173
- ProtocolEnum["HTTP"] = "HTTP";
174
- ProtocolEnum["HTTPS"] = "HTTPS";
175
- ProtocolEnum["TCP"] = "TCP";
176
- ProtocolEnum["TCP_UDP"] = "TCP_UDP";
177
- ProtocolEnum["TLS"] = "TLS";
178
- ProtocolEnum["UDP"] = "UDP";
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 var IpAddressType;
337
- (function (IpAddressType) {
338
- IpAddressType["DUALSTACK"] = "dualstack";
339
- IpAddressType["IPV4"] = "ipv4";
340
- })(IpAddressType || (IpAddressType = {}));
341
- export var LoadBalancerSchemeEnum;
342
- (function (LoadBalancerSchemeEnum) {
343
- LoadBalancerSchemeEnum["INTERNAL"] = "internal";
344
- LoadBalancerSchemeEnum["INTERNET_FACING"] = "internet-facing";
345
- })(LoadBalancerSchemeEnum || (LoadBalancerSchemeEnum = {}));
346
- export var LoadBalancerTypeEnum;
347
- (function (LoadBalancerTypeEnum) {
348
- LoadBalancerTypeEnum["APPLICATION"] = "application";
349
- LoadBalancerTypeEnum["GATEWAY"] = "gateway";
350
- LoadBalancerTypeEnum["NETWORK"] = "network";
351
- })(LoadBalancerTypeEnum || (LoadBalancerTypeEnum = {}));
352
- export var LoadBalancerStateEnum;
353
- (function (LoadBalancerStateEnum) {
354
- LoadBalancerStateEnum["ACTIVE"] = "active";
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 var TargetGroupIpAddressTypeEnum;
503
- (function (TargetGroupIpAddressTypeEnum) {
504
- TargetGroupIpAddressTypeEnum["IPV4"] = "ipv4";
505
- TargetGroupIpAddressTypeEnum["IPV6"] = "ipv6";
506
- })(TargetGroupIpAddressTypeEnum || (TargetGroupIpAddressTypeEnum = {}));
507
- export var TargetTypeEnum;
508
- (function (TargetTypeEnum) {
509
- TargetTypeEnum["ALB"] = "alb";
510
- TargetTypeEnum["INSTANCE"] = "instance";
511
- TargetTypeEnum["IP"] = "ip";
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 var TargetHealthReasonEnum;
541
- (function (TargetHealthReasonEnum) {
542
- TargetHealthReasonEnum["DEREGISTRATION_IN_PROGRESS"] = "Target.DeregistrationInProgress";
543
- TargetHealthReasonEnum["FAILED_HEALTH_CHECKS"] = "Target.FailedHealthChecks";
544
- TargetHealthReasonEnum["HEALTH_CHECK_DISABLED"] = "Target.HealthCheckDisabled";
545
- TargetHealthReasonEnum["INITIAL_HEALTH_CHECKING"] = "Elb.InitialHealthChecking";
546
- TargetHealthReasonEnum["INTERNAL_ERROR"] = "Elb.InternalError";
547
- TargetHealthReasonEnum["INVALID_STATE"] = "Target.InvalidState";
548
- TargetHealthReasonEnum["IP_UNUSABLE"] = "Target.IpUnusable";
549
- TargetHealthReasonEnum["NOT_IN_USE"] = "Target.NotInUse";
550
- TargetHealthReasonEnum["NOT_REGISTERED"] = "Target.NotRegistered";
551
- TargetHealthReasonEnum["REGISTRATION_IN_PROGRESS"] = "Elb.RegistrationInProgress";
552
- TargetHealthReasonEnum["RESPONSE_CODE_MISMATCH"] = "Target.ResponseCodeMismatch";
553
- TargetHealthReasonEnum["TIMEOUT"] = "Target.Timeout";
554
- })(TargetHealthReasonEnum || (TargetHealthReasonEnum = {}));
555
- export var TargetHealthStateEnum;
556
- (function (TargetHealthStateEnum) {
557
- TargetHealthStateEnum["DRAINING"] = "draining";
558
- TargetHealthStateEnum["HEALTHY"] = "healthy";
559
- TargetHealthStateEnum["INITIAL"] = "initial";
560
- TargetHealthStateEnum["UNAVAILABLE"] = "unavailable";
561
- TargetHealthStateEnum["UNHEALTHY"] = "unhealthy";
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 enum AuthenticateCognitoActionConditionalBehaviorEnum {
7
- ALLOW = "allow",
8
- AUTHENTICATE = "authenticate",
9
- DENY = "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 enum AuthenticateOidcActionConditionalBehaviorEnum {
72
- ALLOW = "allow",
73
- AUTHENTICATE = "authenticate",
74
- DENY = "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 enum RedirectActionStatusCodeEnum {
225
- HTTP_301 = "HTTP_301",
226
- HTTP_302 = "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 enum ActionTypeEnum {
291
- AUTHENTICATE_COGNITO = "authenticate-cognito",
292
- AUTHENTICATE_OIDC = "authenticate-oidc",
293
- FIXED_RESPONSE = "fixed-response",
294
- FORWARD = "forward",
295
- REDIRECT = "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 enum ProtocolEnum {
631
- GENEVE = "GENEVE",
632
- HTTP = "HTTP",
633
- HTTPS = "HTTPS",
634
- TCP = "TCP",
635
- TCP_UDP = "TCP_UDP",
636
- TLS = "TLS",
637
- UDP = "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 enum IpAddressType {
928
- DUALSTACK = "dualstack",
929
- IPV4 = "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 declare enum LoadBalancerSchemeEnum {
935
- INTERNAL = "internal",
936
- INTERNET_FACING = "internet-facing"
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 enum LoadBalancerTypeEnum {
965
- APPLICATION = "application",
966
- GATEWAY = "gateway",
967
- NETWORK = "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 enum LoadBalancerStateEnum {
1053
- ACTIVE = "active",
1054
- ACTIVE_IMPAIRED = "active_impaired",
1055
- FAILED = "failed",
1056
- PROVISIONING = "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 enum TargetGroupIpAddressTypeEnum {
1614
- IPV4 = "ipv4",
1615
- IPV6 = "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 enum TargetTypeEnum {
1643
- ALB = "alb",
1644
- INSTANCE = "instance",
1645
- IP = "ip",
1646
- LAMBDA = "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 enum TargetHealthReasonEnum {
2790
- DEREGISTRATION_IN_PROGRESS = "Target.DeregistrationInProgress",
2791
- FAILED_HEALTH_CHECKS = "Target.FailedHealthChecks",
2792
- HEALTH_CHECK_DISABLED = "Target.HealthCheckDisabled",
2793
- INITIAL_HEALTH_CHECKING = "Elb.InitialHealthChecking",
2794
- INTERNAL_ERROR = "Elb.InternalError",
2795
- INVALID_STATE = "Target.InvalidState",
2796
- IP_UNUSABLE = "Target.IpUnusable",
2797
- NOT_IN_USE = "Target.NotInUse",
2798
- NOT_REGISTERED = "Target.NotRegistered",
2799
- REGISTRATION_IN_PROGRESS = "Elb.RegistrationInProgress",
2800
- RESPONSE_CODE_MISMATCH = "Target.ResponseCodeMismatch",
2801
- TIMEOUT = "Target.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 declare enum TargetHealthStateEnum {
2807
- DRAINING = "draining",
2808
- HEALTHY = "healthy",
2809
- INITIAL = "initial",
2810
- UNAVAILABLE = "unavailable",
2811
- UNHEALTHY = "unhealthy",
2812
- UNUSED = "unused"
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 enum AuthenticateCognitoActionConditionalBehaviorEnum {
4
- ALLOW = "allow",
5
- AUTHENTICATE = "authenticate",
6
- DENY = "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 enum AuthenticateOidcActionConditionalBehaviorEnum {
21
- ALLOW = "allow",
22
- AUTHENTICATE = "authenticate",
23
- DENY = "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 enum RedirectActionStatusCodeEnum {
59
- HTTP_301 = "HTTP_301",
60
- HTTP_302 = "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 enum ActionTypeEnum {
71
- AUTHENTICATE_COGNITO = "authenticate-cognito",
72
- AUTHENTICATE_OIDC = "authenticate-oidc",
73
- FIXED_RESPONSE = "fixed-response",
74
- FORWARD = "forward",
75
- REDIRECT = "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 enum ProtocolEnum {
218
- GENEVE = "GENEVE",
219
- HTTP = "HTTP",
220
- HTTPS = "HTTPS",
221
- TCP = "TCP",
222
- TCP_UDP = "TCP_UDP",
223
- TLS = "TLS",
224
- UDP = "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 enum IpAddressType {
361
- DUALSTACK = "dualstack",
362
- IPV4 = "ipv4",
363
- }
364
- export declare enum LoadBalancerSchemeEnum {
365
- INTERNAL = "internal",
366
- INTERNET_FACING = "internet-facing",
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 enum LoadBalancerTypeEnum {
375
- APPLICATION = "application",
376
- GATEWAY = "gateway",
377
- NETWORK = "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 enum LoadBalancerStateEnum {
391
- ACTIVE = "active",
392
- ACTIVE_IMPAIRED = "active_impaired",
393
- FAILED = "failed",
394
- PROVISIONING = "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 enum TargetGroupIpAddressTypeEnum {
560
- IPV4 = "ipv4",
561
- IPV6 = "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 enum TargetTypeEnum {
568
- ALB = "alb",
569
- INSTANCE = "instance",
570
- IP = "ip",
571
- LAMBDA = "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 enum TargetHealthReasonEnum {
773
- DEREGISTRATION_IN_PROGRESS = "Target.DeregistrationInProgress",
774
- FAILED_HEALTH_CHECKS = "Target.FailedHealthChecks",
775
- HEALTH_CHECK_DISABLED = "Target.HealthCheckDisabled",
776
- INITIAL_HEALTH_CHECKING = "Elb.InitialHealthChecking",
777
- INTERNAL_ERROR = "Elb.InternalError",
778
- INVALID_STATE = "Target.InvalidState",
779
- IP_UNUSABLE = "Target.IpUnusable",
780
- NOT_IN_USE = "Target.NotInUse",
781
- NOT_REGISTERED = "Target.NotRegistered",
782
- REGISTRATION_IN_PROGRESS = "Elb.RegistrationInProgress",
783
- RESPONSE_CODE_MISMATCH = "Target.ResponseCodeMismatch",
784
- TIMEOUT = "Target.Timeout",
785
- }
786
- export declare enum TargetHealthStateEnum {
787
- DRAINING = "draining",
788
- HEALTHY = "healthy",
789
- INITIAL = "initial",
790
- UNAVAILABLE = "unavailable",
791
- UNHEALTHY = "unhealthy",
792
- UNUSED = "unused",
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.301.0",
4
+ "version": "3.303.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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
+ "@aws-sdk/util-waiter": "3.303.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.295.0",
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",