@aws-sdk/client-application-discovery-service 3.315.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/ApplicationDiscoveryService.js +29 -350
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1
- package/dist-es/ApplicationDiscoveryService.js +30 -351
- package/dist-es/protocols/Aws_json1_1.js +1 -1
- package/dist-types/ApplicationDiscoveryService.d.ts +144 -277
- package/dist-types/ts3.4/ApplicationDiscoveryService.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.ApplicationDiscoveryService = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const ApplicationDiscoveryServiceClient_1 = require("./ApplicationDiscoveryServiceClient");
|
|
5
6
|
const AssociateConfigurationItemsToApplicationCommand_1 = require("./commands/AssociateConfigurationItemsToApplicationCommand");
|
|
6
7
|
const BatchDeleteImportDataCommand_1 = require("./commands/BatchDeleteImportDataCommand");
|
|
@@ -27,356 +28,34 @@ const StartImportTaskCommand_1 = require("./commands/StartImportTaskCommand");
|
|
|
27
28
|
const StopContinuousExportCommand_1 = require("./commands/StopContinuousExportCommand");
|
|
28
29
|
const StopDataCollectionByAgentIdsCommand_1 = require("./commands/StopDataCollectionByAgentIdsCommand");
|
|
29
30
|
const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
|
|
31
|
+
const commands = {
|
|
32
|
+
AssociateConfigurationItemsToApplicationCommand: AssociateConfigurationItemsToApplicationCommand_1.AssociateConfigurationItemsToApplicationCommand,
|
|
33
|
+
BatchDeleteImportDataCommand: BatchDeleteImportDataCommand_1.BatchDeleteImportDataCommand,
|
|
34
|
+
CreateApplicationCommand: CreateApplicationCommand_1.CreateApplicationCommand,
|
|
35
|
+
CreateTagsCommand: CreateTagsCommand_1.CreateTagsCommand,
|
|
36
|
+
DeleteApplicationsCommand: DeleteApplicationsCommand_1.DeleteApplicationsCommand,
|
|
37
|
+
DeleteTagsCommand: DeleteTagsCommand_1.DeleteTagsCommand,
|
|
38
|
+
DescribeAgentsCommand: DescribeAgentsCommand_1.DescribeAgentsCommand,
|
|
39
|
+
DescribeConfigurationsCommand: DescribeConfigurationsCommand_1.DescribeConfigurationsCommand,
|
|
40
|
+
DescribeContinuousExportsCommand: DescribeContinuousExportsCommand_1.DescribeContinuousExportsCommand,
|
|
41
|
+
DescribeExportConfigurationsCommand: DescribeExportConfigurationsCommand_1.DescribeExportConfigurationsCommand,
|
|
42
|
+
DescribeExportTasksCommand: DescribeExportTasksCommand_1.DescribeExportTasksCommand,
|
|
43
|
+
DescribeImportTasksCommand: DescribeImportTasksCommand_1.DescribeImportTasksCommand,
|
|
44
|
+
DescribeTagsCommand: DescribeTagsCommand_1.DescribeTagsCommand,
|
|
45
|
+
DisassociateConfigurationItemsFromApplicationCommand: DisassociateConfigurationItemsFromApplicationCommand_1.DisassociateConfigurationItemsFromApplicationCommand,
|
|
46
|
+
ExportConfigurationsCommand: ExportConfigurationsCommand_1.ExportConfigurationsCommand,
|
|
47
|
+
GetDiscoverySummaryCommand: GetDiscoverySummaryCommand_1.GetDiscoverySummaryCommand,
|
|
48
|
+
ListConfigurationsCommand: ListConfigurationsCommand_1.ListConfigurationsCommand,
|
|
49
|
+
ListServerNeighborsCommand: ListServerNeighborsCommand_1.ListServerNeighborsCommand,
|
|
50
|
+
StartContinuousExportCommand: StartContinuousExportCommand_1.StartContinuousExportCommand,
|
|
51
|
+
StartDataCollectionByAgentIdsCommand: StartDataCollectionByAgentIdsCommand_1.StartDataCollectionByAgentIdsCommand,
|
|
52
|
+
StartExportTaskCommand: StartExportTaskCommand_1.StartExportTaskCommand,
|
|
53
|
+
StartImportTaskCommand: StartImportTaskCommand_1.StartImportTaskCommand,
|
|
54
|
+
StopContinuousExportCommand: StopContinuousExportCommand_1.StopContinuousExportCommand,
|
|
55
|
+
StopDataCollectionByAgentIdsCommand: StopDataCollectionByAgentIdsCommand_1.StopDataCollectionByAgentIdsCommand,
|
|
56
|
+
UpdateApplicationCommand: UpdateApplicationCommand_1.UpdateApplicationCommand,
|
|
57
|
+
};
|
|
30
58
|
class ApplicationDiscoveryService extends ApplicationDiscoveryServiceClient_1.ApplicationDiscoveryServiceClient {
|
|
31
|
-
associateConfigurationItemsToApplication(args, optionsOrCb, cb) {
|
|
32
|
-
const command = new AssociateConfigurationItemsToApplicationCommand_1.AssociateConfigurationItemsToApplicationCommand(args);
|
|
33
|
-
if (typeof optionsOrCb === "function") {
|
|
34
|
-
this.send(command, optionsOrCb);
|
|
35
|
-
}
|
|
36
|
-
else if (typeof cb === "function") {
|
|
37
|
-
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
39
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
return this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
batchDeleteImportData(args, optionsOrCb, cb) {
|
|
46
|
-
const command = new BatchDeleteImportDataCommand_1.BatchDeleteImportDataCommand(args);
|
|
47
|
-
if (typeof optionsOrCb === "function") {
|
|
48
|
-
this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
else if (typeof cb === "function") {
|
|
51
|
-
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
53
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
createApplication(args, optionsOrCb, cb) {
|
|
60
|
-
const command = new CreateApplicationCommand_1.CreateApplicationCommand(args);
|
|
61
|
-
if (typeof optionsOrCb === "function") {
|
|
62
|
-
this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
else if (typeof cb === "function") {
|
|
65
|
-
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
67
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
createTags(args, optionsOrCb, cb) {
|
|
74
|
-
const command = new CreateTagsCommand_1.CreateTagsCommand(args);
|
|
75
|
-
if (typeof optionsOrCb === "function") {
|
|
76
|
-
this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
else if (typeof cb === "function") {
|
|
79
|
-
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
deleteApplications(args, optionsOrCb, cb) {
|
|
88
|
-
const command = new DeleteApplicationsCommand_1.DeleteApplicationsCommand(args);
|
|
89
|
-
if (typeof optionsOrCb === "function") {
|
|
90
|
-
this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
return this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
deleteTags(args, optionsOrCb, cb) {
|
|
102
|
-
const command = new DeleteTagsCommand_1.DeleteTagsCommand(args);
|
|
103
|
-
if (typeof optionsOrCb === "function") {
|
|
104
|
-
this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
else if (typeof cb === "function") {
|
|
107
|
-
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
describeAgents(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new DescribeAgentsCommand_1.DescribeAgentsCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
describeConfigurations(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new DescribeConfigurationsCommand_1.DescribeConfigurationsCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
describeContinuousExports(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new DescribeContinuousExportsCommand_1.DescribeContinuousExportsCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
describeExportConfigurations(args, optionsOrCb, cb) {
|
|
158
|
-
const command = new DescribeExportConfigurationsCommand_1.DescribeExportConfigurationsCommand(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
else if (typeof cb === "function") {
|
|
163
|
-
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
describeExportTasks(args, optionsOrCb, cb) {
|
|
172
|
-
const command = new DescribeExportTasksCommand_1.DescribeExportTasksCommand(args);
|
|
173
|
-
if (typeof optionsOrCb === "function") {
|
|
174
|
-
this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
else if (typeof cb === "function") {
|
|
177
|
-
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
return this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
describeImportTasks(args, optionsOrCb, cb) {
|
|
186
|
-
const command = new DescribeImportTasksCommand_1.DescribeImportTasksCommand(args);
|
|
187
|
-
if (typeof optionsOrCb === "function") {
|
|
188
|
-
this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
else if (typeof cb === "function") {
|
|
191
|
-
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
return this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
describeTags(args, optionsOrCb, cb) {
|
|
200
|
-
const command = new DescribeTagsCommand_1.DescribeTagsCommand(args);
|
|
201
|
-
if (typeof optionsOrCb === "function") {
|
|
202
|
-
this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
else if (typeof cb === "function") {
|
|
205
|
-
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
return this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
disassociateConfigurationItemsFromApplication(args, optionsOrCb, cb) {
|
|
214
|
-
const command = new DisassociateConfigurationItemsFromApplicationCommand_1.DisassociateConfigurationItemsFromApplicationCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
-
}
|
|
223
|
-
else {
|
|
224
|
-
return this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
exportConfigurations(args, optionsOrCb, cb) {
|
|
228
|
-
const command = new ExportConfigurationsCommand_1.ExportConfigurationsCommand(args);
|
|
229
|
-
if (typeof optionsOrCb === "function") {
|
|
230
|
-
this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
else if (typeof cb === "function") {
|
|
233
|
-
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
getDiscoverySummary(args, optionsOrCb, cb) {
|
|
242
|
-
const command = new GetDiscoverySummaryCommand_1.GetDiscoverySummaryCommand(args);
|
|
243
|
-
if (typeof optionsOrCb === "function") {
|
|
244
|
-
this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
else if (typeof cb === "function") {
|
|
247
|
-
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
return this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
listConfigurations(args, optionsOrCb, cb) {
|
|
256
|
-
const command = new ListConfigurationsCommand_1.ListConfigurationsCommand(args);
|
|
257
|
-
if (typeof optionsOrCb === "function") {
|
|
258
|
-
this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
else if (typeof cb === "function") {
|
|
261
|
-
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
return this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
listServerNeighbors(args, optionsOrCb, cb) {
|
|
270
|
-
const command = new ListServerNeighborsCommand_1.ListServerNeighborsCommand(args);
|
|
271
|
-
if (typeof optionsOrCb === "function") {
|
|
272
|
-
this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
else if (typeof cb === "function") {
|
|
275
|
-
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
return this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
startContinuousExport(args, optionsOrCb, cb) {
|
|
284
|
-
const command = new StartContinuousExportCommand_1.StartContinuousExportCommand(args);
|
|
285
|
-
if (typeof optionsOrCb === "function") {
|
|
286
|
-
this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
else if (typeof cb === "function") {
|
|
289
|
-
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
return this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
startDataCollectionByAgentIds(args, optionsOrCb, cb) {
|
|
298
|
-
const command = new StartDataCollectionByAgentIdsCommand_1.StartDataCollectionByAgentIdsCommand(args);
|
|
299
|
-
if (typeof optionsOrCb === "function") {
|
|
300
|
-
this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
else if (typeof cb === "function") {
|
|
303
|
-
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
return this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
startExportTask(args, optionsOrCb, cb) {
|
|
312
|
-
const command = new StartExportTaskCommand_1.StartExportTaskCommand(args);
|
|
313
|
-
if (typeof optionsOrCb === "function") {
|
|
314
|
-
this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
return this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
startImportTask(args, optionsOrCb, cb) {
|
|
326
|
-
const command = new StartImportTaskCommand_1.StartImportTaskCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
stopContinuousExport(args, optionsOrCb, cb) {
|
|
340
|
-
const command = new StopContinuousExportCommand_1.StopContinuousExportCommand(args);
|
|
341
|
-
if (typeof optionsOrCb === "function") {
|
|
342
|
-
this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
else if (typeof cb === "function") {
|
|
345
|
-
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
stopDataCollectionByAgentIds(args, optionsOrCb, cb) {
|
|
354
|
-
const command = new StopDataCollectionByAgentIdsCommand_1.StopDataCollectionByAgentIdsCommand(args);
|
|
355
|
-
if (typeof optionsOrCb === "function") {
|
|
356
|
-
this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
else if (typeof cb === "function") {
|
|
359
|
-
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
return this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
updateApplication(args, optionsOrCb, cb) {
|
|
368
|
-
const command = new UpdateApplicationCommand_1.UpdateApplicationCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
else if (typeof cb === "function") {
|
|
373
|
-
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
375
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
376
|
-
}
|
|
377
|
-
else {
|
|
378
|
-
return this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
59
|
}
|
|
382
60
|
exports.ApplicationDiscoveryService = ApplicationDiscoveryService;
|
|
61
|
+
(0, smithy_client_1.createAggregatedClient)(commands, ApplicationDiscoveryService);
|
|
@@ -1444,7 +1444,7 @@ const se_StartExportTaskRequest = (input, context) => {
|
|
|
1444
1444
|
};
|
|
1445
1445
|
const se_StartImportTaskRequest = (input, context) => {
|
|
1446
1446
|
return (0, smithy_client_1.take)(input, {
|
|
1447
|
-
clientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1447
|
+
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1448
1448
|
importUrl: [],
|
|
1449
1449
|
name: [],
|
|
1450
1450
|
});
|