@aws-sdk/client-finspace-data 3.315.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/FinspaceData.js +35 -434
- package/dist-cjs/protocols/Aws_restJson1.js +13 -13
- package/dist-es/FinspaceData.js +35 -434
- package/dist-es/protocols/Aws_restJson1.js +13 -13
- package/dist-types/FinspaceData.d.ts +38 -76
- package/dist-types/ts3.4/FinspaceData.d.ts +4 -1
- package/package.json +6 -6
package/dist-cjs/FinspaceData.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FinspaceData = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AssociateUserToPermissionGroupCommand_1 = require("./commands/AssociateUserToPermissionGroupCommand");
|
|
5
6
|
const CreateChangesetCommand_1 = require("./commands/CreateChangesetCommand");
|
|
6
7
|
const CreateDatasetCommand_1 = require("./commands/CreateDatasetCommand");
|
|
@@ -33,440 +34,40 @@ const UpdateDatasetCommand_1 = require("./commands/UpdateDatasetCommand");
|
|
|
33
34
|
const UpdatePermissionGroupCommand_1 = require("./commands/UpdatePermissionGroupCommand");
|
|
34
35
|
const UpdateUserCommand_1 = require("./commands/UpdateUserCommand");
|
|
35
36
|
const FinspaceDataClient_1 = require("./FinspaceDataClient");
|
|
37
|
+
const commands = {
|
|
38
|
+
AssociateUserToPermissionGroupCommand: AssociateUserToPermissionGroupCommand_1.AssociateUserToPermissionGroupCommand,
|
|
39
|
+
CreateChangesetCommand: CreateChangesetCommand_1.CreateChangesetCommand,
|
|
40
|
+
CreateDatasetCommand: CreateDatasetCommand_1.CreateDatasetCommand,
|
|
41
|
+
CreateDataViewCommand: CreateDataViewCommand_1.CreateDataViewCommand,
|
|
42
|
+
CreatePermissionGroupCommand: CreatePermissionGroupCommand_1.CreatePermissionGroupCommand,
|
|
43
|
+
CreateUserCommand: CreateUserCommand_1.CreateUserCommand,
|
|
44
|
+
DeleteDatasetCommand: DeleteDatasetCommand_1.DeleteDatasetCommand,
|
|
45
|
+
DeletePermissionGroupCommand: DeletePermissionGroupCommand_1.DeletePermissionGroupCommand,
|
|
46
|
+
DisableUserCommand: DisableUserCommand_1.DisableUserCommand,
|
|
47
|
+
DisassociateUserFromPermissionGroupCommand: DisassociateUserFromPermissionGroupCommand_1.DisassociateUserFromPermissionGroupCommand,
|
|
48
|
+
EnableUserCommand: EnableUserCommand_1.EnableUserCommand,
|
|
49
|
+
GetChangesetCommand: GetChangesetCommand_1.GetChangesetCommand,
|
|
50
|
+
GetDatasetCommand: GetDatasetCommand_1.GetDatasetCommand,
|
|
51
|
+
GetDataViewCommand: GetDataViewCommand_1.GetDataViewCommand,
|
|
52
|
+
GetExternalDataViewAccessDetailsCommand: GetExternalDataViewAccessDetailsCommand_1.GetExternalDataViewAccessDetailsCommand,
|
|
53
|
+
GetPermissionGroupCommand: GetPermissionGroupCommand_1.GetPermissionGroupCommand,
|
|
54
|
+
GetProgrammaticAccessCredentialsCommand: GetProgrammaticAccessCredentialsCommand_1.GetProgrammaticAccessCredentialsCommand,
|
|
55
|
+
GetUserCommand: GetUserCommand_1.GetUserCommand,
|
|
56
|
+
GetWorkingLocationCommand: GetWorkingLocationCommand_1.GetWorkingLocationCommand,
|
|
57
|
+
ListChangesetsCommand: ListChangesetsCommand_1.ListChangesetsCommand,
|
|
58
|
+
ListDatasetsCommand: ListDatasetsCommand_1.ListDatasetsCommand,
|
|
59
|
+
ListDataViewsCommand: ListDataViewsCommand_1.ListDataViewsCommand,
|
|
60
|
+
ListPermissionGroupsCommand: ListPermissionGroupsCommand_1.ListPermissionGroupsCommand,
|
|
61
|
+
ListPermissionGroupsByUserCommand: ListPermissionGroupsByUserCommand_1.ListPermissionGroupsByUserCommand,
|
|
62
|
+
ListUsersCommand: ListUsersCommand_1.ListUsersCommand,
|
|
63
|
+
ListUsersByPermissionGroupCommand: ListUsersByPermissionGroupCommand_1.ListUsersByPermissionGroupCommand,
|
|
64
|
+
ResetUserPasswordCommand: ResetUserPasswordCommand_1.ResetUserPasswordCommand,
|
|
65
|
+
UpdateChangesetCommand: UpdateChangesetCommand_1.UpdateChangesetCommand,
|
|
66
|
+
UpdateDatasetCommand: UpdateDatasetCommand_1.UpdateDatasetCommand,
|
|
67
|
+
UpdatePermissionGroupCommand: UpdatePermissionGroupCommand_1.UpdatePermissionGroupCommand,
|
|
68
|
+
UpdateUserCommand: UpdateUserCommand_1.UpdateUserCommand,
|
|
69
|
+
};
|
|
36
70
|
class FinspaceData extends FinspaceDataClient_1.FinspaceDataClient {
|
|
37
|
-
associateUserToPermissionGroup(args, optionsOrCb, cb) {
|
|
38
|
-
const command = new AssociateUserToPermissionGroupCommand_1.AssociateUserToPermissionGroupCommand(args);
|
|
39
|
-
if (typeof optionsOrCb === "function") {
|
|
40
|
-
this.send(command, optionsOrCb);
|
|
41
|
-
}
|
|
42
|
-
else if (typeof cb === "function") {
|
|
43
|
-
if (typeof optionsOrCb !== "object")
|
|
44
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
45
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
return this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
createChangeset(args, optionsOrCb, cb) {
|
|
52
|
-
const command = new CreateChangesetCommand_1.CreateChangesetCommand(args);
|
|
53
|
-
if (typeof optionsOrCb === "function") {
|
|
54
|
-
this.send(command, optionsOrCb);
|
|
55
|
-
}
|
|
56
|
-
else if (typeof cb === "function") {
|
|
57
|
-
if (typeof optionsOrCb !== "object")
|
|
58
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
59
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
return this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
createDataset(args, optionsOrCb, cb) {
|
|
66
|
-
const command = new CreateDatasetCommand_1.CreateDatasetCommand(args);
|
|
67
|
-
if (typeof optionsOrCb === "function") {
|
|
68
|
-
this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
else if (typeof cb === "function") {
|
|
71
|
-
if (typeof optionsOrCb !== "object")
|
|
72
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
73
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
return this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
createDataView(args, optionsOrCb, cb) {
|
|
80
|
-
const command = new CreateDataViewCommand_1.CreateDataViewCommand(args);
|
|
81
|
-
if (typeof optionsOrCb === "function") {
|
|
82
|
-
this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
else if (typeof cb === "function") {
|
|
85
|
-
if (typeof optionsOrCb !== "object")
|
|
86
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
87
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
return this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
createPermissionGroup(args, optionsOrCb, cb) {
|
|
94
|
-
const command = new CreatePermissionGroupCommand_1.CreatePermissionGroupCommand(args);
|
|
95
|
-
if (typeof optionsOrCb === "function") {
|
|
96
|
-
this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
else if (typeof cb === "function") {
|
|
99
|
-
if (typeof optionsOrCb !== "object")
|
|
100
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
101
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
return this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
createUser(args, optionsOrCb, cb) {
|
|
108
|
-
const command = new CreateUserCommand_1.CreateUserCommand(args);
|
|
109
|
-
if (typeof optionsOrCb === "function") {
|
|
110
|
-
this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
else if (typeof cb === "function") {
|
|
113
|
-
if (typeof optionsOrCb !== "object")
|
|
114
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
115
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
return this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
deleteDataset(args, optionsOrCb, cb) {
|
|
122
|
-
const command = new DeleteDatasetCommand_1.DeleteDatasetCommand(args);
|
|
123
|
-
if (typeof optionsOrCb === "function") {
|
|
124
|
-
this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
else if (typeof cb === "function") {
|
|
127
|
-
if (typeof optionsOrCb !== "object")
|
|
128
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
129
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
return this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
deletePermissionGroup(args, optionsOrCb, cb) {
|
|
136
|
-
const command = new DeletePermissionGroupCommand_1.DeletePermissionGroupCommand(args);
|
|
137
|
-
if (typeof optionsOrCb === "function") {
|
|
138
|
-
this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
else if (typeof cb === "function") {
|
|
141
|
-
if (typeof optionsOrCb !== "object")
|
|
142
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
143
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
return this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
disableUser(args, optionsOrCb, cb) {
|
|
150
|
-
const command = new DisableUserCommand_1.DisableUserCommand(args);
|
|
151
|
-
if (typeof optionsOrCb === "function") {
|
|
152
|
-
this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
else if (typeof cb === "function") {
|
|
155
|
-
if (typeof optionsOrCb !== "object")
|
|
156
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
157
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
return this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
disassociateUserFromPermissionGroup(args, optionsOrCb, cb) {
|
|
164
|
-
const command = new DisassociateUserFromPermissionGroupCommand_1.DisassociateUserFromPermissionGroupCommand(args);
|
|
165
|
-
if (typeof optionsOrCb === "function") {
|
|
166
|
-
this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
else if (typeof cb === "function") {
|
|
169
|
-
if (typeof optionsOrCb !== "object")
|
|
170
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
171
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
172
|
-
}
|
|
173
|
-
else {
|
|
174
|
-
return this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
enableUser(args, optionsOrCb, cb) {
|
|
178
|
-
const command = new EnableUserCommand_1.EnableUserCommand(args);
|
|
179
|
-
if (typeof optionsOrCb === "function") {
|
|
180
|
-
this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
else if (typeof cb === "function") {
|
|
183
|
-
if (typeof optionsOrCb !== "object")
|
|
184
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
185
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
return this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
getChangeset(args, optionsOrCb, cb) {
|
|
192
|
-
const command = new GetChangesetCommand_1.GetChangesetCommand(args);
|
|
193
|
-
if (typeof optionsOrCb === "function") {
|
|
194
|
-
this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
else if (typeof cb === "function") {
|
|
197
|
-
if (typeof optionsOrCb !== "object")
|
|
198
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
199
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
return this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
getDataset(args, optionsOrCb, cb) {
|
|
206
|
-
const command = new GetDatasetCommand_1.GetDatasetCommand(args);
|
|
207
|
-
if (typeof optionsOrCb === "function") {
|
|
208
|
-
this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
else if (typeof cb === "function") {
|
|
211
|
-
if (typeof optionsOrCb !== "object")
|
|
212
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
213
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
214
|
-
}
|
|
215
|
-
else {
|
|
216
|
-
return this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
getDataView(args, optionsOrCb, cb) {
|
|
220
|
-
const command = new GetDataViewCommand_1.GetDataViewCommand(args);
|
|
221
|
-
if (typeof optionsOrCb === "function") {
|
|
222
|
-
this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
else if (typeof cb === "function") {
|
|
225
|
-
if (typeof optionsOrCb !== "object")
|
|
226
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
227
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
228
|
-
}
|
|
229
|
-
else {
|
|
230
|
-
return this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
getExternalDataViewAccessDetails(args, optionsOrCb, cb) {
|
|
234
|
-
const command = new GetExternalDataViewAccessDetailsCommand_1.GetExternalDataViewAccessDetailsCommand(args);
|
|
235
|
-
if (typeof optionsOrCb === "function") {
|
|
236
|
-
this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
else if (typeof cb === "function") {
|
|
239
|
-
if (typeof optionsOrCb !== "object")
|
|
240
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
-
}
|
|
243
|
-
else {
|
|
244
|
-
return this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
getPermissionGroup(args, optionsOrCb, cb) {
|
|
248
|
-
const command = new GetPermissionGroupCommand_1.GetPermissionGroupCommand(args);
|
|
249
|
-
if (typeof optionsOrCb === "function") {
|
|
250
|
-
this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
else if (typeof cb === "function") {
|
|
253
|
-
if (typeof optionsOrCb !== "object")
|
|
254
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
255
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
256
|
-
}
|
|
257
|
-
else {
|
|
258
|
-
return this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
getProgrammaticAccessCredentials(args, optionsOrCb, cb) {
|
|
262
|
-
const command = new GetProgrammaticAccessCredentialsCommand_1.GetProgrammaticAccessCredentialsCommand(args);
|
|
263
|
-
if (typeof optionsOrCb === "function") {
|
|
264
|
-
this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
else if (typeof cb === "function") {
|
|
267
|
-
if (typeof optionsOrCb !== "object")
|
|
268
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
269
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
270
|
-
}
|
|
271
|
-
else {
|
|
272
|
-
return this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
getUser(args, optionsOrCb, cb) {
|
|
276
|
-
const command = new GetUserCommand_1.GetUserCommand(args);
|
|
277
|
-
if (typeof optionsOrCb === "function") {
|
|
278
|
-
this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
else if (typeof cb === "function") {
|
|
281
|
-
if (typeof optionsOrCb !== "object")
|
|
282
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
283
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
284
|
-
}
|
|
285
|
-
else {
|
|
286
|
-
return this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
getWorkingLocation(args, optionsOrCb, cb) {
|
|
290
|
-
const command = new GetWorkingLocationCommand_1.GetWorkingLocationCommand(args);
|
|
291
|
-
if (typeof optionsOrCb === "function") {
|
|
292
|
-
this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
else if (typeof cb === "function") {
|
|
295
|
-
if (typeof optionsOrCb !== "object")
|
|
296
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
297
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
298
|
-
}
|
|
299
|
-
else {
|
|
300
|
-
return this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
listChangesets(args, optionsOrCb, cb) {
|
|
304
|
-
const command = new ListChangesetsCommand_1.ListChangesetsCommand(args);
|
|
305
|
-
if (typeof optionsOrCb === "function") {
|
|
306
|
-
this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
else if (typeof cb === "function") {
|
|
309
|
-
if (typeof optionsOrCb !== "object")
|
|
310
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
311
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
312
|
-
}
|
|
313
|
-
else {
|
|
314
|
-
return this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
listDatasets(args, optionsOrCb, cb) {
|
|
318
|
-
const command = new ListDatasetsCommand_1.ListDatasetsCommand(args);
|
|
319
|
-
if (typeof optionsOrCb === "function") {
|
|
320
|
-
this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
else if (typeof cb === "function") {
|
|
323
|
-
if (typeof optionsOrCb !== "object")
|
|
324
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
325
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
326
|
-
}
|
|
327
|
-
else {
|
|
328
|
-
return this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
listDataViews(args, optionsOrCb, cb) {
|
|
332
|
-
const command = new ListDataViewsCommand_1.ListDataViewsCommand(args);
|
|
333
|
-
if (typeof optionsOrCb === "function") {
|
|
334
|
-
this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
else if (typeof cb === "function") {
|
|
337
|
-
if (typeof optionsOrCb !== "object")
|
|
338
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
339
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
340
|
-
}
|
|
341
|
-
else {
|
|
342
|
-
return this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
listPermissionGroups(args, optionsOrCb, cb) {
|
|
346
|
-
const command = new ListPermissionGroupsCommand_1.ListPermissionGroupsCommand(args);
|
|
347
|
-
if (typeof optionsOrCb === "function") {
|
|
348
|
-
this.send(command, optionsOrCb);
|
|
349
|
-
}
|
|
350
|
-
else if (typeof cb === "function") {
|
|
351
|
-
if (typeof optionsOrCb !== "object")
|
|
352
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
353
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
354
|
-
}
|
|
355
|
-
else {
|
|
356
|
-
return this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
listPermissionGroupsByUser(args, optionsOrCb, cb) {
|
|
360
|
-
const command = new ListPermissionGroupsByUserCommand_1.ListPermissionGroupsByUserCommand(args);
|
|
361
|
-
if (typeof optionsOrCb === "function") {
|
|
362
|
-
this.send(command, optionsOrCb);
|
|
363
|
-
}
|
|
364
|
-
else if (typeof cb === "function") {
|
|
365
|
-
if (typeof optionsOrCb !== "object")
|
|
366
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
368
|
-
}
|
|
369
|
-
else {
|
|
370
|
-
return this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
listUsers(args, optionsOrCb, cb) {
|
|
374
|
-
const command = new ListUsersCommand_1.ListUsersCommand(args);
|
|
375
|
-
if (typeof optionsOrCb === "function") {
|
|
376
|
-
this.send(command, optionsOrCb);
|
|
377
|
-
}
|
|
378
|
-
else if (typeof cb === "function") {
|
|
379
|
-
if (typeof optionsOrCb !== "object")
|
|
380
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
381
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
382
|
-
}
|
|
383
|
-
else {
|
|
384
|
-
return this.send(command, optionsOrCb);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
listUsersByPermissionGroup(args, optionsOrCb, cb) {
|
|
388
|
-
const command = new ListUsersByPermissionGroupCommand_1.ListUsersByPermissionGroupCommand(args);
|
|
389
|
-
if (typeof optionsOrCb === "function") {
|
|
390
|
-
this.send(command, optionsOrCb);
|
|
391
|
-
}
|
|
392
|
-
else if (typeof cb === "function") {
|
|
393
|
-
if (typeof optionsOrCb !== "object")
|
|
394
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
-
}
|
|
397
|
-
else {
|
|
398
|
-
return this.send(command, optionsOrCb);
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
resetUserPassword(args, optionsOrCb, cb) {
|
|
402
|
-
const command = new ResetUserPasswordCommand_1.ResetUserPasswordCommand(args);
|
|
403
|
-
if (typeof optionsOrCb === "function") {
|
|
404
|
-
this.send(command, optionsOrCb);
|
|
405
|
-
}
|
|
406
|
-
else if (typeof cb === "function") {
|
|
407
|
-
if (typeof optionsOrCb !== "object")
|
|
408
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
409
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
410
|
-
}
|
|
411
|
-
else {
|
|
412
|
-
return this.send(command, optionsOrCb);
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
updateChangeset(args, optionsOrCb, cb) {
|
|
416
|
-
const command = new UpdateChangesetCommand_1.UpdateChangesetCommand(args);
|
|
417
|
-
if (typeof optionsOrCb === "function") {
|
|
418
|
-
this.send(command, optionsOrCb);
|
|
419
|
-
}
|
|
420
|
-
else if (typeof cb === "function") {
|
|
421
|
-
if (typeof optionsOrCb !== "object")
|
|
422
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
423
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
424
|
-
}
|
|
425
|
-
else {
|
|
426
|
-
return this.send(command, optionsOrCb);
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
updateDataset(args, optionsOrCb, cb) {
|
|
430
|
-
const command = new UpdateDatasetCommand_1.UpdateDatasetCommand(args);
|
|
431
|
-
if (typeof optionsOrCb === "function") {
|
|
432
|
-
this.send(command, optionsOrCb);
|
|
433
|
-
}
|
|
434
|
-
else if (typeof cb === "function") {
|
|
435
|
-
if (typeof optionsOrCb !== "object")
|
|
436
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
437
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
438
|
-
}
|
|
439
|
-
else {
|
|
440
|
-
return this.send(command, optionsOrCb);
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
updatePermissionGroup(args, optionsOrCb, cb) {
|
|
444
|
-
const command = new UpdatePermissionGroupCommand_1.UpdatePermissionGroupCommand(args);
|
|
445
|
-
if (typeof optionsOrCb === "function") {
|
|
446
|
-
this.send(command, optionsOrCb);
|
|
447
|
-
}
|
|
448
|
-
else if (typeof cb === "function") {
|
|
449
|
-
if (typeof optionsOrCb !== "object")
|
|
450
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
451
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
452
|
-
}
|
|
453
|
-
else {
|
|
454
|
-
return this.send(command, optionsOrCb);
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
updateUser(args, optionsOrCb, cb) {
|
|
458
|
-
const command = new UpdateUserCommand_1.UpdateUserCommand(args);
|
|
459
|
-
if (typeof optionsOrCb === "function") {
|
|
460
|
-
this.send(command, optionsOrCb);
|
|
461
|
-
}
|
|
462
|
-
else if (typeof cb === "function") {
|
|
463
|
-
if (typeof optionsOrCb !== "object")
|
|
464
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
465
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
466
|
-
}
|
|
467
|
-
else {
|
|
468
|
-
return this.send(command, optionsOrCb);
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
71
|
}
|
|
472
72
|
exports.FinspaceData = FinspaceData;
|
|
73
|
+
(0, smithy_client_1.createAggregatedClient)(commands, FinspaceData);
|
|
@@ -18,7 +18,7 @@ const se_AssociateUserToPermissionGroupCommand = async (input, context) => {
|
|
|
18
18
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
19
19
|
let body;
|
|
20
20
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
21
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
21
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
22
22
|
}));
|
|
23
23
|
return new protocol_http_1.HttpRequest({
|
|
24
24
|
protocol,
|
|
@@ -41,7 +41,7 @@ const se_CreateChangesetCommand = async (input, context) => {
|
|
|
41
41
|
let body;
|
|
42
42
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
43
43
|
changeType: [],
|
|
44
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
44
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
45
45
|
formatParams: (_) => (0, smithy_client_1._json)(_),
|
|
46
46
|
sourceParams: (_) => (0, smithy_client_1._json)(_),
|
|
47
47
|
}));
|
|
@@ -65,7 +65,7 @@ const se_CreateDatasetCommand = async (input, context) => {
|
|
|
65
65
|
let body;
|
|
66
66
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
67
67
|
alias: [],
|
|
68
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
68
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
69
69
|
datasetDescription: [],
|
|
70
70
|
datasetTitle: [],
|
|
71
71
|
kind: [],
|
|
@@ -95,7 +95,7 @@ const se_CreateDataViewCommand = async (input, context) => {
|
|
|
95
95
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
96
96
|
asOfTimestamp: [],
|
|
97
97
|
autoUpdate: [],
|
|
98
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
98
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
99
99
|
destinationTypeParams: (_) => (0, smithy_client_1._json)(_),
|
|
100
100
|
partitionColumns: (_) => (0, smithy_client_1._json)(_),
|
|
101
101
|
sortColumns: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -120,7 +120,7 @@ const se_CreatePermissionGroupCommand = async (input, context) => {
|
|
|
120
120
|
let body;
|
|
121
121
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
122
122
|
applicationPermissions: (_) => (0, smithy_client_1._json)(_),
|
|
123
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
123
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
124
124
|
description: [],
|
|
125
125
|
name: [],
|
|
126
126
|
}));
|
|
@@ -145,7 +145,7 @@ const se_CreateUserCommand = async (input, context) => {
|
|
|
145
145
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
146
146
|
ApiAccess: [],
|
|
147
147
|
apiAccessPrincipalArn: [],
|
|
148
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
148
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
149
149
|
emailAddress: [],
|
|
150
150
|
firstName: [],
|
|
151
151
|
lastName: [],
|
|
@@ -213,7 +213,7 @@ const se_DisableUserCommand = async (input, context) => {
|
|
|
213
213
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
214
214
|
let body;
|
|
215
215
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
216
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
216
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
217
217
|
}));
|
|
218
218
|
return new protocol_http_1.HttpRequest({
|
|
219
219
|
protocol,
|
|
@@ -258,7 +258,7 @@ const se_EnableUserCommand = async (input, context) => {
|
|
|
258
258
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
259
259
|
let body;
|
|
260
260
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
261
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
261
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
262
262
|
}));
|
|
263
263
|
return new protocol_http_1.HttpRequest({
|
|
264
264
|
protocol,
|
|
@@ -582,7 +582,7 @@ const se_ResetUserPasswordCommand = async (input, context) => {
|
|
|
582
582
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
583
583
|
let body;
|
|
584
584
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
585
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
585
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
586
586
|
}));
|
|
587
587
|
return new protocol_http_1.HttpRequest({
|
|
588
588
|
protocol,
|
|
@@ -606,7 +606,7 @@ const se_UpdateChangesetCommand = async (input, context) => {
|
|
|
606
606
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "changesetId", () => input.changesetId, "{changesetId}", false);
|
|
607
607
|
let body;
|
|
608
608
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
609
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
609
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
610
610
|
formatParams: (_) => (0, smithy_client_1._json)(_),
|
|
611
611
|
sourceParams: (_) => (0, smithy_client_1._json)(_),
|
|
612
612
|
}));
|
|
@@ -631,7 +631,7 @@ const se_UpdateDatasetCommand = async (input, context) => {
|
|
|
631
631
|
let body;
|
|
632
632
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
633
633
|
alias: [],
|
|
634
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
634
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
635
635
|
datasetDescription: [],
|
|
636
636
|
datasetTitle: [],
|
|
637
637
|
kind: [],
|
|
@@ -658,7 +658,7 @@ const se_UpdatePermissionGroupCommand = async (input, context) => {
|
|
|
658
658
|
let body;
|
|
659
659
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
660
660
|
applicationPermissions: (_) => (0, smithy_client_1._json)(_),
|
|
661
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
661
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
662
662
|
description: [],
|
|
663
663
|
name: [],
|
|
664
664
|
}));
|
|
@@ -684,7 +684,7 @@ const se_UpdateUserCommand = async (input, context) => {
|
|
|
684
684
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
685
685
|
apiAccess: [],
|
|
686
686
|
apiAccessPrincipalArn: [],
|
|
687
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
687
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
688
688
|
firstName: [],
|
|
689
689
|
lastName: [],
|
|
690
690
|
type: [],
|