@aws-sdk/client-lakeformation 3.933.0 → 3.935.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.
@@ -1,354 +1 @@
1
- import { LakeFormationServiceException as __BaseException } from "./LakeFormationServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export const ResourceType = {
17
- DATABASE: "DATABASE",
18
- TABLE: "TABLE",
19
- };
20
- export class ConcurrentModificationException extends __BaseException {
21
- name = "ConcurrentModificationException";
22
- $fault = "client";
23
- Message;
24
- constructor(opts) {
25
- super({
26
- name: "ConcurrentModificationException",
27
- $fault: "client",
28
- ...opts,
29
- });
30
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
31
- this.Message = opts.Message;
32
- }
33
- }
34
- export class EntityNotFoundException extends __BaseException {
35
- name = "EntityNotFoundException";
36
- $fault = "client";
37
- Message;
38
- constructor(opts) {
39
- super({
40
- name: "EntityNotFoundException",
41
- $fault: "client",
42
- ...opts,
43
- });
44
- Object.setPrototypeOf(this, EntityNotFoundException.prototype);
45
- this.Message = opts.Message;
46
- }
47
- }
48
- export class InternalServiceException extends __BaseException {
49
- name = "InternalServiceException";
50
- $fault = "server";
51
- Message;
52
- constructor(opts) {
53
- super({
54
- name: "InternalServiceException",
55
- $fault: "server",
56
- ...opts,
57
- });
58
- Object.setPrototypeOf(this, InternalServiceException.prototype);
59
- this.Message = opts.Message;
60
- }
61
- }
62
- export class InvalidInputException extends __BaseException {
63
- name = "InvalidInputException";
64
- $fault = "client";
65
- Message;
66
- constructor(opts) {
67
- super({
68
- name: "InvalidInputException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- Object.setPrototypeOf(this, InvalidInputException.prototype);
73
- this.Message = opts.Message;
74
- }
75
- }
76
- export class OperationTimeoutException extends __BaseException {
77
- name = "OperationTimeoutException";
78
- $fault = "client";
79
- Message;
80
- constructor(opts) {
81
- super({
82
- name: "OperationTimeoutException",
83
- $fault: "client",
84
- ...opts,
85
- });
86
- Object.setPrototypeOf(this, OperationTimeoutException.prototype);
87
- this.Message = opts.Message;
88
- }
89
- }
90
- export class AlreadyExistsException extends __BaseException {
91
- name = "AlreadyExistsException";
92
- $fault = "client";
93
- Message;
94
- constructor(opts) {
95
- super({
96
- name: "AlreadyExistsException",
97
- $fault: "client",
98
- ...opts,
99
- });
100
- Object.setPrototypeOf(this, AlreadyExistsException.prototype);
101
- this.Message = opts.Message;
102
- }
103
- }
104
- export const ApplicationStatus = {
105
- DISABLED: "DISABLED",
106
- ENABLED: "ENABLED",
107
- };
108
- export const Permission = {
109
- ALL: "ALL",
110
- ALTER: "ALTER",
111
- ASSOCIATE: "ASSOCIATE",
112
- CREATE_CATALOG: "CREATE_CATALOG",
113
- CREATE_DATABASE: "CREATE_DATABASE",
114
- CREATE_LF_TAG: "CREATE_LF_TAG",
115
- CREATE_LF_TAG_EXPRESSION: "CREATE_LF_TAG_EXPRESSION",
116
- CREATE_TABLE: "CREATE_TABLE",
117
- DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS",
118
- DELETE: "DELETE",
119
- DESCRIBE: "DESCRIBE",
120
- DROP: "DROP",
121
- GRANT_WITH_LF_TAG_EXPRESSION: "GRANT_WITH_LF_TAG_EXPRESSION",
122
- INSERT: "INSERT",
123
- SELECT: "SELECT",
124
- SUPER_USER: "SUPER_USER",
125
- };
126
- export class TransactionCommitInProgressException extends __BaseException {
127
- name = "TransactionCommitInProgressException";
128
- $fault = "client";
129
- Message;
130
- constructor(opts) {
131
- super({
132
- name: "TransactionCommitInProgressException",
133
- $fault: "client",
134
- ...opts,
135
- });
136
- Object.setPrototypeOf(this, TransactionCommitInProgressException.prototype);
137
- this.Message = opts.Message;
138
- }
139
- }
140
- export class TransactionCommittedException extends __BaseException {
141
- name = "TransactionCommittedException";
142
- $fault = "client";
143
- Message;
144
- constructor(opts) {
145
- super({
146
- name: "TransactionCommittedException",
147
- $fault: "client",
148
- ...opts,
149
- });
150
- Object.setPrototypeOf(this, TransactionCommittedException.prototype);
151
- this.Message = opts.Message;
152
- }
153
- }
154
- export const TransactionStatus = {
155
- ABORTED: "ABORTED",
156
- ACTIVE: "ACTIVE",
157
- COMMITTED: "COMMITTED",
158
- COMMIT_IN_PROGRESS: "COMMIT_IN_PROGRESS",
159
- };
160
- export class TransactionCanceledException extends __BaseException {
161
- name = "TransactionCanceledException";
162
- $fault = "client";
163
- Message;
164
- constructor(opts) {
165
- super({
166
- name: "TransactionCanceledException",
167
- $fault: "client",
168
- ...opts,
169
- });
170
- Object.setPrototypeOf(this, TransactionCanceledException.prototype);
171
- this.Message = opts.Message;
172
- }
173
- }
174
- export class ResourceNumberLimitExceededException extends __BaseException {
175
- name = "ResourceNumberLimitExceededException";
176
- $fault = "client";
177
- Message;
178
- constructor(opts) {
179
- super({
180
- name: "ResourceNumberLimitExceededException",
181
- $fault: "client",
182
- ...opts,
183
- });
184
- Object.setPrototypeOf(this, ResourceNumberLimitExceededException.prototype);
185
- this.Message = opts.Message;
186
- }
187
- }
188
- export const EnableStatus = {
189
- DISABLED: "DISABLED",
190
- ENABLED: "ENABLED",
191
- };
192
- export class ResourceNotReadyException extends __BaseException {
193
- name = "ResourceNotReadyException";
194
- $fault = "client";
195
- Message;
196
- constructor(opts) {
197
- super({
198
- name: "ResourceNotReadyException",
199
- $fault: "client",
200
- ...opts,
201
- });
202
- Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
203
- this.Message = opts.Message;
204
- }
205
- }
206
- export const QueryStateString = {
207
- ERROR: "ERROR",
208
- EXPIRED: "EXPIRED",
209
- FINISHED: "FINISHED",
210
- PENDING: "PENDING",
211
- WORKUNITS_AVAILABLE: "WORKUNITS_AVAILABLE",
212
- };
213
- export class ExpiredException extends __BaseException {
214
- name = "ExpiredException";
215
- $fault = "client";
216
- Message;
217
- constructor(opts) {
218
- super({
219
- name: "ExpiredException",
220
- $fault: "client",
221
- ...opts,
222
- });
223
- Object.setPrototypeOf(this, ExpiredException.prototype);
224
- this.Message = opts.Message;
225
- }
226
- }
227
- export class StatisticsNotReadyYetException extends __BaseException {
228
- name = "StatisticsNotReadyYetException";
229
- $fault = "client";
230
- Message;
231
- constructor(opts) {
232
- super({
233
- name: "StatisticsNotReadyYetException",
234
- $fault: "client",
235
- ...opts,
236
- });
237
- Object.setPrototypeOf(this, StatisticsNotReadyYetException.prototype);
238
- this.Message = opts.Message;
239
- }
240
- }
241
- export class ThrottledException extends __BaseException {
242
- name = "ThrottledException";
243
- $fault = "client";
244
- $retryable = {
245
- throttling: true,
246
- };
247
- Message;
248
- constructor(opts) {
249
- super({
250
- name: "ThrottledException",
251
- $fault: "client",
252
- ...opts,
253
- });
254
- Object.setPrototypeOf(this, ThrottledException.prototype);
255
- this.Message = opts.Message;
256
- }
257
- }
258
- export class GlueEncryptionException extends __BaseException {
259
- name = "GlueEncryptionException";
260
- $fault = "client";
261
- Message;
262
- constructor(opts) {
263
- super({
264
- name: "GlueEncryptionException",
265
- $fault: "client",
266
- ...opts,
267
- });
268
- Object.setPrototypeOf(this, GlueEncryptionException.prototype);
269
- this.Message = opts.Message;
270
- }
271
- }
272
- export const PermissionType = {
273
- CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION",
274
- COLUMN_PERMISSION: "COLUMN_PERMISSION",
275
- NESTED_CELL_PERMISSION: "NESTED_CELL_PERMISSION",
276
- NESTED_PERMISSION: "NESTED_PERMISSION",
277
- };
278
- export class PermissionTypeMismatchException extends __BaseException {
279
- name = "PermissionTypeMismatchException";
280
- $fault = "client";
281
- Message;
282
- constructor(opts) {
283
- super({
284
- name: "PermissionTypeMismatchException",
285
- $fault: "client",
286
- ...opts,
287
- });
288
- Object.setPrototypeOf(this, PermissionTypeMismatchException.prototype);
289
- this.Message = opts.Message;
290
- }
291
- }
292
- export class WorkUnitsNotReadyYetException extends __BaseException {
293
- name = "WorkUnitsNotReadyYetException";
294
- $fault = "client";
295
- Message;
296
- constructor(opts) {
297
- super({
298
- name: "WorkUnitsNotReadyYetException",
299
- $fault: "client",
300
- ...opts,
301
- });
302
- Object.setPrototypeOf(this, WorkUnitsNotReadyYetException.prototype);
303
- this.Message = opts.Message;
304
- }
305
- }
306
- export const ResourceShareType = {
307
- ALL: "ALL",
308
- FOREIGN: "FOREIGN",
309
- };
310
- export const DataLakeResourceType = {
311
- CATALOG: "CATALOG",
312
- DATABASE: "DATABASE",
313
- DATA_LOCATION: "DATA_LOCATION",
314
- LF_NAMED_TAG_EXPRESSION: "LF_NAMED_TAG_EXPRESSION",
315
- LF_TAG: "LF_TAG",
316
- LF_TAG_POLICY: "LF_TAG_POLICY",
317
- LF_TAG_POLICY_DATABASE: "LF_TAG_POLICY_DATABASE",
318
- LF_TAG_POLICY_TABLE: "LF_TAG_POLICY_TABLE",
319
- TABLE: "TABLE",
320
- };
321
- export const ComparisonOperator = {
322
- BEGINS_WITH: "BEGINS_WITH",
323
- BETWEEN: "BETWEEN",
324
- CONTAINS: "CONTAINS",
325
- EQ: "EQ",
326
- GE: "GE",
327
- GT: "GT",
328
- IN: "IN",
329
- LE: "LE",
330
- LT: "LT",
331
- NE: "NE",
332
- NOT_CONTAINS: "NOT_CONTAINS",
333
- };
334
- export const FieldNameString = {
335
- LAST_MODIFIED: "LAST_MODIFIED",
336
- RESOURCE_ARN: "RESOURCE_ARN",
337
- ROLE_ARN: "ROLE_ARN",
338
- };
339
- export const OptimizerType = {
340
- COMPACTION: "COMPACTION",
341
- GARBAGE_COLLECTION: "GARBAGE_COLLECTION",
342
- GENERIC: "ALL",
343
- };
344
- export const TransactionStatusFilter = {
345
- ABORTED: "ABORTED",
346
- ACTIVE: "ACTIVE",
347
- ALL: "ALL",
348
- COMMITTED: "COMMITTED",
349
- COMPLETED: "COMPLETED",
350
- };
351
- export const TransactionType = {
352
- READ_AND_WRITE: "READ_AND_WRITE",
353
- READ_ONLY: "READ_ONLY",
354
- };
1
+ export {};
@@ -422,7 +422,7 @@ const _se = "server";
422
422
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.lakeformation";
423
423
  const n0 = "com.amazonaws.lakeformation";
424
424
  import { TypeRegistry } from "@smithy/core/schema";
425
- import { AccessDeniedException as __AccessDeniedException, AlreadyExistsException as __AlreadyExistsException, ConcurrentModificationException as __ConcurrentModificationException, EntityNotFoundException as __EntityNotFoundException, ExpiredException as __ExpiredException, GlueEncryptionException as __GlueEncryptionException, InternalServiceException as __InternalServiceException, InvalidInputException as __InvalidInputException, OperationTimeoutException as __OperationTimeoutException, PermissionTypeMismatchException as __PermissionTypeMismatchException, ResourceNotReadyException as __ResourceNotReadyException, ResourceNumberLimitExceededException as __ResourceNumberLimitExceededException, StatisticsNotReadyYetException as __StatisticsNotReadyYetException, ThrottledException as __ThrottledException, TransactionCanceledException as __TransactionCanceledException, TransactionCommitInProgressException as __TransactionCommitInProgressException, TransactionCommittedException as __TransactionCommittedException, WorkUnitsNotReadyYetException as __WorkUnitsNotReadyYetException, } from "../models/index";
425
+ import { AccessDeniedException as __AccessDeniedException, AlreadyExistsException as __AlreadyExistsException, ConcurrentModificationException as __ConcurrentModificationException, EntityNotFoundException as __EntityNotFoundException, ExpiredException as __ExpiredException, GlueEncryptionException as __GlueEncryptionException, InternalServiceException as __InternalServiceException, InvalidInputException as __InvalidInputException, OperationTimeoutException as __OperationTimeoutException, PermissionTypeMismatchException as __PermissionTypeMismatchException, ResourceNotReadyException as __ResourceNotReadyException, ResourceNumberLimitExceededException as __ResourceNumberLimitExceededException, StatisticsNotReadyYetException as __StatisticsNotReadyYetException, ThrottledException as __ThrottledException, TransactionCanceledException as __TransactionCanceledException, TransactionCommitInProgressException as __TransactionCommitInProgressException, TransactionCommittedException as __TransactionCommittedException, WorkUnitsNotReadyYetException as __WorkUnitsNotReadyYetException, } from "../models/errors";
426
426
  import { LakeFormationServiceException as __LakeFormationServiceException } from "../models/LakeFormationServiceException";
427
427
  export var ResultStream = [
428
428
  0,
@@ -11,5 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
11
11
  export type { LakeFormationExtensionConfiguration } from "./extensionConfiguration";
12
12
  export * from "./commands";
13
13
  export * from "./pagination";
14
- export * from "./models";
14
+ export * from "./models/enums";
15
+ export * from "./models/errors";
16
+ export type * from "./models/models_0";
15
17
  export { LakeFormationServiceException } from "./models/LakeFormationServiceException";
@@ -0,0 +1,210 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ResourceType: {
6
+ readonly DATABASE: "DATABASE";
7
+ readonly TABLE: "TABLE";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ApplicationStatus: {
18
+ readonly DISABLED: "DISABLED";
19
+ readonly ENABLED: "ENABLED";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const Permission: {
30
+ readonly ALL: "ALL";
31
+ readonly ALTER: "ALTER";
32
+ readonly ASSOCIATE: "ASSOCIATE";
33
+ readonly CREATE_CATALOG: "CREATE_CATALOG";
34
+ readonly CREATE_DATABASE: "CREATE_DATABASE";
35
+ readonly CREATE_LF_TAG: "CREATE_LF_TAG";
36
+ readonly CREATE_LF_TAG_EXPRESSION: "CREATE_LF_TAG_EXPRESSION";
37
+ readonly CREATE_TABLE: "CREATE_TABLE";
38
+ readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
39
+ readonly DELETE: "DELETE";
40
+ readonly DESCRIBE: "DESCRIBE";
41
+ readonly DROP: "DROP";
42
+ readonly GRANT_WITH_LF_TAG_EXPRESSION: "GRANT_WITH_LF_TAG_EXPRESSION";
43
+ readonly INSERT: "INSERT";
44
+ readonly SELECT: "SELECT";
45
+ readonly SUPER_USER: "SUPER_USER";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type Permission = (typeof Permission)[keyof typeof Permission];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const TransactionStatus: {
56
+ readonly ABORTED: "ABORTED";
57
+ readonly ACTIVE: "ACTIVE";
58
+ readonly COMMITTED: "COMMITTED";
59
+ readonly COMMIT_IN_PROGRESS: "COMMIT_IN_PROGRESS";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type TransactionStatus = (typeof TransactionStatus)[keyof typeof TransactionStatus];
65
+ /**
66
+ * @public
67
+ * @enum
68
+ */
69
+ export declare const EnableStatus: {
70
+ readonly DISABLED: "DISABLED";
71
+ readonly ENABLED: "ENABLED";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type EnableStatus = (typeof EnableStatus)[keyof typeof EnableStatus];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const QueryStateString: {
82
+ readonly ERROR: "ERROR";
83
+ readonly EXPIRED: "EXPIRED";
84
+ readonly FINISHED: "FINISHED";
85
+ readonly PENDING: "PENDING";
86
+ readonly WORKUNITS_AVAILABLE: "WORKUNITS_AVAILABLE";
87
+ };
88
+ /**
89
+ * @public
90
+ */
91
+ export type QueryStateString = (typeof QueryStateString)[keyof typeof QueryStateString];
92
+ /**
93
+ * @public
94
+ * @enum
95
+ */
96
+ export declare const PermissionType: {
97
+ readonly CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION";
98
+ readonly COLUMN_PERMISSION: "COLUMN_PERMISSION";
99
+ readonly NESTED_CELL_PERMISSION: "NESTED_CELL_PERMISSION";
100
+ readonly NESTED_PERMISSION: "NESTED_PERMISSION";
101
+ };
102
+ /**
103
+ * @public
104
+ */
105
+ export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
106
+ /**
107
+ * @public
108
+ * @enum
109
+ */
110
+ export declare const ResourceShareType: {
111
+ readonly ALL: "ALL";
112
+ readonly FOREIGN: "FOREIGN";
113
+ };
114
+ /**
115
+ * @public
116
+ */
117
+ export type ResourceShareType = (typeof ResourceShareType)[keyof typeof ResourceShareType];
118
+ /**
119
+ * @public
120
+ * @enum
121
+ */
122
+ export declare const DataLakeResourceType: {
123
+ readonly CATALOG: "CATALOG";
124
+ readonly DATABASE: "DATABASE";
125
+ readonly DATA_LOCATION: "DATA_LOCATION";
126
+ readonly LF_NAMED_TAG_EXPRESSION: "LF_NAMED_TAG_EXPRESSION";
127
+ readonly LF_TAG: "LF_TAG";
128
+ readonly LF_TAG_POLICY: "LF_TAG_POLICY";
129
+ readonly LF_TAG_POLICY_DATABASE: "LF_TAG_POLICY_DATABASE";
130
+ readonly LF_TAG_POLICY_TABLE: "LF_TAG_POLICY_TABLE";
131
+ readonly TABLE: "TABLE";
132
+ };
133
+ /**
134
+ * @public
135
+ */
136
+ export type DataLakeResourceType = (typeof DataLakeResourceType)[keyof typeof DataLakeResourceType];
137
+ /**
138
+ * @public
139
+ * @enum
140
+ */
141
+ export declare const ComparisonOperator: {
142
+ readonly BEGINS_WITH: "BEGINS_WITH";
143
+ readonly BETWEEN: "BETWEEN";
144
+ readonly CONTAINS: "CONTAINS";
145
+ readonly EQ: "EQ";
146
+ readonly GE: "GE";
147
+ readonly GT: "GT";
148
+ readonly IN: "IN";
149
+ readonly LE: "LE";
150
+ readonly LT: "LT";
151
+ readonly NE: "NE";
152
+ readonly NOT_CONTAINS: "NOT_CONTAINS";
153
+ };
154
+ /**
155
+ * @public
156
+ */
157
+ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const FieldNameString: {
163
+ readonly LAST_MODIFIED: "LAST_MODIFIED";
164
+ readonly RESOURCE_ARN: "RESOURCE_ARN";
165
+ readonly ROLE_ARN: "ROLE_ARN";
166
+ };
167
+ /**
168
+ * @public
169
+ */
170
+ export type FieldNameString = (typeof FieldNameString)[keyof typeof FieldNameString];
171
+ /**
172
+ * @public
173
+ * @enum
174
+ */
175
+ export declare const OptimizerType: {
176
+ readonly COMPACTION: "COMPACTION";
177
+ readonly GARBAGE_COLLECTION: "GARBAGE_COLLECTION";
178
+ readonly GENERIC: "ALL";
179
+ };
180
+ /**
181
+ * @public
182
+ */
183
+ export type OptimizerType = (typeof OptimizerType)[keyof typeof OptimizerType];
184
+ /**
185
+ * @public
186
+ * @enum
187
+ */
188
+ export declare const TransactionStatusFilter: {
189
+ readonly ABORTED: "ABORTED";
190
+ readonly ACTIVE: "ACTIVE";
191
+ readonly ALL: "ALL";
192
+ readonly COMMITTED: "COMMITTED";
193
+ readonly COMPLETED: "COMPLETED";
194
+ };
195
+ /**
196
+ * @public
197
+ */
198
+ export type TransactionStatusFilter = (typeof TransactionStatusFilter)[keyof typeof TransactionStatusFilter];
199
+ /**
200
+ * @public
201
+ * @enum
202
+ */
203
+ export declare const TransactionType: {
204
+ readonly READ_AND_WRITE: "READ_AND_WRITE";
205
+ readonly READ_ONLY: "READ_ONLY";
206
+ };
207
+ /**
208
+ * @public
209
+ */
210
+ export type TransactionType = (typeof TransactionType)[keyof typeof TransactionType];