@aws-sdk/client-workspaces-web 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/WorkSpacesWeb.js +185 -178
- package/dist-es/WorkSpacesWebClient.js +28 -22
- package/dist-es/commands/AssociateBrowserSettingsCommand.js +28 -21
- package/dist-es/commands/AssociateNetworkSettingsCommand.js +28 -21
- package/dist-es/commands/AssociateTrustStoreCommand.js +28 -21
- package/dist-es/commands/AssociateUserSettingsCommand.js +28 -21
- package/dist-es/commands/CreateBrowserSettingsCommand.js +28 -21
- package/dist-es/commands/CreateIdentityProviderCommand.js +28 -21
- package/dist-es/commands/CreateNetworkSettingsCommand.js +28 -21
- package/dist-es/commands/CreatePortalCommand.js +28 -21
- package/dist-es/commands/CreateTrustStoreCommand.js +28 -21
- package/dist-es/commands/CreateUserSettingsCommand.js +28 -21
- package/dist-es/commands/DeleteBrowserSettingsCommand.js +28 -21
- package/dist-es/commands/DeleteIdentityProviderCommand.js +28 -21
- package/dist-es/commands/DeleteNetworkSettingsCommand.js +28 -21
- package/dist-es/commands/DeletePortalCommand.js +28 -21
- package/dist-es/commands/DeleteTrustStoreCommand.js +28 -21
- package/dist-es/commands/DeleteUserSettingsCommand.js +28 -21
- package/dist-es/commands/DisassociateBrowserSettingsCommand.js +28 -21
- package/dist-es/commands/DisassociateNetworkSettingsCommand.js +28 -21
- package/dist-es/commands/DisassociateTrustStoreCommand.js +28 -21
- package/dist-es/commands/DisassociateUserSettingsCommand.js +28 -21
- package/dist-es/commands/GetBrowserSettingsCommand.js +28 -21
- package/dist-es/commands/GetIdentityProviderCommand.js +28 -21
- package/dist-es/commands/GetNetworkSettingsCommand.js +28 -21
- package/dist-es/commands/GetPortalCommand.js +28 -21
- package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +28 -21
- package/dist-es/commands/GetTrustStoreCertificateCommand.js +28 -21
- package/dist-es/commands/GetTrustStoreCommand.js +28 -21
- package/dist-es/commands/GetUserSettingsCommand.js +28 -21
- package/dist-es/commands/ListBrowserSettingsCommand.js +28 -21
- package/dist-es/commands/ListIdentityProvidersCommand.js +28 -21
- package/dist-es/commands/ListNetworkSettingsCommand.js +28 -21
- package/dist-es/commands/ListPortalsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTrustStoreCertificatesCommand.js +28 -21
- package/dist-es/commands/ListTrustStoresCommand.js +28 -21
- package/dist-es/commands/ListUserSettingsCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateBrowserSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateIdentityProviderCommand.js +28 -21
- package/dist-es/commands/UpdateNetworkSettingsCommand.js +28 -21
- package/dist-es/commands/UpdatePortalCommand.js +28 -21
- package/dist-es/commands/UpdateTrustStoreCommand.js +28 -21
- package/dist-es/commands/UpdateUserSettingsCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WorkSpacesWebServiceException.js +10 -5
- package/dist-es/models/models_0.js +210 -449
- package/dist-es/pagination/ListBrowserSettingsPaginator.js +68 -25
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +68 -25
- package/dist-es/pagination/ListNetworkSettingsPaginator.js +68 -25
- package/dist-es/pagination/ListPortalsPaginator.js +68 -25
- package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListTrustStoresPaginator.js +68 -25
- package/dist-es/pagination/ListUserSettingsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +4468 -3076
- 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 +33 -33
package/dist-es/WorkSpacesWeb.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AssociateBrowserSettingsCommand, } from "./commands/AssociateBrowserSettingsCommand";
|
|
2
3
|
import { AssociateNetworkSettingsCommand, } from "./commands/AssociateNetworkSettingsCommand";
|
|
3
4
|
import { AssociateTrustStoreCommand, } from "./commands/AssociateTrustStoreCommand";
|
|
@@ -43,621 +44,627 @@ import { UpdatePortalCommand, } from "./commands/UpdatePortalCommand";
|
|
|
43
44
|
import { UpdateTrustStoreCommand, } from "./commands/UpdateTrustStoreCommand";
|
|
44
45
|
import { UpdateUserSettingsCommand, } from "./commands/UpdateUserSettingsCommand";
|
|
45
46
|
import { WorkSpacesWebClient } from "./WorkSpacesWebClient";
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
var WorkSpacesWeb = (function (_super) {
|
|
48
|
+
__extends(WorkSpacesWeb, _super);
|
|
49
|
+
function WorkSpacesWeb() {
|
|
50
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
51
|
+
}
|
|
52
|
+
WorkSpacesWeb.prototype.associateBrowserSettings = function (args, optionsOrCb, cb) {
|
|
53
|
+
var command = new AssociateBrowserSettingsCommand(args);
|
|
49
54
|
if (typeof optionsOrCb === "function") {
|
|
50
55
|
this.send(command, optionsOrCb);
|
|
51
56
|
}
|
|
52
57
|
else if (typeof cb === "function") {
|
|
53
58
|
if (typeof optionsOrCb !== "object")
|
|
54
|
-
throw new Error(
|
|
59
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
55
60
|
this.send(command, optionsOrCb || {}, cb);
|
|
56
61
|
}
|
|
57
62
|
else {
|
|
58
63
|
return this.send(command, optionsOrCb);
|
|
59
64
|
}
|
|
60
|
-
}
|
|
61
|
-
associateNetworkSettings(args, optionsOrCb, cb) {
|
|
62
|
-
|
|
65
|
+
};
|
|
66
|
+
WorkSpacesWeb.prototype.associateNetworkSettings = function (args, optionsOrCb, cb) {
|
|
67
|
+
var command = new AssociateNetworkSettingsCommand(args);
|
|
63
68
|
if (typeof optionsOrCb === "function") {
|
|
64
69
|
this.send(command, optionsOrCb);
|
|
65
70
|
}
|
|
66
71
|
else if (typeof cb === "function") {
|
|
67
72
|
if (typeof optionsOrCb !== "object")
|
|
68
|
-
throw new Error(
|
|
73
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
69
74
|
this.send(command, optionsOrCb || {}, cb);
|
|
70
75
|
}
|
|
71
76
|
else {
|
|
72
77
|
return this.send(command, optionsOrCb);
|
|
73
78
|
}
|
|
74
|
-
}
|
|
75
|
-
associateTrustStore(args, optionsOrCb, cb) {
|
|
76
|
-
|
|
79
|
+
};
|
|
80
|
+
WorkSpacesWeb.prototype.associateTrustStore = function (args, optionsOrCb, cb) {
|
|
81
|
+
var command = new AssociateTrustStoreCommand(args);
|
|
77
82
|
if (typeof optionsOrCb === "function") {
|
|
78
83
|
this.send(command, optionsOrCb);
|
|
79
84
|
}
|
|
80
85
|
else if (typeof cb === "function") {
|
|
81
86
|
if (typeof optionsOrCb !== "object")
|
|
82
|
-
throw new Error(
|
|
87
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
83
88
|
this.send(command, optionsOrCb || {}, cb);
|
|
84
89
|
}
|
|
85
90
|
else {
|
|
86
91
|
return this.send(command, optionsOrCb);
|
|
87
92
|
}
|
|
88
|
-
}
|
|
89
|
-
associateUserSettings(args, optionsOrCb, cb) {
|
|
90
|
-
|
|
93
|
+
};
|
|
94
|
+
WorkSpacesWeb.prototype.associateUserSettings = function (args, optionsOrCb, cb) {
|
|
95
|
+
var command = new AssociateUserSettingsCommand(args);
|
|
91
96
|
if (typeof optionsOrCb === "function") {
|
|
92
97
|
this.send(command, optionsOrCb);
|
|
93
98
|
}
|
|
94
99
|
else if (typeof cb === "function") {
|
|
95
100
|
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error(
|
|
101
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
97
102
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
103
|
}
|
|
99
104
|
else {
|
|
100
105
|
return this.send(command, optionsOrCb);
|
|
101
106
|
}
|
|
102
|
-
}
|
|
103
|
-
createBrowserSettings(args, optionsOrCb, cb) {
|
|
104
|
-
|
|
107
|
+
};
|
|
108
|
+
WorkSpacesWeb.prototype.createBrowserSettings = function (args, optionsOrCb, cb) {
|
|
109
|
+
var command = new CreateBrowserSettingsCommand(args);
|
|
105
110
|
if (typeof optionsOrCb === "function") {
|
|
106
111
|
this.send(command, optionsOrCb);
|
|
107
112
|
}
|
|
108
113
|
else if (typeof cb === "function") {
|
|
109
114
|
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error(
|
|
115
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
111
116
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
117
|
}
|
|
113
118
|
else {
|
|
114
119
|
return this.send(command, optionsOrCb);
|
|
115
120
|
}
|
|
116
|
-
}
|
|
117
|
-
createIdentityProvider(args, optionsOrCb, cb) {
|
|
118
|
-
|
|
121
|
+
};
|
|
122
|
+
WorkSpacesWeb.prototype.createIdentityProvider = function (args, optionsOrCb, cb) {
|
|
123
|
+
var command = new CreateIdentityProviderCommand(args);
|
|
119
124
|
if (typeof optionsOrCb === "function") {
|
|
120
125
|
this.send(command, optionsOrCb);
|
|
121
126
|
}
|
|
122
127
|
else if (typeof cb === "function") {
|
|
123
128
|
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error(
|
|
129
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
125
130
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
131
|
}
|
|
127
132
|
else {
|
|
128
133
|
return this.send(command, optionsOrCb);
|
|
129
134
|
}
|
|
130
|
-
}
|
|
131
|
-
createNetworkSettings(args, optionsOrCb, cb) {
|
|
132
|
-
|
|
135
|
+
};
|
|
136
|
+
WorkSpacesWeb.prototype.createNetworkSettings = function (args, optionsOrCb, cb) {
|
|
137
|
+
var command = new CreateNetworkSettingsCommand(args);
|
|
133
138
|
if (typeof optionsOrCb === "function") {
|
|
134
139
|
this.send(command, optionsOrCb);
|
|
135
140
|
}
|
|
136
141
|
else if (typeof cb === "function") {
|
|
137
142
|
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error(
|
|
143
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
139
144
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
145
|
}
|
|
141
146
|
else {
|
|
142
147
|
return this.send(command, optionsOrCb);
|
|
143
148
|
}
|
|
144
|
-
}
|
|
145
|
-
createPortal(args, optionsOrCb, cb) {
|
|
146
|
-
|
|
149
|
+
};
|
|
150
|
+
WorkSpacesWeb.prototype.createPortal = function (args, optionsOrCb, cb) {
|
|
151
|
+
var command = new CreatePortalCommand(args);
|
|
147
152
|
if (typeof optionsOrCb === "function") {
|
|
148
153
|
this.send(command, optionsOrCb);
|
|
149
154
|
}
|
|
150
155
|
else if (typeof cb === "function") {
|
|
151
156
|
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error(
|
|
157
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
153
158
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
159
|
}
|
|
155
160
|
else {
|
|
156
161
|
return this.send(command, optionsOrCb);
|
|
157
162
|
}
|
|
158
|
-
}
|
|
159
|
-
createTrustStore(args, optionsOrCb, cb) {
|
|
160
|
-
|
|
163
|
+
};
|
|
164
|
+
WorkSpacesWeb.prototype.createTrustStore = function (args, optionsOrCb, cb) {
|
|
165
|
+
var command = new CreateTrustStoreCommand(args);
|
|
161
166
|
if (typeof optionsOrCb === "function") {
|
|
162
167
|
this.send(command, optionsOrCb);
|
|
163
168
|
}
|
|
164
169
|
else if (typeof cb === "function") {
|
|
165
170
|
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error(
|
|
171
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
167
172
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
173
|
}
|
|
169
174
|
else {
|
|
170
175
|
return this.send(command, optionsOrCb);
|
|
171
176
|
}
|
|
172
|
-
}
|
|
173
|
-
createUserSettings(args, optionsOrCb, cb) {
|
|
174
|
-
|
|
177
|
+
};
|
|
178
|
+
WorkSpacesWeb.prototype.createUserSettings = function (args, optionsOrCb, cb) {
|
|
179
|
+
var command = new CreateUserSettingsCommand(args);
|
|
175
180
|
if (typeof optionsOrCb === "function") {
|
|
176
181
|
this.send(command, optionsOrCb);
|
|
177
182
|
}
|
|
178
183
|
else if (typeof cb === "function") {
|
|
179
184
|
if (typeof optionsOrCb !== "object")
|
|
180
|
-
throw new Error(
|
|
185
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
181
186
|
this.send(command, optionsOrCb || {}, cb);
|
|
182
187
|
}
|
|
183
188
|
else {
|
|
184
189
|
return this.send(command, optionsOrCb);
|
|
185
190
|
}
|
|
186
|
-
}
|
|
187
|
-
deleteBrowserSettings(args, optionsOrCb, cb) {
|
|
188
|
-
|
|
191
|
+
};
|
|
192
|
+
WorkSpacesWeb.prototype.deleteBrowserSettings = function (args, optionsOrCb, cb) {
|
|
193
|
+
var command = new DeleteBrowserSettingsCommand(args);
|
|
189
194
|
if (typeof optionsOrCb === "function") {
|
|
190
195
|
this.send(command, optionsOrCb);
|
|
191
196
|
}
|
|
192
197
|
else if (typeof cb === "function") {
|
|
193
198
|
if (typeof optionsOrCb !== "object")
|
|
194
|
-
throw new Error(
|
|
199
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
195
200
|
this.send(command, optionsOrCb || {}, cb);
|
|
196
201
|
}
|
|
197
202
|
else {
|
|
198
203
|
return this.send(command, optionsOrCb);
|
|
199
204
|
}
|
|
200
|
-
}
|
|
201
|
-
deleteIdentityProvider(args, optionsOrCb, cb) {
|
|
202
|
-
|
|
205
|
+
};
|
|
206
|
+
WorkSpacesWeb.prototype.deleteIdentityProvider = function (args, optionsOrCb, cb) {
|
|
207
|
+
var command = new DeleteIdentityProviderCommand(args);
|
|
203
208
|
if (typeof optionsOrCb === "function") {
|
|
204
209
|
this.send(command, optionsOrCb);
|
|
205
210
|
}
|
|
206
211
|
else if (typeof cb === "function") {
|
|
207
212
|
if (typeof optionsOrCb !== "object")
|
|
208
|
-
throw new Error(
|
|
213
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
209
214
|
this.send(command, optionsOrCb || {}, cb);
|
|
210
215
|
}
|
|
211
216
|
else {
|
|
212
217
|
return this.send(command, optionsOrCb);
|
|
213
218
|
}
|
|
214
|
-
}
|
|
215
|
-
deleteNetworkSettings(args, optionsOrCb, cb) {
|
|
216
|
-
|
|
219
|
+
};
|
|
220
|
+
WorkSpacesWeb.prototype.deleteNetworkSettings = function (args, optionsOrCb, cb) {
|
|
221
|
+
var command = new DeleteNetworkSettingsCommand(args);
|
|
217
222
|
if (typeof optionsOrCb === "function") {
|
|
218
223
|
this.send(command, optionsOrCb);
|
|
219
224
|
}
|
|
220
225
|
else if (typeof cb === "function") {
|
|
221
226
|
if (typeof optionsOrCb !== "object")
|
|
222
|
-
throw new Error(
|
|
227
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
223
228
|
this.send(command, optionsOrCb || {}, cb);
|
|
224
229
|
}
|
|
225
230
|
else {
|
|
226
231
|
return this.send(command, optionsOrCb);
|
|
227
232
|
}
|
|
228
|
-
}
|
|
229
|
-
deletePortal(args, optionsOrCb, cb) {
|
|
230
|
-
|
|
233
|
+
};
|
|
234
|
+
WorkSpacesWeb.prototype.deletePortal = function (args, optionsOrCb, cb) {
|
|
235
|
+
var command = new DeletePortalCommand(args);
|
|
231
236
|
if (typeof optionsOrCb === "function") {
|
|
232
237
|
this.send(command, optionsOrCb);
|
|
233
238
|
}
|
|
234
239
|
else if (typeof cb === "function") {
|
|
235
240
|
if (typeof optionsOrCb !== "object")
|
|
236
|
-
throw new Error(
|
|
241
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
237
242
|
this.send(command, optionsOrCb || {}, cb);
|
|
238
243
|
}
|
|
239
244
|
else {
|
|
240
245
|
return this.send(command, optionsOrCb);
|
|
241
246
|
}
|
|
242
|
-
}
|
|
243
|
-
deleteTrustStore(args, optionsOrCb, cb) {
|
|
244
|
-
|
|
247
|
+
};
|
|
248
|
+
WorkSpacesWeb.prototype.deleteTrustStore = function (args, optionsOrCb, cb) {
|
|
249
|
+
var command = new DeleteTrustStoreCommand(args);
|
|
245
250
|
if (typeof optionsOrCb === "function") {
|
|
246
251
|
this.send(command, optionsOrCb);
|
|
247
252
|
}
|
|
248
253
|
else if (typeof cb === "function") {
|
|
249
254
|
if (typeof optionsOrCb !== "object")
|
|
250
|
-
throw new Error(
|
|
255
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
251
256
|
this.send(command, optionsOrCb || {}, cb);
|
|
252
257
|
}
|
|
253
258
|
else {
|
|
254
259
|
return this.send(command, optionsOrCb);
|
|
255
260
|
}
|
|
256
|
-
}
|
|
257
|
-
deleteUserSettings(args, optionsOrCb, cb) {
|
|
258
|
-
|
|
261
|
+
};
|
|
262
|
+
WorkSpacesWeb.prototype.deleteUserSettings = function (args, optionsOrCb, cb) {
|
|
263
|
+
var command = new DeleteUserSettingsCommand(args);
|
|
259
264
|
if (typeof optionsOrCb === "function") {
|
|
260
265
|
this.send(command, optionsOrCb);
|
|
261
266
|
}
|
|
262
267
|
else if (typeof cb === "function") {
|
|
263
268
|
if (typeof optionsOrCb !== "object")
|
|
264
|
-
throw new Error(
|
|
269
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
265
270
|
this.send(command, optionsOrCb || {}, cb);
|
|
266
271
|
}
|
|
267
272
|
else {
|
|
268
273
|
return this.send(command, optionsOrCb);
|
|
269
274
|
}
|
|
270
|
-
}
|
|
271
|
-
disassociateBrowserSettings(args, optionsOrCb, cb) {
|
|
272
|
-
|
|
275
|
+
};
|
|
276
|
+
WorkSpacesWeb.prototype.disassociateBrowserSettings = function (args, optionsOrCb, cb) {
|
|
277
|
+
var command = new DisassociateBrowserSettingsCommand(args);
|
|
273
278
|
if (typeof optionsOrCb === "function") {
|
|
274
279
|
this.send(command, optionsOrCb);
|
|
275
280
|
}
|
|
276
281
|
else if (typeof cb === "function") {
|
|
277
282
|
if (typeof optionsOrCb !== "object")
|
|
278
|
-
throw new Error(
|
|
283
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
279
284
|
this.send(command, optionsOrCb || {}, cb);
|
|
280
285
|
}
|
|
281
286
|
else {
|
|
282
287
|
return this.send(command, optionsOrCb);
|
|
283
288
|
}
|
|
284
|
-
}
|
|
285
|
-
disassociateNetworkSettings(args, optionsOrCb, cb) {
|
|
286
|
-
|
|
289
|
+
};
|
|
290
|
+
WorkSpacesWeb.prototype.disassociateNetworkSettings = function (args, optionsOrCb, cb) {
|
|
291
|
+
var command = new DisassociateNetworkSettingsCommand(args);
|
|
287
292
|
if (typeof optionsOrCb === "function") {
|
|
288
293
|
this.send(command, optionsOrCb);
|
|
289
294
|
}
|
|
290
295
|
else if (typeof cb === "function") {
|
|
291
296
|
if (typeof optionsOrCb !== "object")
|
|
292
|
-
throw new Error(
|
|
297
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
293
298
|
this.send(command, optionsOrCb || {}, cb);
|
|
294
299
|
}
|
|
295
300
|
else {
|
|
296
301
|
return this.send(command, optionsOrCb);
|
|
297
302
|
}
|
|
298
|
-
}
|
|
299
|
-
disassociateTrustStore(args, optionsOrCb, cb) {
|
|
300
|
-
|
|
303
|
+
};
|
|
304
|
+
WorkSpacesWeb.prototype.disassociateTrustStore = function (args, optionsOrCb, cb) {
|
|
305
|
+
var command = new DisassociateTrustStoreCommand(args);
|
|
301
306
|
if (typeof optionsOrCb === "function") {
|
|
302
307
|
this.send(command, optionsOrCb);
|
|
303
308
|
}
|
|
304
309
|
else if (typeof cb === "function") {
|
|
305
310
|
if (typeof optionsOrCb !== "object")
|
|
306
|
-
throw new Error(
|
|
311
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
307
312
|
this.send(command, optionsOrCb || {}, cb);
|
|
308
313
|
}
|
|
309
314
|
else {
|
|
310
315
|
return this.send(command, optionsOrCb);
|
|
311
316
|
}
|
|
312
|
-
}
|
|
313
|
-
disassociateUserSettings(args, optionsOrCb, cb) {
|
|
314
|
-
|
|
317
|
+
};
|
|
318
|
+
WorkSpacesWeb.prototype.disassociateUserSettings = function (args, optionsOrCb, cb) {
|
|
319
|
+
var command = new DisassociateUserSettingsCommand(args);
|
|
315
320
|
if (typeof optionsOrCb === "function") {
|
|
316
321
|
this.send(command, optionsOrCb);
|
|
317
322
|
}
|
|
318
323
|
else if (typeof cb === "function") {
|
|
319
324
|
if (typeof optionsOrCb !== "object")
|
|
320
|
-
throw new Error(
|
|
325
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
321
326
|
this.send(command, optionsOrCb || {}, cb);
|
|
322
327
|
}
|
|
323
328
|
else {
|
|
324
329
|
return this.send(command, optionsOrCb);
|
|
325
330
|
}
|
|
326
|
-
}
|
|
327
|
-
getBrowserSettings(args, optionsOrCb, cb) {
|
|
328
|
-
|
|
331
|
+
};
|
|
332
|
+
WorkSpacesWeb.prototype.getBrowserSettings = function (args, optionsOrCb, cb) {
|
|
333
|
+
var command = new GetBrowserSettingsCommand(args);
|
|
329
334
|
if (typeof optionsOrCb === "function") {
|
|
330
335
|
this.send(command, optionsOrCb);
|
|
331
336
|
}
|
|
332
337
|
else if (typeof cb === "function") {
|
|
333
338
|
if (typeof optionsOrCb !== "object")
|
|
334
|
-
throw new Error(
|
|
339
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
335
340
|
this.send(command, optionsOrCb || {}, cb);
|
|
336
341
|
}
|
|
337
342
|
else {
|
|
338
343
|
return this.send(command, optionsOrCb);
|
|
339
344
|
}
|
|
340
|
-
}
|
|
341
|
-
getIdentityProvider(args, optionsOrCb, cb) {
|
|
342
|
-
|
|
345
|
+
};
|
|
346
|
+
WorkSpacesWeb.prototype.getIdentityProvider = function (args, optionsOrCb, cb) {
|
|
347
|
+
var command = new GetIdentityProviderCommand(args);
|
|
343
348
|
if (typeof optionsOrCb === "function") {
|
|
344
349
|
this.send(command, optionsOrCb);
|
|
345
350
|
}
|
|
346
351
|
else if (typeof cb === "function") {
|
|
347
352
|
if (typeof optionsOrCb !== "object")
|
|
348
|
-
throw new Error(
|
|
353
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
349
354
|
this.send(command, optionsOrCb || {}, cb);
|
|
350
355
|
}
|
|
351
356
|
else {
|
|
352
357
|
return this.send(command, optionsOrCb);
|
|
353
358
|
}
|
|
354
|
-
}
|
|
355
|
-
getNetworkSettings(args, optionsOrCb, cb) {
|
|
356
|
-
|
|
359
|
+
};
|
|
360
|
+
WorkSpacesWeb.prototype.getNetworkSettings = function (args, optionsOrCb, cb) {
|
|
361
|
+
var command = new GetNetworkSettingsCommand(args);
|
|
357
362
|
if (typeof optionsOrCb === "function") {
|
|
358
363
|
this.send(command, optionsOrCb);
|
|
359
364
|
}
|
|
360
365
|
else if (typeof cb === "function") {
|
|
361
366
|
if (typeof optionsOrCb !== "object")
|
|
362
|
-
throw new Error(
|
|
367
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
363
368
|
this.send(command, optionsOrCb || {}, cb);
|
|
364
369
|
}
|
|
365
370
|
else {
|
|
366
371
|
return this.send(command, optionsOrCb);
|
|
367
372
|
}
|
|
368
|
-
}
|
|
369
|
-
getPortal(args, optionsOrCb, cb) {
|
|
370
|
-
|
|
373
|
+
};
|
|
374
|
+
WorkSpacesWeb.prototype.getPortal = function (args, optionsOrCb, cb) {
|
|
375
|
+
var command = new GetPortalCommand(args);
|
|
371
376
|
if (typeof optionsOrCb === "function") {
|
|
372
377
|
this.send(command, optionsOrCb);
|
|
373
378
|
}
|
|
374
379
|
else if (typeof cb === "function") {
|
|
375
380
|
if (typeof optionsOrCb !== "object")
|
|
376
|
-
throw new Error(
|
|
381
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
377
382
|
this.send(command, optionsOrCb || {}, cb);
|
|
378
383
|
}
|
|
379
384
|
else {
|
|
380
385
|
return this.send(command, optionsOrCb);
|
|
381
386
|
}
|
|
382
|
-
}
|
|
383
|
-
getPortalServiceProviderMetadata(args, optionsOrCb, cb) {
|
|
384
|
-
|
|
387
|
+
};
|
|
388
|
+
WorkSpacesWeb.prototype.getPortalServiceProviderMetadata = function (args, optionsOrCb, cb) {
|
|
389
|
+
var command = new GetPortalServiceProviderMetadataCommand(args);
|
|
385
390
|
if (typeof optionsOrCb === "function") {
|
|
386
391
|
this.send(command, optionsOrCb);
|
|
387
392
|
}
|
|
388
393
|
else if (typeof cb === "function") {
|
|
389
394
|
if (typeof optionsOrCb !== "object")
|
|
390
|
-
throw new Error(
|
|
395
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
391
396
|
this.send(command, optionsOrCb || {}, cb);
|
|
392
397
|
}
|
|
393
398
|
else {
|
|
394
399
|
return this.send(command, optionsOrCb);
|
|
395
400
|
}
|
|
396
|
-
}
|
|
397
|
-
getTrustStore(args, optionsOrCb, cb) {
|
|
398
|
-
|
|
401
|
+
};
|
|
402
|
+
WorkSpacesWeb.prototype.getTrustStore = function (args, optionsOrCb, cb) {
|
|
403
|
+
var command = new GetTrustStoreCommand(args);
|
|
399
404
|
if (typeof optionsOrCb === "function") {
|
|
400
405
|
this.send(command, optionsOrCb);
|
|
401
406
|
}
|
|
402
407
|
else if (typeof cb === "function") {
|
|
403
408
|
if (typeof optionsOrCb !== "object")
|
|
404
|
-
throw new Error(
|
|
409
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
405
410
|
this.send(command, optionsOrCb || {}, cb);
|
|
406
411
|
}
|
|
407
412
|
else {
|
|
408
413
|
return this.send(command, optionsOrCb);
|
|
409
414
|
}
|
|
410
|
-
}
|
|
411
|
-
getTrustStoreCertificate(args, optionsOrCb, cb) {
|
|
412
|
-
|
|
415
|
+
};
|
|
416
|
+
WorkSpacesWeb.prototype.getTrustStoreCertificate = function (args, optionsOrCb, cb) {
|
|
417
|
+
var command = new GetTrustStoreCertificateCommand(args);
|
|
413
418
|
if (typeof optionsOrCb === "function") {
|
|
414
419
|
this.send(command, optionsOrCb);
|
|
415
420
|
}
|
|
416
421
|
else if (typeof cb === "function") {
|
|
417
422
|
if (typeof optionsOrCb !== "object")
|
|
418
|
-
throw new Error(
|
|
423
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
419
424
|
this.send(command, optionsOrCb || {}, cb);
|
|
420
425
|
}
|
|
421
426
|
else {
|
|
422
427
|
return this.send(command, optionsOrCb);
|
|
423
428
|
}
|
|
424
|
-
}
|
|
425
|
-
getUserSettings(args, optionsOrCb, cb) {
|
|
426
|
-
|
|
429
|
+
};
|
|
430
|
+
WorkSpacesWeb.prototype.getUserSettings = function (args, optionsOrCb, cb) {
|
|
431
|
+
var command = new GetUserSettingsCommand(args);
|
|
427
432
|
if (typeof optionsOrCb === "function") {
|
|
428
433
|
this.send(command, optionsOrCb);
|
|
429
434
|
}
|
|
430
435
|
else if (typeof cb === "function") {
|
|
431
436
|
if (typeof optionsOrCb !== "object")
|
|
432
|
-
throw new Error(
|
|
437
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
433
438
|
this.send(command, optionsOrCb || {}, cb);
|
|
434
439
|
}
|
|
435
440
|
else {
|
|
436
441
|
return this.send(command, optionsOrCb);
|
|
437
442
|
}
|
|
438
|
-
}
|
|
439
|
-
listBrowserSettings(args, optionsOrCb, cb) {
|
|
440
|
-
|
|
443
|
+
};
|
|
444
|
+
WorkSpacesWeb.prototype.listBrowserSettings = function (args, optionsOrCb, cb) {
|
|
445
|
+
var command = new ListBrowserSettingsCommand(args);
|
|
441
446
|
if (typeof optionsOrCb === "function") {
|
|
442
447
|
this.send(command, optionsOrCb);
|
|
443
448
|
}
|
|
444
449
|
else if (typeof cb === "function") {
|
|
445
450
|
if (typeof optionsOrCb !== "object")
|
|
446
|
-
throw new Error(
|
|
451
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
447
452
|
this.send(command, optionsOrCb || {}, cb);
|
|
448
453
|
}
|
|
449
454
|
else {
|
|
450
455
|
return this.send(command, optionsOrCb);
|
|
451
456
|
}
|
|
452
|
-
}
|
|
453
|
-
listIdentityProviders(args, optionsOrCb, cb) {
|
|
454
|
-
|
|
457
|
+
};
|
|
458
|
+
WorkSpacesWeb.prototype.listIdentityProviders = function (args, optionsOrCb, cb) {
|
|
459
|
+
var command = new ListIdentityProvidersCommand(args);
|
|
455
460
|
if (typeof optionsOrCb === "function") {
|
|
456
461
|
this.send(command, optionsOrCb);
|
|
457
462
|
}
|
|
458
463
|
else if (typeof cb === "function") {
|
|
459
464
|
if (typeof optionsOrCb !== "object")
|
|
460
|
-
throw new Error(
|
|
465
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
461
466
|
this.send(command, optionsOrCb || {}, cb);
|
|
462
467
|
}
|
|
463
468
|
else {
|
|
464
469
|
return this.send(command, optionsOrCb);
|
|
465
470
|
}
|
|
466
|
-
}
|
|
467
|
-
listNetworkSettings(args, optionsOrCb, cb) {
|
|
468
|
-
|
|
471
|
+
};
|
|
472
|
+
WorkSpacesWeb.prototype.listNetworkSettings = function (args, optionsOrCb, cb) {
|
|
473
|
+
var command = new ListNetworkSettingsCommand(args);
|
|
469
474
|
if (typeof optionsOrCb === "function") {
|
|
470
475
|
this.send(command, optionsOrCb);
|
|
471
476
|
}
|
|
472
477
|
else if (typeof cb === "function") {
|
|
473
478
|
if (typeof optionsOrCb !== "object")
|
|
474
|
-
throw new Error(
|
|
479
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
475
480
|
this.send(command, optionsOrCb || {}, cb);
|
|
476
481
|
}
|
|
477
482
|
else {
|
|
478
483
|
return this.send(command, optionsOrCb);
|
|
479
484
|
}
|
|
480
|
-
}
|
|
481
|
-
listPortals(args, optionsOrCb, cb) {
|
|
482
|
-
|
|
485
|
+
};
|
|
486
|
+
WorkSpacesWeb.prototype.listPortals = function (args, optionsOrCb, cb) {
|
|
487
|
+
var command = new ListPortalsCommand(args);
|
|
483
488
|
if (typeof optionsOrCb === "function") {
|
|
484
489
|
this.send(command, optionsOrCb);
|
|
485
490
|
}
|
|
486
491
|
else if (typeof cb === "function") {
|
|
487
492
|
if (typeof optionsOrCb !== "object")
|
|
488
|
-
throw new Error(
|
|
493
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
489
494
|
this.send(command, optionsOrCb || {}, cb);
|
|
490
495
|
}
|
|
491
496
|
else {
|
|
492
497
|
return this.send(command, optionsOrCb);
|
|
493
498
|
}
|
|
494
|
-
}
|
|
495
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
496
|
-
|
|
499
|
+
};
|
|
500
|
+
WorkSpacesWeb.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
501
|
+
var command = new ListTagsForResourceCommand(args);
|
|
497
502
|
if (typeof optionsOrCb === "function") {
|
|
498
503
|
this.send(command, optionsOrCb);
|
|
499
504
|
}
|
|
500
505
|
else if (typeof cb === "function") {
|
|
501
506
|
if (typeof optionsOrCb !== "object")
|
|
502
|
-
throw new Error(
|
|
507
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
503
508
|
this.send(command, optionsOrCb || {}, cb);
|
|
504
509
|
}
|
|
505
510
|
else {
|
|
506
511
|
return this.send(command, optionsOrCb);
|
|
507
512
|
}
|
|
508
|
-
}
|
|
509
|
-
listTrustStoreCertificates(args, optionsOrCb, cb) {
|
|
510
|
-
|
|
513
|
+
};
|
|
514
|
+
WorkSpacesWeb.prototype.listTrustStoreCertificates = function (args, optionsOrCb, cb) {
|
|
515
|
+
var command = new ListTrustStoreCertificatesCommand(args);
|
|
511
516
|
if (typeof optionsOrCb === "function") {
|
|
512
517
|
this.send(command, optionsOrCb);
|
|
513
518
|
}
|
|
514
519
|
else if (typeof cb === "function") {
|
|
515
520
|
if (typeof optionsOrCb !== "object")
|
|
516
|
-
throw new Error(
|
|
521
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
517
522
|
this.send(command, optionsOrCb || {}, cb);
|
|
518
523
|
}
|
|
519
524
|
else {
|
|
520
525
|
return this.send(command, optionsOrCb);
|
|
521
526
|
}
|
|
522
|
-
}
|
|
523
|
-
listTrustStores(args, optionsOrCb, cb) {
|
|
524
|
-
|
|
527
|
+
};
|
|
528
|
+
WorkSpacesWeb.prototype.listTrustStores = function (args, optionsOrCb, cb) {
|
|
529
|
+
var command = new ListTrustStoresCommand(args);
|
|
525
530
|
if (typeof optionsOrCb === "function") {
|
|
526
531
|
this.send(command, optionsOrCb);
|
|
527
532
|
}
|
|
528
533
|
else if (typeof cb === "function") {
|
|
529
534
|
if (typeof optionsOrCb !== "object")
|
|
530
|
-
throw new Error(
|
|
535
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
531
536
|
this.send(command, optionsOrCb || {}, cb);
|
|
532
537
|
}
|
|
533
538
|
else {
|
|
534
539
|
return this.send(command, optionsOrCb);
|
|
535
540
|
}
|
|
536
|
-
}
|
|
537
|
-
listUserSettings(args, optionsOrCb, cb) {
|
|
538
|
-
|
|
541
|
+
};
|
|
542
|
+
WorkSpacesWeb.prototype.listUserSettings = function (args, optionsOrCb, cb) {
|
|
543
|
+
var command = new ListUserSettingsCommand(args);
|
|
539
544
|
if (typeof optionsOrCb === "function") {
|
|
540
545
|
this.send(command, optionsOrCb);
|
|
541
546
|
}
|
|
542
547
|
else if (typeof cb === "function") {
|
|
543
548
|
if (typeof optionsOrCb !== "object")
|
|
544
|
-
throw new Error(
|
|
549
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
545
550
|
this.send(command, optionsOrCb || {}, cb);
|
|
546
551
|
}
|
|
547
552
|
else {
|
|
548
553
|
return this.send(command, optionsOrCb);
|
|
549
554
|
}
|
|
550
|
-
}
|
|
551
|
-
tagResource(args, optionsOrCb, cb) {
|
|
552
|
-
|
|
555
|
+
};
|
|
556
|
+
WorkSpacesWeb.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
557
|
+
var command = new TagResourceCommand(args);
|
|
553
558
|
if (typeof optionsOrCb === "function") {
|
|
554
559
|
this.send(command, optionsOrCb);
|
|
555
560
|
}
|
|
556
561
|
else if (typeof cb === "function") {
|
|
557
562
|
if (typeof optionsOrCb !== "object")
|
|
558
|
-
throw new Error(
|
|
563
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
559
564
|
this.send(command, optionsOrCb || {}, cb);
|
|
560
565
|
}
|
|
561
566
|
else {
|
|
562
567
|
return this.send(command, optionsOrCb);
|
|
563
568
|
}
|
|
564
|
-
}
|
|
565
|
-
untagResource(args, optionsOrCb, cb) {
|
|
566
|
-
|
|
569
|
+
};
|
|
570
|
+
WorkSpacesWeb.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
571
|
+
var command = new UntagResourceCommand(args);
|
|
567
572
|
if (typeof optionsOrCb === "function") {
|
|
568
573
|
this.send(command, optionsOrCb);
|
|
569
574
|
}
|
|
570
575
|
else if (typeof cb === "function") {
|
|
571
576
|
if (typeof optionsOrCb !== "object")
|
|
572
|
-
throw new Error(
|
|
577
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
573
578
|
this.send(command, optionsOrCb || {}, cb);
|
|
574
579
|
}
|
|
575
580
|
else {
|
|
576
581
|
return this.send(command, optionsOrCb);
|
|
577
582
|
}
|
|
578
|
-
}
|
|
579
|
-
updateBrowserSettings(args, optionsOrCb, cb) {
|
|
580
|
-
|
|
583
|
+
};
|
|
584
|
+
WorkSpacesWeb.prototype.updateBrowserSettings = function (args, optionsOrCb, cb) {
|
|
585
|
+
var command = new UpdateBrowserSettingsCommand(args);
|
|
581
586
|
if (typeof optionsOrCb === "function") {
|
|
582
587
|
this.send(command, optionsOrCb);
|
|
583
588
|
}
|
|
584
589
|
else if (typeof cb === "function") {
|
|
585
590
|
if (typeof optionsOrCb !== "object")
|
|
586
|
-
throw new Error(
|
|
591
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
587
592
|
this.send(command, optionsOrCb || {}, cb);
|
|
588
593
|
}
|
|
589
594
|
else {
|
|
590
595
|
return this.send(command, optionsOrCb);
|
|
591
596
|
}
|
|
592
|
-
}
|
|
593
|
-
updateIdentityProvider(args, optionsOrCb, cb) {
|
|
594
|
-
|
|
597
|
+
};
|
|
598
|
+
WorkSpacesWeb.prototype.updateIdentityProvider = function (args, optionsOrCb, cb) {
|
|
599
|
+
var command = new UpdateIdentityProviderCommand(args);
|
|
595
600
|
if (typeof optionsOrCb === "function") {
|
|
596
601
|
this.send(command, optionsOrCb);
|
|
597
602
|
}
|
|
598
603
|
else if (typeof cb === "function") {
|
|
599
604
|
if (typeof optionsOrCb !== "object")
|
|
600
|
-
throw new Error(
|
|
605
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
601
606
|
this.send(command, optionsOrCb || {}, cb);
|
|
602
607
|
}
|
|
603
608
|
else {
|
|
604
609
|
return this.send(command, optionsOrCb);
|
|
605
610
|
}
|
|
606
|
-
}
|
|
607
|
-
updateNetworkSettings(args, optionsOrCb, cb) {
|
|
608
|
-
|
|
611
|
+
};
|
|
612
|
+
WorkSpacesWeb.prototype.updateNetworkSettings = function (args, optionsOrCb, cb) {
|
|
613
|
+
var command = new UpdateNetworkSettingsCommand(args);
|
|
609
614
|
if (typeof optionsOrCb === "function") {
|
|
610
615
|
this.send(command, optionsOrCb);
|
|
611
616
|
}
|
|
612
617
|
else if (typeof cb === "function") {
|
|
613
618
|
if (typeof optionsOrCb !== "object")
|
|
614
|
-
throw new Error(
|
|
619
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
615
620
|
this.send(command, optionsOrCb || {}, cb);
|
|
616
621
|
}
|
|
617
622
|
else {
|
|
618
623
|
return this.send(command, optionsOrCb);
|
|
619
624
|
}
|
|
620
|
-
}
|
|
621
|
-
updatePortal(args, optionsOrCb, cb) {
|
|
622
|
-
|
|
625
|
+
};
|
|
626
|
+
WorkSpacesWeb.prototype.updatePortal = function (args, optionsOrCb, cb) {
|
|
627
|
+
var command = new UpdatePortalCommand(args);
|
|
623
628
|
if (typeof optionsOrCb === "function") {
|
|
624
629
|
this.send(command, optionsOrCb);
|
|
625
630
|
}
|
|
626
631
|
else if (typeof cb === "function") {
|
|
627
632
|
if (typeof optionsOrCb !== "object")
|
|
628
|
-
throw new Error(
|
|
633
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
629
634
|
this.send(command, optionsOrCb || {}, cb);
|
|
630
635
|
}
|
|
631
636
|
else {
|
|
632
637
|
return this.send(command, optionsOrCb);
|
|
633
638
|
}
|
|
634
|
-
}
|
|
635
|
-
updateTrustStore(args, optionsOrCb, cb) {
|
|
636
|
-
|
|
639
|
+
};
|
|
640
|
+
WorkSpacesWeb.prototype.updateTrustStore = function (args, optionsOrCb, cb) {
|
|
641
|
+
var command = new UpdateTrustStoreCommand(args);
|
|
637
642
|
if (typeof optionsOrCb === "function") {
|
|
638
643
|
this.send(command, optionsOrCb);
|
|
639
644
|
}
|
|
640
645
|
else if (typeof cb === "function") {
|
|
641
646
|
if (typeof optionsOrCb !== "object")
|
|
642
|
-
throw new Error(
|
|
647
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
643
648
|
this.send(command, optionsOrCb || {}, cb);
|
|
644
649
|
}
|
|
645
650
|
else {
|
|
646
651
|
return this.send(command, optionsOrCb);
|
|
647
652
|
}
|
|
648
|
-
}
|
|
649
|
-
updateUserSettings(args, optionsOrCb, cb) {
|
|
650
|
-
|
|
653
|
+
};
|
|
654
|
+
WorkSpacesWeb.prototype.updateUserSettings = function (args, optionsOrCb, cb) {
|
|
655
|
+
var command = new UpdateUserSettingsCommand(args);
|
|
651
656
|
if (typeof optionsOrCb === "function") {
|
|
652
657
|
this.send(command, optionsOrCb);
|
|
653
658
|
}
|
|
654
659
|
else if (typeof cb === "function") {
|
|
655
660
|
if (typeof optionsOrCb !== "object")
|
|
656
|
-
throw new Error(
|
|
661
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
657
662
|
this.send(command, optionsOrCb || {}, cb);
|
|
658
663
|
}
|
|
659
664
|
else {
|
|
660
665
|
return this.send(command, optionsOrCb);
|
|
661
666
|
}
|
|
662
|
-
}
|
|
663
|
-
|
|
667
|
+
};
|
|
668
|
+
return WorkSpacesWeb;
|
|
669
|
+
}(WorkSpacesWebClient));
|
|
670
|
+
export { WorkSpacesWeb };
|