@aws-sdk/client-lakeformation 3.312.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/LakeFormation.js +51 -658
- package/dist-cjs/protocols/Aws_restJson1.js +599 -1549
- package/dist-es/LakeFormation.js +51 -658
- package/dist-es/protocols/Aws_restJson1.js +535 -1485
- package/dist-types/LakeFormation.d.ts +55 -131
- package/dist-types/ts3.4/LakeFormation.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LakeFormation = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AddLFTagsToResourceCommand_1 = require("./commands/AddLFTagsToResourceCommand");
|
|
5
6
|
const AssumeDecoratedRoleWithSAMLCommand_1 = require("./commands/AssumeDecoratedRoleWithSAMLCommand");
|
|
6
7
|
const BatchGrantPermissionsCommand_1 = require("./commands/BatchGrantPermissionsCommand");
|
|
@@ -49,664 +50,56 @@ const UpdateResourceCommand_1 = require("./commands/UpdateResourceCommand");
|
|
|
49
50
|
const UpdateTableObjectsCommand_1 = require("./commands/UpdateTableObjectsCommand");
|
|
50
51
|
const UpdateTableStorageOptimizerCommand_1 = require("./commands/UpdateTableStorageOptimizerCommand");
|
|
51
52
|
const LakeFormationClient_1 = require("./LakeFormationClient");
|
|
53
|
+
const commands = {
|
|
54
|
+
AddLFTagsToResourceCommand: AddLFTagsToResourceCommand_1.AddLFTagsToResourceCommand,
|
|
55
|
+
AssumeDecoratedRoleWithSAMLCommand: AssumeDecoratedRoleWithSAMLCommand_1.AssumeDecoratedRoleWithSAMLCommand,
|
|
56
|
+
BatchGrantPermissionsCommand: BatchGrantPermissionsCommand_1.BatchGrantPermissionsCommand,
|
|
57
|
+
BatchRevokePermissionsCommand: BatchRevokePermissionsCommand_1.BatchRevokePermissionsCommand,
|
|
58
|
+
CancelTransactionCommand: CancelTransactionCommand_1.CancelTransactionCommand,
|
|
59
|
+
CommitTransactionCommand: CommitTransactionCommand_1.CommitTransactionCommand,
|
|
60
|
+
CreateDataCellsFilterCommand: CreateDataCellsFilterCommand_1.CreateDataCellsFilterCommand,
|
|
61
|
+
CreateLFTagCommand: CreateLFTagCommand_1.CreateLFTagCommand,
|
|
62
|
+
DeleteDataCellsFilterCommand: DeleteDataCellsFilterCommand_1.DeleteDataCellsFilterCommand,
|
|
63
|
+
DeleteLFTagCommand: DeleteLFTagCommand_1.DeleteLFTagCommand,
|
|
64
|
+
DeleteObjectsOnCancelCommand: DeleteObjectsOnCancelCommand_1.DeleteObjectsOnCancelCommand,
|
|
65
|
+
DeregisterResourceCommand: DeregisterResourceCommand_1.DeregisterResourceCommand,
|
|
66
|
+
DescribeResourceCommand: DescribeResourceCommand_1.DescribeResourceCommand,
|
|
67
|
+
DescribeTransactionCommand: DescribeTransactionCommand_1.DescribeTransactionCommand,
|
|
68
|
+
ExtendTransactionCommand: ExtendTransactionCommand_1.ExtendTransactionCommand,
|
|
69
|
+
GetDataCellsFilterCommand: GetDataCellsFilterCommand_1.GetDataCellsFilterCommand,
|
|
70
|
+
GetDataLakeSettingsCommand: GetDataLakeSettingsCommand_1.GetDataLakeSettingsCommand,
|
|
71
|
+
GetEffectivePermissionsForPathCommand: GetEffectivePermissionsForPathCommand_1.GetEffectivePermissionsForPathCommand,
|
|
72
|
+
GetLFTagCommand: GetLFTagCommand_1.GetLFTagCommand,
|
|
73
|
+
GetQueryStateCommand: GetQueryStateCommand_1.GetQueryStateCommand,
|
|
74
|
+
GetQueryStatisticsCommand: GetQueryStatisticsCommand_1.GetQueryStatisticsCommand,
|
|
75
|
+
GetResourceLFTagsCommand: GetResourceLFTagsCommand_1.GetResourceLFTagsCommand,
|
|
76
|
+
GetTableObjectsCommand: GetTableObjectsCommand_1.GetTableObjectsCommand,
|
|
77
|
+
GetTemporaryGluePartitionCredentialsCommand: GetTemporaryGluePartitionCredentialsCommand_1.GetTemporaryGluePartitionCredentialsCommand,
|
|
78
|
+
GetTemporaryGlueTableCredentialsCommand: GetTemporaryGlueTableCredentialsCommand_1.GetTemporaryGlueTableCredentialsCommand,
|
|
79
|
+
GetWorkUnitResultsCommand: GetWorkUnitResultsCommand_1.GetWorkUnitResultsCommand,
|
|
80
|
+
GetWorkUnitsCommand: GetWorkUnitsCommand_1.GetWorkUnitsCommand,
|
|
81
|
+
GrantPermissionsCommand: GrantPermissionsCommand_1.GrantPermissionsCommand,
|
|
82
|
+
ListDataCellsFilterCommand: ListDataCellsFilterCommand_1.ListDataCellsFilterCommand,
|
|
83
|
+
ListLFTagsCommand: ListLFTagsCommand_1.ListLFTagsCommand,
|
|
84
|
+
ListPermissionsCommand: ListPermissionsCommand_1.ListPermissionsCommand,
|
|
85
|
+
ListResourcesCommand: ListResourcesCommand_1.ListResourcesCommand,
|
|
86
|
+
ListTableStorageOptimizersCommand: ListTableStorageOptimizersCommand_1.ListTableStorageOptimizersCommand,
|
|
87
|
+
ListTransactionsCommand: ListTransactionsCommand_1.ListTransactionsCommand,
|
|
88
|
+
PutDataLakeSettingsCommand: PutDataLakeSettingsCommand_1.PutDataLakeSettingsCommand,
|
|
89
|
+
RegisterResourceCommand: RegisterResourceCommand_1.RegisterResourceCommand,
|
|
90
|
+
RemoveLFTagsFromResourceCommand: RemoveLFTagsFromResourceCommand_1.RemoveLFTagsFromResourceCommand,
|
|
91
|
+
RevokePermissionsCommand: RevokePermissionsCommand_1.RevokePermissionsCommand,
|
|
92
|
+
SearchDatabasesByLFTagsCommand: SearchDatabasesByLFTagsCommand_1.SearchDatabasesByLFTagsCommand,
|
|
93
|
+
SearchTablesByLFTagsCommand: SearchTablesByLFTagsCommand_1.SearchTablesByLFTagsCommand,
|
|
94
|
+
StartQueryPlanningCommand: StartQueryPlanningCommand_1.StartQueryPlanningCommand,
|
|
95
|
+
StartTransactionCommand: StartTransactionCommand_1.StartTransactionCommand,
|
|
96
|
+
UpdateDataCellsFilterCommand: UpdateDataCellsFilterCommand_1.UpdateDataCellsFilterCommand,
|
|
97
|
+
UpdateLFTagCommand: UpdateLFTagCommand_1.UpdateLFTagCommand,
|
|
98
|
+
UpdateResourceCommand: UpdateResourceCommand_1.UpdateResourceCommand,
|
|
99
|
+
UpdateTableObjectsCommand: UpdateTableObjectsCommand_1.UpdateTableObjectsCommand,
|
|
100
|
+
UpdateTableStorageOptimizerCommand: UpdateTableStorageOptimizerCommand_1.UpdateTableStorageOptimizerCommand,
|
|
101
|
+
};
|
|
52
102
|
class LakeFormation extends LakeFormationClient_1.LakeFormationClient {
|
|
53
|
-
addLFTagsToResource(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new AddLFTagsToResourceCommand_1.AddLFTagsToResourceCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
assumeDecoratedRoleWithSAML(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new AssumeDecoratedRoleWithSAMLCommand_1.AssumeDecoratedRoleWithSAMLCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
batchGrantPermissions(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new BatchGrantPermissionsCommand_1.BatchGrantPermissionsCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
batchRevokePermissions(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new BatchRevokePermissionsCommand_1.BatchRevokePermissionsCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
cancelTransaction(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new CancelTransactionCommand_1.CancelTransactionCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
commitTransaction(args, optionsOrCb, cb) {
|
|
124
|
-
const command = new CommitTransactionCommand_1.CommitTransactionCommand(args);
|
|
125
|
-
if (typeof optionsOrCb === "function") {
|
|
126
|
-
this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
else if (typeof cb === "function") {
|
|
129
|
-
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
131
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
return this.send(command, optionsOrCb);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
createDataCellsFilter(args, optionsOrCb, cb) {
|
|
138
|
-
const command = new CreateDataCellsFilterCommand_1.CreateDataCellsFilterCommand(args);
|
|
139
|
-
if (typeof optionsOrCb === "function") {
|
|
140
|
-
this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
else if (typeof cb === "function") {
|
|
143
|
-
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
145
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
return this.send(command, optionsOrCb);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
createLFTag(args, optionsOrCb, cb) {
|
|
152
|
-
const command = new CreateLFTagCommand_1.CreateLFTagCommand(args);
|
|
153
|
-
if (typeof optionsOrCb === "function") {
|
|
154
|
-
this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
else if (typeof cb === "function") {
|
|
157
|
-
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
159
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
return this.send(command, optionsOrCb);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
deleteDataCellsFilter(args, optionsOrCb, cb) {
|
|
166
|
-
const command = new DeleteDataCellsFilterCommand_1.DeleteDataCellsFilterCommand(args);
|
|
167
|
-
if (typeof optionsOrCb === "function") {
|
|
168
|
-
this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
else if (typeof cb === "function") {
|
|
171
|
-
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
173
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
return this.send(command, optionsOrCb);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
deleteLFTag(args, optionsOrCb, cb) {
|
|
180
|
-
const command = new DeleteLFTagCommand_1.DeleteLFTagCommand(args);
|
|
181
|
-
if (typeof optionsOrCb === "function") {
|
|
182
|
-
this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
else if (typeof cb === "function") {
|
|
185
|
-
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
return this.send(command, optionsOrCb);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
deleteObjectsOnCancel(args, optionsOrCb, cb) {
|
|
194
|
-
const command = new DeleteObjectsOnCancelCommand_1.DeleteObjectsOnCancelCommand(args);
|
|
195
|
-
if (typeof optionsOrCb === "function") {
|
|
196
|
-
this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
else if (typeof cb === "function") {
|
|
199
|
-
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
return this.send(command, optionsOrCb);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
deregisterResource(args, optionsOrCb, cb) {
|
|
208
|
-
const command = new DeregisterResourceCommand_1.DeregisterResourceCommand(args);
|
|
209
|
-
if (typeof optionsOrCb === "function") {
|
|
210
|
-
this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
else if (typeof cb === "function") {
|
|
213
|
-
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
return this.send(command, optionsOrCb);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
describeResource(args, optionsOrCb, cb) {
|
|
222
|
-
const command = new DescribeResourceCommand_1.DescribeResourceCommand(args);
|
|
223
|
-
if (typeof optionsOrCb === "function") {
|
|
224
|
-
this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
else if (typeof cb === "function") {
|
|
227
|
-
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
229
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
return this.send(command, optionsOrCb);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
describeTransaction(args, optionsOrCb, cb) {
|
|
236
|
-
const command = new DescribeTransactionCommand_1.DescribeTransactionCommand(args);
|
|
237
|
-
if (typeof optionsOrCb === "function") {
|
|
238
|
-
this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
else if (typeof cb === "function") {
|
|
241
|
-
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
243
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
return this.send(command, optionsOrCb);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
extendTransaction(args, optionsOrCb, cb) {
|
|
250
|
-
const command = new ExtendTransactionCommand_1.ExtendTransactionCommand(args);
|
|
251
|
-
if (typeof optionsOrCb === "function") {
|
|
252
|
-
this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
else if (typeof cb === "function") {
|
|
255
|
-
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
return this.send(command, optionsOrCb);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
getDataCellsFilter(args, optionsOrCb, cb) {
|
|
264
|
-
const command = new GetDataCellsFilterCommand_1.GetDataCellsFilterCommand(args);
|
|
265
|
-
if (typeof optionsOrCb === "function") {
|
|
266
|
-
this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
else if (typeof cb === "function") {
|
|
269
|
-
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
271
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
return this.send(command, optionsOrCb);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
getDataLakeSettings(args, optionsOrCb, cb) {
|
|
278
|
-
const command = new GetDataLakeSettingsCommand_1.GetDataLakeSettingsCommand(args);
|
|
279
|
-
if (typeof optionsOrCb === "function") {
|
|
280
|
-
this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
getEffectivePermissionsForPath(args, optionsOrCb, cb) {
|
|
292
|
-
const command = new GetEffectivePermissionsForPathCommand_1.GetEffectivePermissionsForPathCommand(args);
|
|
293
|
-
if (typeof optionsOrCb === "function") {
|
|
294
|
-
this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
else if (typeof cb === "function") {
|
|
297
|
-
if (typeof optionsOrCb !== "object")
|
|
298
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
299
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
300
|
-
}
|
|
301
|
-
else {
|
|
302
|
-
return this.send(command, optionsOrCb);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
getLFTag(args, optionsOrCb, cb) {
|
|
306
|
-
const command = new GetLFTagCommand_1.GetLFTagCommand(args);
|
|
307
|
-
if (typeof optionsOrCb === "function") {
|
|
308
|
-
this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
else if (typeof cb === "function") {
|
|
311
|
-
if (typeof optionsOrCb !== "object")
|
|
312
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
313
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
314
|
-
}
|
|
315
|
-
else {
|
|
316
|
-
return this.send(command, optionsOrCb);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
getQueryState(args, optionsOrCb, cb) {
|
|
320
|
-
const command = new GetQueryStateCommand_1.GetQueryStateCommand(args);
|
|
321
|
-
if (typeof optionsOrCb === "function") {
|
|
322
|
-
this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
else if (typeof cb === "function") {
|
|
325
|
-
if (typeof optionsOrCb !== "object")
|
|
326
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
327
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
328
|
-
}
|
|
329
|
-
else {
|
|
330
|
-
return this.send(command, optionsOrCb);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
getQueryStatistics(args, optionsOrCb, cb) {
|
|
334
|
-
const command = new GetQueryStatisticsCommand_1.GetQueryStatisticsCommand(args);
|
|
335
|
-
if (typeof optionsOrCb === "function") {
|
|
336
|
-
this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
else if (typeof cb === "function") {
|
|
339
|
-
if (typeof optionsOrCb !== "object")
|
|
340
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
341
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
342
|
-
}
|
|
343
|
-
else {
|
|
344
|
-
return this.send(command, optionsOrCb);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
getResourceLFTags(args, optionsOrCb, cb) {
|
|
348
|
-
const command = new GetResourceLFTagsCommand_1.GetResourceLFTagsCommand(args);
|
|
349
|
-
if (typeof optionsOrCb === "function") {
|
|
350
|
-
this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
else if (typeof cb === "function") {
|
|
353
|
-
if (typeof optionsOrCb !== "object")
|
|
354
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
355
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
356
|
-
}
|
|
357
|
-
else {
|
|
358
|
-
return this.send(command, optionsOrCb);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
getTableObjects(args, optionsOrCb, cb) {
|
|
362
|
-
const command = new GetTableObjectsCommand_1.GetTableObjectsCommand(args);
|
|
363
|
-
if (typeof optionsOrCb === "function") {
|
|
364
|
-
this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
else if (typeof cb === "function") {
|
|
367
|
-
if (typeof optionsOrCb !== "object")
|
|
368
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
369
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
370
|
-
}
|
|
371
|
-
else {
|
|
372
|
-
return this.send(command, optionsOrCb);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
getTemporaryGluePartitionCredentials(args, optionsOrCb, cb) {
|
|
376
|
-
const command = new GetTemporaryGluePartitionCredentialsCommand_1.GetTemporaryGluePartitionCredentialsCommand(args);
|
|
377
|
-
if (typeof optionsOrCb === "function") {
|
|
378
|
-
this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
else if (typeof cb === "function") {
|
|
381
|
-
if (typeof optionsOrCb !== "object")
|
|
382
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
383
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
384
|
-
}
|
|
385
|
-
else {
|
|
386
|
-
return this.send(command, optionsOrCb);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
getTemporaryGlueTableCredentials(args, optionsOrCb, cb) {
|
|
390
|
-
const command = new GetTemporaryGlueTableCredentialsCommand_1.GetTemporaryGlueTableCredentialsCommand(args);
|
|
391
|
-
if (typeof optionsOrCb === "function") {
|
|
392
|
-
this.send(command, optionsOrCb);
|
|
393
|
-
}
|
|
394
|
-
else if (typeof cb === "function") {
|
|
395
|
-
if (typeof optionsOrCb !== "object")
|
|
396
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
397
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
return this.send(command, optionsOrCb);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
getWorkUnitResults(args, optionsOrCb, cb) {
|
|
404
|
-
const command = new GetWorkUnitResultsCommand_1.GetWorkUnitResultsCommand(args);
|
|
405
|
-
if (typeof optionsOrCb === "function") {
|
|
406
|
-
this.send(command, optionsOrCb);
|
|
407
|
-
}
|
|
408
|
-
else if (typeof cb === "function") {
|
|
409
|
-
if (typeof optionsOrCb !== "object")
|
|
410
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
411
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
412
|
-
}
|
|
413
|
-
else {
|
|
414
|
-
return this.send(command, optionsOrCb);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
getWorkUnits(args, optionsOrCb, cb) {
|
|
418
|
-
const command = new GetWorkUnitsCommand_1.GetWorkUnitsCommand(args);
|
|
419
|
-
if (typeof optionsOrCb === "function") {
|
|
420
|
-
this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
else if (typeof cb === "function") {
|
|
423
|
-
if (typeof optionsOrCb !== "object")
|
|
424
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
425
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
426
|
-
}
|
|
427
|
-
else {
|
|
428
|
-
return this.send(command, optionsOrCb);
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
grantPermissions(args, optionsOrCb, cb) {
|
|
432
|
-
const command = new GrantPermissionsCommand_1.GrantPermissionsCommand(args);
|
|
433
|
-
if (typeof optionsOrCb === "function") {
|
|
434
|
-
this.send(command, optionsOrCb);
|
|
435
|
-
}
|
|
436
|
-
else if (typeof cb === "function") {
|
|
437
|
-
if (typeof optionsOrCb !== "object")
|
|
438
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
439
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
440
|
-
}
|
|
441
|
-
else {
|
|
442
|
-
return this.send(command, optionsOrCb);
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
listDataCellsFilter(args, optionsOrCb, cb) {
|
|
446
|
-
const command = new ListDataCellsFilterCommand_1.ListDataCellsFilterCommand(args);
|
|
447
|
-
if (typeof optionsOrCb === "function") {
|
|
448
|
-
this.send(command, optionsOrCb);
|
|
449
|
-
}
|
|
450
|
-
else if (typeof cb === "function") {
|
|
451
|
-
if (typeof optionsOrCb !== "object")
|
|
452
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
453
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
454
|
-
}
|
|
455
|
-
else {
|
|
456
|
-
return this.send(command, optionsOrCb);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
listLFTags(args, optionsOrCb, cb) {
|
|
460
|
-
const command = new ListLFTagsCommand_1.ListLFTagsCommand(args);
|
|
461
|
-
if (typeof optionsOrCb === "function") {
|
|
462
|
-
this.send(command, optionsOrCb);
|
|
463
|
-
}
|
|
464
|
-
else if (typeof cb === "function") {
|
|
465
|
-
if (typeof optionsOrCb !== "object")
|
|
466
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
467
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
468
|
-
}
|
|
469
|
-
else {
|
|
470
|
-
return this.send(command, optionsOrCb);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
listPermissions(args, optionsOrCb, cb) {
|
|
474
|
-
const command = new ListPermissionsCommand_1.ListPermissionsCommand(args);
|
|
475
|
-
if (typeof optionsOrCb === "function") {
|
|
476
|
-
this.send(command, optionsOrCb);
|
|
477
|
-
}
|
|
478
|
-
else if (typeof cb === "function") {
|
|
479
|
-
if (typeof optionsOrCb !== "object")
|
|
480
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
481
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
482
|
-
}
|
|
483
|
-
else {
|
|
484
|
-
return this.send(command, optionsOrCb);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
listResources(args, optionsOrCb, cb) {
|
|
488
|
-
const command = new ListResourcesCommand_1.ListResourcesCommand(args);
|
|
489
|
-
if (typeof optionsOrCb === "function") {
|
|
490
|
-
this.send(command, optionsOrCb);
|
|
491
|
-
}
|
|
492
|
-
else if (typeof cb === "function") {
|
|
493
|
-
if (typeof optionsOrCb !== "object")
|
|
494
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
495
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
496
|
-
}
|
|
497
|
-
else {
|
|
498
|
-
return this.send(command, optionsOrCb);
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
listTableStorageOptimizers(args, optionsOrCb, cb) {
|
|
502
|
-
const command = new ListTableStorageOptimizersCommand_1.ListTableStorageOptimizersCommand(args);
|
|
503
|
-
if (typeof optionsOrCb === "function") {
|
|
504
|
-
this.send(command, optionsOrCb);
|
|
505
|
-
}
|
|
506
|
-
else if (typeof cb === "function") {
|
|
507
|
-
if (typeof optionsOrCb !== "object")
|
|
508
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
509
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
510
|
-
}
|
|
511
|
-
else {
|
|
512
|
-
return this.send(command, optionsOrCb);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
listTransactions(args, optionsOrCb, cb) {
|
|
516
|
-
const command = new ListTransactionsCommand_1.ListTransactionsCommand(args);
|
|
517
|
-
if (typeof optionsOrCb === "function") {
|
|
518
|
-
this.send(command, optionsOrCb);
|
|
519
|
-
}
|
|
520
|
-
else if (typeof cb === "function") {
|
|
521
|
-
if (typeof optionsOrCb !== "object")
|
|
522
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
523
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
524
|
-
}
|
|
525
|
-
else {
|
|
526
|
-
return this.send(command, optionsOrCb);
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
putDataLakeSettings(args, optionsOrCb, cb) {
|
|
530
|
-
const command = new PutDataLakeSettingsCommand_1.PutDataLakeSettingsCommand(args);
|
|
531
|
-
if (typeof optionsOrCb === "function") {
|
|
532
|
-
this.send(command, optionsOrCb);
|
|
533
|
-
}
|
|
534
|
-
else if (typeof cb === "function") {
|
|
535
|
-
if (typeof optionsOrCb !== "object")
|
|
536
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
537
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
538
|
-
}
|
|
539
|
-
else {
|
|
540
|
-
return this.send(command, optionsOrCb);
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
registerResource(args, optionsOrCb, cb) {
|
|
544
|
-
const command = new RegisterResourceCommand_1.RegisterResourceCommand(args);
|
|
545
|
-
if (typeof optionsOrCb === "function") {
|
|
546
|
-
this.send(command, optionsOrCb);
|
|
547
|
-
}
|
|
548
|
-
else if (typeof cb === "function") {
|
|
549
|
-
if (typeof optionsOrCb !== "object")
|
|
550
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
551
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
552
|
-
}
|
|
553
|
-
else {
|
|
554
|
-
return this.send(command, optionsOrCb);
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
removeLFTagsFromResource(args, optionsOrCb, cb) {
|
|
558
|
-
const command = new RemoveLFTagsFromResourceCommand_1.RemoveLFTagsFromResourceCommand(args);
|
|
559
|
-
if (typeof optionsOrCb === "function") {
|
|
560
|
-
this.send(command, optionsOrCb);
|
|
561
|
-
}
|
|
562
|
-
else if (typeof cb === "function") {
|
|
563
|
-
if (typeof optionsOrCb !== "object")
|
|
564
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
565
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
566
|
-
}
|
|
567
|
-
else {
|
|
568
|
-
return this.send(command, optionsOrCb);
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
revokePermissions(args, optionsOrCb, cb) {
|
|
572
|
-
const command = new RevokePermissionsCommand_1.RevokePermissionsCommand(args);
|
|
573
|
-
if (typeof optionsOrCb === "function") {
|
|
574
|
-
this.send(command, optionsOrCb);
|
|
575
|
-
}
|
|
576
|
-
else if (typeof cb === "function") {
|
|
577
|
-
if (typeof optionsOrCb !== "object")
|
|
578
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
579
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
580
|
-
}
|
|
581
|
-
else {
|
|
582
|
-
return this.send(command, optionsOrCb);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
searchDatabasesByLFTags(args, optionsOrCb, cb) {
|
|
586
|
-
const command = new SearchDatabasesByLFTagsCommand_1.SearchDatabasesByLFTagsCommand(args);
|
|
587
|
-
if (typeof optionsOrCb === "function") {
|
|
588
|
-
this.send(command, optionsOrCb);
|
|
589
|
-
}
|
|
590
|
-
else if (typeof cb === "function") {
|
|
591
|
-
if (typeof optionsOrCb !== "object")
|
|
592
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
593
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
594
|
-
}
|
|
595
|
-
else {
|
|
596
|
-
return this.send(command, optionsOrCb);
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
searchTablesByLFTags(args, optionsOrCb, cb) {
|
|
600
|
-
const command = new SearchTablesByLFTagsCommand_1.SearchTablesByLFTagsCommand(args);
|
|
601
|
-
if (typeof optionsOrCb === "function") {
|
|
602
|
-
this.send(command, optionsOrCb);
|
|
603
|
-
}
|
|
604
|
-
else if (typeof cb === "function") {
|
|
605
|
-
if (typeof optionsOrCb !== "object")
|
|
606
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
607
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
608
|
-
}
|
|
609
|
-
else {
|
|
610
|
-
return this.send(command, optionsOrCb);
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
startQueryPlanning(args, optionsOrCb, cb) {
|
|
614
|
-
const command = new StartQueryPlanningCommand_1.StartQueryPlanningCommand(args);
|
|
615
|
-
if (typeof optionsOrCb === "function") {
|
|
616
|
-
this.send(command, optionsOrCb);
|
|
617
|
-
}
|
|
618
|
-
else if (typeof cb === "function") {
|
|
619
|
-
if (typeof optionsOrCb !== "object")
|
|
620
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
621
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
622
|
-
}
|
|
623
|
-
else {
|
|
624
|
-
return this.send(command, optionsOrCb);
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
startTransaction(args, optionsOrCb, cb) {
|
|
628
|
-
const command = new StartTransactionCommand_1.StartTransactionCommand(args);
|
|
629
|
-
if (typeof optionsOrCb === "function") {
|
|
630
|
-
this.send(command, optionsOrCb);
|
|
631
|
-
}
|
|
632
|
-
else if (typeof cb === "function") {
|
|
633
|
-
if (typeof optionsOrCb !== "object")
|
|
634
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
635
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
636
|
-
}
|
|
637
|
-
else {
|
|
638
|
-
return this.send(command, optionsOrCb);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
updateDataCellsFilter(args, optionsOrCb, cb) {
|
|
642
|
-
const command = new UpdateDataCellsFilterCommand_1.UpdateDataCellsFilterCommand(args);
|
|
643
|
-
if (typeof optionsOrCb === "function") {
|
|
644
|
-
this.send(command, optionsOrCb);
|
|
645
|
-
}
|
|
646
|
-
else if (typeof cb === "function") {
|
|
647
|
-
if (typeof optionsOrCb !== "object")
|
|
648
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
649
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
650
|
-
}
|
|
651
|
-
else {
|
|
652
|
-
return this.send(command, optionsOrCb);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
updateLFTag(args, optionsOrCb, cb) {
|
|
656
|
-
const command = new UpdateLFTagCommand_1.UpdateLFTagCommand(args);
|
|
657
|
-
if (typeof optionsOrCb === "function") {
|
|
658
|
-
this.send(command, optionsOrCb);
|
|
659
|
-
}
|
|
660
|
-
else if (typeof cb === "function") {
|
|
661
|
-
if (typeof optionsOrCb !== "object")
|
|
662
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
663
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
664
|
-
}
|
|
665
|
-
else {
|
|
666
|
-
return this.send(command, optionsOrCb);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
updateResource(args, optionsOrCb, cb) {
|
|
670
|
-
const command = new UpdateResourceCommand_1.UpdateResourceCommand(args);
|
|
671
|
-
if (typeof optionsOrCb === "function") {
|
|
672
|
-
this.send(command, optionsOrCb);
|
|
673
|
-
}
|
|
674
|
-
else if (typeof cb === "function") {
|
|
675
|
-
if (typeof optionsOrCb !== "object")
|
|
676
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
677
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
678
|
-
}
|
|
679
|
-
else {
|
|
680
|
-
return this.send(command, optionsOrCb);
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
updateTableObjects(args, optionsOrCb, cb) {
|
|
684
|
-
const command = new UpdateTableObjectsCommand_1.UpdateTableObjectsCommand(args);
|
|
685
|
-
if (typeof optionsOrCb === "function") {
|
|
686
|
-
this.send(command, optionsOrCb);
|
|
687
|
-
}
|
|
688
|
-
else if (typeof cb === "function") {
|
|
689
|
-
if (typeof optionsOrCb !== "object")
|
|
690
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
691
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
692
|
-
}
|
|
693
|
-
else {
|
|
694
|
-
return this.send(command, optionsOrCb);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
updateTableStorageOptimizer(args, optionsOrCb, cb) {
|
|
698
|
-
const command = new UpdateTableStorageOptimizerCommand_1.UpdateTableStorageOptimizerCommand(args);
|
|
699
|
-
if (typeof optionsOrCb === "function") {
|
|
700
|
-
this.send(command, optionsOrCb);
|
|
701
|
-
}
|
|
702
|
-
else if (typeof cb === "function") {
|
|
703
|
-
if (typeof optionsOrCb !== "object")
|
|
704
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
705
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
706
|
-
}
|
|
707
|
-
else {
|
|
708
|
-
return this.send(command, optionsOrCb);
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
103
|
}
|
|
712
104
|
exports.LakeFormation = LakeFormation;
|
|
105
|
+
(0, smithy_client_1.createAggregatedClient)(commands, LakeFormation);
|