@aws-sdk/client-lakeformation 3.266.0 → 3.267.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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/LakeFormation.d.ts +8 -17
- package/dist-types/commands/DeregisterResourceCommand.d.ts +0 -1
- package/dist-types/commands/ExtendTransactionCommand.d.ts +1 -2
- package/dist-types/commands/GrantPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPermissionsCommand.d.ts +2 -2
- package/dist-types/commands/ListTransactionsCommand.d.ts +1 -1
- package/dist-types/commands/PutDataLakeSettingsCommand.d.ts +1 -2
- package/dist-types/commands/RegisterResourceCommand.d.ts +1 -6
- package/dist-types/commands/StartQueryPlanningCommand.d.ts +1 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +10 -26
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/package.json +31 -31
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lakeformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lakeformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lakeformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://lakeformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lakeformation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lakeformation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lakeformation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://lakeformation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -130,7 +130,6 @@ export declare class LakeFormation extends LakeFormationClient {
|
|
|
130
130
|
deleteObjectsOnCancel(args: DeleteObjectsOnCancelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectsOnCancelCommandOutput) => void): void;
|
|
131
131
|
/**
|
|
132
132
|
* <p>Deregisters the resource as managed by the Data Catalog.</p>
|
|
133
|
-
*
|
|
134
133
|
* <p>When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.</p>
|
|
135
134
|
*/
|
|
136
135
|
deregisterResource(args: DeregisterResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterResourceCommandOutput>;
|
|
@@ -150,8 +149,7 @@ export declare class LakeFormation extends LakeFormationClient {
|
|
|
150
149
|
describeTransaction(args: DescribeTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTransactionCommandOutput) => void): void;
|
|
151
150
|
/**
|
|
152
151
|
* <p>Indicates to the service that the specified transaction is still active and should not be treated as idle and aborted.</p>
|
|
153
|
-
*
|
|
154
|
-
* <p>Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.</p>
|
|
152
|
+
* <p>Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.</p>
|
|
155
153
|
*/
|
|
156
154
|
extendTransaction(args: ExtendTransactionCommandInput, options?: __HttpHandlerOptions): Promise<ExtendTransactionCommandOutput>;
|
|
157
155
|
extendTransaction(args: ExtendTransactionCommandInput, cb: (err: any, data?: ExtendTransactionCommandOutput) => void): void;
|
|
@@ -225,7 +223,7 @@ export declare class LakeFormation extends LakeFormationClient {
|
|
|
225
223
|
getWorkUnits(args: GetWorkUnitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkUnitsCommandOutput) => void): void;
|
|
226
224
|
/**
|
|
227
225
|
* <p>Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.</p>
|
|
228
|
-
*
|
|
226
|
+
* <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
|
|
229
227
|
*/
|
|
230
228
|
grantPermissions(args: GrantPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<GrantPermissionsCommandOutput>;
|
|
231
229
|
grantPermissions(args: GrantPermissionsCommandInput, cb: (err: any, data?: GrantPermissionsCommandOutput) => void): void;
|
|
@@ -244,8 +242,8 @@ export declare class LakeFormation extends LakeFormationClient {
|
|
|
244
242
|
listLFTags(args: ListLFTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLFTagsCommandOutput) => void): void;
|
|
245
243
|
/**
|
|
246
244
|
* <p>Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.</p>
|
|
247
|
-
*
|
|
248
|
-
*
|
|
245
|
+
* <p>This operation returns only those permissions that have been explicitly granted.</p>
|
|
246
|
+
* <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
|
|
249
247
|
*/
|
|
250
248
|
listPermissions(args: ListPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionsCommandOutput>;
|
|
251
249
|
listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
@@ -264,33 +262,27 @@ export declare class LakeFormation extends LakeFormationClient {
|
|
|
264
262
|
listTableStorageOptimizers(args: ListTableStorageOptimizersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTableStorageOptimizersCommandOutput) => void): void;
|
|
265
263
|
/**
|
|
266
264
|
* <p>Returns metadata about transactions and their status. To prevent the response from growing indefinitely, only uncommitted transactions and those available for time-travel queries are returned.</p>
|
|
267
|
-
*
|
|
265
|
+
* <p>This operation can help you identify uncommitted transactions or to get information about transactions.</p>
|
|
268
266
|
*/
|
|
269
267
|
listTransactions(args: ListTransactionsCommandInput, options?: __HttpHandlerOptions): Promise<ListTransactionsCommandOutput>;
|
|
270
268
|
listTransactions(args: ListTransactionsCommandInput, cb: (err: any, data?: ListTransactionsCommandOutput) => void): void;
|
|
271
269
|
listTransactions(args: ListTransactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTransactionsCommandOutput) => void): void;
|
|
272
270
|
/**
|
|
273
271
|
* <p>Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html">Granting Lake Formation Permissions</a>.</p>
|
|
274
|
-
*
|
|
275
|
-
* <p>This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.</p>
|
|
272
|
+
* <p>This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.</p>
|
|
276
273
|
*/
|
|
277
274
|
putDataLakeSettings(args: PutDataLakeSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PutDataLakeSettingsCommandOutput>;
|
|
278
275
|
putDataLakeSettings(args: PutDataLakeSettingsCommandInput, cb: (err: any, data?: PutDataLakeSettingsCommandOutput) => void): void;
|
|
279
276
|
putDataLakeSettings(args: PutDataLakeSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDataLakeSettingsCommandOutput) => void): void;
|
|
280
277
|
/**
|
|
281
278
|
* <p>Registers the resource as managed by the Data Catalog.</p>
|
|
282
|
-
*
|
|
283
279
|
* <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>
|
|
284
|
-
*
|
|
285
280
|
* <p>The following request registers a new location and gives Lake Formation permission to use the service-linked role to access that location.</p>
|
|
286
|
-
*
|
|
287
281
|
* <p>
|
|
288
282
|
* <code>ResourceArn = arn:aws:s3:::my-bucket
|
|
289
283
|
* UseServiceLinkedRole = true</code>
|
|
290
284
|
* </p>
|
|
291
|
-
*
|
|
292
|
-
* <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>
|
|
293
|
-
*
|
|
285
|
+
* <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>
|
|
294
286
|
* <p>
|
|
295
287
|
* <code>arn:aws:iam::12345:role/my-data-access-role</code>
|
|
296
288
|
* </p>
|
|
@@ -324,8 +316,7 @@ export declare class LakeFormation extends LakeFormationClient {
|
|
|
324
316
|
searchTablesByLFTags(args: SearchTablesByLFTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchTablesByLFTagsCommandOutput) => void): void;
|
|
325
317
|
/**
|
|
326
318
|
* <p>Submits a request to process a query statement.</p>
|
|
327
|
-
*
|
|
328
|
-
* <p>This operation generates work units that can be retrieved with the <code>GetWorkUnits</code> operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED.</p>
|
|
319
|
+
* <p>This operation generates work units that can be retrieved with the <code>GetWorkUnits</code> operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED.</p>
|
|
329
320
|
*/
|
|
330
321
|
startQueryPlanning(args: StartQueryPlanningCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryPlanningCommandOutput>;
|
|
331
322
|
startQueryPlanning(args: StartQueryPlanningCommandInput, cb: (err: any, data?: StartQueryPlanningCommandOutput) => void): void;
|
|
@@ -9,7 +9,6 @@ export interface DeregisterResourceCommandOutput extends DeregisterResourceRespo
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deregisters the resource as managed by the Data Catalog.</p>
|
|
12
|
-
*
|
|
13
12
|
* <p>When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.</p>
|
|
14
13
|
* @example
|
|
15
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,8 +9,7 @@ export interface ExtendTransactionCommandOutput extends ExtendTransactionRespons
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Indicates to the service that the specified transaction is still active and should not be treated as idle and aborted.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.</p>
|
|
12
|
+
* <p>Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.</p>
|
|
14
13
|
* @example
|
|
15
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
15
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface GrantPermissionsCommandOutput extends GrantPermissionsResponse,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,8 +9,8 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>This operation returns only those permissions that have been explicitly granted.</p>
|
|
13
|
+
* <p>For information about permissions, see <a href="https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security and Access Control to Metadata and Data</a>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface ListTransactionsCommandOutput extends ListTransactionsResponse,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns metadata about transactions and their status. To prevent the response from growing indefinitely, only uncommitted transactions and those available for time-travel queries are returned.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>This operation can help you identify uncommitted transactions or to get information about transactions.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,8 +9,7 @@ export interface PutDataLakeSettingsCommandOutput extends PutDataLakeSettingsRes
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html">Granting Lake Formation Permissions</a>.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.</p>
|
|
12
|
+
* <p>This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.</p>
|
|
14
13
|
* @example
|
|
15
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
15
|
* ```javascript
|
|
@@ -9,18 +9,13 @@ export interface RegisterResourceCommandOutput extends RegisterResourceResponse,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Registers the resource as managed by the Data Catalog.</p>
|
|
12
|
-
*
|
|
13
12
|
* <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>
|
|
14
|
-
*
|
|
15
13
|
* <p>The following request registers a new location and gives Lake Formation permission to use the service-linked role to access that location.</p>
|
|
16
|
-
*
|
|
17
14
|
* <p>
|
|
18
15
|
* <code>ResourceArn = arn:aws:s3:::my-bucket
|
|
19
16
|
* UseServiceLinkedRole = true</code>
|
|
20
17
|
* </p>
|
|
21
|
-
*
|
|
22
|
-
* <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>
|
|
23
|
-
*
|
|
18
|
+
* <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>
|
|
24
19
|
* <p>
|
|
25
20
|
* <code>arn:aws:iam::12345:role/my-data-access-role</code>
|
|
26
21
|
* </p>
|
|
@@ -9,8 +9,7 @@ export interface StartQueryPlanningCommandOutput extends StartQueryPlanningRespo
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Submits a request to process a query statement.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>This operation generates work units that can be retrieved with the <code>GetWorkUnits</code> operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED.</p>
|
|
12
|
+
* <p>This operation generates work units that can be retrieved with the <code>GetWorkUnits</code> operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED.</p>
|
|
14
13
|
* @example
|
|
15
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
15
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -160,7 +160,6 @@ export interface TableResource {
|
|
|
160
160
|
Name?: string;
|
|
161
161
|
/**
|
|
162
162
|
* <p>A wildcard object representing every table under a database.</p>
|
|
163
|
-
*
|
|
164
163
|
* <p>At least one of <code>TableResource$Name</code> or <code>TableResource$TableWildcard</code> is required.</p>
|
|
165
164
|
*/
|
|
166
165
|
TableWildcard?: TableWildcard;
|
|
@@ -176,7 +175,7 @@ export interface ColumnWildcard {
|
|
|
176
175
|
}
|
|
177
176
|
/**
|
|
178
177
|
* <p>A structure for a table with columns object. This object is only used when granting a SELECT permission.</p>
|
|
179
|
-
*
|
|
178
|
+
* <p>This object must take a value for at least one of <code>ColumnsNames</code>, <code>ColumnsIndexes</code>, or <code>ColumnsWildcard</code>.</p>
|
|
180
179
|
*/
|
|
181
180
|
export interface TableWithColumnsResource {
|
|
182
181
|
/**
|
|
@@ -376,7 +375,7 @@ export interface AddObjectInput {
|
|
|
376
375
|
Size: number | undefined;
|
|
377
376
|
/**
|
|
378
377
|
* <p>A list of partition values for the object. A value must be specified for each partition key associated with the table.</p>
|
|
379
|
-
*
|
|
378
|
+
* <p>The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.</p>
|
|
380
379
|
*/
|
|
381
380
|
PartitionValues?: string[];
|
|
382
381
|
}
|
|
@@ -653,7 +652,6 @@ export interface DataCellsFilter {
|
|
|
653
652
|
ColumnNames?: string[];
|
|
654
653
|
/**
|
|
655
654
|
* <p>A wildcard with exclusions.</p>
|
|
656
|
-
*
|
|
657
655
|
* <p>You must specify either a <code>ColumnNames</code> list or the
|
|
658
656
|
* <code>ColumnWildCard</code>. </p>
|
|
659
657
|
*/
|
|
@@ -890,21 +888,15 @@ export interface DataLakeSettings {
|
|
|
890
888
|
DataLakeAdmins?: DataLakePrincipal[];
|
|
891
889
|
/**
|
|
892
890
|
* <p>Specifies whether access control on newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.</p>
|
|
893
|
-
*
|
|
894
891
|
* <p>A null value indicates access control by Lake Formation permissions. A value that assigns ALL to IAM_ALLOWED_PRINCIPALS indicates access control by IAM permissions. This is referred to as the setting "Use only IAM access control," and is for backward compatibility with the Glue permission model implemented by IAM permissions.</p>
|
|
895
|
-
*
|
|
896
|
-
* <p>The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.</p>
|
|
897
|
-
*
|
|
892
|
+
* <p>The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.</p>
|
|
898
893
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html">Changing the Default Security Settings for Your Data Lake</a>.</p>
|
|
899
894
|
*/
|
|
900
895
|
CreateDatabaseDefaultPermissions?: PrincipalPermissions[];
|
|
901
896
|
/**
|
|
902
897
|
* <p>Specifies whether access control on newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.</p>
|
|
903
|
-
*
|
|
904
898
|
* <p>A null value indicates access control by Lake Formation permissions. A value that assigns ALL to IAM_ALLOWED_PRINCIPALS indicates access control by IAM permissions. This is referred to as the setting "Use only IAM access control," and is for backward compatibility with the Glue permission model implemented by IAM permissions.</p>
|
|
905
|
-
*
|
|
906
|
-
* <p>The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.</p>
|
|
907
|
-
*
|
|
899
|
+
* <p>The only permitted values are an empty array or an array that contains a single JSON object that grants ALL to IAM_ALLOWED_PRINCIPALS.</p>
|
|
908
900
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html">Changing the Default Security Settings for Your Data Lake</a>.</p>
|
|
909
901
|
*/
|
|
910
902
|
CreateTableDefaultPermissions?: PrincipalPermissions[];
|
|
@@ -914,17 +906,13 @@ export interface DataLakeSettings {
|
|
|
914
906
|
Parameters?: Record<string, string>;
|
|
915
907
|
/**
|
|
916
908
|
* <p>A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's CloudTrail log.</p>
|
|
917
|
-
*
|
|
918
|
-
* <p>You may want to specify this property when you are in a high-trust boundary, such as the same team or company. </p>
|
|
909
|
+
* <p>You may want to specify this property when you are in a high-trust boundary, such as the same team or company. </p>
|
|
919
910
|
*/
|
|
920
911
|
TrustedResourceOwners?: string[];
|
|
921
912
|
/**
|
|
922
913
|
* <p>Whether to allow Amazon EMR clusters to access data managed by Lake Formation. </p>
|
|
923
|
-
*
|
|
924
914
|
* <p>If true, you allow Amazon EMR clusters to access data in Amazon S3 locations that are registered with Lake Formation.</p>
|
|
925
|
-
*
|
|
926
915
|
* <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>
|
|
927
|
-
*
|
|
928
916
|
* <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>
|
|
929
917
|
*/
|
|
930
918
|
AllowExternalDataFiltering?: boolean;
|
|
@@ -963,7 +951,6 @@ export interface GetEffectivePermissionsForPathRequest {
|
|
|
963
951
|
}
|
|
964
952
|
/**
|
|
965
953
|
* <p>A structure containing the additional details to be returned in the <code>AdditionalDetails</code> attribute of <code>PrincipalResourcePermissions</code>.</p>
|
|
966
|
-
*
|
|
967
954
|
* <p>If a catalog resource is shared through Resource Access Manager (RAM), then there will exist a corresponding RAM resource share ARN.</p>
|
|
968
955
|
*/
|
|
969
956
|
export interface DetailsMap {
|
|
@@ -1054,8 +1041,7 @@ export interface GetQueryStateResponse {
|
|
|
1054
1041
|
Error?: string;
|
|
1055
1042
|
/**
|
|
1056
1043
|
* <p>The state of a query previously submitted. The possible states are:</p>
|
|
1057
|
-
*
|
|
1058
|
-
* <ul>
|
|
1044
|
+
* <ul>
|
|
1059
1045
|
* <li>
|
|
1060
1046
|
* <p>PENDING: the query is pending.</p>
|
|
1061
1047
|
* </li>
|
|
@@ -1257,7 +1243,7 @@ export interface GetTableObjectsRequest {
|
|
|
1257
1243
|
QueryAsOfTime?: Date;
|
|
1258
1244
|
/**
|
|
1259
1245
|
* <p>A predicate to filter the objects returned based on the partition keys defined in the governed table.</p>
|
|
1260
|
-
*
|
|
1246
|
+
* <ul>
|
|
1261
1247
|
* <li>
|
|
1262
1248
|
* <p>The comparison operators supported are: =, >, <, >=, <=</p>
|
|
1263
1249
|
* </li>
|
|
@@ -1524,7 +1510,7 @@ export interface GrantPermissionsRequest {
|
|
|
1524
1510
|
CatalogId?: string;
|
|
1525
1511
|
/**
|
|
1526
1512
|
* <p>The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles, and they are defined by their principal type and their ARN.</p>
|
|
1527
|
-
*
|
|
1513
|
+
* <p>Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted. </p>
|
|
1528
1514
|
*/
|
|
1529
1515
|
Principal: DataLakePrincipal | undefined;
|
|
1530
1516
|
/**
|
|
@@ -1753,9 +1739,8 @@ export interface StorageOptimizer {
|
|
|
1753
1739
|
Config?: Record<string, string>;
|
|
1754
1740
|
/**
|
|
1755
1741
|
* <p>A message that contains information about any error (if present).</p>
|
|
1756
|
-
*
|
|
1757
|
-
*
|
|
1758
|
-
* <p>When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".</p>
|
|
1742
|
+
* <p>When an acceleration result has an enabled status, the error message is empty.</p>
|
|
1743
|
+
* <p>When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".</p>
|
|
1759
1744
|
*/
|
|
1760
1745
|
ErrorMessage?: string;
|
|
1761
1746
|
/**
|
|
@@ -1831,7 +1816,6 @@ export interface RegisterResourceRequest {
|
|
|
1831
1816
|
ResourceArn: string | undefined;
|
|
1832
1817
|
/**
|
|
1833
1818
|
* <p>Designates an Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.</p>
|
|
1834
|
-
*
|
|
1835
1819
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html">Using Service-Linked Roles for Lake Formation</a>.</p>
|
|
1836
1820
|
*/
|
|
1837
1821
|
UseServiceLinkedRole?: boolean;
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lakeformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.267.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.267.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.267.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.267.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.267.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.267.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.267.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.267.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.267.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.267.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.267.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.267.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.267.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.267.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.267.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.267.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.267.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.267.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.267.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.267.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.267.0",
|
|
43
|
+
"@aws-sdk/types": "3.267.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.267.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
53
|
-
"@aws-sdk/util-stream-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.267.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.267.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.267.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.267.0",
|
|
52
|
+
"@aws-sdk/util-stream-browser": "3.267.0",
|
|
53
|
+
"@aws-sdk/util-stream-node": "3.267.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.267.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.267.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
57
57
|
"tslib": "^2.3.1"
|
|
58
58
|
},
|