@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
@@ -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.300.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.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",