@aws-sdk/client-elastic-load-balancing 3.288.0 → 3.290.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AddTagsCommand.d.ts +33 -0
- package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +31 -0
- package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +35 -0
- package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +33 -0
- package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +26 -0
- package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +26 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +198 -0
- package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +57 -0
- package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +73 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +12 -0
- package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +18 -0
- package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +19 -0
- package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +35 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +36 -0
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +37 -0
- package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +37 -0
- package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +34 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +110 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +36 -0
- package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +28 -0
- package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +28 -0
- package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +26 -0
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +64 -0
- package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +38 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +22 -0
- package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +31 -0
- package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +25 -0
- package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +28 -0
- package/package.json +30 -30
|
@@ -34,6 +34,41 @@ export interface DeregisterInstancesFromLoadBalancerCommandOutput extends Deregi
|
|
|
34
34
|
* @see {@link DeregisterInstancesFromLoadBalancerCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
38
|
+
* <p>The specified load balancer does not exist.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidEndPointException} (client fault)
|
|
41
|
+
* <p>The specified endpoint is not valid.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @example To deregister instances from a load balancer
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // This example deregisters the specified instance from the specified load balancer.
|
|
47
|
+
* const input = {
|
|
48
|
+
* "Instances": [
|
|
49
|
+
* {
|
|
50
|
+
* "InstanceId": "i-d6f6fae3"
|
|
51
|
+
* }
|
|
52
|
+
* ],
|
|
53
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
54
|
+
* };
|
|
55
|
+
* const command = new DeregisterInstancesFromLoadBalancerCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* /* response ==
|
|
58
|
+
* {
|
|
59
|
+
* "Instances": [
|
|
60
|
+
* {
|
|
61
|
+
* "InstanceId": "i-207d9717"
|
|
62
|
+
* },
|
|
63
|
+
* {
|
|
64
|
+
* "InstanceId": "i-afefb49b"
|
|
65
|
+
* }
|
|
66
|
+
* ]
|
|
67
|
+
* }
|
|
68
|
+
* *\/
|
|
69
|
+
* // example id: elb-deregister-instances-from-load-balancer-1
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
37
72
|
*/
|
|
38
73
|
export declare class DeregisterInstancesFromLoadBalancerCommand extends $Command<DeregisterInstancesFromLoadBalancerCommandInput, DeregisterInstancesFromLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
39
74
|
readonly input: DeregisterInstancesFromLoadBalancerCommandInput;
|
|
@@ -31,6 +31,7 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
31
31
|
* @see {@link DescribeAccountLimitsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
*
|
|
34
35
|
*/
|
|
35
36
|
export declare class DescribeAccountLimitsCommand extends $Command<DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
36
37
|
readonly input: DescribeAccountLimitsCommandInput;
|
|
@@ -29,6 +29,42 @@ export interface DescribeInstanceHealthCommandOutput extends DescribeEndPointSta
|
|
|
29
29
|
* @see {@link DescribeInstanceHealthCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
33
|
+
* <p>The specified load balancer does not exist.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidEndPointException} (client fault)
|
|
36
|
+
* <p>The specified endpoint is not valid.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* @example To describe the health of the instances for a load balancer
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // This example describes the health of the instances for the specified load balancer.
|
|
42
|
+
* const input = {
|
|
43
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeInstanceHealthCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* /* response ==
|
|
48
|
+
* {
|
|
49
|
+
* "InstanceStates": [
|
|
50
|
+
* {
|
|
51
|
+
* "Description": "N/A",
|
|
52
|
+
* "InstanceId": "i-207d9717",
|
|
53
|
+
* "ReasonCode": "N/A",
|
|
54
|
+
* "State": "InService"
|
|
55
|
+
* },
|
|
56
|
+
* {
|
|
57
|
+
* "Description": "N/A",
|
|
58
|
+
* "InstanceId": "i-afefb49b",
|
|
59
|
+
* "ReasonCode": "N/A",
|
|
60
|
+
* "State": "InService"
|
|
61
|
+
* }
|
|
62
|
+
* ]
|
|
63
|
+
* }
|
|
64
|
+
* *\/
|
|
65
|
+
* // example id: elb-describe-instance-health-1
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
32
68
|
*/
|
|
33
69
|
export declare class DescribeInstanceHealthCommand extends $Command<DescribeInstanceHealthCommandInput, DescribeInstanceHealthCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
34
70
|
readonly input: DescribeInstanceHealthCommandInput;
|
|
@@ -29,6 +29,43 @@ export interface DescribeLoadBalancerAttributesCommandOutput extends DescribeLoa
|
|
|
29
29
|
* @see {@link DescribeLoadBalancerAttributesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
33
|
+
* <p>The specified load balancer does not exist.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link LoadBalancerAttributeNotFoundException} (client fault)
|
|
36
|
+
* <p>The specified load balancer attribute does not exist.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* @example To describe the attributes of a load balancer
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // This example describes the attributes of the specified load balancer.
|
|
42
|
+
* const input = {
|
|
43
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeLoadBalancerAttributesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* /* response ==
|
|
48
|
+
* {
|
|
49
|
+
* "LoadBalancerAttributes": {
|
|
50
|
+
* "AccessLog": {
|
|
51
|
+
* "Enabled": false
|
|
52
|
+
* },
|
|
53
|
+
* "ConnectionDraining": {
|
|
54
|
+
* "Enabled": false,
|
|
55
|
+
* "Timeout": 300
|
|
56
|
+
* },
|
|
57
|
+
* "ConnectionSettings": {
|
|
58
|
+
* "IdleTimeout": 60
|
|
59
|
+
* },
|
|
60
|
+
* "CrossZoneLoadBalancing": {
|
|
61
|
+
* "Enabled": false
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
65
|
+
* *\/
|
|
66
|
+
* // example id: elb-describe-load-balancer-attributes-1
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
32
69
|
*/
|
|
33
70
|
export declare class DescribeLoadBalancerAttributesCommand extends $Command<DescribeLoadBalancerAttributesCommandInput, DescribeLoadBalancerAttributesCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
34
71
|
readonly input: DescribeLoadBalancerAttributesCommandInput;
|
|
@@ -33,6 +33,43 @@ export interface DescribeLoadBalancerPoliciesCommandOutput extends DescribeLoadB
|
|
|
33
33
|
* @see {@link DescribeLoadBalancerPoliciesCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
37
|
+
* <p>The specified load balancer does not exist.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link PolicyNotFoundException} (client fault)
|
|
40
|
+
* <p>One or more of the specified policies do not exist.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* @example To describe a policy associated with a load balancer
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // This example describes the specified policy associated with the specified load balancer.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "LoadBalancerName": "my-load-balancer",
|
|
48
|
+
* "PolicyNames": [
|
|
49
|
+
* "my-authentication-policy"
|
|
50
|
+
* ]
|
|
51
|
+
* };
|
|
52
|
+
* const command = new DescribeLoadBalancerPoliciesCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* /* response ==
|
|
55
|
+
* {
|
|
56
|
+
* "PolicyDescriptions": [
|
|
57
|
+
* {
|
|
58
|
+
* "PolicyAttributeDescriptions": [
|
|
59
|
+
* {
|
|
60
|
+
* "AttributeName": "PublicKeyPolicyName",
|
|
61
|
+
* "AttributeValue": "my-PublicKey-policy"
|
|
62
|
+
* }
|
|
63
|
+
* ],
|
|
64
|
+
* "PolicyName": "my-authentication-policy",
|
|
65
|
+
* "PolicyTypeName": "BackendServerAuthenticationPolicyType"
|
|
66
|
+
* }
|
|
67
|
+
* ]
|
|
68
|
+
* }
|
|
69
|
+
* *\/
|
|
70
|
+
* // example id: elb-describe-load-balancer-policies-1
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
36
73
|
*/
|
|
37
74
|
export declare class DescribeLoadBalancerPoliciesCommand extends $Command<DescribeLoadBalancerPoliciesCommandInput, DescribeLoadBalancerPoliciesCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
38
75
|
readonly input: DescribeLoadBalancerPoliciesCommandInput;
|
|
@@ -36,6 +36,40 @@ export interface DescribeLoadBalancerPolicyTypesCommandOutput extends DescribeLo
|
|
|
36
36
|
* @see {@link DescribeLoadBalancerPolicyTypesCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link PolicyTypeNotFoundException} (client fault)
|
|
40
|
+
* <p>One or more of the specified policy types do not exist.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* @example To describe a load balancer policy type defined by Elastic Load Balancing
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // This example describes the specified load balancer policy type.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "PolicyTypeNames": [
|
|
48
|
+
* "ProxyProtocolPolicyType"
|
|
49
|
+
* ]
|
|
50
|
+
* };
|
|
51
|
+
* const command = new DescribeLoadBalancerPolicyTypesCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* /* response ==
|
|
54
|
+
* {
|
|
55
|
+
* "PolicyTypeDescriptions": [
|
|
56
|
+
* {
|
|
57
|
+
* "Description": "Policy that controls whether to include the IP address and port of the originating request for TCP messages. This policy operates on TCP listeners only.",
|
|
58
|
+
* "PolicyAttributeTypeDescriptions": [
|
|
59
|
+
* {
|
|
60
|
+
* "AttributeName": "ProxyProtocol",
|
|
61
|
+
* "AttributeType": "Boolean",
|
|
62
|
+
* "Cardinality": "ONE"
|
|
63
|
+
* }
|
|
64
|
+
* ],
|
|
65
|
+
* "PolicyTypeName": "ProxyProtocolPolicyType"
|
|
66
|
+
* }
|
|
67
|
+
* ]
|
|
68
|
+
* }
|
|
69
|
+
* *\/
|
|
70
|
+
* // example id: elb-describe-load-balancer-policy-types-1
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
39
73
|
*/
|
|
40
74
|
export declare class DescribeLoadBalancerPolicyTypesCommand extends $Command<DescribeLoadBalancerPolicyTypesCommandInput, DescribeLoadBalancerPolicyTypesCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
41
75
|
readonly input: DescribeLoadBalancerPolicyTypesCommandInput;
|
|
@@ -29,6 +29,116 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeAccessPoints
|
|
|
29
29
|
* @see {@link DescribeLoadBalancersCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
33
|
+
* <p>The specified load balancer does not exist.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link DependencyThrottleException} (client fault)
|
|
36
|
+
* <p>A request made by Elastic Load Balancing to another service exceeds the maximum request rate permitted for your account.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* @example To describe one of your load balancers
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // This example describes the specified load balancer.
|
|
42
|
+
* const input = {
|
|
43
|
+
* "LoadBalancerNames": [
|
|
44
|
+
* "my-load-balancer"
|
|
45
|
+
* ]
|
|
46
|
+
* };
|
|
47
|
+
* const command = new DescribeLoadBalancersCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* /* response ==
|
|
50
|
+
* {
|
|
51
|
+
* "LoadBalancerDescriptions": [
|
|
52
|
+
* {
|
|
53
|
+
* "AvailabilityZones": [
|
|
54
|
+
* "us-west-2a"
|
|
55
|
+
* ],
|
|
56
|
+
* "BackendServerDescriptions": [
|
|
57
|
+
* {
|
|
58
|
+
* "InstancePort": 80,
|
|
59
|
+
* "PolicyNames": [
|
|
60
|
+
* "my-ProxyProtocol-policy"
|
|
61
|
+
* ]
|
|
62
|
+
* }
|
|
63
|
+
* ],
|
|
64
|
+
* "CanonicalHostedZoneName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
|
|
65
|
+
* "CanonicalHostedZoneNameID": "Z3DZXE0EXAMPLE",
|
|
66
|
+
* "CreatedTime": "2015-03-19T03:24:02.650Z",
|
|
67
|
+
* "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
|
|
68
|
+
* "HealthCheck": {
|
|
69
|
+
* "HealthyThreshold": 2,
|
|
70
|
+
* "Interval": 30,
|
|
71
|
+
* "Target": "HTTP:80/png",
|
|
72
|
+
* "Timeout": 3,
|
|
73
|
+
* "UnhealthyThreshold": 2
|
|
74
|
+
* },
|
|
75
|
+
* "Instances": [
|
|
76
|
+
* {
|
|
77
|
+
* "InstanceId": "i-207d9717"
|
|
78
|
+
* },
|
|
79
|
+
* {
|
|
80
|
+
* "InstanceId": "i-afefb49b"
|
|
81
|
+
* }
|
|
82
|
+
* ],
|
|
83
|
+
* "ListenerDescriptions": [
|
|
84
|
+
* {
|
|
85
|
+
* "Listener": {
|
|
86
|
+
* "InstancePort": 80,
|
|
87
|
+
* "InstanceProtocol": "HTTP",
|
|
88
|
+
* "LoadBalancerPort": 80,
|
|
89
|
+
* "Protocol": "HTTP"
|
|
90
|
+
* },
|
|
91
|
+
* "PolicyNames": []
|
|
92
|
+
* },
|
|
93
|
+
* {
|
|
94
|
+
* "Listener": {
|
|
95
|
+
* "InstancePort": 443,
|
|
96
|
+
* "InstanceProtocol": "HTTPS",
|
|
97
|
+
* "LoadBalancerPort": 443,
|
|
98
|
+
* "Protocol": "HTTPS",
|
|
99
|
+
* "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
|
|
100
|
+
* },
|
|
101
|
+
* "PolicyNames": [
|
|
102
|
+
* "ELBSecurityPolicy-2015-03"
|
|
103
|
+
* ]
|
|
104
|
+
* }
|
|
105
|
+
* ],
|
|
106
|
+
* "LoadBalancerName": "my-load-balancer",
|
|
107
|
+
* "Policies": {
|
|
108
|
+
* "AppCookieStickinessPolicies": [],
|
|
109
|
+
* "LBCookieStickinessPolicies": [
|
|
110
|
+
* {
|
|
111
|
+
* "CookieExpirationPeriod": 60,
|
|
112
|
+
* "PolicyName": "my-duration-cookie-policy"
|
|
113
|
+
* }
|
|
114
|
+
* ],
|
|
115
|
+
* "OtherPolicies": [
|
|
116
|
+
* "my-PublicKey-policy",
|
|
117
|
+
* "my-authentication-policy",
|
|
118
|
+
* "my-SSLNegotiation-policy",
|
|
119
|
+
* "my-ProxyProtocol-policy",
|
|
120
|
+
* "ELBSecurityPolicy-2015-03"
|
|
121
|
+
* ]
|
|
122
|
+
* },
|
|
123
|
+
* "Scheme": "internet-facing",
|
|
124
|
+
* "SecurityGroups": [
|
|
125
|
+
* "sg-a61988c3"
|
|
126
|
+
* ],
|
|
127
|
+
* "SourceSecurityGroup": {
|
|
128
|
+
* "GroupName": "my-elb-sg",
|
|
129
|
+
* "OwnerAlias": "123456789012"
|
|
130
|
+
* },
|
|
131
|
+
* "Subnets": [
|
|
132
|
+
* "subnet-15aaab61"
|
|
133
|
+
* ],
|
|
134
|
+
* "VPCId": "vpc-a01106c2"
|
|
135
|
+
* }
|
|
136
|
+
* ]
|
|
137
|
+
* }
|
|
138
|
+
* *\/
|
|
139
|
+
* // example id: elb-describe-load-balancers-1
|
|
140
|
+
* ```
|
|
141
|
+
*
|
|
32
142
|
*/
|
|
33
143
|
export declare class DescribeLoadBalancersCommand extends $Command<DescribeLoadBalancersCommandInput, DescribeLoadBalancersCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
34
144
|
readonly input: DescribeLoadBalancersCommandInput;
|
|
@@ -29,6 +29,42 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
|
|
|
29
29
|
* @see {@link DescribeTagsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
33
|
+
* <p>The specified load balancer does not exist.</p>
|
|
34
|
+
*
|
|
35
|
+
*
|
|
36
|
+
* @example To describe the tags for a load balancer
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // This example describes the tags for the specified load balancer.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "LoadBalancerNames": [
|
|
41
|
+
* "my-load-balancer"
|
|
42
|
+
* ]
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DescribeTagsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* /* response ==
|
|
47
|
+
* {
|
|
48
|
+
* "TagDescriptions": [
|
|
49
|
+
* {
|
|
50
|
+
* "LoadBalancerName": "my-load-balancer",
|
|
51
|
+
* "Tags": [
|
|
52
|
+
* {
|
|
53
|
+
* "Key": "project",
|
|
54
|
+
* "Value": "lima"
|
|
55
|
+
* },
|
|
56
|
+
* {
|
|
57
|
+
* "Key": "department",
|
|
58
|
+
* "Value": "digital-media"
|
|
59
|
+
* }
|
|
60
|
+
* ]
|
|
61
|
+
* }
|
|
62
|
+
* ]
|
|
63
|
+
* }
|
|
64
|
+
* *\/
|
|
65
|
+
* // example id: elb-describe-tags-1
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
32
68
|
*/
|
|
33
69
|
export declare class DescribeTagsCommand extends $Command<DescribeTagsCommandInput, DescribeTagsCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
34
70
|
readonly input: DescribeTagsCommandInput;
|
|
@@ -32,6 +32,34 @@ export interface DetachLoadBalancerFromSubnetsCommandOutput extends DetachLoadBa
|
|
|
32
32
|
* @see {@link DetachLoadBalancerFromSubnetsCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
36
|
+
* <p>The specified load balancer does not exist.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InvalidConfigurationRequestException} (client fault)
|
|
39
|
+
* <p>The requested configuration change is not valid.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
42
|
+
* @example To detach a load balancer from a subnet
|
|
43
|
+
* ```javascript
|
|
44
|
+
* // This example detaches the specified load balancer from the specified subnet.
|
|
45
|
+
* const input = {
|
|
46
|
+
* "LoadBalancerName": "my-load-balancer",
|
|
47
|
+
* "Subnets": [
|
|
48
|
+
* "subnet-0ecac448"
|
|
49
|
+
* ]
|
|
50
|
+
* };
|
|
51
|
+
* const command = new DetachLoadBalancerFromSubnetsCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* /* response ==
|
|
54
|
+
* {
|
|
55
|
+
* "Subnets": [
|
|
56
|
+
* "subnet-15aaab61"
|
|
57
|
+
* ]
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: elb-detach-load-balancer-from-subnets-1
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
35
63
|
*/
|
|
36
64
|
export declare class DetachLoadBalancerFromSubnetsCommand extends $Command<DetachLoadBalancerFromSubnetsCommandInput, DetachLoadBalancerFromSubnetsCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
37
65
|
readonly input: DetachLoadBalancerFromSubnetsCommandInput;
|
|
@@ -37,6 +37,34 @@ export interface DisableAvailabilityZonesForLoadBalancerCommandOutput extends Re
|
|
|
37
37
|
* @see {@link DisableAvailabilityZonesForLoadBalancerCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
41
|
+
* <p>The specified load balancer does not exist.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidConfigurationRequestException} (client fault)
|
|
44
|
+
* <p>The requested configuration change is not valid.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* @example To disable an Availability Zone for a load balancer
|
|
48
|
+
* ```javascript
|
|
49
|
+
* // This example removes the specified Availability Zone from the set of Availability Zones for the specified load balancer.
|
|
50
|
+
* const input = {
|
|
51
|
+
* "AvailabilityZones": [
|
|
52
|
+
* "us-west-2a"
|
|
53
|
+
* ],
|
|
54
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
55
|
+
* };
|
|
56
|
+
* const command = new DisableAvailabilityZonesForLoadBalancerCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* /* response ==
|
|
59
|
+
* {
|
|
60
|
+
* "AvailabilityZones": [
|
|
61
|
+
* "us-west-2b"
|
|
62
|
+
* ]
|
|
63
|
+
* }
|
|
64
|
+
* *\/
|
|
65
|
+
* // example id: elb-disable-availability-zones-for-load-balancer-1
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
40
68
|
*/
|
|
41
69
|
export declare class DisableAvailabilityZonesForLoadBalancerCommand extends $Command<DisableAvailabilityZonesForLoadBalancerCommandInput, DisableAvailabilityZonesForLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
42
70
|
readonly input: DisableAvailabilityZonesForLoadBalancerCommandInput;
|
|
@@ -34,6 +34,32 @@ export interface EnableAvailabilityZonesForLoadBalancerCommandOutput extends Add
|
|
|
34
34
|
* @see {@link EnableAvailabilityZonesForLoadBalancerCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
38
|
+
* <p>The specified load balancer does not exist.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
* @example To enable an Availability Zone for a load balancer
|
|
42
|
+
* ```javascript
|
|
43
|
+
* // This example adds the specified Availability Zone to the specified load balancer.
|
|
44
|
+
* const input = {
|
|
45
|
+
* "AvailabilityZones": [
|
|
46
|
+
* "us-west-2b"
|
|
47
|
+
* ],
|
|
48
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
49
|
+
* };
|
|
50
|
+
* const command = new EnableAvailabilityZonesForLoadBalancerCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* /* response ==
|
|
53
|
+
* {
|
|
54
|
+
* "AvailabilityZones": [
|
|
55
|
+
* "us-west-2a",
|
|
56
|
+
* "us-west-2b"
|
|
57
|
+
* ]
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: elb-enable-availability-zones-for-load-balancer-1
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
37
63
|
*/
|
|
38
64
|
export declare class EnableAvailabilityZonesForLoadBalancerCommand extends $Command<EnableAvailabilityZonesForLoadBalancerCommandInput, EnableAvailabilityZonesForLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
39
65
|
readonly input: EnableAvailabilityZonesForLoadBalancerCommandInput;
|
|
@@ -55,6 +55,70 @@ export interface ModifyLoadBalancerAttributesCommandOutput extends ModifyLoadBal
|
|
|
55
55
|
* @see {@link ModifyLoadBalancerAttributesCommandOutput} for command's `response` shape.
|
|
56
56
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
57
57
|
*
|
|
58
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified load balancer does not exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidConfigurationRequestException} (client fault)
|
|
62
|
+
* <p>The requested configuration change is not valid.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link LoadBalancerAttributeNotFoundException} (client fault)
|
|
65
|
+
* <p>The specified load balancer attribute does not exist.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @example To enable cross-zone load balancing
|
|
69
|
+
* ```javascript
|
|
70
|
+
* // This example enables cross-zone load balancing for the specified load balancer.
|
|
71
|
+
* const input = {
|
|
72
|
+
* "LoadBalancerAttributes": {
|
|
73
|
+
* "CrossZoneLoadBalancing": {
|
|
74
|
+
* "Enabled": true
|
|
75
|
+
* }
|
|
76
|
+
* },
|
|
77
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
78
|
+
* };
|
|
79
|
+
* const command = new ModifyLoadBalancerAttributesCommand(input);
|
|
80
|
+
* const response = await client.send(command);
|
|
81
|
+
* /* response ==
|
|
82
|
+
* {
|
|
83
|
+
* "LoadBalancerAttributes": {
|
|
84
|
+
* "CrossZoneLoadBalancing": {
|
|
85
|
+
* "Enabled": true
|
|
86
|
+
* }
|
|
87
|
+
* },
|
|
88
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
89
|
+
* }
|
|
90
|
+
* *\/
|
|
91
|
+
* // example id: elb-modify-load-balancer-attributes-1
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @example To enable connection draining
|
|
95
|
+
* ```javascript
|
|
96
|
+
* // This example enables connection draining for the specified load balancer.
|
|
97
|
+
* const input = {
|
|
98
|
+
* "LoadBalancerAttributes": {
|
|
99
|
+
* "ConnectionDraining": {
|
|
100
|
+
* "Enabled": true,
|
|
101
|
+
* "Timeout": 300
|
|
102
|
+
* }
|
|
103
|
+
* },
|
|
104
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
105
|
+
* };
|
|
106
|
+
* const command = new ModifyLoadBalancerAttributesCommand(input);
|
|
107
|
+
* const response = await client.send(command);
|
|
108
|
+
* /* response ==
|
|
109
|
+
* {
|
|
110
|
+
* "LoadBalancerAttributes": {
|
|
111
|
+
* "ConnectionDraining": {
|
|
112
|
+
* "Enabled": true,
|
|
113
|
+
* "Timeout": 300
|
|
114
|
+
* }
|
|
115
|
+
* },
|
|
116
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
117
|
+
* }
|
|
118
|
+
* *\/
|
|
119
|
+
* // example id: elb-modify-load-balancer-attributes-2
|
|
120
|
+
* ```
|
|
121
|
+
*
|
|
58
122
|
*/
|
|
59
123
|
export declare class ModifyLoadBalancerAttributesCommand extends $Command<ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
60
124
|
readonly input: ModifyLoadBalancerAttributesCommandInput;
|
|
@@ -47,6 +47,44 @@ export interface RegisterInstancesWithLoadBalancerCommandOutput extends Register
|
|
|
47
47
|
* @see {@link RegisterInstancesWithLoadBalancerCommandOutput} for command's `response` shape.
|
|
48
48
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
49
49
|
*
|
|
50
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
51
|
+
* <p>The specified load balancer does not exist.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidEndPointException} (client fault)
|
|
54
|
+
* <p>The specified endpoint is not valid.</p>
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
* @example To register instances with a load balancer
|
|
58
|
+
* ```javascript
|
|
59
|
+
* // This example registers the specified instance with the specified load balancer.
|
|
60
|
+
* const input = {
|
|
61
|
+
* "Instances": [
|
|
62
|
+
* {
|
|
63
|
+
* "InstanceId": "i-d6f6fae3"
|
|
64
|
+
* }
|
|
65
|
+
* ],
|
|
66
|
+
* "LoadBalancerName": "my-load-balancer"
|
|
67
|
+
* };
|
|
68
|
+
* const command = new RegisterInstancesWithLoadBalancerCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* /* response ==
|
|
71
|
+
* {
|
|
72
|
+
* "Instances": [
|
|
73
|
+
* {
|
|
74
|
+
* "InstanceId": "i-d6f6fae3"
|
|
75
|
+
* },
|
|
76
|
+
* {
|
|
77
|
+
* "InstanceId": "i-207d9717"
|
|
78
|
+
* },
|
|
79
|
+
* {
|
|
80
|
+
* "InstanceId": "i-afefb49b"
|
|
81
|
+
* }
|
|
82
|
+
* ]
|
|
83
|
+
* }
|
|
84
|
+
* *\/
|
|
85
|
+
* // example id: elb-register-instances-with-load-balancer-1
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
50
88
|
*/
|
|
51
89
|
export declare class RegisterInstancesWithLoadBalancerCommand extends $Command<RegisterInstancesWithLoadBalancerCommandInput, RegisterInstancesWithLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
52
90
|
readonly input: RegisterInstancesWithLoadBalancerCommandInput;
|
|
@@ -29,6 +29,28 @@ export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBea
|
|
|
29
29
|
* @see {@link RemoveTagsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
33
|
+
* <p>The specified load balancer does not exist.</p>
|
|
34
|
+
*
|
|
35
|
+
*
|
|
36
|
+
* @example To remove tags from a load balancer
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // This example removes the specified tag from the specified load balancer.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "LoadBalancerNames": [
|
|
41
|
+
* "my-load-balancer"
|
|
42
|
+
* ],
|
|
43
|
+
* "Tags": [
|
|
44
|
+
* {
|
|
45
|
+
* "Key": "project"
|
|
46
|
+
* }
|
|
47
|
+
* ]
|
|
48
|
+
* };
|
|
49
|
+
* const command = new RemoveTagsCommand(input);
|
|
50
|
+
* await client.send(command);
|
|
51
|
+
* // example id: elb-remove-tags-1
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
32
54
|
*/
|
|
33
55
|
export declare class RemoveTagsCommand extends $Command<RemoveTagsCommandInput, RemoveTagsCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
34
56
|
readonly input: RemoveTagsCommandInput;
|
|
@@ -33,6 +33,37 @@ export interface SetLoadBalancerListenerSSLCertificateCommandOutput extends SetL
|
|
|
33
33
|
* @see {@link SetLoadBalancerListenerSSLCertificateCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link AccessPointNotFoundException} (client fault)
|
|
37
|
+
* <p>The specified load balancer does not exist.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link CertificateNotFoundException} (client fault)
|
|
40
|
+
* <p>The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM)
|
|
41
|
+
* or AWS Certificate Manager (ACM). Note that if you recently uploaded the certificate to IAM, this error might
|
|
42
|
+
* indicate that the certificate is not fully available yet.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InvalidConfigurationRequestException} (client fault)
|
|
45
|
+
* <p>The requested configuration change is not valid.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ListenerNotFoundException} (client fault)
|
|
48
|
+
* <p>The load balancer does not have a listener configured at the specified port.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link UnsupportedProtocolException} (client fault)
|
|
51
|
+
* <p>The specified protocol or signature version is not supported.</p>
|
|
52
|
+
*
|
|
53
|
+
*
|
|
54
|
+
* @example To update the SSL certificate for an HTTPS listener
|
|
55
|
+
* ```javascript
|
|
56
|
+
* // This example replaces the existing SSL certificate for the specified HTTPS listener.
|
|
57
|
+
* const input = {
|
|
58
|
+
* "LoadBalancerName": "my-load-balancer",
|
|
59
|
+
* "LoadBalancerPort": 443,
|
|
60
|
+
* "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/new-server-cert"
|
|
61
|
+
* };
|
|
62
|
+
* const command = new SetLoadBalancerListenerSSLCertificateCommand(input);
|
|
63
|
+
* await client.send(command);
|
|
64
|
+
* // example id: elb-set-load-balancer-listener-ssl-certificate-1
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
36
67
|
*/
|
|
37
68
|
export declare class SetLoadBalancerListenerSSLCertificateCommand extends $Command<SetLoadBalancerListenerSSLCertificateCommandInput, SetLoadBalancerListenerSSLCertificateCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
|
|
38
69
|
readonly input: SetLoadBalancerListenerSSLCertificateCommandInput;
|