@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.
Files changed (39) hide show
  1. package/dist-cjs/models/models_0.js +81 -94
  2. package/dist-es/models/models_0.js +81 -94
  3. package/dist-types/commands/AddListenerCertificatesCommand.d.ts +3 -3
  4. package/dist-types/commands/AddTagsCommand.d.ts +4 -4
  5. package/dist-types/commands/CreateListenerCommand.d.ts +18 -18
  6. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +7 -7
  7. package/dist-types/commands/CreateRuleCommand.d.ts +27 -29
  8. package/dist-types/commands/CreateTargetGroupCommand.d.ts +4 -4
  9. package/dist-types/commands/DeleteListenerCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +1 -1
  13. package/dist-types/commands/DeregisterTargetsCommand.d.ts +3 -3
  14. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeListenersCommand.d.ts +2 -2
  17. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeRulesCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeTagsCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +3 -3
  24. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +3 -3
  25. package/dist-types/commands/ModifyListenerCommand.d.ts +16 -16
  26. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +3 -3
  27. package/dist-types/commands/ModifyRuleCommand.d.ts +25 -27
  28. package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +3 -3
  29. package/dist-types/commands/ModifyTargetGroupCommand.d.ts +2 -2
  30. package/dist-types/commands/RegisterTargetsCommand.d.ts +3 -3
  31. package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +3 -3
  32. package/dist-types/commands/RemoveTagsCommand.d.ts +3 -3
  33. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -1
  34. package/dist-types/commands/SetRulePrioritiesCommand.d.ts +3 -3
  35. package/dist-types/commands/SetSecurityGroupsCommand.d.ts +2 -2
  36. package/dist-types/commands/SetSubnetsCommand.d.ts +4 -4
  37. package/dist-types/models/models_0.d.ts +146 -81
  38. package/dist-types/ts3.4/models/models_0.d.ts +105 -81
  39. 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
- 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({
@@ -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
  * },