@aws-sdk/client-workspaces 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/WorkSpaces.js +261 -254
- package/dist-es/WorkSpacesClient.js +28 -22
- package/dist-es/commands/AssociateConnectionAliasCommand.js +28 -21
- package/dist-es/commands/AssociateIpGroupsCommand.js +28 -21
- package/dist-es/commands/AuthorizeIpRulesCommand.js +28 -21
- package/dist-es/commands/CopyWorkspaceImageCommand.js +28 -21
- package/dist-es/commands/CreateConnectClientAddInCommand.js +28 -21
- package/dist-es/commands/CreateConnectionAliasCommand.js +28 -21
- package/dist-es/commands/CreateIpGroupCommand.js +28 -21
- package/dist-es/commands/CreateTagsCommand.js +28 -21
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +28 -21
- package/dist-es/commands/CreateWorkspaceBundleCommand.js +28 -21
- package/dist-es/commands/CreateWorkspaceImageCommand.js +28 -21
- package/dist-es/commands/CreateWorkspacesCommand.js +28 -21
- package/dist-es/commands/DeleteClientBrandingCommand.js +28 -21
- package/dist-es/commands/DeleteConnectClientAddInCommand.js +28 -21
- package/dist-es/commands/DeleteConnectionAliasCommand.js +28 -21
- package/dist-es/commands/DeleteIpGroupCommand.js +28 -21
- package/dist-es/commands/DeleteTagsCommand.js +28 -21
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js +28 -21
- package/dist-es/commands/DeleteWorkspaceImageCommand.js +28 -21
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +28 -21
- package/dist-es/commands/DescribeAccountCommand.js +28 -21
- package/dist-es/commands/DescribeAccountModificationsCommand.js +28 -21
- package/dist-es/commands/DescribeClientBrandingCommand.js +28 -21
- package/dist-es/commands/DescribeClientPropertiesCommand.js +28 -21
- package/dist-es/commands/DescribeConnectClientAddInsCommand.js +28 -21
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +28 -21
- package/dist-es/commands/DescribeConnectionAliasesCommand.js +28 -21
- package/dist-es/commands/DescribeIpGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeTagsCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspacesCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +28 -21
- package/dist-es/commands/DisassociateConnectionAliasCommand.js +28 -21
- package/dist-es/commands/DisassociateIpGroupsCommand.js +28 -21
- package/dist-es/commands/ImportClientBrandingCommand.js +28 -21
- package/dist-es/commands/ImportWorkspaceImageCommand.js +28 -21
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +28 -21
- package/dist-es/commands/MigrateWorkspaceCommand.js +28 -21
- package/dist-es/commands/ModifyAccountCommand.js +28 -21
- package/dist-es/commands/ModifyClientPropertiesCommand.js +28 -21
- package/dist-es/commands/ModifySamlPropertiesCommand.js +28 -21
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js +28 -21
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +28 -21
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +28 -21
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +28 -21
- package/dist-es/commands/ModifyWorkspaceStateCommand.js +28 -21
- package/dist-es/commands/RebootWorkspacesCommand.js +28 -21
- package/dist-es/commands/RebuildWorkspacesCommand.js +28 -21
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +28 -21
- package/dist-es/commands/RestoreWorkspaceCommand.js +28 -21
- package/dist-es/commands/RevokeIpRulesCommand.js +28 -21
- package/dist-es/commands/StartWorkspacesCommand.js +28 -21
- package/dist-es/commands/StopWorkspacesCommand.js +28 -21
- package/dist-es/commands/TerminateWorkspacesCommand.js +28 -21
- package/dist-es/commands/UpdateConnectClientAddInCommand.js +28 -21
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +28 -21
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +28 -21
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js +28 -21
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WorkSpacesServiceException.js +10 -5
- package/dist-es/models/models_0.js +325 -658
- package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +67 -24
- package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +67 -24
- package/dist-es/pagination/DescribeWorkspacesPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +5250 -4119
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/dist-es/WorkSpaces.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AssociateConnectionAliasCommand, } from "./commands/AssociateConnectionAliasCommand";
|
|
2
3
|
import { AssociateIpGroupsCommand, } from "./commands/AssociateIpGroupsCommand";
|
|
3
4
|
import { AuthorizeIpRulesCommand, } from "./commands/AuthorizeIpRulesCommand";
|
|
@@ -62,887 +63,893 @@ import { UpdateRulesOfIpGroupCommand, } from "./commands/UpdateRulesOfIpGroupCom
|
|
|
62
63
|
import { UpdateWorkspaceBundleCommand, } from "./commands/UpdateWorkspaceBundleCommand";
|
|
63
64
|
import { UpdateWorkspaceImagePermissionCommand, } from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
64
65
|
import { WorkSpacesClient } from "./WorkSpacesClient";
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
var WorkSpaces = (function (_super) {
|
|
67
|
+
__extends(WorkSpaces, _super);
|
|
68
|
+
function WorkSpaces() {
|
|
69
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
70
|
+
}
|
|
71
|
+
WorkSpaces.prototype.associateConnectionAlias = function (args, optionsOrCb, cb) {
|
|
72
|
+
var command = new AssociateConnectionAliasCommand(args);
|
|
68
73
|
if (typeof optionsOrCb === "function") {
|
|
69
74
|
this.send(command, optionsOrCb);
|
|
70
75
|
}
|
|
71
76
|
else if (typeof cb === "function") {
|
|
72
77
|
if (typeof optionsOrCb !== "object")
|
|
73
|
-
throw new Error(
|
|
78
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
74
79
|
this.send(command, optionsOrCb || {}, cb);
|
|
75
80
|
}
|
|
76
81
|
else {
|
|
77
82
|
return this.send(command, optionsOrCb);
|
|
78
83
|
}
|
|
79
|
-
}
|
|
80
|
-
associateIpGroups(args, optionsOrCb, cb) {
|
|
81
|
-
|
|
84
|
+
};
|
|
85
|
+
WorkSpaces.prototype.associateIpGroups = function (args, optionsOrCb, cb) {
|
|
86
|
+
var command = new AssociateIpGroupsCommand(args);
|
|
82
87
|
if (typeof optionsOrCb === "function") {
|
|
83
88
|
this.send(command, optionsOrCb);
|
|
84
89
|
}
|
|
85
90
|
else if (typeof cb === "function") {
|
|
86
91
|
if (typeof optionsOrCb !== "object")
|
|
87
|
-
throw new Error(
|
|
92
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
88
93
|
this.send(command, optionsOrCb || {}, cb);
|
|
89
94
|
}
|
|
90
95
|
else {
|
|
91
96
|
return this.send(command, optionsOrCb);
|
|
92
97
|
}
|
|
93
|
-
}
|
|
94
|
-
authorizeIpRules(args, optionsOrCb, cb) {
|
|
95
|
-
|
|
98
|
+
};
|
|
99
|
+
WorkSpaces.prototype.authorizeIpRules = function (args, optionsOrCb, cb) {
|
|
100
|
+
var command = new AuthorizeIpRulesCommand(args);
|
|
96
101
|
if (typeof optionsOrCb === "function") {
|
|
97
102
|
this.send(command, optionsOrCb);
|
|
98
103
|
}
|
|
99
104
|
else if (typeof cb === "function") {
|
|
100
105
|
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error(
|
|
106
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
102
107
|
this.send(command, optionsOrCb || {}, cb);
|
|
103
108
|
}
|
|
104
109
|
else {
|
|
105
110
|
return this.send(command, optionsOrCb);
|
|
106
111
|
}
|
|
107
|
-
}
|
|
108
|
-
copyWorkspaceImage(args, optionsOrCb, cb) {
|
|
109
|
-
|
|
112
|
+
};
|
|
113
|
+
WorkSpaces.prototype.copyWorkspaceImage = function (args, optionsOrCb, cb) {
|
|
114
|
+
var command = new CopyWorkspaceImageCommand(args);
|
|
110
115
|
if (typeof optionsOrCb === "function") {
|
|
111
116
|
this.send(command, optionsOrCb);
|
|
112
117
|
}
|
|
113
118
|
else if (typeof cb === "function") {
|
|
114
119
|
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error(
|
|
120
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
116
121
|
this.send(command, optionsOrCb || {}, cb);
|
|
117
122
|
}
|
|
118
123
|
else {
|
|
119
124
|
return this.send(command, optionsOrCb);
|
|
120
125
|
}
|
|
121
|
-
}
|
|
122
|
-
createConnectClientAddIn(args, optionsOrCb, cb) {
|
|
123
|
-
|
|
126
|
+
};
|
|
127
|
+
WorkSpaces.prototype.createConnectClientAddIn = function (args, optionsOrCb, cb) {
|
|
128
|
+
var command = new CreateConnectClientAddInCommand(args);
|
|
124
129
|
if (typeof optionsOrCb === "function") {
|
|
125
130
|
this.send(command, optionsOrCb);
|
|
126
131
|
}
|
|
127
132
|
else if (typeof cb === "function") {
|
|
128
133
|
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error(
|
|
134
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
130
135
|
this.send(command, optionsOrCb || {}, cb);
|
|
131
136
|
}
|
|
132
137
|
else {
|
|
133
138
|
return this.send(command, optionsOrCb);
|
|
134
139
|
}
|
|
135
|
-
}
|
|
136
|
-
createConnectionAlias(args, optionsOrCb, cb) {
|
|
137
|
-
|
|
140
|
+
};
|
|
141
|
+
WorkSpaces.prototype.createConnectionAlias = function (args, optionsOrCb, cb) {
|
|
142
|
+
var command = new CreateConnectionAliasCommand(args);
|
|
138
143
|
if (typeof optionsOrCb === "function") {
|
|
139
144
|
this.send(command, optionsOrCb);
|
|
140
145
|
}
|
|
141
146
|
else if (typeof cb === "function") {
|
|
142
147
|
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error(
|
|
148
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
144
149
|
this.send(command, optionsOrCb || {}, cb);
|
|
145
150
|
}
|
|
146
151
|
else {
|
|
147
152
|
return this.send(command, optionsOrCb);
|
|
148
153
|
}
|
|
149
|
-
}
|
|
150
|
-
createIpGroup(args, optionsOrCb, cb) {
|
|
151
|
-
|
|
154
|
+
};
|
|
155
|
+
WorkSpaces.prototype.createIpGroup = function (args, optionsOrCb, cb) {
|
|
156
|
+
var command = new CreateIpGroupCommand(args);
|
|
152
157
|
if (typeof optionsOrCb === "function") {
|
|
153
158
|
this.send(command, optionsOrCb);
|
|
154
159
|
}
|
|
155
160
|
else if (typeof cb === "function") {
|
|
156
161
|
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error(
|
|
162
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
158
163
|
this.send(command, optionsOrCb || {}, cb);
|
|
159
164
|
}
|
|
160
165
|
else {
|
|
161
166
|
return this.send(command, optionsOrCb);
|
|
162
167
|
}
|
|
163
|
-
}
|
|
164
|
-
createTags(args, optionsOrCb, cb) {
|
|
165
|
-
|
|
168
|
+
};
|
|
169
|
+
WorkSpaces.prototype.createTags = function (args, optionsOrCb, cb) {
|
|
170
|
+
var command = new CreateTagsCommand(args);
|
|
166
171
|
if (typeof optionsOrCb === "function") {
|
|
167
172
|
this.send(command, optionsOrCb);
|
|
168
173
|
}
|
|
169
174
|
else if (typeof cb === "function") {
|
|
170
175
|
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error(
|
|
176
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
172
177
|
this.send(command, optionsOrCb || {}, cb);
|
|
173
178
|
}
|
|
174
179
|
else {
|
|
175
180
|
return this.send(command, optionsOrCb);
|
|
176
181
|
}
|
|
177
|
-
}
|
|
178
|
-
createUpdatedWorkspaceImage(args, optionsOrCb, cb) {
|
|
179
|
-
|
|
182
|
+
};
|
|
183
|
+
WorkSpaces.prototype.createUpdatedWorkspaceImage = function (args, optionsOrCb, cb) {
|
|
184
|
+
var command = new CreateUpdatedWorkspaceImageCommand(args);
|
|
180
185
|
if (typeof optionsOrCb === "function") {
|
|
181
186
|
this.send(command, optionsOrCb);
|
|
182
187
|
}
|
|
183
188
|
else if (typeof cb === "function") {
|
|
184
189
|
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error(
|
|
190
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
186
191
|
this.send(command, optionsOrCb || {}, cb);
|
|
187
192
|
}
|
|
188
193
|
else {
|
|
189
194
|
return this.send(command, optionsOrCb);
|
|
190
195
|
}
|
|
191
|
-
}
|
|
192
|
-
createWorkspaceBundle(args, optionsOrCb, cb) {
|
|
193
|
-
|
|
196
|
+
};
|
|
197
|
+
WorkSpaces.prototype.createWorkspaceBundle = function (args, optionsOrCb, cb) {
|
|
198
|
+
var command = new CreateWorkspaceBundleCommand(args);
|
|
194
199
|
if (typeof optionsOrCb === "function") {
|
|
195
200
|
this.send(command, optionsOrCb);
|
|
196
201
|
}
|
|
197
202
|
else if (typeof cb === "function") {
|
|
198
203
|
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error(
|
|
204
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
200
205
|
this.send(command, optionsOrCb || {}, cb);
|
|
201
206
|
}
|
|
202
207
|
else {
|
|
203
208
|
return this.send(command, optionsOrCb);
|
|
204
209
|
}
|
|
205
|
-
}
|
|
206
|
-
createWorkspaceImage(args, optionsOrCb, cb) {
|
|
207
|
-
|
|
210
|
+
};
|
|
211
|
+
WorkSpaces.prototype.createWorkspaceImage = function (args, optionsOrCb, cb) {
|
|
212
|
+
var command = new CreateWorkspaceImageCommand(args);
|
|
208
213
|
if (typeof optionsOrCb === "function") {
|
|
209
214
|
this.send(command, optionsOrCb);
|
|
210
215
|
}
|
|
211
216
|
else if (typeof cb === "function") {
|
|
212
217
|
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error(
|
|
218
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
214
219
|
this.send(command, optionsOrCb || {}, cb);
|
|
215
220
|
}
|
|
216
221
|
else {
|
|
217
222
|
return this.send(command, optionsOrCb);
|
|
218
223
|
}
|
|
219
|
-
}
|
|
220
|
-
createWorkspaces(args, optionsOrCb, cb) {
|
|
221
|
-
|
|
224
|
+
};
|
|
225
|
+
WorkSpaces.prototype.createWorkspaces = function (args, optionsOrCb, cb) {
|
|
226
|
+
var command = new CreateWorkspacesCommand(args);
|
|
222
227
|
if (typeof optionsOrCb === "function") {
|
|
223
228
|
this.send(command, optionsOrCb);
|
|
224
229
|
}
|
|
225
230
|
else if (typeof cb === "function") {
|
|
226
231
|
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error(
|
|
232
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
228
233
|
this.send(command, optionsOrCb || {}, cb);
|
|
229
234
|
}
|
|
230
235
|
else {
|
|
231
236
|
return this.send(command, optionsOrCb);
|
|
232
237
|
}
|
|
233
|
-
}
|
|
234
|
-
deleteClientBranding(args, optionsOrCb, cb) {
|
|
235
|
-
|
|
238
|
+
};
|
|
239
|
+
WorkSpaces.prototype.deleteClientBranding = function (args, optionsOrCb, cb) {
|
|
240
|
+
var command = new DeleteClientBrandingCommand(args);
|
|
236
241
|
if (typeof optionsOrCb === "function") {
|
|
237
242
|
this.send(command, optionsOrCb);
|
|
238
243
|
}
|
|
239
244
|
else if (typeof cb === "function") {
|
|
240
245
|
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error(
|
|
246
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
242
247
|
this.send(command, optionsOrCb || {}, cb);
|
|
243
248
|
}
|
|
244
249
|
else {
|
|
245
250
|
return this.send(command, optionsOrCb);
|
|
246
251
|
}
|
|
247
|
-
}
|
|
248
|
-
deleteConnectClientAddIn(args, optionsOrCb, cb) {
|
|
249
|
-
|
|
252
|
+
};
|
|
253
|
+
WorkSpaces.prototype.deleteConnectClientAddIn = function (args, optionsOrCb, cb) {
|
|
254
|
+
var command = new DeleteConnectClientAddInCommand(args);
|
|
250
255
|
if (typeof optionsOrCb === "function") {
|
|
251
256
|
this.send(command, optionsOrCb);
|
|
252
257
|
}
|
|
253
258
|
else if (typeof cb === "function") {
|
|
254
259
|
if (typeof optionsOrCb !== "object")
|
|
255
|
-
throw new Error(
|
|
260
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
256
261
|
this.send(command, optionsOrCb || {}, cb);
|
|
257
262
|
}
|
|
258
263
|
else {
|
|
259
264
|
return this.send(command, optionsOrCb);
|
|
260
265
|
}
|
|
261
|
-
}
|
|
262
|
-
deleteConnectionAlias(args, optionsOrCb, cb) {
|
|
263
|
-
|
|
266
|
+
};
|
|
267
|
+
WorkSpaces.prototype.deleteConnectionAlias = function (args, optionsOrCb, cb) {
|
|
268
|
+
var command = new DeleteConnectionAliasCommand(args);
|
|
264
269
|
if (typeof optionsOrCb === "function") {
|
|
265
270
|
this.send(command, optionsOrCb);
|
|
266
271
|
}
|
|
267
272
|
else if (typeof cb === "function") {
|
|
268
273
|
if (typeof optionsOrCb !== "object")
|
|
269
|
-
throw new Error(
|
|
274
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
270
275
|
this.send(command, optionsOrCb || {}, cb);
|
|
271
276
|
}
|
|
272
277
|
else {
|
|
273
278
|
return this.send(command, optionsOrCb);
|
|
274
279
|
}
|
|
275
|
-
}
|
|
276
|
-
deleteIpGroup(args, optionsOrCb, cb) {
|
|
277
|
-
|
|
280
|
+
};
|
|
281
|
+
WorkSpaces.prototype.deleteIpGroup = function (args, optionsOrCb, cb) {
|
|
282
|
+
var command = new DeleteIpGroupCommand(args);
|
|
278
283
|
if (typeof optionsOrCb === "function") {
|
|
279
284
|
this.send(command, optionsOrCb);
|
|
280
285
|
}
|
|
281
286
|
else if (typeof cb === "function") {
|
|
282
287
|
if (typeof optionsOrCb !== "object")
|
|
283
|
-
throw new Error(
|
|
288
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
284
289
|
this.send(command, optionsOrCb || {}, cb);
|
|
285
290
|
}
|
|
286
291
|
else {
|
|
287
292
|
return this.send(command, optionsOrCb);
|
|
288
293
|
}
|
|
289
|
-
}
|
|
290
|
-
deleteTags(args, optionsOrCb, cb) {
|
|
291
|
-
|
|
294
|
+
};
|
|
295
|
+
WorkSpaces.prototype.deleteTags = function (args, optionsOrCb, cb) {
|
|
296
|
+
var command = new DeleteTagsCommand(args);
|
|
292
297
|
if (typeof optionsOrCb === "function") {
|
|
293
298
|
this.send(command, optionsOrCb);
|
|
294
299
|
}
|
|
295
300
|
else if (typeof cb === "function") {
|
|
296
301
|
if (typeof optionsOrCb !== "object")
|
|
297
|
-
throw new Error(
|
|
302
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
298
303
|
this.send(command, optionsOrCb || {}, cb);
|
|
299
304
|
}
|
|
300
305
|
else {
|
|
301
306
|
return this.send(command, optionsOrCb);
|
|
302
307
|
}
|
|
303
|
-
}
|
|
304
|
-
deleteWorkspaceBundle(args, optionsOrCb, cb) {
|
|
305
|
-
|
|
308
|
+
};
|
|
309
|
+
WorkSpaces.prototype.deleteWorkspaceBundle = function (args, optionsOrCb, cb) {
|
|
310
|
+
var command = new DeleteWorkspaceBundleCommand(args);
|
|
306
311
|
if (typeof optionsOrCb === "function") {
|
|
307
312
|
this.send(command, optionsOrCb);
|
|
308
313
|
}
|
|
309
314
|
else if (typeof cb === "function") {
|
|
310
315
|
if (typeof optionsOrCb !== "object")
|
|
311
|
-
throw new Error(
|
|
316
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
312
317
|
this.send(command, optionsOrCb || {}, cb);
|
|
313
318
|
}
|
|
314
319
|
else {
|
|
315
320
|
return this.send(command, optionsOrCb);
|
|
316
321
|
}
|
|
317
|
-
}
|
|
318
|
-
deleteWorkspaceImage(args, optionsOrCb, cb) {
|
|
319
|
-
|
|
322
|
+
};
|
|
323
|
+
WorkSpaces.prototype.deleteWorkspaceImage = function (args, optionsOrCb, cb) {
|
|
324
|
+
var command = new DeleteWorkspaceImageCommand(args);
|
|
320
325
|
if (typeof optionsOrCb === "function") {
|
|
321
326
|
this.send(command, optionsOrCb);
|
|
322
327
|
}
|
|
323
328
|
else if (typeof cb === "function") {
|
|
324
329
|
if (typeof optionsOrCb !== "object")
|
|
325
|
-
throw new Error(
|
|
330
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
326
331
|
this.send(command, optionsOrCb || {}, cb);
|
|
327
332
|
}
|
|
328
333
|
else {
|
|
329
334
|
return this.send(command, optionsOrCb);
|
|
330
335
|
}
|
|
331
|
-
}
|
|
332
|
-
deregisterWorkspaceDirectory(args, optionsOrCb, cb) {
|
|
333
|
-
|
|
336
|
+
};
|
|
337
|
+
WorkSpaces.prototype.deregisterWorkspaceDirectory = function (args, optionsOrCb, cb) {
|
|
338
|
+
var command = new DeregisterWorkspaceDirectoryCommand(args);
|
|
334
339
|
if (typeof optionsOrCb === "function") {
|
|
335
340
|
this.send(command, optionsOrCb);
|
|
336
341
|
}
|
|
337
342
|
else if (typeof cb === "function") {
|
|
338
343
|
if (typeof optionsOrCb !== "object")
|
|
339
|
-
throw new Error(
|
|
344
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
340
345
|
this.send(command, optionsOrCb || {}, cb);
|
|
341
346
|
}
|
|
342
347
|
else {
|
|
343
348
|
return this.send(command, optionsOrCb);
|
|
344
349
|
}
|
|
345
|
-
}
|
|
346
|
-
describeAccount(args, optionsOrCb, cb) {
|
|
347
|
-
|
|
350
|
+
};
|
|
351
|
+
WorkSpaces.prototype.describeAccount = function (args, optionsOrCb, cb) {
|
|
352
|
+
var command = new DescribeAccountCommand(args);
|
|
348
353
|
if (typeof optionsOrCb === "function") {
|
|
349
354
|
this.send(command, optionsOrCb);
|
|
350
355
|
}
|
|
351
356
|
else if (typeof cb === "function") {
|
|
352
357
|
if (typeof optionsOrCb !== "object")
|
|
353
|
-
throw new Error(
|
|
358
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
354
359
|
this.send(command, optionsOrCb || {}, cb);
|
|
355
360
|
}
|
|
356
361
|
else {
|
|
357
362
|
return this.send(command, optionsOrCb);
|
|
358
363
|
}
|
|
359
|
-
}
|
|
360
|
-
describeAccountModifications(args, optionsOrCb, cb) {
|
|
361
|
-
|
|
364
|
+
};
|
|
365
|
+
WorkSpaces.prototype.describeAccountModifications = function (args, optionsOrCb, cb) {
|
|
366
|
+
var command = new DescribeAccountModificationsCommand(args);
|
|
362
367
|
if (typeof optionsOrCb === "function") {
|
|
363
368
|
this.send(command, optionsOrCb);
|
|
364
369
|
}
|
|
365
370
|
else if (typeof cb === "function") {
|
|
366
371
|
if (typeof optionsOrCb !== "object")
|
|
367
|
-
throw new Error(
|
|
372
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
368
373
|
this.send(command, optionsOrCb || {}, cb);
|
|
369
374
|
}
|
|
370
375
|
else {
|
|
371
376
|
return this.send(command, optionsOrCb);
|
|
372
377
|
}
|
|
373
|
-
}
|
|
374
|
-
describeClientBranding(args, optionsOrCb, cb) {
|
|
375
|
-
|
|
378
|
+
};
|
|
379
|
+
WorkSpaces.prototype.describeClientBranding = function (args, optionsOrCb, cb) {
|
|
380
|
+
var command = new DescribeClientBrandingCommand(args);
|
|
376
381
|
if (typeof optionsOrCb === "function") {
|
|
377
382
|
this.send(command, optionsOrCb);
|
|
378
383
|
}
|
|
379
384
|
else if (typeof cb === "function") {
|
|
380
385
|
if (typeof optionsOrCb !== "object")
|
|
381
|
-
throw new Error(
|
|
386
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
382
387
|
this.send(command, optionsOrCb || {}, cb);
|
|
383
388
|
}
|
|
384
389
|
else {
|
|
385
390
|
return this.send(command, optionsOrCb);
|
|
386
391
|
}
|
|
387
|
-
}
|
|
388
|
-
describeClientProperties(args, optionsOrCb, cb) {
|
|
389
|
-
|
|
392
|
+
};
|
|
393
|
+
WorkSpaces.prototype.describeClientProperties = function (args, optionsOrCb, cb) {
|
|
394
|
+
var command = new DescribeClientPropertiesCommand(args);
|
|
390
395
|
if (typeof optionsOrCb === "function") {
|
|
391
396
|
this.send(command, optionsOrCb);
|
|
392
397
|
}
|
|
393
398
|
else if (typeof cb === "function") {
|
|
394
399
|
if (typeof optionsOrCb !== "object")
|
|
395
|
-
throw new Error(
|
|
400
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
396
401
|
this.send(command, optionsOrCb || {}, cb);
|
|
397
402
|
}
|
|
398
403
|
else {
|
|
399
404
|
return this.send(command, optionsOrCb);
|
|
400
405
|
}
|
|
401
|
-
}
|
|
402
|
-
describeConnectClientAddIns(args, optionsOrCb, cb) {
|
|
403
|
-
|
|
406
|
+
};
|
|
407
|
+
WorkSpaces.prototype.describeConnectClientAddIns = function (args, optionsOrCb, cb) {
|
|
408
|
+
var command = new DescribeConnectClientAddInsCommand(args);
|
|
404
409
|
if (typeof optionsOrCb === "function") {
|
|
405
410
|
this.send(command, optionsOrCb);
|
|
406
411
|
}
|
|
407
412
|
else if (typeof cb === "function") {
|
|
408
413
|
if (typeof optionsOrCb !== "object")
|
|
409
|
-
throw new Error(
|
|
414
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
410
415
|
this.send(command, optionsOrCb || {}, cb);
|
|
411
416
|
}
|
|
412
417
|
else {
|
|
413
418
|
return this.send(command, optionsOrCb);
|
|
414
419
|
}
|
|
415
|
-
}
|
|
416
|
-
describeConnectionAliases(args, optionsOrCb, cb) {
|
|
417
|
-
|
|
420
|
+
};
|
|
421
|
+
WorkSpaces.prototype.describeConnectionAliases = function (args, optionsOrCb, cb) {
|
|
422
|
+
var command = new DescribeConnectionAliasesCommand(args);
|
|
418
423
|
if (typeof optionsOrCb === "function") {
|
|
419
424
|
this.send(command, optionsOrCb);
|
|
420
425
|
}
|
|
421
426
|
else if (typeof cb === "function") {
|
|
422
427
|
if (typeof optionsOrCb !== "object")
|
|
423
|
-
throw new Error(
|
|
428
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
424
429
|
this.send(command, optionsOrCb || {}, cb);
|
|
425
430
|
}
|
|
426
431
|
else {
|
|
427
432
|
return this.send(command, optionsOrCb);
|
|
428
433
|
}
|
|
429
|
-
}
|
|
430
|
-
describeConnectionAliasPermissions(args, optionsOrCb, cb) {
|
|
431
|
-
|
|
434
|
+
};
|
|
435
|
+
WorkSpaces.prototype.describeConnectionAliasPermissions = function (args, optionsOrCb, cb) {
|
|
436
|
+
var command = new DescribeConnectionAliasPermissionsCommand(args);
|
|
432
437
|
if (typeof optionsOrCb === "function") {
|
|
433
438
|
this.send(command, optionsOrCb);
|
|
434
439
|
}
|
|
435
440
|
else if (typeof cb === "function") {
|
|
436
441
|
if (typeof optionsOrCb !== "object")
|
|
437
|
-
throw new Error(
|
|
442
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
438
443
|
this.send(command, optionsOrCb || {}, cb);
|
|
439
444
|
}
|
|
440
445
|
else {
|
|
441
446
|
return this.send(command, optionsOrCb);
|
|
442
447
|
}
|
|
443
|
-
}
|
|
444
|
-
describeIpGroups(args, optionsOrCb, cb) {
|
|
445
|
-
|
|
448
|
+
};
|
|
449
|
+
WorkSpaces.prototype.describeIpGroups = function (args, optionsOrCb, cb) {
|
|
450
|
+
var command = new DescribeIpGroupsCommand(args);
|
|
446
451
|
if (typeof optionsOrCb === "function") {
|
|
447
452
|
this.send(command, optionsOrCb);
|
|
448
453
|
}
|
|
449
454
|
else if (typeof cb === "function") {
|
|
450
455
|
if (typeof optionsOrCb !== "object")
|
|
451
|
-
throw new Error(
|
|
456
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
452
457
|
this.send(command, optionsOrCb || {}, cb);
|
|
453
458
|
}
|
|
454
459
|
else {
|
|
455
460
|
return this.send(command, optionsOrCb);
|
|
456
461
|
}
|
|
457
|
-
}
|
|
458
|
-
describeTags(args, optionsOrCb, cb) {
|
|
459
|
-
|
|
462
|
+
};
|
|
463
|
+
WorkSpaces.prototype.describeTags = function (args, optionsOrCb, cb) {
|
|
464
|
+
var command = new DescribeTagsCommand(args);
|
|
460
465
|
if (typeof optionsOrCb === "function") {
|
|
461
466
|
this.send(command, optionsOrCb);
|
|
462
467
|
}
|
|
463
468
|
else if (typeof cb === "function") {
|
|
464
469
|
if (typeof optionsOrCb !== "object")
|
|
465
|
-
throw new Error(
|
|
470
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
466
471
|
this.send(command, optionsOrCb || {}, cb);
|
|
467
472
|
}
|
|
468
473
|
else {
|
|
469
474
|
return this.send(command, optionsOrCb);
|
|
470
475
|
}
|
|
471
|
-
}
|
|
472
|
-
describeWorkspaceBundles(args, optionsOrCb, cb) {
|
|
473
|
-
|
|
476
|
+
};
|
|
477
|
+
WorkSpaces.prototype.describeWorkspaceBundles = function (args, optionsOrCb, cb) {
|
|
478
|
+
var command = new DescribeWorkspaceBundlesCommand(args);
|
|
474
479
|
if (typeof optionsOrCb === "function") {
|
|
475
480
|
this.send(command, optionsOrCb);
|
|
476
481
|
}
|
|
477
482
|
else if (typeof cb === "function") {
|
|
478
483
|
if (typeof optionsOrCb !== "object")
|
|
479
|
-
throw new Error(
|
|
484
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
480
485
|
this.send(command, optionsOrCb || {}, cb);
|
|
481
486
|
}
|
|
482
487
|
else {
|
|
483
488
|
return this.send(command, optionsOrCb);
|
|
484
489
|
}
|
|
485
|
-
}
|
|
486
|
-
describeWorkspaceDirectories(args, optionsOrCb, cb) {
|
|
487
|
-
|
|
490
|
+
};
|
|
491
|
+
WorkSpaces.prototype.describeWorkspaceDirectories = function (args, optionsOrCb, cb) {
|
|
492
|
+
var command = new DescribeWorkspaceDirectoriesCommand(args);
|
|
488
493
|
if (typeof optionsOrCb === "function") {
|
|
489
494
|
this.send(command, optionsOrCb);
|
|
490
495
|
}
|
|
491
496
|
else if (typeof cb === "function") {
|
|
492
497
|
if (typeof optionsOrCb !== "object")
|
|
493
|
-
throw new Error(
|
|
498
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
494
499
|
this.send(command, optionsOrCb || {}, cb);
|
|
495
500
|
}
|
|
496
501
|
else {
|
|
497
502
|
return this.send(command, optionsOrCb);
|
|
498
503
|
}
|
|
499
|
-
}
|
|
500
|
-
describeWorkspaceImagePermissions(args, optionsOrCb, cb) {
|
|
501
|
-
|
|
504
|
+
};
|
|
505
|
+
WorkSpaces.prototype.describeWorkspaceImagePermissions = function (args, optionsOrCb, cb) {
|
|
506
|
+
var command = new DescribeWorkspaceImagePermissionsCommand(args);
|
|
502
507
|
if (typeof optionsOrCb === "function") {
|
|
503
508
|
this.send(command, optionsOrCb);
|
|
504
509
|
}
|
|
505
510
|
else if (typeof cb === "function") {
|
|
506
511
|
if (typeof optionsOrCb !== "object")
|
|
507
|
-
throw new Error(
|
|
512
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
508
513
|
this.send(command, optionsOrCb || {}, cb);
|
|
509
514
|
}
|
|
510
515
|
else {
|
|
511
516
|
return this.send(command, optionsOrCb);
|
|
512
517
|
}
|
|
513
|
-
}
|
|
514
|
-
describeWorkspaceImages(args, optionsOrCb, cb) {
|
|
515
|
-
|
|
518
|
+
};
|
|
519
|
+
WorkSpaces.prototype.describeWorkspaceImages = function (args, optionsOrCb, cb) {
|
|
520
|
+
var command = new DescribeWorkspaceImagesCommand(args);
|
|
516
521
|
if (typeof optionsOrCb === "function") {
|
|
517
522
|
this.send(command, optionsOrCb);
|
|
518
523
|
}
|
|
519
524
|
else if (typeof cb === "function") {
|
|
520
525
|
if (typeof optionsOrCb !== "object")
|
|
521
|
-
throw new Error(
|
|
526
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
522
527
|
this.send(command, optionsOrCb || {}, cb);
|
|
523
528
|
}
|
|
524
529
|
else {
|
|
525
530
|
return this.send(command, optionsOrCb);
|
|
526
531
|
}
|
|
527
|
-
}
|
|
528
|
-
describeWorkspaces(args, optionsOrCb, cb) {
|
|
529
|
-
|
|
532
|
+
};
|
|
533
|
+
WorkSpaces.prototype.describeWorkspaces = function (args, optionsOrCb, cb) {
|
|
534
|
+
var command = new DescribeWorkspacesCommand(args);
|
|
530
535
|
if (typeof optionsOrCb === "function") {
|
|
531
536
|
this.send(command, optionsOrCb);
|
|
532
537
|
}
|
|
533
538
|
else if (typeof cb === "function") {
|
|
534
539
|
if (typeof optionsOrCb !== "object")
|
|
535
|
-
throw new Error(
|
|
540
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
536
541
|
this.send(command, optionsOrCb || {}, cb);
|
|
537
542
|
}
|
|
538
543
|
else {
|
|
539
544
|
return this.send(command, optionsOrCb);
|
|
540
545
|
}
|
|
541
|
-
}
|
|
542
|
-
describeWorkspacesConnectionStatus(args, optionsOrCb, cb) {
|
|
543
|
-
|
|
546
|
+
};
|
|
547
|
+
WorkSpaces.prototype.describeWorkspacesConnectionStatus = function (args, optionsOrCb, cb) {
|
|
548
|
+
var command = new DescribeWorkspacesConnectionStatusCommand(args);
|
|
544
549
|
if (typeof optionsOrCb === "function") {
|
|
545
550
|
this.send(command, optionsOrCb);
|
|
546
551
|
}
|
|
547
552
|
else if (typeof cb === "function") {
|
|
548
553
|
if (typeof optionsOrCb !== "object")
|
|
549
|
-
throw new Error(
|
|
554
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
550
555
|
this.send(command, optionsOrCb || {}, cb);
|
|
551
556
|
}
|
|
552
557
|
else {
|
|
553
558
|
return this.send(command, optionsOrCb);
|
|
554
559
|
}
|
|
555
|
-
}
|
|
556
|
-
describeWorkspaceSnapshots(args, optionsOrCb, cb) {
|
|
557
|
-
|
|
560
|
+
};
|
|
561
|
+
WorkSpaces.prototype.describeWorkspaceSnapshots = function (args, optionsOrCb, cb) {
|
|
562
|
+
var command = new DescribeWorkspaceSnapshotsCommand(args);
|
|
558
563
|
if (typeof optionsOrCb === "function") {
|
|
559
564
|
this.send(command, optionsOrCb);
|
|
560
565
|
}
|
|
561
566
|
else if (typeof cb === "function") {
|
|
562
567
|
if (typeof optionsOrCb !== "object")
|
|
563
|
-
throw new Error(
|
|
568
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
564
569
|
this.send(command, optionsOrCb || {}, cb);
|
|
565
570
|
}
|
|
566
571
|
else {
|
|
567
572
|
return this.send(command, optionsOrCb);
|
|
568
573
|
}
|
|
569
|
-
}
|
|
570
|
-
disassociateConnectionAlias(args, optionsOrCb, cb) {
|
|
571
|
-
|
|
574
|
+
};
|
|
575
|
+
WorkSpaces.prototype.disassociateConnectionAlias = function (args, optionsOrCb, cb) {
|
|
576
|
+
var command = new DisassociateConnectionAliasCommand(args);
|
|
572
577
|
if (typeof optionsOrCb === "function") {
|
|
573
578
|
this.send(command, optionsOrCb);
|
|
574
579
|
}
|
|
575
580
|
else if (typeof cb === "function") {
|
|
576
581
|
if (typeof optionsOrCb !== "object")
|
|
577
|
-
throw new Error(
|
|
582
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
578
583
|
this.send(command, optionsOrCb || {}, cb);
|
|
579
584
|
}
|
|
580
585
|
else {
|
|
581
586
|
return this.send(command, optionsOrCb);
|
|
582
587
|
}
|
|
583
|
-
}
|
|
584
|
-
disassociateIpGroups(args, optionsOrCb, cb) {
|
|
585
|
-
|
|
588
|
+
};
|
|
589
|
+
WorkSpaces.prototype.disassociateIpGroups = function (args, optionsOrCb, cb) {
|
|
590
|
+
var command = new DisassociateIpGroupsCommand(args);
|
|
586
591
|
if (typeof optionsOrCb === "function") {
|
|
587
592
|
this.send(command, optionsOrCb);
|
|
588
593
|
}
|
|
589
594
|
else if (typeof cb === "function") {
|
|
590
595
|
if (typeof optionsOrCb !== "object")
|
|
591
|
-
throw new Error(
|
|
596
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
592
597
|
this.send(command, optionsOrCb || {}, cb);
|
|
593
598
|
}
|
|
594
599
|
else {
|
|
595
600
|
return this.send(command, optionsOrCb);
|
|
596
601
|
}
|
|
597
|
-
}
|
|
598
|
-
importClientBranding(args, optionsOrCb, cb) {
|
|
599
|
-
|
|
602
|
+
};
|
|
603
|
+
WorkSpaces.prototype.importClientBranding = function (args, optionsOrCb, cb) {
|
|
604
|
+
var command = new ImportClientBrandingCommand(args);
|
|
600
605
|
if (typeof optionsOrCb === "function") {
|
|
601
606
|
this.send(command, optionsOrCb);
|
|
602
607
|
}
|
|
603
608
|
else if (typeof cb === "function") {
|
|
604
609
|
if (typeof optionsOrCb !== "object")
|
|
605
|
-
throw new Error(
|
|
610
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
606
611
|
this.send(command, optionsOrCb || {}, cb);
|
|
607
612
|
}
|
|
608
613
|
else {
|
|
609
614
|
return this.send(command, optionsOrCb);
|
|
610
615
|
}
|
|
611
|
-
}
|
|
612
|
-
importWorkspaceImage(args, optionsOrCb, cb) {
|
|
613
|
-
|
|
616
|
+
};
|
|
617
|
+
WorkSpaces.prototype.importWorkspaceImage = function (args, optionsOrCb, cb) {
|
|
618
|
+
var command = new ImportWorkspaceImageCommand(args);
|
|
614
619
|
if (typeof optionsOrCb === "function") {
|
|
615
620
|
this.send(command, optionsOrCb);
|
|
616
621
|
}
|
|
617
622
|
else if (typeof cb === "function") {
|
|
618
623
|
if (typeof optionsOrCb !== "object")
|
|
619
|
-
throw new Error(
|
|
624
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
620
625
|
this.send(command, optionsOrCb || {}, cb);
|
|
621
626
|
}
|
|
622
627
|
else {
|
|
623
628
|
return this.send(command, optionsOrCb);
|
|
624
629
|
}
|
|
625
|
-
}
|
|
626
|
-
listAvailableManagementCidrRanges(args, optionsOrCb, cb) {
|
|
627
|
-
|
|
630
|
+
};
|
|
631
|
+
WorkSpaces.prototype.listAvailableManagementCidrRanges = function (args, optionsOrCb, cb) {
|
|
632
|
+
var command = new ListAvailableManagementCidrRangesCommand(args);
|
|
628
633
|
if (typeof optionsOrCb === "function") {
|
|
629
634
|
this.send(command, optionsOrCb);
|
|
630
635
|
}
|
|
631
636
|
else if (typeof cb === "function") {
|
|
632
637
|
if (typeof optionsOrCb !== "object")
|
|
633
|
-
throw new Error(
|
|
638
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
634
639
|
this.send(command, optionsOrCb || {}, cb);
|
|
635
640
|
}
|
|
636
641
|
else {
|
|
637
642
|
return this.send(command, optionsOrCb);
|
|
638
643
|
}
|
|
639
|
-
}
|
|
640
|
-
migrateWorkspace(args, optionsOrCb, cb) {
|
|
641
|
-
|
|
644
|
+
};
|
|
645
|
+
WorkSpaces.prototype.migrateWorkspace = function (args, optionsOrCb, cb) {
|
|
646
|
+
var command = new MigrateWorkspaceCommand(args);
|
|
642
647
|
if (typeof optionsOrCb === "function") {
|
|
643
648
|
this.send(command, optionsOrCb);
|
|
644
649
|
}
|
|
645
650
|
else if (typeof cb === "function") {
|
|
646
651
|
if (typeof optionsOrCb !== "object")
|
|
647
|
-
throw new Error(
|
|
652
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
648
653
|
this.send(command, optionsOrCb || {}, cb);
|
|
649
654
|
}
|
|
650
655
|
else {
|
|
651
656
|
return this.send(command, optionsOrCb);
|
|
652
657
|
}
|
|
653
|
-
}
|
|
654
|
-
modifyAccount(args, optionsOrCb, cb) {
|
|
655
|
-
|
|
658
|
+
};
|
|
659
|
+
WorkSpaces.prototype.modifyAccount = function (args, optionsOrCb, cb) {
|
|
660
|
+
var command = new ModifyAccountCommand(args);
|
|
656
661
|
if (typeof optionsOrCb === "function") {
|
|
657
662
|
this.send(command, optionsOrCb);
|
|
658
663
|
}
|
|
659
664
|
else if (typeof cb === "function") {
|
|
660
665
|
if (typeof optionsOrCb !== "object")
|
|
661
|
-
throw new Error(
|
|
666
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
662
667
|
this.send(command, optionsOrCb || {}, cb);
|
|
663
668
|
}
|
|
664
669
|
else {
|
|
665
670
|
return this.send(command, optionsOrCb);
|
|
666
671
|
}
|
|
667
|
-
}
|
|
668
|
-
modifyClientProperties(args, optionsOrCb, cb) {
|
|
669
|
-
|
|
672
|
+
};
|
|
673
|
+
WorkSpaces.prototype.modifyClientProperties = function (args, optionsOrCb, cb) {
|
|
674
|
+
var command = new ModifyClientPropertiesCommand(args);
|
|
670
675
|
if (typeof optionsOrCb === "function") {
|
|
671
676
|
this.send(command, optionsOrCb);
|
|
672
677
|
}
|
|
673
678
|
else if (typeof cb === "function") {
|
|
674
679
|
if (typeof optionsOrCb !== "object")
|
|
675
|
-
throw new Error(
|
|
680
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
676
681
|
this.send(command, optionsOrCb || {}, cb);
|
|
677
682
|
}
|
|
678
683
|
else {
|
|
679
684
|
return this.send(command, optionsOrCb);
|
|
680
685
|
}
|
|
681
|
-
}
|
|
682
|
-
modifySamlProperties(args, optionsOrCb, cb) {
|
|
683
|
-
|
|
686
|
+
};
|
|
687
|
+
WorkSpaces.prototype.modifySamlProperties = function (args, optionsOrCb, cb) {
|
|
688
|
+
var command = new ModifySamlPropertiesCommand(args);
|
|
684
689
|
if (typeof optionsOrCb === "function") {
|
|
685
690
|
this.send(command, optionsOrCb);
|
|
686
691
|
}
|
|
687
692
|
else if (typeof cb === "function") {
|
|
688
693
|
if (typeof optionsOrCb !== "object")
|
|
689
|
-
throw new Error(
|
|
694
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
690
695
|
this.send(command, optionsOrCb || {}, cb);
|
|
691
696
|
}
|
|
692
697
|
else {
|
|
693
698
|
return this.send(command, optionsOrCb);
|
|
694
699
|
}
|
|
695
|
-
}
|
|
696
|
-
modifySelfservicePermissions(args, optionsOrCb, cb) {
|
|
697
|
-
|
|
700
|
+
};
|
|
701
|
+
WorkSpaces.prototype.modifySelfservicePermissions = function (args, optionsOrCb, cb) {
|
|
702
|
+
var command = new ModifySelfservicePermissionsCommand(args);
|
|
698
703
|
if (typeof optionsOrCb === "function") {
|
|
699
704
|
this.send(command, optionsOrCb);
|
|
700
705
|
}
|
|
701
706
|
else if (typeof cb === "function") {
|
|
702
707
|
if (typeof optionsOrCb !== "object")
|
|
703
|
-
throw new Error(
|
|
708
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
704
709
|
this.send(command, optionsOrCb || {}, cb);
|
|
705
710
|
}
|
|
706
711
|
else {
|
|
707
712
|
return this.send(command, optionsOrCb);
|
|
708
713
|
}
|
|
709
|
-
}
|
|
710
|
-
modifyWorkspaceAccessProperties(args, optionsOrCb, cb) {
|
|
711
|
-
|
|
714
|
+
};
|
|
715
|
+
WorkSpaces.prototype.modifyWorkspaceAccessProperties = function (args, optionsOrCb, cb) {
|
|
716
|
+
var command = new ModifyWorkspaceAccessPropertiesCommand(args);
|
|
712
717
|
if (typeof optionsOrCb === "function") {
|
|
713
718
|
this.send(command, optionsOrCb);
|
|
714
719
|
}
|
|
715
720
|
else if (typeof cb === "function") {
|
|
716
721
|
if (typeof optionsOrCb !== "object")
|
|
717
|
-
throw new Error(
|
|
722
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
718
723
|
this.send(command, optionsOrCb || {}, cb);
|
|
719
724
|
}
|
|
720
725
|
else {
|
|
721
726
|
return this.send(command, optionsOrCb);
|
|
722
727
|
}
|
|
723
|
-
}
|
|
724
|
-
modifyWorkspaceCreationProperties(args, optionsOrCb, cb) {
|
|
725
|
-
|
|
728
|
+
};
|
|
729
|
+
WorkSpaces.prototype.modifyWorkspaceCreationProperties = function (args, optionsOrCb, cb) {
|
|
730
|
+
var command = new ModifyWorkspaceCreationPropertiesCommand(args);
|
|
726
731
|
if (typeof optionsOrCb === "function") {
|
|
727
732
|
this.send(command, optionsOrCb);
|
|
728
733
|
}
|
|
729
734
|
else if (typeof cb === "function") {
|
|
730
735
|
if (typeof optionsOrCb !== "object")
|
|
731
|
-
throw new Error(
|
|
736
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
732
737
|
this.send(command, optionsOrCb || {}, cb);
|
|
733
738
|
}
|
|
734
739
|
else {
|
|
735
740
|
return this.send(command, optionsOrCb);
|
|
736
741
|
}
|
|
737
|
-
}
|
|
738
|
-
modifyWorkspaceProperties(args, optionsOrCb, cb) {
|
|
739
|
-
|
|
742
|
+
};
|
|
743
|
+
WorkSpaces.prototype.modifyWorkspaceProperties = function (args, optionsOrCb, cb) {
|
|
744
|
+
var command = new ModifyWorkspacePropertiesCommand(args);
|
|
740
745
|
if (typeof optionsOrCb === "function") {
|
|
741
746
|
this.send(command, optionsOrCb);
|
|
742
747
|
}
|
|
743
748
|
else if (typeof cb === "function") {
|
|
744
749
|
if (typeof optionsOrCb !== "object")
|
|
745
|
-
throw new Error(
|
|
750
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
746
751
|
this.send(command, optionsOrCb || {}, cb);
|
|
747
752
|
}
|
|
748
753
|
else {
|
|
749
754
|
return this.send(command, optionsOrCb);
|
|
750
755
|
}
|
|
751
|
-
}
|
|
752
|
-
modifyWorkspaceState(args, optionsOrCb, cb) {
|
|
753
|
-
|
|
756
|
+
};
|
|
757
|
+
WorkSpaces.prototype.modifyWorkspaceState = function (args, optionsOrCb, cb) {
|
|
758
|
+
var command = new ModifyWorkspaceStateCommand(args);
|
|
754
759
|
if (typeof optionsOrCb === "function") {
|
|
755
760
|
this.send(command, optionsOrCb);
|
|
756
761
|
}
|
|
757
762
|
else if (typeof cb === "function") {
|
|
758
763
|
if (typeof optionsOrCb !== "object")
|
|
759
|
-
throw new Error(
|
|
764
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
760
765
|
this.send(command, optionsOrCb || {}, cb);
|
|
761
766
|
}
|
|
762
767
|
else {
|
|
763
768
|
return this.send(command, optionsOrCb);
|
|
764
769
|
}
|
|
765
|
-
}
|
|
766
|
-
rebootWorkspaces(args, optionsOrCb, cb) {
|
|
767
|
-
|
|
770
|
+
};
|
|
771
|
+
WorkSpaces.prototype.rebootWorkspaces = function (args, optionsOrCb, cb) {
|
|
772
|
+
var command = new RebootWorkspacesCommand(args);
|
|
768
773
|
if (typeof optionsOrCb === "function") {
|
|
769
774
|
this.send(command, optionsOrCb);
|
|
770
775
|
}
|
|
771
776
|
else if (typeof cb === "function") {
|
|
772
777
|
if (typeof optionsOrCb !== "object")
|
|
773
|
-
throw new Error(
|
|
778
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
774
779
|
this.send(command, optionsOrCb || {}, cb);
|
|
775
780
|
}
|
|
776
781
|
else {
|
|
777
782
|
return this.send(command, optionsOrCb);
|
|
778
783
|
}
|
|
779
|
-
}
|
|
780
|
-
rebuildWorkspaces(args, optionsOrCb, cb) {
|
|
781
|
-
|
|
784
|
+
};
|
|
785
|
+
WorkSpaces.prototype.rebuildWorkspaces = function (args, optionsOrCb, cb) {
|
|
786
|
+
var command = new RebuildWorkspacesCommand(args);
|
|
782
787
|
if (typeof optionsOrCb === "function") {
|
|
783
788
|
this.send(command, optionsOrCb);
|
|
784
789
|
}
|
|
785
790
|
else if (typeof cb === "function") {
|
|
786
791
|
if (typeof optionsOrCb !== "object")
|
|
787
|
-
throw new Error(
|
|
792
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
788
793
|
this.send(command, optionsOrCb || {}, cb);
|
|
789
794
|
}
|
|
790
795
|
else {
|
|
791
796
|
return this.send(command, optionsOrCb);
|
|
792
797
|
}
|
|
793
|
-
}
|
|
794
|
-
registerWorkspaceDirectory(args, optionsOrCb, cb) {
|
|
795
|
-
|
|
798
|
+
};
|
|
799
|
+
WorkSpaces.prototype.registerWorkspaceDirectory = function (args, optionsOrCb, cb) {
|
|
800
|
+
var command = new RegisterWorkspaceDirectoryCommand(args);
|
|
796
801
|
if (typeof optionsOrCb === "function") {
|
|
797
802
|
this.send(command, optionsOrCb);
|
|
798
803
|
}
|
|
799
804
|
else if (typeof cb === "function") {
|
|
800
805
|
if (typeof optionsOrCb !== "object")
|
|
801
|
-
throw new Error(
|
|
806
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
802
807
|
this.send(command, optionsOrCb || {}, cb);
|
|
803
808
|
}
|
|
804
809
|
else {
|
|
805
810
|
return this.send(command, optionsOrCb);
|
|
806
811
|
}
|
|
807
|
-
}
|
|
808
|
-
restoreWorkspace(args, optionsOrCb, cb) {
|
|
809
|
-
|
|
812
|
+
};
|
|
813
|
+
WorkSpaces.prototype.restoreWorkspace = function (args, optionsOrCb, cb) {
|
|
814
|
+
var command = new RestoreWorkspaceCommand(args);
|
|
810
815
|
if (typeof optionsOrCb === "function") {
|
|
811
816
|
this.send(command, optionsOrCb);
|
|
812
817
|
}
|
|
813
818
|
else if (typeof cb === "function") {
|
|
814
819
|
if (typeof optionsOrCb !== "object")
|
|
815
|
-
throw new Error(
|
|
820
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
816
821
|
this.send(command, optionsOrCb || {}, cb);
|
|
817
822
|
}
|
|
818
823
|
else {
|
|
819
824
|
return this.send(command, optionsOrCb);
|
|
820
825
|
}
|
|
821
|
-
}
|
|
822
|
-
revokeIpRules(args, optionsOrCb, cb) {
|
|
823
|
-
|
|
826
|
+
};
|
|
827
|
+
WorkSpaces.prototype.revokeIpRules = function (args, optionsOrCb, cb) {
|
|
828
|
+
var command = new RevokeIpRulesCommand(args);
|
|
824
829
|
if (typeof optionsOrCb === "function") {
|
|
825
830
|
this.send(command, optionsOrCb);
|
|
826
831
|
}
|
|
827
832
|
else if (typeof cb === "function") {
|
|
828
833
|
if (typeof optionsOrCb !== "object")
|
|
829
|
-
throw new Error(
|
|
834
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
830
835
|
this.send(command, optionsOrCb || {}, cb);
|
|
831
836
|
}
|
|
832
837
|
else {
|
|
833
838
|
return this.send(command, optionsOrCb);
|
|
834
839
|
}
|
|
835
|
-
}
|
|
836
|
-
startWorkspaces(args, optionsOrCb, cb) {
|
|
837
|
-
|
|
840
|
+
};
|
|
841
|
+
WorkSpaces.prototype.startWorkspaces = function (args, optionsOrCb, cb) {
|
|
842
|
+
var command = new StartWorkspacesCommand(args);
|
|
838
843
|
if (typeof optionsOrCb === "function") {
|
|
839
844
|
this.send(command, optionsOrCb);
|
|
840
845
|
}
|
|
841
846
|
else if (typeof cb === "function") {
|
|
842
847
|
if (typeof optionsOrCb !== "object")
|
|
843
|
-
throw new Error(
|
|
848
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
844
849
|
this.send(command, optionsOrCb || {}, cb);
|
|
845
850
|
}
|
|
846
851
|
else {
|
|
847
852
|
return this.send(command, optionsOrCb);
|
|
848
853
|
}
|
|
849
|
-
}
|
|
850
|
-
stopWorkspaces(args, optionsOrCb, cb) {
|
|
851
|
-
|
|
854
|
+
};
|
|
855
|
+
WorkSpaces.prototype.stopWorkspaces = function (args, optionsOrCb, cb) {
|
|
856
|
+
var command = new StopWorkspacesCommand(args);
|
|
852
857
|
if (typeof optionsOrCb === "function") {
|
|
853
858
|
this.send(command, optionsOrCb);
|
|
854
859
|
}
|
|
855
860
|
else if (typeof cb === "function") {
|
|
856
861
|
if (typeof optionsOrCb !== "object")
|
|
857
|
-
throw new Error(
|
|
862
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
858
863
|
this.send(command, optionsOrCb || {}, cb);
|
|
859
864
|
}
|
|
860
865
|
else {
|
|
861
866
|
return this.send(command, optionsOrCb);
|
|
862
867
|
}
|
|
863
|
-
}
|
|
864
|
-
terminateWorkspaces(args, optionsOrCb, cb) {
|
|
865
|
-
|
|
868
|
+
};
|
|
869
|
+
WorkSpaces.prototype.terminateWorkspaces = function (args, optionsOrCb, cb) {
|
|
870
|
+
var command = new TerminateWorkspacesCommand(args);
|
|
866
871
|
if (typeof optionsOrCb === "function") {
|
|
867
872
|
this.send(command, optionsOrCb);
|
|
868
873
|
}
|
|
869
874
|
else if (typeof cb === "function") {
|
|
870
875
|
if (typeof optionsOrCb !== "object")
|
|
871
|
-
throw new Error(
|
|
876
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
872
877
|
this.send(command, optionsOrCb || {}, cb);
|
|
873
878
|
}
|
|
874
879
|
else {
|
|
875
880
|
return this.send(command, optionsOrCb);
|
|
876
881
|
}
|
|
877
|
-
}
|
|
878
|
-
updateConnectClientAddIn(args, optionsOrCb, cb) {
|
|
879
|
-
|
|
882
|
+
};
|
|
883
|
+
WorkSpaces.prototype.updateConnectClientAddIn = function (args, optionsOrCb, cb) {
|
|
884
|
+
var command = new UpdateConnectClientAddInCommand(args);
|
|
880
885
|
if (typeof optionsOrCb === "function") {
|
|
881
886
|
this.send(command, optionsOrCb);
|
|
882
887
|
}
|
|
883
888
|
else if (typeof cb === "function") {
|
|
884
889
|
if (typeof optionsOrCb !== "object")
|
|
885
|
-
throw new Error(
|
|
890
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
886
891
|
this.send(command, optionsOrCb || {}, cb);
|
|
887
892
|
}
|
|
888
893
|
else {
|
|
889
894
|
return this.send(command, optionsOrCb);
|
|
890
895
|
}
|
|
891
|
-
}
|
|
892
|
-
updateConnectionAliasPermission(args, optionsOrCb, cb) {
|
|
893
|
-
|
|
896
|
+
};
|
|
897
|
+
WorkSpaces.prototype.updateConnectionAliasPermission = function (args, optionsOrCb, cb) {
|
|
898
|
+
var command = new UpdateConnectionAliasPermissionCommand(args);
|
|
894
899
|
if (typeof optionsOrCb === "function") {
|
|
895
900
|
this.send(command, optionsOrCb);
|
|
896
901
|
}
|
|
897
902
|
else if (typeof cb === "function") {
|
|
898
903
|
if (typeof optionsOrCb !== "object")
|
|
899
|
-
throw new Error(
|
|
904
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
900
905
|
this.send(command, optionsOrCb || {}, cb);
|
|
901
906
|
}
|
|
902
907
|
else {
|
|
903
908
|
return this.send(command, optionsOrCb);
|
|
904
909
|
}
|
|
905
|
-
}
|
|
906
|
-
updateRulesOfIpGroup(args, optionsOrCb, cb) {
|
|
907
|
-
|
|
910
|
+
};
|
|
911
|
+
WorkSpaces.prototype.updateRulesOfIpGroup = function (args, optionsOrCb, cb) {
|
|
912
|
+
var command = new UpdateRulesOfIpGroupCommand(args);
|
|
908
913
|
if (typeof optionsOrCb === "function") {
|
|
909
914
|
this.send(command, optionsOrCb);
|
|
910
915
|
}
|
|
911
916
|
else if (typeof cb === "function") {
|
|
912
917
|
if (typeof optionsOrCb !== "object")
|
|
913
|
-
throw new Error(
|
|
918
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
914
919
|
this.send(command, optionsOrCb || {}, cb);
|
|
915
920
|
}
|
|
916
921
|
else {
|
|
917
922
|
return this.send(command, optionsOrCb);
|
|
918
923
|
}
|
|
919
|
-
}
|
|
920
|
-
updateWorkspaceBundle(args, optionsOrCb, cb) {
|
|
921
|
-
|
|
924
|
+
};
|
|
925
|
+
WorkSpaces.prototype.updateWorkspaceBundle = function (args, optionsOrCb, cb) {
|
|
926
|
+
var command = new UpdateWorkspaceBundleCommand(args);
|
|
922
927
|
if (typeof optionsOrCb === "function") {
|
|
923
928
|
this.send(command, optionsOrCb);
|
|
924
929
|
}
|
|
925
930
|
else if (typeof cb === "function") {
|
|
926
931
|
if (typeof optionsOrCb !== "object")
|
|
927
|
-
throw new Error(
|
|
932
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
928
933
|
this.send(command, optionsOrCb || {}, cb);
|
|
929
934
|
}
|
|
930
935
|
else {
|
|
931
936
|
return this.send(command, optionsOrCb);
|
|
932
937
|
}
|
|
933
|
-
}
|
|
934
|
-
updateWorkspaceImagePermission(args, optionsOrCb, cb) {
|
|
935
|
-
|
|
938
|
+
};
|
|
939
|
+
WorkSpaces.prototype.updateWorkspaceImagePermission = function (args, optionsOrCb, cb) {
|
|
940
|
+
var command = new UpdateWorkspaceImagePermissionCommand(args);
|
|
936
941
|
if (typeof optionsOrCb === "function") {
|
|
937
942
|
this.send(command, optionsOrCb);
|
|
938
943
|
}
|
|
939
944
|
else if (typeof cb === "function") {
|
|
940
945
|
if (typeof optionsOrCb !== "object")
|
|
941
|
-
throw new Error(
|
|
946
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
942
947
|
this.send(command, optionsOrCb || {}, cb);
|
|
943
948
|
}
|
|
944
949
|
else {
|
|
945
950
|
return this.send(command, optionsOrCb);
|
|
946
951
|
}
|
|
947
|
-
}
|
|
948
|
-
|
|
952
|
+
};
|
|
953
|
+
return WorkSpaces;
|
|
954
|
+
}(WorkSpacesClient));
|
|
955
|
+
export { WorkSpaces };
|