@aws-sdk/client-appstream 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/AppStream.js +69 -910
- package/dist-es/AppStream.js +69 -910
- package/dist-types/AppStream.d.ts +89 -214
- package/dist-types/ts3.4/AppStream.d.ts +2 -1
- package/package.json +6 -6
package/dist-es/AppStream.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { AppStreamClient } from "./AppStreamClient";
|
|
2
3
|
import { AssociateApplicationFleetCommand, } from "./commands/AssociateApplicationFleetCommand";
|
|
3
4
|
import { AssociateApplicationToEntitlementCommand, } from "./commands/AssociateApplicationToEntitlementCommand";
|
|
@@ -64,915 +65,73 @@ import { UpdateEntitlementCommand, } from "./commands/UpdateEntitlementCommand";
|
|
|
64
65
|
import { UpdateFleetCommand } from "./commands/UpdateFleetCommand";
|
|
65
66
|
import { UpdateImagePermissionsCommand, } from "./commands/UpdateImagePermissionsCommand";
|
|
66
67
|
import { UpdateStackCommand } from "./commands/UpdateStackCommand";
|
|
68
|
+
const commands = {
|
|
69
|
+
AssociateApplicationFleetCommand,
|
|
70
|
+
AssociateApplicationToEntitlementCommand,
|
|
71
|
+
AssociateFleetCommand,
|
|
72
|
+
BatchAssociateUserStackCommand,
|
|
73
|
+
BatchDisassociateUserStackCommand,
|
|
74
|
+
CopyImageCommand,
|
|
75
|
+
CreateAppBlockCommand,
|
|
76
|
+
CreateApplicationCommand,
|
|
77
|
+
CreateDirectoryConfigCommand,
|
|
78
|
+
CreateEntitlementCommand,
|
|
79
|
+
CreateFleetCommand,
|
|
80
|
+
CreateImageBuilderCommand,
|
|
81
|
+
CreateImageBuilderStreamingURLCommand,
|
|
82
|
+
CreateStackCommand,
|
|
83
|
+
CreateStreamingURLCommand,
|
|
84
|
+
CreateUpdatedImageCommand,
|
|
85
|
+
CreateUsageReportSubscriptionCommand,
|
|
86
|
+
CreateUserCommand,
|
|
87
|
+
DeleteAppBlockCommand,
|
|
88
|
+
DeleteApplicationCommand,
|
|
89
|
+
DeleteDirectoryConfigCommand,
|
|
90
|
+
DeleteEntitlementCommand,
|
|
91
|
+
DeleteFleetCommand,
|
|
92
|
+
DeleteImageCommand,
|
|
93
|
+
DeleteImageBuilderCommand,
|
|
94
|
+
DeleteImagePermissionsCommand,
|
|
95
|
+
DeleteStackCommand,
|
|
96
|
+
DeleteUsageReportSubscriptionCommand,
|
|
97
|
+
DeleteUserCommand,
|
|
98
|
+
DescribeAppBlocksCommand,
|
|
99
|
+
DescribeApplicationFleetAssociationsCommand,
|
|
100
|
+
DescribeApplicationsCommand,
|
|
101
|
+
DescribeDirectoryConfigsCommand,
|
|
102
|
+
DescribeEntitlementsCommand,
|
|
103
|
+
DescribeFleetsCommand,
|
|
104
|
+
DescribeImageBuildersCommand,
|
|
105
|
+
DescribeImagePermissionsCommand,
|
|
106
|
+
DescribeImagesCommand,
|
|
107
|
+
DescribeSessionsCommand,
|
|
108
|
+
DescribeStacksCommand,
|
|
109
|
+
DescribeUsageReportSubscriptionsCommand,
|
|
110
|
+
DescribeUsersCommand,
|
|
111
|
+
DescribeUserStackAssociationsCommand,
|
|
112
|
+
DisableUserCommand,
|
|
113
|
+
DisassociateApplicationFleetCommand,
|
|
114
|
+
DisassociateApplicationFromEntitlementCommand,
|
|
115
|
+
DisassociateFleetCommand,
|
|
116
|
+
EnableUserCommand,
|
|
117
|
+
ExpireSessionCommand,
|
|
118
|
+
ListAssociatedFleetsCommand,
|
|
119
|
+
ListAssociatedStacksCommand,
|
|
120
|
+
ListEntitledApplicationsCommand,
|
|
121
|
+
ListTagsForResourceCommand,
|
|
122
|
+
StartFleetCommand,
|
|
123
|
+
StartImageBuilderCommand,
|
|
124
|
+
StopFleetCommand,
|
|
125
|
+
StopImageBuilderCommand,
|
|
126
|
+
TagResourceCommand,
|
|
127
|
+
UntagResourceCommand,
|
|
128
|
+
UpdateApplicationCommand,
|
|
129
|
+
UpdateDirectoryConfigCommand,
|
|
130
|
+
UpdateEntitlementCommand,
|
|
131
|
+
UpdateFleetCommand,
|
|
132
|
+
UpdateImagePermissionsCommand,
|
|
133
|
+
UpdateStackCommand,
|
|
134
|
+
};
|
|
67
135
|
export class AppStream extends AppStreamClient {
|
|
68
|
-
associateApplicationFleet(args, optionsOrCb, cb) {
|
|
69
|
-
const command = new AssociateApplicationFleetCommand(args);
|
|
70
|
-
if (typeof optionsOrCb === "function") {
|
|
71
|
-
this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
else if (typeof cb === "function") {
|
|
74
|
-
if (typeof optionsOrCb !== "object")
|
|
75
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
76
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
return this.send(command, optionsOrCb);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
associateApplicationToEntitlement(args, optionsOrCb, cb) {
|
|
83
|
-
const command = new AssociateApplicationToEntitlementCommand(args);
|
|
84
|
-
if (typeof optionsOrCb === "function") {
|
|
85
|
-
this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
else if (typeof cb === "function") {
|
|
88
|
-
if (typeof optionsOrCb !== "object")
|
|
89
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
90
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
return this.send(command, optionsOrCb);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
associateFleet(args, optionsOrCb, cb) {
|
|
97
|
-
const command = new AssociateFleetCommand(args);
|
|
98
|
-
if (typeof optionsOrCb === "function") {
|
|
99
|
-
this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
else if (typeof cb === "function") {
|
|
102
|
-
if (typeof optionsOrCb !== "object")
|
|
103
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
104
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
return this.send(command, optionsOrCb);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
batchAssociateUserStack(args, optionsOrCb, cb) {
|
|
111
|
-
const command = new BatchAssociateUserStackCommand(args);
|
|
112
|
-
if (typeof optionsOrCb === "function") {
|
|
113
|
-
this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
else if (typeof cb === "function") {
|
|
116
|
-
if (typeof optionsOrCb !== "object")
|
|
117
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
return this.send(command, optionsOrCb);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
batchDisassociateUserStack(args, optionsOrCb, cb) {
|
|
125
|
-
const command = new BatchDisassociateUserStackCommand(args);
|
|
126
|
-
if (typeof optionsOrCb === "function") {
|
|
127
|
-
this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
else if (typeof cb === "function") {
|
|
130
|
-
if (typeof optionsOrCb !== "object")
|
|
131
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
132
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return this.send(command, optionsOrCb);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
copyImage(args, optionsOrCb, cb) {
|
|
139
|
-
const command = new CopyImageCommand(args);
|
|
140
|
-
if (typeof optionsOrCb === "function") {
|
|
141
|
-
this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
else if (typeof cb === "function") {
|
|
144
|
-
if (typeof optionsOrCb !== "object")
|
|
145
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
146
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
return this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
createAppBlock(args, optionsOrCb, cb) {
|
|
153
|
-
const command = new CreateAppBlockCommand(args);
|
|
154
|
-
if (typeof optionsOrCb === "function") {
|
|
155
|
-
this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
else if (typeof cb === "function") {
|
|
158
|
-
if (typeof optionsOrCb !== "object")
|
|
159
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
return this.send(command, optionsOrCb);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
createApplication(args, optionsOrCb, cb) {
|
|
167
|
-
const command = new CreateApplicationCommand(args);
|
|
168
|
-
if (typeof optionsOrCb === "function") {
|
|
169
|
-
this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
else if (typeof cb === "function") {
|
|
172
|
-
if (typeof optionsOrCb !== "object")
|
|
173
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
174
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
createDirectoryConfig(args, optionsOrCb, cb) {
|
|
181
|
-
const command = new CreateDirectoryConfigCommand(args);
|
|
182
|
-
if (typeof optionsOrCb === "function") {
|
|
183
|
-
this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
else if (typeof cb === "function") {
|
|
186
|
-
if (typeof optionsOrCb !== "object")
|
|
187
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
return this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
createEntitlement(args, optionsOrCb, cb) {
|
|
195
|
-
const command = new CreateEntitlementCommand(args);
|
|
196
|
-
if (typeof optionsOrCb === "function") {
|
|
197
|
-
this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
else if (typeof cb === "function") {
|
|
200
|
-
if (typeof optionsOrCb !== "object")
|
|
201
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
202
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
return this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
createFleet(args, optionsOrCb, cb) {
|
|
209
|
-
const command = new CreateFleetCommand(args);
|
|
210
|
-
if (typeof optionsOrCb === "function") {
|
|
211
|
-
this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
else if (typeof cb === "function") {
|
|
214
|
-
if (typeof optionsOrCb !== "object")
|
|
215
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
216
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
return this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
createImageBuilder(args, optionsOrCb, cb) {
|
|
223
|
-
const command = new CreateImageBuilderCommand(args);
|
|
224
|
-
if (typeof optionsOrCb === "function") {
|
|
225
|
-
this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
else if (typeof cb === "function") {
|
|
228
|
-
if (typeof optionsOrCb !== "object")
|
|
229
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
230
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
return this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
createImageBuilderStreamingURL(args, optionsOrCb, cb) {
|
|
237
|
-
const command = new CreateImageBuilderStreamingURLCommand(args);
|
|
238
|
-
if (typeof optionsOrCb === "function") {
|
|
239
|
-
this.send(command, optionsOrCb);
|
|
240
|
-
}
|
|
241
|
-
else if (typeof cb === "function") {
|
|
242
|
-
if (typeof optionsOrCb !== "object")
|
|
243
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
244
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
245
|
-
}
|
|
246
|
-
else {
|
|
247
|
-
return this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
createStack(args, optionsOrCb, cb) {
|
|
251
|
-
const command = new CreateStackCommand(args);
|
|
252
|
-
if (typeof optionsOrCb === "function") {
|
|
253
|
-
this.send(command, optionsOrCb);
|
|
254
|
-
}
|
|
255
|
-
else if (typeof cb === "function") {
|
|
256
|
-
if (typeof optionsOrCb !== "object")
|
|
257
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
259
|
-
}
|
|
260
|
-
else {
|
|
261
|
-
return this.send(command, optionsOrCb);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
createStreamingURL(args, optionsOrCb, cb) {
|
|
265
|
-
const command = new CreateStreamingURLCommand(args);
|
|
266
|
-
if (typeof optionsOrCb === "function") {
|
|
267
|
-
this.send(command, optionsOrCb);
|
|
268
|
-
}
|
|
269
|
-
else if (typeof cb === "function") {
|
|
270
|
-
if (typeof optionsOrCb !== "object")
|
|
271
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
272
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
273
|
-
}
|
|
274
|
-
else {
|
|
275
|
-
return this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
createUpdatedImage(args, optionsOrCb, cb) {
|
|
279
|
-
const command = new CreateUpdatedImageCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
}
|
|
283
|
-
else if (typeof cb === "function") {
|
|
284
|
-
if (typeof optionsOrCb !== "object")
|
|
285
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
}
|
|
288
|
-
else {
|
|
289
|
-
return this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
createUsageReportSubscription(args, optionsOrCb, cb) {
|
|
293
|
-
const command = new CreateUsageReportSubscriptionCommand(args);
|
|
294
|
-
if (typeof optionsOrCb === "function") {
|
|
295
|
-
this.send(command, optionsOrCb);
|
|
296
|
-
}
|
|
297
|
-
else if (typeof cb === "function") {
|
|
298
|
-
if (typeof optionsOrCb !== "object")
|
|
299
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
300
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
301
|
-
}
|
|
302
|
-
else {
|
|
303
|
-
return this.send(command, optionsOrCb);
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
createUser(args, optionsOrCb, cb) {
|
|
307
|
-
const command = new CreateUserCommand(args);
|
|
308
|
-
if (typeof optionsOrCb === "function") {
|
|
309
|
-
this.send(command, optionsOrCb);
|
|
310
|
-
}
|
|
311
|
-
else if (typeof cb === "function") {
|
|
312
|
-
if (typeof optionsOrCb !== "object")
|
|
313
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
314
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
315
|
-
}
|
|
316
|
-
else {
|
|
317
|
-
return this.send(command, optionsOrCb);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
deleteAppBlock(args, optionsOrCb, cb) {
|
|
321
|
-
const command = new DeleteAppBlockCommand(args);
|
|
322
|
-
if (typeof optionsOrCb === "function") {
|
|
323
|
-
this.send(command, optionsOrCb);
|
|
324
|
-
}
|
|
325
|
-
else if (typeof cb === "function") {
|
|
326
|
-
if (typeof optionsOrCb !== "object")
|
|
327
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
328
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
329
|
-
}
|
|
330
|
-
else {
|
|
331
|
-
return this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
deleteApplication(args, optionsOrCb, cb) {
|
|
335
|
-
const command = new DeleteApplicationCommand(args);
|
|
336
|
-
if (typeof optionsOrCb === "function") {
|
|
337
|
-
this.send(command, optionsOrCb);
|
|
338
|
-
}
|
|
339
|
-
else if (typeof cb === "function") {
|
|
340
|
-
if (typeof optionsOrCb !== "object")
|
|
341
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
342
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
343
|
-
}
|
|
344
|
-
else {
|
|
345
|
-
return this.send(command, optionsOrCb);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
deleteDirectoryConfig(args, optionsOrCb, cb) {
|
|
349
|
-
const command = new DeleteDirectoryConfigCommand(args);
|
|
350
|
-
if (typeof optionsOrCb === "function") {
|
|
351
|
-
this.send(command, optionsOrCb);
|
|
352
|
-
}
|
|
353
|
-
else if (typeof cb === "function") {
|
|
354
|
-
if (typeof optionsOrCb !== "object")
|
|
355
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
356
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
357
|
-
}
|
|
358
|
-
else {
|
|
359
|
-
return this.send(command, optionsOrCb);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
deleteEntitlement(args, optionsOrCb, cb) {
|
|
363
|
-
const command = new DeleteEntitlementCommand(args);
|
|
364
|
-
if (typeof optionsOrCb === "function") {
|
|
365
|
-
this.send(command, optionsOrCb);
|
|
366
|
-
}
|
|
367
|
-
else if (typeof cb === "function") {
|
|
368
|
-
if (typeof optionsOrCb !== "object")
|
|
369
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
370
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
return this.send(command, optionsOrCb);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
deleteFleet(args, optionsOrCb, cb) {
|
|
377
|
-
const command = new DeleteFleetCommand(args);
|
|
378
|
-
if (typeof optionsOrCb === "function") {
|
|
379
|
-
this.send(command, optionsOrCb);
|
|
380
|
-
}
|
|
381
|
-
else if (typeof cb === "function") {
|
|
382
|
-
if (typeof optionsOrCb !== "object")
|
|
383
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
384
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
385
|
-
}
|
|
386
|
-
else {
|
|
387
|
-
return this.send(command, optionsOrCb);
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
deleteImage(args, optionsOrCb, cb) {
|
|
391
|
-
const command = new DeleteImageCommand(args);
|
|
392
|
-
if (typeof optionsOrCb === "function") {
|
|
393
|
-
this.send(command, optionsOrCb);
|
|
394
|
-
}
|
|
395
|
-
else if (typeof cb === "function") {
|
|
396
|
-
if (typeof optionsOrCb !== "object")
|
|
397
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
398
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
399
|
-
}
|
|
400
|
-
else {
|
|
401
|
-
return this.send(command, optionsOrCb);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
deleteImageBuilder(args, optionsOrCb, cb) {
|
|
405
|
-
const command = new DeleteImageBuilderCommand(args);
|
|
406
|
-
if (typeof optionsOrCb === "function") {
|
|
407
|
-
this.send(command, optionsOrCb);
|
|
408
|
-
}
|
|
409
|
-
else if (typeof cb === "function") {
|
|
410
|
-
if (typeof optionsOrCb !== "object")
|
|
411
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
412
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
413
|
-
}
|
|
414
|
-
else {
|
|
415
|
-
return this.send(command, optionsOrCb);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
deleteImagePermissions(args, optionsOrCb, cb) {
|
|
419
|
-
const command = new DeleteImagePermissionsCommand(args);
|
|
420
|
-
if (typeof optionsOrCb === "function") {
|
|
421
|
-
this.send(command, optionsOrCb);
|
|
422
|
-
}
|
|
423
|
-
else if (typeof cb === "function") {
|
|
424
|
-
if (typeof optionsOrCb !== "object")
|
|
425
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
426
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
427
|
-
}
|
|
428
|
-
else {
|
|
429
|
-
return this.send(command, optionsOrCb);
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
deleteStack(args, optionsOrCb, cb) {
|
|
433
|
-
const command = new DeleteStackCommand(args);
|
|
434
|
-
if (typeof optionsOrCb === "function") {
|
|
435
|
-
this.send(command, optionsOrCb);
|
|
436
|
-
}
|
|
437
|
-
else if (typeof cb === "function") {
|
|
438
|
-
if (typeof optionsOrCb !== "object")
|
|
439
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
440
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
441
|
-
}
|
|
442
|
-
else {
|
|
443
|
-
return this.send(command, optionsOrCb);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
deleteUsageReportSubscription(args, optionsOrCb, cb) {
|
|
447
|
-
const command = new DeleteUsageReportSubscriptionCommand(args);
|
|
448
|
-
if (typeof optionsOrCb === "function") {
|
|
449
|
-
this.send(command, optionsOrCb);
|
|
450
|
-
}
|
|
451
|
-
else if (typeof cb === "function") {
|
|
452
|
-
if (typeof optionsOrCb !== "object")
|
|
453
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
454
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
455
|
-
}
|
|
456
|
-
else {
|
|
457
|
-
return this.send(command, optionsOrCb);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
deleteUser(args, optionsOrCb, cb) {
|
|
461
|
-
const command = new DeleteUserCommand(args);
|
|
462
|
-
if (typeof optionsOrCb === "function") {
|
|
463
|
-
this.send(command, optionsOrCb);
|
|
464
|
-
}
|
|
465
|
-
else if (typeof cb === "function") {
|
|
466
|
-
if (typeof optionsOrCb !== "object")
|
|
467
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
468
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
469
|
-
}
|
|
470
|
-
else {
|
|
471
|
-
return this.send(command, optionsOrCb);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
describeAppBlocks(args, optionsOrCb, cb) {
|
|
475
|
-
const command = new DescribeAppBlocksCommand(args);
|
|
476
|
-
if (typeof optionsOrCb === "function") {
|
|
477
|
-
this.send(command, optionsOrCb);
|
|
478
|
-
}
|
|
479
|
-
else if (typeof cb === "function") {
|
|
480
|
-
if (typeof optionsOrCb !== "object")
|
|
481
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
482
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
483
|
-
}
|
|
484
|
-
else {
|
|
485
|
-
return this.send(command, optionsOrCb);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
describeApplicationFleetAssociations(args, optionsOrCb, cb) {
|
|
489
|
-
const command = new DescribeApplicationFleetAssociationsCommand(args);
|
|
490
|
-
if (typeof optionsOrCb === "function") {
|
|
491
|
-
this.send(command, optionsOrCb);
|
|
492
|
-
}
|
|
493
|
-
else if (typeof cb === "function") {
|
|
494
|
-
if (typeof optionsOrCb !== "object")
|
|
495
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
496
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
497
|
-
}
|
|
498
|
-
else {
|
|
499
|
-
return this.send(command, optionsOrCb);
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
describeApplications(args, optionsOrCb, cb) {
|
|
503
|
-
const command = new DescribeApplicationsCommand(args);
|
|
504
|
-
if (typeof optionsOrCb === "function") {
|
|
505
|
-
this.send(command, optionsOrCb);
|
|
506
|
-
}
|
|
507
|
-
else if (typeof cb === "function") {
|
|
508
|
-
if (typeof optionsOrCb !== "object")
|
|
509
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
510
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
511
|
-
}
|
|
512
|
-
else {
|
|
513
|
-
return this.send(command, optionsOrCb);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
describeDirectoryConfigs(args, optionsOrCb, cb) {
|
|
517
|
-
const command = new DescribeDirectoryConfigsCommand(args);
|
|
518
|
-
if (typeof optionsOrCb === "function") {
|
|
519
|
-
this.send(command, optionsOrCb);
|
|
520
|
-
}
|
|
521
|
-
else if (typeof cb === "function") {
|
|
522
|
-
if (typeof optionsOrCb !== "object")
|
|
523
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
524
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
525
|
-
}
|
|
526
|
-
else {
|
|
527
|
-
return this.send(command, optionsOrCb);
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
describeEntitlements(args, optionsOrCb, cb) {
|
|
531
|
-
const command = new DescribeEntitlementsCommand(args);
|
|
532
|
-
if (typeof optionsOrCb === "function") {
|
|
533
|
-
this.send(command, optionsOrCb);
|
|
534
|
-
}
|
|
535
|
-
else if (typeof cb === "function") {
|
|
536
|
-
if (typeof optionsOrCb !== "object")
|
|
537
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
538
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
539
|
-
}
|
|
540
|
-
else {
|
|
541
|
-
return this.send(command, optionsOrCb);
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
describeFleets(args, optionsOrCb, cb) {
|
|
545
|
-
const command = new DescribeFleetsCommand(args);
|
|
546
|
-
if (typeof optionsOrCb === "function") {
|
|
547
|
-
this.send(command, optionsOrCb);
|
|
548
|
-
}
|
|
549
|
-
else if (typeof cb === "function") {
|
|
550
|
-
if (typeof optionsOrCb !== "object")
|
|
551
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
552
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
553
|
-
}
|
|
554
|
-
else {
|
|
555
|
-
return this.send(command, optionsOrCb);
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
describeImageBuilders(args, optionsOrCb, cb) {
|
|
559
|
-
const command = new DescribeImageBuildersCommand(args);
|
|
560
|
-
if (typeof optionsOrCb === "function") {
|
|
561
|
-
this.send(command, optionsOrCb);
|
|
562
|
-
}
|
|
563
|
-
else if (typeof cb === "function") {
|
|
564
|
-
if (typeof optionsOrCb !== "object")
|
|
565
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
566
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
567
|
-
}
|
|
568
|
-
else {
|
|
569
|
-
return this.send(command, optionsOrCb);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
describeImagePermissions(args, optionsOrCb, cb) {
|
|
573
|
-
const command = new DescribeImagePermissionsCommand(args);
|
|
574
|
-
if (typeof optionsOrCb === "function") {
|
|
575
|
-
this.send(command, optionsOrCb);
|
|
576
|
-
}
|
|
577
|
-
else if (typeof cb === "function") {
|
|
578
|
-
if (typeof optionsOrCb !== "object")
|
|
579
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
580
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
581
|
-
}
|
|
582
|
-
else {
|
|
583
|
-
return this.send(command, optionsOrCb);
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
describeImages(args, optionsOrCb, cb) {
|
|
587
|
-
const command = new DescribeImagesCommand(args);
|
|
588
|
-
if (typeof optionsOrCb === "function") {
|
|
589
|
-
this.send(command, optionsOrCb);
|
|
590
|
-
}
|
|
591
|
-
else if (typeof cb === "function") {
|
|
592
|
-
if (typeof optionsOrCb !== "object")
|
|
593
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
594
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
595
|
-
}
|
|
596
|
-
else {
|
|
597
|
-
return this.send(command, optionsOrCb);
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
describeSessions(args, optionsOrCb, cb) {
|
|
601
|
-
const command = new DescribeSessionsCommand(args);
|
|
602
|
-
if (typeof optionsOrCb === "function") {
|
|
603
|
-
this.send(command, optionsOrCb);
|
|
604
|
-
}
|
|
605
|
-
else if (typeof cb === "function") {
|
|
606
|
-
if (typeof optionsOrCb !== "object")
|
|
607
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
608
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
609
|
-
}
|
|
610
|
-
else {
|
|
611
|
-
return this.send(command, optionsOrCb);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
describeStacks(args, optionsOrCb, cb) {
|
|
615
|
-
const command = new DescribeStacksCommand(args);
|
|
616
|
-
if (typeof optionsOrCb === "function") {
|
|
617
|
-
this.send(command, optionsOrCb);
|
|
618
|
-
}
|
|
619
|
-
else if (typeof cb === "function") {
|
|
620
|
-
if (typeof optionsOrCb !== "object")
|
|
621
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
622
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
623
|
-
}
|
|
624
|
-
else {
|
|
625
|
-
return this.send(command, optionsOrCb);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
describeUsageReportSubscriptions(args, optionsOrCb, cb) {
|
|
629
|
-
const command = new DescribeUsageReportSubscriptionsCommand(args);
|
|
630
|
-
if (typeof optionsOrCb === "function") {
|
|
631
|
-
this.send(command, optionsOrCb);
|
|
632
|
-
}
|
|
633
|
-
else if (typeof cb === "function") {
|
|
634
|
-
if (typeof optionsOrCb !== "object")
|
|
635
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
636
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
637
|
-
}
|
|
638
|
-
else {
|
|
639
|
-
return this.send(command, optionsOrCb);
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
describeUsers(args, optionsOrCb, cb) {
|
|
643
|
-
const command = new DescribeUsersCommand(args);
|
|
644
|
-
if (typeof optionsOrCb === "function") {
|
|
645
|
-
this.send(command, optionsOrCb);
|
|
646
|
-
}
|
|
647
|
-
else if (typeof cb === "function") {
|
|
648
|
-
if (typeof optionsOrCb !== "object")
|
|
649
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
650
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
651
|
-
}
|
|
652
|
-
else {
|
|
653
|
-
return this.send(command, optionsOrCb);
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
describeUserStackAssociations(args, optionsOrCb, cb) {
|
|
657
|
-
const command = new DescribeUserStackAssociationsCommand(args);
|
|
658
|
-
if (typeof optionsOrCb === "function") {
|
|
659
|
-
this.send(command, optionsOrCb);
|
|
660
|
-
}
|
|
661
|
-
else if (typeof cb === "function") {
|
|
662
|
-
if (typeof optionsOrCb !== "object")
|
|
663
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
664
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
665
|
-
}
|
|
666
|
-
else {
|
|
667
|
-
return this.send(command, optionsOrCb);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
disableUser(args, optionsOrCb, cb) {
|
|
671
|
-
const command = new DisableUserCommand(args);
|
|
672
|
-
if (typeof optionsOrCb === "function") {
|
|
673
|
-
this.send(command, optionsOrCb);
|
|
674
|
-
}
|
|
675
|
-
else if (typeof cb === "function") {
|
|
676
|
-
if (typeof optionsOrCb !== "object")
|
|
677
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
678
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
679
|
-
}
|
|
680
|
-
else {
|
|
681
|
-
return this.send(command, optionsOrCb);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
disassociateApplicationFleet(args, optionsOrCb, cb) {
|
|
685
|
-
const command = new DisassociateApplicationFleetCommand(args);
|
|
686
|
-
if (typeof optionsOrCb === "function") {
|
|
687
|
-
this.send(command, optionsOrCb);
|
|
688
|
-
}
|
|
689
|
-
else if (typeof cb === "function") {
|
|
690
|
-
if (typeof optionsOrCb !== "object")
|
|
691
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
692
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
693
|
-
}
|
|
694
|
-
else {
|
|
695
|
-
return this.send(command, optionsOrCb);
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
disassociateApplicationFromEntitlement(args, optionsOrCb, cb) {
|
|
699
|
-
const command = new DisassociateApplicationFromEntitlementCommand(args);
|
|
700
|
-
if (typeof optionsOrCb === "function") {
|
|
701
|
-
this.send(command, optionsOrCb);
|
|
702
|
-
}
|
|
703
|
-
else if (typeof cb === "function") {
|
|
704
|
-
if (typeof optionsOrCb !== "object")
|
|
705
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
706
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
707
|
-
}
|
|
708
|
-
else {
|
|
709
|
-
return this.send(command, optionsOrCb);
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
disassociateFleet(args, optionsOrCb, cb) {
|
|
713
|
-
const command = new DisassociateFleetCommand(args);
|
|
714
|
-
if (typeof optionsOrCb === "function") {
|
|
715
|
-
this.send(command, optionsOrCb);
|
|
716
|
-
}
|
|
717
|
-
else if (typeof cb === "function") {
|
|
718
|
-
if (typeof optionsOrCb !== "object")
|
|
719
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
720
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
721
|
-
}
|
|
722
|
-
else {
|
|
723
|
-
return this.send(command, optionsOrCb);
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
enableUser(args, optionsOrCb, cb) {
|
|
727
|
-
const command = new EnableUserCommand(args);
|
|
728
|
-
if (typeof optionsOrCb === "function") {
|
|
729
|
-
this.send(command, optionsOrCb);
|
|
730
|
-
}
|
|
731
|
-
else if (typeof cb === "function") {
|
|
732
|
-
if (typeof optionsOrCb !== "object")
|
|
733
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
734
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
735
|
-
}
|
|
736
|
-
else {
|
|
737
|
-
return this.send(command, optionsOrCb);
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
expireSession(args, optionsOrCb, cb) {
|
|
741
|
-
const command = new ExpireSessionCommand(args);
|
|
742
|
-
if (typeof optionsOrCb === "function") {
|
|
743
|
-
this.send(command, optionsOrCb);
|
|
744
|
-
}
|
|
745
|
-
else if (typeof cb === "function") {
|
|
746
|
-
if (typeof optionsOrCb !== "object")
|
|
747
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
748
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
749
|
-
}
|
|
750
|
-
else {
|
|
751
|
-
return this.send(command, optionsOrCb);
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
listAssociatedFleets(args, optionsOrCb, cb) {
|
|
755
|
-
const command = new ListAssociatedFleetsCommand(args);
|
|
756
|
-
if (typeof optionsOrCb === "function") {
|
|
757
|
-
this.send(command, optionsOrCb);
|
|
758
|
-
}
|
|
759
|
-
else if (typeof cb === "function") {
|
|
760
|
-
if (typeof optionsOrCb !== "object")
|
|
761
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
762
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
763
|
-
}
|
|
764
|
-
else {
|
|
765
|
-
return this.send(command, optionsOrCb);
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
listAssociatedStacks(args, optionsOrCb, cb) {
|
|
769
|
-
const command = new ListAssociatedStacksCommand(args);
|
|
770
|
-
if (typeof optionsOrCb === "function") {
|
|
771
|
-
this.send(command, optionsOrCb);
|
|
772
|
-
}
|
|
773
|
-
else if (typeof cb === "function") {
|
|
774
|
-
if (typeof optionsOrCb !== "object")
|
|
775
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
776
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
777
|
-
}
|
|
778
|
-
else {
|
|
779
|
-
return this.send(command, optionsOrCb);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
listEntitledApplications(args, optionsOrCb, cb) {
|
|
783
|
-
const command = new ListEntitledApplicationsCommand(args);
|
|
784
|
-
if (typeof optionsOrCb === "function") {
|
|
785
|
-
this.send(command, optionsOrCb);
|
|
786
|
-
}
|
|
787
|
-
else if (typeof cb === "function") {
|
|
788
|
-
if (typeof optionsOrCb !== "object")
|
|
789
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
790
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
791
|
-
}
|
|
792
|
-
else {
|
|
793
|
-
return this.send(command, optionsOrCb);
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
797
|
-
const command = new ListTagsForResourceCommand(args);
|
|
798
|
-
if (typeof optionsOrCb === "function") {
|
|
799
|
-
this.send(command, optionsOrCb);
|
|
800
|
-
}
|
|
801
|
-
else if (typeof cb === "function") {
|
|
802
|
-
if (typeof optionsOrCb !== "object")
|
|
803
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
804
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
805
|
-
}
|
|
806
|
-
else {
|
|
807
|
-
return this.send(command, optionsOrCb);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
startFleet(args, optionsOrCb, cb) {
|
|
811
|
-
const command = new StartFleetCommand(args);
|
|
812
|
-
if (typeof optionsOrCb === "function") {
|
|
813
|
-
this.send(command, optionsOrCb);
|
|
814
|
-
}
|
|
815
|
-
else if (typeof cb === "function") {
|
|
816
|
-
if (typeof optionsOrCb !== "object")
|
|
817
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
818
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
819
|
-
}
|
|
820
|
-
else {
|
|
821
|
-
return this.send(command, optionsOrCb);
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
startImageBuilder(args, optionsOrCb, cb) {
|
|
825
|
-
const command = new StartImageBuilderCommand(args);
|
|
826
|
-
if (typeof optionsOrCb === "function") {
|
|
827
|
-
this.send(command, optionsOrCb);
|
|
828
|
-
}
|
|
829
|
-
else if (typeof cb === "function") {
|
|
830
|
-
if (typeof optionsOrCb !== "object")
|
|
831
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
832
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
833
|
-
}
|
|
834
|
-
else {
|
|
835
|
-
return this.send(command, optionsOrCb);
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
stopFleet(args, optionsOrCb, cb) {
|
|
839
|
-
const command = new StopFleetCommand(args);
|
|
840
|
-
if (typeof optionsOrCb === "function") {
|
|
841
|
-
this.send(command, optionsOrCb);
|
|
842
|
-
}
|
|
843
|
-
else if (typeof cb === "function") {
|
|
844
|
-
if (typeof optionsOrCb !== "object")
|
|
845
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
846
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
847
|
-
}
|
|
848
|
-
else {
|
|
849
|
-
return this.send(command, optionsOrCb);
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
stopImageBuilder(args, optionsOrCb, cb) {
|
|
853
|
-
const command = new StopImageBuilderCommand(args);
|
|
854
|
-
if (typeof optionsOrCb === "function") {
|
|
855
|
-
this.send(command, optionsOrCb);
|
|
856
|
-
}
|
|
857
|
-
else if (typeof cb === "function") {
|
|
858
|
-
if (typeof optionsOrCb !== "object")
|
|
859
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
860
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
861
|
-
}
|
|
862
|
-
else {
|
|
863
|
-
return this.send(command, optionsOrCb);
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
tagResource(args, optionsOrCb, cb) {
|
|
867
|
-
const command = new TagResourceCommand(args);
|
|
868
|
-
if (typeof optionsOrCb === "function") {
|
|
869
|
-
this.send(command, optionsOrCb);
|
|
870
|
-
}
|
|
871
|
-
else if (typeof cb === "function") {
|
|
872
|
-
if (typeof optionsOrCb !== "object")
|
|
873
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
874
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
875
|
-
}
|
|
876
|
-
else {
|
|
877
|
-
return this.send(command, optionsOrCb);
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
untagResource(args, optionsOrCb, cb) {
|
|
881
|
-
const command = new UntagResourceCommand(args);
|
|
882
|
-
if (typeof optionsOrCb === "function") {
|
|
883
|
-
this.send(command, optionsOrCb);
|
|
884
|
-
}
|
|
885
|
-
else if (typeof cb === "function") {
|
|
886
|
-
if (typeof optionsOrCb !== "object")
|
|
887
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
888
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
889
|
-
}
|
|
890
|
-
else {
|
|
891
|
-
return this.send(command, optionsOrCb);
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
updateApplication(args, optionsOrCb, cb) {
|
|
895
|
-
const command = new UpdateApplicationCommand(args);
|
|
896
|
-
if (typeof optionsOrCb === "function") {
|
|
897
|
-
this.send(command, optionsOrCb);
|
|
898
|
-
}
|
|
899
|
-
else if (typeof cb === "function") {
|
|
900
|
-
if (typeof optionsOrCb !== "object")
|
|
901
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
902
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
903
|
-
}
|
|
904
|
-
else {
|
|
905
|
-
return this.send(command, optionsOrCb);
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
updateDirectoryConfig(args, optionsOrCb, cb) {
|
|
909
|
-
const command = new UpdateDirectoryConfigCommand(args);
|
|
910
|
-
if (typeof optionsOrCb === "function") {
|
|
911
|
-
this.send(command, optionsOrCb);
|
|
912
|
-
}
|
|
913
|
-
else if (typeof cb === "function") {
|
|
914
|
-
if (typeof optionsOrCb !== "object")
|
|
915
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
916
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
917
|
-
}
|
|
918
|
-
else {
|
|
919
|
-
return this.send(command, optionsOrCb);
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
updateEntitlement(args, optionsOrCb, cb) {
|
|
923
|
-
const command = new UpdateEntitlementCommand(args);
|
|
924
|
-
if (typeof optionsOrCb === "function") {
|
|
925
|
-
this.send(command, optionsOrCb);
|
|
926
|
-
}
|
|
927
|
-
else if (typeof cb === "function") {
|
|
928
|
-
if (typeof optionsOrCb !== "object")
|
|
929
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
930
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
931
|
-
}
|
|
932
|
-
else {
|
|
933
|
-
return this.send(command, optionsOrCb);
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
updateFleet(args, optionsOrCb, cb) {
|
|
937
|
-
const command = new UpdateFleetCommand(args);
|
|
938
|
-
if (typeof optionsOrCb === "function") {
|
|
939
|
-
this.send(command, optionsOrCb);
|
|
940
|
-
}
|
|
941
|
-
else if (typeof cb === "function") {
|
|
942
|
-
if (typeof optionsOrCb !== "object")
|
|
943
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
944
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
945
|
-
}
|
|
946
|
-
else {
|
|
947
|
-
return this.send(command, optionsOrCb);
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
updateImagePermissions(args, optionsOrCb, cb) {
|
|
951
|
-
const command = new UpdateImagePermissionsCommand(args);
|
|
952
|
-
if (typeof optionsOrCb === "function") {
|
|
953
|
-
this.send(command, optionsOrCb);
|
|
954
|
-
}
|
|
955
|
-
else if (typeof cb === "function") {
|
|
956
|
-
if (typeof optionsOrCb !== "object")
|
|
957
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
958
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
959
|
-
}
|
|
960
|
-
else {
|
|
961
|
-
return this.send(command, optionsOrCb);
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
updateStack(args, optionsOrCb, cb) {
|
|
965
|
-
const command = new UpdateStackCommand(args);
|
|
966
|
-
if (typeof optionsOrCb === "function") {
|
|
967
|
-
this.send(command, optionsOrCb);
|
|
968
|
-
}
|
|
969
|
-
else if (typeof cb === "function") {
|
|
970
|
-
if (typeof optionsOrCb !== "object")
|
|
971
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
972
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
973
|
-
}
|
|
974
|
-
else {
|
|
975
|
-
return this.send(command, optionsOrCb);
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
136
|
}
|
|
137
|
+
createAggregatedClient(commands, AppStream);
|