@aws-sdk/client-lakeformation 3.679.0 → 3.686.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 (55) hide show
  1. package/README.md +41 -1
  2. package/dist-cjs/index.js +240 -0
  3. package/dist-es/LakeFormation.js +10 -0
  4. package/dist-es/commands/CreateLFTagExpressionCommand.js +22 -0
  5. package/dist-es/commands/DeleteLFTagExpressionCommand.js +22 -0
  6. package/dist-es/commands/GetLFTagExpressionCommand.js +22 -0
  7. package/dist-es/commands/ListLFTagExpressionsCommand.js +22 -0
  8. package/dist-es/commands/UpdateLFTagExpressionCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +2 -0
  11. package/dist-es/pagination/ListLFTagExpressionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +137 -0
  14. package/dist-types/LakeFormation.d.ts +36 -0
  15. package/dist-types/LakeFormationClient.d.ts +7 -2
  16. package/dist-types/commands/AddLFTagsToResourceCommand.d.ts +6 -1
  17. package/dist-types/commands/BatchGrantPermissionsCommand.d.ts +16 -6
  18. package/dist-types/commands/BatchRevokePermissionsCommand.d.ts +16 -6
  19. package/dist-types/commands/CreateLFTagExpressionCommand.d.ts +105 -0
  20. package/dist-types/commands/CreateLakeFormationOptInCommand.d.ts +6 -1
  21. package/dist-types/commands/DeleteLFTagExpressionCommand.d.ts +86 -0
  22. package/dist-types/commands/DeleteLakeFormationOptInCommand.d.ts +6 -1
  23. package/dist-types/commands/GetDataLakeSettingsCommand.d.ts +2 -2
  24. package/dist-types/commands/GetEffectivePermissionsForPathCommand.d.ts +8 -3
  25. package/dist-types/commands/GetLFTagExpressionCommand.d.ts +98 -0
  26. package/dist-types/commands/GetResourceLFTagsCommand.d.ts +6 -1
  27. package/dist-types/commands/GetTemporaryGluePartitionCredentialsCommand.d.ts +1 -1
  28. package/dist-types/commands/GetTemporaryGlueTableCredentialsCommand.d.ts +2 -1
  29. package/dist-types/commands/GrantPermissionsCommand.d.ts +8 -3
  30. package/dist-types/commands/ListLFTagExpressionsCommand.d.ts +103 -0
  31. package/dist-types/commands/ListLakeFormationOptInsCommand.d.ts +12 -2
  32. package/dist-types/commands/ListPermissionsCommand.d.ts +15 -5
  33. package/dist-types/commands/PutDataLakeSettingsCommand.d.ts +2 -2
  34. package/dist-types/commands/RegisterResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/RemoveLFTagsFromResourceCommand.d.ts +6 -1
  36. package/dist-types/commands/RevokePermissionsCommand.d.ts +8 -3
  37. package/dist-types/commands/UpdateLFTagExpressionCommand.d.ts +98 -0
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/models/models_0.d.ts +216 -5
  40. package/dist-types/pagination/ListLFTagExpressionsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  43. package/dist-types/ts3.4/LakeFormation.d.ts +86 -0
  44. package/dist-types/ts3.4/LakeFormationClient.d.ts +30 -0
  45. package/dist-types/ts3.4/commands/CreateLFTagExpressionCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DeleteLFTagExpressionCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/GetLFTagExpressionCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/ListLFTagExpressionsCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/UpdateLFTagExpressionCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +53 -1
  52. package/dist-types/ts3.4/pagination/ListLFTagExpressionsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  55. package/package.json +36 -36
@@ -83,7 +83,7 @@ declare const ListLakeFormationOptInsCommand_base: {
83
83
  * LFTagPolicy: { // LFTagPolicyResource
84
84
  * CatalogId: "STRING_VALUE",
85
85
  * ResourceType: "DATABASE" || "TABLE", // required
86
- * Expression: [ // Expression // required
86
+ * Expression: [ // Expression
87
87
  * { // LFTag
88
88
  * TagKey: "STRING_VALUE", // required
89
89
  * TagValues: [ // required
@@ -91,6 +91,11 @@ declare const ListLakeFormationOptInsCommand_base: {
91
91
  * ],
92
92
  * },
93
93
  * ],
94
+ * ExpressionName: "STRING_VALUE",
95
+ * },
96
+ * LFTagExpression: { // LFTagExpressionResource
97
+ * CatalogId: "STRING_VALUE",
98
+ * Name: "STRING_VALUE", // required
94
99
  * },
95
100
  * },
96
101
  * MaxResults: Number("int"),
@@ -146,7 +151,7 @@ declare const ListLakeFormationOptInsCommand_base: {
146
151
  * // LFTagPolicy: { // LFTagPolicyResource
147
152
  * // CatalogId: "STRING_VALUE",
148
153
  * // ResourceType: "DATABASE" || "TABLE", // required
149
- * // Expression: [ // Expression // required
154
+ * // Expression: [ // Expression
150
155
  * // { // LFTag
151
156
  * // TagKey: "STRING_VALUE", // required
152
157
  * // TagValues: [ // required
@@ -154,6 +159,11 @@ declare const ListLakeFormationOptInsCommand_base: {
154
159
  * // ],
155
160
  * // },
156
161
  * // ],
162
+ * // ExpressionName: "STRING_VALUE",
163
+ * // },
164
+ * // LFTagExpression: { // LFTagExpressionResource
165
+ * // CatalogId: "STRING_VALUE",
166
+ * // Name: "STRING_VALUE", // required
157
167
  * // },
158
168
  * // },
159
169
  * // Principal: { // DataLakePrincipal
@@ -41,7 +41,7 @@ declare const ListPermissionsCommand_base: {
41
41
  * Principal: { // DataLakePrincipal
42
42
  * DataLakePrincipalIdentifier: "STRING_VALUE",
43
43
  * },
44
- * ResourceType: "CATALOG" || "DATABASE" || "TABLE" || "DATA_LOCATION" || "LF_TAG" || "LF_TAG_POLICY" || "LF_TAG_POLICY_DATABASE" || "LF_TAG_POLICY_TABLE",
44
+ * ResourceType: "CATALOG" || "DATABASE" || "TABLE" || "DATA_LOCATION" || "LF_TAG" || "LF_TAG_POLICY" || "LF_TAG_POLICY_DATABASE" || "LF_TAG_POLICY_TABLE" || "LF_NAMED_TAG_EXPRESSION",
45
45
  * Resource: { // Resource
46
46
  * Catalog: {},
47
47
  * Database: { // DatabaseResource
@@ -87,7 +87,7 @@ declare const ListPermissionsCommand_base: {
87
87
  * LFTagPolicy: { // LFTagPolicyResource
88
88
  * CatalogId: "STRING_VALUE",
89
89
  * ResourceType: "DATABASE" || "TABLE", // required
90
- * Expression: [ // Expression // required
90
+ * Expression: [ // Expression
91
91
  * { // LFTag
92
92
  * TagKey: "STRING_VALUE", // required
93
93
  * TagValues: [ // required
@@ -95,6 +95,11 @@ declare const ListPermissionsCommand_base: {
95
95
  * ],
96
96
  * },
97
97
  * ],
98
+ * ExpressionName: "STRING_VALUE",
99
+ * },
100
+ * LFTagExpression: { // LFTagExpressionResource
101
+ * CatalogId: "STRING_VALUE",
102
+ * Name: "STRING_VALUE", // required
98
103
  * },
99
104
  * },
100
105
  * NextToken: "STRING_VALUE",
@@ -154,7 +159,7 @@ declare const ListPermissionsCommand_base: {
154
159
  * // LFTagPolicy: { // LFTagPolicyResource
155
160
  * // CatalogId: "STRING_VALUE",
156
161
  * // ResourceType: "DATABASE" || "TABLE", // required
157
- * // Expression: [ // Expression // required
162
+ * // Expression: [ // Expression
158
163
  * // { // LFTag
159
164
  * // TagKey: "STRING_VALUE", // required
160
165
  * // TagValues: [ // required
@@ -162,13 +167,18 @@ declare const ListPermissionsCommand_base: {
162
167
  * // ],
163
168
  * // },
164
169
  * // ],
170
+ * // ExpressionName: "STRING_VALUE",
171
+ * // },
172
+ * // LFTagExpression: { // LFTagExpressionResource
173
+ * // CatalogId: "STRING_VALUE",
174
+ * // Name: "STRING_VALUE", // required
165
175
  * // },
166
176
  * // },
167
177
  * // Permissions: [ // PermissionList
168
- * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION",
178
+ * // "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",
169
179
  * // ],
170
180
  * // PermissionsWithGrantOption: [
171
- * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION",
181
+ * // "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",
172
182
  * // ],
173
183
  * // AdditionalDetails: { // DetailsMap
174
184
  * // ResourceShare: [ // ResourceShareList
@@ -54,7 +54,7 @@ declare const PutDataLakeSettingsCommand_base: {
54
54
  * DataLakePrincipalIdentifier: "STRING_VALUE",
55
55
  * },
56
56
  * Permissions: [ // PermissionList
57
- * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION",
57
+ * "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",
58
58
  * ],
59
59
  * },
60
60
  * ],
@@ -64,7 +64,7 @@ declare const PutDataLakeSettingsCommand_base: {
64
64
  * DataLakePrincipalIdentifier: "STRING_VALUE",
65
65
  * },
66
66
  * Permissions: [
67
- * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION",
67
+ * "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",
68
68
  * ],
69
69
  * },
70
70
  * ],
@@ -31,7 +31,7 @@ declare const RegisterResourceCommand_base: {
31
31
  * <p>To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.</p>
32
32
  * <p>The following request registers a new location and gives Lake Formation permission to use the service-linked role to access that location.</p>
33
33
  * <p>
34
- * <code>ResourceArn = arn:aws:s3:::my-bucket
34
+ * <code>ResourceArn = arn:aws:s3:::my-bucket/
35
35
  * UseServiceLinkedRole = true</code>
36
36
  * </p>
37
37
  * <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>
@@ -81,7 +81,7 @@ declare const RemoveLFTagsFromResourceCommand_base: {
81
81
  * LFTagPolicy: { // LFTagPolicyResource
82
82
  * CatalogId: "STRING_VALUE",
83
83
  * ResourceType: "DATABASE" || "TABLE", // required
84
- * Expression: [ // Expression // required
84
+ * Expression: [ // Expression
85
85
  * { // LFTag
86
86
  * TagKey: "STRING_VALUE", // required
87
87
  * TagValues: [ // required
@@ -89,6 +89,11 @@ declare const RemoveLFTagsFromResourceCommand_base: {
89
89
  * ],
90
90
  * },
91
91
  * ],
92
+ * ExpressionName: "STRING_VALUE",
93
+ * },
94
+ * LFTagExpression: { // LFTagExpressionResource
95
+ * CatalogId: "STRING_VALUE",
96
+ * Name: "STRING_VALUE", // required
92
97
  * },
93
98
  * },
94
99
  * LFTags: [ // LFTagsList // required
@@ -84,7 +84,7 @@ declare const RevokePermissionsCommand_base: {
84
84
  * LFTagPolicy: { // LFTagPolicyResource
85
85
  * CatalogId: "STRING_VALUE",
86
86
  * ResourceType: "DATABASE" || "TABLE", // required
87
- * Expression: [ // Expression // required
87
+ * Expression: [ // Expression
88
88
  * { // LFTag
89
89
  * TagKey: "STRING_VALUE", // required
90
90
  * TagValues: [ // required
@@ -92,13 +92,18 @@ declare const RevokePermissionsCommand_base: {
92
92
  * ],
93
93
  * },
94
94
  * ],
95
+ * ExpressionName: "STRING_VALUE",
96
+ * },
97
+ * LFTagExpression: { // LFTagExpressionResource
98
+ * CatalogId: "STRING_VALUE",
99
+ * Name: "STRING_VALUE", // required
95
100
  * },
96
101
  * },
97
102
  * Permissions: [ // PermissionList // required
98
- * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION",
103
+ * "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",
99
104
  * ],
100
105
  * PermissionsWithGrantOption: [
101
- * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION",
106
+ * "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",
102
107
  * ],
103
108
  * };
104
109
  * const command = new RevokePermissionsCommand(input);
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LakeFormationClient";
4
+ import { UpdateLFTagExpressionRequest, UpdateLFTagExpressionResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLFTagExpressionCommand}.
14
+ */
15
+ export interface UpdateLFTagExpressionCommandInput extends UpdateLFTagExpressionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLFTagExpressionCommand}.
21
+ */
22
+ export interface UpdateLFTagExpressionCommandOutput extends UpdateLFTagExpressionResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateLFTagExpressionCommand_base: {
25
+ new (input: UpdateLFTagExpressionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLFTagExpressionCommandInput, UpdateLFTagExpressionCommandOutput, LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateLFTagExpressionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLFTagExpressionCommandInput, UpdateLFTagExpressionCommandOutput, LakeFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the name of the LF-Tag expression to the new description and expression body provided.
31
+ * Updating a LF-Tag expression immediately changes the permission boundaries of all existing <code>LFTagPolicy</code> permission grants that reference the given LF-Tag expression.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { LakeFormationClient, UpdateLFTagExpressionCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
36
+ * // const { LakeFormationClient, UpdateLFTagExpressionCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
37
+ * const client = new LakeFormationClient(config);
38
+ * const input = { // UpdateLFTagExpressionRequest
39
+ * Name: "STRING_VALUE", // required
40
+ * Description: "STRING_VALUE",
41
+ * CatalogId: "STRING_VALUE",
42
+ * Expression: [ // Expression // required
43
+ * { // LFTag
44
+ * TagKey: "STRING_VALUE", // required
45
+ * TagValues: [ // TagValueList // required
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * ],
50
+ * };
51
+ * const command = new UpdateLFTagExpressionCommand(input);
52
+ * const response = await client.send(command);
53
+ * // {};
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateLFTagExpressionCommandInput - {@link UpdateLFTagExpressionCommandInput}
58
+ * @returns {@link UpdateLFTagExpressionCommandOutput}
59
+ * @see {@link UpdateLFTagExpressionCommandInput} for command's `input` shape.
60
+ * @see {@link UpdateLFTagExpressionCommandOutput} for command's `response` shape.
61
+ * @see {@link LakeFormationClientResolvedConfig | config} for LakeFormationClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>Access to a resource was denied.</p>
65
+ *
66
+ * @throws {@link EntityNotFoundException} (client fault)
67
+ * <p>A specified entity does not exist.</p>
68
+ *
69
+ * @throws {@link InternalServiceException} (server fault)
70
+ * <p>An internal service error occurred.</p>
71
+ *
72
+ * @throws {@link InvalidInputException} (client fault)
73
+ * <p>The input provided was not valid.</p>
74
+ *
75
+ * @throws {@link OperationTimeoutException} (client fault)
76
+ * <p>The operation timed out.</p>
77
+ *
78
+ * @throws {@link ResourceNumberLimitExceededException} (client fault)
79
+ * <p>A resource numerical limit was exceeded.</p>
80
+ *
81
+ * @throws {@link LakeFormationServiceException}
82
+ * <p>Base exception class for all service exceptions from LakeFormation service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class UpdateLFTagExpressionCommand extends UpdateLFTagExpressionCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: UpdateLFTagExpressionRequest;
91
+ output: {};
92
+ };
93
+ sdk: {
94
+ input: UpdateLFTagExpressionCommandInput;
95
+ output: UpdateLFTagExpressionCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -6,10 +6,12 @@ export * from "./CancelTransactionCommand";
6
6
  export * from "./CommitTransactionCommand";
7
7
  export * from "./CreateDataCellsFilterCommand";
8
8
  export * from "./CreateLFTagCommand";
9
+ export * from "./CreateLFTagExpressionCommand";
9
10
  export * from "./CreateLakeFormationIdentityCenterConfigurationCommand";
10
11
  export * from "./CreateLakeFormationOptInCommand";
11
12
  export * from "./DeleteDataCellsFilterCommand";
12
13
  export * from "./DeleteLFTagCommand";
14
+ export * from "./DeleteLFTagExpressionCommand";
13
15
  export * from "./DeleteLakeFormationIdentityCenterConfigurationCommand";
14
16
  export * from "./DeleteLakeFormationOptInCommand";
15
17
  export * from "./DeleteObjectsOnCancelCommand";
@@ -23,6 +25,7 @@ export * from "./GetDataLakePrincipalCommand";
23
25
  export * from "./GetDataLakeSettingsCommand";
24
26
  export * from "./GetEffectivePermissionsForPathCommand";
25
27
  export * from "./GetLFTagCommand";
28
+ export * from "./GetLFTagExpressionCommand";
26
29
  export * from "./GetQueryStateCommand";
27
30
  export * from "./GetQueryStatisticsCommand";
28
31
  export * from "./GetResourceLFTagsCommand";
@@ -33,6 +36,7 @@ export * from "./GetWorkUnitResultsCommand";
33
36
  export * from "./GetWorkUnitsCommand";
34
37
  export * from "./GrantPermissionsCommand";
35
38
  export * from "./ListDataCellsFilterCommand";
39
+ export * from "./ListLFTagExpressionsCommand";
36
40
  export * from "./ListLFTagsCommand";
37
41
  export * from "./ListLakeFormationOptInsCommand";
38
42
  export * from "./ListPermissionsCommand";
@@ -49,6 +53,7 @@ export * from "./StartQueryPlanningCommand";
49
53
  export * from "./StartTransactionCommand";
50
54
  export * from "./UpdateDataCellsFilterCommand";
51
55
  export * from "./UpdateLFTagCommand";
56
+ export * from "./UpdateLFTagExpressionCommand";
52
57
  export * from "./UpdateLakeFormationIdentityCenterConfigurationCommand";
53
58
  export * from "./UpdateResourceCommand";
54
59
  export * from "./UpdateTableObjectsCommand";
@@ -124,6 +124,22 @@ export interface LFTagKeyResource {
124
124
  */
125
125
  TagValues: string[] | undefined;
126
126
  }
127
+ /**
128
+ * <p>A structure containing a LF-Tag expression (keys and values).</p>
129
+ * @public
130
+ */
131
+ export interface LFTagExpressionResource {
132
+ /**
133
+ * <p>The identifier for the Data Catalog. By default, the account ID. </p>
134
+ * @public
135
+ */
136
+ CatalogId?: string;
137
+ /**
138
+ * <p>The name of the LF-Tag expression to grant permissions on.</p>
139
+ * @public
140
+ */
141
+ Name: string | undefined;
142
+ }
127
143
  /**
128
144
  * <p>A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns that do not have the LF-tag 'PII' in tables that have the LF-tag 'Prod'.</p>
129
145
  * @public
@@ -155,7 +171,7 @@ export declare const ResourceType: {
155
171
  */
156
172
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
157
173
  /**
158
- * <p>A structure containing a list of LF-tag conditions that apply to a resource's LF-tag policy.</p>
174
+ * <p>A structure containing a list of LF-tag conditions or saved LF-Tag expressions that apply to a resource's LF-tag policy.</p>
159
175
  * @public
160
176
  */
161
177
  export interface LFTagPolicyResource {
@@ -170,10 +186,17 @@ export interface LFTagPolicyResource {
170
186
  */
171
187
  ResourceType: ResourceType | undefined;
172
188
  /**
173
- * <p>A list of LF-tag conditions that apply to the resource's LF-tag policy.</p>
189
+ * <p>A list of LF-tag conditions or a saved expression that apply to the resource's LF-tag policy.</p>
174
190
  * @public
175
191
  */
176
- Expression: LFTag[] | undefined;
192
+ Expression?: LFTag[];
193
+ /**
194
+ * <p>If provided, permissions are granted to the Data Catalog resources whose assigned LF-Tags
195
+ * match the expression body of the saved expression under the provided
196
+ * <code>ExpressionName</code>.</p>
197
+ * @public
198
+ */
199
+ ExpressionName?: string;
177
200
  }
178
201
  /**
179
202
  * <p>A wildcard object representing every table under a database.</p>
@@ -292,10 +315,15 @@ export interface Resource {
292
315
  */
293
316
  LFTag?: LFTagKeyResource;
294
317
  /**
295
- * <p>A list of LF-tag conditions that define a resource's LF-tag policy.</p>
318
+ * <p>A list of LF-tag conditions or saved LF-Tag expressions that define a resource's LF-tag policy.</p>
296
319
  * @public
297
320
  */
298
321
  LFTagPolicy?: LFTagPolicyResource;
322
+ /**
323
+ * <p>LF-Tag expression resource. A logical expression composed of one or more LF-Tag key:value pairs.</p>
324
+ * @public
325
+ */
326
+ LFTagExpression?: LFTagExpressionResource;
299
327
  }
300
328
  /**
301
329
  * @public
@@ -577,6 +605,7 @@ export declare const Permission: {
577
605
  readonly ASSOCIATE: "ASSOCIATE";
578
606
  readonly CREATE_DATABASE: "CREATE_DATABASE";
579
607
  readonly CREATE_LF_TAG: "CREATE_LF_TAG";
608
+ readonly CREATE_LF_TAG_EXPRESSION: "CREATE_LF_TAG_EXPRESSION";
580
609
  readonly CREATE_TABLE: "CREATE_TABLE";
581
610
  readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
582
611
  readonly DELETE: "DELETE";
@@ -1015,6 +1044,36 @@ export interface CreateLFTagRequest {
1015
1044
  */
1016
1045
  export interface CreateLFTagResponse {
1017
1046
  }
1047
+ /**
1048
+ * @public
1049
+ */
1050
+ export interface CreateLFTagExpressionRequest {
1051
+ /**
1052
+ * <p>A name for the expression.</p>
1053
+ * @public
1054
+ */
1055
+ Name: string | undefined;
1056
+ /**
1057
+ * <p>A description with information about the LF-Tag expression.</p>
1058
+ * @public
1059
+ */
1060
+ Description?: string;
1061
+ /**
1062
+ * <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>
1063
+ * @public
1064
+ */
1065
+ CatalogId?: string;
1066
+ /**
1067
+ * <p>A list of LF-Tag conditions (key-value pairs).</p>
1068
+ * @public
1069
+ */
1070
+ Expression: LFTag[] | undefined;
1071
+ }
1072
+ /**
1073
+ * @public
1074
+ */
1075
+ export interface CreateLFTagExpressionResponse {
1076
+ }
1018
1077
  /**
1019
1078
  * @public
1020
1079
  */
@@ -1103,6 +1162,26 @@ export interface DeleteLFTagRequest {
1103
1162
  */
1104
1163
  export interface DeleteLFTagResponse {
1105
1164
  }
1165
+ /**
1166
+ * @public
1167
+ */
1168
+ export interface DeleteLFTagExpressionRequest {
1169
+ /**
1170
+ * <p>The name for the LF-Tag expression.</p>
1171
+ * @public
1172
+ */
1173
+ Name: string | undefined;
1174
+ /**
1175
+ * <p>The identifier for the Data Catalog. By default, the account ID in which the LF-Tag expression is saved. </p>
1176
+ * @public
1177
+ */
1178
+ CatalogId?: string;
1179
+ }
1180
+ /**
1181
+ * @public
1182
+ */
1183
+ export interface DeleteLFTagExpressionResponse {
1184
+ }
1106
1185
  /**
1107
1186
  * <p>An object that defines an Amazon S3 object to be deleted if a transaction cancels, provided that
1108
1187
  * <code>VirtualPut</code> was called before writing the object.</p>
@@ -1629,6 +1708,46 @@ export interface GetLFTagResponse {
1629
1708
  */
1630
1709
  TagValues?: string[];
1631
1710
  }
1711
+ /**
1712
+ * @public
1713
+ */
1714
+ export interface GetLFTagExpressionRequest {
1715
+ /**
1716
+ * <p>The name for the LF-Tag expression</p>
1717
+ * @public
1718
+ */
1719
+ Name: string | undefined;
1720
+ /**
1721
+ * <p>The identifier for the Data Catalog. By default, the account ID.</p>
1722
+ * @public
1723
+ */
1724
+ CatalogId?: string;
1725
+ }
1726
+ /**
1727
+ * @public
1728
+ */
1729
+ export interface GetLFTagExpressionResponse {
1730
+ /**
1731
+ * <p>The name for the LF-Tag expression. </p>
1732
+ * @public
1733
+ */
1734
+ Name?: string;
1735
+ /**
1736
+ * <p>The description with information about the LF-Tag expression.</p>
1737
+ * @public
1738
+ */
1739
+ Description?: string;
1740
+ /**
1741
+ * <p>The identifier for the Data Catalog. By default, the account ID in which the LF-Tag expression is saved.</p>
1742
+ * @public
1743
+ */
1744
+ CatalogId?: string;
1745
+ /**
1746
+ * <p>The body of the LF-Tag expression. It is composed of one or more LF-Tag key-value pairs.</p>
1747
+ * @public
1748
+ */
1749
+ Expression?: LFTag[];
1750
+ }
1632
1751
  /**
1633
1752
  * @public
1634
1753
  */
@@ -2448,6 +2567,67 @@ export interface ListLakeFormationOptInsResponse {
2448
2567
  */
2449
2568
  NextToken?: string;
2450
2569
  }
2570
+ /**
2571
+ * @public
2572
+ */
2573
+ export interface ListLFTagExpressionsRequest {
2574
+ /**
2575
+ * <p>The identifier for the Data Catalog. By default, the account ID. </p>
2576
+ * @public
2577
+ */
2578
+ CatalogId?: string;
2579
+ /**
2580
+ * <p>The maximum number of results to return.</p>
2581
+ * @public
2582
+ */
2583
+ MaxResults?: number;
2584
+ /**
2585
+ * <p>A continuation token, if this is not the first call to retrieve this list.</p>
2586
+ * @public
2587
+ */
2588
+ NextToken?: string;
2589
+ }
2590
+ /**
2591
+ * <p>A structure consists LF-Tag expression name and catalog ID.</p>
2592
+ * @public
2593
+ */
2594
+ export interface LFTagExpression {
2595
+ /**
2596
+ * <p>The name for saved the LF-Tag expression.</p>
2597
+ * @public
2598
+ */
2599
+ Name?: string;
2600
+ /**
2601
+ * <p>A structure that contains information about the LF-Tag expression.</p>
2602
+ * @public
2603
+ */
2604
+ Description?: string;
2605
+ /**
2606
+ * <p>The identifier for the Data Catalog. By default, the account ID. </p>
2607
+ * @public
2608
+ */
2609
+ CatalogId?: string;
2610
+ /**
2611
+ * <p>A logical expression composed of one or more LF-Tags.</p>
2612
+ * @public
2613
+ */
2614
+ Expression?: LFTag[];
2615
+ }
2616
+ /**
2617
+ * @public
2618
+ */
2619
+ export interface ListLFTagExpressionsResponse {
2620
+ /**
2621
+ * <p>Logical expressions composed of one more LF-Tag key-value pairs.</p>
2622
+ * @public
2623
+ */
2624
+ LFTagExpressions?: LFTagExpression[];
2625
+ /**
2626
+ * <p>A continuation token, if this is not the first call to retrieve this list.</p>
2627
+ * @public
2628
+ */
2629
+ NextToken?: string;
2630
+ }
2451
2631
  /**
2452
2632
  * @public
2453
2633
  * @enum
@@ -2508,6 +2688,7 @@ export declare const DataLakeResourceType: {
2508
2688
  readonly CATALOG: "CATALOG";
2509
2689
  readonly DATABASE: "DATABASE";
2510
2690
  readonly DATA_LOCATION: "DATA_LOCATION";
2691
+ readonly LF_NAMED_TAG_EXPRESSION: "LF_NAMED_TAG_EXPRESSION";
2511
2692
  readonly LF_TAG: "LF_TAG";
2512
2693
  readonly LF_TAG_POLICY: "LF_TAG_POLICY";
2513
2694
  readonly LF_TAG_POLICY_DATABASE: "LF_TAG_POLICY_DATABASE";
@@ -3235,6 +3416,36 @@ export interface UpdateLFTagRequest {
3235
3416
  */
3236
3417
  export interface UpdateLFTagResponse {
3237
3418
  }
3419
+ /**
3420
+ * @public
3421
+ */
3422
+ export interface UpdateLFTagExpressionRequest {
3423
+ /**
3424
+ * <p>The name for the LF-Tag expression.</p>
3425
+ * @public
3426
+ */
3427
+ Name: string | undefined;
3428
+ /**
3429
+ * <p>The description with information about the saved LF-Tag expression.</p>
3430
+ * @public
3431
+ */
3432
+ Description?: string;
3433
+ /**
3434
+ * <p>The identifier for the Data Catalog. By default, the account ID. </p>
3435
+ * @public
3436
+ */
3437
+ CatalogId?: string;
3438
+ /**
3439
+ * <p>The LF-Tag expression body composed of one more LF-Tag key-value pairs.</p>
3440
+ * @public
3441
+ */
3442
+ Expression: LFTag[] | undefined;
3443
+ }
3444
+ /**
3445
+ * @public
3446
+ */
3447
+ export interface UpdateLFTagExpressionResponse {
3448
+ }
3238
3449
  /**
3239
3450
  * @public
3240
3451
  */
@@ -3359,7 +3570,7 @@ export interface UpdateTableStorageOptimizerRequest {
3359
3570
  */
3360
3571
  TableName: string | undefined;
3361
3572
  /**
3362
- * <p>Name of the table for which to enable the storage optimizer.</p>
3573
+ * <p>Name of the configuration for the storage optimizer.</p>
3363
3574
  * @public
3364
3575
  */
3365
3576
  StorageOptimizerConfig: Partial<Record<OptimizerType, Record<string, string>>> | undefined;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListLFTagExpressionsCommandInput, ListLFTagExpressionsCommandOutput } from "../commands/ListLFTagExpressionsCommand";
3
+ import { LakeFormationPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListLFTagExpressions: (config: LakeFormationPaginationConfiguration, input: ListLFTagExpressionsCommandInput, ...rest: any[]) => Paginator<ListLFTagExpressionsCommandOutput>;
@@ -3,6 +3,7 @@ export * from "./GetTableObjectsPaginator";
3
3
  export * from "./GetWorkUnitsPaginator";
4
4
  export * from "./Interfaces";
5
5
  export * from "./ListDataCellsFilterPaginator";
6
+ export * from "./ListLFTagExpressionsPaginator";
6
7
  export * from "./ListLFTagsPaginator";
7
8
  export * from "./ListLakeFormationOptInsPaginator";
8
9
  export * from "./ListPermissionsPaginator";