@aws-sdk/client-elastic-load-balancing 3.315.0 → 3.319.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ElasticLoadBalancing = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AddTagsCommand_1 = require("./commands/AddTagsCommand");
|
|
5
6
|
const ApplySecurityGroupsToLoadBalancerCommand_1 = require("./commands/ApplySecurityGroupsToLoadBalancerCommand");
|
|
6
7
|
const AttachLoadBalancerToSubnetsCommand_1 = require("./commands/AttachLoadBalancerToSubnetsCommand");
|
|
@@ -31,412 +32,38 @@ const SetLoadBalancerListenerSSLCertificateCommand_1 = require("./commands/SetLo
|
|
|
31
32
|
const SetLoadBalancerPoliciesForBackendServerCommand_1 = require("./commands/SetLoadBalancerPoliciesForBackendServerCommand");
|
|
32
33
|
const SetLoadBalancerPoliciesOfListenerCommand_1 = require("./commands/SetLoadBalancerPoliciesOfListenerCommand");
|
|
33
34
|
const ElasticLoadBalancingClient_1 = require("./ElasticLoadBalancingClient");
|
|
35
|
+
const commands = {
|
|
36
|
+
AddTagsCommand: AddTagsCommand_1.AddTagsCommand,
|
|
37
|
+
ApplySecurityGroupsToLoadBalancerCommand: ApplySecurityGroupsToLoadBalancerCommand_1.ApplySecurityGroupsToLoadBalancerCommand,
|
|
38
|
+
AttachLoadBalancerToSubnetsCommand: AttachLoadBalancerToSubnetsCommand_1.AttachLoadBalancerToSubnetsCommand,
|
|
39
|
+
ConfigureHealthCheckCommand: ConfigureHealthCheckCommand_1.ConfigureHealthCheckCommand,
|
|
40
|
+
CreateAppCookieStickinessPolicyCommand: CreateAppCookieStickinessPolicyCommand_1.CreateAppCookieStickinessPolicyCommand,
|
|
41
|
+
CreateLBCookieStickinessPolicyCommand: CreateLBCookieStickinessPolicyCommand_1.CreateLBCookieStickinessPolicyCommand,
|
|
42
|
+
CreateLoadBalancerCommand: CreateLoadBalancerCommand_1.CreateLoadBalancerCommand,
|
|
43
|
+
CreateLoadBalancerListenersCommand: CreateLoadBalancerListenersCommand_1.CreateLoadBalancerListenersCommand,
|
|
44
|
+
CreateLoadBalancerPolicyCommand: CreateLoadBalancerPolicyCommand_1.CreateLoadBalancerPolicyCommand,
|
|
45
|
+
DeleteLoadBalancerCommand: DeleteLoadBalancerCommand_1.DeleteLoadBalancerCommand,
|
|
46
|
+
DeleteLoadBalancerListenersCommand: DeleteLoadBalancerListenersCommand_1.DeleteLoadBalancerListenersCommand,
|
|
47
|
+
DeleteLoadBalancerPolicyCommand: DeleteLoadBalancerPolicyCommand_1.DeleteLoadBalancerPolicyCommand,
|
|
48
|
+
DeregisterInstancesFromLoadBalancerCommand: DeregisterInstancesFromLoadBalancerCommand_1.DeregisterInstancesFromLoadBalancerCommand,
|
|
49
|
+
DescribeAccountLimitsCommand: DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand,
|
|
50
|
+
DescribeInstanceHealthCommand: DescribeInstanceHealthCommand_1.DescribeInstanceHealthCommand,
|
|
51
|
+
DescribeLoadBalancerAttributesCommand: DescribeLoadBalancerAttributesCommand_1.DescribeLoadBalancerAttributesCommand,
|
|
52
|
+
DescribeLoadBalancerPoliciesCommand: DescribeLoadBalancerPoliciesCommand_1.DescribeLoadBalancerPoliciesCommand,
|
|
53
|
+
DescribeLoadBalancerPolicyTypesCommand: DescribeLoadBalancerPolicyTypesCommand_1.DescribeLoadBalancerPolicyTypesCommand,
|
|
54
|
+
DescribeLoadBalancersCommand: DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand,
|
|
55
|
+
DescribeTagsCommand: DescribeTagsCommand_1.DescribeTagsCommand,
|
|
56
|
+
DetachLoadBalancerFromSubnetsCommand: DetachLoadBalancerFromSubnetsCommand_1.DetachLoadBalancerFromSubnetsCommand,
|
|
57
|
+
DisableAvailabilityZonesForLoadBalancerCommand: DisableAvailabilityZonesForLoadBalancerCommand_1.DisableAvailabilityZonesForLoadBalancerCommand,
|
|
58
|
+
EnableAvailabilityZonesForLoadBalancerCommand: EnableAvailabilityZonesForLoadBalancerCommand_1.EnableAvailabilityZonesForLoadBalancerCommand,
|
|
59
|
+
ModifyLoadBalancerAttributesCommand: ModifyLoadBalancerAttributesCommand_1.ModifyLoadBalancerAttributesCommand,
|
|
60
|
+
RegisterInstancesWithLoadBalancerCommand: RegisterInstancesWithLoadBalancerCommand_1.RegisterInstancesWithLoadBalancerCommand,
|
|
61
|
+
RemoveTagsCommand: RemoveTagsCommand_1.RemoveTagsCommand,
|
|
62
|
+
SetLoadBalancerListenerSSLCertificateCommand: SetLoadBalancerListenerSSLCertificateCommand_1.SetLoadBalancerListenerSSLCertificateCommand,
|
|
63
|
+
SetLoadBalancerPoliciesForBackendServerCommand: SetLoadBalancerPoliciesForBackendServerCommand_1.SetLoadBalancerPoliciesForBackendServerCommand,
|
|
64
|
+
SetLoadBalancerPoliciesOfListenerCommand: SetLoadBalancerPoliciesOfListenerCommand_1.SetLoadBalancerPoliciesOfListenerCommand,
|
|
65
|
+
};
|
|
34
66
|
class ElasticLoadBalancing extends ElasticLoadBalancingClient_1.ElasticLoadBalancingClient {
|
|
35
|
-
addTags(args, optionsOrCb, cb) {
|
|
36
|
-
const command = new AddTagsCommand_1.AddTagsCommand(args);
|
|
37
|
-
if (typeof optionsOrCb === "function") {
|
|
38
|
-
this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
else if (typeof cb === "function") {
|
|
41
|
-
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
43
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
return this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
applySecurityGroupsToLoadBalancer(args, optionsOrCb, cb) {
|
|
50
|
-
const command = new ApplySecurityGroupsToLoadBalancerCommand_1.ApplySecurityGroupsToLoadBalancerCommand(args);
|
|
51
|
-
if (typeof optionsOrCb === "function") {
|
|
52
|
-
this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
else if (typeof cb === "function") {
|
|
55
|
-
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
return this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
attachLoadBalancerToSubnets(args, optionsOrCb, cb) {
|
|
64
|
-
const command = new AttachLoadBalancerToSubnetsCommand_1.AttachLoadBalancerToSubnetsCommand(args);
|
|
65
|
-
if (typeof optionsOrCb === "function") {
|
|
66
|
-
this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
else if (typeof cb === "function") {
|
|
69
|
-
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
71
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
return this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
configureHealthCheck(args, optionsOrCb, cb) {
|
|
78
|
-
const command = new ConfigureHealthCheckCommand_1.ConfigureHealthCheckCommand(args);
|
|
79
|
-
if (typeof optionsOrCb === "function") {
|
|
80
|
-
this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
else if (typeof cb === "function") {
|
|
83
|
-
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
85
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
86
|
-
}
|
|
87
|
-
else {
|
|
88
|
-
return this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
createAppCookieStickinessPolicy(args, optionsOrCb, cb) {
|
|
92
|
-
const command = new CreateAppCookieStickinessPolicyCommand_1.CreateAppCookieStickinessPolicyCommand(args);
|
|
93
|
-
if (typeof optionsOrCb === "function") {
|
|
94
|
-
this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
else if (typeof cb === "function") {
|
|
97
|
-
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
99
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
return this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
createLBCookieStickinessPolicy(args, optionsOrCb, cb) {
|
|
106
|
-
const command = new CreateLBCookieStickinessPolicyCommand_1.CreateLBCookieStickinessPolicyCommand(args);
|
|
107
|
-
if (typeof optionsOrCb === "function") {
|
|
108
|
-
this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
else if (typeof cb === "function") {
|
|
111
|
-
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
113
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
return this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
createLoadBalancer(args, optionsOrCb, cb) {
|
|
120
|
-
const command = new CreateLoadBalancerCommand_1.CreateLoadBalancerCommand(args);
|
|
121
|
-
if (typeof optionsOrCb === "function") {
|
|
122
|
-
this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
else if (typeof cb === "function") {
|
|
125
|
-
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
return this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
createLoadBalancerListeners(args, optionsOrCb, cb) {
|
|
134
|
-
const command = new CreateLoadBalancerListenersCommand_1.CreateLoadBalancerListenersCommand(args);
|
|
135
|
-
if (typeof optionsOrCb === "function") {
|
|
136
|
-
this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
else if (typeof cb === "function") {
|
|
139
|
-
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
141
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
return this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
createLoadBalancerPolicy(args, optionsOrCb, cb) {
|
|
148
|
-
const command = new CreateLoadBalancerPolicyCommand_1.CreateLoadBalancerPolicyCommand(args);
|
|
149
|
-
if (typeof optionsOrCb === "function") {
|
|
150
|
-
this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
156
|
-
}
|
|
157
|
-
else {
|
|
158
|
-
return this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
deleteLoadBalancer(args, optionsOrCb, cb) {
|
|
162
|
-
const command = new DeleteLoadBalancerCommand_1.DeleteLoadBalancerCommand(args);
|
|
163
|
-
if (typeof optionsOrCb === "function") {
|
|
164
|
-
this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
else if (typeof cb === "function") {
|
|
167
|
-
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
return this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
deleteLoadBalancerListeners(args, optionsOrCb, cb) {
|
|
176
|
-
const command = new DeleteLoadBalancerListenersCommand_1.DeleteLoadBalancerListenersCommand(args);
|
|
177
|
-
if (typeof optionsOrCb === "function") {
|
|
178
|
-
this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
else if (typeof cb === "function") {
|
|
181
|
-
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
return this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
deleteLoadBalancerPolicy(args, optionsOrCb, cb) {
|
|
190
|
-
const command = new DeleteLoadBalancerPolicyCommand_1.DeleteLoadBalancerPolicyCommand(args);
|
|
191
|
-
if (typeof optionsOrCb === "function") {
|
|
192
|
-
this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
else if (typeof cb === "function") {
|
|
195
|
-
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
197
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
return this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
deregisterInstancesFromLoadBalancer(args, optionsOrCb, cb) {
|
|
204
|
-
const command = new DeregisterInstancesFromLoadBalancerCommand_1.DeregisterInstancesFromLoadBalancerCommand(args);
|
|
205
|
-
if (typeof optionsOrCb === "function") {
|
|
206
|
-
this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
else if (typeof cb === "function") {
|
|
209
|
-
if (typeof optionsOrCb !== "object")
|
|
210
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
return this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
describeAccountLimits(args, optionsOrCb, cb) {
|
|
218
|
-
const command = new DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand(args);
|
|
219
|
-
if (typeof optionsOrCb === "function") {
|
|
220
|
-
this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
else if (typeof cb === "function") {
|
|
223
|
-
if (typeof optionsOrCb !== "object")
|
|
224
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
return this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
describeInstanceHealth(args, optionsOrCb, cb) {
|
|
232
|
-
const command = new DescribeInstanceHealthCommand_1.DescribeInstanceHealthCommand(args);
|
|
233
|
-
if (typeof optionsOrCb === "function") {
|
|
234
|
-
this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
else if (typeof cb === "function") {
|
|
237
|
-
if (typeof optionsOrCb !== "object")
|
|
238
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
239
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
240
|
-
}
|
|
241
|
-
else {
|
|
242
|
-
return this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
describeLoadBalancerAttributes(args, optionsOrCb, cb) {
|
|
246
|
-
const command = new DescribeLoadBalancerAttributesCommand_1.DescribeLoadBalancerAttributesCommand(args);
|
|
247
|
-
if (typeof optionsOrCb === "function") {
|
|
248
|
-
this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
else if (typeof cb === "function") {
|
|
251
|
-
if (typeof optionsOrCb !== "object")
|
|
252
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
253
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
254
|
-
}
|
|
255
|
-
else {
|
|
256
|
-
return this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
describeLoadBalancerPolicies(args, optionsOrCb, cb) {
|
|
260
|
-
const command = new DescribeLoadBalancerPoliciesCommand_1.DescribeLoadBalancerPoliciesCommand(args);
|
|
261
|
-
if (typeof optionsOrCb === "function") {
|
|
262
|
-
this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
else if (typeof cb === "function") {
|
|
265
|
-
if (typeof optionsOrCb !== "object")
|
|
266
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
267
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
return this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
describeLoadBalancerPolicyTypes(args, optionsOrCb, cb) {
|
|
274
|
-
const command = new DescribeLoadBalancerPolicyTypesCommand_1.DescribeLoadBalancerPolicyTypesCommand(args);
|
|
275
|
-
if (typeof optionsOrCb === "function") {
|
|
276
|
-
this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
else if (typeof cb === "function") {
|
|
279
|
-
if (typeof optionsOrCb !== "object")
|
|
280
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
281
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
return this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
describeLoadBalancers(args, optionsOrCb, cb) {
|
|
288
|
-
const command = new DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand(args);
|
|
289
|
-
if (typeof optionsOrCb === "function") {
|
|
290
|
-
this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
else if (typeof cb === "function") {
|
|
293
|
-
if (typeof optionsOrCb !== "object")
|
|
294
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
295
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
296
|
-
}
|
|
297
|
-
else {
|
|
298
|
-
return this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
describeTags(args, optionsOrCb, cb) {
|
|
302
|
-
const command = new DescribeTagsCommand_1.DescribeTagsCommand(args);
|
|
303
|
-
if (typeof optionsOrCb === "function") {
|
|
304
|
-
this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
else if (typeof cb === "function") {
|
|
307
|
-
if (typeof optionsOrCb !== "object")
|
|
308
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
309
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
310
|
-
}
|
|
311
|
-
else {
|
|
312
|
-
return this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
detachLoadBalancerFromSubnets(args, optionsOrCb, cb) {
|
|
316
|
-
const command = new DetachLoadBalancerFromSubnetsCommand_1.DetachLoadBalancerFromSubnetsCommand(args);
|
|
317
|
-
if (typeof optionsOrCb === "function") {
|
|
318
|
-
this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
else if (typeof cb === "function") {
|
|
321
|
-
if (typeof optionsOrCb !== "object")
|
|
322
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
323
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
324
|
-
}
|
|
325
|
-
else {
|
|
326
|
-
return this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
disableAvailabilityZonesForLoadBalancer(args, optionsOrCb, cb) {
|
|
330
|
-
const command = new DisableAvailabilityZonesForLoadBalancerCommand_1.DisableAvailabilityZonesForLoadBalancerCommand(args);
|
|
331
|
-
if (typeof optionsOrCb === "function") {
|
|
332
|
-
this.send(command, optionsOrCb);
|
|
333
|
-
}
|
|
334
|
-
else if (typeof cb === "function") {
|
|
335
|
-
if (typeof optionsOrCb !== "object")
|
|
336
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
-
}
|
|
339
|
-
else {
|
|
340
|
-
return this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
enableAvailabilityZonesForLoadBalancer(args, optionsOrCb, cb) {
|
|
344
|
-
const command = new EnableAvailabilityZonesForLoadBalancerCommand_1.EnableAvailabilityZonesForLoadBalancerCommand(args);
|
|
345
|
-
if (typeof optionsOrCb === "function") {
|
|
346
|
-
this.send(command, optionsOrCb);
|
|
347
|
-
}
|
|
348
|
-
else if (typeof cb === "function") {
|
|
349
|
-
if (typeof optionsOrCb !== "object")
|
|
350
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
351
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
return this.send(command, optionsOrCb);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
modifyLoadBalancerAttributes(args, optionsOrCb, cb) {
|
|
358
|
-
const command = new ModifyLoadBalancerAttributesCommand_1.ModifyLoadBalancerAttributesCommand(args);
|
|
359
|
-
if (typeof optionsOrCb === "function") {
|
|
360
|
-
this.send(command, optionsOrCb);
|
|
361
|
-
}
|
|
362
|
-
else if (typeof cb === "function") {
|
|
363
|
-
if (typeof optionsOrCb !== "object")
|
|
364
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
365
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
366
|
-
}
|
|
367
|
-
else {
|
|
368
|
-
return this.send(command, optionsOrCb);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
registerInstancesWithLoadBalancer(args, optionsOrCb, cb) {
|
|
372
|
-
const command = new RegisterInstancesWithLoadBalancerCommand_1.RegisterInstancesWithLoadBalancerCommand(args);
|
|
373
|
-
if (typeof optionsOrCb === "function") {
|
|
374
|
-
this.send(command, optionsOrCb);
|
|
375
|
-
}
|
|
376
|
-
else if (typeof cb === "function") {
|
|
377
|
-
if (typeof optionsOrCb !== "object")
|
|
378
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
379
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
380
|
-
}
|
|
381
|
-
else {
|
|
382
|
-
return this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
removeTags(args, optionsOrCb, cb) {
|
|
386
|
-
const command = new RemoveTagsCommand_1.RemoveTagsCommand(args);
|
|
387
|
-
if (typeof optionsOrCb === "function") {
|
|
388
|
-
this.send(command, optionsOrCb);
|
|
389
|
-
}
|
|
390
|
-
else if (typeof cb === "function") {
|
|
391
|
-
if (typeof optionsOrCb !== "object")
|
|
392
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
393
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
394
|
-
}
|
|
395
|
-
else {
|
|
396
|
-
return this.send(command, optionsOrCb);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
setLoadBalancerListenerSSLCertificate(args, optionsOrCb, cb) {
|
|
400
|
-
const command = new SetLoadBalancerListenerSSLCertificateCommand_1.SetLoadBalancerListenerSSLCertificateCommand(args);
|
|
401
|
-
if (typeof optionsOrCb === "function") {
|
|
402
|
-
this.send(command, optionsOrCb);
|
|
403
|
-
}
|
|
404
|
-
else if (typeof cb === "function") {
|
|
405
|
-
if (typeof optionsOrCb !== "object")
|
|
406
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
407
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
408
|
-
}
|
|
409
|
-
else {
|
|
410
|
-
return this.send(command, optionsOrCb);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
setLoadBalancerPoliciesForBackendServer(args, optionsOrCb, cb) {
|
|
414
|
-
const command = new SetLoadBalancerPoliciesForBackendServerCommand_1.SetLoadBalancerPoliciesForBackendServerCommand(args);
|
|
415
|
-
if (typeof optionsOrCb === "function") {
|
|
416
|
-
this.send(command, optionsOrCb);
|
|
417
|
-
}
|
|
418
|
-
else if (typeof cb === "function") {
|
|
419
|
-
if (typeof optionsOrCb !== "object")
|
|
420
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
-
}
|
|
423
|
-
else {
|
|
424
|
-
return this.send(command, optionsOrCb);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
setLoadBalancerPoliciesOfListener(args, optionsOrCb, cb) {
|
|
428
|
-
const command = new SetLoadBalancerPoliciesOfListenerCommand_1.SetLoadBalancerPoliciesOfListenerCommand(args);
|
|
429
|
-
if (typeof optionsOrCb === "function") {
|
|
430
|
-
this.send(command, optionsOrCb);
|
|
431
|
-
}
|
|
432
|
-
else if (typeof cb === "function") {
|
|
433
|
-
if (typeof optionsOrCb !== "object")
|
|
434
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
-
}
|
|
437
|
-
else {
|
|
438
|
-
return this.send(command, optionsOrCb);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
67
|
}
|
|
442
68
|
exports.ElasticLoadBalancing = ElasticLoadBalancing;
|
|
69
|
+
(0, smithy_client_1.createAggregatedClient)(commands, ElasticLoadBalancing);
|