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