@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
@@ -35,10 +35,10 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsOutput, __M
35
35
  * import { ElasticLoadBalancingV2Client, RegisterTargetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
36
36
  * // const { ElasticLoadBalancingV2Client, RegisterTargetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
37
37
  * const client = new ElasticLoadBalancingV2Client(config);
38
- * const input = {
38
+ * const input = { // RegisterTargetsInput
39
39
  * TargetGroupArn: "STRING_VALUE", // required
40
- * Targets: [ // required
41
- * {
40
+ * Targets: [ // TargetDescriptions // required
41
+ * { // TargetDescription
42
42
  * Id: "STRING_VALUE", // required
43
43
  * Port: Number("int"),
44
44
  * AvailabilityZone: "STRING_VALUE",
@@ -27,10 +27,10 @@ export interface RemoveListenerCertificatesCommandOutput extends RemoveListenerC
27
27
  * import { ElasticLoadBalancingV2Client, RemoveListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
28
28
  * // const { ElasticLoadBalancingV2Client, RemoveListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
29
29
  * const client = new ElasticLoadBalancingV2Client(config);
30
- * const input = {
30
+ * const input = { // RemoveListenerCertificatesInput
31
31
  * ListenerArn: "STRING_VALUE", // required
32
- * Certificates: [ // required
33
- * {
32
+ * Certificates: [ // CertificateList // required
33
+ * { // Certificate
34
34
  * CertificateArn: "STRING_VALUE",
35
35
  * IsDefault: true || false,
36
36
  * },
@@ -28,11 +28,11 @@ export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBea
28
28
  * import { ElasticLoadBalancingV2Client, RemoveTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
29
29
  * // const { ElasticLoadBalancingV2Client, RemoveTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
30
30
  * const client = new ElasticLoadBalancingV2Client(config);
31
- * const input = {
32
- * ResourceArns: [ // required
31
+ * const input = { // RemoveTagsInput
32
+ * ResourceArns: [ // ResourceArns // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
- * TagKeys: [ // required
35
+ * TagKeys: [ // TagKeys // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * };
@@ -26,7 +26,7 @@ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeOutput, _
26
26
  * import { ElasticLoadBalancingV2Client, SetIpAddressTypeCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
27
27
  * // const { ElasticLoadBalancingV2Client, SetIpAddressTypeCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
28
28
  * const client = new ElasticLoadBalancingV2Client(config);
29
- * const input = {
29
+ * const input = { // SetIpAddressTypeInput
30
30
  * LoadBalancerArn: "STRING_VALUE", // required
31
31
  * IpAddressType: "ipv4" || "dualstack", // required
32
32
  * };
@@ -28,9 +28,9 @@ export interface SetRulePrioritiesCommandOutput extends SetRulePrioritiesOutput,
28
28
  * import { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
29
29
  * // const { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
30
30
  * const client = new ElasticLoadBalancingV2Client(config);
31
- * const input = {
32
- * RulePriorities: [ // required
33
- * {
31
+ * const input = { // SetRulePrioritiesInput
32
+ * RulePriorities: [ // RulePriorityList // required
33
+ * { // RulePriorityPair
34
34
  * RuleArn: "STRING_VALUE",
35
35
  * Priority: Number("int"),
36
36
  * },
@@ -29,9 +29,9 @@ export interface SetSecurityGroupsCommandOutput extends SetSecurityGroupsOutput,
29
29
  * import { ElasticLoadBalancingV2Client, SetSecurityGroupsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
30
30
  * // const { ElasticLoadBalancingV2Client, SetSecurityGroupsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
31
31
  * const client = new ElasticLoadBalancingV2Client(config);
32
- * const input = {
32
+ * const input = { // SetSecurityGroupsInput
33
33
  * LoadBalancerArn: "STRING_VALUE", // required
34
- * SecurityGroups: [ // required
34
+ * SecurityGroups: [ // SecurityGroups // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * };
@@ -31,13 +31,13 @@ export interface SetSubnetsCommandOutput extends SetSubnetsOutput, __MetadataBea
31
31
  * import { ElasticLoadBalancingV2Client, SetSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
32
32
  * // const { ElasticLoadBalancingV2Client, SetSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
33
33
  * const client = new ElasticLoadBalancingV2Client(config);
34
- * const input = {
34
+ * const input = { // SetSubnetsInput
35
35
  * LoadBalancerArn: "STRING_VALUE", // required
36
- * Subnets: [
36
+ * Subnets: [ // Subnets
37
37
  * "STRING_VALUE",
38
38
  * ],
39
- * SubnetMappings: [
40
- * {
39
+ * SubnetMappings: [ // SubnetMappings
40
+ * { // SubnetMapping
41
41
  * SubnetId: "STRING_VALUE",
42
42
  * AllocationId: "STRING_VALUE",
43
43
  * PrivateIPv4Address: "STRING_VALUE",
@@ -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>