@aws-sdk/client-lakeformation 3.1150.0 → 3.1151.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.
Files changed (64) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +271 -23
  3. package/dist-es/LakeFormation.js +20 -0
  4. package/dist-es/commands/AttachRLSPolicyCommand.js +4 -0
  5. package/dist-es/commands/CreateRLSPolicyCommand.js +4 -0
  6. package/dist-es/commands/DeleteRLSPolicyCommand.js +4 -0
  7. package/dist-es/commands/DetachRLSPolicyCommand.js +4 -0
  8. package/dist-es/commands/GetRLSPolicyCommand.js +4 -0
  9. package/dist-es/commands/ListRLSPoliciesCommand.js +4 -0
  10. package/dist-es/commands/ListRLSPolicyAttachmentsCommand.js +4 -0
  11. package/dist-es/commands/UpdateRLSPolicyCommand.js +4 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/errors.js +15 -15
  14. package/dist-es/pagination/ListRLSPoliciesPaginator.js +4 -0
  15. package/dist-es/pagination/ListRLSPolicyAttachmentsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +179 -7
  18. package/dist-types/LakeFormation.d.ts +72 -0
  19. package/dist-types/LakeFormationClient.d.ts +10 -2
  20. package/dist-types/commands/AddLFTagsToResourceCommand.d.ts +4 -0
  21. package/dist-types/commands/AttachRLSPolicyCommand.d.ts +166 -0
  22. package/dist-types/commands/BatchGrantPermissionsCommand.d.ts +8 -0
  23. package/dist-types/commands/BatchRevokePermissionsCommand.d.ts +8 -0
  24. package/dist-types/commands/CreateLakeFormationOptInCommand.d.ts +4 -0
  25. package/dist-types/commands/CreateRLSPolicyCommand.d.ts +97 -0
  26. package/dist-types/commands/DeleteLakeFormationOptInCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteRLSPolicyCommand.d.ts +87 -0
  28. package/dist-types/commands/DetachRLSPolicyCommand.d.ts +160 -0
  29. package/dist-types/commands/GetEffectivePermissionsForPathCommand.d.ts +4 -0
  30. package/dist-types/commands/GetRLSPolicyCommand.d.ts +96 -0
  31. package/dist-types/commands/GetResourceLFTagsCommand.d.ts +4 -0
  32. package/dist-types/commands/GrantPermissionsCommand.d.ts +4 -0
  33. package/dist-types/commands/ListLakeFormationOptInsCommand.d.ts +8 -0
  34. package/dist-types/commands/ListPermissionsCommand.d.ts +8 -0
  35. package/dist-types/commands/ListRLSPoliciesCommand.d.ts +100 -0
  36. package/dist-types/commands/ListRLSPolicyAttachmentsCommand.d.ts +236 -0
  37. package/dist-types/commands/RemoveLFTagsFromResourceCommand.d.ts +4 -0
  38. package/dist-types/commands/RevokePermissionsCommand.d.ts +4 -0
  39. package/dist-types/commands/UpdateRLSPolicyCommand.d.ts +91 -0
  40. package/dist-types/commands/index.d.ts +8 -0
  41. package/dist-types/models/errors.d.ts +18 -18
  42. package/dist-types/models/models_0.d.ts +335 -11
  43. package/dist-types/pagination/ListRLSPoliciesPaginator.d.ts +7 -0
  44. package/dist-types/pagination/ListRLSPolicyAttachmentsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/schemas/schemas_0.d.ts +28 -0
  47. package/dist-types/ts3.4/LakeFormation.d.ts +152 -0
  48. package/dist-types/ts3.4/LakeFormationClient.d.ts +48 -0
  49. package/dist-types/ts3.4/commands/AttachRLSPolicyCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/CreateRLSPolicyCommand.d.ts +38 -0
  51. package/dist-types/ts3.4/commands/DeleteRLSPolicyCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/DetachRLSPolicyCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/GetRLSPolicyCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/ListRLSPoliciesCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/ListRLSPolicyAttachmentsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/UpdateRLSPolicyCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  58. package/dist-types/ts3.4/models/errors.d.ts +7 -7
  59. package/dist-types/ts3.4/models/models_0.d.ts +82 -3
  60. package/dist-types/ts3.4/pagination/ListRLSPoliciesPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListRLSPolicyAttachmentsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
  64. package/package.json +1 -1
@@ -8,6 +8,7 @@ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengt
8
8
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
9
  import type { AddLFTagsToResourceCommandInput, AddLFTagsToResourceCommandOutput } from "./commands/AddLFTagsToResourceCommand";
10
10
  import type { AssumeDecoratedRoleWithSAMLCommandInput, AssumeDecoratedRoleWithSAMLCommandOutput } from "./commands/AssumeDecoratedRoleWithSAMLCommand";
11
+ import type { AttachRLSPolicyCommandInput, AttachRLSPolicyCommandOutput } from "./commands/AttachRLSPolicyCommand";
11
12
  import type { BatchGrantPermissionsCommandInput, BatchGrantPermissionsCommandOutput } from "./commands/BatchGrantPermissionsCommand";
12
13
  import type { BatchRevokePermissionsCommandInput, BatchRevokePermissionsCommandOutput } from "./commands/BatchRevokePermissionsCommand";
13
14
  import type { CancelTransactionCommandInput, CancelTransactionCommandOutput } from "./commands/CancelTransactionCommand";
@@ -17,16 +18,19 @@ import type { CreateLakeFormationIdentityCenterConfigurationCommandInput, Create
17
18
  import type { CreateLakeFormationOptInCommandInput, CreateLakeFormationOptInCommandOutput } from "./commands/CreateLakeFormationOptInCommand";
18
19
  import type { CreateLFTagCommandInput, CreateLFTagCommandOutput } from "./commands/CreateLFTagCommand";
19
20
  import type { CreateLFTagExpressionCommandInput, CreateLFTagExpressionCommandOutput } from "./commands/CreateLFTagExpressionCommand";
21
+ import type { CreateRLSPolicyCommandInput, CreateRLSPolicyCommandOutput } from "./commands/CreateRLSPolicyCommand";
20
22
  import type { DeleteDataCellsFilterCommandInput, DeleteDataCellsFilterCommandOutput } from "./commands/DeleteDataCellsFilterCommand";
21
23
  import type { DeleteLakeFormationIdentityCenterConfigurationCommandInput, DeleteLakeFormationIdentityCenterConfigurationCommandOutput } from "./commands/DeleteLakeFormationIdentityCenterConfigurationCommand";
22
24
  import type { DeleteLakeFormationOptInCommandInput, DeleteLakeFormationOptInCommandOutput } from "./commands/DeleteLakeFormationOptInCommand";
23
25
  import type { DeleteLFTagCommandInput, DeleteLFTagCommandOutput } from "./commands/DeleteLFTagCommand";
24
26
  import type { DeleteLFTagExpressionCommandInput, DeleteLFTagExpressionCommandOutput } from "./commands/DeleteLFTagExpressionCommand";
25
27
  import type { DeleteObjectsOnCancelCommandInput, DeleteObjectsOnCancelCommandOutput } from "./commands/DeleteObjectsOnCancelCommand";
28
+ import type { DeleteRLSPolicyCommandInput, DeleteRLSPolicyCommandOutput } from "./commands/DeleteRLSPolicyCommand";
26
29
  import type { DeregisterResourceCommandInput, DeregisterResourceCommandOutput } from "./commands/DeregisterResourceCommand";
27
30
  import type { DescribeLakeFormationIdentityCenterConfigurationCommandInput, DescribeLakeFormationIdentityCenterConfigurationCommandOutput } from "./commands/DescribeLakeFormationIdentityCenterConfigurationCommand";
28
31
  import type { DescribeResourceCommandInput, DescribeResourceCommandOutput } from "./commands/DescribeResourceCommand";
29
32
  import type { DescribeTransactionCommandInput, DescribeTransactionCommandOutput } from "./commands/DescribeTransactionCommand";
33
+ import type { DetachRLSPolicyCommandInput, DetachRLSPolicyCommandOutput } from "./commands/DetachRLSPolicyCommand";
30
34
  import type { ExtendTransactionCommandInput, ExtendTransactionCommandOutput } from "./commands/ExtendTransactionCommand";
31
35
  import type { GetDataCellsFilterCommandInput, GetDataCellsFilterCommandOutput } from "./commands/GetDataCellsFilterCommand";
32
36
  import type { GetDataLakePrincipalCommandInput, GetDataLakePrincipalCommandOutput } from "./commands/GetDataLakePrincipalCommand";
@@ -37,6 +41,7 @@ import type { GetLFTagExpressionCommandInput, GetLFTagExpressionCommandOutput }
37
41
  import type { GetQueryStateCommandInput, GetQueryStateCommandOutput } from "./commands/GetQueryStateCommand";
38
42
  import type { GetQueryStatisticsCommandInput, GetQueryStatisticsCommandOutput } from "./commands/GetQueryStatisticsCommand";
39
43
  import type { GetResourceLFTagsCommandInput, GetResourceLFTagsCommandOutput } from "./commands/GetResourceLFTagsCommand";
44
+ import type { GetRLSPolicyCommandInput, GetRLSPolicyCommandOutput } from "./commands/GetRLSPolicyCommand";
40
45
  import type { GetTableObjectsCommandInput, GetTableObjectsCommandOutput } from "./commands/GetTableObjectsCommand";
41
46
  import type { GetTemporaryDataLocationCredentialsCommandInput, GetTemporaryDataLocationCredentialsCommandOutput } from "./commands/GetTemporaryDataLocationCredentialsCommand";
42
47
  import type { GetTemporaryGluePartitionCredentialsCommandInput, GetTemporaryGluePartitionCredentialsCommandOutput } from "./commands/GetTemporaryGluePartitionCredentialsCommand";
@@ -50,6 +55,8 @@ import type { ListLFTagExpressionsCommandInput, ListLFTagExpressionsCommandOutpu
50
55
  import type { ListLFTagsCommandInput, ListLFTagsCommandOutput } from "./commands/ListLFTagsCommand";
51
56
  import type { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
52
57
  import type { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
58
+ import type { ListRLSPoliciesCommandInput, ListRLSPoliciesCommandOutput } from "./commands/ListRLSPoliciesCommand";
59
+ import type { ListRLSPolicyAttachmentsCommandInput, ListRLSPolicyAttachmentsCommandOutput } from "./commands/ListRLSPolicyAttachmentsCommand";
53
60
  import type { ListTableStorageOptimizersCommandInput, ListTableStorageOptimizersCommandOutput } from "./commands/ListTableStorageOptimizersCommand";
54
61
  import type { ListTransactionsCommandInput, ListTransactionsCommandOutput } from "./commands/ListTransactionsCommand";
55
62
  import type { PutDataLakeSettingsCommandInput, PutDataLakeSettingsCommandOutput } from "./commands/PutDataLakeSettingsCommand";
@@ -65,6 +72,7 @@ import type { UpdateLakeFormationIdentityCenterConfigurationCommandInput, Update
65
72
  import type { UpdateLFTagCommandInput, UpdateLFTagCommandOutput } from "./commands/UpdateLFTagCommand";
66
73
  import type { UpdateLFTagExpressionCommandInput, UpdateLFTagExpressionCommandOutput } from "./commands/UpdateLFTagExpressionCommand";
67
74
  import type { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
75
+ import type { UpdateRLSPolicyCommandInput, UpdateRLSPolicyCommandOutput } from "./commands/UpdateRLSPolicyCommand";
68
76
  import type { UpdateTableObjectsCommandInput, UpdateTableObjectsCommandOutput } from "./commands/UpdateTableObjectsCommand";
69
77
  import type { UpdateTableStorageOptimizerCommandInput, UpdateTableStorageOptimizerCommandOutput } from "./commands/UpdateTableStorageOptimizerCommand";
70
78
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
@@ -73,11 +81,11 @@ export { __Client };
73
81
  /**
74
82
  * @public
75
83
  */
76
- export type ServiceInputTypes = AddLFTagsToResourceCommandInput | AssumeDecoratedRoleWithSAMLCommandInput | BatchGrantPermissionsCommandInput | BatchRevokePermissionsCommandInput | CancelTransactionCommandInput | CommitTransactionCommandInput | CreateDataCellsFilterCommandInput | CreateLFTagCommandInput | CreateLFTagExpressionCommandInput | CreateLakeFormationIdentityCenterConfigurationCommandInput | CreateLakeFormationOptInCommandInput | DeleteDataCellsFilterCommandInput | DeleteLFTagCommandInput | DeleteLFTagExpressionCommandInput | DeleteLakeFormationIdentityCenterConfigurationCommandInput | DeleteLakeFormationOptInCommandInput | DeleteObjectsOnCancelCommandInput | DeregisterResourceCommandInput | DescribeLakeFormationIdentityCenterConfigurationCommandInput | DescribeResourceCommandInput | DescribeTransactionCommandInput | ExtendTransactionCommandInput | GetDataCellsFilterCommandInput | GetDataLakePrincipalCommandInput | GetDataLakeSettingsCommandInput | GetEffectivePermissionsForPathCommandInput | GetLFTagCommandInput | GetLFTagExpressionCommandInput | GetQueryStateCommandInput | GetQueryStatisticsCommandInput | GetResourceLFTagsCommandInput | GetTableObjectsCommandInput | GetTemporaryDataLocationCredentialsCommandInput | GetTemporaryGluePartitionCredentialsCommandInput | GetTemporaryGlueTableCredentialsCommandInput | GetWorkUnitResultsCommandInput | GetWorkUnitsCommandInput | GrantPermissionsCommandInput | ListDataCellsFilterCommandInput | ListLFTagExpressionsCommandInput | ListLFTagsCommandInput | ListLakeFormationOptInsCommandInput | ListPermissionsCommandInput | ListResourcesCommandInput | ListTableStorageOptimizersCommandInput | ListTransactionsCommandInput | PutDataLakeSettingsCommandInput | RegisterResourceCommandInput | RemoveLFTagsFromResourceCommandInput | RevokePermissionsCommandInput | SearchDatabasesByLFTagsCommandInput | SearchTablesByLFTagsCommandInput | StartQueryPlanningCommandInput | StartTransactionCommandInput | UpdateDataCellsFilterCommandInput | UpdateLFTagCommandInput | UpdateLFTagExpressionCommandInput | UpdateLakeFormationIdentityCenterConfigurationCommandInput | UpdateResourceCommandInput | UpdateTableObjectsCommandInput | UpdateTableStorageOptimizerCommandInput;
84
+ export type ServiceInputTypes = AddLFTagsToResourceCommandInput | AssumeDecoratedRoleWithSAMLCommandInput | AttachRLSPolicyCommandInput | BatchGrantPermissionsCommandInput | BatchRevokePermissionsCommandInput | CancelTransactionCommandInput | CommitTransactionCommandInput | CreateDataCellsFilterCommandInput | CreateLFTagCommandInput | CreateLFTagExpressionCommandInput | CreateLakeFormationIdentityCenterConfigurationCommandInput | CreateLakeFormationOptInCommandInput | CreateRLSPolicyCommandInput | DeleteDataCellsFilterCommandInput | DeleteLFTagCommandInput | DeleteLFTagExpressionCommandInput | DeleteLakeFormationIdentityCenterConfigurationCommandInput | DeleteLakeFormationOptInCommandInput | DeleteObjectsOnCancelCommandInput | DeleteRLSPolicyCommandInput | DeregisterResourceCommandInput | DescribeLakeFormationIdentityCenterConfigurationCommandInput | DescribeResourceCommandInput | DescribeTransactionCommandInput | DetachRLSPolicyCommandInput | ExtendTransactionCommandInput | GetDataCellsFilterCommandInput | GetDataLakePrincipalCommandInput | GetDataLakeSettingsCommandInput | GetEffectivePermissionsForPathCommandInput | GetLFTagCommandInput | GetLFTagExpressionCommandInput | GetQueryStateCommandInput | GetQueryStatisticsCommandInput | GetRLSPolicyCommandInput | GetResourceLFTagsCommandInput | GetTableObjectsCommandInput | GetTemporaryDataLocationCredentialsCommandInput | GetTemporaryGluePartitionCredentialsCommandInput | GetTemporaryGlueTableCredentialsCommandInput | GetWorkUnitResultsCommandInput | GetWorkUnitsCommandInput | GrantPermissionsCommandInput | ListDataCellsFilterCommandInput | ListLFTagExpressionsCommandInput | ListLFTagsCommandInput | ListLakeFormationOptInsCommandInput | ListPermissionsCommandInput | ListRLSPoliciesCommandInput | ListRLSPolicyAttachmentsCommandInput | ListResourcesCommandInput | ListTableStorageOptimizersCommandInput | ListTransactionsCommandInput | PutDataLakeSettingsCommandInput | RegisterResourceCommandInput | RemoveLFTagsFromResourceCommandInput | RevokePermissionsCommandInput | SearchDatabasesByLFTagsCommandInput | SearchTablesByLFTagsCommandInput | StartQueryPlanningCommandInput | StartTransactionCommandInput | UpdateDataCellsFilterCommandInput | UpdateLFTagCommandInput | UpdateLFTagExpressionCommandInput | UpdateLakeFormationIdentityCenterConfigurationCommandInput | UpdateRLSPolicyCommandInput | UpdateResourceCommandInput | UpdateTableObjectsCommandInput | UpdateTableStorageOptimizerCommandInput;
77
85
  /**
78
86
  * @public
79
87
  */
80
- export type ServiceOutputTypes = AddLFTagsToResourceCommandOutput | AssumeDecoratedRoleWithSAMLCommandOutput | BatchGrantPermissionsCommandOutput | BatchRevokePermissionsCommandOutput | CancelTransactionCommandOutput | CommitTransactionCommandOutput | CreateDataCellsFilterCommandOutput | CreateLFTagCommandOutput | CreateLFTagExpressionCommandOutput | CreateLakeFormationIdentityCenterConfigurationCommandOutput | CreateLakeFormationOptInCommandOutput | DeleteDataCellsFilterCommandOutput | DeleteLFTagCommandOutput | DeleteLFTagExpressionCommandOutput | DeleteLakeFormationIdentityCenterConfigurationCommandOutput | DeleteLakeFormationOptInCommandOutput | DeleteObjectsOnCancelCommandOutput | DeregisterResourceCommandOutput | DescribeLakeFormationIdentityCenterConfigurationCommandOutput | DescribeResourceCommandOutput | DescribeTransactionCommandOutput | ExtendTransactionCommandOutput | GetDataCellsFilterCommandOutput | GetDataLakePrincipalCommandOutput | GetDataLakeSettingsCommandOutput | GetEffectivePermissionsForPathCommandOutput | GetLFTagCommandOutput | GetLFTagExpressionCommandOutput | GetQueryStateCommandOutput | GetQueryStatisticsCommandOutput | GetResourceLFTagsCommandOutput | GetTableObjectsCommandOutput | GetTemporaryDataLocationCredentialsCommandOutput | GetTemporaryGluePartitionCredentialsCommandOutput | GetTemporaryGlueTableCredentialsCommandOutput | GetWorkUnitResultsCommandOutput | GetWorkUnitsCommandOutput | GrantPermissionsCommandOutput | ListDataCellsFilterCommandOutput | ListLFTagExpressionsCommandOutput | ListLFTagsCommandOutput | ListLakeFormationOptInsCommandOutput | ListPermissionsCommandOutput | ListResourcesCommandOutput | ListTableStorageOptimizersCommandOutput | ListTransactionsCommandOutput | PutDataLakeSettingsCommandOutput | RegisterResourceCommandOutput | RemoveLFTagsFromResourceCommandOutput | RevokePermissionsCommandOutput | SearchDatabasesByLFTagsCommandOutput | SearchTablesByLFTagsCommandOutput | StartQueryPlanningCommandOutput | StartTransactionCommandOutput | UpdateDataCellsFilterCommandOutput | UpdateLFTagCommandOutput | UpdateLFTagExpressionCommandOutput | UpdateLakeFormationIdentityCenterConfigurationCommandOutput | UpdateResourceCommandOutput | UpdateTableObjectsCommandOutput | UpdateTableStorageOptimizerCommandOutput;
88
+ export type ServiceOutputTypes = AddLFTagsToResourceCommandOutput | AssumeDecoratedRoleWithSAMLCommandOutput | AttachRLSPolicyCommandOutput | BatchGrantPermissionsCommandOutput | BatchRevokePermissionsCommandOutput | CancelTransactionCommandOutput | CommitTransactionCommandOutput | CreateDataCellsFilterCommandOutput | CreateLFTagCommandOutput | CreateLFTagExpressionCommandOutput | CreateLakeFormationIdentityCenterConfigurationCommandOutput | CreateLakeFormationOptInCommandOutput | CreateRLSPolicyCommandOutput | DeleteDataCellsFilterCommandOutput | DeleteLFTagCommandOutput | DeleteLFTagExpressionCommandOutput | DeleteLakeFormationIdentityCenterConfigurationCommandOutput | DeleteLakeFormationOptInCommandOutput | DeleteObjectsOnCancelCommandOutput | DeleteRLSPolicyCommandOutput | DeregisterResourceCommandOutput | DescribeLakeFormationIdentityCenterConfigurationCommandOutput | DescribeResourceCommandOutput | DescribeTransactionCommandOutput | DetachRLSPolicyCommandOutput | ExtendTransactionCommandOutput | GetDataCellsFilterCommandOutput | GetDataLakePrincipalCommandOutput | GetDataLakeSettingsCommandOutput | GetEffectivePermissionsForPathCommandOutput | GetLFTagCommandOutput | GetLFTagExpressionCommandOutput | GetQueryStateCommandOutput | GetQueryStatisticsCommandOutput | GetRLSPolicyCommandOutput | GetResourceLFTagsCommandOutput | GetTableObjectsCommandOutput | GetTemporaryDataLocationCredentialsCommandOutput | GetTemporaryGluePartitionCredentialsCommandOutput | GetTemporaryGlueTableCredentialsCommandOutput | GetWorkUnitResultsCommandOutput | GetWorkUnitsCommandOutput | GrantPermissionsCommandOutput | ListDataCellsFilterCommandOutput | ListLFTagExpressionsCommandOutput | ListLFTagsCommandOutput | ListLakeFormationOptInsCommandOutput | ListPermissionsCommandOutput | ListRLSPoliciesCommandOutput | ListRLSPolicyAttachmentsCommandOutput | ListResourcesCommandOutput | ListTableStorageOptimizersCommandOutput | ListTransactionsCommandOutput | PutDataLakeSettingsCommandOutput | RegisterResourceCommandOutput | RemoveLFTagsFromResourceCommandOutput | RevokePermissionsCommandOutput | SearchDatabasesByLFTagsCommandOutput | SearchTablesByLFTagsCommandOutput | StartQueryPlanningCommandOutput | StartTransactionCommandOutput | UpdateDataCellsFilterCommandOutput | UpdateLFTagCommandOutput | UpdateLFTagExpressionCommandOutput | UpdateLakeFormationIdentityCenterConfigurationCommandOutput | UpdateRLSPolicyCommandOutput | UpdateResourceCommandOutput | UpdateTableObjectsCommandOutput | UpdateTableStorageOptimizerCommandOutput;
81
89
  /**
82
90
  * @public
83
91
  */
@@ -96,6 +96,10 @@ declare const AddLFTagsToResourceCommand_base: {
96
96
  * CatalogId: "STRING_VALUE",
97
97
  * Name: "STRING_VALUE", // required
98
98
  * },
99
+ * RLSPolicy: { // RLSPolicyResource
100
+ * CatalogId: "STRING_VALUE",
101
+ * Name: "STRING_VALUE", // required
102
+ * },
99
103
  * },
100
104
  * LFTags: [ // LFTagsList // required
101
105
  * { // LFTagPair
@@ -0,0 +1,166 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { AttachRLSPolicyRequest, AttachRLSPolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link AttachRLSPolicyCommand}.
11
+ */
12
+ export interface AttachRLSPolicyCommandInput extends AttachRLSPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link AttachRLSPolicyCommand}.
18
+ */
19
+ export interface AttachRLSPolicyCommandOutput extends AttachRLSPolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const AttachRLSPolicyCommand_base: {
22
+ new (input: AttachRLSPolicyCommandInput): import("@smithy/core/client").CommandImpl<AttachRLSPolicyCommandInput, AttachRLSPolicyCommandOutput, import("..").LakeFormationClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AttachRLSPolicyCommandInput): import("@smithy/core/client").CommandImpl<AttachRLSPolicyCommandInput, AttachRLSPolicyCommandOutput, import("..").LakeFormationClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Attaches a row-level security policy to a resource for a principal. When the principal queries the resource, Lake Formation applies the policy's filter expression so that only the permitted rows are returned.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LakeFormationClient, AttachRLSPolicyCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
32
+ * // const { LakeFormationClient, AttachRLSPolicyCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
33
+ * // import type { LakeFormationClientConfig } from "@aws-sdk/client-lakeformation";
34
+ * const config = {}; // type is LakeFormationClientConfig
35
+ * const client = new LakeFormationClient(config);
36
+ * const input = { // AttachRLSPolicyRequest
37
+ * Name: "STRING_VALUE", // required
38
+ * Resource: { // Resource
39
+ * Catalog: { // CatalogResource
40
+ * Id: "STRING_VALUE",
41
+ * },
42
+ * Database: { // DatabaseResource
43
+ * CatalogId: "STRING_VALUE",
44
+ * Name: "STRING_VALUE", // required
45
+ * },
46
+ * Table: { // TableResource
47
+ * CatalogId: "STRING_VALUE",
48
+ * DatabaseName: "STRING_VALUE", // required
49
+ * Name: "STRING_VALUE",
50
+ * TableWildcard: {},
51
+ * },
52
+ * TableWithColumns: { // TableWithColumnsResource
53
+ * CatalogId: "STRING_VALUE",
54
+ * DatabaseName: "STRING_VALUE", // required
55
+ * Name: "STRING_VALUE", // required
56
+ * ColumnNames: [ // ColumnNames
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * ColumnWildcard: { // ColumnWildcard
60
+ * ExcludedColumnNames: [
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * },
64
+ * },
65
+ * DataLocation: { // DataLocationResource
66
+ * CatalogId: "STRING_VALUE",
67
+ * ResourceArn: "STRING_VALUE", // required
68
+ * },
69
+ * DataCellsFilter: { // DataCellsFilterResource
70
+ * TableCatalogId: "STRING_VALUE",
71
+ * DatabaseName: "STRING_VALUE",
72
+ * TableName: "STRING_VALUE",
73
+ * Name: "STRING_VALUE",
74
+ * },
75
+ * LFTag: { // LFTagKeyResource
76
+ * CatalogId: "STRING_VALUE",
77
+ * TagKey: "STRING_VALUE", // required
78
+ * TagValues: [ // TagValueList // required
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * },
82
+ * LFTagPolicy: { // LFTagPolicyResource
83
+ * CatalogId: "STRING_VALUE",
84
+ * ResourceType: "DATABASE" || "TABLE", // required
85
+ * Expression: [ // Expression
86
+ * { // LFTag
87
+ * TagKey: "STRING_VALUE", // required
88
+ * TagValues: [ // required
89
+ * "STRING_VALUE",
90
+ * ],
91
+ * },
92
+ * ],
93
+ * ExpressionName: "STRING_VALUE",
94
+ * },
95
+ * LFTagExpression: { // LFTagExpressionResource
96
+ * CatalogId: "STRING_VALUE",
97
+ * Name: "STRING_VALUE", // required
98
+ * },
99
+ * RLSPolicy: { // RLSPolicyResource
100
+ * CatalogId: "STRING_VALUE",
101
+ * Name: "STRING_VALUE", // required
102
+ * },
103
+ * },
104
+ * Principal: { // DataLakePrincipal
105
+ * DataLakePrincipalIdentifier: "STRING_VALUE",
106
+ * },
107
+ * Condition: { // Condition
108
+ * Expression: "STRING_VALUE",
109
+ * },
110
+ * SetDefault: true || false,
111
+ * };
112
+ * const command = new AttachRLSPolicyCommand(input);
113
+ * const response = await client.send(command);
114
+ * // {};
115
+ *
116
+ * ```
117
+ *
118
+ * @param AttachRLSPolicyCommandInput - {@link AttachRLSPolicyCommandInput}
119
+ * @returns {@link AttachRLSPolicyCommandOutput}
120
+ * @see {@link AttachRLSPolicyCommandInput} for command's `input` shape.
121
+ * @see {@link AttachRLSPolicyCommandOutput} for command's `response` shape.
122
+ * @see {@link LakeFormationClientResolvedConfig | config} for LakeFormationClient's `config` shape.
123
+ *
124
+ * @throws {@link AccessDeniedException} (client fault)
125
+ * <p>Access to a resource was denied.</p>
126
+ *
127
+ * @throws {@link AlreadyExistsException} (client fault)
128
+ * <p>A resource to be created or added already exists.</p>
129
+ *
130
+ * @throws {@link ConcurrentModificationException} (client fault)
131
+ * <p>Two processes are trying to modify a resource simultaneously.</p>
132
+ *
133
+ * @throws {@link EntityNotFoundException} (client fault)
134
+ * <p>A specified entity does not exist.</p>
135
+ *
136
+ * @throws {@link InternalServiceException} (server fault)
137
+ * <p>An internal service error occurred.</p>
138
+ *
139
+ * @throws {@link InvalidInputException} (client fault)
140
+ * <p>The input provided was not valid.</p>
141
+ *
142
+ * @throws {@link OperationTimeoutException} (client fault)
143
+ * <p>The operation timed out.</p>
144
+ *
145
+ * @throws {@link ResourceNumberLimitExceededException} (client fault)
146
+ * <p>A resource numerical limit was exceeded.</p>
147
+ *
148
+ * @throws {@link LakeFormationServiceException}
149
+ * <p>Base exception class for all service exceptions from LakeFormation service.</p>
150
+ *
151
+ *
152
+ * @public
153
+ */
154
+ export declare class AttachRLSPolicyCommand extends AttachRLSPolicyCommand_base {
155
+ /** @internal type navigation helper, not in runtime. */
156
+ protected static __types: {
157
+ api: {
158
+ input: AttachRLSPolicyRequest;
159
+ output: {};
160
+ };
161
+ sdk: {
162
+ input: AttachRLSPolicyCommandInput;
163
+ output: AttachRLSPolicyCommandOutput;
164
+ };
165
+ };
166
+ }
@@ -102,6 +102,10 @@ declare const BatchGrantPermissionsCommand_base: {
102
102
  * CatalogId: "STRING_VALUE",
103
103
  * Name: "STRING_VALUE", // required
104
104
  * },
105
+ * RLSPolicy: { // RLSPolicyResource
106
+ * CatalogId: "STRING_VALUE",
107
+ * Name: "STRING_VALUE", // required
108
+ * },
105
109
  * },
106
110
  * Permissions: [ // PermissionList
107
111
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
@@ -186,6 +190,10 @@ declare const BatchGrantPermissionsCommand_base: {
186
190
  * // CatalogId: "STRING_VALUE",
187
191
  * // Name: "STRING_VALUE", // required
188
192
  * // },
193
+ * // RLSPolicy: { // RLSPolicyResource
194
+ * // CatalogId: "STRING_VALUE",
195
+ * // Name: "STRING_VALUE", // required
196
+ * // },
189
197
  * // },
190
198
  * // Permissions: [ // PermissionList
191
199
  * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
@@ -102,6 +102,10 @@ declare const BatchRevokePermissionsCommand_base: {
102
102
  * CatalogId: "STRING_VALUE",
103
103
  * Name: "STRING_VALUE", // required
104
104
  * },
105
+ * RLSPolicy: { // RLSPolicyResource
106
+ * CatalogId: "STRING_VALUE",
107
+ * Name: "STRING_VALUE", // required
108
+ * },
105
109
  * },
106
110
  * Permissions: [ // PermissionList
107
111
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
@@ -186,6 +190,10 @@ declare const BatchRevokePermissionsCommand_base: {
186
190
  * // CatalogId: "STRING_VALUE",
187
191
  * // Name: "STRING_VALUE", // required
188
192
  * // },
193
+ * // RLSPolicy: { // RLSPolicyResource
194
+ * // CatalogId: "STRING_VALUE",
195
+ * // Name: "STRING_VALUE", // required
196
+ * // },
189
197
  * // },
190
198
  * // Permissions: [ // PermissionList
191
199
  * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
@@ -98,6 +98,10 @@ declare const CreateLakeFormationOptInCommand_base: {
98
98
  * CatalogId: "STRING_VALUE",
99
99
  * Name: "STRING_VALUE", // required
100
100
  * },
101
+ * RLSPolicy: { // RLSPolicyResource
102
+ * CatalogId: "STRING_VALUE",
103
+ * Name: "STRING_VALUE", // required
104
+ * },
101
105
  * },
102
106
  * Condition: { // Condition
103
107
  * Expression: "STRING_VALUE",
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateRLSPolicyRequest, CreateRLSPolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateRLSPolicyCommand}.
11
+ */
12
+ export interface CreateRLSPolicyCommandInput extends CreateRLSPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateRLSPolicyCommand}.
18
+ */
19
+ export interface CreateRLSPolicyCommandOutput extends CreateRLSPolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateRLSPolicyCommand_base: {
22
+ new (input: CreateRLSPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateRLSPolicyCommandInput, CreateRLSPolicyCommandOutput, import("..").LakeFormationClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateRLSPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateRLSPolicyCommandInput, CreateRLSPolicyCommandOutput, import("..").LakeFormationClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a row-level security (RLS) policy. A row-level security policy defines a filter expression that Lake Formation evaluates to determine which rows of a table a principal is allowed to see. The policy is created independently of any resource, and is later associated with a resource and principal using <code>AttachRLSPolicy</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LakeFormationClient, CreateRLSPolicyCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
32
+ * // const { LakeFormationClient, CreateRLSPolicyCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
33
+ * // import type { LakeFormationClientConfig } from "@aws-sdk/client-lakeformation";
34
+ * const config = {}; // type is LakeFormationClientConfig
35
+ * const client = new LakeFormationClient(config);
36
+ * const input = { // CreateRLSPolicyRequest
37
+ * Name: "STRING_VALUE", // required
38
+ * AttachmentColumns: [ // ColumnList // required
39
+ * { // Column
40
+ * Name: "STRING_VALUE", // required
41
+ * Type: "STRING_VALUE",
42
+ * },
43
+ * ],
44
+ * FilterExpression: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new CreateRLSPolicyCommand(input);
47
+ * const response = await client.send(command);
48
+ * // {};
49
+ *
50
+ * ```
51
+ *
52
+ * @param CreateRLSPolicyCommandInput - {@link CreateRLSPolicyCommandInput}
53
+ * @returns {@link CreateRLSPolicyCommandOutput}
54
+ * @see {@link CreateRLSPolicyCommandInput} for command's `input` shape.
55
+ * @see {@link CreateRLSPolicyCommandOutput} for command's `response` shape.
56
+ * @see {@link LakeFormationClientResolvedConfig | config} for LakeFormationClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>Access to a resource was denied.</p>
60
+ *
61
+ * @throws {@link AlreadyExistsException} (client fault)
62
+ * <p>A resource to be created or added already exists.</p>
63
+ *
64
+ * @throws {@link ConcurrentModificationException} (client fault)
65
+ * <p>Two processes are trying to modify a resource simultaneously.</p>
66
+ *
67
+ * @throws {@link InternalServiceException} (server fault)
68
+ * <p>An internal service error occurred.</p>
69
+ *
70
+ * @throws {@link InvalidInputException} (client fault)
71
+ * <p>The input provided was not valid.</p>
72
+ *
73
+ * @throws {@link OperationTimeoutException} (client fault)
74
+ * <p>The operation timed out.</p>
75
+ *
76
+ * @throws {@link ResourceNumberLimitExceededException} (client fault)
77
+ * <p>A resource numerical limit was exceeded.</p>
78
+ *
79
+ * @throws {@link LakeFormationServiceException}
80
+ * <p>Base exception class for all service exceptions from LakeFormation service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class CreateRLSPolicyCommand extends CreateRLSPolicyCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: CreateRLSPolicyRequest;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: CreateRLSPolicyCommandInput;
94
+ output: CreateRLSPolicyCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -98,6 +98,10 @@ declare const DeleteLakeFormationOptInCommand_base: {
98
98
  * CatalogId: "STRING_VALUE",
99
99
  * Name: "STRING_VALUE", // required
100
100
  * },
101
+ * RLSPolicy: { // RLSPolicyResource
102
+ * CatalogId: "STRING_VALUE",
103
+ * Name: "STRING_VALUE", // required
104
+ * },
101
105
  * },
102
106
  * Condition: { // Condition
103
107
  * Expression: "STRING_VALUE",
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteRLSPolicyRequest, DeleteRLSPolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteRLSPolicyCommand}.
11
+ */
12
+ export interface DeleteRLSPolicyCommandInput extends DeleteRLSPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteRLSPolicyCommand}.
18
+ */
19
+ export interface DeleteRLSPolicyCommandOutput extends DeleteRLSPolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteRLSPolicyCommand_base: {
22
+ new (input: DeleteRLSPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteRLSPolicyCommandInput, DeleteRLSPolicyCommandOutput, import("..").LakeFormationClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteRLSPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteRLSPolicyCommandInput, DeleteRLSPolicyCommandOutput, import("..").LakeFormationClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a row-level security policy. Any active attachments of the policy are automatically removed as part of the deletion, so you do not need to detach the policy first.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LakeFormationClient, DeleteRLSPolicyCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
32
+ * // const { LakeFormationClient, DeleteRLSPolicyCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
33
+ * // import type { LakeFormationClientConfig } from "@aws-sdk/client-lakeformation";
34
+ * const config = {}; // type is LakeFormationClientConfig
35
+ * const client = new LakeFormationClient(config);
36
+ * const input = { // DeleteRLSPolicyRequest
37
+ * Name: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteRLSPolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteRLSPolicyCommandInput - {@link DeleteRLSPolicyCommandInput}
46
+ * @returns {@link DeleteRLSPolicyCommandOutput}
47
+ * @see {@link DeleteRLSPolicyCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteRLSPolicyCommandOutput} for command's `response` shape.
49
+ * @see {@link LakeFormationClientResolvedConfig | config} for LakeFormationClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>Access to a resource was denied.</p>
53
+ *
54
+ * @throws {@link ConcurrentModificationException} (client fault)
55
+ * <p>Two processes are trying to modify a resource simultaneously.</p>
56
+ *
57
+ * @throws {@link EntityNotFoundException} (client fault)
58
+ * <p>A specified entity does not exist.</p>
59
+ *
60
+ * @throws {@link InternalServiceException} (server fault)
61
+ * <p>An internal service error occurred.</p>
62
+ *
63
+ * @throws {@link InvalidInputException} (client fault)
64
+ * <p>The input provided was not valid.</p>
65
+ *
66
+ * @throws {@link OperationTimeoutException} (client fault)
67
+ * <p>The operation timed out.</p>
68
+ *
69
+ * @throws {@link LakeFormationServiceException}
70
+ * <p>Base exception class for all service exceptions from LakeFormation service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteRLSPolicyCommand extends DeleteRLSPolicyCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteRLSPolicyRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DeleteRLSPolicyCommandInput;
84
+ output: DeleteRLSPolicyCommandOutput;
85
+ };
86
+ };
87
+ }