@aws-sdk/client-elastic-load-balancing 3.775.0 → 3.782.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.
- package/dist-types/commands/AddTagsCommand.d.ts +12 -9
- package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +6 -6
- package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +6 -6
- package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +16 -16
- package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +9 -6
- package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +9 -6
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +61 -65
- package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +23 -18
- package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +32 -25
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +8 -5
- package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +9 -9
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +13 -13
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +14 -14
- package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +11 -11
- package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +11 -11
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +50 -50
- package/dist-types/commands/DescribeTagsCommand.d.ts +11 -11
- package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +6 -6
- package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -6
- package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -6
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +22 -23
- package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +10 -10
- package/dist-types/commands/RemoveTagsCommand.d.ts +9 -6
- package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +9 -6
- package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +9 -6
- package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +9 -6
- package/package.json +5 -5
|
@@ -137,61 +137,60 @@ declare const ModifyLoadBalancerAttributesCommand_base: {
|
|
|
137
137
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
138
138
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
139
139
|
*
|
|
140
|
-
*
|
|
140
|
+
*
|
|
141
141
|
* @example To enable cross-zone load balancing
|
|
142
142
|
* ```javascript
|
|
143
143
|
* // This example enables cross-zone load balancing for the specified load balancer.
|
|
144
144
|
* const input = {
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
145
|
+
* LoadBalancerAttributes: {
|
|
146
|
+
* CrossZoneLoadBalancing: {
|
|
147
|
+
* Enabled: true
|
|
148
148
|
* }
|
|
149
149
|
* },
|
|
150
|
-
*
|
|
150
|
+
* LoadBalancerName: "my-load-balancer"
|
|
151
151
|
* };
|
|
152
152
|
* const command = new ModifyLoadBalancerAttributesCommand(input);
|
|
153
153
|
* const response = await client.send(command);
|
|
154
|
-
* /* response
|
|
154
|
+
* /* response is
|
|
155
155
|
* {
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
156
|
+
* LoadBalancerAttributes: {
|
|
157
|
+
* CrossZoneLoadBalancing: {
|
|
158
|
+
* Enabled: true
|
|
159
159
|
* }
|
|
160
160
|
* },
|
|
161
|
-
*
|
|
161
|
+
* LoadBalancerName: "my-load-balancer"
|
|
162
162
|
* }
|
|
163
163
|
* *\/
|
|
164
|
-
* // example id: elb-modify-load-balancer-attributes-1
|
|
165
164
|
* ```
|
|
166
165
|
*
|
|
167
166
|
* @example To enable connection draining
|
|
168
167
|
* ```javascript
|
|
169
168
|
* // This example enables connection draining for the specified load balancer.
|
|
170
169
|
* const input = {
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
170
|
+
* LoadBalancerAttributes: {
|
|
171
|
+
* ConnectionDraining: {
|
|
172
|
+
* Enabled: true,
|
|
173
|
+
* Timeout: 300
|
|
175
174
|
* }
|
|
176
175
|
* },
|
|
177
|
-
*
|
|
176
|
+
* LoadBalancerName: "my-load-balancer"
|
|
178
177
|
* };
|
|
179
178
|
* const command = new ModifyLoadBalancerAttributesCommand(input);
|
|
180
179
|
* const response = await client.send(command);
|
|
181
|
-
* /* response
|
|
180
|
+
* /* response is
|
|
182
181
|
* {
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
182
|
+
* LoadBalancerAttributes: {
|
|
183
|
+
* ConnectionDraining: {
|
|
184
|
+
* Enabled: true,
|
|
185
|
+
* Timeout: 300
|
|
187
186
|
* }
|
|
188
187
|
* },
|
|
189
|
-
*
|
|
188
|
+
* LoadBalancerName: "my-load-balancer"
|
|
190
189
|
* }
|
|
191
190
|
* *\/
|
|
192
|
-
* // example id: elb-modify-load-balancer-attributes-2
|
|
193
191
|
* ```
|
|
194
192
|
*
|
|
193
|
+
* @public
|
|
195
194
|
*/
|
|
196
195
|
export declare class ModifyLoadBalancerAttributesCommand extends ModifyLoadBalancerAttributesCommand_base {
|
|
197
196
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,38 +87,38 @@ declare const RegisterInstancesWithLoadBalancerCommand_base: {
|
|
|
87
87
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To register instances with a load balancer
|
|
92
92
|
* ```javascript
|
|
93
93
|
* // This example registers the specified instance with the specified load balancer.
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
95
|
+
* Instances: [
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
97
|
+
* InstanceId: "i-d6f6fae3"
|
|
98
98
|
* }
|
|
99
99
|
* ],
|
|
100
|
-
*
|
|
100
|
+
* LoadBalancerName: "my-load-balancer"
|
|
101
101
|
* };
|
|
102
102
|
* const command = new RegisterInstancesWithLoadBalancerCommand(input);
|
|
103
103
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
104
|
+
* /* response is
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
106
|
+
* Instances: [
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
108
|
+
* InstanceId: "i-d6f6fae3"
|
|
109
109
|
* },
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
111
|
+
* InstanceId: "i-207d9717"
|
|
112
112
|
* },
|
|
113
113
|
* {
|
|
114
|
-
*
|
|
114
|
+
* InstanceId: "i-afefb49b"
|
|
115
115
|
* }
|
|
116
116
|
* ]
|
|
117
117
|
* }
|
|
118
118
|
* *\/
|
|
119
|
-
* // example id: elb-register-instances-with-load-balancer-1
|
|
120
119
|
* ```
|
|
121
120
|
*
|
|
121
|
+
* @public
|
|
122
122
|
*/
|
|
123
123
|
export declare class RegisterInstancesWithLoadBalancerCommand extends RegisterInstancesWithLoadBalancerCommand_base {
|
|
124
124
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,25 +62,28 @@ declare const RemoveTagsCommand_base: {
|
|
|
62
62
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
*
|
|
66
66
|
* @example To remove tags from a load balancer
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // This example removes the specified tag from the specified load balancer.
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
70
|
+
* LoadBalancerNames: [
|
|
71
71
|
* "my-load-balancer"
|
|
72
72
|
* ],
|
|
73
|
-
*
|
|
73
|
+
* Tags: [
|
|
74
74
|
* {
|
|
75
|
-
*
|
|
75
|
+
* Key: "project"
|
|
76
76
|
* }
|
|
77
77
|
* ]
|
|
78
78
|
* };
|
|
79
79
|
* const command = new RemoveTagsCommand(input);
|
|
80
|
-
* await client.send(command);
|
|
81
|
-
*
|
|
80
|
+
* const response = await client.send(command);
|
|
81
|
+
* /* response is
|
|
82
|
+
* { /* metadata only *\/ }
|
|
83
|
+
* *\/
|
|
82
84
|
* ```
|
|
83
85
|
*
|
|
86
|
+
* @public
|
|
84
87
|
*/
|
|
85
88
|
export declare class RemoveTagsCommand extends RemoveTagsCommand_base {
|
|
86
89
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,20 +75,23 @@ declare const SetLoadBalancerListenerSSLCertificateCommand_base: {
|
|
|
75
75
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To update the SSL certificate for an HTTPS listener
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // This example replaces the existing SSL certificate for the specified HTTPS listener.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
83
|
+
* LoadBalancerName: "my-load-balancer",
|
|
84
|
+
* LoadBalancerPort: 443,
|
|
85
|
+
* SSLCertificateId: "arn:aws:iam::123456789012:server-certificate/new-server-cert"
|
|
86
86
|
* };
|
|
87
87
|
* const command = new SetLoadBalancerListenerSSLCertificateCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* metadata only *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class SetLoadBalancerListenerSSLCertificateCommand extends SetLoadBalancerListenerSSLCertificateCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,22 +75,25 @@ declare const SetLoadBalancerPoliciesForBackendServerCommand_base: {
|
|
|
75
75
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To replace the policies associated with a port for a backend instance
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // This example replaces the policies that are currently associated with the specified port.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
83
|
+
* InstancePort: 80,
|
|
84
|
+
* LoadBalancerName: "my-load-balancer",
|
|
85
|
+
* PolicyNames: [
|
|
86
86
|
* "my-ProxyProtocol-policy"
|
|
87
87
|
* ]
|
|
88
88
|
* };
|
|
89
89
|
* const command = new SetLoadBalancerPoliciesForBackendServerCommand(input);
|
|
90
|
-
* await client.send(command);
|
|
91
|
-
*
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response is
|
|
92
|
+
* { /* metadata only *\/ }
|
|
93
|
+
* *\/
|
|
92
94
|
* ```
|
|
93
95
|
*
|
|
96
|
+
* @public
|
|
94
97
|
*/
|
|
95
98
|
export declare class SetLoadBalancerPoliciesForBackendServerCommand extends SetLoadBalancerPoliciesForBackendServerCommand_base {
|
|
96
99
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,22 +74,25 @@ declare const SetLoadBalancerPoliciesOfListenerCommand_base: {
|
|
|
74
74
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
76
76
|
*
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* @example To replace the policies associated with a listener
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // This example replaces the policies that are currently associated with the specified listener.
|
|
81
81
|
* const input = {
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
82
|
+
* LoadBalancerName: "my-load-balancer",
|
|
83
|
+
* LoadBalancerPort: 80,
|
|
84
|
+
* PolicyNames: [
|
|
85
85
|
* "my-SSLNegotiation-policy"
|
|
86
86
|
* ]
|
|
87
87
|
* };
|
|
88
88
|
* const command = new SetLoadBalancerPoliciesOfListenerCommand(input);
|
|
89
|
-
* await client.send(command);
|
|
90
|
-
*
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* { /* metadata only *\/ }
|
|
92
|
+
* *\/
|
|
91
93
|
* ```
|
|
92
94
|
*
|
|
95
|
+
* @public
|
|
93
96
|
*/
|
|
94
97
|
export declare class SetLoadBalancerPoliciesOfListenerCommand extends SetLoadBalancerPoliciesOfListenerCommand_base {
|
|
95
98
|
/** @internal type navigation helper, not in runtime. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.782.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elastic-load-balancing",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|