@aws-sdk/client-elastic-load-balancing-v2 3.321.1 → 3.326.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 (35) hide show
  1. package/dist-types/commands/AddListenerCertificatesCommand.d.ts +11 -0
  2. package/dist-types/commands/AddTagsCommand.d.ts +4 -0
  3. package/dist-types/commands/CreateListenerCommand.d.ts +83 -0
  4. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +41 -0
  5. package/dist-types/commands/CreateRuleCommand.d.ts +112 -0
  6. package/dist-types/commands/CreateTargetGroupCommand.d.ts +32 -0
  7. package/dist-types/commands/DeleteListenerCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +4 -0
  11. package/dist-types/commands/DeregisterTargetsCommand.d.ts +4 -0
  12. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +12 -0
  13. package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +12 -0
  14. package/dist-types/commands/DescribeListenersCommand.d.ts +84 -0
  15. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +11 -0
  16. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +42 -0
  17. package/dist-types/commands/DescribeRulesCommand.d.ts +113 -0
  18. package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +23 -0
  19. package/dist-types/commands/DescribeTagsCommand.d.ts +16 -0
  20. package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +11 -0
  21. package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +33 -0
  22. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +20 -0
  23. package/dist-types/commands/ModifyListenerCommand.d.ts +83 -0
  24. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +11 -0
  25. package/dist-types/commands/ModifyRuleCommand.d.ts +112 -0
  26. package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +11 -0
  27. package/dist-types/commands/ModifyTargetGroupCommand.d.ts +32 -0
  28. package/dist-types/commands/RegisterTargetsCommand.d.ts +4 -0
  29. package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +4 -0
  30. package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
  31. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +6 -0
  32. package/dist-types/commands/SetRulePrioritiesCommand.d.ts +112 -0
  33. package/dist-types/commands/SetSecurityGroupsCommand.d.ts +8 -0
  34. package/dist-types/commands/SetSubnetsCommand.d.ts +21 -0
  35. package/package.json +16 -16
@@ -44,6 +44,36 @@ export interface ModifyTargetGroupCommandOutput extends ModifyTargetGroupOutput,
44
44
  * };
45
45
  * const command = new ModifyTargetGroupCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // ModifyTargetGroupOutput
48
+ * // TargetGroups: [ // TargetGroups
49
+ * // { // TargetGroup
50
+ * // TargetGroupArn: "STRING_VALUE",
51
+ * // TargetGroupName: "STRING_VALUE",
52
+ * // Protocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
53
+ * // Port: Number("int"),
54
+ * // VpcId: "STRING_VALUE",
55
+ * // HealthCheckProtocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
56
+ * // HealthCheckPort: "STRING_VALUE",
57
+ * // HealthCheckEnabled: true || false,
58
+ * // HealthCheckIntervalSeconds: Number("int"),
59
+ * // HealthCheckTimeoutSeconds: Number("int"),
60
+ * // HealthyThresholdCount: Number("int"),
61
+ * // UnhealthyThresholdCount: Number("int"),
62
+ * // HealthCheckPath: "STRING_VALUE",
63
+ * // Matcher: { // Matcher
64
+ * // HttpCode: "STRING_VALUE",
65
+ * // GrpcCode: "STRING_VALUE",
66
+ * // },
67
+ * // LoadBalancerArns: [ // LoadBalancerArns
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // TargetType: "instance" || "ip" || "lambda" || "alb",
71
+ * // ProtocolVersion: "STRING_VALUE",
72
+ * // IpAddressType: "ipv4" || "ipv6",
73
+ * // },
74
+ * // ],
75
+ * // };
76
+ *
47
77
  * ```
48
78
  *
49
79
  * @param ModifyTargetGroupCommandInput - {@link ModifyTargetGroupCommandInput}
@@ -58,6 +88,8 @@ export interface ModifyTargetGroupCommandOutput extends ModifyTargetGroupOutput,
58
88
  * @throws {@link TargetGroupNotFoundException} (client fault)
59
89
  * <p>The specified target group does not exist.</p>
60
90
  *
91
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
92
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
61
93
  *
62
94
  * @example To modify the health check configuration for a target group
63
95
  * ```javascript
@@ -47,6 +47,8 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsOutput, __M
47
47
  * };
48
48
  * const command = new RegisterTargetsCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param RegisterTargetsCommandInput - {@link RegisterTargetsCommandInput}
@@ -69,6 +71,8 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsOutput, __M
69
71
  * @throws {@link TooManyTargetsException} (client fault)
70
72
  * <p>You've reached the limit on the number of targets.</p>
71
73
  *
74
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
75
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
72
76
  *
73
77
  * @example To register targets with a target group
74
78
  * ```javascript
@@ -38,6 +38,8 @@ export interface RemoveListenerCertificatesCommandOutput extends RemoveListenerC
38
38
  * };
39
39
  * const command = new RemoveListenerCertificatesCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param RemoveListenerCertificatesCommandInput - {@link RemoveListenerCertificatesCommandInput}
@@ -52,6 +54,8 @@ export interface RemoveListenerCertificatesCommandOutput extends RemoveListenerC
52
54
  * @throws {@link OperationNotPermittedException} (client fault)
53
55
  * <p>This operation is not allowed.</p>
54
56
  *
57
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
58
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
55
59
  *
56
60
  */
57
61
  export declare class RemoveListenerCertificatesCommand extends $Command<RemoveListenerCertificatesCommandInput, RemoveListenerCertificatesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
@@ -38,6 +38,8 @@ export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBea
38
38
  * };
39
39
  * const command = new RemoveTagsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param RemoveTagsCommandInput - {@link RemoveTagsCommandInput}
@@ -61,6 +63,8 @@ export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBea
61
63
  * @throws {@link TooManyTagsException} (client fault)
62
64
  * <p>You've reached the limit on the number of tags per load balancer.</p>
63
65
  *
66
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
67
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
64
68
  *
65
69
  * @example To remove tags from a load balancer
66
70
  * ```javascript
@@ -32,6 +32,10 @@ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeOutput, _
32
32
  * };
33
33
  * const command = new SetIpAddressTypeCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // SetIpAddressTypeOutput
36
+ * // IpAddressType: "ipv4" || "dualstack",
37
+ * // };
38
+ *
35
39
  * ```
36
40
  *
37
41
  * @param SetIpAddressTypeCommandInput - {@link SetIpAddressTypeCommandInput}
@@ -49,6 +53,8 @@ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeOutput, _
49
53
  * @throws {@link LoadBalancerNotFoundException} (client fault)
50
54
  * <p>The specified load balancer does not exist.</p>
51
55
  *
56
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
57
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
52
58
  *
53
59
  */
54
60
  export declare class SetIpAddressTypeCommand extends $Command<SetIpAddressTypeCommandInput, SetIpAddressTypeCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
@@ -38,6 +38,116 @@ export interface SetRulePrioritiesCommandOutput extends SetRulePrioritiesOutput,
38
38
  * };
39
39
  * const command = new SetRulePrioritiesCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // SetRulePrioritiesOutput
42
+ * // Rules: [ // Rules
43
+ * // { // Rule
44
+ * // RuleArn: "STRING_VALUE",
45
+ * // Priority: "STRING_VALUE",
46
+ * // Conditions: [ // RuleConditionList
47
+ * // { // RuleCondition
48
+ * // Field: "STRING_VALUE",
49
+ * // Values: [ // ListOfString
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // HostHeaderConfig: { // HostHeaderConditionConfig
53
+ * // Values: [
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // },
57
+ * // PathPatternConfig: { // PathPatternConditionConfig
58
+ * // Values: [
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // },
62
+ * // HttpHeaderConfig: { // HttpHeaderConditionConfig
63
+ * // HttpHeaderName: "STRING_VALUE",
64
+ * // Values: [
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // },
68
+ * // QueryStringConfig: { // QueryStringConditionConfig
69
+ * // Values: [ // QueryStringKeyValuePairList
70
+ * // { // QueryStringKeyValuePair
71
+ * // Key: "STRING_VALUE",
72
+ * // Value: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // },
76
+ * // HttpRequestMethodConfig: { // HttpRequestMethodConditionConfig
77
+ * // Values: [
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // },
81
+ * // SourceIpConfig: { // SourceIpConditionConfig
82
+ * // Values: "<ListOfString>",
83
+ * // },
84
+ * // },
85
+ * // ],
86
+ * // Actions: [ // Actions
87
+ * // { // Action
88
+ * // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
89
+ * // TargetGroupArn: "STRING_VALUE",
90
+ * // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
91
+ * // Issuer: "STRING_VALUE", // required
92
+ * // AuthorizationEndpoint: "STRING_VALUE", // required
93
+ * // TokenEndpoint: "STRING_VALUE", // required
94
+ * // UserInfoEndpoint: "STRING_VALUE", // required
95
+ * // ClientId: "STRING_VALUE", // required
96
+ * // ClientSecret: "STRING_VALUE",
97
+ * // SessionCookieName: "STRING_VALUE",
98
+ * // Scope: "STRING_VALUE",
99
+ * // SessionTimeout: Number("long"),
100
+ * // AuthenticationRequestExtraParams: { // AuthenticateOidcActionAuthenticationRequestExtraParams
101
+ * // "<keys>": "STRING_VALUE",
102
+ * // },
103
+ * // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
104
+ * // UseExistingClientSecret: true || false,
105
+ * // },
106
+ * // AuthenticateCognitoConfig: { // AuthenticateCognitoActionConfig
107
+ * // UserPoolArn: "STRING_VALUE", // required
108
+ * // UserPoolClientId: "STRING_VALUE", // required
109
+ * // UserPoolDomain: "STRING_VALUE", // required
110
+ * // SessionCookieName: "STRING_VALUE",
111
+ * // Scope: "STRING_VALUE",
112
+ * // SessionTimeout: Number("long"),
113
+ * // AuthenticationRequestExtraParams: { // AuthenticateCognitoActionAuthenticationRequestExtraParams
114
+ * // "<keys>": "STRING_VALUE",
115
+ * // },
116
+ * // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
117
+ * // },
118
+ * // Order: Number("int"),
119
+ * // RedirectConfig: { // RedirectActionConfig
120
+ * // Protocol: "STRING_VALUE",
121
+ * // Port: "STRING_VALUE",
122
+ * // Host: "STRING_VALUE",
123
+ * // Path: "STRING_VALUE",
124
+ * // Query: "STRING_VALUE",
125
+ * // StatusCode: "HTTP_301" || "HTTP_302", // required
126
+ * // },
127
+ * // FixedResponseConfig: { // FixedResponseActionConfig
128
+ * // MessageBody: "STRING_VALUE",
129
+ * // StatusCode: "STRING_VALUE", // required
130
+ * // ContentType: "STRING_VALUE",
131
+ * // },
132
+ * // ForwardConfig: { // ForwardActionConfig
133
+ * // TargetGroups: [ // TargetGroupList
134
+ * // { // TargetGroupTuple
135
+ * // TargetGroupArn: "STRING_VALUE",
136
+ * // Weight: Number("int"),
137
+ * // },
138
+ * // ],
139
+ * // TargetGroupStickinessConfig: { // TargetGroupStickinessConfig
140
+ * // Enabled: true || false,
141
+ * // DurationSeconds: Number("int"),
142
+ * // },
143
+ * // },
144
+ * // },
145
+ * // ],
146
+ * // IsDefault: true || false,
147
+ * // },
148
+ * // ],
149
+ * // };
150
+ *
41
151
  * ```
42
152
  *
43
153
  * @param SetRulePrioritiesCommandInput - {@link SetRulePrioritiesCommandInput}
@@ -55,6 +165,8 @@ export interface SetRulePrioritiesCommandOutput extends SetRulePrioritiesOutput,
55
165
  * @throws {@link RuleNotFoundException} (client fault)
56
166
  * <p>The specified rule does not exist.</p>
57
167
  *
168
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
169
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
58
170
  *
59
171
  * @example To set the rule priority
60
172
  * ```javascript
@@ -37,6 +37,12 @@ export interface SetSecurityGroupsCommandOutput extends SetSecurityGroupsOutput,
37
37
  * };
38
38
  * const command = new SetSecurityGroupsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // SetSecurityGroupsOutput
41
+ * // SecurityGroupIds: [ // SecurityGroups
42
+ * // "STRING_VALUE",
43
+ * // ],
44
+ * // };
45
+ *
40
46
  * ```
41
47
  *
42
48
  * @param SetSecurityGroupsCommandInput - {@link SetSecurityGroupsCommandInput}
@@ -54,6 +60,8 @@ export interface SetSecurityGroupsCommandOutput extends SetSecurityGroupsOutput,
54
60
  * @throws {@link LoadBalancerNotFoundException} (client fault)
55
61
  * <p>The specified load balancer does not exist.</p>
56
62
  *
63
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
64
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
57
65
  *
58
66
  * @example To associate a security group with a load balancer
59
67
  * ```javascript
@@ -48,6 +48,25 @@ export interface SetSubnetsCommandOutput extends SetSubnetsOutput, __MetadataBea
48
48
  * };
49
49
  * const command = new SetSubnetsCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // SetSubnetsOutput
52
+ * // AvailabilityZones: [ // AvailabilityZones
53
+ * // { // AvailabilityZone
54
+ * // ZoneName: "STRING_VALUE",
55
+ * // SubnetId: "STRING_VALUE",
56
+ * // OutpostId: "STRING_VALUE",
57
+ * // LoadBalancerAddresses: [ // LoadBalancerAddresses
58
+ * // { // LoadBalancerAddress
59
+ * // IpAddress: "STRING_VALUE",
60
+ * // AllocationId: "STRING_VALUE",
61
+ * // PrivateIPv4Address: "STRING_VALUE",
62
+ * // IPv6Address: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // ],
67
+ * // IpAddressType: "ipv4" || "dualstack",
68
+ * // };
69
+ *
51
70
  * ```
52
71
  *
53
72
  * @param SetSubnetsCommandInput - {@link SetSubnetsCommandInput}
@@ -74,6 +93,8 @@ export interface SetSubnetsCommandOutput extends SetSubnetsOutput, __MetadataBea
74
93
  * @throws {@link SubnetNotFoundException} (client fault)
75
94
  * <p>The specified subnet does not exist.</p>
76
95
  *
96
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
97
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
77
98
  *
78
99
  * @example To enable Availability Zones for a load balancer
79
100
  * ```javascript
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",