@aws-sdk/client-lakeformation 3.298.0 → 3.300.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-types/commands/AddLFTagsToResourceCommand.d.ts +67 -0
- package/dist-types/commands/AssumeDecoratedRoleWithSAMLCommand.d.ts +6 -0
- package/dist-types/commands/BatchGrantPermissionsCommand.d.ts +72 -0
- package/dist-types/commands/BatchRevokePermissionsCommand.d.ts +72 -0
- package/dist-types/commands/CancelTransactionCommand.d.ts +3 -0
- package/dist-types/commands/CommitTransactionCommand.d.ts +3 -0
- package/dist-types/commands/CreateDataCellsFilterCommand.d.ts +21 -0
- package/dist-types/commands/CreateLFTagCommand.d.ts +7 -0
- package/dist-types/commands/DeleteDataCellsFilterCommand.d.ts +6 -0
- package/dist-types/commands/DeleteLFTagCommand.d.ts +4 -0
- package/dist-types/commands/DeleteObjectsOnCancelCommand.d.ts +12 -0
- package/dist-types/commands/DeregisterResourceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeResourceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTransactionCommand.d.ts +3 -0
- package/dist-types/commands/ExtendTransactionCommand.d.ts +3 -0
- package/dist-types/commands/GetDataCellsFilterCommand.d.ts +6 -0
- package/dist-types/commands/GetDataLakeSettingsCommand.d.ts +3 -0
- package/dist-types/commands/GetEffectivePermissionsForPathCommand.d.ts +6 -0
- package/dist-types/commands/GetLFTagCommand.d.ts +4 -0
- package/dist-types/commands/GetQueryStateCommand.d.ts +3 -0
- package/dist-types/commands/GetQueryStatisticsCommand.d.ts +3 -0
- package/dist-types/commands/GetResourceLFTagsCommand.d.ts +59 -0
- package/dist-types/commands/GetTableObjectsCommand.d.ts +10 -0
- package/dist-types/commands/GetTemporaryGluePartitionCredentialsCommand.d.ts +18 -0
- package/dist-types/commands/GetTemporaryGlueTableCredentialsCommand.d.ts +13 -0
- package/dist-types/commands/GetWorkUnitResultsCommand.d.ts +5 -0
- package/dist-types/commands/GetWorkUnitsCommand.d.ts +5 -0
- package/dist-types/commands/GrantPermissionsCommand.d.ts +67 -0
- package/dist-types/commands/ListDataCellsFilterCommand.d.ts +10 -0
- package/dist-types/commands/ListLFTagsCommand.d.ts +6 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +65 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +13 -0
- package/dist-types/commands/ListTableStorageOptimizersCommand.d.ts +8 -0
- package/dist-types/commands/ListTransactionsCommand.d.ts +6 -0
- package/dist-types/commands/PutDataLakeSettingsCommand.d.ts +45 -0
- package/dist-types/commands/RegisterResourceCommand.d.ts +5 -0
- package/dist-types/commands/RemoveLFTagsFromResourceCommand.d.ts +67 -0
- package/dist-types/commands/RevokePermissionsCommand.d.ts +67 -0
- package/dist-types/commands/SearchDatabasesByLFTagsCommand.d.ts +13 -0
- package/dist-types/commands/SearchTablesByLFTagsCommand.d.ts +13 -0
- package/dist-types/commands/StartQueryPlanningCommand.d.ts +12 -0
- package/dist-types/commands/StartTransactionCommand.d.ts +3 -0
- package/dist-types/commands/UpdateDataCellsFilterCommand.d.ts +21 -0
- package/dist-types/commands/UpdateLFTagCommand.d.ts +10 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateTableObjectsCommand.d.ts +25 -0
- package/dist-types/commands/UpdateTableStorageOptimizerCommand.d.ts +10 -0
- package/package.json +12 -12
|
@@ -27,6 +27,73 @@ export interface GrantPermissionsCommandOutput extends GrantPermissionsResponse,
|
|
|
27
27
|
* import { LakeFormationClient, GrantPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
28
28
|
* // const { LakeFormationClient, GrantPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
29
29
|
* const client = new LakeFormationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* CatalogId: "STRING_VALUE",
|
|
32
|
+
* Principal: {
|
|
33
|
+
* DataLakePrincipalIdentifier: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* Resource: {
|
|
36
|
+
* Catalog: {},
|
|
37
|
+
* Database: {
|
|
38
|
+
* CatalogId: "STRING_VALUE",
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* Table: {
|
|
42
|
+
* CatalogId: "STRING_VALUE",
|
|
43
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
44
|
+
* Name: "STRING_VALUE",
|
|
45
|
+
* TableWildcard: {},
|
|
46
|
+
* },
|
|
47
|
+
* TableWithColumns: {
|
|
48
|
+
* CatalogId: "STRING_VALUE",
|
|
49
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
50
|
+
* Name: "STRING_VALUE", // required
|
|
51
|
+
* ColumnNames: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* ColumnWildcard: {
|
|
55
|
+
* ExcludedColumnNames: [
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* DataLocation: {
|
|
61
|
+
* CatalogId: "STRING_VALUE",
|
|
62
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* DataCellsFilter: {
|
|
65
|
+
* TableCatalogId: "STRING_VALUE",
|
|
66
|
+
* DatabaseName: "STRING_VALUE",
|
|
67
|
+
* TableName: "STRING_VALUE",
|
|
68
|
+
* Name: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* LFTag: {
|
|
71
|
+
* CatalogId: "STRING_VALUE",
|
|
72
|
+
* TagKey: "STRING_VALUE", // required
|
|
73
|
+
* TagValues: [ // required
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
76
|
+
* },
|
|
77
|
+
* LFTagPolicy: {
|
|
78
|
+
* CatalogId: "STRING_VALUE",
|
|
79
|
+
* ResourceType: "DATABASE" || "TABLE", // required
|
|
80
|
+
* Expression: [ // required
|
|
81
|
+
* {
|
|
82
|
+
* TagKey: "STRING_VALUE", // required
|
|
83
|
+
* TagValues: [ // required
|
|
84
|
+
* "STRING_VALUE",
|
|
85
|
+
* ],
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* Permissions: [ // required
|
|
91
|
+
* "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_TAG" || "ASSOCIATE",
|
|
92
|
+
* ],
|
|
93
|
+
* PermissionsWithGrantOption: [
|
|
94
|
+
* "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_TAG" || "ASSOCIATE",
|
|
95
|
+
* ],
|
|
96
|
+
* };
|
|
30
97
|
* const command = new GrantPermissionsCommand(input);
|
|
31
98
|
* const response = await client.send(command);
|
|
32
99
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface ListDataCellsFilterCommandOutput extends ListDataCellsFilterRes
|
|
|
26
26
|
* import { LakeFormationClient, ListDataCellsFilterCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, ListDataCellsFilterCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Table: {
|
|
31
|
+
* CatalogId: "STRING_VALUE",
|
|
32
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* TableWildcard: {},
|
|
35
|
+
* },
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
29
39
|
* const command = new ListDataCellsFilterCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListLFTagsCommandOutput extends ListLFTagsResponse, __MetadataB
|
|
|
26
26
|
* import { LakeFormationClient, ListLFTagsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, ListLFTagsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CatalogId: "STRING_VALUE",
|
|
31
|
+
* ResourceShareType: "FOREIGN" || "ALL",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListLFTagsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -28,6 +28,71 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
28
28
|
* import { LakeFormationClient, ListPermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
29
29
|
* // const { LakeFormationClient, ListPermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
30
30
|
* const client = new LakeFormationClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CatalogId: "STRING_VALUE",
|
|
33
|
+
* Principal: {
|
|
34
|
+
* DataLakePrincipalIdentifier: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* ResourceType: "CATALOG" || "DATABASE" || "TABLE" || "DATA_LOCATION" || "LF_TAG" || "LF_TAG_POLICY" || "LF_TAG_POLICY_DATABASE" || "LF_TAG_POLICY_TABLE",
|
|
37
|
+
* Resource: {
|
|
38
|
+
* Catalog: {},
|
|
39
|
+
* Database: {
|
|
40
|
+
* CatalogId: "STRING_VALUE",
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* Table: {
|
|
44
|
+
* CatalogId: "STRING_VALUE",
|
|
45
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
46
|
+
* Name: "STRING_VALUE",
|
|
47
|
+
* TableWildcard: {},
|
|
48
|
+
* },
|
|
49
|
+
* TableWithColumns: {
|
|
50
|
+
* CatalogId: "STRING_VALUE",
|
|
51
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
52
|
+
* Name: "STRING_VALUE", // required
|
|
53
|
+
* ColumnNames: [
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* ColumnWildcard: {
|
|
57
|
+
* ExcludedColumnNames: [
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* DataLocation: {
|
|
63
|
+
* CatalogId: "STRING_VALUE",
|
|
64
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* DataCellsFilter: {
|
|
67
|
+
* TableCatalogId: "STRING_VALUE",
|
|
68
|
+
* DatabaseName: "STRING_VALUE",
|
|
69
|
+
* TableName: "STRING_VALUE",
|
|
70
|
+
* Name: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* LFTag: {
|
|
73
|
+
* CatalogId: "STRING_VALUE",
|
|
74
|
+
* TagKey: "STRING_VALUE", // required
|
|
75
|
+
* TagValues: [ // required
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* LFTagPolicy: {
|
|
80
|
+
* CatalogId: "STRING_VALUE",
|
|
81
|
+
* ResourceType: "DATABASE" || "TABLE", // required
|
|
82
|
+
* Expression: [ // required
|
|
83
|
+
* {
|
|
84
|
+
* TagKey: "STRING_VALUE", // required
|
|
85
|
+
* TagValues: [ // required
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* NextToken: "STRING_VALUE",
|
|
93
|
+
* MaxResults: Number("int"),
|
|
94
|
+
* IncludeRelated: "STRING_VALUE",
|
|
95
|
+
* };
|
|
31
96
|
* const command = new ListPermissionsCommand(input);
|
|
32
97
|
* const response = await client.send(command);
|
|
33
98
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface ListResourcesCommandOutput extends ListResourcesResponse, __Met
|
|
|
26
26
|
* import { LakeFormationClient, ListResourcesCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, ListResourcesCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FilterConditionList: [
|
|
31
|
+
* {
|
|
32
|
+
* Field: "RESOURCE_ARN" || "ROLE_ARN" || "LAST_MODIFIED",
|
|
33
|
+
* ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH" || "IN" || "BETWEEN",
|
|
34
|
+
* StringValueList: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
29
42
|
* const command = new ListResourcesCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface ListTableStorageOptimizersCommandOutput extends ListTableStorag
|
|
|
26
26
|
* import { LakeFormationClient, ListTableStorageOptimizersCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, ListTableStorageOptimizersCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CatalogId: "STRING_VALUE",
|
|
31
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
32
|
+
* TableName: "STRING_VALUE", // required
|
|
33
|
+
* StorageOptimizerType: "COMPACTION" || "GARBAGE_COLLECTION" || "ALL",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new ListTableStorageOptimizersCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListTransactionsCommandOutput extends ListTransactionsResponse,
|
|
|
27
27
|
* import { LakeFormationClient, ListTransactionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
28
28
|
* // const { LakeFormationClient, ListTransactionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
29
29
|
* const client = new LakeFormationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* CatalogId: "STRING_VALUE",
|
|
32
|
+
* StatusFilter: "ALL" || "COMPLETED" || "ACTIVE" || "COMMITTED" || "ABORTED",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListTransactionsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,51 @@ export interface PutDataLakeSettingsCommandOutput extends PutDataLakeSettingsRes
|
|
|
27
27
|
* import { LakeFormationClient, PutDataLakeSettingsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
28
28
|
* // const { LakeFormationClient, PutDataLakeSettingsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
29
29
|
* const client = new LakeFormationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* CatalogId: "STRING_VALUE",
|
|
32
|
+
* DataLakeSettings: {
|
|
33
|
+
* DataLakeAdmins: [
|
|
34
|
+
* {
|
|
35
|
+
* DataLakePrincipalIdentifier: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* CreateDatabaseDefaultPermissions: [
|
|
39
|
+
* {
|
|
40
|
+
* Principal: {
|
|
41
|
+
* DataLakePrincipalIdentifier: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* Permissions: [
|
|
44
|
+
* "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_TAG" || "ASSOCIATE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* CreateTableDefaultPermissions: [
|
|
49
|
+
* {
|
|
50
|
+
* Principal: {
|
|
51
|
+
* DataLakePrincipalIdentifier: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* Permissions: [
|
|
54
|
+
* "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_TAG" || "ASSOCIATE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* Parameters: {
|
|
59
|
+
* "<keys>": "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* TrustedResourceOwners: [
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* AllowExternalDataFiltering: true || false,
|
|
65
|
+
* ExternalDataFilteringAllowList: [
|
|
66
|
+
* {
|
|
67
|
+
* DataLakePrincipalIdentifier: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* AuthorizedSessionTagValueList: [
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* };
|
|
30
75
|
* const command = new PutDataLakeSettingsCommand(input);
|
|
31
76
|
* const response = await client.send(command);
|
|
32
77
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface RegisterResourceCommandOutput extends RegisterResourceResponse,
|
|
|
36
36
|
* import { LakeFormationClient, RegisterResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
37
37
|
* // const { LakeFormationClient, RegisterResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
38
38
|
* const client = new LakeFormationClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* UseServiceLinkedRole: true || false,
|
|
42
|
+
* RoleArn: "STRING_VALUE",
|
|
43
|
+
* };
|
|
39
44
|
* const command = new RegisterResourceCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -26,6 +26,73 @@ export interface RemoveLFTagsFromResourceCommandOutput extends RemoveLFTagsFromR
|
|
|
26
26
|
* import { LakeFormationClient, RemoveLFTagsFromResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, RemoveLFTagsFromResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CatalogId: "STRING_VALUE",
|
|
31
|
+
* Resource: {
|
|
32
|
+
* Catalog: {},
|
|
33
|
+
* Database: {
|
|
34
|
+
* CatalogId: "STRING_VALUE",
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* Table: {
|
|
38
|
+
* CatalogId: "STRING_VALUE",
|
|
39
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
40
|
+
* Name: "STRING_VALUE",
|
|
41
|
+
* TableWildcard: {},
|
|
42
|
+
* },
|
|
43
|
+
* TableWithColumns: {
|
|
44
|
+
* CatalogId: "STRING_VALUE",
|
|
45
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
46
|
+
* Name: "STRING_VALUE", // required
|
|
47
|
+
* ColumnNames: [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* ColumnWildcard: {
|
|
51
|
+
* ExcludedColumnNames: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* DataLocation: {
|
|
57
|
+
* CatalogId: "STRING_VALUE",
|
|
58
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* DataCellsFilter: {
|
|
61
|
+
* TableCatalogId: "STRING_VALUE",
|
|
62
|
+
* DatabaseName: "STRING_VALUE",
|
|
63
|
+
* TableName: "STRING_VALUE",
|
|
64
|
+
* Name: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* LFTag: {
|
|
67
|
+
* CatalogId: "STRING_VALUE",
|
|
68
|
+
* TagKey: "STRING_VALUE", // required
|
|
69
|
+
* TagValues: [ // required
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* LFTagPolicy: {
|
|
74
|
+
* CatalogId: "STRING_VALUE",
|
|
75
|
+
* ResourceType: "DATABASE" || "TABLE", // required
|
|
76
|
+
* Expression: [ // required
|
|
77
|
+
* {
|
|
78
|
+
* TagKey: "STRING_VALUE", // required
|
|
79
|
+
* TagValues: [ // required
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* LFTags: [ // required
|
|
87
|
+
* {
|
|
88
|
+
* CatalogId: "STRING_VALUE",
|
|
89
|
+
* TagKey: "STRING_VALUE", // required
|
|
90
|
+
* TagValues: [ // required
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* };
|
|
29
96
|
* const command = new RemoveLFTagsFromResourceCommand(input);
|
|
30
97
|
* const response = await client.send(command);
|
|
31
98
|
* ```
|
|
@@ -26,6 +26,73 @@ export interface RevokePermissionsCommandOutput extends RevokePermissionsRespons
|
|
|
26
26
|
* import { LakeFormationClient, RevokePermissionsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, RevokePermissionsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CatalogId: "STRING_VALUE",
|
|
31
|
+
* Principal: {
|
|
32
|
+
* DataLakePrincipalIdentifier: "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* Resource: {
|
|
35
|
+
* Catalog: {},
|
|
36
|
+
* Database: {
|
|
37
|
+
* CatalogId: "STRING_VALUE",
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* Table: {
|
|
41
|
+
* CatalogId: "STRING_VALUE",
|
|
42
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
43
|
+
* Name: "STRING_VALUE",
|
|
44
|
+
* TableWildcard: {},
|
|
45
|
+
* },
|
|
46
|
+
* TableWithColumns: {
|
|
47
|
+
* CatalogId: "STRING_VALUE",
|
|
48
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
49
|
+
* Name: "STRING_VALUE", // required
|
|
50
|
+
* ColumnNames: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* ColumnWildcard: {
|
|
54
|
+
* ExcludedColumnNames: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* DataLocation: {
|
|
60
|
+
* CatalogId: "STRING_VALUE",
|
|
61
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* DataCellsFilter: {
|
|
64
|
+
* TableCatalogId: "STRING_VALUE",
|
|
65
|
+
* DatabaseName: "STRING_VALUE",
|
|
66
|
+
* TableName: "STRING_VALUE",
|
|
67
|
+
* Name: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* LFTag: {
|
|
70
|
+
* CatalogId: "STRING_VALUE",
|
|
71
|
+
* TagKey: "STRING_VALUE", // required
|
|
72
|
+
* TagValues: [ // required
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* LFTagPolicy: {
|
|
77
|
+
* CatalogId: "STRING_VALUE",
|
|
78
|
+
* ResourceType: "DATABASE" || "TABLE", // required
|
|
79
|
+
* Expression: [ // required
|
|
80
|
+
* {
|
|
81
|
+
* TagKey: "STRING_VALUE", // required
|
|
82
|
+
* TagValues: [ // required
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* Permissions: [ // required
|
|
90
|
+
* "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_TAG" || "ASSOCIATE",
|
|
91
|
+
* ],
|
|
92
|
+
* PermissionsWithGrantOption: [
|
|
93
|
+
* "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_TAG" || "ASSOCIATE",
|
|
94
|
+
* ],
|
|
95
|
+
* };
|
|
29
96
|
* const command = new RevokePermissionsCommand(input);
|
|
30
97
|
* const response = await client.send(command);
|
|
31
98
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface SearchDatabasesByLFTagsCommandOutput extends SearchDatabasesByL
|
|
|
26
26
|
* import { LakeFormationClient, SearchDatabasesByLFTagsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, SearchDatabasesByLFTagsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* CatalogId: "STRING_VALUE",
|
|
33
|
+
* Expression: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* TagKey: "STRING_VALUE", // required
|
|
36
|
+
* TagValues: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new SearchDatabasesByLFTagsCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface SearchTablesByLFTagsCommandOutput extends SearchTablesByLFTagsR
|
|
|
26
26
|
* import { LakeFormationClient, SearchTablesByLFTagsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, SearchTablesByLFTagsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* CatalogId: "STRING_VALUE",
|
|
33
|
+
* Expression: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* TagKey: "STRING_VALUE", // required
|
|
36
|
+
* TagValues: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new SearchTablesByLFTagsCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface StartQueryPlanningCommandOutput extends StartQueryPlanningRespo
|
|
|
27
27
|
* import { LakeFormationClient, StartQueryPlanningCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
28
28
|
* // const { LakeFormationClient, StartQueryPlanningCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
29
29
|
* const client = new LakeFormationClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* QueryPlanningContext: {
|
|
32
|
+
* CatalogId: "STRING_VALUE",
|
|
33
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* QueryAsOfTime: new Date("TIMESTAMP"),
|
|
35
|
+
* QueryParameters: {
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* TransactionId: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* QueryString: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
30
42
|
* const command = new StartQueryPlanningCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StartTransactionCommandOutput extends StartTransactionResponse,
|
|
|
26
26
|
* import { LakeFormationClient, StartTransactionCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, StartTransactionCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TransactionType: "READ_AND_WRITE" || "READ_ONLY",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StartTransactionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface UpdateDataCellsFilterCommandOutput extends UpdateDataCellsFilte
|
|
|
26
26
|
* import { LakeFormationClient, UpdateDataCellsFilterCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, UpdateDataCellsFilterCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TableData: {
|
|
31
|
+
* TableCatalogId: "STRING_VALUE", // required
|
|
32
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
33
|
+
* TableName: "STRING_VALUE", // required
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* RowFilter: {
|
|
36
|
+
* FilterExpression: "STRING_VALUE",
|
|
37
|
+
* AllRowsWildcard: {},
|
|
38
|
+
* },
|
|
39
|
+
* ColumnNames: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* ColumnWildcard: {
|
|
43
|
+
* ExcludedColumnNames: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* VersionId: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
29
50
|
* const command = new UpdateDataCellsFilterCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface UpdateLFTagCommandOutput extends UpdateLFTagResponse, __Metadat
|
|
|
26
26
|
* import { LakeFormationClient, UpdateLFTagCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, UpdateLFTagCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CatalogId: "STRING_VALUE",
|
|
31
|
+
* TagKey: "STRING_VALUE", // required
|
|
32
|
+
* TagValuesToDelete: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* TagValuesToAdd: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
29
39
|
* const command = new UpdateLFTagCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateResourceCommandOutput extends UpdateResourceResponse, __M
|
|
|
26
26
|
* import { LakeFormationClient, UpdateResourceCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, UpdateResourceCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* RoleArn: "STRING_VALUE", // required
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateResourceCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,31 @@ export interface UpdateTableObjectsCommandOutput extends UpdateTableObjectsRespo
|
|
|
26
26
|
* import { LakeFormationClient, UpdateTableObjectsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, UpdateTableObjectsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CatalogId: "STRING_VALUE",
|
|
31
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
32
|
+
* TableName: "STRING_VALUE", // required
|
|
33
|
+
* TransactionId: "STRING_VALUE",
|
|
34
|
+
* WriteOperations: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* AddObject: {
|
|
37
|
+
* Uri: "STRING_VALUE", // required
|
|
38
|
+
* ETag: "STRING_VALUE", // required
|
|
39
|
+
* Size: Number("long"), // required
|
|
40
|
+
* PartitionValues: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* DeleteObject: {
|
|
45
|
+
* Uri: "STRING_VALUE", // required
|
|
46
|
+
* ETag: "STRING_VALUE",
|
|
47
|
+
* PartitionValues: [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
29
54
|
* const command = new UpdateTableObjectsCommand(input);
|
|
30
55
|
* const response = await client.send(command);
|
|
31
56
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface UpdateTableStorageOptimizerCommandOutput extends UpdateTableSto
|
|
|
26
26
|
* import { LakeFormationClient, UpdateTableStorageOptimizerCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
|
|
27
27
|
* // const { LakeFormationClient, UpdateTableStorageOptimizerCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
|
|
28
28
|
* const client = new LakeFormationClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CatalogId: "STRING_VALUE",
|
|
31
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
32
|
+
* TableName: "STRING_VALUE", // required
|
|
33
|
+
* StorageOptimizerConfig: { // required
|
|
34
|
+
* "<keys>": {
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
29
39
|
* const command = new UpdateTableStorageOptimizerCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|