@aws-sdk/client-elastic-load-balancing 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/ElasticLoadBalancing.js +0 -24
- package/dist-cjs/ElasticLoadBalancingClient.js +0 -29
- package/dist-cjs/commands/AddTagsCommand.js +0 -31
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +0 -27
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +0 -28
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js +0 -27
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +0 -33
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +0 -31
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -38
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +0 -27
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +0 -26
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -28
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +0 -25
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +0 -25
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +0 -30
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -27
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js +0 -25
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -25
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +0 -29
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -32
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -25
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -25
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +0 -28
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -33
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +0 -30
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -51
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -43
- package/dist-cjs/commands/RemoveTagsCommand.js +0 -25
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +0 -29
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -35
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -31
- package/dist-cjs/commands/index.js +32 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -35
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -319
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_query.js +0 -3
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForAnyInstanceInService.js +0 -10
- package/dist-es/ElasticLoadBalancing.js +0 -1
- package/dist-es/ElasticLoadBalancingClient.js +0 -1
- package/dist-es/commands/AddTagsCommand.js +0 -1
- package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +0 -1
- package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +0 -1
- package/dist-es/commands/ConfigureHealthCheckCommand.js +0 -1
- package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +0 -1
- package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerListenersCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +0 -1
- package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +0 -1
- package/dist-es/commands/DescribeAccountLimitsCommand.js +0 -1
- package/dist-es/commands/DescribeInstanceHealthCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancersCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +0 -1
- package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -1
- package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +0 -1
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +0 -1
- package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -1
- package/dist-es/commands/RemoveTagsCommand.js +0 -1
- package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -1
- package/dist-es/commands/index.js +29 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -35
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeLoadBalancersPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_query.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForAnyInstanceInService.js +0 -1
- package/dist-types/commands/index.d.ts +29 -0
- package/dist-types/index.d.ts +5 -34
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/ElasticLoadBalancing.d.ts +30 -254
- package/dist-types/ts3.4/ElasticLoadBalancingClient.d.ts +24 -109
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteLoadBalancerListenersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +29 -0
- package/dist-types/ts3.4/index.d.ts +5 -34
- package/dist-types/ts3.4/models/models_0.d.ts +378 -1283
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForAnyInstanceInService.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +34 -31
- package/dist-cjs/ElasticLoadBalancing.js.map +0 -1
- package/dist-cjs/ElasticLoadBalancingClient.js.map +0 -1
- package/dist-cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsCommand.js.map +0 -1
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_query.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForAnyInstanceInService.js.map +0 -1
- package/dist-es/ElasticLoadBalancing.js.map +0 -1
- package/dist-es/ElasticLoadBalancingClient.js.map +0 -1
- package/dist-es/commands/AddTagsCommand.js.map +0 -1
- package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
- package/dist-es/commands/ConfigureHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist-es/commands/DescribeInstanceHealthCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
- package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsCommand.js.map +0 -1
- package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_query.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForAnyInstanceInService.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ElasticLoadBalancing.ts +0 -1230
- package/src/ElasticLoadBalancingClient.ts +0 -415
- package/src/commands/AddTagsCommand.ts +0 -102
- package/src/commands/ApplySecurityGroupsToLoadBalancerCommand.ts +0 -109
- package/src/commands/AttachLoadBalancerToSubnetsCommand.ts +0 -105
- package/src/commands/ConfigureHealthCheckCommand.ts +0 -101
- package/src/commands/CreateAppCookieStickinessPolicyCommand.ts +0 -115
- package/src/commands/CreateLBCookieStickinessPolicyCommand.ts +0 -113
- package/src/commands/CreateLoadBalancerCommand.ts +0 -112
- package/src/commands/CreateLoadBalancerListenersCommand.ts +0 -104
- package/src/commands/CreateLoadBalancerPolicyCommand.ts +0 -100
- package/src/commands/DeleteLoadBalancerCommand.ts +0 -102
- package/src/commands/DeleteLoadBalancerListenersCommand.ts +0 -102
- package/src/commands/DeleteLoadBalancerPolicyCommand.ts +0 -99
- package/src/commands/DeregisterInstancesFromLoadBalancerCommand.ts +0 -110
- package/src/commands/DescribeAccountLimitsCommand.ts +0 -101
- package/src/commands/DescribeInstanceHealthCommand.ts +0 -99
- package/src/commands/DescribeLoadBalancerAttributesCommand.ts +0 -107
- package/src/commands/DescribeLoadBalancerPoliciesCommand.ts +0 -108
- package/src/commands/DescribeLoadBalancerPolicyTypesCommand.ts +0 -114
- package/src/commands/DescribeLoadBalancersCommand.ts +0 -99
- package/src/commands/DescribeTagsCommand.ts +0 -96
- package/src/commands/DetachLoadBalancerFromSubnetsCommand.ts +0 -107
- package/src/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts +0 -118
- package/src/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts +0 -112
- package/src/commands/ModifyLoadBalancerAttributesCommand.ts +0 -130
- package/src/commands/RegisterInstancesWithLoadBalancerCommand.ts +0 -123
- package/src/commands/RemoveTagsCommand.ts +0 -96
- package/src/commands/SetLoadBalancerListenerSSLCertificateCommand.ts +0 -114
- package/src/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts +0 -124
- package/src/commands/SetLoadBalancerPoliciesOfListenerCommand.ts +0 -113
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2556
- package/src/pagination/DescribeLoadBalancersPaginator.ts +0 -58
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_query.ts +0 -5445
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForAnyInstanceInService.ts +0 -59
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,1230 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AddTagsCommand, AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
4
|
-
import {
|
|
5
|
-
ApplySecurityGroupsToLoadBalancerCommand,
|
|
6
|
-
ApplySecurityGroupsToLoadBalancerCommandInput,
|
|
7
|
-
ApplySecurityGroupsToLoadBalancerCommandOutput,
|
|
8
|
-
} from "./commands/ApplySecurityGroupsToLoadBalancerCommand";
|
|
9
|
-
import {
|
|
10
|
-
AttachLoadBalancerToSubnetsCommand,
|
|
11
|
-
AttachLoadBalancerToSubnetsCommandInput,
|
|
12
|
-
AttachLoadBalancerToSubnetsCommandOutput,
|
|
13
|
-
} from "./commands/AttachLoadBalancerToSubnetsCommand";
|
|
14
|
-
import {
|
|
15
|
-
ConfigureHealthCheckCommand,
|
|
16
|
-
ConfigureHealthCheckCommandInput,
|
|
17
|
-
ConfigureHealthCheckCommandOutput,
|
|
18
|
-
} from "./commands/ConfigureHealthCheckCommand";
|
|
19
|
-
import {
|
|
20
|
-
CreateAppCookieStickinessPolicyCommand,
|
|
21
|
-
CreateAppCookieStickinessPolicyCommandInput,
|
|
22
|
-
CreateAppCookieStickinessPolicyCommandOutput,
|
|
23
|
-
} from "./commands/CreateAppCookieStickinessPolicyCommand";
|
|
24
|
-
import {
|
|
25
|
-
CreateLBCookieStickinessPolicyCommand,
|
|
26
|
-
CreateLBCookieStickinessPolicyCommandInput,
|
|
27
|
-
CreateLBCookieStickinessPolicyCommandOutput,
|
|
28
|
-
} from "./commands/CreateLBCookieStickinessPolicyCommand";
|
|
29
|
-
import {
|
|
30
|
-
CreateLoadBalancerCommand,
|
|
31
|
-
CreateLoadBalancerCommandInput,
|
|
32
|
-
CreateLoadBalancerCommandOutput,
|
|
33
|
-
} from "./commands/CreateLoadBalancerCommand";
|
|
34
|
-
import {
|
|
35
|
-
CreateLoadBalancerListenersCommand,
|
|
36
|
-
CreateLoadBalancerListenersCommandInput,
|
|
37
|
-
CreateLoadBalancerListenersCommandOutput,
|
|
38
|
-
} from "./commands/CreateLoadBalancerListenersCommand";
|
|
39
|
-
import {
|
|
40
|
-
CreateLoadBalancerPolicyCommand,
|
|
41
|
-
CreateLoadBalancerPolicyCommandInput,
|
|
42
|
-
CreateLoadBalancerPolicyCommandOutput,
|
|
43
|
-
} from "./commands/CreateLoadBalancerPolicyCommand";
|
|
44
|
-
import {
|
|
45
|
-
DeleteLoadBalancerCommand,
|
|
46
|
-
DeleteLoadBalancerCommandInput,
|
|
47
|
-
DeleteLoadBalancerCommandOutput,
|
|
48
|
-
} from "./commands/DeleteLoadBalancerCommand";
|
|
49
|
-
import {
|
|
50
|
-
DeleteLoadBalancerListenersCommand,
|
|
51
|
-
DeleteLoadBalancerListenersCommandInput,
|
|
52
|
-
DeleteLoadBalancerListenersCommandOutput,
|
|
53
|
-
} from "./commands/DeleteLoadBalancerListenersCommand";
|
|
54
|
-
import {
|
|
55
|
-
DeleteLoadBalancerPolicyCommand,
|
|
56
|
-
DeleteLoadBalancerPolicyCommandInput,
|
|
57
|
-
DeleteLoadBalancerPolicyCommandOutput,
|
|
58
|
-
} from "./commands/DeleteLoadBalancerPolicyCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeregisterInstancesFromLoadBalancerCommand,
|
|
61
|
-
DeregisterInstancesFromLoadBalancerCommandInput,
|
|
62
|
-
DeregisterInstancesFromLoadBalancerCommandOutput,
|
|
63
|
-
} from "./commands/DeregisterInstancesFromLoadBalancerCommand";
|
|
64
|
-
import {
|
|
65
|
-
DescribeAccountLimitsCommand,
|
|
66
|
-
DescribeAccountLimitsCommandInput,
|
|
67
|
-
DescribeAccountLimitsCommandOutput,
|
|
68
|
-
} from "./commands/DescribeAccountLimitsCommand";
|
|
69
|
-
import {
|
|
70
|
-
DescribeInstanceHealthCommand,
|
|
71
|
-
DescribeInstanceHealthCommandInput,
|
|
72
|
-
DescribeInstanceHealthCommandOutput,
|
|
73
|
-
} from "./commands/DescribeInstanceHealthCommand";
|
|
74
|
-
import {
|
|
75
|
-
DescribeLoadBalancerAttributesCommand,
|
|
76
|
-
DescribeLoadBalancerAttributesCommandInput,
|
|
77
|
-
DescribeLoadBalancerAttributesCommandOutput,
|
|
78
|
-
} from "./commands/DescribeLoadBalancerAttributesCommand";
|
|
79
|
-
import {
|
|
80
|
-
DescribeLoadBalancerPoliciesCommand,
|
|
81
|
-
DescribeLoadBalancerPoliciesCommandInput,
|
|
82
|
-
DescribeLoadBalancerPoliciesCommandOutput,
|
|
83
|
-
} from "./commands/DescribeLoadBalancerPoliciesCommand";
|
|
84
|
-
import {
|
|
85
|
-
DescribeLoadBalancerPolicyTypesCommand,
|
|
86
|
-
DescribeLoadBalancerPolicyTypesCommandInput,
|
|
87
|
-
DescribeLoadBalancerPolicyTypesCommandOutput,
|
|
88
|
-
} from "./commands/DescribeLoadBalancerPolicyTypesCommand";
|
|
89
|
-
import {
|
|
90
|
-
DescribeLoadBalancersCommand,
|
|
91
|
-
DescribeLoadBalancersCommandInput,
|
|
92
|
-
DescribeLoadBalancersCommandOutput,
|
|
93
|
-
} from "./commands/DescribeLoadBalancersCommand";
|
|
94
|
-
import {
|
|
95
|
-
DescribeTagsCommand,
|
|
96
|
-
DescribeTagsCommandInput,
|
|
97
|
-
DescribeTagsCommandOutput,
|
|
98
|
-
} from "./commands/DescribeTagsCommand";
|
|
99
|
-
import {
|
|
100
|
-
DetachLoadBalancerFromSubnetsCommand,
|
|
101
|
-
DetachLoadBalancerFromSubnetsCommandInput,
|
|
102
|
-
DetachLoadBalancerFromSubnetsCommandOutput,
|
|
103
|
-
} from "./commands/DetachLoadBalancerFromSubnetsCommand";
|
|
104
|
-
import {
|
|
105
|
-
DisableAvailabilityZonesForLoadBalancerCommand,
|
|
106
|
-
DisableAvailabilityZonesForLoadBalancerCommandInput,
|
|
107
|
-
DisableAvailabilityZonesForLoadBalancerCommandOutput,
|
|
108
|
-
} from "./commands/DisableAvailabilityZonesForLoadBalancerCommand";
|
|
109
|
-
import {
|
|
110
|
-
EnableAvailabilityZonesForLoadBalancerCommand,
|
|
111
|
-
EnableAvailabilityZonesForLoadBalancerCommandInput,
|
|
112
|
-
EnableAvailabilityZonesForLoadBalancerCommandOutput,
|
|
113
|
-
} from "./commands/EnableAvailabilityZonesForLoadBalancerCommand";
|
|
114
|
-
import {
|
|
115
|
-
ModifyLoadBalancerAttributesCommand,
|
|
116
|
-
ModifyLoadBalancerAttributesCommandInput,
|
|
117
|
-
ModifyLoadBalancerAttributesCommandOutput,
|
|
118
|
-
} from "./commands/ModifyLoadBalancerAttributesCommand";
|
|
119
|
-
import {
|
|
120
|
-
RegisterInstancesWithLoadBalancerCommand,
|
|
121
|
-
RegisterInstancesWithLoadBalancerCommandInput,
|
|
122
|
-
RegisterInstancesWithLoadBalancerCommandOutput,
|
|
123
|
-
} from "./commands/RegisterInstancesWithLoadBalancerCommand";
|
|
124
|
-
import { RemoveTagsCommand, RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
|
|
125
|
-
import {
|
|
126
|
-
SetLoadBalancerListenerSSLCertificateCommand,
|
|
127
|
-
SetLoadBalancerListenerSSLCertificateCommandInput,
|
|
128
|
-
SetLoadBalancerListenerSSLCertificateCommandOutput,
|
|
129
|
-
} from "./commands/SetLoadBalancerListenerSSLCertificateCommand";
|
|
130
|
-
import {
|
|
131
|
-
SetLoadBalancerPoliciesForBackendServerCommand,
|
|
132
|
-
SetLoadBalancerPoliciesForBackendServerCommandInput,
|
|
133
|
-
SetLoadBalancerPoliciesForBackendServerCommandOutput,
|
|
134
|
-
} from "./commands/SetLoadBalancerPoliciesForBackendServerCommand";
|
|
135
|
-
import {
|
|
136
|
-
SetLoadBalancerPoliciesOfListenerCommand,
|
|
137
|
-
SetLoadBalancerPoliciesOfListenerCommandInput,
|
|
138
|
-
SetLoadBalancerPoliciesOfListenerCommandOutput,
|
|
139
|
-
} from "./commands/SetLoadBalancerPoliciesOfListenerCommand";
|
|
140
|
-
import { ElasticLoadBalancingClient } from "./ElasticLoadBalancingClient";
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* <fullname>Elastic Load Balancing</fullname>
|
|
144
|
-
*
|
|
145
|
-
* <p>A load balancer can distribute incoming traffic across your EC2 instances.
|
|
146
|
-
* This enables you to increase the availability of your application. The load balancer
|
|
147
|
-
* also monitors the health of its registered instances and ensures that it routes traffic
|
|
148
|
-
* only to healthy instances. You configure your load balancer to accept incoming traffic
|
|
149
|
-
* by specifying one or more listeners, which are configured with a protocol and port
|
|
150
|
-
* number for connections from clients to the load balancer and a protocol and port number
|
|
151
|
-
* for connections from the load balancer to the instances.</p>
|
|
152
|
-
* <p>Elastic Load Balancing supports three types of load balancers: Application Load Balancers, Network Load Balancers,
|
|
153
|
-
* and Classic Load Balancers. You can select a load balancer based on your application needs. For more
|
|
154
|
-
* information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User Guide</a>.</p>
|
|
155
|
-
* <p>This reference covers the 2012-06-01 API, which supports Classic Load Balancers.
|
|
156
|
-
* The 2015-12-01 API supports Application Load Balancers and Network Load Balancers.</p>
|
|
157
|
-
*
|
|
158
|
-
* <p>To get started, create a load balancer with one or more listeners using <a>CreateLoadBalancer</a>.
|
|
159
|
-
* Register your instances with the load balancer using <a>RegisterInstancesWithLoadBalancer</a>.</p>
|
|
160
|
-
*
|
|
161
|
-
* <p>All Elastic Load Balancing operations are <i>idempotent</i>, which means
|
|
162
|
-
* that they complete at most one time. If you repeat an operation, it succeeds with a 200 OK
|
|
163
|
-
* response code.</p>
|
|
164
|
-
*/
|
|
165
|
-
export class ElasticLoadBalancing extends ElasticLoadBalancingClient {
|
|
166
|
-
/**
|
|
167
|
-
* <p>Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.</p>
|
|
168
|
-
*
|
|
169
|
-
* <p>Each tag consists of a key and an optional value. If a tag with the same key is already associated
|
|
170
|
-
* with the load balancer, <code>AddTags</code> updates its value.</p>
|
|
171
|
-
*
|
|
172
|
-
* <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>
|
|
173
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
174
|
-
*/
|
|
175
|
-
public addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
|
|
176
|
-
public addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
|
|
177
|
-
public addTags(
|
|
178
|
-
args: AddTagsCommandInput,
|
|
179
|
-
options: __HttpHandlerOptions,
|
|
180
|
-
cb: (err: any, data?: AddTagsCommandOutput) => void
|
|
181
|
-
): void;
|
|
182
|
-
public addTags(
|
|
183
|
-
args: AddTagsCommandInput,
|
|
184
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsCommandOutput) => void),
|
|
185
|
-
cb?: (err: any, data?: AddTagsCommandOutput) => void
|
|
186
|
-
): Promise<AddTagsCommandOutput> | void {
|
|
187
|
-
const command = new AddTagsCommand(args);
|
|
188
|
-
if (typeof optionsOrCb === "function") {
|
|
189
|
-
this.send(command, optionsOrCb);
|
|
190
|
-
} else if (typeof cb === "function") {
|
|
191
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
193
|
-
} else {
|
|
194
|
-
return this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* <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>
|
|
200
|
-
* <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>
|
|
201
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
202
|
-
*/
|
|
203
|
-
public applySecurityGroupsToLoadBalancer(
|
|
204
|
-
args: ApplySecurityGroupsToLoadBalancerCommandInput,
|
|
205
|
-
options?: __HttpHandlerOptions
|
|
206
|
-
): Promise<ApplySecurityGroupsToLoadBalancerCommandOutput>;
|
|
207
|
-
public applySecurityGroupsToLoadBalancer(
|
|
208
|
-
args: ApplySecurityGroupsToLoadBalancerCommandInput,
|
|
209
|
-
cb: (err: any, data?: ApplySecurityGroupsToLoadBalancerCommandOutput) => void
|
|
210
|
-
): void;
|
|
211
|
-
public applySecurityGroupsToLoadBalancer(
|
|
212
|
-
args: ApplySecurityGroupsToLoadBalancerCommandInput,
|
|
213
|
-
options: __HttpHandlerOptions,
|
|
214
|
-
cb: (err: any, data?: ApplySecurityGroupsToLoadBalancerCommandOutput) => void
|
|
215
|
-
): void;
|
|
216
|
-
public applySecurityGroupsToLoadBalancer(
|
|
217
|
-
args: ApplySecurityGroupsToLoadBalancerCommandInput,
|
|
218
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ApplySecurityGroupsToLoadBalancerCommandOutput) => void),
|
|
219
|
-
cb?: (err: any, data?: ApplySecurityGroupsToLoadBalancerCommandOutput) => void
|
|
220
|
-
): Promise<ApplySecurityGroupsToLoadBalancerCommandOutput> | void {
|
|
221
|
-
const command = new ApplySecurityGroupsToLoadBalancerCommand(args);
|
|
222
|
-
if (typeof optionsOrCb === "function") {
|
|
223
|
-
this.send(command, optionsOrCb);
|
|
224
|
-
} else if (typeof cb === "function") {
|
|
225
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
-
} else {
|
|
228
|
-
return this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* <p>Adds one or more subnets to the set of configured subnets for the specified load balancer.</p>
|
|
234
|
-
* <p>The load balancer evenly distributes requests across all registered subnets.
|
|
235
|
-
* 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>
|
|
236
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
237
|
-
*/
|
|
238
|
-
public attachLoadBalancerToSubnets(
|
|
239
|
-
args: AttachLoadBalancerToSubnetsCommandInput,
|
|
240
|
-
options?: __HttpHandlerOptions
|
|
241
|
-
): Promise<AttachLoadBalancerToSubnetsCommandOutput>;
|
|
242
|
-
public attachLoadBalancerToSubnets(
|
|
243
|
-
args: AttachLoadBalancerToSubnetsCommandInput,
|
|
244
|
-
cb: (err: any, data?: AttachLoadBalancerToSubnetsCommandOutput) => void
|
|
245
|
-
): void;
|
|
246
|
-
public attachLoadBalancerToSubnets(
|
|
247
|
-
args: AttachLoadBalancerToSubnetsCommandInput,
|
|
248
|
-
options: __HttpHandlerOptions,
|
|
249
|
-
cb: (err: any, data?: AttachLoadBalancerToSubnetsCommandOutput) => void
|
|
250
|
-
): void;
|
|
251
|
-
public attachLoadBalancerToSubnets(
|
|
252
|
-
args: AttachLoadBalancerToSubnetsCommandInput,
|
|
253
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachLoadBalancerToSubnetsCommandOutput) => void),
|
|
254
|
-
cb?: (err: any, data?: AttachLoadBalancerToSubnetsCommandOutput) => void
|
|
255
|
-
): Promise<AttachLoadBalancerToSubnetsCommandOutput> | void {
|
|
256
|
-
const command = new AttachLoadBalancerToSubnetsCommand(args);
|
|
257
|
-
if (typeof optionsOrCb === "function") {
|
|
258
|
-
this.send(command, optionsOrCb);
|
|
259
|
-
} else if (typeof cb === "function") {
|
|
260
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
-
} else {
|
|
263
|
-
return this.send(command, optionsOrCb);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* <p>Specifies the health check settings to use when evaluating the health state of your EC2 instances.</p>
|
|
269
|
-
* <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>
|
|
270
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
271
|
-
*/
|
|
272
|
-
public configureHealthCheck(
|
|
273
|
-
args: ConfigureHealthCheckCommandInput,
|
|
274
|
-
options?: __HttpHandlerOptions
|
|
275
|
-
): Promise<ConfigureHealthCheckCommandOutput>;
|
|
276
|
-
public configureHealthCheck(
|
|
277
|
-
args: ConfigureHealthCheckCommandInput,
|
|
278
|
-
cb: (err: any, data?: ConfigureHealthCheckCommandOutput) => void
|
|
279
|
-
): void;
|
|
280
|
-
public configureHealthCheck(
|
|
281
|
-
args: ConfigureHealthCheckCommandInput,
|
|
282
|
-
options: __HttpHandlerOptions,
|
|
283
|
-
cb: (err: any, data?: ConfigureHealthCheckCommandOutput) => void
|
|
284
|
-
): void;
|
|
285
|
-
public configureHealthCheck(
|
|
286
|
-
args: ConfigureHealthCheckCommandInput,
|
|
287
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConfigureHealthCheckCommandOutput) => void),
|
|
288
|
-
cb?: (err: any, data?: ConfigureHealthCheckCommandOutput) => void
|
|
289
|
-
): Promise<ConfigureHealthCheckCommandOutput> | void {
|
|
290
|
-
const command = new ConfigureHealthCheckCommand(args);
|
|
291
|
-
if (typeof optionsOrCb === "function") {
|
|
292
|
-
this.send(command, optionsOrCb);
|
|
293
|
-
} else if (typeof cb === "function") {
|
|
294
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
295
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
296
|
-
} else {
|
|
297
|
-
return this.send(command, optionsOrCb);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* <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>
|
|
303
|
-
* <p>This policy is similar to the policy created by <a>CreateLBCookieStickinessPolicy</a>,
|
|
304
|
-
* except that the lifetime of the special Elastic Load Balancing cookie, <code>AWSELB</code>,
|
|
305
|
-
* follows the lifetime of the application-generated cookie specified in the policy configuration.
|
|
306
|
-
* The load balancer only inserts a new stickiness cookie when the application response
|
|
307
|
-
* includes a new application cookie.</p>
|
|
308
|
-
* <p>If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.</p>
|
|
309
|
-
* <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>
|
|
310
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
311
|
-
*/
|
|
312
|
-
public createAppCookieStickinessPolicy(
|
|
313
|
-
args: CreateAppCookieStickinessPolicyCommandInput,
|
|
314
|
-
options?: __HttpHandlerOptions
|
|
315
|
-
): Promise<CreateAppCookieStickinessPolicyCommandOutput>;
|
|
316
|
-
public createAppCookieStickinessPolicy(
|
|
317
|
-
args: CreateAppCookieStickinessPolicyCommandInput,
|
|
318
|
-
cb: (err: any, data?: CreateAppCookieStickinessPolicyCommandOutput) => void
|
|
319
|
-
): void;
|
|
320
|
-
public createAppCookieStickinessPolicy(
|
|
321
|
-
args: CreateAppCookieStickinessPolicyCommandInput,
|
|
322
|
-
options: __HttpHandlerOptions,
|
|
323
|
-
cb: (err: any, data?: CreateAppCookieStickinessPolicyCommandOutput) => void
|
|
324
|
-
): void;
|
|
325
|
-
public createAppCookieStickinessPolicy(
|
|
326
|
-
args: CreateAppCookieStickinessPolicyCommandInput,
|
|
327
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAppCookieStickinessPolicyCommandOutput) => void),
|
|
328
|
-
cb?: (err: any, data?: CreateAppCookieStickinessPolicyCommandOutput) => void
|
|
329
|
-
): Promise<CreateAppCookieStickinessPolicyCommandOutput> | void {
|
|
330
|
-
const command = new CreateAppCookieStickinessPolicyCommand(args);
|
|
331
|
-
if (typeof optionsOrCb === "function") {
|
|
332
|
-
this.send(command, optionsOrCb);
|
|
333
|
-
} else if (typeof cb === "function") {
|
|
334
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
335
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
336
|
-
} else {
|
|
337
|
-
return this.send(command, optionsOrCb);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* <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>
|
|
343
|
-
* <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.
|
|
344
|
-
* 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>
|
|
345
|
-
* <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>
|
|
346
|
-
*
|
|
347
|
-
* <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>
|
|
348
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
349
|
-
*/
|
|
350
|
-
public createLBCookieStickinessPolicy(
|
|
351
|
-
args: CreateLBCookieStickinessPolicyCommandInput,
|
|
352
|
-
options?: __HttpHandlerOptions
|
|
353
|
-
): Promise<CreateLBCookieStickinessPolicyCommandOutput>;
|
|
354
|
-
public createLBCookieStickinessPolicy(
|
|
355
|
-
args: CreateLBCookieStickinessPolicyCommandInput,
|
|
356
|
-
cb: (err: any, data?: CreateLBCookieStickinessPolicyCommandOutput) => void
|
|
357
|
-
): void;
|
|
358
|
-
public createLBCookieStickinessPolicy(
|
|
359
|
-
args: CreateLBCookieStickinessPolicyCommandInput,
|
|
360
|
-
options: __HttpHandlerOptions,
|
|
361
|
-
cb: (err: any, data?: CreateLBCookieStickinessPolicyCommandOutput) => void
|
|
362
|
-
): void;
|
|
363
|
-
public createLBCookieStickinessPolicy(
|
|
364
|
-
args: CreateLBCookieStickinessPolicyCommandInput,
|
|
365
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLBCookieStickinessPolicyCommandOutput) => void),
|
|
366
|
-
cb?: (err: any, data?: CreateLBCookieStickinessPolicyCommandOutput) => void
|
|
367
|
-
): Promise<CreateLBCookieStickinessPolicyCommandOutput> | void {
|
|
368
|
-
const command = new CreateLBCookieStickinessPolicyCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
} else if (typeof cb === "function") {
|
|
372
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
-
} else {
|
|
375
|
-
return this.send(command, optionsOrCb);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* <p>Creates a Classic Load Balancer.</p>
|
|
381
|
-
*
|
|
382
|
-
* <p>You can add listeners, security groups, subnets, and tags when you create your load balancer,
|
|
383
|
-
* or you can add them later using <a>CreateLoadBalancerListeners</a>,
|
|
384
|
-
* <a>ApplySecurityGroupsToLoadBalancer</a>, <a>AttachLoadBalancerToSubnets</a>,
|
|
385
|
-
* and <a>AddTags</a>.</p>
|
|
386
|
-
* <p>To describe your current load balancers, see <a>DescribeLoadBalancers</a>.
|
|
387
|
-
* When you are finished with a load balancer, you can delete it using
|
|
388
|
-
* <a>DeleteLoadBalancer</a>.</p>
|
|
389
|
-
*
|
|
390
|
-
* <p>You can create up to 20 load balancers per region per account.
|
|
391
|
-
* You can request an increase for the number of load balancers for your account.
|
|
392
|
-
* For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html">Limits for Your Classic Load Balancer</a>
|
|
393
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
394
|
-
*/
|
|
395
|
-
public createLoadBalancer(
|
|
396
|
-
args: CreateLoadBalancerCommandInput,
|
|
397
|
-
options?: __HttpHandlerOptions
|
|
398
|
-
): Promise<CreateLoadBalancerCommandOutput>;
|
|
399
|
-
public createLoadBalancer(
|
|
400
|
-
args: CreateLoadBalancerCommandInput,
|
|
401
|
-
cb: (err: any, data?: CreateLoadBalancerCommandOutput) => void
|
|
402
|
-
): void;
|
|
403
|
-
public createLoadBalancer(
|
|
404
|
-
args: CreateLoadBalancerCommandInput,
|
|
405
|
-
options: __HttpHandlerOptions,
|
|
406
|
-
cb: (err: any, data?: CreateLoadBalancerCommandOutput) => void
|
|
407
|
-
): void;
|
|
408
|
-
public createLoadBalancer(
|
|
409
|
-
args: CreateLoadBalancerCommandInput,
|
|
410
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLoadBalancerCommandOutput) => void),
|
|
411
|
-
cb?: (err: any, data?: CreateLoadBalancerCommandOutput) => void
|
|
412
|
-
): Promise<CreateLoadBalancerCommandOutput> | void {
|
|
413
|
-
const command = new CreateLoadBalancerCommand(args);
|
|
414
|
-
if (typeof optionsOrCb === "function") {
|
|
415
|
-
this.send(command, optionsOrCb);
|
|
416
|
-
} else if (typeof cb === "function") {
|
|
417
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
418
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
419
|
-
} else {
|
|
420
|
-
return this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* <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>
|
|
426
|
-
* <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>
|
|
427
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
428
|
-
*/
|
|
429
|
-
public createLoadBalancerListeners(
|
|
430
|
-
args: CreateLoadBalancerListenersCommandInput,
|
|
431
|
-
options?: __HttpHandlerOptions
|
|
432
|
-
): Promise<CreateLoadBalancerListenersCommandOutput>;
|
|
433
|
-
public createLoadBalancerListeners(
|
|
434
|
-
args: CreateLoadBalancerListenersCommandInput,
|
|
435
|
-
cb: (err: any, data?: CreateLoadBalancerListenersCommandOutput) => void
|
|
436
|
-
): void;
|
|
437
|
-
public createLoadBalancerListeners(
|
|
438
|
-
args: CreateLoadBalancerListenersCommandInput,
|
|
439
|
-
options: __HttpHandlerOptions,
|
|
440
|
-
cb: (err: any, data?: CreateLoadBalancerListenersCommandOutput) => void
|
|
441
|
-
): void;
|
|
442
|
-
public createLoadBalancerListeners(
|
|
443
|
-
args: CreateLoadBalancerListenersCommandInput,
|
|
444
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLoadBalancerListenersCommandOutput) => void),
|
|
445
|
-
cb?: (err: any, data?: CreateLoadBalancerListenersCommandOutput) => void
|
|
446
|
-
): Promise<CreateLoadBalancerListenersCommandOutput> | void {
|
|
447
|
-
const command = new CreateLoadBalancerListenersCommand(args);
|
|
448
|
-
if (typeof optionsOrCb === "function") {
|
|
449
|
-
this.send(command, optionsOrCb);
|
|
450
|
-
} else if (typeof cb === "function") {
|
|
451
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
452
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
453
|
-
} else {
|
|
454
|
-
return this.send(command, optionsOrCb);
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* <p>Creates a policy with the specified attributes for the specified load balancer.</p>
|
|
460
|
-
* <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>
|
|
461
|
-
*/
|
|
462
|
-
public createLoadBalancerPolicy(
|
|
463
|
-
args: CreateLoadBalancerPolicyCommandInput,
|
|
464
|
-
options?: __HttpHandlerOptions
|
|
465
|
-
): Promise<CreateLoadBalancerPolicyCommandOutput>;
|
|
466
|
-
public createLoadBalancerPolicy(
|
|
467
|
-
args: CreateLoadBalancerPolicyCommandInput,
|
|
468
|
-
cb: (err: any, data?: CreateLoadBalancerPolicyCommandOutput) => void
|
|
469
|
-
): void;
|
|
470
|
-
public createLoadBalancerPolicy(
|
|
471
|
-
args: CreateLoadBalancerPolicyCommandInput,
|
|
472
|
-
options: __HttpHandlerOptions,
|
|
473
|
-
cb: (err: any, data?: CreateLoadBalancerPolicyCommandOutput) => void
|
|
474
|
-
): void;
|
|
475
|
-
public createLoadBalancerPolicy(
|
|
476
|
-
args: CreateLoadBalancerPolicyCommandInput,
|
|
477
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLoadBalancerPolicyCommandOutput) => void),
|
|
478
|
-
cb?: (err: any, data?: CreateLoadBalancerPolicyCommandOutput) => void
|
|
479
|
-
): Promise<CreateLoadBalancerPolicyCommandOutput> | void {
|
|
480
|
-
const command = new CreateLoadBalancerPolicyCommand(args);
|
|
481
|
-
if (typeof optionsOrCb === "function") {
|
|
482
|
-
this.send(command, optionsOrCb);
|
|
483
|
-
} else if (typeof cb === "function") {
|
|
484
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
485
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
486
|
-
} else {
|
|
487
|
-
return this.send(command, optionsOrCb);
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* <p>Deletes the specified load balancer.</p>
|
|
493
|
-
* <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>
|
|
494
|
-
* <p>If the load balancer does not exist or has already been deleted, the call to
|
|
495
|
-
* <code>DeleteLoadBalancer</code> still succeeds.</p>
|
|
496
|
-
*/
|
|
497
|
-
public deleteLoadBalancer(
|
|
498
|
-
args: DeleteLoadBalancerCommandInput,
|
|
499
|
-
options?: __HttpHandlerOptions
|
|
500
|
-
): Promise<DeleteLoadBalancerCommandOutput>;
|
|
501
|
-
public deleteLoadBalancer(
|
|
502
|
-
args: DeleteLoadBalancerCommandInput,
|
|
503
|
-
cb: (err: any, data?: DeleteLoadBalancerCommandOutput) => void
|
|
504
|
-
): void;
|
|
505
|
-
public deleteLoadBalancer(
|
|
506
|
-
args: DeleteLoadBalancerCommandInput,
|
|
507
|
-
options: __HttpHandlerOptions,
|
|
508
|
-
cb: (err: any, data?: DeleteLoadBalancerCommandOutput) => void
|
|
509
|
-
): void;
|
|
510
|
-
public deleteLoadBalancer(
|
|
511
|
-
args: DeleteLoadBalancerCommandInput,
|
|
512
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLoadBalancerCommandOutput) => void),
|
|
513
|
-
cb?: (err: any, data?: DeleteLoadBalancerCommandOutput) => void
|
|
514
|
-
): Promise<DeleteLoadBalancerCommandOutput> | void {
|
|
515
|
-
const command = new DeleteLoadBalancerCommand(args);
|
|
516
|
-
if (typeof optionsOrCb === "function") {
|
|
517
|
-
this.send(command, optionsOrCb);
|
|
518
|
-
} else if (typeof cb === "function") {
|
|
519
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
520
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
521
|
-
} else {
|
|
522
|
-
return this.send(command, optionsOrCb);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* <p>Deletes the specified listeners from the specified load balancer.</p>
|
|
528
|
-
*/
|
|
529
|
-
public deleteLoadBalancerListeners(
|
|
530
|
-
args: DeleteLoadBalancerListenersCommandInput,
|
|
531
|
-
options?: __HttpHandlerOptions
|
|
532
|
-
): Promise<DeleteLoadBalancerListenersCommandOutput>;
|
|
533
|
-
public deleteLoadBalancerListeners(
|
|
534
|
-
args: DeleteLoadBalancerListenersCommandInput,
|
|
535
|
-
cb: (err: any, data?: DeleteLoadBalancerListenersCommandOutput) => void
|
|
536
|
-
): void;
|
|
537
|
-
public deleteLoadBalancerListeners(
|
|
538
|
-
args: DeleteLoadBalancerListenersCommandInput,
|
|
539
|
-
options: __HttpHandlerOptions,
|
|
540
|
-
cb: (err: any, data?: DeleteLoadBalancerListenersCommandOutput) => void
|
|
541
|
-
): void;
|
|
542
|
-
public deleteLoadBalancerListeners(
|
|
543
|
-
args: DeleteLoadBalancerListenersCommandInput,
|
|
544
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLoadBalancerListenersCommandOutput) => void),
|
|
545
|
-
cb?: (err: any, data?: DeleteLoadBalancerListenersCommandOutput) => void
|
|
546
|
-
): Promise<DeleteLoadBalancerListenersCommandOutput> | void {
|
|
547
|
-
const command = new DeleteLoadBalancerListenersCommand(args);
|
|
548
|
-
if (typeof optionsOrCb === "function") {
|
|
549
|
-
this.send(command, optionsOrCb);
|
|
550
|
-
} else if (typeof cb === "function") {
|
|
551
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
552
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
553
|
-
} else {
|
|
554
|
-
return this.send(command, optionsOrCb);
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* <p>Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.</p>
|
|
560
|
-
*/
|
|
561
|
-
public deleteLoadBalancerPolicy(
|
|
562
|
-
args: DeleteLoadBalancerPolicyCommandInput,
|
|
563
|
-
options?: __HttpHandlerOptions
|
|
564
|
-
): Promise<DeleteLoadBalancerPolicyCommandOutput>;
|
|
565
|
-
public deleteLoadBalancerPolicy(
|
|
566
|
-
args: DeleteLoadBalancerPolicyCommandInput,
|
|
567
|
-
cb: (err: any, data?: DeleteLoadBalancerPolicyCommandOutput) => void
|
|
568
|
-
): void;
|
|
569
|
-
public deleteLoadBalancerPolicy(
|
|
570
|
-
args: DeleteLoadBalancerPolicyCommandInput,
|
|
571
|
-
options: __HttpHandlerOptions,
|
|
572
|
-
cb: (err: any, data?: DeleteLoadBalancerPolicyCommandOutput) => void
|
|
573
|
-
): void;
|
|
574
|
-
public deleteLoadBalancerPolicy(
|
|
575
|
-
args: DeleteLoadBalancerPolicyCommandInput,
|
|
576
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLoadBalancerPolicyCommandOutput) => void),
|
|
577
|
-
cb?: (err: any, data?: DeleteLoadBalancerPolicyCommandOutput) => void
|
|
578
|
-
): Promise<DeleteLoadBalancerPolicyCommandOutput> | void {
|
|
579
|
-
const command = new DeleteLoadBalancerPolicyCommand(args);
|
|
580
|
-
if (typeof optionsOrCb === "function") {
|
|
581
|
-
this.send(command, optionsOrCb);
|
|
582
|
-
} else if (typeof cb === "function") {
|
|
583
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
584
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
585
|
-
} else {
|
|
586
|
-
return this.send(command, optionsOrCb);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* <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>
|
|
592
|
-
*
|
|
593
|
-
* <p>You can use <a>DescribeLoadBalancers</a> to verify that the instance is deregistered from the load balancer.</p>
|
|
594
|
-
*
|
|
595
|
-
* <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>
|
|
596
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
597
|
-
*/
|
|
598
|
-
public deregisterInstancesFromLoadBalancer(
|
|
599
|
-
args: DeregisterInstancesFromLoadBalancerCommandInput,
|
|
600
|
-
options?: __HttpHandlerOptions
|
|
601
|
-
): Promise<DeregisterInstancesFromLoadBalancerCommandOutput>;
|
|
602
|
-
public deregisterInstancesFromLoadBalancer(
|
|
603
|
-
args: DeregisterInstancesFromLoadBalancerCommandInput,
|
|
604
|
-
cb: (err: any, data?: DeregisterInstancesFromLoadBalancerCommandOutput) => void
|
|
605
|
-
): void;
|
|
606
|
-
public deregisterInstancesFromLoadBalancer(
|
|
607
|
-
args: DeregisterInstancesFromLoadBalancerCommandInput,
|
|
608
|
-
options: __HttpHandlerOptions,
|
|
609
|
-
cb: (err: any, data?: DeregisterInstancesFromLoadBalancerCommandOutput) => void
|
|
610
|
-
): void;
|
|
611
|
-
public deregisterInstancesFromLoadBalancer(
|
|
612
|
-
args: DeregisterInstancesFromLoadBalancerCommandInput,
|
|
613
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterInstancesFromLoadBalancerCommandOutput) => void),
|
|
614
|
-
cb?: (err: any, data?: DeregisterInstancesFromLoadBalancerCommandOutput) => void
|
|
615
|
-
): Promise<DeregisterInstancesFromLoadBalancerCommandOutput> | void {
|
|
616
|
-
const command = new DeregisterInstancesFromLoadBalancerCommand(args);
|
|
617
|
-
if (typeof optionsOrCb === "function") {
|
|
618
|
-
this.send(command, optionsOrCb);
|
|
619
|
-
} else if (typeof cb === "function") {
|
|
620
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
621
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
622
|
-
} else {
|
|
623
|
-
return this.send(command, optionsOrCb);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* <p>Describes the current Elastic Load Balancing resource limits for your AWS account.</p>
|
|
629
|
-
* <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>
|
|
630
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
631
|
-
*/
|
|
632
|
-
public describeAccountLimits(
|
|
633
|
-
args: DescribeAccountLimitsCommandInput,
|
|
634
|
-
options?: __HttpHandlerOptions
|
|
635
|
-
): Promise<DescribeAccountLimitsCommandOutput>;
|
|
636
|
-
public describeAccountLimits(
|
|
637
|
-
args: DescribeAccountLimitsCommandInput,
|
|
638
|
-
cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
|
|
639
|
-
): void;
|
|
640
|
-
public describeAccountLimits(
|
|
641
|
-
args: DescribeAccountLimitsCommandInput,
|
|
642
|
-
options: __HttpHandlerOptions,
|
|
643
|
-
cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
|
|
644
|
-
): void;
|
|
645
|
-
public describeAccountLimits(
|
|
646
|
-
args: DescribeAccountLimitsCommandInput,
|
|
647
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountLimitsCommandOutput) => void),
|
|
648
|
-
cb?: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
|
|
649
|
-
): Promise<DescribeAccountLimitsCommandOutput> | void {
|
|
650
|
-
const command = new DescribeAccountLimitsCommand(args);
|
|
651
|
-
if (typeof optionsOrCb === "function") {
|
|
652
|
-
this.send(command, optionsOrCb);
|
|
653
|
-
} else if (typeof cb === "function") {
|
|
654
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
655
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
656
|
-
} else {
|
|
657
|
-
return this.send(command, optionsOrCb);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* <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>
|
|
663
|
-
*/
|
|
664
|
-
public describeInstanceHealth(
|
|
665
|
-
args: DescribeInstanceHealthCommandInput,
|
|
666
|
-
options?: __HttpHandlerOptions
|
|
667
|
-
): Promise<DescribeInstanceHealthCommandOutput>;
|
|
668
|
-
public describeInstanceHealth(
|
|
669
|
-
args: DescribeInstanceHealthCommandInput,
|
|
670
|
-
cb: (err: any, data?: DescribeInstanceHealthCommandOutput) => void
|
|
671
|
-
): void;
|
|
672
|
-
public describeInstanceHealth(
|
|
673
|
-
args: DescribeInstanceHealthCommandInput,
|
|
674
|
-
options: __HttpHandlerOptions,
|
|
675
|
-
cb: (err: any, data?: DescribeInstanceHealthCommandOutput) => void
|
|
676
|
-
): void;
|
|
677
|
-
public describeInstanceHealth(
|
|
678
|
-
args: DescribeInstanceHealthCommandInput,
|
|
679
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeInstanceHealthCommandOutput) => void),
|
|
680
|
-
cb?: (err: any, data?: DescribeInstanceHealthCommandOutput) => void
|
|
681
|
-
): Promise<DescribeInstanceHealthCommandOutput> | void {
|
|
682
|
-
const command = new DescribeInstanceHealthCommand(args);
|
|
683
|
-
if (typeof optionsOrCb === "function") {
|
|
684
|
-
this.send(command, optionsOrCb);
|
|
685
|
-
} else if (typeof cb === "function") {
|
|
686
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
687
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
688
|
-
} else {
|
|
689
|
-
return this.send(command, optionsOrCb);
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* <p>Describes the attributes for the specified load balancer.</p>
|
|
695
|
-
*/
|
|
696
|
-
public describeLoadBalancerAttributes(
|
|
697
|
-
args: DescribeLoadBalancerAttributesCommandInput,
|
|
698
|
-
options?: __HttpHandlerOptions
|
|
699
|
-
): Promise<DescribeLoadBalancerAttributesCommandOutput>;
|
|
700
|
-
public describeLoadBalancerAttributes(
|
|
701
|
-
args: DescribeLoadBalancerAttributesCommandInput,
|
|
702
|
-
cb: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void
|
|
703
|
-
): void;
|
|
704
|
-
public describeLoadBalancerAttributes(
|
|
705
|
-
args: DescribeLoadBalancerAttributesCommandInput,
|
|
706
|
-
options: __HttpHandlerOptions,
|
|
707
|
-
cb: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void
|
|
708
|
-
): void;
|
|
709
|
-
public describeLoadBalancerAttributes(
|
|
710
|
-
args: DescribeLoadBalancerAttributesCommandInput,
|
|
711
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void),
|
|
712
|
-
cb?: (err: any, data?: DescribeLoadBalancerAttributesCommandOutput) => void
|
|
713
|
-
): Promise<DescribeLoadBalancerAttributesCommandOutput> | void {
|
|
714
|
-
const command = new DescribeLoadBalancerAttributesCommand(args);
|
|
715
|
-
if (typeof optionsOrCb === "function") {
|
|
716
|
-
this.send(command, optionsOrCb);
|
|
717
|
-
} else if (typeof cb === "function") {
|
|
718
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
719
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
720
|
-
} else {
|
|
721
|
-
return this.send(command, optionsOrCb);
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* <p>Describes the specified policies.</p>
|
|
727
|
-
* <p>If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer.
|
|
728
|
-
* If you specify a policy name associated with your load balancer, the action returns the description of that policy.
|
|
729
|
-
* If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies.
|
|
730
|
-
* The names of the sample policies have the <code>ELBSample-</code> prefix.</p>
|
|
731
|
-
*/
|
|
732
|
-
public describeLoadBalancerPolicies(
|
|
733
|
-
args: DescribeLoadBalancerPoliciesCommandInput,
|
|
734
|
-
options?: __HttpHandlerOptions
|
|
735
|
-
): Promise<DescribeLoadBalancerPoliciesCommandOutput>;
|
|
736
|
-
public describeLoadBalancerPolicies(
|
|
737
|
-
args: DescribeLoadBalancerPoliciesCommandInput,
|
|
738
|
-
cb: (err: any, data?: DescribeLoadBalancerPoliciesCommandOutput) => void
|
|
739
|
-
): void;
|
|
740
|
-
public describeLoadBalancerPolicies(
|
|
741
|
-
args: DescribeLoadBalancerPoliciesCommandInput,
|
|
742
|
-
options: __HttpHandlerOptions,
|
|
743
|
-
cb: (err: any, data?: DescribeLoadBalancerPoliciesCommandOutput) => void
|
|
744
|
-
): void;
|
|
745
|
-
public describeLoadBalancerPolicies(
|
|
746
|
-
args: DescribeLoadBalancerPoliciesCommandInput,
|
|
747
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancerPoliciesCommandOutput) => void),
|
|
748
|
-
cb?: (err: any, data?: DescribeLoadBalancerPoliciesCommandOutput) => void
|
|
749
|
-
): Promise<DescribeLoadBalancerPoliciesCommandOutput> | void {
|
|
750
|
-
const command = new DescribeLoadBalancerPoliciesCommand(args);
|
|
751
|
-
if (typeof optionsOrCb === "function") {
|
|
752
|
-
this.send(command, optionsOrCb);
|
|
753
|
-
} else if (typeof cb === "function") {
|
|
754
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
755
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
756
|
-
} else {
|
|
757
|
-
return this.send(command, optionsOrCb);
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* <p>Describes the specified load balancer policy types or all load balancer policy types.</p>
|
|
763
|
-
* <p>The description of each type indicates how it can be used. For example,
|
|
764
|
-
* some policies can be used only with layer 7 listeners,
|
|
765
|
-
* some policies can be used only with layer 4 listeners,
|
|
766
|
-
* and some policies can be used only with your EC2 instances.</p>
|
|
767
|
-
* <p>You can use <a>CreateLoadBalancerPolicy</a> to create a policy configuration for any of these policy types.
|
|
768
|
-
* Then, depending on the policy type, use either <a>SetLoadBalancerPoliciesOfListener</a> or
|
|
769
|
-
* <a>SetLoadBalancerPoliciesForBackendServer</a> to set the policy.</p>
|
|
770
|
-
*/
|
|
771
|
-
public describeLoadBalancerPolicyTypes(
|
|
772
|
-
args: DescribeLoadBalancerPolicyTypesCommandInput,
|
|
773
|
-
options?: __HttpHandlerOptions
|
|
774
|
-
): Promise<DescribeLoadBalancerPolicyTypesCommandOutput>;
|
|
775
|
-
public describeLoadBalancerPolicyTypes(
|
|
776
|
-
args: DescribeLoadBalancerPolicyTypesCommandInput,
|
|
777
|
-
cb: (err: any, data?: DescribeLoadBalancerPolicyTypesCommandOutput) => void
|
|
778
|
-
): void;
|
|
779
|
-
public describeLoadBalancerPolicyTypes(
|
|
780
|
-
args: DescribeLoadBalancerPolicyTypesCommandInput,
|
|
781
|
-
options: __HttpHandlerOptions,
|
|
782
|
-
cb: (err: any, data?: DescribeLoadBalancerPolicyTypesCommandOutput) => void
|
|
783
|
-
): void;
|
|
784
|
-
public describeLoadBalancerPolicyTypes(
|
|
785
|
-
args: DescribeLoadBalancerPolicyTypesCommandInput,
|
|
786
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancerPolicyTypesCommandOutput) => void),
|
|
787
|
-
cb?: (err: any, data?: DescribeLoadBalancerPolicyTypesCommandOutput) => void
|
|
788
|
-
): Promise<DescribeLoadBalancerPolicyTypesCommandOutput> | void {
|
|
789
|
-
const command = new DescribeLoadBalancerPolicyTypesCommand(args);
|
|
790
|
-
if (typeof optionsOrCb === "function") {
|
|
791
|
-
this.send(command, optionsOrCb);
|
|
792
|
-
} else if (typeof cb === "function") {
|
|
793
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
794
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
795
|
-
} else {
|
|
796
|
-
return this.send(command, optionsOrCb);
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* <p>Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.</p>
|
|
802
|
-
*/
|
|
803
|
-
public describeLoadBalancers(
|
|
804
|
-
args: DescribeLoadBalancersCommandInput,
|
|
805
|
-
options?: __HttpHandlerOptions
|
|
806
|
-
): Promise<DescribeLoadBalancersCommandOutput>;
|
|
807
|
-
public describeLoadBalancers(
|
|
808
|
-
args: DescribeLoadBalancersCommandInput,
|
|
809
|
-
cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
|
|
810
|
-
): void;
|
|
811
|
-
public describeLoadBalancers(
|
|
812
|
-
args: DescribeLoadBalancersCommandInput,
|
|
813
|
-
options: __HttpHandlerOptions,
|
|
814
|
-
cb: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
|
|
815
|
-
): void;
|
|
816
|
-
public describeLoadBalancers(
|
|
817
|
-
args: DescribeLoadBalancersCommandInput,
|
|
818
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoadBalancersCommandOutput) => void),
|
|
819
|
-
cb?: (err: any, data?: DescribeLoadBalancersCommandOutput) => void
|
|
820
|
-
): Promise<DescribeLoadBalancersCommandOutput> | void {
|
|
821
|
-
const command = new DescribeLoadBalancersCommand(args);
|
|
822
|
-
if (typeof optionsOrCb === "function") {
|
|
823
|
-
this.send(command, optionsOrCb);
|
|
824
|
-
} else if (typeof cb === "function") {
|
|
825
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
826
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
827
|
-
} else {
|
|
828
|
-
return this.send(command, optionsOrCb);
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* <p>Describes the tags associated with the specified load balancers.</p>
|
|
834
|
-
*/
|
|
835
|
-
public describeTags(
|
|
836
|
-
args: DescribeTagsCommandInput,
|
|
837
|
-
options?: __HttpHandlerOptions
|
|
838
|
-
): Promise<DescribeTagsCommandOutput>;
|
|
839
|
-
public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
|
|
840
|
-
public describeTags(
|
|
841
|
-
args: DescribeTagsCommandInput,
|
|
842
|
-
options: __HttpHandlerOptions,
|
|
843
|
-
cb: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
844
|
-
): void;
|
|
845
|
-
public describeTags(
|
|
846
|
-
args: DescribeTagsCommandInput,
|
|
847
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
|
|
848
|
-
cb?: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
849
|
-
): Promise<DescribeTagsCommandOutput> | void {
|
|
850
|
-
const command = new DescribeTagsCommand(args);
|
|
851
|
-
if (typeof optionsOrCb === "function") {
|
|
852
|
-
this.send(command, optionsOrCb);
|
|
853
|
-
} else if (typeof cb === "function") {
|
|
854
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
855
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
856
|
-
} else {
|
|
857
|
-
return this.send(command, optionsOrCb);
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
* <p>Removes the specified subnets from the set of configured subnets for the load balancer.</p>
|
|
863
|
-
* <p>After a subnet is removed, all EC2 instances registered with the load balancer
|
|
864
|
-
* in the removed subnet go into the <code>OutOfService</code> state. Then,
|
|
865
|
-
* the load balancer balances the traffic among the remaining routable subnets.</p>
|
|
866
|
-
*/
|
|
867
|
-
public detachLoadBalancerFromSubnets(
|
|
868
|
-
args: DetachLoadBalancerFromSubnetsCommandInput,
|
|
869
|
-
options?: __HttpHandlerOptions
|
|
870
|
-
): Promise<DetachLoadBalancerFromSubnetsCommandOutput>;
|
|
871
|
-
public detachLoadBalancerFromSubnets(
|
|
872
|
-
args: DetachLoadBalancerFromSubnetsCommandInput,
|
|
873
|
-
cb: (err: any, data?: DetachLoadBalancerFromSubnetsCommandOutput) => void
|
|
874
|
-
): void;
|
|
875
|
-
public detachLoadBalancerFromSubnets(
|
|
876
|
-
args: DetachLoadBalancerFromSubnetsCommandInput,
|
|
877
|
-
options: __HttpHandlerOptions,
|
|
878
|
-
cb: (err: any, data?: DetachLoadBalancerFromSubnetsCommandOutput) => void
|
|
879
|
-
): void;
|
|
880
|
-
public detachLoadBalancerFromSubnets(
|
|
881
|
-
args: DetachLoadBalancerFromSubnetsCommandInput,
|
|
882
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachLoadBalancerFromSubnetsCommandOutput) => void),
|
|
883
|
-
cb?: (err: any, data?: DetachLoadBalancerFromSubnetsCommandOutput) => void
|
|
884
|
-
): Promise<DetachLoadBalancerFromSubnetsCommandOutput> | void {
|
|
885
|
-
const command = new DetachLoadBalancerFromSubnetsCommand(args);
|
|
886
|
-
if (typeof optionsOrCb === "function") {
|
|
887
|
-
this.send(command, optionsOrCb);
|
|
888
|
-
} else if (typeof cb === "function") {
|
|
889
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
890
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
891
|
-
} else {
|
|
892
|
-
return this.send(command, optionsOrCb);
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
/**
|
|
897
|
-
* <p>Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer
|
|
898
|
-
* in EC2-Classic or a default VPC.</p>
|
|
899
|
-
* <p>For load balancers in a non-default VPC, use <a>DetachLoadBalancerFromSubnets</a>.</p>
|
|
900
|
-
* <p>There must be at least one Availability Zone registered with a load balancer at all times.
|
|
901
|
-
* After an Availability Zone is removed, all instances registered with the load balancer that are in the removed
|
|
902
|
-
* Availability Zone go into the <code>OutOfService</code> state. Then, the load balancer attempts to equally balance
|
|
903
|
-
* the traffic among its remaining Availability Zones.</p>
|
|
904
|
-
* <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>
|
|
905
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
906
|
-
*/
|
|
907
|
-
public disableAvailabilityZonesForLoadBalancer(
|
|
908
|
-
args: DisableAvailabilityZonesForLoadBalancerCommandInput,
|
|
909
|
-
options?: __HttpHandlerOptions
|
|
910
|
-
): Promise<DisableAvailabilityZonesForLoadBalancerCommandOutput>;
|
|
911
|
-
public disableAvailabilityZonesForLoadBalancer(
|
|
912
|
-
args: DisableAvailabilityZonesForLoadBalancerCommandInput,
|
|
913
|
-
cb: (err: any, data?: DisableAvailabilityZonesForLoadBalancerCommandOutput) => void
|
|
914
|
-
): void;
|
|
915
|
-
public disableAvailabilityZonesForLoadBalancer(
|
|
916
|
-
args: DisableAvailabilityZonesForLoadBalancerCommandInput,
|
|
917
|
-
options: __HttpHandlerOptions,
|
|
918
|
-
cb: (err: any, data?: DisableAvailabilityZonesForLoadBalancerCommandOutput) => void
|
|
919
|
-
): void;
|
|
920
|
-
public disableAvailabilityZonesForLoadBalancer(
|
|
921
|
-
args: DisableAvailabilityZonesForLoadBalancerCommandInput,
|
|
922
|
-
optionsOrCb?:
|
|
923
|
-
| __HttpHandlerOptions
|
|
924
|
-
| ((err: any, data?: DisableAvailabilityZonesForLoadBalancerCommandOutput) => void),
|
|
925
|
-
cb?: (err: any, data?: DisableAvailabilityZonesForLoadBalancerCommandOutput) => void
|
|
926
|
-
): Promise<DisableAvailabilityZonesForLoadBalancerCommandOutput> | void {
|
|
927
|
-
const command = new DisableAvailabilityZonesForLoadBalancerCommand(args);
|
|
928
|
-
if (typeof optionsOrCb === "function") {
|
|
929
|
-
this.send(command, optionsOrCb);
|
|
930
|
-
} else if (typeof cb === "function") {
|
|
931
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
932
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
933
|
-
} else {
|
|
934
|
-
return this.send(command, optionsOrCb);
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* <p>Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer
|
|
940
|
-
* in EC2-Classic or a default VPC.</p>
|
|
941
|
-
* <p>For load balancers in a non-default VPC, use <a>AttachLoadBalancerToSubnets</a>.</p>
|
|
942
|
-
* <p>The load balancer evenly distributes requests across all its registered Availability Zones
|
|
943
|
-
* 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>
|
|
944
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
945
|
-
*/
|
|
946
|
-
public enableAvailabilityZonesForLoadBalancer(
|
|
947
|
-
args: EnableAvailabilityZonesForLoadBalancerCommandInput,
|
|
948
|
-
options?: __HttpHandlerOptions
|
|
949
|
-
): Promise<EnableAvailabilityZonesForLoadBalancerCommandOutput>;
|
|
950
|
-
public enableAvailabilityZonesForLoadBalancer(
|
|
951
|
-
args: EnableAvailabilityZonesForLoadBalancerCommandInput,
|
|
952
|
-
cb: (err: any, data?: EnableAvailabilityZonesForLoadBalancerCommandOutput) => void
|
|
953
|
-
): void;
|
|
954
|
-
public enableAvailabilityZonesForLoadBalancer(
|
|
955
|
-
args: EnableAvailabilityZonesForLoadBalancerCommandInput,
|
|
956
|
-
options: __HttpHandlerOptions,
|
|
957
|
-
cb: (err: any, data?: EnableAvailabilityZonesForLoadBalancerCommandOutput) => void
|
|
958
|
-
): void;
|
|
959
|
-
public enableAvailabilityZonesForLoadBalancer(
|
|
960
|
-
args: EnableAvailabilityZonesForLoadBalancerCommandInput,
|
|
961
|
-
optionsOrCb?:
|
|
962
|
-
| __HttpHandlerOptions
|
|
963
|
-
| ((err: any, data?: EnableAvailabilityZonesForLoadBalancerCommandOutput) => void),
|
|
964
|
-
cb?: (err: any, data?: EnableAvailabilityZonesForLoadBalancerCommandOutput) => void
|
|
965
|
-
): Promise<EnableAvailabilityZonesForLoadBalancerCommandOutput> | void {
|
|
966
|
-
const command = new EnableAvailabilityZonesForLoadBalancerCommand(args);
|
|
967
|
-
if (typeof optionsOrCb === "function") {
|
|
968
|
-
this.send(command, optionsOrCb);
|
|
969
|
-
} else if (typeof cb === "function") {
|
|
970
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
971
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
972
|
-
} else {
|
|
973
|
-
return this.send(command, optionsOrCb);
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* <p>Modifies the attributes of the specified load balancer.</p>
|
|
979
|
-
* <p>You can modify the load balancer attributes, such as <code>AccessLogs</code>, <code>ConnectionDraining</code>, and
|
|
980
|
-
* <code>CrossZoneLoadBalancing</code> by either enabling or disabling them. Or, you can modify the load balancer attribute
|
|
981
|
-
* <code>ConnectionSettings</code> by specifying an idle connection timeout value for your load balancer.</p>
|
|
982
|
-
* <p>For more information, see the following in the <i>Classic Load Balancers Guide</i>:</p>
|
|
983
|
-
* <ul>
|
|
984
|
-
* <li>
|
|
985
|
-
* <p>
|
|
986
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html">Cross-Zone Load Balancing</a>
|
|
987
|
-
* </p>
|
|
988
|
-
* </li>
|
|
989
|
-
* <li>
|
|
990
|
-
* <p>
|
|
991
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Connection Draining</a>
|
|
992
|
-
* </p>
|
|
993
|
-
* </li>
|
|
994
|
-
* <li>
|
|
995
|
-
* <p>
|
|
996
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html">Access Logs</a>
|
|
997
|
-
* </p>
|
|
998
|
-
* </li>
|
|
999
|
-
* <li>
|
|
1000
|
-
* <p>
|
|
1001
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html">Idle Connection Timeout</a>
|
|
1002
|
-
* </p>
|
|
1003
|
-
* </li>
|
|
1004
|
-
* </ul>
|
|
1005
|
-
*/
|
|
1006
|
-
public modifyLoadBalancerAttributes(
|
|
1007
|
-
args: ModifyLoadBalancerAttributesCommandInput,
|
|
1008
|
-
options?: __HttpHandlerOptions
|
|
1009
|
-
): Promise<ModifyLoadBalancerAttributesCommandOutput>;
|
|
1010
|
-
public modifyLoadBalancerAttributes(
|
|
1011
|
-
args: ModifyLoadBalancerAttributesCommandInput,
|
|
1012
|
-
cb: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void
|
|
1013
|
-
): void;
|
|
1014
|
-
public modifyLoadBalancerAttributes(
|
|
1015
|
-
args: ModifyLoadBalancerAttributesCommandInput,
|
|
1016
|
-
options: __HttpHandlerOptions,
|
|
1017
|
-
cb: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void
|
|
1018
|
-
): void;
|
|
1019
|
-
public modifyLoadBalancerAttributes(
|
|
1020
|
-
args: ModifyLoadBalancerAttributesCommandInput,
|
|
1021
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void),
|
|
1022
|
-
cb?: (err: any, data?: ModifyLoadBalancerAttributesCommandOutput) => void
|
|
1023
|
-
): Promise<ModifyLoadBalancerAttributesCommandOutput> | void {
|
|
1024
|
-
const command = new ModifyLoadBalancerAttributesCommand(args);
|
|
1025
|
-
if (typeof optionsOrCb === "function") {
|
|
1026
|
-
this.send(command, optionsOrCb);
|
|
1027
|
-
} else if (typeof cb === "function") {
|
|
1028
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1029
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1030
|
-
} else {
|
|
1031
|
-
return this.send(command, optionsOrCb);
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* <p>Adds the specified instances to the specified load balancer.</p>
|
|
1037
|
-
*
|
|
1038
|
-
* <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>
|
|
1039
|
-
*
|
|
1040
|
-
* <p>Note that <code>RegisterInstanceWithLoadBalancer</code> completes when the request has been registered.
|
|
1041
|
-
* Instance registration takes a little time to complete. To check the state of the registered instances, use
|
|
1042
|
-
* <a>DescribeLoadBalancers</a> or <a>DescribeInstanceHealth</a>.</p>
|
|
1043
|
-
*
|
|
1044
|
-
* <p>After the instance is registered, it starts receiving traffic
|
|
1045
|
-
* and requests from the load balancer. Any instance that is not
|
|
1046
|
-
* in one of the Availability Zones registered for the load balancer
|
|
1047
|
-
* is moved to the <code>OutOfService</code> state. If an Availability Zone
|
|
1048
|
-
* is added to the load balancer later, any instances registered with the
|
|
1049
|
-
* load balancer move to the <code>InService</code> state.</p>
|
|
1050
|
-
*
|
|
1051
|
-
* <p>To deregister instances from a load balancer, use <a>DeregisterInstancesFromLoadBalancer</a>.</p>
|
|
1052
|
-
*
|
|
1053
|
-
* <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>
|
|
1054
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
1055
|
-
*/
|
|
1056
|
-
public registerInstancesWithLoadBalancer(
|
|
1057
|
-
args: RegisterInstancesWithLoadBalancerCommandInput,
|
|
1058
|
-
options?: __HttpHandlerOptions
|
|
1059
|
-
): Promise<RegisterInstancesWithLoadBalancerCommandOutput>;
|
|
1060
|
-
public registerInstancesWithLoadBalancer(
|
|
1061
|
-
args: RegisterInstancesWithLoadBalancerCommandInput,
|
|
1062
|
-
cb: (err: any, data?: RegisterInstancesWithLoadBalancerCommandOutput) => void
|
|
1063
|
-
): void;
|
|
1064
|
-
public registerInstancesWithLoadBalancer(
|
|
1065
|
-
args: RegisterInstancesWithLoadBalancerCommandInput,
|
|
1066
|
-
options: __HttpHandlerOptions,
|
|
1067
|
-
cb: (err: any, data?: RegisterInstancesWithLoadBalancerCommandOutput) => void
|
|
1068
|
-
): void;
|
|
1069
|
-
public registerInstancesWithLoadBalancer(
|
|
1070
|
-
args: RegisterInstancesWithLoadBalancerCommandInput,
|
|
1071
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterInstancesWithLoadBalancerCommandOutput) => void),
|
|
1072
|
-
cb?: (err: any, data?: RegisterInstancesWithLoadBalancerCommandOutput) => void
|
|
1073
|
-
): Promise<RegisterInstancesWithLoadBalancerCommandOutput> | void {
|
|
1074
|
-
const command = new RegisterInstancesWithLoadBalancerCommand(args);
|
|
1075
|
-
if (typeof optionsOrCb === "function") {
|
|
1076
|
-
this.send(command, optionsOrCb);
|
|
1077
|
-
} else if (typeof cb === "function") {
|
|
1078
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1079
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1080
|
-
} else {
|
|
1081
|
-
return this.send(command, optionsOrCb);
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* <p>Removes one or more tags from the specified load balancer.</p>
|
|
1087
|
-
*/
|
|
1088
|
-
public removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
|
|
1089
|
-
public removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
|
|
1090
|
-
public removeTags(
|
|
1091
|
-
args: RemoveTagsCommandInput,
|
|
1092
|
-
options: __HttpHandlerOptions,
|
|
1093
|
-
cb: (err: any, data?: RemoveTagsCommandOutput) => void
|
|
1094
|
-
): void;
|
|
1095
|
-
public removeTags(
|
|
1096
|
-
args: RemoveTagsCommandInput,
|
|
1097
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsCommandOutput) => void),
|
|
1098
|
-
cb?: (err: any, data?: RemoveTagsCommandOutput) => void
|
|
1099
|
-
): Promise<RemoveTagsCommandOutput> | void {
|
|
1100
|
-
const command = new RemoveTagsCommand(args);
|
|
1101
|
-
if (typeof optionsOrCb === "function") {
|
|
1102
|
-
this.send(command, optionsOrCb);
|
|
1103
|
-
} else if (typeof cb === "function") {
|
|
1104
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1105
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1106
|
-
} else {
|
|
1107
|
-
return this.send(command, optionsOrCb);
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
/**
|
|
1112
|
-
* <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>
|
|
1113
|
-
*
|
|
1114
|
-
* <p>For more information about updating your SSL certificate, see
|
|
1115
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-update-ssl-cert.html">Replace the SSL Certificate for Your Load Balancer</a>
|
|
1116
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
1117
|
-
*/
|
|
1118
|
-
public setLoadBalancerListenerSSLCertificate(
|
|
1119
|
-
args: SetLoadBalancerListenerSSLCertificateCommandInput,
|
|
1120
|
-
options?: __HttpHandlerOptions
|
|
1121
|
-
): Promise<SetLoadBalancerListenerSSLCertificateCommandOutput>;
|
|
1122
|
-
public setLoadBalancerListenerSSLCertificate(
|
|
1123
|
-
args: SetLoadBalancerListenerSSLCertificateCommandInput,
|
|
1124
|
-
cb: (err: any, data?: SetLoadBalancerListenerSSLCertificateCommandOutput) => void
|
|
1125
|
-
): void;
|
|
1126
|
-
public setLoadBalancerListenerSSLCertificate(
|
|
1127
|
-
args: SetLoadBalancerListenerSSLCertificateCommandInput,
|
|
1128
|
-
options: __HttpHandlerOptions,
|
|
1129
|
-
cb: (err: any, data?: SetLoadBalancerListenerSSLCertificateCommandOutput) => void
|
|
1130
|
-
): void;
|
|
1131
|
-
public setLoadBalancerListenerSSLCertificate(
|
|
1132
|
-
args: SetLoadBalancerListenerSSLCertificateCommandInput,
|
|
1133
|
-
optionsOrCb?:
|
|
1134
|
-
| __HttpHandlerOptions
|
|
1135
|
-
| ((err: any, data?: SetLoadBalancerListenerSSLCertificateCommandOutput) => void),
|
|
1136
|
-
cb?: (err: any, data?: SetLoadBalancerListenerSSLCertificateCommandOutput) => void
|
|
1137
|
-
): Promise<SetLoadBalancerListenerSSLCertificateCommandOutput> | void {
|
|
1138
|
-
const command = new SetLoadBalancerListenerSSLCertificateCommand(args);
|
|
1139
|
-
if (typeof optionsOrCb === "function") {
|
|
1140
|
-
this.send(command, optionsOrCb);
|
|
1141
|
-
} else if (typeof cb === "function") {
|
|
1142
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1143
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1144
|
-
} else {
|
|
1145
|
-
return this.send(command, optionsOrCb);
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* <p>Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies.
|
|
1151
|
-
* 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>
|
|
1152
|
-
* <p>Each time you use <code>SetLoadBalancerPoliciesForBackendServer</code> to enable the policies,
|
|
1153
|
-
* use the <code>PolicyNames</code> parameter to list the policies that you want to enable.</p>
|
|
1154
|
-
* <p>You can use <a>DescribeLoadBalancers</a> or <a>DescribeLoadBalancerPolicies</a> to verify that the policy
|
|
1155
|
-
* is associated with the EC2 instance.</p>
|
|
1156
|
-
*
|
|
1157
|
-
* <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>
|
|
1158
|
-
* in the <i>Classic Load Balancers Guide</i>. For more information about Proxy Protocol, see
|
|
1159
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-proxy-protocol.html">Configure Proxy Protocol Support</a>
|
|
1160
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
1161
|
-
*/
|
|
1162
|
-
public setLoadBalancerPoliciesForBackendServer(
|
|
1163
|
-
args: SetLoadBalancerPoliciesForBackendServerCommandInput,
|
|
1164
|
-
options?: __HttpHandlerOptions
|
|
1165
|
-
): Promise<SetLoadBalancerPoliciesForBackendServerCommandOutput>;
|
|
1166
|
-
public setLoadBalancerPoliciesForBackendServer(
|
|
1167
|
-
args: SetLoadBalancerPoliciesForBackendServerCommandInput,
|
|
1168
|
-
cb: (err: any, data?: SetLoadBalancerPoliciesForBackendServerCommandOutput) => void
|
|
1169
|
-
): void;
|
|
1170
|
-
public setLoadBalancerPoliciesForBackendServer(
|
|
1171
|
-
args: SetLoadBalancerPoliciesForBackendServerCommandInput,
|
|
1172
|
-
options: __HttpHandlerOptions,
|
|
1173
|
-
cb: (err: any, data?: SetLoadBalancerPoliciesForBackendServerCommandOutput) => void
|
|
1174
|
-
): void;
|
|
1175
|
-
public setLoadBalancerPoliciesForBackendServer(
|
|
1176
|
-
args: SetLoadBalancerPoliciesForBackendServerCommandInput,
|
|
1177
|
-
optionsOrCb?:
|
|
1178
|
-
| __HttpHandlerOptions
|
|
1179
|
-
| ((err: any, data?: SetLoadBalancerPoliciesForBackendServerCommandOutput) => void),
|
|
1180
|
-
cb?: (err: any, data?: SetLoadBalancerPoliciesForBackendServerCommandOutput) => void
|
|
1181
|
-
): Promise<SetLoadBalancerPoliciesForBackendServerCommandOutput> | void {
|
|
1182
|
-
const command = new SetLoadBalancerPoliciesForBackendServerCommand(args);
|
|
1183
|
-
if (typeof optionsOrCb === "function") {
|
|
1184
|
-
this.send(command, optionsOrCb);
|
|
1185
|
-
} else if (typeof cb === "function") {
|
|
1186
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1188
|
-
} else {
|
|
1189
|
-
return this.send(command, optionsOrCb);
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* <p>Replaces the current set of policies for the specified load balancer port with the specified set of policies.</p>
|
|
1195
|
-
* <p>To enable back-end server authentication, use <a>SetLoadBalancerPoliciesForBackendServer</a>.</p>
|
|
1196
|
-
* <p>For more information about setting policies, see
|
|
1197
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ssl-config-update.html">Update the SSL Negotiation Configuration</a>,
|
|
1198
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-duration">Duration-Based Session Stickiness</a>, and
|
|
1199
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application">Application-Controlled Session Stickiness</a>
|
|
1200
|
-
* in the <i>Classic Load Balancers Guide</i>.</p>
|
|
1201
|
-
*/
|
|
1202
|
-
public setLoadBalancerPoliciesOfListener(
|
|
1203
|
-
args: SetLoadBalancerPoliciesOfListenerCommandInput,
|
|
1204
|
-
options?: __HttpHandlerOptions
|
|
1205
|
-
): Promise<SetLoadBalancerPoliciesOfListenerCommandOutput>;
|
|
1206
|
-
public setLoadBalancerPoliciesOfListener(
|
|
1207
|
-
args: SetLoadBalancerPoliciesOfListenerCommandInput,
|
|
1208
|
-
cb: (err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void
|
|
1209
|
-
): void;
|
|
1210
|
-
public setLoadBalancerPoliciesOfListener(
|
|
1211
|
-
args: SetLoadBalancerPoliciesOfListenerCommandInput,
|
|
1212
|
-
options: __HttpHandlerOptions,
|
|
1213
|
-
cb: (err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void
|
|
1214
|
-
): void;
|
|
1215
|
-
public setLoadBalancerPoliciesOfListener(
|
|
1216
|
-
args: SetLoadBalancerPoliciesOfListenerCommandInput,
|
|
1217
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void),
|
|
1218
|
-
cb?: (err: any, data?: SetLoadBalancerPoliciesOfListenerCommandOutput) => void
|
|
1219
|
-
): Promise<SetLoadBalancerPoliciesOfListenerCommandOutput> | void {
|
|
1220
|
-
const command = new SetLoadBalancerPoliciesOfListenerCommand(args);
|
|
1221
|
-
if (typeof optionsOrCb === "function") {
|
|
1222
|
-
this.send(command, optionsOrCb);
|
|
1223
|
-
} else if (typeof cb === "function") {
|
|
1224
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1225
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1226
|
-
} else {
|
|
1227
|
-
return this.send(command, optionsOrCb);
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
}
|