@aws-sdk/client-finspace-data 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_restJson1.js +2 -2
- package/dist-es/FinspaceData.js +133 -126
- package/dist-es/FinspaceDataClient.js +28 -22
- package/dist-es/commands/AssociateUserToPermissionGroupCommand.js +28 -21
- package/dist-es/commands/CreateChangesetCommand.js +28 -21
- package/dist-es/commands/CreateDataViewCommand.js +28 -21
- package/dist-es/commands/CreateDatasetCommand.js +28 -21
- package/dist-es/commands/CreatePermissionGroupCommand.js +28 -21
- package/dist-es/commands/CreateUserCommand.js +28 -21
- package/dist-es/commands/DeleteDatasetCommand.js +28 -21
- package/dist-es/commands/DeletePermissionGroupCommand.js +28 -21
- package/dist-es/commands/DisableUserCommand.js +28 -21
- package/dist-es/commands/DisassociateUserFromPermissionGroupCommand.js +28 -21
- package/dist-es/commands/EnableUserCommand.js +28 -21
- package/dist-es/commands/GetChangesetCommand.js +28 -21
- package/dist-es/commands/GetDataViewCommand.js +28 -21
- package/dist-es/commands/GetDatasetCommand.js +28 -21
- package/dist-es/commands/GetExternalDataViewAccessDetailsCommand.js +28 -21
- package/dist-es/commands/GetPermissionGroupCommand.js +28 -21
- package/dist-es/commands/GetProgrammaticAccessCredentialsCommand.js +28 -21
- package/dist-es/commands/GetUserCommand.js +28 -21
- package/dist-es/commands/GetWorkingLocationCommand.js +28 -21
- package/dist-es/commands/ListChangesetsCommand.js +28 -21
- package/dist-es/commands/ListDataViewsCommand.js +28 -21
- package/dist-es/commands/ListDatasetsCommand.js +28 -21
- package/dist-es/commands/ListPermissionGroupsByUserCommand.js +28 -21
- package/dist-es/commands/ListPermissionGroupsCommand.js +28 -21
- package/dist-es/commands/ListUsersByPermissionGroupCommand.js +28 -21
- package/dist-es/commands/ListUsersCommand.js +28 -21
- package/dist-es/commands/ResetUserPasswordCommand.js +28 -21
- package/dist-es/commands/UpdateChangesetCommand.js +28 -21
- package/dist-es/commands/UpdateDatasetCommand.js +28 -21
- package/dist-es/commands/UpdatePermissionGroupCommand.js +28 -21
- package/dist-es/commands/UpdateUserCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/FinspaceDataServiceException.js +10 -5
- package/dist-es/models/models_0.js +166 -361
- package/dist-es/pagination/ListChangesetsPaginator.js +68 -25
- package/dist-es/pagination/ListDataViewsPaginator.js +68 -25
- package/dist-es/pagination/ListDatasetsPaginator.js +68 -25
- package/dist-es/pagination/ListPermissionGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListUsersPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +3514 -2530
- 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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-finspace-data
|
|
@@ -2957,10 +2957,10 @@ const deserializeAws_restJson1UserList = (output, context) => {
|
|
|
2957
2957
|
return retVal;
|
|
2958
2958
|
};
|
|
2959
2959
|
const deserializeMetadata = (output) => {
|
|
2960
|
-
var _a;
|
|
2960
|
+
var _a, _b;
|
|
2961
2961
|
return ({
|
|
2962
2962
|
httpStatusCode: output.statusCode,
|
|
2963
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
2963
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
2964
2964
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2965
2965
|
cfId: output.headers["x-amz-cf-id"],
|
|
2966
2966
|
});
|
package/dist-es/FinspaceData.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AssociateUserToPermissionGroupCommand, } from "./commands/AssociateUserToPermissionGroupCommand";
|
|
2
3
|
import { CreateChangesetCommand, } from "./commands/CreateChangesetCommand";
|
|
3
4
|
import { CreateDatasetCommand, } from "./commands/CreateDatasetCommand";
|
|
@@ -30,439 +31,445 @@ import { UpdateDatasetCommand, } from "./commands/UpdateDatasetCommand";
|
|
|
30
31
|
import { UpdatePermissionGroupCommand, } from "./commands/UpdatePermissionGroupCommand";
|
|
31
32
|
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
32
33
|
import { FinspaceDataClient } from "./FinspaceDataClient";
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
var FinspaceData = (function (_super) {
|
|
35
|
+
__extends(FinspaceData, _super);
|
|
36
|
+
function FinspaceData() {
|
|
37
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
38
|
+
}
|
|
39
|
+
FinspaceData.prototype.associateUserToPermissionGroup = function (args, optionsOrCb, cb) {
|
|
40
|
+
var command = new AssociateUserToPermissionGroupCommand(args);
|
|
36
41
|
if (typeof optionsOrCb === "function") {
|
|
37
42
|
this.send(command, optionsOrCb);
|
|
38
43
|
}
|
|
39
44
|
else if (typeof cb === "function") {
|
|
40
45
|
if (typeof optionsOrCb !== "object")
|
|
41
|
-
throw new Error(
|
|
46
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
42
47
|
this.send(command, optionsOrCb || {}, cb);
|
|
43
48
|
}
|
|
44
49
|
else {
|
|
45
50
|
return this.send(command, optionsOrCb);
|
|
46
51
|
}
|
|
47
|
-
}
|
|
48
|
-
createChangeset(args, optionsOrCb, cb) {
|
|
49
|
-
|
|
52
|
+
};
|
|
53
|
+
FinspaceData.prototype.createChangeset = function (args, optionsOrCb, cb) {
|
|
54
|
+
var command = new CreateChangesetCommand(args);
|
|
50
55
|
if (typeof optionsOrCb === "function") {
|
|
51
56
|
this.send(command, optionsOrCb);
|
|
52
57
|
}
|
|
53
58
|
else if (typeof cb === "function") {
|
|
54
59
|
if (typeof optionsOrCb !== "object")
|
|
55
|
-
throw new Error(
|
|
60
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
56
61
|
this.send(command, optionsOrCb || {}, cb);
|
|
57
62
|
}
|
|
58
63
|
else {
|
|
59
64
|
return this.send(command, optionsOrCb);
|
|
60
65
|
}
|
|
61
|
-
}
|
|
62
|
-
createDataset(args, optionsOrCb, cb) {
|
|
63
|
-
|
|
66
|
+
};
|
|
67
|
+
FinspaceData.prototype.createDataset = function (args, optionsOrCb, cb) {
|
|
68
|
+
var command = new CreateDatasetCommand(args);
|
|
64
69
|
if (typeof optionsOrCb === "function") {
|
|
65
70
|
this.send(command, optionsOrCb);
|
|
66
71
|
}
|
|
67
72
|
else if (typeof cb === "function") {
|
|
68
73
|
if (typeof optionsOrCb !== "object")
|
|
69
|
-
throw new Error(
|
|
74
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
70
75
|
this.send(command, optionsOrCb || {}, cb);
|
|
71
76
|
}
|
|
72
77
|
else {
|
|
73
78
|
return this.send(command, optionsOrCb);
|
|
74
79
|
}
|
|
75
|
-
}
|
|
76
|
-
createDataView(args, optionsOrCb, cb) {
|
|
77
|
-
|
|
80
|
+
};
|
|
81
|
+
FinspaceData.prototype.createDataView = function (args, optionsOrCb, cb) {
|
|
82
|
+
var command = new CreateDataViewCommand(args);
|
|
78
83
|
if (typeof optionsOrCb === "function") {
|
|
79
84
|
this.send(command, optionsOrCb);
|
|
80
85
|
}
|
|
81
86
|
else if (typeof cb === "function") {
|
|
82
87
|
if (typeof optionsOrCb !== "object")
|
|
83
|
-
throw new Error(
|
|
88
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
84
89
|
this.send(command, optionsOrCb || {}, cb);
|
|
85
90
|
}
|
|
86
91
|
else {
|
|
87
92
|
return this.send(command, optionsOrCb);
|
|
88
93
|
}
|
|
89
|
-
}
|
|
90
|
-
createPermissionGroup(args, optionsOrCb, cb) {
|
|
91
|
-
|
|
94
|
+
};
|
|
95
|
+
FinspaceData.prototype.createPermissionGroup = function (args, optionsOrCb, cb) {
|
|
96
|
+
var command = new CreatePermissionGroupCommand(args);
|
|
92
97
|
if (typeof optionsOrCb === "function") {
|
|
93
98
|
this.send(command, optionsOrCb);
|
|
94
99
|
}
|
|
95
100
|
else if (typeof cb === "function") {
|
|
96
101
|
if (typeof optionsOrCb !== "object")
|
|
97
|
-
throw new Error(
|
|
102
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
98
103
|
this.send(command, optionsOrCb || {}, cb);
|
|
99
104
|
}
|
|
100
105
|
else {
|
|
101
106
|
return this.send(command, optionsOrCb);
|
|
102
107
|
}
|
|
103
|
-
}
|
|
104
|
-
createUser(args, optionsOrCb, cb) {
|
|
105
|
-
|
|
108
|
+
};
|
|
109
|
+
FinspaceData.prototype.createUser = function (args, optionsOrCb, cb) {
|
|
110
|
+
var command = new CreateUserCommand(args);
|
|
106
111
|
if (typeof optionsOrCb === "function") {
|
|
107
112
|
this.send(command, optionsOrCb);
|
|
108
113
|
}
|
|
109
114
|
else if (typeof cb === "function") {
|
|
110
115
|
if (typeof optionsOrCb !== "object")
|
|
111
|
-
throw new Error(
|
|
116
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
112
117
|
this.send(command, optionsOrCb || {}, cb);
|
|
113
118
|
}
|
|
114
119
|
else {
|
|
115
120
|
return this.send(command, optionsOrCb);
|
|
116
121
|
}
|
|
117
|
-
}
|
|
118
|
-
deleteDataset(args, optionsOrCb, cb) {
|
|
119
|
-
|
|
122
|
+
};
|
|
123
|
+
FinspaceData.prototype.deleteDataset = function (args, optionsOrCb, cb) {
|
|
124
|
+
var command = new DeleteDatasetCommand(args);
|
|
120
125
|
if (typeof optionsOrCb === "function") {
|
|
121
126
|
this.send(command, optionsOrCb);
|
|
122
127
|
}
|
|
123
128
|
else if (typeof cb === "function") {
|
|
124
129
|
if (typeof optionsOrCb !== "object")
|
|
125
|
-
throw new Error(
|
|
130
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
126
131
|
this.send(command, optionsOrCb || {}, cb);
|
|
127
132
|
}
|
|
128
133
|
else {
|
|
129
134
|
return this.send(command, optionsOrCb);
|
|
130
135
|
}
|
|
131
|
-
}
|
|
132
|
-
deletePermissionGroup(args, optionsOrCb, cb) {
|
|
133
|
-
|
|
136
|
+
};
|
|
137
|
+
FinspaceData.prototype.deletePermissionGroup = function (args, optionsOrCb, cb) {
|
|
138
|
+
var command = new DeletePermissionGroupCommand(args);
|
|
134
139
|
if (typeof optionsOrCb === "function") {
|
|
135
140
|
this.send(command, optionsOrCb);
|
|
136
141
|
}
|
|
137
142
|
else if (typeof cb === "function") {
|
|
138
143
|
if (typeof optionsOrCb !== "object")
|
|
139
|
-
throw new Error(
|
|
144
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
140
145
|
this.send(command, optionsOrCb || {}, cb);
|
|
141
146
|
}
|
|
142
147
|
else {
|
|
143
148
|
return this.send(command, optionsOrCb);
|
|
144
149
|
}
|
|
145
|
-
}
|
|
146
|
-
disableUser(args, optionsOrCb, cb) {
|
|
147
|
-
|
|
150
|
+
};
|
|
151
|
+
FinspaceData.prototype.disableUser = function (args, optionsOrCb, cb) {
|
|
152
|
+
var command = new DisableUserCommand(args);
|
|
148
153
|
if (typeof optionsOrCb === "function") {
|
|
149
154
|
this.send(command, optionsOrCb);
|
|
150
155
|
}
|
|
151
156
|
else if (typeof cb === "function") {
|
|
152
157
|
if (typeof optionsOrCb !== "object")
|
|
153
|
-
throw new Error(
|
|
158
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
154
159
|
this.send(command, optionsOrCb || {}, cb);
|
|
155
160
|
}
|
|
156
161
|
else {
|
|
157
162
|
return this.send(command, optionsOrCb);
|
|
158
163
|
}
|
|
159
|
-
}
|
|
160
|
-
disassociateUserFromPermissionGroup(args, optionsOrCb, cb) {
|
|
161
|
-
|
|
164
|
+
};
|
|
165
|
+
FinspaceData.prototype.disassociateUserFromPermissionGroup = function (args, optionsOrCb, cb) {
|
|
166
|
+
var command = new DisassociateUserFromPermissionGroupCommand(args);
|
|
162
167
|
if (typeof optionsOrCb === "function") {
|
|
163
168
|
this.send(command, optionsOrCb);
|
|
164
169
|
}
|
|
165
170
|
else if (typeof cb === "function") {
|
|
166
171
|
if (typeof optionsOrCb !== "object")
|
|
167
|
-
throw new Error(
|
|
172
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
168
173
|
this.send(command, optionsOrCb || {}, cb);
|
|
169
174
|
}
|
|
170
175
|
else {
|
|
171
176
|
return this.send(command, optionsOrCb);
|
|
172
177
|
}
|
|
173
|
-
}
|
|
174
|
-
enableUser(args, optionsOrCb, cb) {
|
|
175
|
-
|
|
178
|
+
};
|
|
179
|
+
FinspaceData.prototype.enableUser = function (args, optionsOrCb, cb) {
|
|
180
|
+
var command = new EnableUserCommand(args);
|
|
176
181
|
if (typeof optionsOrCb === "function") {
|
|
177
182
|
this.send(command, optionsOrCb);
|
|
178
183
|
}
|
|
179
184
|
else if (typeof cb === "function") {
|
|
180
185
|
if (typeof optionsOrCb !== "object")
|
|
181
|
-
throw new Error(
|
|
186
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
182
187
|
this.send(command, optionsOrCb || {}, cb);
|
|
183
188
|
}
|
|
184
189
|
else {
|
|
185
190
|
return this.send(command, optionsOrCb);
|
|
186
191
|
}
|
|
187
|
-
}
|
|
188
|
-
getChangeset(args, optionsOrCb, cb) {
|
|
189
|
-
|
|
192
|
+
};
|
|
193
|
+
FinspaceData.prototype.getChangeset = function (args, optionsOrCb, cb) {
|
|
194
|
+
var command = new GetChangesetCommand(args);
|
|
190
195
|
if (typeof optionsOrCb === "function") {
|
|
191
196
|
this.send(command, optionsOrCb);
|
|
192
197
|
}
|
|
193
198
|
else if (typeof cb === "function") {
|
|
194
199
|
if (typeof optionsOrCb !== "object")
|
|
195
|
-
throw new Error(
|
|
200
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
196
201
|
this.send(command, optionsOrCb || {}, cb);
|
|
197
202
|
}
|
|
198
203
|
else {
|
|
199
204
|
return this.send(command, optionsOrCb);
|
|
200
205
|
}
|
|
201
|
-
}
|
|
202
|
-
getDataset(args, optionsOrCb, cb) {
|
|
203
|
-
|
|
206
|
+
};
|
|
207
|
+
FinspaceData.prototype.getDataset = function (args, optionsOrCb, cb) {
|
|
208
|
+
var command = new GetDatasetCommand(args);
|
|
204
209
|
if (typeof optionsOrCb === "function") {
|
|
205
210
|
this.send(command, optionsOrCb);
|
|
206
211
|
}
|
|
207
212
|
else if (typeof cb === "function") {
|
|
208
213
|
if (typeof optionsOrCb !== "object")
|
|
209
|
-
throw new Error(
|
|
214
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
210
215
|
this.send(command, optionsOrCb || {}, cb);
|
|
211
216
|
}
|
|
212
217
|
else {
|
|
213
218
|
return this.send(command, optionsOrCb);
|
|
214
219
|
}
|
|
215
|
-
}
|
|
216
|
-
getDataView(args, optionsOrCb, cb) {
|
|
217
|
-
|
|
220
|
+
};
|
|
221
|
+
FinspaceData.prototype.getDataView = function (args, optionsOrCb, cb) {
|
|
222
|
+
var command = new GetDataViewCommand(args);
|
|
218
223
|
if (typeof optionsOrCb === "function") {
|
|
219
224
|
this.send(command, optionsOrCb);
|
|
220
225
|
}
|
|
221
226
|
else if (typeof cb === "function") {
|
|
222
227
|
if (typeof optionsOrCb !== "object")
|
|
223
|
-
throw new Error(
|
|
228
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
224
229
|
this.send(command, optionsOrCb || {}, cb);
|
|
225
230
|
}
|
|
226
231
|
else {
|
|
227
232
|
return this.send(command, optionsOrCb);
|
|
228
233
|
}
|
|
229
|
-
}
|
|
230
|
-
getExternalDataViewAccessDetails(args, optionsOrCb, cb) {
|
|
231
|
-
|
|
234
|
+
};
|
|
235
|
+
FinspaceData.prototype.getExternalDataViewAccessDetails = function (args, optionsOrCb, cb) {
|
|
236
|
+
var command = new GetExternalDataViewAccessDetailsCommand(args);
|
|
232
237
|
if (typeof optionsOrCb === "function") {
|
|
233
238
|
this.send(command, optionsOrCb);
|
|
234
239
|
}
|
|
235
240
|
else if (typeof cb === "function") {
|
|
236
241
|
if (typeof optionsOrCb !== "object")
|
|
237
|
-
throw new Error(
|
|
242
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
238
243
|
this.send(command, optionsOrCb || {}, cb);
|
|
239
244
|
}
|
|
240
245
|
else {
|
|
241
246
|
return this.send(command, optionsOrCb);
|
|
242
247
|
}
|
|
243
|
-
}
|
|
244
|
-
getPermissionGroup(args, optionsOrCb, cb) {
|
|
245
|
-
|
|
248
|
+
};
|
|
249
|
+
FinspaceData.prototype.getPermissionGroup = function (args, optionsOrCb, cb) {
|
|
250
|
+
var command = new GetPermissionGroupCommand(args);
|
|
246
251
|
if (typeof optionsOrCb === "function") {
|
|
247
252
|
this.send(command, optionsOrCb);
|
|
248
253
|
}
|
|
249
254
|
else if (typeof cb === "function") {
|
|
250
255
|
if (typeof optionsOrCb !== "object")
|
|
251
|
-
throw new Error(
|
|
256
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
252
257
|
this.send(command, optionsOrCb || {}, cb);
|
|
253
258
|
}
|
|
254
259
|
else {
|
|
255
260
|
return this.send(command, optionsOrCb);
|
|
256
261
|
}
|
|
257
|
-
}
|
|
258
|
-
getProgrammaticAccessCredentials(args, optionsOrCb, cb) {
|
|
259
|
-
|
|
262
|
+
};
|
|
263
|
+
FinspaceData.prototype.getProgrammaticAccessCredentials = function (args, optionsOrCb, cb) {
|
|
264
|
+
var command = new GetProgrammaticAccessCredentialsCommand(args);
|
|
260
265
|
if (typeof optionsOrCb === "function") {
|
|
261
266
|
this.send(command, optionsOrCb);
|
|
262
267
|
}
|
|
263
268
|
else if (typeof cb === "function") {
|
|
264
269
|
if (typeof optionsOrCb !== "object")
|
|
265
|
-
throw new Error(
|
|
270
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
266
271
|
this.send(command, optionsOrCb || {}, cb);
|
|
267
272
|
}
|
|
268
273
|
else {
|
|
269
274
|
return this.send(command, optionsOrCb);
|
|
270
275
|
}
|
|
271
|
-
}
|
|
272
|
-
getUser(args, optionsOrCb, cb) {
|
|
273
|
-
|
|
276
|
+
};
|
|
277
|
+
FinspaceData.prototype.getUser = function (args, optionsOrCb, cb) {
|
|
278
|
+
var command = new GetUserCommand(args);
|
|
274
279
|
if (typeof optionsOrCb === "function") {
|
|
275
280
|
this.send(command, optionsOrCb);
|
|
276
281
|
}
|
|
277
282
|
else if (typeof cb === "function") {
|
|
278
283
|
if (typeof optionsOrCb !== "object")
|
|
279
|
-
throw new Error(
|
|
284
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
280
285
|
this.send(command, optionsOrCb || {}, cb);
|
|
281
286
|
}
|
|
282
287
|
else {
|
|
283
288
|
return this.send(command, optionsOrCb);
|
|
284
289
|
}
|
|
285
|
-
}
|
|
286
|
-
getWorkingLocation(args, optionsOrCb, cb) {
|
|
287
|
-
|
|
290
|
+
};
|
|
291
|
+
FinspaceData.prototype.getWorkingLocation = function (args, optionsOrCb, cb) {
|
|
292
|
+
var command = new GetWorkingLocationCommand(args);
|
|
288
293
|
if (typeof optionsOrCb === "function") {
|
|
289
294
|
this.send(command, optionsOrCb);
|
|
290
295
|
}
|
|
291
296
|
else if (typeof cb === "function") {
|
|
292
297
|
if (typeof optionsOrCb !== "object")
|
|
293
|
-
throw new Error(
|
|
298
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
294
299
|
this.send(command, optionsOrCb || {}, cb);
|
|
295
300
|
}
|
|
296
301
|
else {
|
|
297
302
|
return this.send(command, optionsOrCb);
|
|
298
303
|
}
|
|
299
|
-
}
|
|
300
|
-
listChangesets(args, optionsOrCb, cb) {
|
|
301
|
-
|
|
304
|
+
};
|
|
305
|
+
FinspaceData.prototype.listChangesets = function (args, optionsOrCb, cb) {
|
|
306
|
+
var command = new ListChangesetsCommand(args);
|
|
302
307
|
if (typeof optionsOrCb === "function") {
|
|
303
308
|
this.send(command, optionsOrCb);
|
|
304
309
|
}
|
|
305
310
|
else if (typeof cb === "function") {
|
|
306
311
|
if (typeof optionsOrCb !== "object")
|
|
307
|
-
throw new Error(
|
|
312
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
308
313
|
this.send(command, optionsOrCb || {}, cb);
|
|
309
314
|
}
|
|
310
315
|
else {
|
|
311
316
|
return this.send(command, optionsOrCb);
|
|
312
317
|
}
|
|
313
|
-
}
|
|
314
|
-
listDatasets(args, optionsOrCb, cb) {
|
|
315
|
-
|
|
318
|
+
};
|
|
319
|
+
FinspaceData.prototype.listDatasets = function (args, optionsOrCb, cb) {
|
|
320
|
+
var command = new ListDatasetsCommand(args);
|
|
316
321
|
if (typeof optionsOrCb === "function") {
|
|
317
322
|
this.send(command, optionsOrCb);
|
|
318
323
|
}
|
|
319
324
|
else if (typeof cb === "function") {
|
|
320
325
|
if (typeof optionsOrCb !== "object")
|
|
321
|
-
throw new Error(
|
|
326
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
322
327
|
this.send(command, optionsOrCb || {}, cb);
|
|
323
328
|
}
|
|
324
329
|
else {
|
|
325
330
|
return this.send(command, optionsOrCb);
|
|
326
331
|
}
|
|
327
|
-
}
|
|
328
|
-
listDataViews(args, optionsOrCb, cb) {
|
|
329
|
-
|
|
332
|
+
};
|
|
333
|
+
FinspaceData.prototype.listDataViews = function (args, optionsOrCb, cb) {
|
|
334
|
+
var command = new ListDataViewsCommand(args);
|
|
330
335
|
if (typeof optionsOrCb === "function") {
|
|
331
336
|
this.send(command, optionsOrCb);
|
|
332
337
|
}
|
|
333
338
|
else if (typeof cb === "function") {
|
|
334
339
|
if (typeof optionsOrCb !== "object")
|
|
335
|
-
throw new Error(
|
|
340
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
336
341
|
this.send(command, optionsOrCb || {}, cb);
|
|
337
342
|
}
|
|
338
343
|
else {
|
|
339
344
|
return this.send(command, optionsOrCb);
|
|
340
345
|
}
|
|
341
|
-
}
|
|
342
|
-
listPermissionGroups(args, optionsOrCb, cb) {
|
|
343
|
-
|
|
346
|
+
};
|
|
347
|
+
FinspaceData.prototype.listPermissionGroups = function (args, optionsOrCb, cb) {
|
|
348
|
+
var command = new ListPermissionGroupsCommand(args);
|
|
344
349
|
if (typeof optionsOrCb === "function") {
|
|
345
350
|
this.send(command, optionsOrCb);
|
|
346
351
|
}
|
|
347
352
|
else if (typeof cb === "function") {
|
|
348
353
|
if (typeof optionsOrCb !== "object")
|
|
349
|
-
throw new Error(
|
|
354
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
350
355
|
this.send(command, optionsOrCb || {}, cb);
|
|
351
356
|
}
|
|
352
357
|
else {
|
|
353
358
|
return this.send(command, optionsOrCb);
|
|
354
359
|
}
|
|
355
|
-
}
|
|
356
|
-
listPermissionGroupsByUser(args, optionsOrCb, cb) {
|
|
357
|
-
|
|
360
|
+
};
|
|
361
|
+
FinspaceData.prototype.listPermissionGroupsByUser = function (args, optionsOrCb, cb) {
|
|
362
|
+
var command = new ListPermissionGroupsByUserCommand(args);
|
|
358
363
|
if (typeof optionsOrCb === "function") {
|
|
359
364
|
this.send(command, optionsOrCb);
|
|
360
365
|
}
|
|
361
366
|
else if (typeof cb === "function") {
|
|
362
367
|
if (typeof optionsOrCb !== "object")
|
|
363
|
-
throw new Error(
|
|
368
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
364
369
|
this.send(command, optionsOrCb || {}, cb);
|
|
365
370
|
}
|
|
366
371
|
else {
|
|
367
372
|
return this.send(command, optionsOrCb);
|
|
368
373
|
}
|
|
369
|
-
}
|
|
370
|
-
listUsers(args, optionsOrCb, cb) {
|
|
371
|
-
|
|
374
|
+
};
|
|
375
|
+
FinspaceData.prototype.listUsers = function (args, optionsOrCb, cb) {
|
|
376
|
+
var command = new ListUsersCommand(args);
|
|
372
377
|
if (typeof optionsOrCb === "function") {
|
|
373
378
|
this.send(command, optionsOrCb);
|
|
374
379
|
}
|
|
375
380
|
else if (typeof cb === "function") {
|
|
376
381
|
if (typeof optionsOrCb !== "object")
|
|
377
|
-
throw new Error(
|
|
382
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
378
383
|
this.send(command, optionsOrCb || {}, cb);
|
|
379
384
|
}
|
|
380
385
|
else {
|
|
381
386
|
return this.send(command, optionsOrCb);
|
|
382
387
|
}
|
|
383
|
-
}
|
|
384
|
-
listUsersByPermissionGroup(args, optionsOrCb, cb) {
|
|
385
|
-
|
|
388
|
+
};
|
|
389
|
+
FinspaceData.prototype.listUsersByPermissionGroup = function (args, optionsOrCb, cb) {
|
|
390
|
+
var command = new ListUsersByPermissionGroupCommand(args);
|
|
386
391
|
if (typeof optionsOrCb === "function") {
|
|
387
392
|
this.send(command, optionsOrCb);
|
|
388
393
|
}
|
|
389
394
|
else if (typeof cb === "function") {
|
|
390
395
|
if (typeof optionsOrCb !== "object")
|
|
391
|
-
throw new Error(
|
|
396
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
392
397
|
this.send(command, optionsOrCb || {}, cb);
|
|
393
398
|
}
|
|
394
399
|
else {
|
|
395
400
|
return this.send(command, optionsOrCb);
|
|
396
401
|
}
|
|
397
|
-
}
|
|
398
|
-
resetUserPassword(args, optionsOrCb, cb) {
|
|
399
|
-
|
|
402
|
+
};
|
|
403
|
+
FinspaceData.prototype.resetUserPassword = function (args, optionsOrCb, cb) {
|
|
404
|
+
var command = new ResetUserPasswordCommand(args);
|
|
400
405
|
if (typeof optionsOrCb === "function") {
|
|
401
406
|
this.send(command, optionsOrCb);
|
|
402
407
|
}
|
|
403
408
|
else if (typeof cb === "function") {
|
|
404
409
|
if (typeof optionsOrCb !== "object")
|
|
405
|
-
throw new Error(
|
|
410
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
406
411
|
this.send(command, optionsOrCb || {}, cb);
|
|
407
412
|
}
|
|
408
413
|
else {
|
|
409
414
|
return this.send(command, optionsOrCb);
|
|
410
415
|
}
|
|
411
|
-
}
|
|
412
|
-
updateChangeset(args, optionsOrCb, cb) {
|
|
413
|
-
|
|
416
|
+
};
|
|
417
|
+
FinspaceData.prototype.updateChangeset = function (args, optionsOrCb, cb) {
|
|
418
|
+
var command = new UpdateChangesetCommand(args);
|
|
414
419
|
if (typeof optionsOrCb === "function") {
|
|
415
420
|
this.send(command, optionsOrCb);
|
|
416
421
|
}
|
|
417
422
|
else if (typeof cb === "function") {
|
|
418
423
|
if (typeof optionsOrCb !== "object")
|
|
419
|
-
throw new Error(
|
|
424
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
420
425
|
this.send(command, optionsOrCb || {}, cb);
|
|
421
426
|
}
|
|
422
427
|
else {
|
|
423
428
|
return this.send(command, optionsOrCb);
|
|
424
429
|
}
|
|
425
|
-
}
|
|
426
|
-
updateDataset(args, optionsOrCb, cb) {
|
|
427
|
-
|
|
430
|
+
};
|
|
431
|
+
FinspaceData.prototype.updateDataset = function (args, optionsOrCb, cb) {
|
|
432
|
+
var command = new UpdateDatasetCommand(args);
|
|
428
433
|
if (typeof optionsOrCb === "function") {
|
|
429
434
|
this.send(command, optionsOrCb);
|
|
430
435
|
}
|
|
431
436
|
else if (typeof cb === "function") {
|
|
432
437
|
if (typeof optionsOrCb !== "object")
|
|
433
|
-
throw new Error(
|
|
438
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
434
439
|
this.send(command, optionsOrCb || {}, cb);
|
|
435
440
|
}
|
|
436
441
|
else {
|
|
437
442
|
return this.send(command, optionsOrCb);
|
|
438
443
|
}
|
|
439
|
-
}
|
|
440
|
-
updatePermissionGroup(args, optionsOrCb, cb) {
|
|
441
|
-
|
|
444
|
+
};
|
|
445
|
+
FinspaceData.prototype.updatePermissionGroup = function (args, optionsOrCb, cb) {
|
|
446
|
+
var command = new UpdatePermissionGroupCommand(args);
|
|
442
447
|
if (typeof optionsOrCb === "function") {
|
|
443
448
|
this.send(command, optionsOrCb);
|
|
444
449
|
}
|
|
445
450
|
else if (typeof cb === "function") {
|
|
446
451
|
if (typeof optionsOrCb !== "object")
|
|
447
|
-
throw new Error(
|
|
452
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
448
453
|
this.send(command, optionsOrCb || {}, cb);
|
|
449
454
|
}
|
|
450
455
|
else {
|
|
451
456
|
return this.send(command, optionsOrCb);
|
|
452
457
|
}
|
|
453
|
-
}
|
|
454
|
-
updateUser(args, optionsOrCb, cb) {
|
|
455
|
-
|
|
458
|
+
};
|
|
459
|
+
FinspaceData.prototype.updateUser = function (args, optionsOrCb, cb) {
|
|
460
|
+
var command = new UpdateUserCommand(args);
|
|
456
461
|
if (typeof optionsOrCb === "function") {
|
|
457
462
|
this.send(command, optionsOrCb);
|
|
458
463
|
}
|
|
459
464
|
else if (typeof cb === "function") {
|
|
460
465
|
if (typeof optionsOrCb !== "object")
|
|
461
|
-
throw new Error(
|
|
466
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
462
467
|
this.send(command, optionsOrCb || {}, cb);
|
|
463
468
|
}
|
|
464
469
|
else {
|
|
465
470
|
return this.send(command, optionsOrCb);
|
|
466
471
|
}
|
|
467
|
-
}
|
|
468
|
-
|
|
472
|
+
};
|
|
473
|
+
return FinspaceData;
|
|
474
|
+
}(FinspaceDataClient));
|
|
475
|
+
export { FinspaceData };
|