@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,14 +1,20 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { StreamingBlobTypes } from "@smithy/types";
3
- import { LakeFormationServiceException as __BaseException } from "./LakeFormationServiceException";
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- Message?: string | undefined;
8
- constructor(
9
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
- );
11
- }
2
+ import {
3
+ ApplicationStatus,
4
+ ComparisonOperator,
5
+ DataLakeResourceType,
6
+ EnableStatus,
7
+ FieldNameString,
8
+ OptimizerType,
9
+ Permission,
10
+ PermissionType,
11
+ QueryStateString,
12
+ ResourceShareType,
13
+ ResourceType,
14
+ TransactionStatus,
15
+ TransactionStatusFilter,
16
+ TransactionType,
17
+ } from "./enums";
12
18
  export interface LFTagPair {
13
19
  CatalogId?: string | undefined;
14
20
  TagKey: string | undefined;
@@ -44,11 +50,6 @@ export interface LFTag {
44
50
  TagKey: string | undefined;
45
51
  TagValues: string[] | undefined;
46
52
  }
47
- export declare const ResourceType: {
48
- readonly DATABASE: "DATABASE";
49
- readonly TABLE: "TABLE";
50
- };
51
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
52
53
  export interface LFTagPolicyResource {
53
54
  CatalogId?: string | undefined;
54
55
  ResourceType: ResourceType | undefined;
@@ -99,49 +100,6 @@ export interface LFTagError {
99
100
  export interface AddLFTagsToResourceResponse {
100
101
  Failures?: LFTagError[] | undefined;
101
102
  }
102
- export declare class ConcurrentModificationException extends __BaseException {
103
- readonly name: "ConcurrentModificationException";
104
- readonly $fault: "client";
105
- Message?: string | undefined;
106
- constructor(
107
- opts: __ExceptionOptionType<
108
- ConcurrentModificationException,
109
- __BaseException
110
- >
111
- );
112
- }
113
- export declare class EntityNotFoundException extends __BaseException {
114
- readonly name: "EntityNotFoundException";
115
- readonly $fault: "client";
116
- Message?: string | undefined;
117
- constructor(
118
- opts: __ExceptionOptionType<EntityNotFoundException, __BaseException>
119
- );
120
- }
121
- export declare class InternalServiceException extends __BaseException {
122
- readonly name: "InternalServiceException";
123
- readonly $fault: "server";
124
- Message?: string | undefined;
125
- constructor(
126
- opts: __ExceptionOptionType<InternalServiceException, __BaseException>
127
- );
128
- }
129
- export declare class InvalidInputException extends __BaseException {
130
- readonly name: "InvalidInputException";
131
- readonly $fault: "client";
132
- Message?: string | undefined;
133
- constructor(
134
- opts: __ExceptionOptionType<InvalidInputException, __BaseException>
135
- );
136
- }
137
- export declare class OperationTimeoutException extends __BaseException {
138
- readonly name: "OperationTimeoutException";
139
- readonly $fault: "client";
140
- Message?: string | undefined;
141
- constructor(
142
- opts: __ExceptionOptionType<OperationTimeoutException, __BaseException>
143
- );
144
- }
145
103
  export interface AddObjectInput {
146
104
  Uri: string | undefined;
147
105
  ETag: string | undefined;
@@ -149,20 +107,6 @@ export interface AddObjectInput {
149
107
  PartitionValues?: string[] | undefined;
150
108
  }
151
109
  export interface AllRowsWildcard {}
152
- export declare class AlreadyExistsException extends __BaseException {
153
- readonly name: "AlreadyExistsException";
154
- readonly $fault: "client";
155
- Message?: string | undefined;
156
- constructor(
157
- opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
158
- );
159
- }
160
- export declare const ApplicationStatus: {
161
- readonly DISABLED: "DISABLED";
162
- readonly ENABLED: "ENABLED";
163
- };
164
- export type ApplicationStatus =
165
- (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
166
110
  export interface AssumeDecoratedRoleWithSAMLRequest {
167
111
  SAMLAssertion: string | undefined;
168
112
  RoleArn: string | undefined;
@@ -181,25 +125,6 @@ export interface AuditContext {
181
125
  export interface Condition {
182
126
  Expression?: string | undefined;
183
127
  }
184
- export declare const Permission: {
185
- readonly ALL: "ALL";
186
- readonly ALTER: "ALTER";
187
- readonly ASSOCIATE: "ASSOCIATE";
188
- readonly CREATE_CATALOG: "CREATE_CATALOG";
189
- readonly CREATE_DATABASE: "CREATE_DATABASE";
190
- readonly CREATE_LF_TAG: "CREATE_LF_TAG";
191
- readonly CREATE_LF_TAG_EXPRESSION: "CREATE_LF_TAG_EXPRESSION";
192
- readonly CREATE_TABLE: "CREATE_TABLE";
193
- readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
194
- readonly DELETE: "DELETE";
195
- readonly DESCRIBE: "DESCRIBE";
196
- readonly DROP: "DROP";
197
- readonly GRANT_WITH_LF_TAG_EXPRESSION: "GRANT_WITH_LF_TAG_EXPRESSION";
198
- readonly INSERT: "INSERT";
199
- readonly SELECT: "SELECT";
200
- readonly SUPER_USER: "SUPER_USER";
201
- };
202
- export type Permission = (typeof Permission)[keyof typeof Permission];
203
128
  export interface DataLakePrincipal {
204
129
  DataLakePrincipalIdentifier?: string | undefined;
205
130
  }
@@ -233,47 +158,12 @@ export interface CancelTransactionRequest {
233
158
  TransactionId: string | undefined;
234
159
  }
235
160
  export interface CancelTransactionResponse {}
236
- export declare class TransactionCommitInProgressException extends __BaseException {
237
- readonly name: "TransactionCommitInProgressException";
238
- readonly $fault: "client";
239
- Message?: string | undefined;
240
- constructor(
241
- opts: __ExceptionOptionType<
242
- TransactionCommitInProgressException,
243
- __BaseException
244
- >
245
- );
246
- }
247
- export declare class TransactionCommittedException extends __BaseException {
248
- readonly name: "TransactionCommittedException";
249
- readonly $fault: "client";
250
- Message?: string | undefined;
251
- constructor(
252
- opts: __ExceptionOptionType<TransactionCommittedException, __BaseException>
253
- );
254
- }
255
161
  export interface CommitTransactionRequest {
256
162
  TransactionId: string | undefined;
257
163
  }
258
- export declare const TransactionStatus: {
259
- readonly ABORTED: "ABORTED";
260
- readonly ACTIVE: "ACTIVE";
261
- readonly COMMITTED: "COMMITTED";
262
- readonly COMMIT_IN_PROGRESS: "COMMIT_IN_PROGRESS";
263
- };
264
- export type TransactionStatus =
265
- (typeof TransactionStatus)[keyof typeof TransactionStatus];
266
164
  export interface CommitTransactionResponse {
267
165
  TransactionStatus?: TransactionStatus | undefined;
268
166
  }
269
- export declare class TransactionCanceledException extends __BaseException {
270
- readonly name: "TransactionCanceledException";
271
- readonly $fault: "client";
272
- Message?: string | undefined;
273
- constructor(
274
- opts: __ExceptionOptionType<TransactionCanceledException, __BaseException>
275
- );
276
- }
277
167
  export interface RowFilter {
278
168
  FilterExpression?: string | undefined;
279
169
  AllRowsWildcard?: AllRowsWildcard | undefined;
@@ -292,22 +182,6 @@ export interface CreateDataCellsFilterRequest {
292
182
  TableData: DataCellsFilter | undefined;
293
183
  }
294
184
  export interface CreateDataCellsFilterResponse {}
295
- export declare class ResourceNumberLimitExceededException extends __BaseException {
296
- readonly name: "ResourceNumberLimitExceededException";
297
- readonly $fault: "client";
298
- Message?: string | undefined;
299
- constructor(
300
- opts: __ExceptionOptionType<
301
- ResourceNumberLimitExceededException,
302
- __BaseException
303
- >
304
- );
305
- }
306
- export declare const EnableStatus: {
307
- readonly DISABLED: "DISABLED";
308
- readonly ENABLED: "ENABLED";
309
- };
310
- export type EnableStatus = (typeof EnableStatus)[keyof typeof EnableStatus];
311
185
  export interface ExternalFilteringConfiguration {
312
186
  Status: EnableStatus | undefined;
313
187
  AuthorizedTargets: string[] | undefined;
@@ -379,14 +253,6 @@ export interface DeleteObjectsOnCancelRequest {
379
253
  Objects: VirtualObject[] | undefined;
380
254
  }
381
255
  export interface DeleteObjectsOnCancelResponse {}
382
- export declare class ResourceNotReadyException extends __BaseException {
383
- readonly name: "ResourceNotReadyException";
384
- readonly $fault: "client";
385
- Message?: string | undefined;
386
- constructor(
387
- opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>
388
- );
389
- }
390
256
  export interface DeregisterResourceRequest {
391
257
  ResourceArn: string | undefined;
392
258
  }
@@ -512,25 +378,10 @@ export interface GetLFTagExpressionResponse {
512
378
  export interface GetQueryStateRequest {
513
379
  QueryId: string | undefined;
514
380
  }
515
- export declare const QueryStateString: {
516
- readonly ERROR: "ERROR";
517
- readonly EXPIRED: "EXPIRED";
518
- readonly FINISHED: "FINISHED";
519
- readonly PENDING: "PENDING";
520
- readonly WORKUNITS_AVAILABLE: "WORKUNITS_AVAILABLE";
521
- };
522
- export type QueryStateString =
523
- (typeof QueryStateString)[keyof typeof QueryStateString];
524
381
  export interface GetQueryStateResponse {
525
382
  Error?: string | undefined;
526
383
  State: QueryStateString | undefined;
527
384
  }
528
- export declare class ExpiredException extends __BaseException {
529
- readonly name: "ExpiredException";
530
- readonly $fault: "client";
531
- Message?: string | undefined;
532
- constructor(opts: __ExceptionOptionType<ExpiredException, __BaseException>);
533
- }
534
385
  export interface GetQueryStatisticsRequest {
535
386
  QueryId: string | undefined;
536
387
  }
@@ -550,23 +401,6 @@ export interface GetQueryStatisticsResponse {
550
401
  PlanningStatistics?: PlanningStatistics | undefined;
551
402
  QuerySubmissionTime?: Date | undefined;
552
403
  }
553
- export declare class StatisticsNotReadyYetException extends __BaseException {
554
- readonly name: "StatisticsNotReadyYetException";
555
- readonly $fault: "client";
556
- Message?: string | undefined;
557
- constructor(
558
- opts: __ExceptionOptionType<StatisticsNotReadyYetException, __BaseException>
559
- );
560
- }
561
- export declare class ThrottledException extends __BaseException {
562
- readonly name: "ThrottledException";
563
- readonly $fault: "client";
564
- $retryable: {
565
- throttling: boolean;
566
- };
567
- Message?: string | undefined;
568
- constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
569
- }
570
404
  export interface GetResourceLFTagsRequest {
571
405
  CatalogId?: string | undefined;
572
406
  Resource: Resource | undefined;
@@ -581,14 +415,6 @@ export interface GetResourceLFTagsResponse {
581
415
  LFTagsOnTable?: LFTagPair[] | undefined;
582
416
  LFTagsOnColumns?: ColumnLFTag[] | undefined;
583
417
  }
584
- export declare class GlueEncryptionException extends __BaseException {
585
- readonly name: "GlueEncryptionException";
586
- readonly $fault: "client";
587
- Message?: string | undefined;
588
- constructor(
589
- opts: __ExceptionOptionType<GlueEncryptionException, __BaseException>
590
- );
591
- }
592
418
  export interface GetTableObjectsRequest {
593
419
  CatalogId?: string | undefined;
594
420
  DatabaseName: string | undefined;
@@ -615,14 +441,6 @@ export interface GetTableObjectsResponse {
615
441
  export interface PartitionValueList {
616
442
  Values: string[] | undefined;
617
443
  }
618
- export declare const PermissionType: {
619
- readonly CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION";
620
- readonly COLUMN_PERMISSION: "COLUMN_PERMISSION";
621
- readonly NESTED_CELL_PERMISSION: "NESTED_CELL_PERMISSION";
622
- readonly NESTED_PERMISSION: "NESTED_PERMISSION";
623
- };
624
- export type PermissionType =
625
- (typeof PermissionType)[keyof typeof PermissionType];
626
444
  export interface GetTemporaryGluePartitionCredentialsRequest {
627
445
  TableArn: string | undefined;
628
446
  Partition: PartitionValueList | undefined;
@@ -637,17 +455,6 @@ export interface GetTemporaryGluePartitionCredentialsResponse {
637
455
  SessionToken?: string | undefined;
638
456
  Expiration?: Date | undefined;
639
457
  }
640
- export declare class PermissionTypeMismatchException extends __BaseException {
641
- readonly name: "PermissionTypeMismatchException";
642
- readonly $fault: "client";
643
- Message?: string | undefined;
644
- constructor(
645
- opts: __ExceptionOptionType<
646
- PermissionTypeMismatchException,
647
- __BaseException
648
- >
649
- );
650
- }
651
458
  export interface QuerySessionContext {
652
459
  QueryId?: string | undefined;
653
460
  QueryStartTime?: Date | undefined;
@@ -694,14 +501,6 @@ export interface GetWorkUnitsResponse {
694
501
  QueryId: string | undefined;
695
502
  WorkUnitRanges: WorkUnitRange[] | undefined;
696
503
  }
697
- export declare class WorkUnitsNotReadyYetException extends __BaseException {
698
- readonly name: "WorkUnitsNotReadyYetException";
699
- readonly $fault: "client";
700
- Message?: string | undefined;
701
- constructor(
702
- opts: __ExceptionOptionType<WorkUnitsNotReadyYetException, __BaseException>
703
- );
704
- }
705
504
  export interface GrantPermissionsRequest {
706
505
  CatalogId?: string | undefined;
707
506
  Principal: DataLakePrincipal | undefined;
@@ -752,12 +551,6 @@ export interface ListLFTagExpressionsResponse {
752
551
  LFTagExpressions?: LFTagExpression[] | undefined;
753
552
  NextToken?: string | undefined;
754
553
  }
755
- export declare const ResourceShareType: {
756
- readonly ALL: "ALL";
757
- readonly FOREIGN: "FOREIGN";
758
- };
759
- export type ResourceShareType =
760
- (typeof ResourceShareType)[keyof typeof ResourceShareType];
761
554
  export interface ListLFTagsRequest {
762
555
  CatalogId?: string | undefined;
763
556
  ResourceShareType?: ResourceShareType | undefined;
@@ -768,19 +561,6 @@ export interface ListLFTagsResponse {
768
561
  LFTags?: LFTagPair[] | undefined;
769
562
  NextToken?: string | undefined;
770
563
  }
771
- export declare const DataLakeResourceType: {
772
- readonly CATALOG: "CATALOG";
773
- readonly DATABASE: "DATABASE";
774
- readonly DATA_LOCATION: "DATA_LOCATION";
775
- readonly LF_NAMED_TAG_EXPRESSION: "LF_NAMED_TAG_EXPRESSION";
776
- readonly LF_TAG: "LF_TAG";
777
- readonly LF_TAG_POLICY: "LF_TAG_POLICY";
778
- readonly LF_TAG_POLICY_DATABASE: "LF_TAG_POLICY_DATABASE";
779
- readonly LF_TAG_POLICY_TABLE: "LF_TAG_POLICY_TABLE";
780
- readonly TABLE: "TABLE";
781
- };
782
- export type DataLakeResourceType =
783
- (typeof DataLakeResourceType)[keyof typeof DataLakeResourceType];
784
564
  export interface ListPermissionsRequest {
785
565
  CatalogId?: string | undefined;
786
566
  Principal?: DataLakePrincipal | undefined;
@@ -794,28 +574,6 @@ export interface ListPermissionsResponse {
794
574
  PrincipalResourcePermissions?: PrincipalResourcePermissions[] | undefined;
795
575
  NextToken?: string | undefined;
796
576
  }
797
- export declare const ComparisonOperator: {
798
- readonly BEGINS_WITH: "BEGINS_WITH";
799
- readonly BETWEEN: "BETWEEN";
800
- readonly CONTAINS: "CONTAINS";
801
- readonly EQ: "EQ";
802
- readonly GE: "GE";
803
- readonly GT: "GT";
804
- readonly IN: "IN";
805
- readonly LE: "LE";
806
- readonly LT: "LT";
807
- readonly NE: "NE";
808
- readonly NOT_CONTAINS: "NOT_CONTAINS";
809
- };
810
- export type ComparisonOperator =
811
- (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
812
- export declare const FieldNameString: {
813
- readonly LAST_MODIFIED: "LAST_MODIFIED";
814
- readonly RESOURCE_ARN: "RESOURCE_ARN";
815
- readonly ROLE_ARN: "ROLE_ARN";
816
- };
817
- export type FieldNameString =
818
- (typeof FieldNameString)[keyof typeof FieldNameString];
819
577
  export interface FilterCondition {
820
578
  Field?: FieldNameString | undefined;
821
579
  ComparisonOperator?: ComparisonOperator | undefined;
@@ -830,12 +588,6 @@ export interface ListResourcesResponse {
830
588
  ResourceInfoList?: ResourceInfo[] | undefined;
831
589
  NextToken?: string | undefined;
832
590
  }
833
- export declare const OptimizerType: {
834
- readonly COMPACTION: "COMPACTION";
835
- readonly GARBAGE_COLLECTION: "GARBAGE_COLLECTION";
836
- readonly GENERIC: "ALL";
837
- };
838
- export type OptimizerType = (typeof OptimizerType)[keyof typeof OptimizerType];
839
591
  export interface ListTableStorageOptimizersRequest {
840
592
  CatalogId?: string | undefined;
841
593
  DatabaseName: string | undefined;
@@ -855,15 +607,6 @@ export interface ListTableStorageOptimizersResponse {
855
607
  StorageOptimizerList?: StorageOptimizer[] | undefined;
856
608
  NextToken?: string | undefined;
857
609
  }
858
- export declare const TransactionStatusFilter: {
859
- readonly ABORTED: "ABORTED";
860
- readonly ACTIVE: "ACTIVE";
861
- readonly ALL: "ALL";
862
- readonly COMMITTED: "COMMITTED";
863
- readonly COMPLETED: "COMPLETED";
864
- };
865
- export type TransactionStatusFilter =
866
- (typeof TransactionStatusFilter)[keyof typeof TransactionStatusFilter];
867
610
  export interface ListTransactionsRequest {
868
611
  CatalogId?: string | undefined;
869
612
  StatusFilter?: TransactionStatusFilter | undefined;
@@ -949,12 +692,6 @@ export interface StartQueryPlanningRequest {
949
692
  export interface StartQueryPlanningResponse {
950
693
  QueryId: string | undefined;
951
694
  }
952
- export declare const TransactionType: {
953
- readonly READ_AND_WRITE: "READ_AND_WRITE";
954
- readonly READ_ONLY: "READ_ONLY";
955
- };
956
- export type TransactionType =
957
- (typeof TransactionType)[keyof typeof TransactionType];
958
695
  export interface StartTransactionRequest {
959
696
  TransactionType?: TransactionType | undefined;
960
697
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lakeformation",
3
3
  "description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lakeformation",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";