@aws-sdk/client-opensearch 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.
- package/dist-cjs/OpenSearch.js +56 -728
- package/dist-es/OpenSearch.js +56 -728
- package/dist-types/OpenSearch.d.ts +68 -182
- package/dist-types/ts3.4/OpenSearch.d.ts +4 -1
- package/package.json +8 -8
package/dist-cjs/OpenSearch.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OpenSearch = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AcceptInboundConnectionCommand_1 = require("./commands/AcceptInboundConnectionCommand");
|
|
5
6
|
const AddTagsCommand_1 = require("./commands/AddTagsCommand");
|
|
6
7
|
const AssociatePackageCommand_1 = require("./commands/AssociatePackageCommand");
|
|
@@ -54,734 +55,61 @@ const UpdateScheduledActionCommand_1 = require("./commands/UpdateScheduledAction
|
|
|
54
55
|
const UpdateVpcEndpointCommand_1 = require("./commands/UpdateVpcEndpointCommand");
|
|
55
56
|
const UpgradeDomainCommand_1 = require("./commands/UpgradeDomainCommand");
|
|
56
57
|
const OpenSearchClient_1 = require("./OpenSearchClient");
|
|
58
|
+
const commands = {
|
|
59
|
+
AcceptInboundConnectionCommand: AcceptInboundConnectionCommand_1.AcceptInboundConnectionCommand,
|
|
60
|
+
AddTagsCommand: AddTagsCommand_1.AddTagsCommand,
|
|
61
|
+
AssociatePackageCommand: AssociatePackageCommand_1.AssociatePackageCommand,
|
|
62
|
+
AuthorizeVpcEndpointAccessCommand: AuthorizeVpcEndpointAccessCommand_1.AuthorizeVpcEndpointAccessCommand,
|
|
63
|
+
CancelServiceSoftwareUpdateCommand: CancelServiceSoftwareUpdateCommand_1.CancelServiceSoftwareUpdateCommand,
|
|
64
|
+
CreateDomainCommand: CreateDomainCommand_1.CreateDomainCommand,
|
|
65
|
+
CreateOutboundConnectionCommand: CreateOutboundConnectionCommand_1.CreateOutboundConnectionCommand,
|
|
66
|
+
CreatePackageCommand: CreatePackageCommand_1.CreatePackageCommand,
|
|
67
|
+
CreateVpcEndpointCommand: CreateVpcEndpointCommand_1.CreateVpcEndpointCommand,
|
|
68
|
+
DeleteDomainCommand: DeleteDomainCommand_1.DeleteDomainCommand,
|
|
69
|
+
DeleteInboundConnectionCommand: DeleteInboundConnectionCommand_1.DeleteInboundConnectionCommand,
|
|
70
|
+
DeleteOutboundConnectionCommand: DeleteOutboundConnectionCommand_1.DeleteOutboundConnectionCommand,
|
|
71
|
+
DeletePackageCommand: DeletePackageCommand_1.DeletePackageCommand,
|
|
72
|
+
DeleteVpcEndpointCommand: DeleteVpcEndpointCommand_1.DeleteVpcEndpointCommand,
|
|
73
|
+
DescribeDomainCommand: DescribeDomainCommand_1.DescribeDomainCommand,
|
|
74
|
+
DescribeDomainAutoTunesCommand: DescribeDomainAutoTunesCommand_1.DescribeDomainAutoTunesCommand,
|
|
75
|
+
DescribeDomainChangeProgressCommand: DescribeDomainChangeProgressCommand_1.DescribeDomainChangeProgressCommand,
|
|
76
|
+
DescribeDomainConfigCommand: DescribeDomainConfigCommand_1.DescribeDomainConfigCommand,
|
|
77
|
+
DescribeDomainsCommand: DescribeDomainsCommand_1.DescribeDomainsCommand,
|
|
78
|
+
DescribeDryRunProgressCommand: DescribeDryRunProgressCommand_1.DescribeDryRunProgressCommand,
|
|
79
|
+
DescribeInboundConnectionsCommand: DescribeInboundConnectionsCommand_1.DescribeInboundConnectionsCommand,
|
|
80
|
+
DescribeInstanceTypeLimitsCommand: DescribeInstanceTypeLimitsCommand_1.DescribeInstanceTypeLimitsCommand,
|
|
81
|
+
DescribeOutboundConnectionsCommand: DescribeOutboundConnectionsCommand_1.DescribeOutboundConnectionsCommand,
|
|
82
|
+
DescribePackagesCommand: DescribePackagesCommand_1.DescribePackagesCommand,
|
|
83
|
+
DescribeReservedInstanceOfferingsCommand: DescribeReservedInstanceOfferingsCommand_1.DescribeReservedInstanceOfferingsCommand,
|
|
84
|
+
DescribeReservedInstancesCommand: DescribeReservedInstancesCommand_1.DescribeReservedInstancesCommand,
|
|
85
|
+
DescribeVpcEndpointsCommand: DescribeVpcEndpointsCommand_1.DescribeVpcEndpointsCommand,
|
|
86
|
+
DissociatePackageCommand: DissociatePackageCommand_1.DissociatePackageCommand,
|
|
87
|
+
GetCompatibleVersionsCommand: GetCompatibleVersionsCommand_1.GetCompatibleVersionsCommand,
|
|
88
|
+
GetPackageVersionHistoryCommand: GetPackageVersionHistoryCommand_1.GetPackageVersionHistoryCommand,
|
|
89
|
+
GetUpgradeHistoryCommand: GetUpgradeHistoryCommand_1.GetUpgradeHistoryCommand,
|
|
90
|
+
GetUpgradeStatusCommand: GetUpgradeStatusCommand_1.GetUpgradeStatusCommand,
|
|
91
|
+
ListDomainNamesCommand: ListDomainNamesCommand_1.ListDomainNamesCommand,
|
|
92
|
+
ListDomainsForPackageCommand: ListDomainsForPackageCommand_1.ListDomainsForPackageCommand,
|
|
93
|
+
ListInstanceTypeDetailsCommand: ListInstanceTypeDetailsCommand_1.ListInstanceTypeDetailsCommand,
|
|
94
|
+
ListPackagesForDomainCommand: ListPackagesForDomainCommand_1.ListPackagesForDomainCommand,
|
|
95
|
+
ListScheduledActionsCommand: ListScheduledActionsCommand_1.ListScheduledActionsCommand,
|
|
96
|
+
ListTagsCommand: ListTagsCommand_1.ListTagsCommand,
|
|
97
|
+
ListVersionsCommand: ListVersionsCommand_1.ListVersionsCommand,
|
|
98
|
+
ListVpcEndpointAccessCommand: ListVpcEndpointAccessCommand_1.ListVpcEndpointAccessCommand,
|
|
99
|
+
ListVpcEndpointsCommand: ListVpcEndpointsCommand_1.ListVpcEndpointsCommand,
|
|
100
|
+
ListVpcEndpointsForDomainCommand: ListVpcEndpointsForDomainCommand_1.ListVpcEndpointsForDomainCommand,
|
|
101
|
+
PurchaseReservedInstanceOfferingCommand: PurchaseReservedInstanceOfferingCommand_1.PurchaseReservedInstanceOfferingCommand,
|
|
102
|
+
RejectInboundConnectionCommand: RejectInboundConnectionCommand_1.RejectInboundConnectionCommand,
|
|
103
|
+
RemoveTagsCommand: RemoveTagsCommand_1.RemoveTagsCommand,
|
|
104
|
+
RevokeVpcEndpointAccessCommand: RevokeVpcEndpointAccessCommand_1.RevokeVpcEndpointAccessCommand,
|
|
105
|
+
StartServiceSoftwareUpdateCommand: StartServiceSoftwareUpdateCommand_1.StartServiceSoftwareUpdateCommand,
|
|
106
|
+
UpdateDomainConfigCommand: UpdateDomainConfigCommand_1.UpdateDomainConfigCommand,
|
|
107
|
+
UpdatePackageCommand: UpdatePackageCommand_1.UpdatePackageCommand,
|
|
108
|
+
UpdateScheduledActionCommand: UpdateScheduledActionCommand_1.UpdateScheduledActionCommand,
|
|
109
|
+
UpdateVpcEndpointCommand: UpdateVpcEndpointCommand_1.UpdateVpcEndpointCommand,
|
|
110
|
+
UpgradeDomainCommand: UpgradeDomainCommand_1.UpgradeDomainCommand,
|
|
111
|
+
};
|
|
57
112
|
class OpenSearch extends OpenSearchClient_1.OpenSearchClient {
|
|
58
|
-
acceptInboundConnection(args, optionsOrCb, cb) {
|
|
59
|
-
const command = new AcceptInboundConnectionCommand_1.AcceptInboundConnectionCommand(args);
|
|
60
|
-
if (typeof optionsOrCb === "function") {
|
|
61
|
-
this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
else if (typeof cb === "function") {
|
|
64
|
-
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
addTags(args, optionsOrCb, cb) {
|
|
73
|
-
const command = new AddTagsCommand_1.AddTagsCommand(args);
|
|
74
|
-
if (typeof optionsOrCb === "function") {
|
|
75
|
-
this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
else if (typeof cb === "function") {
|
|
78
|
-
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
return this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
associatePackage(args, optionsOrCb, cb) {
|
|
87
|
-
const command = new AssociatePackageCommand_1.AssociatePackageCommand(args);
|
|
88
|
-
if (typeof optionsOrCb === "function") {
|
|
89
|
-
this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
else if (typeof cb === "function") {
|
|
92
|
-
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
authorizeVpcEndpointAccess(args, optionsOrCb, cb) {
|
|
101
|
-
const command = new AuthorizeVpcEndpointAccessCommand_1.AuthorizeVpcEndpointAccessCommand(args);
|
|
102
|
-
if (typeof optionsOrCb === "function") {
|
|
103
|
-
this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
else if (typeof cb === "function") {
|
|
106
|
-
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
cancelServiceSoftwareUpdate(args, optionsOrCb, cb) {
|
|
115
|
-
const command = new CancelServiceSoftwareUpdateCommand_1.CancelServiceSoftwareUpdateCommand(args);
|
|
116
|
-
if (typeof optionsOrCb === "function") {
|
|
117
|
-
this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
else if (typeof cb === "function") {
|
|
120
|
-
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
return this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
createDomain(args, optionsOrCb, cb) {
|
|
129
|
-
const command = new CreateDomainCommand_1.CreateDomainCommand(args);
|
|
130
|
-
if (typeof optionsOrCb === "function") {
|
|
131
|
-
this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
else if (typeof cb === "function") {
|
|
134
|
-
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
return this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
createOutboundConnection(args, optionsOrCb, cb) {
|
|
143
|
-
const command = new CreateOutboundConnectionCommand_1.CreateOutboundConnectionCommand(args);
|
|
144
|
-
if (typeof optionsOrCb === "function") {
|
|
145
|
-
this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
else if (typeof cb === "function") {
|
|
148
|
-
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
createPackage(args, optionsOrCb, cb) {
|
|
157
|
-
const command = new CreatePackageCommand_1.CreatePackageCommand(args);
|
|
158
|
-
if (typeof optionsOrCb === "function") {
|
|
159
|
-
this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
else if (typeof cb === "function") {
|
|
162
|
-
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
164
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
return this.send(command, optionsOrCb);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
createVpcEndpoint(args, optionsOrCb, cb) {
|
|
171
|
-
const command = new CreateVpcEndpointCommand_1.CreateVpcEndpointCommand(args);
|
|
172
|
-
if (typeof optionsOrCb === "function") {
|
|
173
|
-
this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
else if (typeof cb === "function") {
|
|
176
|
-
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
return this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
deleteDomain(args, optionsOrCb, cb) {
|
|
185
|
-
const command = new DeleteDomainCommand_1.DeleteDomainCommand(args);
|
|
186
|
-
if (typeof optionsOrCb === "function") {
|
|
187
|
-
this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
else if (typeof cb === "function") {
|
|
190
|
-
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
return this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
deleteInboundConnection(args, optionsOrCb, cb) {
|
|
199
|
-
const command = new DeleteInboundConnectionCommand_1.DeleteInboundConnectionCommand(args);
|
|
200
|
-
if (typeof optionsOrCb === "function") {
|
|
201
|
-
this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
else if (typeof cb === "function") {
|
|
204
|
-
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
206
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
return this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
deleteOutboundConnection(args, optionsOrCb, cb) {
|
|
213
|
-
const command = new DeleteOutboundConnectionCommand_1.DeleteOutboundConnectionCommand(args);
|
|
214
|
-
if (typeof optionsOrCb === "function") {
|
|
215
|
-
this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
else if (typeof cb === "function") {
|
|
218
|
-
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
-
}
|
|
222
|
-
else {
|
|
223
|
-
return this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
deletePackage(args, optionsOrCb, cb) {
|
|
227
|
-
const command = new DeletePackageCommand_1.DeletePackageCommand(args);
|
|
228
|
-
if (typeof optionsOrCb === "function") {
|
|
229
|
-
this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
else if (typeof cb === "function") {
|
|
232
|
-
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
234
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
return this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
deleteVpcEndpoint(args, optionsOrCb, cb) {
|
|
241
|
-
const command = new DeleteVpcEndpointCommand_1.DeleteVpcEndpointCommand(args);
|
|
242
|
-
if (typeof optionsOrCb === "function") {
|
|
243
|
-
this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
else if (typeof cb === "function") {
|
|
246
|
-
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
return this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
describeDomain(args, optionsOrCb, cb) {
|
|
255
|
-
const command = new DescribeDomainCommand_1.DescribeDomainCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
else if (typeof cb === "function") {
|
|
260
|
-
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
262
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
return this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
describeDomainAutoTunes(args, optionsOrCb, cb) {
|
|
269
|
-
const command = new DescribeDomainAutoTunesCommand_1.DescribeDomainAutoTunesCommand(args);
|
|
270
|
-
if (typeof optionsOrCb === "function") {
|
|
271
|
-
this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
else if (typeof cb === "function") {
|
|
274
|
-
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
276
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
277
|
-
}
|
|
278
|
-
else {
|
|
279
|
-
return this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
describeDomainChangeProgress(args, optionsOrCb, cb) {
|
|
283
|
-
const command = new DescribeDomainChangeProgressCommand_1.DescribeDomainChangeProgressCommand(args);
|
|
284
|
-
if (typeof optionsOrCb === "function") {
|
|
285
|
-
this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
else if (typeof cb === "function") {
|
|
288
|
-
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
290
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
291
|
-
}
|
|
292
|
-
else {
|
|
293
|
-
return this.send(command, optionsOrCb);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
describeDomainConfig(args, optionsOrCb, cb) {
|
|
297
|
-
const command = new DescribeDomainConfigCommand_1.DescribeDomainConfigCommand(args);
|
|
298
|
-
if (typeof optionsOrCb === "function") {
|
|
299
|
-
this.send(command, optionsOrCb);
|
|
300
|
-
}
|
|
301
|
-
else if (typeof cb === "function") {
|
|
302
|
-
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
305
|
-
}
|
|
306
|
-
else {
|
|
307
|
-
return this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
describeDomains(args, optionsOrCb, cb) {
|
|
311
|
-
const command = new DescribeDomainsCommand_1.DescribeDomainsCommand(args);
|
|
312
|
-
if (typeof optionsOrCb === "function") {
|
|
313
|
-
this.send(command, optionsOrCb);
|
|
314
|
-
}
|
|
315
|
-
else if (typeof cb === "function") {
|
|
316
|
-
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
-
}
|
|
320
|
-
else {
|
|
321
|
-
return this.send(command, optionsOrCb);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
describeDryRunProgress(args, optionsOrCb, cb) {
|
|
325
|
-
const command = new DescribeDryRunProgressCommand_1.DescribeDryRunProgressCommand(args);
|
|
326
|
-
if (typeof optionsOrCb === "function") {
|
|
327
|
-
this.send(command, optionsOrCb);
|
|
328
|
-
}
|
|
329
|
-
else if (typeof cb === "function") {
|
|
330
|
-
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
333
|
-
}
|
|
334
|
-
else {
|
|
335
|
-
return this.send(command, optionsOrCb);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
describeInboundConnections(args, optionsOrCb, cb) {
|
|
339
|
-
const command = new DescribeInboundConnectionsCommand_1.DescribeInboundConnectionsCommand(args);
|
|
340
|
-
if (typeof optionsOrCb === "function") {
|
|
341
|
-
this.send(command, optionsOrCb);
|
|
342
|
-
}
|
|
343
|
-
else if (typeof cb === "function") {
|
|
344
|
-
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
346
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
347
|
-
}
|
|
348
|
-
else {
|
|
349
|
-
return this.send(command, optionsOrCb);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
describeInstanceTypeLimits(args, optionsOrCb, cb) {
|
|
353
|
-
const command = new DescribeInstanceTypeLimitsCommand_1.DescribeInstanceTypeLimitsCommand(args);
|
|
354
|
-
if (typeof optionsOrCb === "function") {
|
|
355
|
-
this.send(command, optionsOrCb);
|
|
356
|
-
}
|
|
357
|
-
else if (typeof cb === "function") {
|
|
358
|
-
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
360
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
361
|
-
}
|
|
362
|
-
else {
|
|
363
|
-
return this.send(command, optionsOrCb);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
describeOutboundConnections(args, optionsOrCb, cb) {
|
|
367
|
-
const command = new DescribeOutboundConnectionsCommand_1.DescribeOutboundConnectionsCommand(args);
|
|
368
|
-
if (typeof optionsOrCb === "function") {
|
|
369
|
-
this.send(command, optionsOrCb);
|
|
370
|
-
}
|
|
371
|
-
else if (typeof cb === "function") {
|
|
372
|
-
if (typeof optionsOrCb !== "object")
|
|
373
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
374
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
375
|
-
}
|
|
376
|
-
else {
|
|
377
|
-
return this.send(command, optionsOrCb);
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
describePackages(args, optionsOrCb, cb) {
|
|
381
|
-
const command = new DescribePackagesCommand_1.DescribePackagesCommand(args);
|
|
382
|
-
if (typeof optionsOrCb === "function") {
|
|
383
|
-
this.send(command, optionsOrCb);
|
|
384
|
-
}
|
|
385
|
-
else if (typeof cb === "function") {
|
|
386
|
-
if (typeof optionsOrCb !== "object")
|
|
387
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
388
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
389
|
-
}
|
|
390
|
-
else {
|
|
391
|
-
return this.send(command, optionsOrCb);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
describeReservedInstanceOfferings(args, optionsOrCb, cb) {
|
|
395
|
-
const command = new DescribeReservedInstanceOfferingsCommand_1.DescribeReservedInstanceOfferingsCommand(args);
|
|
396
|
-
if (typeof optionsOrCb === "function") {
|
|
397
|
-
this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
else if (typeof cb === "function") {
|
|
400
|
-
if (typeof optionsOrCb !== "object")
|
|
401
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
402
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
403
|
-
}
|
|
404
|
-
else {
|
|
405
|
-
return this.send(command, optionsOrCb);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
describeReservedInstances(args, optionsOrCb, cb) {
|
|
409
|
-
const command = new DescribeReservedInstancesCommand_1.DescribeReservedInstancesCommand(args);
|
|
410
|
-
if (typeof optionsOrCb === "function") {
|
|
411
|
-
this.send(command, optionsOrCb);
|
|
412
|
-
}
|
|
413
|
-
else if (typeof cb === "function") {
|
|
414
|
-
if (typeof optionsOrCb !== "object")
|
|
415
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
416
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
417
|
-
}
|
|
418
|
-
else {
|
|
419
|
-
return this.send(command, optionsOrCb);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
describeVpcEndpoints(args, optionsOrCb, cb) {
|
|
423
|
-
const command = new DescribeVpcEndpointsCommand_1.DescribeVpcEndpointsCommand(args);
|
|
424
|
-
if (typeof optionsOrCb === "function") {
|
|
425
|
-
this.send(command, optionsOrCb);
|
|
426
|
-
}
|
|
427
|
-
else if (typeof cb === "function") {
|
|
428
|
-
if (typeof optionsOrCb !== "object")
|
|
429
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
430
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
431
|
-
}
|
|
432
|
-
else {
|
|
433
|
-
return this.send(command, optionsOrCb);
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
dissociatePackage(args, optionsOrCb, cb) {
|
|
437
|
-
const command = new DissociatePackageCommand_1.DissociatePackageCommand(args);
|
|
438
|
-
if (typeof optionsOrCb === "function") {
|
|
439
|
-
this.send(command, optionsOrCb);
|
|
440
|
-
}
|
|
441
|
-
else if (typeof cb === "function") {
|
|
442
|
-
if (typeof optionsOrCb !== "object")
|
|
443
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
-
}
|
|
446
|
-
else {
|
|
447
|
-
return this.send(command, optionsOrCb);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
getCompatibleVersions(args, optionsOrCb, cb) {
|
|
451
|
-
const command = new GetCompatibleVersionsCommand_1.GetCompatibleVersionsCommand(args);
|
|
452
|
-
if (typeof optionsOrCb === "function") {
|
|
453
|
-
this.send(command, optionsOrCb);
|
|
454
|
-
}
|
|
455
|
-
else if (typeof cb === "function") {
|
|
456
|
-
if (typeof optionsOrCb !== "object")
|
|
457
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
458
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
459
|
-
}
|
|
460
|
-
else {
|
|
461
|
-
return this.send(command, optionsOrCb);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
getPackageVersionHistory(args, optionsOrCb, cb) {
|
|
465
|
-
const command = new GetPackageVersionHistoryCommand_1.GetPackageVersionHistoryCommand(args);
|
|
466
|
-
if (typeof optionsOrCb === "function") {
|
|
467
|
-
this.send(command, optionsOrCb);
|
|
468
|
-
}
|
|
469
|
-
else if (typeof cb === "function") {
|
|
470
|
-
if (typeof optionsOrCb !== "object")
|
|
471
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
472
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
473
|
-
}
|
|
474
|
-
else {
|
|
475
|
-
return this.send(command, optionsOrCb);
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
getUpgradeHistory(args, optionsOrCb, cb) {
|
|
479
|
-
const command = new GetUpgradeHistoryCommand_1.GetUpgradeHistoryCommand(args);
|
|
480
|
-
if (typeof optionsOrCb === "function") {
|
|
481
|
-
this.send(command, optionsOrCb);
|
|
482
|
-
}
|
|
483
|
-
else if (typeof cb === "function") {
|
|
484
|
-
if (typeof optionsOrCb !== "object")
|
|
485
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
486
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
487
|
-
}
|
|
488
|
-
else {
|
|
489
|
-
return this.send(command, optionsOrCb);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
getUpgradeStatus(args, optionsOrCb, cb) {
|
|
493
|
-
const command = new GetUpgradeStatusCommand_1.GetUpgradeStatusCommand(args);
|
|
494
|
-
if (typeof optionsOrCb === "function") {
|
|
495
|
-
this.send(command, optionsOrCb);
|
|
496
|
-
}
|
|
497
|
-
else if (typeof cb === "function") {
|
|
498
|
-
if (typeof optionsOrCb !== "object")
|
|
499
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
-
}
|
|
502
|
-
else {
|
|
503
|
-
return this.send(command, optionsOrCb);
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
listDomainNames(args, optionsOrCb, cb) {
|
|
507
|
-
const command = new ListDomainNamesCommand_1.ListDomainNamesCommand(args);
|
|
508
|
-
if (typeof optionsOrCb === "function") {
|
|
509
|
-
this.send(command, optionsOrCb);
|
|
510
|
-
}
|
|
511
|
-
else if (typeof cb === "function") {
|
|
512
|
-
if (typeof optionsOrCb !== "object")
|
|
513
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
514
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
515
|
-
}
|
|
516
|
-
else {
|
|
517
|
-
return this.send(command, optionsOrCb);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
listDomainsForPackage(args, optionsOrCb, cb) {
|
|
521
|
-
const command = new ListDomainsForPackageCommand_1.ListDomainsForPackageCommand(args);
|
|
522
|
-
if (typeof optionsOrCb === "function") {
|
|
523
|
-
this.send(command, optionsOrCb);
|
|
524
|
-
}
|
|
525
|
-
else if (typeof cb === "function") {
|
|
526
|
-
if (typeof optionsOrCb !== "object")
|
|
527
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
528
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
529
|
-
}
|
|
530
|
-
else {
|
|
531
|
-
return this.send(command, optionsOrCb);
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
listInstanceTypeDetails(args, optionsOrCb, cb) {
|
|
535
|
-
const command = new ListInstanceTypeDetailsCommand_1.ListInstanceTypeDetailsCommand(args);
|
|
536
|
-
if (typeof optionsOrCb === "function") {
|
|
537
|
-
this.send(command, optionsOrCb);
|
|
538
|
-
}
|
|
539
|
-
else if (typeof cb === "function") {
|
|
540
|
-
if (typeof optionsOrCb !== "object")
|
|
541
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
542
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
543
|
-
}
|
|
544
|
-
else {
|
|
545
|
-
return this.send(command, optionsOrCb);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
listPackagesForDomain(args, optionsOrCb, cb) {
|
|
549
|
-
const command = new ListPackagesForDomainCommand_1.ListPackagesForDomainCommand(args);
|
|
550
|
-
if (typeof optionsOrCb === "function") {
|
|
551
|
-
this.send(command, optionsOrCb);
|
|
552
|
-
}
|
|
553
|
-
else if (typeof cb === "function") {
|
|
554
|
-
if (typeof optionsOrCb !== "object")
|
|
555
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
556
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
557
|
-
}
|
|
558
|
-
else {
|
|
559
|
-
return this.send(command, optionsOrCb);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
listScheduledActions(args, optionsOrCb, cb) {
|
|
563
|
-
const command = new ListScheduledActionsCommand_1.ListScheduledActionsCommand(args);
|
|
564
|
-
if (typeof optionsOrCb === "function") {
|
|
565
|
-
this.send(command, optionsOrCb);
|
|
566
|
-
}
|
|
567
|
-
else if (typeof cb === "function") {
|
|
568
|
-
if (typeof optionsOrCb !== "object")
|
|
569
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
570
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
571
|
-
}
|
|
572
|
-
else {
|
|
573
|
-
return this.send(command, optionsOrCb);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
listTags(args, optionsOrCb, cb) {
|
|
577
|
-
const command = new ListTagsCommand_1.ListTagsCommand(args);
|
|
578
|
-
if (typeof optionsOrCb === "function") {
|
|
579
|
-
this.send(command, optionsOrCb);
|
|
580
|
-
}
|
|
581
|
-
else if (typeof cb === "function") {
|
|
582
|
-
if (typeof optionsOrCb !== "object")
|
|
583
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
584
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
585
|
-
}
|
|
586
|
-
else {
|
|
587
|
-
return this.send(command, optionsOrCb);
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
listVersions(args, optionsOrCb, cb) {
|
|
591
|
-
const command = new ListVersionsCommand_1.ListVersionsCommand(args);
|
|
592
|
-
if (typeof optionsOrCb === "function") {
|
|
593
|
-
this.send(command, optionsOrCb);
|
|
594
|
-
}
|
|
595
|
-
else if (typeof cb === "function") {
|
|
596
|
-
if (typeof optionsOrCb !== "object")
|
|
597
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
598
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
599
|
-
}
|
|
600
|
-
else {
|
|
601
|
-
return this.send(command, optionsOrCb);
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
listVpcEndpointAccess(args, optionsOrCb, cb) {
|
|
605
|
-
const command = new ListVpcEndpointAccessCommand_1.ListVpcEndpointAccessCommand(args);
|
|
606
|
-
if (typeof optionsOrCb === "function") {
|
|
607
|
-
this.send(command, optionsOrCb);
|
|
608
|
-
}
|
|
609
|
-
else if (typeof cb === "function") {
|
|
610
|
-
if (typeof optionsOrCb !== "object")
|
|
611
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
612
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
613
|
-
}
|
|
614
|
-
else {
|
|
615
|
-
return this.send(command, optionsOrCb);
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
listVpcEndpoints(args, optionsOrCb, cb) {
|
|
619
|
-
const command = new ListVpcEndpointsCommand_1.ListVpcEndpointsCommand(args);
|
|
620
|
-
if (typeof optionsOrCb === "function") {
|
|
621
|
-
this.send(command, optionsOrCb);
|
|
622
|
-
}
|
|
623
|
-
else if (typeof cb === "function") {
|
|
624
|
-
if (typeof optionsOrCb !== "object")
|
|
625
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
626
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
627
|
-
}
|
|
628
|
-
else {
|
|
629
|
-
return this.send(command, optionsOrCb);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
listVpcEndpointsForDomain(args, optionsOrCb, cb) {
|
|
633
|
-
const command = new ListVpcEndpointsForDomainCommand_1.ListVpcEndpointsForDomainCommand(args);
|
|
634
|
-
if (typeof optionsOrCb === "function") {
|
|
635
|
-
this.send(command, optionsOrCb);
|
|
636
|
-
}
|
|
637
|
-
else if (typeof cb === "function") {
|
|
638
|
-
if (typeof optionsOrCb !== "object")
|
|
639
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
640
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
641
|
-
}
|
|
642
|
-
else {
|
|
643
|
-
return this.send(command, optionsOrCb);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
purchaseReservedInstanceOffering(args, optionsOrCb, cb) {
|
|
647
|
-
const command = new PurchaseReservedInstanceOfferingCommand_1.PurchaseReservedInstanceOfferingCommand(args);
|
|
648
|
-
if (typeof optionsOrCb === "function") {
|
|
649
|
-
this.send(command, optionsOrCb);
|
|
650
|
-
}
|
|
651
|
-
else if (typeof cb === "function") {
|
|
652
|
-
if (typeof optionsOrCb !== "object")
|
|
653
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
654
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
655
|
-
}
|
|
656
|
-
else {
|
|
657
|
-
return this.send(command, optionsOrCb);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
rejectInboundConnection(args, optionsOrCb, cb) {
|
|
661
|
-
const command = new RejectInboundConnectionCommand_1.RejectInboundConnectionCommand(args);
|
|
662
|
-
if (typeof optionsOrCb === "function") {
|
|
663
|
-
this.send(command, optionsOrCb);
|
|
664
|
-
}
|
|
665
|
-
else if (typeof cb === "function") {
|
|
666
|
-
if (typeof optionsOrCb !== "object")
|
|
667
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
668
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
669
|
-
}
|
|
670
|
-
else {
|
|
671
|
-
return this.send(command, optionsOrCb);
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
removeTags(args, optionsOrCb, cb) {
|
|
675
|
-
const command = new RemoveTagsCommand_1.RemoveTagsCommand(args);
|
|
676
|
-
if (typeof optionsOrCb === "function") {
|
|
677
|
-
this.send(command, optionsOrCb);
|
|
678
|
-
}
|
|
679
|
-
else if (typeof cb === "function") {
|
|
680
|
-
if (typeof optionsOrCb !== "object")
|
|
681
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
682
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
683
|
-
}
|
|
684
|
-
else {
|
|
685
|
-
return this.send(command, optionsOrCb);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
revokeVpcEndpointAccess(args, optionsOrCb, cb) {
|
|
689
|
-
const command = new RevokeVpcEndpointAccessCommand_1.RevokeVpcEndpointAccessCommand(args);
|
|
690
|
-
if (typeof optionsOrCb === "function") {
|
|
691
|
-
this.send(command, optionsOrCb);
|
|
692
|
-
}
|
|
693
|
-
else if (typeof cb === "function") {
|
|
694
|
-
if (typeof optionsOrCb !== "object")
|
|
695
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
696
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
697
|
-
}
|
|
698
|
-
else {
|
|
699
|
-
return this.send(command, optionsOrCb);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
startServiceSoftwareUpdate(args, optionsOrCb, cb) {
|
|
703
|
-
const command = new StartServiceSoftwareUpdateCommand_1.StartServiceSoftwareUpdateCommand(args);
|
|
704
|
-
if (typeof optionsOrCb === "function") {
|
|
705
|
-
this.send(command, optionsOrCb);
|
|
706
|
-
}
|
|
707
|
-
else if (typeof cb === "function") {
|
|
708
|
-
if (typeof optionsOrCb !== "object")
|
|
709
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
710
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
711
|
-
}
|
|
712
|
-
else {
|
|
713
|
-
return this.send(command, optionsOrCb);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
updateDomainConfig(args, optionsOrCb, cb) {
|
|
717
|
-
const command = new UpdateDomainConfigCommand_1.UpdateDomainConfigCommand(args);
|
|
718
|
-
if (typeof optionsOrCb === "function") {
|
|
719
|
-
this.send(command, optionsOrCb);
|
|
720
|
-
}
|
|
721
|
-
else if (typeof cb === "function") {
|
|
722
|
-
if (typeof optionsOrCb !== "object")
|
|
723
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
724
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
725
|
-
}
|
|
726
|
-
else {
|
|
727
|
-
return this.send(command, optionsOrCb);
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
updatePackage(args, optionsOrCb, cb) {
|
|
731
|
-
const command = new UpdatePackageCommand_1.UpdatePackageCommand(args);
|
|
732
|
-
if (typeof optionsOrCb === "function") {
|
|
733
|
-
this.send(command, optionsOrCb);
|
|
734
|
-
}
|
|
735
|
-
else if (typeof cb === "function") {
|
|
736
|
-
if (typeof optionsOrCb !== "object")
|
|
737
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
738
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
739
|
-
}
|
|
740
|
-
else {
|
|
741
|
-
return this.send(command, optionsOrCb);
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
updateScheduledAction(args, optionsOrCb, cb) {
|
|
745
|
-
const command = new UpdateScheduledActionCommand_1.UpdateScheduledActionCommand(args);
|
|
746
|
-
if (typeof optionsOrCb === "function") {
|
|
747
|
-
this.send(command, optionsOrCb);
|
|
748
|
-
}
|
|
749
|
-
else if (typeof cb === "function") {
|
|
750
|
-
if (typeof optionsOrCb !== "object")
|
|
751
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
752
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
753
|
-
}
|
|
754
|
-
else {
|
|
755
|
-
return this.send(command, optionsOrCb);
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
updateVpcEndpoint(args, optionsOrCb, cb) {
|
|
759
|
-
const command = new UpdateVpcEndpointCommand_1.UpdateVpcEndpointCommand(args);
|
|
760
|
-
if (typeof optionsOrCb === "function") {
|
|
761
|
-
this.send(command, optionsOrCb);
|
|
762
|
-
}
|
|
763
|
-
else if (typeof cb === "function") {
|
|
764
|
-
if (typeof optionsOrCb !== "object")
|
|
765
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
766
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
767
|
-
}
|
|
768
|
-
else {
|
|
769
|
-
return this.send(command, optionsOrCb);
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
upgradeDomain(args, optionsOrCb, cb) {
|
|
773
|
-
const command = new UpgradeDomainCommand_1.UpgradeDomainCommand(args);
|
|
774
|
-
if (typeof optionsOrCb === "function") {
|
|
775
|
-
this.send(command, optionsOrCb);
|
|
776
|
-
}
|
|
777
|
-
else if (typeof cb === "function") {
|
|
778
|
-
if (typeof optionsOrCb !== "object")
|
|
779
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
780
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
781
|
-
}
|
|
782
|
-
else {
|
|
783
|
-
return this.send(command, optionsOrCb);
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
113
|
}
|
|
787
114
|
exports.OpenSearch = OpenSearch;
|
|
115
|
+
(0, smithy_client_1.createAggregatedClient)(commands, OpenSearch);
|