@aws-sdk/client-lakeformation 3.428.0 → 3.429.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.
@@ -168,7 +168,7 @@ export interface LFTagPolicyResource {
168
168
  * @public
169
169
  * <p>The resource type for which the LF-tag policy applies.</p>
170
170
  */
171
- ResourceType: ResourceType | string | undefined;
171
+ ResourceType: ResourceType | undefined;
172
172
  /**
173
173
  * @public
174
174
  * <p>A list of LF-tag conditions that apply to the resource's LF-tag policy.</p>
@@ -614,12 +614,12 @@ export interface BatchPermissionsRequestEntry {
614
614
  * @public
615
615
  * <p>The permissions to be granted.</p>
616
616
  */
617
- Permissions?: (Permission | string)[];
617
+ Permissions?: Permission[];
618
618
  /**
619
619
  * @public
620
620
  * <p>Indicates if the option to pass permissions is granted.</p>
621
621
  */
622
- PermissionsWithGrantOption?: (Permission | string)[];
622
+ PermissionsWithGrantOption?: Permission[];
623
623
  }
624
624
  /**
625
625
  * @public
@@ -768,7 +768,7 @@ export interface CommitTransactionResponse {
768
768
  * @public
769
769
  * <p>The status of the transaction.</p>
770
770
  */
771
- TransactionStatus?: TransactionStatus | string;
771
+ TransactionStatus?: TransactionStatus;
772
772
  }
773
773
  /**
774
774
  * @public
@@ -1161,7 +1161,7 @@ export interface TransactionDescription {
1161
1161
  * @public
1162
1162
  * <p>A status of ACTIVE, COMMITTED, or ABORTED.</p>
1163
1163
  */
1164
- TransactionStatus?: TransactionStatus | string;
1164
+ TransactionStatus?: TransactionStatus;
1165
1165
  /**
1166
1166
  * @public
1167
1167
  * <p>The time when the transaction started.</p>
@@ -1257,7 +1257,7 @@ export interface PrincipalPermissions {
1257
1257
  * @public
1258
1258
  * <p>The permissions that are granted to the principal.</p>
1259
1259
  */
1260
- Permissions?: (Permission | string)[];
1260
+ Permissions?: Permission[];
1261
1261
  }
1262
1262
  /**
1263
1263
  * @public
@@ -1391,12 +1391,12 @@ export interface PrincipalResourcePermissions {
1391
1391
  * @public
1392
1392
  * <p>The permissions to be granted or revoked on the resource.</p>
1393
1393
  */
1394
- Permissions?: (Permission | string)[];
1394
+ Permissions?: Permission[];
1395
1395
  /**
1396
1396
  * @public
1397
1397
  * <p>Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).</p>
1398
1398
  */
1399
- PermissionsWithGrantOption?: (Permission | string)[];
1399
+ PermissionsWithGrantOption?: Permission[];
1400
1400
  /**
1401
1401
  * @public
1402
1402
  * <p>This attribute can be used to return any additional details of <code>PrincipalResourcePermissions</code>. Currently returns only as a RAM resource share ARN.</p>
@@ -1516,7 +1516,7 @@ export interface GetQueryStateResponse {
1516
1516
  * </li>
1517
1517
  * </ul>
1518
1518
  */
1519
- State: QueryStateString | string | undefined;
1519
+ State: QueryStateString | undefined;
1520
1520
  }
1521
1521
  /**
1522
1522
  * @public
@@ -1873,7 +1873,7 @@ export interface GetTemporaryGluePartitionCredentialsRequest {
1873
1873
  * @public
1874
1874
  * <p>Filters the request based on the user having been granted a list of specified permissions on the requested resource(s).</p>
1875
1875
  */
1876
- Permissions?: (Permission | string)[];
1876
+ Permissions?: Permission[];
1877
1877
  /**
1878
1878
  * @public
1879
1879
  * <p>The time period, between 900 and 21,600 seconds, for the timeout of the temporary credentials.</p>
@@ -1888,7 +1888,7 @@ export interface GetTemporaryGluePartitionCredentialsRequest {
1888
1888
  * @public
1889
1889
  * <p>A list of supported permission types for the partition. Valid values are <code>COLUMN_PERMISSION</code> and <code>CELL_FILTER_PERMISSION</code>.</p>
1890
1890
  */
1891
- SupportedPermissionTypes?: (PermissionType | string)[];
1891
+ SupportedPermissionTypes?: PermissionType[];
1892
1892
  }
1893
1893
  /**
1894
1894
  * @public
@@ -1945,7 +1945,7 @@ export interface GetTemporaryGlueTableCredentialsRequest {
1945
1945
  * @public
1946
1946
  * <p>Filters the request based on the user having been granted a list of specified permissions on the requested resource(s).</p>
1947
1947
  */
1948
- Permissions?: (Permission | string)[];
1948
+ Permissions?: Permission[];
1949
1949
  /**
1950
1950
  * @public
1951
1951
  * <p>The time period, between 900 and 21,600 seconds, for the timeout of the temporary credentials.</p>
@@ -1960,7 +1960,7 @@ export interface GetTemporaryGlueTableCredentialsRequest {
1960
1960
  * @public
1961
1961
  * <p>A list of supported permission types for the table. Valid values are <code>COLUMN_PERMISSION</code> and <code>CELL_FILTER_PERMISSION</code>.</p>
1962
1962
  */
1963
- SupportedPermissionTypes?: (PermissionType | string)[];
1963
+ SupportedPermissionTypes?: PermissionType[];
1964
1964
  }
1965
1965
  /**
1966
1966
  * @public
@@ -2121,12 +2121,12 @@ export interface GrantPermissionsRequest {
2121
2121
  * @public
2122
2122
  * <p>The permissions granted to the principal on the resource. Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. Lake Formation requires that each principal be authorized to perform a specific task on Lake Formation resources. </p>
2123
2123
  */
2124
- Permissions: (Permission | string)[] | undefined;
2124
+ Permissions: Permission[] | undefined;
2125
2125
  /**
2126
2126
  * @public
2127
2127
  * <p>Indicates a list of the granted permissions that the principal may pass to other users. These permissions may only be a subset of the permissions granted in the <code>Privileges</code>.</p>
2128
2128
  */
2129
- PermissionsWithGrantOption?: (Permission | string)[];
2129
+ PermissionsWithGrantOption?: Permission[];
2130
2130
  }
2131
2131
  /**
2132
2132
  * @public
@@ -2261,7 +2261,7 @@ export interface ListLFTagsRequest {
2261
2261
  * @public
2262
2262
  * <p>If resource share type is <code>ALL</code>, returns both in-account LF-tags and shared LF-tags that the requester has permission to view. If resource share type is <code>FOREIGN</code>, returns all share LF-tags that the requester can view. If no resource share type is passed, lists LF-tags in the given catalog ID that the requester has permission to view.</p>
2263
2263
  */
2264
- ResourceShareType?: ResourceShareType | string;
2264
+ ResourceShareType?: ResourceShareType;
2265
2265
  /**
2266
2266
  * @public
2267
2267
  * <p>The maximum number of results to return.</p>
@@ -2324,7 +2324,7 @@ export interface ListPermissionsRequest {
2324
2324
  * @public
2325
2325
  * <p>Specifies a resource type to filter the permissions returned.</p>
2326
2326
  */
2327
- ResourceType?: DataLakeResourceType | string;
2327
+ ResourceType?: DataLakeResourceType;
2328
2328
  /**
2329
2329
  * @public
2330
2330
  * <p>A resource where you will get a list of the principal permissions.</p>
@@ -2405,12 +2405,12 @@ export interface FilterCondition {
2405
2405
  * @public
2406
2406
  * <p>The field to filter in the filter condition.</p>
2407
2407
  */
2408
- Field?: FieldNameString | string;
2408
+ Field?: FieldNameString;
2409
2409
  /**
2410
2410
  * @public
2411
2411
  * <p>The comparison operator used in the filter condition.</p>
2412
2412
  */
2413
- ComparisonOperator?: ComparisonOperator | string;
2413
+ ComparisonOperator?: ComparisonOperator;
2414
2414
  /**
2415
2415
  * @public
2416
2416
  * <p>A string with values used in evaluating the filter condition.</p>
@@ -2488,7 +2488,7 @@ export interface ListTableStorageOptimizersRequest {
2488
2488
  * @public
2489
2489
  * <p>The specific type of storage optimizers to list. The supported value is <code>compaction</code>.</p>
2490
2490
  */
2491
- StorageOptimizerType?: OptimizerType | string;
2491
+ StorageOptimizerType?: OptimizerType;
2492
2492
  /**
2493
2493
  * @public
2494
2494
  * <p>The number of storage optimizers to return on each call.</p>
@@ -2509,7 +2509,7 @@ export interface StorageOptimizer {
2509
2509
  * @public
2510
2510
  * <p>The specific type of storage optimizer. The supported value is <code>compaction</code>.</p>
2511
2511
  */
2512
- StorageOptimizerType?: OptimizerType | string;
2512
+ StorageOptimizerType?: OptimizerType;
2513
2513
  /**
2514
2514
  * @public
2515
2515
  * <p>A map of the storage optimizer configuration. Currently contains only one key-value pair: <code>is_enabled</code> indicates true or false for acceleration.</p>
@@ -2576,7 +2576,7 @@ export interface ListTransactionsRequest {
2576
2576
  * @public
2577
2577
  * <p> A filter indicating the status of transactions to return. Options are ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is <code>ALL</code>.</p>
2578
2578
  */
2579
- StatusFilter?: TransactionStatusFilter | string;
2579
+ StatusFilter?: TransactionStatusFilter;
2580
2580
  /**
2581
2581
  * @public
2582
2582
  * <p>The maximum number of transactions to return in a single call.</p>
@@ -2715,12 +2715,12 @@ export interface RevokePermissionsRequest {
2715
2715
  * <p>The permissions revoked to the principal on the resource. For information about permissions, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security
2716
2716
  * and Access Control to Metadata and Data</a>.</p>
2717
2717
  */
2718
- Permissions: (Permission | string)[] | undefined;
2718
+ Permissions: Permission[] | undefined;
2719
2719
  /**
2720
2720
  * @public
2721
2721
  * <p>Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.</p>
2722
2722
  */
2723
- PermissionsWithGrantOption?: (Permission | string)[];
2723
+ PermissionsWithGrantOption?: Permission[];
2724
2724
  }
2725
2725
  /**
2726
2726
  * @public
@@ -2926,7 +2926,7 @@ export interface StartTransactionRequest {
2926
2926
  * @public
2927
2927
  * <p>Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed. </p>
2928
2928
  */
2929
- TransactionType?: TransactionType | string;
2929
+ TransactionType?: TransactionType;
2930
2930
  }
2931
2931
  /**
2932
2932
  * @public
@@ -3110,7 +3110,7 @@ export interface UpdateTableStorageOptimizerRequest {
3110
3110
  * @public
3111
3111
  * <p>Name of the table for which to enable the storage optimizer.</p>
3112
3112
  */
3113
- StorageOptimizerConfig: Record<string, Record<string, string>> | undefined;
3113
+ StorageOptimizerConfig: Record<OptimizerType, Record<string, string>> | undefined;
3114
3114
  }
3115
3115
  /**
3116
3116
  * @public
@@ -45,7 +45,7 @@ export declare const ResourceType: {
45
45
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
46
46
  export interface LFTagPolicyResource {
47
47
  CatalogId?: string;
48
- ResourceType: ResourceType | string | undefined;
48
+ ResourceType: ResourceType | undefined;
49
49
  Expression: LFTag[] | undefined;
50
50
  }
51
51
  export interface TableWildcard {}
@@ -187,8 +187,8 @@ export interface BatchPermissionsRequestEntry {
187
187
  Id: string | undefined;
188
188
  Principal?: DataLakePrincipal;
189
189
  Resource?: Resource;
190
- Permissions?: (Permission | string)[];
191
- PermissionsWithGrantOption?: (Permission | string)[];
190
+ Permissions?: Permission[];
191
+ PermissionsWithGrantOption?: Permission[];
192
192
  }
193
193
  export interface BatchGrantPermissionsRequest {
194
194
  CatalogId?: string;
@@ -243,7 +243,7 @@ export declare const TransactionStatus: {
243
243
  export type TransactionStatus =
244
244
  (typeof TransactionStatus)[keyof typeof TransactionStatus];
245
245
  export interface CommitTransactionResponse {
246
- TransactionStatus?: TransactionStatus | string;
246
+ TransactionStatus?: TransactionStatus;
247
247
  }
248
248
  export declare class TransactionCanceledException extends __BaseException {
249
249
  readonly name: "TransactionCanceledException";
@@ -352,7 +352,7 @@ export interface DescribeTransactionRequest {
352
352
  }
353
353
  export interface TransactionDescription {
354
354
  TransactionId?: string;
355
- TransactionStatus?: TransactionStatus | string;
355
+ TransactionStatus?: TransactionStatus;
356
356
  TransactionStartTime?: Date;
357
357
  TransactionEndTime?: Date;
358
358
  }
@@ -377,7 +377,7 @@ export interface GetDataLakeSettingsRequest {
377
377
  }
378
378
  export interface PrincipalPermissions {
379
379
  Principal?: DataLakePrincipal;
380
- Permissions?: (Permission | string)[];
380
+ Permissions?: Permission[];
381
381
  }
382
382
  export interface DataLakeSettings {
383
383
  DataLakeAdmins?: DataLakePrincipal[];
@@ -406,8 +406,8 @@ export interface DetailsMap {
406
406
  export interface PrincipalResourcePermissions {
407
407
  Principal?: DataLakePrincipal;
408
408
  Resource?: Resource;
409
- Permissions?: (Permission | string)[];
410
- PermissionsWithGrantOption?: (Permission | string)[];
409
+ Permissions?: Permission[];
410
+ PermissionsWithGrantOption?: Permission[];
411
411
  AdditionalDetails?: DetailsMap;
412
412
  LastUpdated?: Date;
413
413
  LastUpdatedBy?: string;
@@ -439,7 +439,7 @@ export type QueryStateString =
439
439
  (typeof QueryStateString)[keyof typeof QueryStateString];
440
440
  export interface GetQueryStateResponse {
441
441
  Error?: string;
442
- State: QueryStateString | string | undefined;
442
+ State: QueryStateString | undefined;
443
443
  }
444
444
  export declare class ExpiredException extends __BaseException {
445
445
  readonly name: "ExpiredException";
@@ -542,10 +542,10 @@ export type PermissionType =
542
542
  export interface GetTemporaryGluePartitionCredentialsRequest {
543
543
  TableArn: string | undefined;
544
544
  Partition: PartitionValueList | undefined;
545
- Permissions?: (Permission | string)[];
545
+ Permissions?: Permission[];
546
546
  DurationSeconds?: number;
547
547
  AuditContext?: AuditContext;
548
- SupportedPermissionTypes?: (PermissionType | string)[];
548
+ SupportedPermissionTypes?: PermissionType[];
549
549
  }
550
550
  export interface GetTemporaryGluePartitionCredentialsResponse {
551
551
  AccessKeyId?: string;
@@ -566,10 +566,10 @@ export declare class PermissionTypeMismatchException extends __BaseException {
566
566
  }
567
567
  export interface GetTemporaryGlueTableCredentialsRequest {
568
568
  TableArn: string | undefined;
569
- Permissions?: (Permission | string)[];
569
+ Permissions?: Permission[];
570
570
  DurationSeconds?: number;
571
571
  AuditContext?: AuditContext;
572
- SupportedPermissionTypes?: (PermissionType | string)[];
572
+ SupportedPermissionTypes?: PermissionType[];
573
573
  }
574
574
  export interface GetTemporaryGlueTableCredentialsResponse {
575
575
  AccessKeyId?: string;
@@ -612,8 +612,8 @@ export interface GrantPermissionsRequest {
612
612
  CatalogId?: string;
613
613
  Principal: DataLakePrincipal | undefined;
614
614
  Resource: Resource | undefined;
615
- Permissions: (Permission | string)[] | undefined;
616
- PermissionsWithGrantOption?: (Permission | string)[];
615
+ Permissions: Permission[] | undefined;
616
+ PermissionsWithGrantOption?: Permission[];
617
617
  }
618
618
  export interface GrantPermissionsResponse {}
619
619
  export interface ListDataCellsFilterRequest {
@@ -649,7 +649,7 @@ export type ResourceShareType =
649
649
  (typeof ResourceShareType)[keyof typeof ResourceShareType];
650
650
  export interface ListLFTagsRequest {
651
651
  CatalogId?: string;
652
- ResourceShareType?: ResourceShareType | string;
652
+ ResourceShareType?: ResourceShareType;
653
653
  MaxResults?: number;
654
654
  NextToken?: string;
655
655
  }
@@ -672,7 +672,7 @@ export type DataLakeResourceType =
672
672
  export interface ListPermissionsRequest {
673
673
  CatalogId?: string;
674
674
  Principal?: DataLakePrincipal;
675
- ResourceType?: DataLakeResourceType | string;
675
+ ResourceType?: DataLakeResourceType;
676
676
  Resource?: Resource;
677
677
  NextToken?: string;
678
678
  MaxResults?: number;
@@ -705,8 +705,8 @@ export declare const FieldNameString: {
705
705
  export type FieldNameString =
706
706
  (typeof FieldNameString)[keyof typeof FieldNameString];
707
707
  export interface FilterCondition {
708
- Field?: FieldNameString | string;
709
- ComparisonOperator?: ComparisonOperator | string;
708
+ Field?: FieldNameString;
709
+ ComparisonOperator?: ComparisonOperator;
710
710
  StringValueList?: string[];
711
711
  }
712
712
  export interface ListResourcesRequest {
@@ -728,12 +728,12 @@ export interface ListTableStorageOptimizersRequest {
728
728
  CatalogId?: string;
729
729
  DatabaseName: string | undefined;
730
730
  TableName: string | undefined;
731
- StorageOptimizerType?: OptimizerType | string;
731
+ StorageOptimizerType?: OptimizerType;
732
732
  MaxResults?: number;
733
733
  NextToken?: string;
734
734
  }
735
735
  export interface StorageOptimizer {
736
- StorageOptimizerType?: OptimizerType | string;
736
+ StorageOptimizerType?: OptimizerType;
737
737
  Config?: Record<string, string>;
738
738
  ErrorMessage?: string;
739
739
  Warnings?: string;
@@ -754,7 +754,7 @@ export type TransactionStatusFilter =
754
754
  (typeof TransactionStatusFilter)[keyof typeof TransactionStatusFilter];
755
755
  export interface ListTransactionsRequest {
756
756
  CatalogId?: string;
757
- StatusFilter?: TransactionStatusFilter | string;
757
+ StatusFilter?: TransactionStatusFilter;
758
758
  MaxResults?: number;
759
759
  NextToken?: string;
760
760
  }
@@ -787,8 +787,8 @@ export interface RevokePermissionsRequest {
787
787
  CatalogId?: string;
788
788
  Principal: DataLakePrincipal | undefined;
789
789
  Resource: Resource | undefined;
790
- Permissions: (Permission | string)[] | undefined;
791
- PermissionsWithGrantOption?: (Permission | string)[];
790
+ Permissions: Permission[] | undefined;
791
+ PermissionsWithGrantOption?: Permission[];
792
792
  }
793
793
  export interface RevokePermissionsResponse {}
794
794
  export interface SearchDatabasesByLFTagsRequest {
@@ -842,7 +842,7 @@ export declare const TransactionType: {
842
842
  export type TransactionType =
843
843
  (typeof TransactionType)[keyof typeof TransactionType];
844
844
  export interface StartTransactionRequest {
845
- TransactionType?: TransactionType | string;
845
+ TransactionType?: TransactionType;
846
846
  }
847
847
  export interface StartTransactionResponse {
848
848
  TransactionId?: string;
@@ -886,7 +886,9 @@ export interface UpdateTableStorageOptimizerRequest {
886
886
  CatalogId?: string;
887
887
  DatabaseName: string | undefined;
888
888
  TableName: string | undefined;
889
- StorageOptimizerConfig: Record<string, Record<string, string>> | undefined;
889
+ StorageOptimizerConfig:
890
+ | Record<OptimizerType, Record<string, string>>
891
+ | undefined;
890
892
  }
891
893
  export interface UpdateTableStorageOptimizerResponse {
892
894
  Result?: string;
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.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",