@aws-sdk/client-lakeformation 3.45.0 → 3.47.2

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/LakeFormation.js +30 -0
  3. package/dist-cjs/commands/GetTemporaryGluePartitionCredentialsCommand.js +36 -0
  4. package/dist-cjs/commands/GetTemporaryGlueTableCredentialsCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoints.js +0 -20
  7. package/dist-cjs/models/models_0.js +42 -104
  8. package/dist-cjs/protocols/Aws_restJson1.js +348 -2
  9. package/dist-cjs/runtimeConfig.browser.js +7 -2
  10. package/dist-cjs/runtimeConfig.js +9 -3
  11. package/dist-es/LakeFormation.js +30 -0
  12. package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +39 -0
  13. package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +39 -0
  14. package/dist-es/commands/index.js +2 -0
  15. package/dist-es/endpoints.js +0 -20
  16. package/dist-es/models/models_0.js +29 -68
  17. package/dist-es/protocols/Aws_restJson1.js +369 -2
  18. package/dist-es/runtimeConfig.browser.js +12 -3
  19. package/dist-es/runtimeConfig.js +13 -6
  20. package/dist-types/LakeFormation.d.ts +14 -0
  21. package/dist-types/LakeFormationClient.d.ts +9 -3
  22. package/dist-types/commands/GetTemporaryGluePartitionCredentialsCommand.d.ts +35 -0
  23. package/dist-types/commands/GetTemporaryGlueTableCredentialsCommand.d.ts +35 -0
  24. package/dist-types/commands/index.d.ts +2 -0
  25. package/dist-types/models/models_0.d.ts +172 -99
  26. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  28. package/dist-types/runtimeConfig.d.ts +4 -3
  29. package/dist-types/runtimeConfig.native.d.ts +1 -0
  30. package/dist-types/ts3.4/LakeFormation.d.ts +10 -0
  31. package/dist-types/ts3.4/LakeFormationClient.d.ts +7 -3
  32. package/dist-types/ts3.4/commands/GetTemporaryGluePartitionCredentialsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GetTemporaryGlueTableCredentialsCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +95 -66
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  40. package/package.json +39 -46
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
4
+ import { GetTemporaryGluePartitionCredentialsRequest, GetTemporaryGluePartitionCredentialsResponse } from "../models/models_0";
5
+ export interface GetTemporaryGluePartitionCredentialsCommandInput extends GetTemporaryGluePartitionCredentialsRequest {
6
+ }
7
+ export interface GetTemporaryGluePartitionCredentialsCommandOutput extends GetTemporaryGluePartitionCredentialsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>This API is identical to <code>GetTemporaryTableCredentials</code> except that this is used when the target Data Catalog resource is of type Partition. Lake Formation restricts the permission of the vended credentials with the same scope down policy which restricts access to a single Amazon S3 prefix.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LakeFormationClient, GetTemporaryGluePartitionCredentialsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
15
+ * // const { LakeFormationClient, GetTemporaryGluePartitionCredentialsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
16
+ * const client = new LakeFormationClient(config);
17
+ * const command = new GetTemporaryGluePartitionCredentialsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetTemporaryGluePartitionCredentialsCommandInput} for command's `input` shape.
22
+ * @see {@link GetTemporaryGluePartitionCredentialsCommandOutput} for command's `response` shape.
23
+ * @see {@link LakeFormationClientResolvedConfig | config} for LakeFormationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetTemporaryGluePartitionCredentialsCommand extends $Command<GetTemporaryGluePartitionCredentialsCommandInput, GetTemporaryGluePartitionCredentialsCommandOutput, LakeFormationClientResolvedConfig> {
27
+ readonly input: GetTemporaryGluePartitionCredentialsCommandInput;
28
+ constructor(input: GetTemporaryGluePartitionCredentialsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTemporaryGluePartitionCredentialsCommandInput, GetTemporaryGluePartitionCredentialsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
4
+ import { GetTemporaryGlueTableCredentialsRequest, GetTemporaryGlueTableCredentialsResponse } from "../models/models_0";
5
+ export interface GetTemporaryGlueTableCredentialsCommandInput extends GetTemporaryGlueTableCredentialsRequest {
6
+ }
7
+ export interface GetTemporaryGlueTableCredentialsCommandOutput extends GetTemporaryGlueTableCredentialsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Allows a caller in a secure environment to assume a role with permission to access Amazon S3. In order to vend such credentials, Lake Formation assumes the role associated with a registered location, for example an Amazon S3 bucket, with a scope down policy which restricts the access to a single prefix.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LakeFormationClient, GetTemporaryGlueTableCredentialsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
15
+ * // const { LakeFormationClient, GetTemporaryGlueTableCredentialsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
16
+ * const client = new LakeFormationClient(config);
17
+ * const command = new GetTemporaryGlueTableCredentialsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetTemporaryGlueTableCredentialsCommandInput} for command's `input` shape.
22
+ * @see {@link GetTemporaryGlueTableCredentialsCommandOutput} for command's `response` shape.
23
+ * @see {@link LakeFormationClientResolvedConfig | config} for LakeFormationClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetTemporaryGlueTableCredentialsCommand extends $Command<GetTemporaryGlueTableCredentialsCommandInput, GetTemporaryGlueTableCredentialsCommandOutput, LakeFormationClientResolvedConfig> {
27
+ readonly input: GetTemporaryGlueTableCredentialsCommandInput;
28
+ constructor(input: GetTemporaryGlueTableCredentialsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTemporaryGlueTableCredentialsCommandInput, GetTemporaryGlueTableCredentialsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -19,6 +19,8 @@ export * from "./GetQueryStateCommand";
19
19
  export * from "./GetQueryStatisticsCommand";
20
20
  export * from "./GetResourceLFTagsCommand";
21
21
  export * from "./GetTableObjectsCommand";
22
+ export * from "./GetTemporaryGluePartitionCredentialsCommand";
23
+ export * from "./GetTemporaryGlueTableCredentialsCommand";
22
24
  export * from "./GetWorkUnitResultsCommand";
23
25
  export * from "./GetWorkUnitsCommand";
24
26
  export * from "./GrantPermissionsCommand";
@@ -12,12 +12,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
12
12
  */
13
13
  Message?: string;
14
14
  }
15
- export declare namespace AccessDeniedException {
16
- /**
17
- * @internal
18
- */
19
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
20
- }
21
15
  /**
22
16
  * <p>A structure containing an LF-tag key-value pair.</p>
23
17
  */
@@ -397,12 +391,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
397
391
  */
398
392
  Message?: string;
399
393
  }
400
- export declare namespace ConcurrentModificationException {
401
- /**
402
- * @internal
403
- */
404
- const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
405
- }
406
394
  /**
407
395
  * <p>A specified entity does not exist</p>
408
396
  */
@@ -414,12 +402,6 @@ export interface EntityNotFoundException extends __SmithyException, $MetadataBea
414
402
  */
415
403
  Message?: string;
416
404
  }
417
- export declare namespace EntityNotFoundException {
418
- /**
419
- * @internal
420
- */
421
- const filterSensitiveLog: (obj: EntityNotFoundException) => any;
422
- }
423
405
  /**
424
406
  * <p>An internal service error occurred.</p>
425
407
  */
@@ -431,12 +413,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
431
413
  */
432
414
  Message?: string;
433
415
  }
434
- export declare namespace InternalServiceException {
435
- /**
436
- * @internal
437
- */
438
- const filterSensitiveLog: (obj: InternalServiceException) => any;
439
- }
440
416
  /**
441
417
  * <p>The input provided was not valid.</p>
442
418
  */
@@ -448,12 +424,6 @@ export interface InvalidInputException extends __SmithyException, $MetadataBeare
448
424
  */
449
425
  Message?: string;
450
426
  }
451
- export declare namespace InvalidInputException {
452
- /**
453
- * @internal
454
- */
455
- const filterSensitiveLog: (obj: InvalidInputException) => any;
456
- }
457
427
  /**
458
428
  * <p>The operation timed out.</p>
459
429
  */
@@ -465,12 +435,6 @@ export interface OperationTimeoutException extends __SmithyException, $MetadataB
465
435
  */
466
436
  Message?: string;
467
437
  }
468
- export declare namespace OperationTimeoutException {
469
- /**
470
- * @internal
471
- */
472
- const filterSensitiveLog: (obj: OperationTimeoutException) => any;
473
- }
474
438
  /**
475
439
  * <p>A new object to add to the governed table.</p>
476
440
  */
@@ -521,11 +485,20 @@ export interface AlreadyExistsException extends __SmithyException, $MetadataBear
521
485
  */
522
486
  Message?: string;
523
487
  }
524
- export declare namespace AlreadyExistsException {
488
+ /**
489
+ * <p>A structure used to include auditing information on the privileged API. </p>
490
+ */
491
+ export interface AuditContext {
492
+ /**
493
+ * <p>The filter engine can populate the 'AdditionalAuditContext' information with the request ID for you to track. This information will be displayed in CloudTrail log in your account.</p>
494
+ */
495
+ AdditionalAuditContext?: string;
496
+ }
497
+ export declare namespace AuditContext {
525
498
  /**
526
499
  * @internal
527
500
  */
528
- const filterSensitiveLog: (obj: AlreadyExistsException) => any;
501
+ const filterSensitiveLog: (obj: AuditContext) => any;
529
502
  }
530
503
  export declare enum Permission {
531
504
  ALL = "ALL",
@@ -545,7 +518,8 @@ export declare enum Permission {
545
518
  SELECT = "SELECT"
546
519
  }
547
520
  /**
548
- * <p>The AWS Lake Formation principal. Supported principals are IAM users or IAM roles.</p>
521
+ * <p>The Lake Formation principal. Supported principals are IAM users
522
+ * or IAM roles.</p>
549
523
  */
550
524
  export interface DataLakePrincipal {
551
525
  /**
@@ -696,12 +670,6 @@ export interface TransactionCommitInProgressException extends __SmithyException,
696
670
  */
697
671
  Message?: string;
698
672
  }
699
- export declare namespace TransactionCommitInProgressException {
700
- /**
701
- * @internal
702
- */
703
- const filterSensitiveLog: (obj: TransactionCommitInProgressException) => any;
704
- }
705
673
  /**
706
674
  * <p>Contains details about an error where the specified transaction has already been committed and cannot be used for <code>UpdateTableObjects</code>.</p>
707
675
  */
@@ -713,12 +681,6 @@ export interface TransactionCommittedException extends __SmithyException, $Metad
713
681
  */
714
682
  Message?: string;
715
683
  }
716
- export declare namespace TransactionCommittedException {
717
- /**
718
- * @internal
719
- */
720
- const filterSensitiveLog: (obj: TransactionCommittedException) => any;
721
- }
722
684
  export interface CommitTransactionRequest {
723
685
  /**
724
686
  * <p>The transaction to commit.</p>
@@ -760,12 +722,6 @@ export interface TransactionCanceledException extends __SmithyException, $Metada
760
722
  */
761
723
  Message?: string;
762
724
  }
763
- export declare namespace TransactionCanceledException {
764
- /**
765
- * @internal
766
- */
767
- const filterSensitiveLog: (obj: TransactionCanceledException) => any;
768
- }
769
725
  /**
770
726
  * <p>A PartiQL predicate.</p>
771
727
  */
@@ -815,6 +771,9 @@ export interface DataCellsFilter {
815
771
  ColumnNames?: string[];
816
772
  /**
817
773
  * <p>A wildcard with exclusions.</p>
774
+ *
775
+ * <p>You must specify either a <code>ColumnNames</code> list or the
776
+ * <code>ColumnWildCard</code>. </p>
818
777
  */
819
778
  ColumnWildcard?: ColumnWildcard;
820
779
  }
@@ -855,12 +814,6 @@ export interface ResourceNumberLimitExceededException extends __SmithyException,
855
814
  */
856
815
  Message?: string;
857
816
  }
858
- export declare namespace ResourceNumberLimitExceededException {
859
- /**
860
- * @internal
861
- */
862
- const filterSensitiveLog: (obj: ResourceNumberLimitExceededException) => any;
863
- }
864
817
  export interface CreateLFTagRequest {
865
818
  /**
866
819
  * <p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment. </p>
@@ -1012,12 +965,6 @@ export interface ResourceNotReadyException extends __SmithyException, $MetadataB
1012
965
  */
1013
966
  Message?: string;
1014
967
  }
1015
- export declare namespace ResourceNotReadyException {
1016
- /**
1017
- * @internal
1018
- */
1019
- const filterSensitiveLog: (obj: ResourceNotReadyException) => any;
1020
- }
1021
968
  export interface DeregisterResourceRequest {
1022
969
  /**
1023
970
  * <p>The Amazon Resource Name (ARN) of the resource that you want to deregister.</p>
@@ -1221,6 +1168,24 @@ export interface DataLakeSettings {
1221
1168
  * <p>You may want to specify this property when you are in a high-trust boundary, such as the same team or company. </p>
1222
1169
  */
1223
1170
  TrustedResourceOwners?: string[];
1171
+ /**
1172
+ * <p>Whether to allow Amazon EMR clusters to access data managed by Lake Formation. </p>
1173
+ *
1174
+ * <p>If true, you allow Amazon EMR clusters to access data in Amazon S3 locations that are registered with Lake Formation.</p>
1175
+ *
1176
+ * <p>If false or null, no Amazon EMR clusters will be able to access data in Amazon S3 locations that are registered with Lake Formation.</p>
1177
+ *
1178
+ * <p>For more information, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/getting-started-setup.html#emr-switch">(Optional) Allow Data Filtering on Amazon EMR</a>.</p>
1179
+ */
1180
+ AllowExternalDataFiltering?: boolean;
1181
+ /**
1182
+ * <p>A list of the account IDs of Amazon Web Services accounts with Amazon EMR clusters that are to perform data filtering.></p>
1183
+ */
1184
+ ExternalDataFilteringAllowList?: DataLakePrincipal[];
1185
+ /**
1186
+ * <p>Lake Formation relies on a privileged process secured by Amazon EMR or the third party integrator to tag the user's role while assuming it. Lake Formation will publish the acceptable key-value pair, for example key = "LakeFormationTrustedCaller" and value = "TRUE" and the third party integrator must properly tag the temporary security credentials that will be used to call Lake Formation's administrative APIs.</p>
1187
+ */
1188
+ AuthorizedSessionTagValueList?: string[];
1224
1189
  }
1225
1190
  export declare namespace DataLakeSettings {
1226
1191
  /**
@@ -1428,12 +1393,6 @@ export interface ExpiredException extends __SmithyException, $MetadataBearer {
1428
1393
  */
1429
1394
  Message?: string;
1430
1395
  }
1431
- export declare namespace ExpiredException {
1432
- /**
1433
- * @internal
1434
- */
1435
- const filterSensitiveLog: (obj: ExpiredException) => any;
1436
- }
1437
1396
  export interface GetQueryStatisticsRequest {
1438
1397
  /**
1439
1398
  * <p>The ID of the plan query operation.</p>
@@ -1527,12 +1486,6 @@ export interface StatisticsNotReadyYetException extends __SmithyException, $Meta
1527
1486
  */
1528
1487
  Message?: string;
1529
1488
  }
1530
- export declare namespace StatisticsNotReadyYetException {
1531
- /**
1532
- * @internal
1533
- */
1534
- const filterSensitiveLog: (obj: StatisticsNotReadyYetException) => any;
1535
- }
1536
1489
  /**
1537
1490
  * <p>Contains details about an error where the query request was throttled.</p>
1538
1491
  */
@@ -1547,12 +1500,6 @@ export interface ThrottledException extends __SmithyException, $MetadataBearer {
1547
1500
  */
1548
1501
  Message?: string;
1549
1502
  }
1550
- export declare namespace ThrottledException {
1551
- /**
1552
- * @internal
1553
- */
1554
- const filterSensitiveLog: (obj: ThrottledException) => any;
1555
- }
1556
1503
  export interface GetResourceLFTagsRequest {
1557
1504
  /**
1558
1505
  * <p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment. </p>
@@ -1623,12 +1570,6 @@ export interface GlueEncryptionException extends __SmithyException, $MetadataBea
1623
1570
  */
1624
1571
  Message?: string;
1625
1572
  }
1626
- export declare namespace GlueEncryptionException {
1627
- /**
1628
- * @internal
1629
- */
1630
- const filterSensitiveLog: (obj: GlueEncryptionException) => any;
1631
- }
1632
1573
  export interface GetTableObjectsRequest {
1633
1574
  /**
1634
1575
  * <p>The catalog containing the governed table. Defaults to the caller’s account.</p>
@@ -1738,6 +1679,144 @@ export declare namespace GetTableObjectsResponse {
1738
1679
  */
1739
1680
  const filterSensitiveLog: (obj: GetTableObjectsResponse) => any;
1740
1681
  }
1682
+ /**
1683
+ * <p>Contains a list of values defining partitions.</p>
1684
+ */
1685
+ export interface PartitionValueList {
1686
+ /**
1687
+ * <p>The list of partition values.</p>
1688
+ */
1689
+ Values: string[] | undefined;
1690
+ }
1691
+ export declare namespace PartitionValueList {
1692
+ /**
1693
+ * @internal
1694
+ */
1695
+ const filterSensitiveLog: (obj: PartitionValueList) => any;
1696
+ }
1697
+ export declare enum PermissionType {
1698
+ CELL_FILTER_PERMISSION = "CELL_FILTER_PERMISSION",
1699
+ COLUMN_PERMISSION = "COLUMN_PERMISSION"
1700
+ }
1701
+ export interface GetTemporaryGluePartitionCredentialsRequest {
1702
+ /**
1703
+ * <p>The ARN of the partitions' table.</p>
1704
+ */
1705
+ TableArn: string | undefined;
1706
+ /**
1707
+ * <p>A list of partition values identifying a single partition.</p>
1708
+ */
1709
+ Partition: PartitionValueList | undefined;
1710
+ /**
1711
+ * <p>Filters the request based on the user having been granted a list of specified permissions on the requested resource(s).</p>
1712
+ */
1713
+ Permissions?: (Permission | string)[];
1714
+ /**
1715
+ * <p>The time period, between 900 and 21,600 seconds, for the timeout of the temporary credentials.</p>
1716
+ */
1717
+ DurationSeconds?: number;
1718
+ /**
1719
+ * <p>A structure representing context to access a resource (column names, query ID, etc).</p>
1720
+ */
1721
+ AuditContext?: AuditContext;
1722
+ /**
1723
+ * <p>A list of supported permission types for the partition. Valid values are <code>COLUMN_PERMISSION</code> and <code>CELL_FILTER_PERMISSION</code>.</p>
1724
+ */
1725
+ SupportedPermissionTypes: (PermissionType | string)[] | undefined;
1726
+ }
1727
+ export declare namespace GetTemporaryGluePartitionCredentialsRequest {
1728
+ /**
1729
+ * @internal
1730
+ */
1731
+ const filterSensitiveLog: (obj: GetTemporaryGluePartitionCredentialsRequest) => any;
1732
+ }
1733
+ export interface GetTemporaryGluePartitionCredentialsResponse {
1734
+ /**
1735
+ * <p>The access key ID for the temporary credentials.</p>
1736
+ */
1737
+ AccessKeyId?: string;
1738
+ /**
1739
+ * <p>The secret key for the temporary credentials.</p>
1740
+ */
1741
+ SecretAccessKey?: string;
1742
+ /**
1743
+ * <p>The session token for the temporary credentials.</p>
1744
+ */
1745
+ SessionToken?: string;
1746
+ /**
1747
+ * <p>The date and time when the temporary credentials expire.</p>
1748
+ */
1749
+ Expiration?: Date;
1750
+ }
1751
+ export declare namespace GetTemporaryGluePartitionCredentialsResponse {
1752
+ /**
1753
+ * @internal
1754
+ */
1755
+ const filterSensitiveLog: (obj: GetTemporaryGluePartitionCredentialsResponse) => any;
1756
+ }
1757
+ /**
1758
+ * <p>The engine does not support filtering data based on the enforced permissions. For example, if you call the <code>GetTemporaryGlueTableCredentials</code> operation with <code>SupportedPermissionType</code> equal to <code>ColumnPermission</code>, but cell-level permissions exist on the table, this exception is thrown.</p>
1759
+ */
1760
+ export interface PermissionTypeMismatchException extends __SmithyException, $MetadataBearer {
1761
+ name: "PermissionTypeMismatchException";
1762
+ $fault: "client";
1763
+ /**
1764
+ * <p>A message describing the problem.</p>
1765
+ */
1766
+ Message?: string;
1767
+ }
1768
+ export interface GetTemporaryGlueTableCredentialsRequest {
1769
+ /**
1770
+ * <p>The ARN identifying a table in the Data Catalog for the temporary credentials request.</p>
1771
+ */
1772
+ TableArn: string | undefined;
1773
+ /**
1774
+ * <p>Filters the request based on the user having been granted a list of specified permissions on the requested resource(s).</p>
1775
+ */
1776
+ Permissions?: (Permission | string)[];
1777
+ /**
1778
+ * <p>The time period, between 900 and 21,600 seconds, for the timeout of the temporary credentials.</p>
1779
+ */
1780
+ DurationSeconds?: number;
1781
+ /**
1782
+ * <p>A structure representing context to access a resource (column names, query ID, etc).</p>
1783
+ */
1784
+ AuditContext?: AuditContext;
1785
+ /**
1786
+ * <p>A list of supported permission types for the table. Valid values are <code>COLUMN_PERMISSION</code> and <code>CELL_FILTER_PERMISSION</code>.</p>
1787
+ */
1788
+ SupportedPermissionTypes: (PermissionType | string)[] | undefined;
1789
+ }
1790
+ export declare namespace GetTemporaryGlueTableCredentialsRequest {
1791
+ /**
1792
+ * @internal
1793
+ */
1794
+ const filterSensitiveLog: (obj: GetTemporaryGlueTableCredentialsRequest) => any;
1795
+ }
1796
+ export interface GetTemporaryGlueTableCredentialsResponse {
1797
+ /**
1798
+ * <p>The access key ID for the temporary credentials.</p>
1799
+ */
1800
+ AccessKeyId?: string;
1801
+ /**
1802
+ * <p>The secret key for the temporary credentials.</p>
1803
+ */
1804
+ SecretAccessKey?: string;
1805
+ /**
1806
+ * <p>The session token for the temporary credentials.</p>
1807
+ */
1808
+ SessionToken?: string;
1809
+ /**
1810
+ * <p>The date and time when the temporary credentials expire.</p>
1811
+ */
1812
+ Expiration?: Date;
1813
+ }
1814
+ export declare namespace GetTemporaryGlueTableCredentialsResponse {
1815
+ /**
1816
+ * @internal
1817
+ */
1818
+ const filterSensitiveLog: (obj: GetTemporaryGlueTableCredentialsResponse) => any;
1819
+ }
1741
1820
  export interface GetWorkUnitResultsRequest {
1742
1821
  /**
1743
1822
  * <p>The ID of the plan query operation for which to get results.</p>
@@ -1850,12 +1929,6 @@ export interface WorkUnitsNotReadyYetException extends __SmithyException, $Metad
1850
1929
  */
1851
1930
  Message?: string;
1852
1931
  }
1853
- export declare namespace WorkUnitsNotReadyYetException {
1854
- /**
1855
- * @internal
1856
- */
1857
- const filterSensitiveLog: (obj: WorkUnitsNotReadyYetException) => any;
1858
- }
1859
1932
  export interface GrantPermissionsRequest {
1860
1933
  /**
1861
1934
  * <p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment. </p>
@@ -21,6 +21,8 @@ import { GetQueryStateCommandInput, GetQueryStateCommandOutput } from "../comman
21
21
  import { GetQueryStatisticsCommandInput, GetQueryStatisticsCommandOutput } from "../commands/GetQueryStatisticsCommand";
22
22
  import { GetResourceLFTagsCommandInput, GetResourceLFTagsCommandOutput } from "../commands/GetResourceLFTagsCommand";
23
23
  import { GetTableObjectsCommandInput, GetTableObjectsCommandOutput } from "../commands/GetTableObjectsCommand";
24
+ import { GetTemporaryGluePartitionCredentialsCommandInput, GetTemporaryGluePartitionCredentialsCommandOutput } from "../commands/GetTemporaryGluePartitionCredentialsCommand";
25
+ import { GetTemporaryGlueTableCredentialsCommandInput, GetTemporaryGlueTableCredentialsCommandOutput } from "../commands/GetTemporaryGlueTableCredentialsCommand";
24
26
  import { GetWorkUnitResultsCommandInput, GetWorkUnitResultsCommandOutput } from "../commands/GetWorkUnitResultsCommand";
25
27
  import { GetWorkUnitsCommandInput, GetWorkUnitsCommandOutput } from "../commands/GetWorkUnitsCommand";
26
28
  import { GrantPermissionsCommandInput, GrantPermissionsCommandOutput } from "../commands/GrantPermissionsCommand";
@@ -63,6 +65,8 @@ export declare const serializeAws_restJson1GetQueryStateCommand: (input: GetQuer
63
65
  export declare const serializeAws_restJson1GetQueryStatisticsCommand: (input: GetQueryStatisticsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
66
  export declare const serializeAws_restJson1GetResourceLFTagsCommand: (input: GetResourceLFTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
67
  export declare const serializeAws_restJson1GetTableObjectsCommand: (input: GetTableObjectsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
+ export declare const serializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand: (input: GetTemporaryGluePartitionCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ export declare const serializeAws_restJson1GetTemporaryGlueTableCredentialsCommand: (input: GetTemporaryGlueTableCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
70
  export declare const serializeAws_restJson1GetWorkUnitResultsCommand: (input: GetWorkUnitResultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
71
  export declare const serializeAws_restJson1GetWorkUnitsCommand: (input: GetWorkUnitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
72
  export declare const serializeAws_restJson1GrantPermissionsCommand: (input: GrantPermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -105,6 +109,8 @@ export declare const deserializeAws_restJson1GetQueryStateCommand: (output: __Ht
105
109
  export declare const deserializeAws_restJson1GetQueryStatisticsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetQueryStatisticsCommandOutput>;
106
110
  export declare const deserializeAws_restJson1GetResourceLFTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceLFTagsCommandOutput>;
107
111
  export declare const deserializeAws_restJson1GetTableObjectsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTableObjectsCommandOutput>;
112
+ export declare const deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTemporaryGluePartitionCredentialsCommandOutput>;
113
+ export declare const deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTemporaryGlueTableCredentialsCommandOutput>;
108
114
  export declare const deserializeAws_restJson1GetWorkUnitResultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWorkUnitResultsCommandOutput>;
109
115
  export declare const deserializeAws_restJson1GetWorkUnitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWorkUnitsCommandOutput>;
110
116
  export declare const deserializeAws_restJson1GrantPermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GrantPermissionsCommandOutput>;
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { LakeFormationClientConfig } from "./LakeFormationClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { LakeFormationClientConfig } from "./LakeFormationClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -20,6 +20,8 @@ import { GetQueryStateCommandInput, GetQueryStateCommandOutput } from "./command
20
20
  import { GetQueryStatisticsCommandInput, GetQueryStatisticsCommandOutput } from "./commands/GetQueryStatisticsCommand";
21
21
  import { GetResourceLFTagsCommandInput, GetResourceLFTagsCommandOutput } from "./commands/GetResourceLFTagsCommand";
22
22
  import { GetTableObjectsCommandInput, GetTableObjectsCommandOutput } from "./commands/GetTableObjectsCommand";
23
+ import { GetTemporaryGluePartitionCredentialsCommandInput, GetTemporaryGluePartitionCredentialsCommandOutput } from "./commands/GetTemporaryGluePartitionCredentialsCommand";
24
+ import { GetTemporaryGlueTableCredentialsCommandInput, GetTemporaryGlueTableCredentialsCommandOutput } from "./commands/GetTemporaryGlueTableCredentialsCommand";
23
25
  import { GetWorkUnitResultsCommandInput, GetWorkUnitResultsCommandOutput } from "./commands/GetWorkUnitResultsCommand";
24
26
  import { GetWorkUnitsCommandInput, GetWorkUnitsCommandOutput } from "./commands/GetWorkUnitsCommand";
25
27
  import { GrantPermissionsCommandInput, GrantPermissionsCommandOutput } from "./commands/GrantPermissionsCommand";
@@ -129,6 +131,14 @@ export declare class LakeFormation extends LakeFormationClient {
129
131
  getTableObjects(args: GetTableObjectsCommandInput, cb: (err: any, data?: GetTableObjectsCommandOutput) => void): void;
130
132
  getTableObjects(args: GetTableObjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableObjectsCommandOutput) => void): void;
131
133
 
134
+ getTemporaryGluePartitionCredentials(args: GetTemporaryGluePartitionCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<GetTemporaryGluePartitionCredentialsCommandOutput>;
135
+ getTemporaryGluePartitionCredentials(args: GetTemporaryGluePartitionCredentialsCommandInput, cb: (err: any, data?: GetTemporaryGluePartitionCredentialsCommandOutput) => void): void;
136
+ getTemporaryGluePartitionCredentials(args: GetTemporaryGluePartitionCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemporaryGluePartitionCredentialsCommandOutput) => void): void;
137
+
138
+ getTemporaryGlueTableCredentials(args: GetTemporaryGlueTableCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<GetTemporaryGlueTableCredentialsCommandOutput>;
139
+ getTemporaryGlueTableCredentials(args: GetTemporaryGlueTableCredentialsCommandInput, cb: (err: any, data?: GetTemporaryGlueTableCredentialsCommandOutput) => void): void;
140
+ getTemporaryGlueTableCredentials(args: GetTemporaryGlueTableCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemporaryGlueTableCredentialsCommandOutput) => void): void;
141
+
132
142
  getWorkUnitResults(args: GetWorkUnitResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkUnitResultsCommandOutput>;
133
143
  getWorkUnitResults(args: GetWorkUnitResultsCommandInput, cb: (err: any, data?: GetWorkUnitResultsCommandOutput) => void): void;
134
144
  getWorkUnitResults(args: GetWorkUnitResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkUnitResultsCommandOutput) => void): void;