UNPKG

71.6 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {WaiterConfiguration} from '../lib/service';
6import {ServiceConfigurationOptions} from '../lib/service';
7import {ConfigBase as Config} from '../lib/config';
8interface Blob {}
9declare class ELB extends Service {
10 /**
11 * Constructs a service object. This object has one method for each API operation.
12 */
13 constructor(options?: ELB.Types.ClientConfiguration)
14 config: Config & ELB.Types.ClientConfiguration;
15 /**
16 * Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value. For more information, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.
17 */
18 addTags(params: ELB.Types.AddTagsInput, callback?: (err: AWSError, data: ELB.Types.AddTagsOutput) => void): Request<ELB.Types.AddTagsOutput, AWSError>;
19 /**
20 * Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value. For more information, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.
21 */
22 addTags(callback?: (err: AWSError, data: ELB.Types.AddTagsOutput) => void): Request<ELB.Types.AddTagsOutput, AWSError>;
23 /**
24 * 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. For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.
25 */
26 applySecurityGroupsToLoadBalancer(params: ELB.Types.ApplySecurityGroupsToLoadBalancerInput, callback?: (err: AWSError, data: ELB.Types.ApplySecurityGroupsToLoadBalancerOutput) => void): Request<ELB.Types.ApplySecurityGroupsToLoadBalancerOutput, AWSError>;
27 /**
28 * 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. For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.
29 */
30 applySecurityGroupsToLoadBalancer(callback?: (err: AWSError, data: ELB.Types.ApplySecurityGroupsToLoadBalancerOutput) => void): Request<ELB.Types.ApplySecurityGroupsToLoadBalancerOutput, AWSError>;
31 /**
32 * Adds one or more subnets to the set of configured subnets for the specified load balancer. The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.
33 */
34 attachLoadBalancerToSubnets(params: ELB.Types.AttachLoadBalancerToSubnetsInput, callback?: (err: AWSError, data: ELB.Types.AttachLoadBalancerToSubnetsOutput) => void): Request<ELB.Types.AttachLoadBalancerToSubnetsOutput, AWSError>;
35 /**
36 * Adds one or more subnets to the set of configured subnets for the specified load balancer. The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.
37 */
38 attachLoadBalancerToSubnets(callback?: (err: AWSError, data: ELB.Types.AttachLoadBalancerToSubnetsOutput) => void): Request<ELB.Types.AttachLoadBalancerToSubnetsOutput, AWSError>;
39 /**
40 * Specifies the health check settings to use when evaluating the health state of your EC2 instances. For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide.
41 */
42 configureHealthCheck(params: ELB.Types.ConfigureHealthCheckInput, callback?: (err: AWSError, data: ELB.Types.ConfigureHealthCheckOutput) => void): Request<ELB.Types.ConfigureHealthCheckOutput, AWSError>;
43 /**
44 * Specifies the health check settings to use when evaluating the health state of your EC2 instances. For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide.
45 */
46 configureHealthCheck(callback?: (err: AWSError, data: ELB.Types.ConfigureHealthCheckOutput) => void): Request<ELB.Types.ConfigureHealthCheckOutput, AWSError>;
47 /**
48 * 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. This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie. If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued. For more information, see Application-Controlled Session Stickiness in the Classic Load Balancers Guide.
49 */
50 createAppCookieStickinessPolicy(params: ELB.Types.CreateAppCookieStickinessPolicyInput, callback?: (err: AWSError, data: ELB.Types.CreateAppCookieStickinessPolicyOutput) => void): Request<ELB.Types.CreateAppCookieStickinessPolicyOutput, AWSError>;
51 /**
52 * 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. This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie. If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued. For more information, see Application-Controlled Session Stickiness in the Classic Load Balancers Guide.
53 */
54 createAppCookieStickinessPolicy(callback?: (err: AWSError, data: ELB.Types.CreateAppCookieStickinessPolicyOutput) => void): Request<ELB.Types.CreateAppCookieStickinessPolicyOutput, AWSError>;
55 /**
56 * 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. 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. 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. 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. For more information, see Duration-Based Session Stickiness in the Classic Load Balancers Guide.
57 */
58 createLBCookieStickinessPolicy(params: ELB.Types.CreateLBCookieStickinessPolicyInput, callback?: (err: AWSError, data: ELB.Types.CreateLBCookieStickinessPolicyOutput) => void): Request<ELB.Types.CreateLBCookieStickinessPolicyOutput, AWSError>;
59 /**
60 * 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. 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. 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. 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. For more information, see Duration-Based Session Stickiness in the Classic Load Balancers Guide.
61 */
62 createLBCookieStickinessPolicy(callback?: (err: AWSError, data: ELB.Types.CreateLBCookieStickinessPolicyOutput) => void): Request<ELB.Types.CreateLBCookieStickinessPolicyOutput, AWSError>;
63 /**
64 * Creates a Classic Load Balancer. You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer. You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.
65 */
66 createLoadBalancer(params: ELB.Types.CreateAccessPointInput, callback?: (err: AWSError, data: ELB.Types.CreateAccessPointOutput) => void): Request<ELB.Types.CreateAccessPointOutput, AWSError>;
67 /**
68 * Creates a Classic Load Balancer. You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags. To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer. You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.
69 */
70 createLoadBalancer(callback?: (err: AWSError, data: ELB.Types.CreateAccessPointOutput) => void): Request<ELB.Types.CreateAccessPointOutput, AWSError>;
71 /**
72 * 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. For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.
73 */
74 createLoadBalancerListeners(params: ELB.Types.CreateLoadBalancerListenerInput, callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerListenerOutput) => void): Request<ELB.Types.CreateLoadBalancerListenerOutput, AWSError>;
75 /**
76 * 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. For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.
77 */
78 createLoadBalancerListeners(callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerListenerOutput) => void): Request<ELB.Types.CreateLoadBalancerListenerOutput, AWSError>;
79 /**
80 * Creates a policy with the specified attributes for the specified load balancer. 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.
81 */
82 createLoadBalancerPolicy(params: ELB.Types.CreateLoadBalancerPolicyInput, callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerPolicyOutput) => void): Request<ELB.Types.CreateLoadBalancerPolicyOutput, AWSError>;
83 /**
84 * Creates a policy with the specified attributes for the specified load balancer. 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.
85 */
86 createLoadBalancerPolicy(callback?: (err: AWSError, data: ELB.Types.CreateLoadBalancerPolicyOutput) => void): Request<ELB.Types.CreateLoadBalancerPolicyOutput, AWSError>;
87 /**
88 * Deletes the specified load balancer. 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. If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer still succeeds.
89 */
90 deleteLoadBalancer(params: ELB.Types.DeleteAccessPointInput, callback?: (err: AWSError, data: ELB.Types.DeleteAccessPointOutput) => void): Request<ELB.Types.DeleteAccessPointOutput, AWSError>;
91 /**
92 * Deletes the specified load balancer. 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. If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer still succeeds.
93 */
94 deleteLoadBalancer(callback?: (err: AWSError, data: ELB.Types.DeleteAccessPointOutput) => void): Request<ELB.Types.DeleteAccessPointOutput, AWSError>;
95 /**
96 * Deletes the specified listeners from the specified load balancer.
97 */
98 deleteLoadBalancerListeners(params: ELB.Types.DeleteLoadBalancerListenerInput, callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerListenerOutput) => void): Request<ELB.Types.DeleteLoadBalancerListenerOutput, AWSError>;
99 /**
100 * Deletes the specified listeners from the specified load balancer.
101 */
102 deleteLoadBalancerListeners(callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerListenerOutput) => void): Request<ELB.Types.DeleteLoadBalancerListenerOutput, AWSError>;
103 /**
104 * Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
105 */
106 deleteLoadBalancerPolicy(params: ELB.Types.DeleteLoadBalancerPolicyInput, callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerPolicyOutput) => void): Request<ELB.Types.DeleteLoadBalancerPolicyOutput, AWSError>;
107 /**
108 * Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
109 */
110 deleteLoadBalancerPolicy(callback?: (err: AWSError, data: ELB.Types.DeleteLoadBalancerPolicyOutput) => void): Request<ELB.Types.DeleteLoadBalancerPolicyOutput, AWSError>;
111 /**
112 * Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer. You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.
113 */
114 deregisterInstancesFromLoadBalancer(params: ELB.Types.DeregisterEndPointsInput, callback?: (err: AWSError, data: ELB.Types.DeregisterEndPointsOutput) => void): Request<ELB.Types.DeregisterEndPointsOutput, AWSError>;
115 /**
116 * Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer. You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.
117 */
118 deregisterInstancesFromLoadBalancer(callback?: (err: AWSError, data: ELB.Types.DeregisterEndPointsOutput) => void): Request<ELB.Types.DeregisterEndPointsOutput, AWSError>;
119 /**
120 * Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.
121 */
122 describeAccountLimits(params: ELB.Types.DescribeAccountLimitsInput, callback?: (err: AWSError, data: ELB.Types.DescribeAccountLimitsOutput) => void): Request<ELB.Types.DescribeAccountLimitsOutput, AWSError>;
123 /**
124 * Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.
125 */
126 describeAccountLimits(callback?: (err: AWSError, data: ELB.Types.DescribeAccountLimitsOutput) => void): Request<ELB.Types.DescribeAccountLimitsOutput, AWSError>;
127 /**
128 * 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.
129 */
130 describeInstanceHealth(params: ELB.Types.DescribeEndPointStateInput, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
131 /**
132 * 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.
133 */
134 describeInstanceHealth(callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
135 /**
136 * Describes the attributes for the specified load balancer.
137 */
138 describeLoadBalancerAttributes(params: ELB.Types.DescribeLoadBalancerAttributesInput, callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerAttributesOutput) => void): Request<ELB.Types.DescribeLoadBalancerAttributesOutput, AWSError>;
139 /**
140 * Describes the attributes for the specified load balancer.
141 */
142 describeLoadBalancerAttributes(callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerAttributesOutput) => void): Request<ELB.Types.DescribeLoadBalancerAttributesOutput, AWSError>;
143 /**
144 * Describes the specified policies. If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.
145 */
146 describeLoadBalancerPolicies(params: ELB.Types.DescribeLoadBalancerPoliciesInput, callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPoliciesOutput) => void): Request<ELB.Types.DescribeLoadBalancerPoliciesOutput, AWSError>;
147 /**
148 * Describes the specified policies. If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.
149 */
150 describeLoadBalancerPolicies(callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPoliciesOutput) => void): Request<ELB.Types.DescribeLoadBalancerPoliciesOutput, AWSError>;
151 /**
152 * Describes the specified load balancer policy types or all load balancer policy types. The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances. You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.
153 */
154 describeLoadBalancerPolicyTypes(params: ELB.Types.DescribeLoadBalancerPolicyTypesInput, callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPolicyTypesOutput) => void): Request<ELB.Types.DescribeLoadBalancerPolicyTypesOutput, AWSError>;
155 /**
156 * Describes the specified load balancer policy types or all load balancer policy types. The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances. You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.
157 */
158 describeLoadBalancerPolicyTypes(callback?: (err: AWSError, data: ELB.Types.DescribeLoadBalancerPolicyTypesOutput) => void): Request<ELB.Types.DescribeLoadBalancerPolicyTypesOutput, AWSError>;
159 /**
160 * Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
161 */
162 describeLoadBalancers(params: ELB.Types.DescribeAccessPointsInput, callback?: (err: AWSError, data: ELB.Types.DescribeAccessPointsOutput) => void): Request<ELB.Types.DescribeAccessPointsOutput, AWSError>;
163 /**
164 * Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
165 */
166 describeLoadBalancers(callback?: (err: AWSError, data: ELB.Types.DescribeAccessPointsOutput) => void): Request<ELB.Types.DescribeAccessPointsOutput, AWSError>;
167 /**
168 * Describes the tags associated with the specified load balancers.
169 */
170 describeTags(params: ELB.Types.DescribeTagsInput, callback?: (err: AWSError, data: ELB.Types.DescribeTagsOutput) => void): Request<ELB.Types.DescribeTagsOutput, AWSError>;
171 /**
172 * Describes the tags associated with the specified load balancers.
173 */
174 describeTags(callback?: (err: AWSError, data: ELB.Types.DescribeTagsOutput) => void): Request<ELB.Types.DescribeTagsOutput, AWSError>;
175 /**
176 * Removes the specified subnets from the set of configured subnets for the load balancer. After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.
177 */
178 detachLoadBalancerFromSubnets(params: ELB.Types.DetachLoadBalancerFromSubnetsInput, callback?: (err: AWSError, data: ELB.Types.DetachLoadBalancerFromSubnetsOutput) => void): Request<ELB.Types.DetachLoadBalancerFromSubnetsOutput, AWSError>;
179 /**
180 * Removes the specified subnets from the set of configured subnets for the load balancer. After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.
181 */
182 detachLoadBalancerFromSubnets(callback?: (err: AWSError, data: ELB.Types.DetachLoadBalancerFromSubnetsOutput) => void): Request<ELB.Types.DetachLoadBalancerFromSubnetsOutput, AWSError>;
183 /**
184 * Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC. For load balancers in a non-default VPC, use DetachLoadBalancerFromSubnets. There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones. For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.
185 */
186 disableAvailabilityZonesForLoadBalancer(params: ELB.Types.RemoveAvailabilityZonesInput, callback?: (err: AWSError, data: ELB.Types.RemoveAvailabilityZonesOutput) => void): Request<ELB.Types.RemoveAvailabilityZonesOutput, AWSError>;
187 /**
188 * Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC. For load balancers in a non-default VPC, use DetachLoadBalancerFromSubnets. There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones. For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.
189 */
190 disableAvailabilityZonesForLoadBalancer(callback?: (err: AWSError, data: ELB.Types.RemoveAvailabilityZonesOutput) => void): Request<ELB.Types.RemoveAvailabilityZonesOutput, AWSError>;
191 /**
192 * Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC. For load balancers in a non-default VPC, use AttachLoadBalancerToSubnets. The load balancer evenly distributes requests across all its registered Availability Zones that contain instances. For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.
193 */
194 enableAvailabilityZonesForLoadBalancer(params: ELB.Types.AddAvailabilityZonesInput, callback?: (err: AWSError, data: ELB.Types.AddAvailabilityZonesOutput) => void): Request<ELB.Types.AddAvailabilityZonesOutput, AWSError>;
195 /**
196 * Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC. For load balancers in a non-default VPC, use AttachLoadBalancerToSubnets. The load balancer evenly distributes requests across all its registered Availability Zones that contain instances. For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.
197 */
198 enableAvailabilityZonesForLoadBalancer(callback?: (err: AWSError, data: ELB.Types.AddAvailabilityZonesOutput) => void): Request<ELB.Types.AddAvailabilityZonesOutput, AWSError>;
199 /**
200 * Modifies the attributes of the specified load balancer. You can modify the load balancer attributes, such as AccessLogs, ConnectionDraining, and CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify the load balancer attribute ConnectionSettings by specifying an idle connection timeout value for your load balancer. For more information, see the following in the Classic Load Balancers Guide: Cross-Zone Load Balancing Connection Draining Access Logs Idle Connection Timeout
201 */
202 modifyLoadBalancerAttributes(params: ELB.Types.ModifyLoadBalancerAttributesInput, callback?: (err: AWSError, data: ELB.Types.ModifyLoadBalancerAttributesOutput) => void): Request<ELB.Types.ModifyLoadBalancerAttributesOutput, AWSError>;
203 /**
204 * Modifies the attributes of the specified load balancer. You can modify the load balancer attributes, such as AccessLogs, ConnectionDraining, and CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify the load balancer attribute ConnectionSettings by specifying an idle connection timeout value for your load balancer. For more information, see the following in the Classic Load Balancers Guide: Cross-Zone Load Balancing Connection Draining Access Logs Idle Connection Timeout
205 */
206 modifyLoadBalancerAttributes(callback?: (err: AWSError, data: ELB.Types.ModifyLoadBalancerAttributesOutput) => void): Request<ELB.Types.ModifyLoadBalancerAttributesOutput, AWSError>;
207 /**
208 * Adds the specified instances to the specified load balancer. 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. Note that RegisterInstanceWithLoadBalancer completes when the request has been registered. Instance registration takes a little time to complete. To check the state of the registered instances, use DescribeLoadBalancers or DescribeInstanceHealth. After the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in one of the Availability Zones registered for the load balancer is moved to the OutOfService state. If an Availability Zone is added to the load balancer later, any instances registered with the load balancer move to the InService state. To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.
209 */
210 registerInstancesWithLoadBalancer(params: ELB.Types.RegisterEndPointsInput, callback?: (err: AWSError, data: ELB.Types.RegisterEndPointsOutput) => void): Request<ELB.Types.RegisterEndPointsOutput, AWSError>;
211 /**
212 * Adds the specified instances to the specified load balancer. 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. Note that RegisterInstanceWithLoadBalancer completes when the request has been registered. Instance registration takes a little time to complete. To check the state of the registered instances, use DescribeLoadBalancers or DescribeInstanceHealth. After the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in one of the Availability Zones registered for the load balancer is moved to the OutOfService state. If an Availability Zone is added to the load balancer later, any instances registered with the load balancer move to the InService state. To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer. For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.
213 */
214 registerInstancesWithLoadBalancer(callback?: (err: AWSError, data: ELB.Types.RegisterEndPointsOutput) => void): Request<ELB.Types.RegisterEndPointsOutput, AWSError>;
215 /**
216 * Removes one or more tags from the specified load balancer.
217 */
218 removeTags(params: ELB.Types.RemoveTagsInput, callback?: (err: AWSError, data: ELB.Types.RemoveTagsOutput) => void): Request<ELB.Types.RemoveTagsOutput, AWSError>;
219 /**
220 * Removes one or more tags from the specified load balancer.
221 */
222 removeTags(callback?: (err: AWSError, data: ELB.Types.RemoveTagsOutput) => void): Request<ELB.Types.RemoveTagsOutput, AWSError>;
223 /**
224 * 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. For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer in the Classic Load Balancers Guide.
225 */
226 setLoadBalancerListenerSSLCertificate(params: ELB.Types.SetLoadBalancerListenerSSLCertificateInput, callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerListenerSSLCertificateOutput) => void): Request<ELB.Types.SetLoadBalancerListenerSSLCertificateOutput, AWSError>;
227 /**
228 * 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. For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer in the Classic Load Balancers Guide.
229 */
230 setLoadBalancerListenerSSLCertificate(callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerListenerSSLCertificateOutput) => void): Request<ELB.Types.SetLoadBalancerListenerSSLCertificateOutput, AWSError>;
231 /**
232 * Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. 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. Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable. You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance. For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancers Guide.
233 */
234 setLoadBalancerPoliciesForBackendServer(params: ELB.Types.SetLoadBalancerPoliciesForBackendServerInput, callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesForBackendServerOutput) => void): Request<ELB.Types.SetLoadBalancerPoliciesForBackendServerOutput, AWSError>;
235 /**
236 * Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. 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. Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable. You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance. For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancers Guide.
237 */
238 setLoadBalancerPoliciesForBackendServer(callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesForBackendServerOutput) => void): Request<ELB.Types.SetLoadBalancerPoliciesForBackendServerOutput, AWSError>;
239 /**
240 * Replaces the current set of policies for the specified load balancer port with the specified set of policies. To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer. For more information about setting policies, see Update the SSL Negotiation Configuration, Duration-Based Session Stickiness, and Application-Controlled Session Stickiness in the Classic Load Balancers Guide.
241 */
242 setLoadBalancerPoliciesOfListener(params: ELB.Types.SetLoadBalancerPoliciesOfListenerInput, callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesOfListenerOutput) => void): Request<ELB.Types.SetLoadBalancerPoliciesOfListenerOutput, AWSError>;
243 /**
244 * Replaces the current set of policies for the specified load balancer port with the specified set of policies. To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer. For more information about setting policies, see Update the SSL Negotiation Configuration, Duration-Based Session Stickiness, and Application-Controlled Session Stickiness in the Classic Load Balancers Guide.
245 */
246 setLoadBalancerPoliciesOfListener(callback?: (err: AWSError, data: ELB.Types.SetLoadBalancerPoliciesOfListenerOutput) => void): Request<ELB.Types.SetLoadBalancerPoliciesOfListenerOutput, AWSError>;
247 /**
248 * Waits for the instanceDeregistered state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times).
249 */
250 waitFor(state: "instanceDeregistered", params: ELB.Types.DescribeEndPointStateInput & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
251 /**
252 * Waits for the instanceDeregistered state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times).
253 */
254 waitFor(state: "instanceDeregistered", callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
255 /**
256 * Waits for the anyInstanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times).
257 */
258 waitFor(state: "anyInstanceInService", params: ELB.Types.DescribeEndPointStateInput & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
259 /**
260 * Waits for the anyInstanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times).
261 */
262 waitFor(state: "anyInstanceInService", callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
263 /**
264 * Waits for the instanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times).
265 */
266 waitFor(state: "instanceInService", params: ELB.Types.DescribeEndPointStateInput & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
267 /**
268 * Waits for the instanceInService state by periodically calling the underlying ELB.describeInstanceHealthoperation every 15 seconds (at most 40 times).
269 */
270 waitFor(state: "instanceInService", callback?: (err: AWSError, data: ELB.Types.DescribeEndPointStateOutput) => void): Request<ELB.Types.DescribeEndPointStateOutput, AWSError>;
271}
272declare namespace ELB {
273 export interface AccessLog {
274 /**
275 * Specifies whether access logs are enabled for the load balancer.
276 */
277 Enabled: AccessLogEnabled;
278 /**
279 * The name of the Amazon S3 bucket where the access logs are stored.
280 */
281 S3BucketName?: S3BucketName;
282 /**
283 * The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes. Default: 60 minutes
284 */
285 EmitInterval?: AccessLogInterval;
286 /**
287 * The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of the bucket.
288 */
289 S3BucketPrefix?: AccessLogPrefix;
290 }
291 export type AccessLogEnabled = boolean;
292 export type AccessLogInterval = number;
293 export type AccessLogPrefix = string;
294 export type AccessPointName = string;
295 export type AccessPointPort = number;
296 export interface AddAvailabilityZonesInput {
297 /**
298 * The name of the load balancer.
299 */
300 LoadBalancerName: AccessPointName;
301 /**
302 * The Availability Zones. These must be in the same region as the load balancer.
303 */
304 AvailabilityZones: AvailabilityZones;
305 }
306 export interface AddAvailabilityZonesOutput {
307 /**
308 * The updated list of Availability Zones for the load balancer.
309 */
310 AvailabilityZones?: AvailabilityZones;
311 }
312 export interface AddTagsInput {
313 /**
314 * The name of the load balancer. You can specify one load balancer only.
315 */
316 LoadBalancerNames: LoadBalancerNames;
317 /**
318 * The tags.
319 */
320 Tags: TagList;
321 }
322 export interface AddTagsOutput {
323 }
324 export interface AdditionalAttribute {
325 /**
326 * This parameter is reserved.
327 */
328 Key?: AdditionalAttributeKey;
329 /**
330 * This parameter is reserved.
331 */
332 Value?: AdditionalAttributeValue;
333 }
334 export type AdditionalAttributeKey = string;
335 export type AdditionalAttributeValue = string;
336 export type AdditionalAttributes = AdditionalAttribute[];
337 export type AppCookieStickinessPolicies = AppCookieStickinessPolicy[];
338 export interface AppCookieStickinessPolicy {
339 /**
340 * The mnemonic name for the policy being created. The name must be unique within a set of policies for this load balancer.
341 */
342 PolicyName?: PolicyName;
343 /**
344 * The name of the application cookie used for stickiness.
345 */
346 CookieName?: CookieName;
347 }
348 export interface ApplySecurityGroupsToLoadBalancerInput {
349 /**
350 * The name of the load balancer.
351 */
352 LoadBalancerName: AccessPointName;
353 /**
354 * The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
355 */
356 SecurityGroups: SecurityGroups;
357 }
358 export interface ApplySecurityGroupsToLoadBalancerOutput {
359 /**
360 * The IDs of the security groups associated with the load balancer.
361 */
362 SecurityGroups?: SecurityGroups;
363 }
364 export interface AttachLoadBalancerToSubnetsInput {
365 /**
366 * The name of the load balancer.
367 */
368 LoadBalancerName: AccessPointName;
369 /**
370 * The IDs of the subnets to add. You can add only one subnet per Availability Zone.
371 */
372 Subnets: Subnets;
373 }
374 export interface AttachLoadBalancerToSubnetsOutput {
375 /**
376 * The IDs of the subnets attached to the load balancer.
377 */
378 Subnets?: Subnets;
379 }
380 export type AttributeName = string;
381 export type AttributeType = string;
382 export type AttributeValue = string;
383 export type AvailabilityZone = string;
384 export type AvailabilityZones = AvailabilityZone[];
385 export interface BackendServerDescription {
386 /**
387 * The port on which the EC2 instance is listening.
388 */
389 InstancePort?: InstancePort;
390 /**
391 * The names of the policies enabled for the EC2 instance.
392 */
393 PolicyNames?: PolicyNames;
394 }
395 export type BackendServerDescriptions = BackendServerDescription[];
396 export type Cardinality = string;
397 export interface ConfigureHealthCheckInput {
398 /**
399 * The name of the load balancer.
400 */
401 LoadBalancerName: AccessPointName;
402 /**
403 * The configuration information.
404 */
405 HealthCheck: HealthCheck;
406 }
407 export interface ConfigureHealthCheckOutput {
408 /**
409 * The updated health check.
410 */
411 HealthCheck?: HealthCheck;
412 }
413 export interface ConnectionDraining {
414 /**
415 * Specifies whether connection draining is enabled for the load balancer.
416 */
417 Enabled: ConnectionDrainingEnabled;
418 /**
419 * The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
420 */
421 Timeout?: ConnectionDrainingTimeout;
422 }
423 export type ConnectionDrainingEnabled = boolean;
424 export type ConnectionDrainingTimeout = number;
425 export interface ConnectionSettings {
426 /**
427 * The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
428 */
429 IdleTimeout: IdleTimeout;
430 }
431 export type CookieExpirationPeriod = number;
432 export type CookieName = string;
433 export interface CreateAccessPointInput {
434 /**
435 * The name of the load balancer. This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.
436 */
437 LoadBalancerName: AccessPointName;
438 /**
439 * The listeners. For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.
440 */
441 Listeners: Listeners;
442 /**
443 * One or more Availability Zones from the same region as the load balancer. You must specify at least one Availability Zone. You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.
444 */
445 AvailabilityZones?: AvailabilityZones;
446 /**
447 * The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in AvailabilityZones.
448 */
449 Subnets?: Subnets;
450 /**
451 * The IDs of the security groups to assign to the load balancer.
452 */
453 SecurityGroups?: SecurityGroups;
454 /**
455 * The type of a load balancer. Valid only for load balancers in a VPC. By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide. Specify internal to create a load balancer with a DNS name that resolves to private IP addresses.
456 */
457 Scheme?: LoadBalancerScheme;
458 /**
459 * A list of tags to assign to the load balancer. For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.
460 */
461 Tags?: TagList;
462 }
463 export interface CreateAccessPointOutput {
464 /**
465 * The DNS name of the load balancer.
466 */
467 DNSName?: DNSName;
468 }
469 export interface CreateAppCookieStickinessPolicyInput {
470 /**
471 * The name of the load balancer.
472 */
473 LoadBalancerName: AccessPointName;
474 /**
475 * The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
476 */
477 PolicyName: PolicyName;
478 /**
479 * The name of the application cookie used for stickiness.
480 */
481 CookieName: CookieName;
482 }
483 export interface CreateAppCookieStickinessPolicyOutput {
484 }
485 export interface CreateLBCookieStickinessPolicyInput {
486 /**
487 * The name of the load balancer.
488 */
489 LoadBalancerName: AccessPointName;
490 /**
491 * The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
492 */
493 PolicyName: PolicyName;
494 /**
495 * The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.
496 */
497 CookieExpirationPeriod?: CookieExpirationPeriod;
498 }
499 export interface CreateLBCookieStickinessPolicyOutput {
500 }
501 export interface CreateLoadBalancerListenerInput {
502 /**
503 * The name of the load balancer.
504 */
505 LoadBalancerName: AccessPointName;
506 /**
507 * The listeners.
508 */
509 Listeners: Listeners;
510 }
511 export interface CreateLoadBalancerListenerOutput {
512 }
513 export interface CreateLoadBalancerPolicyInput {
514 /**
515 * The name of the load balancer.
516 */
517 LoadBalancerName: AccessPointName;
518 /**
519 * The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
520 */
521 PolicyName: PolicyName;
522 /**
523 * The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
524 */
525 PolicyTypeName: PolicyTypeName;
526 /**
527 * The policy attributes.
528 */
529 PolicyAttributes?: PolicyAttributes;
530 }
531 export interface CreateLoadBalancerPolicyOutput {
532 }
533 export type CreatedTime = Date;
534 export interface CrossZoneLoadBalancing {
535 /**
536 * Specifies whether cross-zone load balancing is enabled for the load balancer.
537 */
538 Enabled: CrossZoneLoadBalancingEnabled;
539 }
540 export type CrossZoneLoadBalancingEnabled = boolean;
541 export type DNSName = string;
542 export type DefaultValue = string;
543 export interface DeleteAccessPointInput {
544 /**
545 * The name of the load balancer.
546 */
547 LoadBalancerName: AccessPointName;
548 }
549 export interface DeleteAccessPointOutput {
550 }
551 export interface DeleteLoadBalancerListenerInput {
552 /**
553 * The name of the load balancer.
554 */
555 LoadBalancerName: AccessPointName;
556 /**
557 * The client port numbers of the listeners.
558 */
559 LoadBalancerPorts: Ports;
560 }
561 export interface DeleteLoadBalancerListenerOutput {
562 }
563 export interface DeleteLoadBalancerPolicyInput {
564 /**
565 * The name of the load balancer.
566 */
567 LoadBalancerName: AccessPointName;
568 /**
569 * The name of the policy.
570 */
571 PolicyName: PolicyName;
572 }
573 export interface DeleteLoadBalancerPolicyOutput {
574 }
575 export interface DeregisterEndPointsInput {
576 /**
577 * The name of the load balancer.
578 */
579 LoadBalancerName: AccessPointName;
580 /**
581 * The IDs of the instances.
582 */
583 Instances: Instances;
584 }
585 export interface DeregisterEndPointsOutput {
586 /**
587 * The remaining instances registered with the load balancer.
588 */
589 Instances?: Instances;
590 }
591 export interface DescribeAccessPointsInput {
592 /**
593 * The names of the load balancers.
594 */
595 LoadBalancerNames?: LoadBalancerNames;
596 /**
597 * The marker for the next set of results. (You received this marker from a previous call.)
598 */
599 Marker?: Marker;
600 /**
601 * The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
602 */
603 PageSize?: PageSize;
604 }
605 export interface DescribeAccessPointsOutput {
606 /**
607 * Information about the load balancers.
608 */
609 LoadBalancerDescriptions?: LoadBalancerDescriptions;
610 /**
611 * The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
612 */
613 NextMarker?: Marker;
614 }
615 export interface DescribeAccountLimitsInput {
616 /**
617 * The marker for the next set of results. (You received this marker from a previous call.)
618 */
619 Marker?: Marker;
620 /**
621 * The maximum number of results to return with this call.
622 */
623 PageSize?: PageSize;
624 }
625 export interface DescribeAccountLimitsOutput {
626 /**
627 * Information about the limits.
628 */
629 Limits?: Limits;
630 /**
631 * The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
632 */
633 NextMarker?: Marker;
634 }
635 export interface DescribeEndPointStateInput {
636 /**
637 * The name of the load balancer.
638 */
639 LoadBalancerName: AccessPointName;
640 /**
641 * The IDs of the instances.
642 */
643 Instances?: Instances;
644 }
645 export interface DescribeEndPointStateOutput {
646 /**
647 * Information about the health of the instances.
648 */
649 InstanceStates?: InstanceStates;
650 }
651 export interface DescribeLoadBalancerAttributesInput {
652 /**
653 * The name of the load balancer.
654 */
655 LoadBalancerName: AccessPointName;
656 }
657 export interface DescribeLoadBalancerAttributesOutput {
658 /**
659 * Information about the load balancer attributes.
660 */
661 LoadBalancerAttributes?: LoadBalancerAttributes;
662 }
663 export interface DescribeLoadBalancerPoliciesInput {
664 /**
665 * The name of the load balancer.
666 */
667 LoadBalancerName?: AccessPointName;
668 /**
669 * The names of the policies.
670 */
671 PolicyNames?: PolicyNames;
672 }
673 export interface DescribeLoadBalancerPoliciesOutput {
674 /**
675 * Information about the policies.
676 */
677 PolicyDescriptions?: PolicyDescriptions;
678 }
679 export interface DescribeLoadBalancerPolicyTypesInput {
680 /**
681 * The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing.
682 */
683 PolicyTypeNames?: PolicyTypeNames;
684 }
685 export interface DescribeLoadBalancerPolicyTypesOutput {
686 /**
687 * Information about the policy types.
688 */
689 PolicyTypeDescriptions?: PolicyTypeDescriptions;
690 }
691 export interface DescribeTagsInput {
692 /**
693 * The names of the load balancers.
694 */
695 LoadBalancerNames: LoadBalancerNamesMax20;
696 }
697 export interface DescribeTagsOutput {
698 /**
699 * Information about the tags.
700 */
701 TagDescriptions?: TagDescriptions;
702 }
703 export type Description = string;
704 export interface DetachLoadBalancerFromSubnetsInput {
705 /**
706 * The name of the load balancer.
707 */
708 LoadBalancerName: AccessPointName;
709 /**
710 * The IDs of the subnets.
711 */
712 Subnets: Subnets;
713 }
714 export interface DetachLoadBalancerFromSubnetsOutput {
715 /**
716 * The IDs of the remaining subnets for the load balancer.
717 */
718 Subnets?: Subnets;
719 }
720 export type EndPointPort = number;
721 export interface HealthCheck {
722 /**
723 * The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535. TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy. SSL is also specified as SSL: port pair, for example, SSL:5000. For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy. The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
724 */
725 Target: HealthCheckTarget;
726 /**
727 * The approximate interval, in seconds, between health checks of an individual instance.
728 */
729 Interval: HealthCheckInterval;
730 /**
731 * The amount of time, in seconds, during which no response means a failed health check. This value must be less than the Interval value.
732 */
733 Timeout: HealthCheckTimeout;
734 /**
735 * The number of consecutive health check failures required before moving the instance to the Unhealthy state.
736 */
737 UnhealthyThreshold: UnhealthyThreshold;
738 /**
739 * The number of consecutive health checks successes required before moving the instance to the Healthy state.
740 */
741 HealthyThreshold: HealthyThreshold;
742 }
743 export type HealthCheckInterval = number;
744 export type HealthCheckTarget = string;
745 export type HealthCheckTimeout = number;
746 export type HealthyThreshold = number;
747 export type IdleTimeout = number;
748 export interface Instance {
749 /**
750 * The instance ID.
751 */
752 InstanceId?: InstanceId;
753 }
754 export type InstanceId = string;
755 export type InstancePort = number;
756 export interface InstanceState {
757 /**
758 * The ID of the instance.
759 */
760 InstanceId?: InstanceId;
761 /**
762 * The current state of the instance. Valid values: InService | OutOfService | Unknown
763 */
764 State?: State;
765 /**
766 * Information about the cause of OutOfService instances. Specifically, whether the cause is Elastic Load Balancing or the instance. Valid values: ELB | Instance | N/A
767 */
768 ReasonCode?: ReasonCode;
769 /**
770 * A description of the instance state. This string can contain one or more of the following messages. N/A A transient error occurred. Please try again later. Instance has failed at least the UnhealthyThreshold number of health checks consecutively. Instance has not passed the configured HealthyThreshold number of health checks consecutively. Instance registration is still in progress. Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to. Instance is not currently registered with the LoadBalancer. Instance deregistration currently in progress. Disable Availability Zone is currently in progress. Instance is in pending state. Instance is in stopped state. Instance is in terminated state.
771 */
772 Description?: Description;
773 }
774 export type InstanceStates = InstanceState[];
775 export type Instances = Instance[];
776 export type LBCookieStickinessPolicies = LBCookieStickinessPolicy[];
777 export interface LBCookieStickinessPolicy {
778 /**
779 * The name of the policy. This name must be unique within the set of policies for this load balancer.
780 */
781 PolicyName?: PolicyName;
782 /**
783 * The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
784 */
785 CookieExpirationPeriod?: CookieExpirationPeriod;
786 }
787 export interface Limit {
788 /**
789 * The name of the limit. The possible values are: classic-listeners classic-load-balancers classic-registered-instances
790 */
791 Name?: Name;
792 /**
793 * The maximum value of the limit.
794 */
795 Max?: Max;
796 }
797 export type Limits = Limit[];
798 export interface Listener {
799 /**
800 * The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
801 */
802 Protocol: Protocol;
803 /**
804 * The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
805 */
806 LoadBalancerPort: AccessPointPort;
807 /**
808 * The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL. If the front-end protocol is HTTP, HTTPS, TCP, or SSL, InstanceProtocol must be at the same protocol. If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure. If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP.
809 */
810 InstanceProtocol?: Protocol;
811 /**
812 * The port on which the instance is listening.
813 */
814 InstancePort: InstancePort;
815 /**
816 * The Amazon Resource Name (ARN) of the server certificate.
817 */
818 SSLCertificateId?: SSLCertificateId;
819 }
820 export interface ListenerDescription {
821 /**
822 * The listener.
823 */
824 Listener?: Listener;
825 /**
826 * The policies. If there are no policies enabled, the list is empty.
827 */
828 PolicyNames?: PolicyNames;
829 }
830 export type ListenerDescriptions = ListenerDescription[];
831 export type Listeners = Listener[];
832 export interface LoadBalancerAttributes {
833 /**
834 * If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones. For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
835 */
836 CrossZoneLoadBalancing?: CrossZoneLoadBalancing;
837 /**
838 * If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify. For more information, see Enable Access Logs in the Classic Load Balancers Guide.
839 */
840 AccessLog?: AccessLog;
841 /**
842 * If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance. For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
843 */
844 ConnectionDraining?: ConnectionDraining;
845 /**
846 * If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration. By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
847 */
848 ConnectionSettings?: ConnectionSettings;
849 /**
850 * This parameter is reserved.
851 */
852 AdditionalAttributes?: AdditionalAttributes;
853 }
854 export interface LoadBalancerDescription {
855 /**
856 * The name of the load balancer.
857 */
858 LoadBalancerName?: AccessPointName;
859 /**
860 * The DNS name of the load balancer.
861 */
862 DNSName?: DNSName;
863 /**
864 * The DNS name of the load balancer. For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.
865 */
866 CanonicalHostedZoneName?: DNSName;
867 /**
868 * The ID of the Amazon Route 53 hosted zone for the load balancer.
869 */
870 CanonicalHostedZoneNameID?: DNSName;
871 /**
872 * The listeners for the load balancer.
873 */
874 ListenerDescriptions?: ListenerDescriptions;
875 /**
876 * The policies defined for the load balancer.
877 */
878 Policies?: Policies;
879 /**
880 * Information about your EC2 instances.
881 */
882 BackendServerDescriptions?: BackendServerDescriptions;
883 /**
884 * The Availability Zones for the load balancer.
885 */
886 AvailabilityZones?: AvailabilityZones;
887 /**
888 * The IDs of the subnets for the load balancer.
889 */
890 Subnets?: Subnets;
891 /**
892 * The ID of the VPC for the load balancer.
893 */
894 VPCId?: VPCId;
895 /**
896 * The IDs of the instances for the load balancer.
897 */
898 Instances?: Instances;
899 /**
900 * Information about the health checks conducted on the load balancer.
901 */
902 HealthCheck?: HealthCheck;
903 /**
904 * The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
905 */
906 SourceSecurityGroup?: SourceSecurityGroup;
907 /**
908 * The security groups for the load balancer. Valid only for load balancers in a VPC.
909 */
910 SecurityGroups?: SecurityGroups;
911 /**
912 * The date and time the load balancer was created.
913 */
914 CreatedTime?: CreatedTime;
915 /**
916 * The type of load balancer. Valid only for load balancers in a VPC. If Scheme is internet-facing, the load balancer has a public DNS name that resolves to a public IP address. If Scheme is internal, the load balancer has a public DNS name that resolves to a private IP address.
917 */
918 Scheme?: LoadBalancerScheme;
919 }
920 export type LoadBalancerDescriptions = LoadBalancerDescription[];
921 export type LoadBalancerNames = AccessPointName[];
922 export type LoadBalancerNamesMax20 = AccessPointName[];
923 export type LoadBalancerScheme = string;
924 export type Marker = string;
925 export type Max = string;
926 export interface ModifyLoadBalancerAttributesInput {
927 /**
928 * The name of the load balancer.
929 */
930 LoadBalancerName: AccessPointName;
931 /**
932 * The attributes for the load balancer.
933 */
934 LoadBalancerAttributes: LoadBalancerAttributes;
935 }
936 export interface ModifyLoadBalancerAttributesOutput {
937 /**
938 * The name of the load balancer.
939 */
940 LoadBalancerName?: AccessPointName;
941 /**
942 * Information about the load balancer attributes.
943 */
944 LoadBalancerAttributes?: LoadBalancerAttributes;
945 }
946 export type Name = string;
947 export type PageSize = number;
948 export interface Policies {
949 /**
950 * The stickiness policies created using CreateAppCookieStickinessPolicy.
951 */
952 AppCookieStickinessPolicies?: AppCookieStickinessPolicies;
953 /**
954 * The stickiness policies created using CreateLBCookieStickinessPolicy.
955 */
956 LBCookieStickinessPolicies?: LBCookieStickinessPolicies;
957 /**
958 * The policies other than the stickiness policies.
959 */
960 OtherPolicies?: PolicyNames;
961 }
962 export interface PolicyAttribute {
963 /**
964 * The name of the attribute.
965 */
966 AttributeName?: AttributeName;
967 /**
968 * The value of the attribute.
969 */
970 AttributeValue?: AttributeValue;
971 }
972 export interface PolicyAttributeDescription {
973 /**
974 * The name of the attribute.
975 */
976 AttributeName?: AttributeName;
977 /**
978 * The value of the attribute.
979 */
980 AttributeValue?: AttributeValue;
981 }
982 export type PolicyAttributeDescriptions = PolicyAttributeDescription[];
983 export interface PolicyAttributeTypeDescription {
984 /**
985 * The name of the attribute.
986 */
987 AttributeName?: AttributeName;
988 /**
989 * The type of the attribute. For example, Boolean or Integer.
990 */
991 AttributeType?: AttributeType;
992 /**
993 * A description of the attribute.
994 */
995 Description?: Description;
996 /**
997 * The default value of the attribute, if applicable.
998 */
999 DefaultValue?: DefaultValue;
1000 /**
1001 * The cardinality of the attribute. Valid values: ONE(1) : Single value required ZERO_OR_ONE(0..1) : Up to one value is allowed ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
1002 */
1003 Cardinality?: Cardinality;
1004 }
1005 export type PolicyAttributeTypeDescriptions = PolicyAttributeTypeDescription[];
1006 export type PolicyAttributes = PolicyAttribute[];
1007 export interface PolicyDescription {
1008 /**
1009 * The name of the policy.
1010 */
1011 PolicyName?: PolicyName;
1012 /**
1013 * The name of the policy type.
1014 */
1015 PolicyTypeName?: PolicyTypeName;
1016 /**
1017 * The policy attributes.
1018 */
1019 PolicyAttributeDescriptions?: PolicyAttributeDescriptions;
1020 }
1021 export type PolicyDescriptions = PolicyDescription[];
1022 export type PolicyName = string;
1023 export type PolicyNames = PolicyName[];
1024 export interface PolicyTypeDescription {
1025 /**
1026 * The name of the policy type.
1027 */
1028 PolicyTypeName?: PolicyTypeName;
1029 /**
1030 * A description of the policy type.
1031 */
1032 Description?: Description;
1033 /**
1034 * The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
1035 */
1036 PolicyAttributeTypeDescriptions?: PolicyAttributeTypeDescriptions;
1037 }
1038 export type PolicyTypeDescriptions = PolicyTypeDescription[];
1039 export type PolicyTypeName = string;
1040 export type PolicyTypeNames = PolicyTypeName[];
1041 export type Ports = AccessPointPort[];
1042 export type Protocol = string;
1043 export type ReasonCode = string;
1044 export interface RegisterEndPointsInput {
1045 /**
1046 * The name of the load balancer.
1047 */
1048 LoadBalancerName: AccessPointName;
1049 /**
1050 * The IDs of the instances.
1051 */
1052 Instances: Instances;
1053 }
1054 export interface RegisterEndPointsOutput {
1055 /**
1056 * The updated list of instances for the load balancer.
1057 */
1058 Instances?: Instances;
1059 }
1060 export interface RemoveAvailabilityZonesInput {
1061 /**
1062 * The name of the load balancer.
1063 */
1064 LoadBalancerName: AccessPointName;
1065 /**
1066 * The Availability Zones.
1067 */
1068 AvailabilityZones: AvailabilityZones;
1069 }
1070 export interface RemoveAvailabilityZonesOutput {
1071 /**
1072 * The remaining Availability Zones for the load balancer.
1073 */
1074 AvailabilityZones?: AvailabilityZones;
1075 }
1076 export interface RemoveTagsInput {
1077 /**
1078 * The name of the load balancer. You can specify a maximum of one load balancer name.
1079 */
1080 LoadBalancerNames: LoadBalancerNames;
1081 /**
1082 * The list of tag keys to remove.
1083 */
1084 Tags: TagKeyList;
1085 }
1086 export interface RemoveTagsOutput {
1087 }
1088 export type S3BucketName = string;
1089 export type SSLCertificateId = string;
1090 export type SecurityGroupId = string;
1091 export type SecurityGroupName = string;
1092 export type SecurityGroupOwnerAlias = string;
1093 export type SecurityGroups = SecurityGroupId[];
1094 export interface SetLoadBalancerListenerSSLCertificateInput {
1095 /**
1096 * The name of the load balancer.
1097 */
1098 LoadBalancerName: AccessPointName;
1099 /**
1100 * The port that uses the specified SSL certificate.
1101 */
1102 LoadBalancerPort: AccessPointPort;
1103 /**
1104 * The Amazon Resource Name (ARN) of the SSL certificate.
1105 */
1106 SSLCertificateId: SSLCertificateId;
1107 }
1108 export interface SetLoadBalancerListenerSSLCertificateOutput {
1109 }
1110 export interface SetLoadBalancerPoliciesForBackendServerInput {
1111 /**
1112 * The name of the load balancer.
1113 */
1114 LoadBalancerName: AccessPointName;
1115 /**
1116 * The port number associated with the EC2 instance.
1117 */
1118 InstancePort: EndPointPort;
1119 /**
1120 * The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.
1121 */
1122 PolicyNames: PolicyNames;
1123 }
1124 export interface SetLoadBalancerPoliciesForBackendServerOutput {
1125 }
1126 export interface SetLoadBalancerPoliciesOfListenerInput {
1127 /**
1128 * The name of the load balancer.
1129 */
1130 LoadBalancerName: AccessPointName;
1131 /**
1132 * The external port of the load balancer.
1133 */
1134 LoadBalancerPort: AccessPointPort;
1135 /**
1136 * The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled.
1137 */
1138 PolicyNames: PolicyNames;
1139 }
1140 export interface SetLoadBalancerPoliciesOfListenerOutput {
1141 }
1142 export interface SourceSecurityGroup {
1143 /**
1144 * The owner of the security group.
1145 */
1146 OwnerAlias?: SecurityGroupOwnerAlias;
1147 /**
1148 * The name of the security group.
1149 */
1150 GroupName?: SecurityGroupName;
1151 }
1152 export type State = string;
1153 export type SubnetId = string;
1154 export type Subnets = SubnetId[];
1155 export interface Tag {
1156 /**
1157 * The key of the tag.
1158 */
1159 Key: TagKey;
1160 /**
1161 * The value of the tag.
1162 */
1163 Value?: TagValue;
1164 }
1165 export interface TagDescription {
1166 /**
1167 * The name of the load balancer.
1168 */
1169 LoadBalancerName?: AccessPointName;
1170 /**
1171 * The tags.
1172 */
1173 Tags?: TagList;
1174 }
1175 export type TagDescriptions = TagDescription[];
1176 export type TagKey = string;
1177 export type TagKeyList = TagKeyOnly[];
1178 export interface TagKeyOnly {
1179 /**
1180 * The name of the key.
1181 */
1182 Key?: TagKey;
1183 }
1184 export type TagList = Tag[];
1185 export type TagValue = string;
1186 export type UnhealthyThreshold = number;
1187 export type VPCId = string;
1188 /**
1189 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1190 */
1191 export type apiVersion = "2012-06-01"|"latest"|string;
1192 export interface ClientApiVersions {
1193 /**
1194 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1195 */
1196 apiVersion?: apiVersion;
1197 }
1198 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1199 /**
1200 * Contains interfaces for use with the ELB client.
1201 */
1202 export import Types = ELB;
1203}
1204export = ELB;