@aws-sdk/client-elastic-load-balancing 3.312.0 → 3.316.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.
@@ -29,376 +29,205 @@ import { SetLoadBalancerListenerSSLCertificateCommandInput, SetLoadBalancerListe
29
29
  import { SetLoadBalancerPoliciesForBackendServerCommandInput, SetLoadBalancerPoliciesForBackendServerCommandOutput } from "./commands/SetLoadBalancerPoliciesForBackendServerCommand";
30
30
  import { SetLoadBalancerPoliciesOfListenerCommandInput, SetLoadBalancerPoliciesOfListenerCommandOutput } from "./commands/SetLoadBalancerPoliciesOfListenerCommand";
31
31
  import { ElasticLoadBalancingClient } from "./ElasticLoadBalancingClient";
32
- /**
33
- * @public
34
- * <fullname>Elastic Load Balancing</fullname>
35
- *
36
- * <p>A load balancer can distribute incoming traffic across your EC2 instances.
37
- * This enables you to increase the availability of your application. The load balancer
38
- * also monitors the health of its registered instances and ensures that it routes traffic
39
- * only to healthy instances. You configure your load balancer to accept incoming traffic
40
- * by specifying one or more listeners, which are configured with a protocol and port
41
- * number for connections from clients to the load balancer and a protocol and port number
42
- * for connections from the load balancer to the instances.</p>
43
- * <p>Elastic Load Balancing supports three types of load balancers: Application Load Balancers, Network Load Balancers,
44
- * and Classic Load Balancers. You can select a load balancer based on your application needs. For more
45
- * information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User Guide</a>.</p>
46
- * <p>This reference covers the 2012-06-01 API, which supports Classic Load Balancers.
47
- * The 2015-12-01 API supports Application Load Balancers and Network Load Balancers.</p>
48
- *
49
- * <p>To get started, create a load balancer with one or more listeners using <a>CreateLoadBalancer</a>.
50
- * Register your instances with the load balancer using <a>RegisterInstancesWithLoadBalancer</a>.</p>
51
- *
52
- * <p>All Elastic Load Balancing operations are <i>idempotent</i>, which means
53
- * that they complete at most one time. If you repeat an operation, it succeeds with a 200 OK
54
- * response code.</p>
55
- */
56
- export declare class ElasticLoadBalancing extends ElasticLoadBalancingClient {
32
+ export interface ElasticLoadBalancing {
57
33
  /**
58
- * @public
59
- * <p>Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.</p>
60
- *
61
- * <p>Each tag consists of a key and an optional value. If a tag with the same key is already associated
62
- * with the load balancer, <code>AddTags</code> updates its value.</p>
63
- *
64
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/add-remove-tags.html">Tag Your Classic Load Balancer</a>
65
- * in the <i>Classic Load Balancers Guide</i>.</p>
34
+ * @see {@link AddTagsCommand}
66
35
  */
67
36
  addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
68
37
  addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
69
38
  addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
70
39
  /**
71
- * @public
72
- * <p>Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.</p>
73
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-groups.html#elb-vpc-security-groups">Security Groups for Load Balancers in a VPC</a>
74
- * in the <i>Classic Load Balancers Guide</i>.</p>
40
+ * @see {@link ApplySecurityGroupsToLoadBalancerCommand}
75
41
  */
76
42
  applySecurityGroupsToLoadBalancer(args: ApplySecurityGroupsToLoadBalancerCommandInput, options?: __HttpHandlerOptions): Promise<ApplySecurityGroupsToLoadBalancerCommandOutput>;
77
43
  applySecurityGroupsToLoadBalancer(args: ApplySecurityGroupsToLoadBalancerCommandInput, cb: (err: any, data?: ApplySecurityGroupsToLoadBalancerCommandOutput) => void): void;
78
44
  applySecurityGroupsToLoadBalancer(args: ApplySecurityGroupsToLoadBalancerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplySecurityGroupsToLoadBalancerCommandOutput) => void): void;
79
45
  /**
80
- * @public
81
- * <p>Adds one or more subnets to the set of configured subnets for the specified load balancer.</p>
82
- * <p>The load balancer evenly distributes requests across all registered subnets.
83
- * For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-manage-subnets.html">Add or Remove Subnets for Your Load Balancer in a VPC</a>
84
- * in the <i>Classic Load Balancers Guide</i>.</p>
46
+ * @see {@link AttachLoadBalancerToSubnetsCommand}
85
47
  */
86
48
  attachLoadBalancerToSubnets(args: AttachLoadBalancerToSubnetsCommandInput, options?: __HttpHandlerOptions): Promise<AttachLoadBalancerToSubnetsCommandOutput>;
87
49
  attachLoadBalancerToSubnets(args: AttachLoadBalancerToSubnetsCommandInput, cb: (err: any, data?: AttachLoadBalancerToSubnetsCommandOutput) => void): void;
88
50
  attachLoadBalancerToSubnets(args: AttachLoadBalancerToSubnetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachLoadBalancerToSubnetsCommandOutput) => void): void;
89
51
  /**
90
- * @public
91
- * <p>Specifies the health check settings to use when evaluating the health state of your EC2 instances.</p>
92
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html">Configure Health Checks for Your Load Balancer</a>
93
- * in the <i>Classic Load Balancers Guide</i>.</p>
52
+ * @see {@link ConfigureHealthCheckCommand}
94
53
  */
95
54
  configureHealthCheck(args: ConfigureHealthCheckCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureHealthCheckCommandOutput>;
96
55
  configureHealthCheck(args: ConfigureHealthCheckCommandInput, cb: (err: any, data?: ConfigureHealthCheckCommandOutput) => void): void;
97
56
  configureHealthCheck(args: ConfigureHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureHealthCheckCommandOutput) => void): void;
98
57
  /**
99
- * @public
100
- * <p>Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.</p>
101
- * <p>This policy is similar to the policy created by <a>CreateLBCookieStickinessPolicy</a>,
102
- * except that the lifetime of the special Elastic Load Balancing cookie, <code>AWSELB</code>,
103
- * follows the lifetime of the application-generated cookie specified in the policy configuration.
104
- * The load balancer only inserts a new stickiness cookie when the application response
105
- * includes a new application cookie.</p>
106
- * <p>If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.</p>
107
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application">Application-Controlled Session Stickiness</a>
108
- * in the <i>Classic Load Balancers Guide</i>.</p>
58
+ * @see {@link CreateAppCookieStickinessPolicyCommand}
109
59
  */
110
60
  createAppCookieStickinessPolicy(args: CreateAppCookieStickinessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppCookieStickinessPolicyCommandOutput>;
111
61
  createAppCookieStickinessPolicy(args: CreateAppCookieStickinessPolicyCommandInput, cb: (err: any, data?: CreateAppCookieStickinessPolicyCommandOutput) => void): void;
112
62
  createAppCookieStickinessPolicy(args: CreateAppCookieStickinessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppCookieStickinessPolicyCommandOutput) => void): void;
113
63
  /**
114
- * @public
115
- * <p>Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.</p>
116
- * <p>When a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request.
117
- * If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm.</p>
118
- * <p>A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration.</p>
119
- *
120
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-duration">Duration-Based Session Stickiness</a>
121
- * in the <i>Classic Load Balancers Guide</i>.</p>
64
+ * @see {@link CreateLBCookieStickinessPolicyCommand}
122
65
  */
123
66
  createLBCookieStickinessPolicy(args: CreateLBCookieStickinessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateLBCookieStickinessPolicyCommandOutput>;
124
67
  createLBCookieStickinessPolicy(args: CreateLBCookieStickinessPolicyCommandInput, cb: (err: any, data?: CreateLBCookieStickinessPolicyCommandOutput) => void): void;
125
68
  createLBCookieStickinessPolicy(args: CreateLBCookieStickinessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLBCookieStickinessPolicyCommandOutput) => void): void;
126
69
  /**
127
- * @public
128
- * <p>Creates a Classic Load Balancer.</p>
129
- *
130
- * <p>You can add listeners, security groups, subnets, and tags when you create your load balancer,
131
- * or you can add them later using <a>CreateLoadBalancerListeners</a>,
132
- * <a>ApplySecurityGroupsToLoadBalancer</a>, <a>AttachLoadBalancerToSubnets</a>,
133
- * and <a>AddTags</a>.</p>
134
- * <p>To describe your current load balancers, see <a>DescribeLoadBalancers</a>.
135
- * When you are finished with a load balancer, you can delete it using
136
- * <a>DeleteLoadBalancer</a>.</p>
137
- *
138
- * <p>You can create up to 20 load balancers per region per account.
139
- * You can request an increase for the number of load balancers for your account.
140
- * For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html">Limits for Your Classic Load Balancer</a>
141
- * in the <i>Classic Load Balancers Guide</i>.</p>
70
+ * @see {@link CreateLoadBalancerCommand}
142
71
  */
143
72
  createLoadBalancer(args: CreateLoadBalancerCommandInput, options?: __HttpHandlerOptions): Promise<CreateLoadBalancerCommandOutput>;
144
73
  createLoadBalancer(args: CreateLoadBalancerCommandInput, cb: (err: any, data?: CreateLoadBalancerCommandOutput) => void): void;
145
74
  createLoadBalancer(args: CreateLoadBalancerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoadBalancerCommandOutput) => void): void;
146
75
  /**
147
- * @public
148
- * <p>Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.</p>
149
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html">Listeners for Your Classic Load Balancer</a>
150
- * in the <i>Classic Load Balancers Guide</i>.</p>
76
+ * @see {@link CreateLoadBalancerListenersCommand}
151
77
  */
152
78
  createLoadBalancerListeners(args: CreateLoadBalancerListenersCommandInput, options?: __HttpHandlerOptions): Promise<CreateLoadBalancerListenersCommandOutput>;
153
79
  createLoadBalancerListeners(args: CreateLoadBalancerListenersCommandInput, cb: (err: any, data?: CreateLoadBalancerListenersCommandOutput) => void): void;
154
80
  createLoadBalancerListeners(args: CreateLoadBalancerListenersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoadBalancerListenersCommandOutput) => void): void;
155
81
  /**
156
- * @public
157
- * <p>Creates a policy with the specified attributes for the specified load balancer.</p>
158
- * <p>Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.</p>
82
+ * @see {@link CreateLoadBalancerPolicyCommand}
159
83
  */
160
84
  createLoadBalancerPolicy(args: CreateLoadBalancerPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateLoadBalancerPolicyCommandOutput>;
161
85
  createLoadBalancerPolicy(args: CreateLoadBalancerPolicyCommandInput, cb: (err: any, data?: CreateLoadBalancerPolicyCommandOutput) => void): void;
162
86
  createLoadBalancerPolicy(args: CreateLoadBalancerPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoadBalancerPolicyCommandOutput) => void): void;
163
87
  /**
164
- * @public
165
- * <p>Deletes the specified load balancer.</p>
166
- * <p>If you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances.</p>
167
- * <p>If the load balancer does not exist or has already been deleted, the call to
168
- * <code>DeleteLoadBalancer</code> still succeeds.</p>
88
+ * @see {@link DeleteLoadBalancerCommand}
169
89
  */
170
90
  deleteLoadBalancer(args: DeleteLoadBalancerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoadBalancerCommandOutput>;
171
91
  deleteLoadBalancer(args: DeleteLoadBalancerCommandInput, cb: (err: any, data?: DeleteLoadBalancerCommandOutput) => void): void;
172
92
  deleteLoadBalancer(args: DeleteLoadBalancerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoadBalancerCommandOutput) => void): void;
173
93
  /**
174
- * @public
175
- * <p>Deletes the specified listeners from the specified load balancer.</p>
94
+ * @see {@link DeleteLoadBalancerListenersCommand}
176
95
  */
177
96
  deleteLoadBalancerListeners(args: DeleteLoadBalancerListenersCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoadBalancerListenersCommandOutput>;
178
97
  deleteLoadBalancerListeners(args: DeleteLoadBalancerListenersCommandInput, cb: (err: any, data?: DeleteLoadBalancerListenersCommandOutput) => void): void;
179
98
  deleteLoadBalancerListeners(args: DeleteLoadBalancerListenersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoadBalancerListenersCommandOutput) => void): void;
180
99
  /**
181
- * @public
182
- * <p>Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.</p>
100
+ * @see {@link DeleteLoadBalancerPolicyCommand}
183
101
  */
184
102
  deleteLoadBalancerPolicy(args: DeleteLoadBalancerPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoadBalancerPolicyCommandOutput>;
185
103
  deleteLoadBalancerPolicy(args: DeleteLoadBalancerPolicyCommandInput, cb: (err: any, data?: DeleteLoadBalancerPolicyCommandOutput) => void): void;
186
104
  deleteLoadBalancerPolicy(args: DeleteLoadBalancerPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoadBalancerPolicyCommandOutput) => void): void;
187
105
  /**
188
- * @public
189
- * <p>Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.</p>
190
- *
191
- * <p>You can use <a>DescribeLoadBalancers</a> to verify that the instance is deregistered from the load balancer.</p>
192
- *
193
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-deregister-register-instances.html">Register or De-Register EC2 Instances</a>
194
- * in the <i>Classic Load Balancers Guide</i>.</p>
106
+ * @see {@link DeregisterInstancesFromLoadBalancerCommand}
195
107
  */
196
108
  deregisterInstancesFromLoadBalancer(args: DeregisterInstancesFromLoadBalancerCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterInstancesFromLoadBalancerCommandOutput>;
197
109
  deregisterInstancesFromLoadBalancer(args: DeregisterInstancesFromLoadBalancerCommandInput, cb: (err: any, data?: DeregisterInstancesFromLoadBalancerCommandOutput) => void): void;
198
110
  deregisterInstancesFromLoadBalancer(args: DeregisterInstancesFromLoadBalancerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterInstancesFromLoadBalancerCommandOutput) => void): void;
199
111
  /**
200
- * @public
201
- * <p>Describes the current Elastic Load Balancing resource limits for your AWS account.</p>
202
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html">Limits for Your Classic Load Balancer</a>
203
- * in the <i>Classic Load Balancers Guide</i>.</p>
112
+ * @see {@link DescribeAccountLimitsCommand}
204
113
  */
205
114
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountLimitsCommandOutput>;
206
115
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
207
116
  describeAccountLimits(args: DescribeAccountLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
208
117
  /**
209
- * @public
210
- * <p>Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.</p>
118
+ * @see {@link DescribeInstanceHealthCommand}
211
119
  */
212
120
  describeInstanceHealth(args: DescribeInstanceHealthCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInstanceHealthCommandOutput>;
213
121
  describeInstanceHealth(args: DescribeInstanceHealthCommandInput, cb: (err: any, data?: DescribeInstanceHealthCommandOutput) => void): void;
214
122
  describeInstanceHealth(args: DescribeInstanceHealthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstanceHealthCommandOutput) => void): void;
215
123
  /**
216
- * @public
217
- * <p>Describes the attributes for the specified load balancer.</p>
124
+ * @see {@link DescribeLoadBalancerAttributesCommand}
218
125
  */
219
126
  describeLoadBalancerAttributes(args: DescribeLoadBalancerAttributesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancerAttributesCommandOutput>;
220
127
  describeLoadBalancerAttributes(args: DescribeLoadBalancerAttributesCommandInput, cb: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void): void;
221
128
  describeLoadBalancerAttributes(args: DescribeLoadBalancerAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void): void;
222
129
  /**
223
- * @public
224
- * <p>Describes the specified policies.</p>
225
- * <p>If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer.
226
- * If you specify a policy name associated with your load balancer, the action returns the description of that policy.
227
- * If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies.
228
- * The names of the sample policies have the <code>ELBSample-</code> prefix.</p>
130
+ * @see {@link DescribeLoadBalancerPoliciesCommand}
229
131
  */
230
132
  describeLoadBalancerPolicies(args: DescribeLoadBalancerPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancerPoliciesCommandOutput>;
231
133
  describeLoadBalancerPolicies(args: DescribeLoadBalancerPoliciesCommandInput, cb: (err: any, data?: DescribeLoadBalancerPoliciesCommandOutput) => void): void;
232
134
  describeLoadBalancerPolicies(args: DescribeLoadBalancerPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancerPoliciesCommandOutput) => void): void;
233
135
  /**
234
- * @public
235
- * <p>Describes the specified load balancer policy types or all load balancer policy types.</p>
236
- * <p>The description of each type indicates how it can be used. For example,
237
- * some policies can be used only with layer 7 listeners,
238
- * some policies can be used only with layer 4 listeners,
239
- * and some policies can be used only with your EC2 instances.</p>
240
- * <p>You can use <a>CreateLoadBalancerPolicy</a> to create a policy configuration for any of these policy types.
241
- * Then, depending on the policy type, use either <a>SetLoadBalancerPoliciesOfListener</a> or
242
- * <a>SetLoadBalancerPoliciesForBackendServer</a> to set the policy.</p>
136
+ * @see {@link DescribeLoadBalancerPolicyTypesCommand}
243
137
  */
244
138
  describeLoadBalancerPolicyTypes(args: DescribeLoadBalancerPolicyTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancerPolicyTypesCommandOutput>;
245
139
  describeLoadBalancerPolicyTypes(args: DescribeLoadBalancerPolicyTypesCommandInput, cb: (err: any, data?: DescribeLoadBalancerPolicyTypesCommandOutput) => void): void;
246
140
  describeLoadBalancerPolicyTypes(args: DescribeLoadBalancerPolicyTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancerPolicyTypesCommandOutput) => void): void;
247
141
  /**
248
- * @public
249
- * <p>Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.</p>
142
+ * @see {@link DescribeLoadBalancersCommand}
250
143
  */
251
144
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoadBalancersCommandOutput>;
252
145
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
253
146
  describeLoadBalancers(args: DescribeLoadBalancersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void): void;
254
147
  /**
255
- * @public
256
- * <p>Describes the tags associated with the specified load balancers.</p>
148
+ * @see {@link DescribeTagsCommand}
257
149
  */
258
150
  describeTags(args: DescribeTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTagsCommandOutput>;
259
151
  describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
260
152
  describeTags(args: DescribeTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
261
153
  /**
262
- * @public
263
- * <p>Removes the specified subnets from the set of configured subnets for the load balancer.</p>
264
- * <p>After a subnet is removed, all EC2 instances registered with the load balancer
265
- * in the removed subnet go into the <code>OutOfService</code> state. Then,
266
- * the load balancer balances the traffic among the remaining routable subnets.</p>
154
+ * @see {@link DetachLoadBalancerFromSubnetsCommand}
267
155
  */
268
156
  detachLoadBalancerFromSubnets(args: DetachLoadBalancerFromSubnetsCommandInput, options?: __HttpHandlerOptions): Promise<DetachLoadBalancerFromSubnetsCommandOutput>;
269
157
  detachLoadBalancerFromSubnets(args: DetachLoadBalancerFromSubnetsCommandInput, cb: (err: any, data?: DetachLoadBalancerFromSubnetsCommandOutput) => void): void;
270
158
  detachLoadBalancerFromSubnets(args: DetachLoadBalancerFromSubnetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachLoadBalancerFromSubnetsCommandOutput) => void): void;
271
159
  /**
272
- * @public
273
- * <p>Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer
274
- * in EC2-Classic or a default VPC.</p>
275
- * <p>For load balancers in a non-default VPC, use <a>DetachLoadBalancerFromSubnets</a>.</p>
276
- * <p>There must be at least one Availability Zone registered with a load balancer at all times.
277
- * After an Availability Zone is removed, all instances registered with the load balancer that are in the removed
278
- * Availability Zone go into the <code>OutOfService</code> state. Then, the load balancer attempts to equally balance
279
- * the traffic among its remaining Availability Zones.</p>
280
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-az.html">Add or Remove Availability Zones</a>
281
- * in the <i>Classic Load Balancers Guide</i>.</p>
160
+ * @see {@link DisableAvailabilityZonesForLoadBalancerCommand}
282
161
  */
283
162
  disableAvailabilityZonesForLoadBalancer(args: DisableAvailabilityZonesForLoadBalancerCommandInput, options?: __HttpHandlerOptions): Promise<DisableAvailabilityZonesForLoadBalancerCommandOutput>;
284
163
  disableAvailabilityZonesForLoadBalancer(args: DisableAvailabilityZonesForLoadBalancerCommandInput, cb: (err: any, data?: DisableAvailabilityZonesForLoadBalancerCommandOutput) => void): void;
285
164
  disableAvailabilityZonesForLoadBalancer(args: DisableAvailabilityZonesForLoadBalancerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableAvailabilityZonesForLoadBalancerCommandOutput) => void): void;
286
165
  /**
287
- * @public
288
- * <p>Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer
289
- * in EC2-Classic or a default VPC.</p>
290
- * <p>For load balancers in a non-default VPC, use <a>AttachLoadBalancerToSubnets</a>.</p>
291
- * <p>The load balancer evenly distributes requests across all its registered Availability Zones
292
- * that contain instances. For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-az.html">Add or Remove Availability Zones</a>
293
- * in the <i>Classic Load Balancers Guide</i>.</p>
166
+ * @see {@link EnableAvailabilityZonesForLoadBalancerCommand}
294
167
  */
295
168
  enableAvailabilityZonesForLoadBalancer(args: EnableAvailabilityZonesForLoadBalancerCommandInput, options?: __HttpHandlerOptions): Promise<EnableAvailabilityZonesForLoadBalancerCommandOutput>;
296
169
  enableAvailabilityZonesForLoadBalancer(args: EnableAvailabilityZonesForLoadBalancerCommandInput, cb: (err: any, data?: EnableAvailabilityZonesForLoadBalancerCommandOutput) => void): void;
297
170
  enableAvailabilityZonesForLoadBalancer(args: EnableAvailabilityZonesForLoadBalancerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableAvailabilityZonesForLoadBalancerCommandOutput) => void): void;
298
171
  /**
299
- * @public
300
- * <p>Modifies the attributes of the specified load balancer.</p>
301
- * <p>You can modify the load balancer attributes, such as <code>AccessLogs</code>, <code>ConnectionDraining</code>, and
302
- * <code>CrossZoneLoadBalancing</code> by either enabling or disabling them. Or, you can modify the load balancer attribute
303
- * <code>ConnectionSettings</code> by specifying an idle connection timeout value for your load balancer.</p>
304
- * <p>For more information, see the following in the <i>Classic Load Balancers Guide</i>:</p>
305
- * <ul>
306
- * <li>
307
- * <p>
308
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html">Cross-Zone Load Balancing</a>
309
- * </p>
310
- * </li>
311
- * <li>
312
- * <p>
313
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Connection Draining</a>
314
- * </p>
315
- * </li>
316
- * <li>
317
- * <p>
318
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html">Access Logs</a>
319
- * </p>
320
- * </li>
321
- * <li>
322
- * <p>
323
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html">Idle Connection Timeout</a>
324
- * </p>
325
- * </li>
326
- * </ul>
172
+ * @see {@link ModifyLoadBalancerAttributesCommand}
327
173
  */
328
174
  modifyLoadBalancerAttributes(args: ModifyLoadBalancerAttributesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyLoadBalancerAttributesCommandOutput>;
329
175
  modifyLoadBalancerAttributes(args: ModifyLoadBalancerAttributesCommandInput, cb: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void): void;
330
176
  modifyLoadBalancerAttributes(args: ModifyLoadBalancerAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void): void;
331
177
  /**
332
- * @public
333
- * <p>Adds the specified instances to the specified load balancer.</p>
334
- *
335
- * <p>The instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC.</p>
336
- *
337
- * <p>Note that <code>RegisterInstanceWithLoadBalancer</code> completes when the request has been registered.
338
- * Instance registration takes a little time to complete. To check the state of the registered instances, use
339
- * <a>DescribeLoadBalancers</a> or <a>DescribeInstanceHealth</a>.</p>
340
- *
341
- * <p>After the instance is registered, it starts receiving traffic
342
- * and requests from the load balancer. Any instance that is not
343
- * in one of the Availability Zones registered for the load balancer
344
- * is moved to the <code>OutOfService</code> state. If an Availability Zone
345
- * is added to the load balancer later, any instances registered with the
346
- * load balancer move to the <code>InService</code> state.</p>
347
- *
348
- * <p>To deregister instances from a load balancer, use <a>DeregisterInstancesFromLoadBalancer</a>.</p>
349
- *
350
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-deregister-register-instances.html">Register or De-Register EC2 Instances</a>
351
- * in the <i>Classic Load Balancers Guide</i>.</p>
178
+ * @see {@link RegisterInstancesWithLoadBalancerCommand}
352
179
  */
353
180
  registerInstancesWithLoadBalancer(args: RegisterInstancesWithLoadBalancerCommandInput, options?: __HttpHandlerOptions): Promise<RegisterInstancesWithLoadBalancerCommandOutput>;
354
181
  registerInstancesWithLoadBalancer(args: RegisterInstancesWithLoadBalancerCommandInput, cb: (err: any, data?: RegisterInstancesWithLoadBalancerCommandOutput) => void): void;
355
182
  registerInstancesWithLoadBalancer(args: RegisterInstancesWithLoadBalancerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterInstancesWithLoadBalancerCommandOutput) => void): void;
356
183
  /**
357
- * @public
358
- * <p>Removes one or more tags from the specified load balancer.</p>
184
+ * @see {@link RemoveTagsCommand}
359
185
  */
360
186
  removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
361
187
  removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
362
188
  removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
363
189
  /**
364
- * @public
365
- * <p>Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.</p>
366
- *
367
- * <p>For more information about updating your SSL certificate, see
368
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-update-ssl-cert.html">Replace the SSL Certificate for Your Load Balancer</a>
369
- * in the <i>Classic Load Balancers Guide</i>.</p>
190
+ * @see {@link SetLoadBalancerListenerSSLCertificateCommand}
370
191
  */
371
192
  setLoadBalancerListenerSSLCertificate(args: SetLoadBalancerListenerSSLCertificateCommandInput, options?: __HttpHandlerOptions): Promise<SetLoadBalancerListenerSSLCertificateCommandOutput>;
372
193
  setLoadBalancerListenerSSLCertificate(args: SetLoadBalancerListenerSSLCertificateCommandInput, cb: (err: any, data?: SetLoadBalancerListenerSSLCertificateCommandOutput) => void): void;
373
194
  setLoadBalancerListenerSSLCertificate(args: SetLoadBalancerListenerSSLCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetLoadBalancerListenerSSLCertificateCommandOutput) => void): void;
374
195
  /**
375
- * @public
376
- * <p>Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies.
377
- * At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.</p>
378
- * <p>Each time you use <code>SetLoadBalancerPoliciesForBackendServer</code> to enable the policies,
379
- * use the <code>PolicyNames</code> parameter to list the policies that you want to enable.</p>
380
- * <p>You can use <a>DescribeLoadBalancers</a> or <a>DescribeLoadBalancerPolicies</a> to verify that the policy
381
- * is associated with the EC2 instance.</p>
382
- *
383
- * <p>For more information about enabling back-end instance authentication, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-create-https-ssl-load-balancer.html#configure_backendauth_clt">Configure Back-end Instance Authentication</a>
384
- * in the <i>Classic Load Balancers Guide</i>. For more information about Proxy Protocol, see
385
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-proxy-protocol.html">Configure Proxy Protocol Support</a>
386
- * in the <i>Classic Load Balancers Guide</i>.</p>
196
+ * @see {@link SetLoadBalancerPoliciesForBackendServerCommand}
387
197
  */
388
198
  setLoadBalancerPoliciesForBackendServer(args: SetLoadBalancerPoliciesForBackendServerCommandInput, options?: __HttpHandlerOptions): Promise<SetLoadBalancerPoliciesForBackendServerCommandOutput>;
389
199
  setLoadBalancerPoliciesForBackendServer(args: SetLoadBalancerPoliciesForBackendServerCommandInput, cb: (err: any, data?: SetLoadBalancerPoliciesForBackendServerCommandOutput) => void): void;
390
200
  setLoadBalancerPoliciesForBackendServer(args: SetLoadBalancerPoliciesForBackendServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetLoadBalancerPoliciesForBackendServerCommandOutput) => void): void;
391
201
  /**
392
- * @public
393
- * <p>Replaces the current set of policies for the specified load balancer port with the specified set of policies.</p>
394
- * <p>To enable back-end server authentication, use <a>SetLoadBalancerPoliciesForBackendServer</a>.</p>
395
- * <p>For more information about setting policies, see
396
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ssl-config-update.html">Update the SSL Negotiation Configuration</a>,
397
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-duration">Duration-Based Session Stickiness</a>, and
398
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application">Application-Controlled Session Stickiness</a>
399
- * in the <i>Classic Load Balancers Guide</i>.</p>
202
+ * @see {@link SetLoadBalancerPoliciesOfListenerCommand}
400
203
  */
401
204
  setLoadBalancerPoliciesOfListener(args: SetLoadBalancerPoliciesOfListenerCommandInput, options?: __HttpHandlerOptions): Promise<SetLoadBalancerPoliciesOfListenerCommandOutput>;
402
205
  setLoadBalancerPoliciesOfListener(args: SetLoadBalancerPoliciesOfListenerCommandInput, cb: (err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void): void;
403
206
  setLoadBalancerPoliciesOfListener(args: SetLoadBalancerPoliciesOfListenerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void): void;
404
207
  }
208
+ /**
209
+ * @public
210
+ * <fullname>Elastic Load Balancing</fullname>
211
+ *
212
+ * <p>A load balancer can distribute incoming traffic across your EC2 instances.
213
+ * This enables you to increase the availability of your application. The load balancer
214
+ * also monitors the health of its registered instances and ensures that it routes traffic
215
+ * only to healthy instances. You configure your load balancer to accept incoming traffic
216
+ * by specifying one or more listeners, which are configured with a protocol and port
217
+ * number for connections from clients to the load balancer and a protocol and port number
218
+ * for connections from the load balancer to the instances.</p>
219
+ * <p>Elastic Load Balancing supports three types of load balancers: Application Load Balancers, Network Load Balancers,
220
+ * and Classic Load Balancers. You can select a load balancer based on your application needs. For more
221
+ * information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User Guide</a>.</p>
222
+ * <p>This reference covers the 2012-06-01 API, which supports Classic Load Balancers.
223
+ * The 2015-12-01 API supports Application Load Balancers and Network Load Balancers.</p>
224
+ *
225
+ * <p>To get started, create a load balancer with one or more listeners using <a>CreateLoadBalancer</a>.
226
+ * Register your instances with the load balancer using <a>RegisterInstancesWithLoadBalancer</a>.</p>
227
+ *
228
+ * <p>All Elastic Load Balancing operations are <i>idempotent</i>, which means
229
+ * that they complete at most one time. If you repeat an operation, it succeeds with a 200 OK
230
+ * response code.</p>
231
+ */
232
+ export declare class ElasticLoadBalancing extends ElasticLoadBalancingClient implements ElasticLoadBalancing {
233
+ }
@@ -116,7 +116,7 @@ import {
116
116
  SetLoadBalancerPoliciesOfListenerCommandOutput,
117
117
  } from "./commands/SetLoadBalancerPoliciesOfListenerCommand";
118
118
  import { ElasticLoadBalancingClient } from "./ElasticLoadBalancingClient";
119
- export declare class ElasticLoadBalancing extends ElasticLoadBalancingClient {
119
+ export interface ElasticLoadBalancing {
120
120
  addTags(
121
121
  args: AddTagsCommandInput,
122
122
  options?: __HttpHandlerOptions
@@ -543,3 +543,6 @@ export declare class ElasticLoadBalancing extends ElasticLoadBalancingClient {
543
543
  ) => void
544
544
  ): void;
545
545
  }
546
+ export declare class ElasticLoadBalancing
547
+ extends ElasticLoadBalancingClient
548
+ implements ElasticLoadBalancing {}
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.312.0",
4
+ "version": "3.316.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,9 +21,9 @@
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.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.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",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.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.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",