@aws-sdk/client-lakeformation 3.40.0 → 3.44.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/CHANGELOG.md +38 -0
- package/README.md +2 -2
- package/dist-cjs/LakeFormation.js +285 -0
- package/dist-cjs/commands/AddLFTagsToResourceCommand.js +3 -3
- package/dist-cjs/commands/BatchGrantPermissionsCommand.js +3 -3
- package/dist-cjs/commands/BatchRevokePermissionsCommand.js +3 -3
- package/dist-cjs/commands/CancelTransactionCommand.js +36 -0
- package/dist-cjs/commands/CommitTransactionCommand.js +36 -0
- package/dist-cjs/commands/CreateDataCellsFilterCommand.js +36 -0
- package/dist-cjs/commands/CreateLFTagCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataCellsFilterCommand.js +36 -0
- package/dist-cjs/commands/DeleteLFTagCommand.js +3 -3
- package/dist-cjs/commands/DeleteObjectsOnCancelCommand.js +36 -0
- package/dist-cjs/commands/DeregisterResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransactionCommand.js +36 -0
- package/dist-cjs/commands/ExtendTransactionCommand.js +36 -0
- package/dist-cjs/commands/GetDataLakeSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetEffectivePermissionsForPathCommand.js +3 -3
- package/dist-cjs/commands/GetLFTagCommand.js +3 -3
- package/dist-cjs/commands/GetQueryStateCommand.js +36 -0
- package/dist-cjs/commands/GetQueryStatisticsCommand.js +36 -0
- package/dist-cjs/commands/GetResourceLFTagsCommand.js +3 -3
- package/dist-cjs/commands/GetTableObjectsCommand.js +36 -0
- package/dist-cjs/commands/GetWorkUnitResultsCommand.js +36 -0
- package/dist-cjs/commands/GetWorkUnitsCommand.js +36 -0
- package/dist-cjs/commands/GrantPermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListDataCellsFilterCommand.js +36 -0
- package/dist-cjs/commands/ListLFTagsCommand.js +3 -3
- package/dist-cjs/commands/ListPermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListTableStorageOptimizersCommand.js +36 -0
- package/dist-cjs/commands/ListTransactionsCommand.js +36 -0
- package/dist-cjs/commands/PutDataLakeSettingsCommand.js +3 -3
- package/dist-cjs/commands/RegisterResourceCommand.js +3 -3
- package/dist-cjs/commands/RemoveLFTagsFromResourceCommand.js +3 -3
- package/dist-cjs/commands/RevokePermissionsCommand.js +3 -3
- package/dist-cjs/commands/SearchDatabasesByLFTagsCommand.js +3 -3
- package/dist-cjs/commands/SearchTablesByLFTagsCommand.js +3 -3
- package/dist-cjs/commands/StartQueryPlanningCommand.js +36 -0
- package/dist-cjs/commands/StartTransactionCommand.js +36 -0
- package/dist-cjs/commands/UpdateLFTagCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableObjectsCommand.js +36 -0
- package/dist-cjs/commands/UpdateTableStorageOptimizerCommand.js +36 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoints.js +8 -0
- package/dist-cjs/models/models_0.js +417 -6
- package/dist-cjs/pagination/GetTableObjectsPaginator.js +35 -0
- package/dist-cjs/pagination/GetWorkUnitsPaginator.js +35 -0
- package/dist-cjs/pagination/ListDataCellsFilterPaginator.js +35 -0
- package/dist-cjs/pagination/ListLFTagsPaginator.js +35 -0
- package/dist-cjs/pagination/ListTableStorageOptimizersPaginator.js +35 -0
- package/dist-cjs/pagination/ListTransactionsPaginator.js +35 -0
- package/dist-cjs/pagination/SearchDatabasesByLFTagsPaginator.js +35 -0
- package/dist-cjs/pagination/SearchTablesByLFTagsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +5676 -0
- package/dist-es/LakeFormation.js +285 -0
- package/dist-es/commands/AddLFTagsToResourceCommand.js +3 -3
- package/dist-es/commands/BatchGrantPermissionsCommand.js +3 -3
- package/dist-es/commands/BatchRevokePermissionsCommand.js +3 -3
- package/dist-es/commands/CancelTransactionCommand.js +39 -0
- package/dist-es/commands/CommitTransactionCommand.js +39 -0
- package/dist-es/commands/CreateDataCellsFilterCommand.js +39 -0
- package/dist-es/commands/CreateLFTagCommand.js +3 -3
- package/dist-es/commands/DeleteDataCellsFilterCommand.js +39 -0
- package/dist-es/commands/DeleteLFTagCommand.js +3 -3
- package/dist-es/commands/DeleteObjectsOnCancelCommand.js +39 -0
- package/dist-es/commands/DeregisterResourceCommand.js +3 -3
- package/dist-es/commands/DescribeResourceCommand.js +3 -3
- package/dist-es/commands/DescribeTransactionCommand.js +39 -0
- package/dist-es/commands/ExtendTransactionCommand.js +39 -0
- package/dist-es/commands/GetDataLakeSettingsCommand.js +3 -3
- package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +3 -3
- package/dist-es/commands/GetLFTagCommand.js +3 -3
- package/dist-es/commands/GetQueryStateCommand.js +39 -0
- package/dist-es/commands/GetQueryStatisticsCommand.js +39 -0
- package/dist-es/commands/GetResourceLFTagsCommand.js +3 -3
- package/dist-es/commands/GetTableObjectsCommand.js +39 -0
- package/dist-es/commands/GetWorkUnitResultsCommand.js +39 -0
- package/dist-es/commands/GetWorkUnitsCommand.js +39 -0
- package/dist-es/commands/GrantPermissionsCommand.js +3 -3
- package/dist-es/commands/ListDataCellsFilterCommand.js +39 -0
- package/dist-es/commands/ListLFTagsCommand.js +3 -3
- package/dist-es/commands/ListPermissionsCommand.js +3 -3
- package/dist-es/commands/ListResourcesCommand.js +3 -3
- package/dist-es/commands/ListTableStorageOptimizersCommand.js +39 -0
- package/dist-es/commands/ListTransactionsCommand.js +39 -0
- package/dist-es/commands/PutDataLakeSettingsCommand.js +3 -3
- package/dist-es/commands/RegisterResourceCommand.js +3 -3
- package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +3 -3
- package/dist-es/commands/RevokePermissionsCommand.js +3 -3
- package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +3 -3
- package/dist-es/commands/SearchTablesByLFTagsCommand.js +3 -3
- package/dist-es/commands/StartQueryPlanningCommand.js +39 -0
- package/dist-es/commands/StartTransactionCommand.js +39 -0
- package/dist-es/commands/UpdateLFTagCommand.js +3 -3
- package/dist-es/commands/UpdateResourceCommand.js +3 -3
- package/dist-es/commands/UpdateTableObjectsCommand.js +39 -0
- package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +39 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/endpoints.js +8 -0
- package/dist-es/models/models_0.js +287 -4
- package/dist-es/pagination/GetTableObjectsPaginator.js +74 -0
- package/dist-es/pagination/GetWorkUnitsPaginator.js +74 -0
- package/dist-es/pagination/ListDataCellsFilterPaginator.js +74 -0
- package/dist-es/pagination/ListLFTagsPaginator.js +74 -0
- package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +74 -0
- package/dist-es/pagination/ListTransactionsPaginator.js +74 -0
- package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +74 -0
- package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +74 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +6231 -0
- package/dist-types/LakeFormation.d.ts +160 -15
- package/dist-types/LakeFormationClient.d.ts +23 -4
- package/dist-types/commands/AddLFTagsToResourceCommand.d.ts +2 -2
- package/dist-types/commands/BatchGrantPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/BatchRevokePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/CancelTransactionCommand.d.ts +35 -0
- package/dist-types/commands/CommitTransactionCommand.d.ts +35 -0
- package/dist-types/commands/CreateDataCellsFilterCommand.d.ts +35 -0
- package/dist-types/commands/CreateLFTagCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDataCellsFilterCommand.d.ts +35 -0
- package/dist-types/commands/DeleteLFTagCommand.d.ts +2 -2
- package/dist-types/commands/DeleteObjectsOnCancelCommand.d.ts +42 -0
- package/dist-types/commands/DeregisterResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTransactionCommand.d.ts +35 -0
- package/dist-types/commands/ExtendTransactionCommand.d.ts +37 -0
- package/dist-types/commands/GetDataLakeSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetEffectivePermissionsForPathCommand.d.ts +1 -1
- package/dist-types/commands/GetLFTagCommand.d.ts +2 -2
- package/dist-types/commands/GetQueryStateCommand.d.ts +35 -0
- package/dist-types/commands/GetQueryStatisticsCommand.d.ts +35 -0
- package/dist-types/commands/GetResourceLFTagsCommand.d.ts +2 -2
- package/dist-types/commands/GetTableObjectsCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkUnitResultsCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkUnitsCommand.d.ts +35 -0
- package/dist-types/commands/GrantPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataCellsFilterCommand.d.ts +35 -0
- package/dist-types/commands/ListLFTagsCommand.d.ts +2 -2
- package/dist-types/commands/ListPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListTableStorageOptimizersCommand.d.ts +35 -0
- package/dist-types/commands/ListTransactionsCommand.d.ts +36 -0
- package/dist-types/commands/PutDataLakeSettingsCommand.d.ts +1 -1
- package/dist-types/commands/RegisterResourceCommand.d.ts +3 -3
- package/dist-types/commands/RemoveLFTagsFromResourceCommand.d.ts +2 -2
- package/dist-types/commands/RevokePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/SearchDatabasesByLFTagsCommand.d.ts +1 -1
- package/dist-types/commands/SearchTablesByLFTagsCommand.d.ts +2 -2
- package/dist-types/commands/StartQueryPlanningCommand.d.ts +37 -0
- package/dist-types/commands/StartTransactionCommand.d.ts +35 -0
- package/dist-types/commands/UpdateLFTagCommand.d.ts +2 -2
- package/dist-types/commands/UpdateResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTableObjectsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateTableStorageOptimizerCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/models/models_0.d.ts +1475 -234
- package/dist-types/pagination/GetTableObjectsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetWorkUnitsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDataCellsFilterPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLFTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTableStorageOptimizersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTransactionsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchDatabasesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchTablesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +128 -0
- package/dist-types/ts3.4/LakeFormation.d.ts +95 -0
- package/dist-types/ts3.4/LakeFormationClient.d.ts +21 -2
- package/dist-types/ts3.4/commands/CancelTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CommitTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDataCellsFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDataCellsFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectsOnCancelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExtendTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTableObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWorkUnitResultsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWorkUnitsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataCellsFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTableStorageOptimizersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTransactionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartQueryPlanningCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTransactionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTableObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTableStorageOptimizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/models/models_0.d.ts +745 -7
- package/dist-types/ts3.4/pagination/GetTableObjectsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetWorkUnitsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDataCellsFilterPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListLFTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTableStorageOptimizersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTransactionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchDatabasesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchTablesByLFTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +128 -0
- package/package.json +4 -4
- package/dist-cjs/protocols/Aws_json1_1.js +0 -3153
- package/dist-es/protocols/Aws_json1_1.js +0 -3221
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -71
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -71
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
3
|
+
import { Readable } from "stream";
|
|
2
4
|
/**
|
|
3
5
|
* <p>Access to a resource was denied.</p>
|
|
4
6
|
*/
|
|
@@ -17,15 +19,15 @@ export declare namespace AccessDeniedException {
|
|
|
17
19
|
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
|
-
* <p>A structure containing
|
|
22
|
+
* <p>A structure containing an LF-tag key-value pair.</p>
|
|
21
23
|
*/
|
|
22
24
|
export interface LFTagPair {
|
|
23
25
|
/**
|
|
24
|
-
* <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
|
|
26
|
+
* <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>
|
|
25
27
|
*/
|
|
26
28
|
CatalogId?: string;
|
|
27
29
|
/**
|
|
28
|
-
* <p>The key-name for the tag.</p>
|
|
30
|
+
* <p>The key-name for the LF-tag.</p>
|
|
29
31
|
*/
|
|
30
32
|
TagKey: string | undefined;
|
|
31
33
|
/**
|
|
@@ -69,12 +71,39 @@ export declare namespace DatabaseResource {
|
|
|
69
71
|
*/
|
|
70
72
|
const filterSensitiveLog: (obj: DatabaseResource) => any;
|
|
71
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>A structure for a data cells filter resource. </p>
|
|
76
|
+
*/
|
|
77
|
+
export interface DataCellsFilterResource {
|
|
78
|
+
/**
|
|
79
|
+
* <p>The ID of the catalog to which the table belongs.</p>
|
|
80
|
+
*/
|
|
81
|
+
TableCatalogId?: string;
|
|
82
|
+
/**
|
|
83
|
+
* <p>A database in the Glue Data Catalog.</p>
|
|
84
|
+
*/
|
|
85
|
+
DatabaseName?: string;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The name of the table.</p>
|
|
88
|
+
*/
|
|
89
|
+
TableName?: string;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The name of the data cells filter. </p>
|
|
92
|
+
*/
|
|
93
|
+
Name?: string;
|
|
94
|
+
}
|
|
95
|
+
export declare namespace DataCellsFilterResource {
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
const filterSensitiveLog: (obj: DataCellsFilterResource) => any;
|
|
100
|
+
}
|
|
72
101
|
/**
|
|
73
102
|
* <p>A structure for a data location object where permissions are granted or revoked. </p>
|
|
74
103
|
*/
|
|
75
104
|
export interface DataLocationResource {
|
|
76
105
|
/**
|
|
77
|
-
* <p>The identifier for the Data Catalog where the location is registered with
|
|
106
|
+
* <p>The identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller.</p>
|
|
78
107
|
*/
|
|
79
108
|
CatalogId?: string;
|
|
80
109
|
/**
|
|
@@ -89,15 +118,15 @@ export declare namespace DataLocationResource {
|
|
|
89
118
|
const filterSensitiveLog: (obj: DataLocationResource) => any;
|
|
90
119
|
}
|
|
91
120
|
/**
|
|
92
|
-
* <p>A structure containing
|
|
121
|
+
* <p>A structure containing an LF-tag key and values for a resource.</p>
|
|
93
122
|
*/
|
|
94
123
|
export interface LFTagKeyResource {
|
|
95
124
|
/**
|
|
96
|
-
* <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
|
|
125
|
+
* <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>
|
|
97
126
|
*/
|
|
98
127
|
CatalogId?: string;
|
|
99
128
|
/**
|
|
100
|
-
* <p>The key-name for the tag.</p>
|
|
129
|
+
* <p>The key-name for the LF-tag.</p>
|
|
101
130
|
*/
|
|
102
131
|
TagKey: string | undefined;
|
|
103
132
|
/**
|
|
@@ -112,11 +141,11 @@ export declare namespace LFTagKeyResource {
|
|
|
112
141
|
const filterSensitiveLog: (obj: LFTagKeyResource) => any;
|
|
113
142
|
}
|
|
114
143
|
/**
|
|
115
|
-
* <p>A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns not
|
|
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>
|
|
116
145
|
*/
|
|
117
146
|
export interface LFTag {
|
|
118
147
|
/**
|
|
119
|
-
* <p>The key-name for the tag.</p>
|
|
148
|
+
* <p>The key-name for the LF-tag.</p>
|
|
120
149
|
*/
|
|
121
150
|
TagKey: string | undefined;
|
|
122
151
|
/**
|
|
@@ -135,19 +164,19 @@ export declare enum ResourceType {
|
|
|
135
164
|
TABLE = "TABLE"
|
|
136
165
|
}
|
|
137
166
|
/**
|
|
138
|
-
* <p>A structure containing a list of tag conditions that apply to a resource's tag policy.</p>
|
|
167
|
+
* <p>A structure containing a list of LF-tag conditions that apply to a resource's LF-tag policy.</p>
|
|
139
168
|
*/
|
|
140
169
|
export interface LFTagPolicyResource {
|
|
141
170
|
/**
|
|
142
|
-
* <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
|
|
171
|
+
* <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>
|
|
143
172
|
*/
|
|
144
173
|
CatalogId?: string;
|
|
145
174
|
/**
|
|
146
|
-
* <p>The resource type for which the tag policy applies.</p>
|
|
175
|
+
* <p>The resource type for which the LF-tag policy applies.</p>
|
|
147
176
|
*/
|
|
148
177
|
ResourceType: ResourceType | string | undefined;
|
|
149
178
|
/**
|
|
150
|
-
* <p>A list of tag conditions that apply to the resource's tag policy.</p>
|
|
179
|
+
* <p>A list of LF-tag conditions that apply to the resource's LF-tag policy.</p>
|
|
151
180
|
*/
|
|
152
181
|
Expression: LFTag[] | undefined;
|
|
153
182
|
}
|
|
@@ -249,7 +278,7 @@ export declare namespace TableWithColumnsResource {
|
|
|
249
278
|
*/
|
|
250
279
|
export interface Resource {
|
|
251
280
|
/**
|
|
252
|
-
* <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
|
|
281
|
+
* <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>
|
|
253
282
|
*/
|
|
254
283
|
Catalog?: CatalogResource;
|
|
255
284
|
/**
|
|
@@ -269,11 +298,15 @@ export interface Resource {
|
|
|
269
298
|
*/
|
|
270
299
|
DataLocation?: DataLocationResource;
|
|
271
300
|
/**
|
|
272
|
-
* <p>
|
|
301
|
+
* <p>A data cell filter.</p>
|
|
302
|
+
*/
|
|
303
|
+
DataCellsFilter?: DataCellsFilterResource;
|
|
304
|
+
/**
|
|
305
|
+
* <p>The LF-tag key and values attached to a resource.</p>
|
|
273
306
|
*/
|
|
274
307
|
LFTag?: LFTagKeyResource;
|
|
275
308
|
/**
|
|
276
|
-
* <p>A list of tag conditions that define a resource's tag policy.</p>
|
|
309
|
+
* <p>A list of LF-tag conditions that define a resource's LF-tag policy.</p>
|
|
277
310
|
*/
|
|
278
311
|
LFTagPolicy?: LFTagPolicyResource;
|
|
279
312
|
}
|
|
@@ -285,15 +318,15 @@ export declare namespace Resource {
|
|
|
285
318
|
}
|
|
286
319
|
export interface AddLFTagsToResourceRequest {
|
|
287
320
|
/**
|
|
288
|
-
* <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
|
|
321
|
+
* <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>
|
|
289
322
|
*/
|
|
290
323
|
CatalogId?: string;
|
|
291
324
|
/**
|
|
292
|
-
* <p>The resource to which to attach
|
|
325
|
+
* <p>The database, table, or column resource to which to attach an LF-tag.</p>
|
|
293
326
|
*/
|
|
294
327
|
Resource: Resource | undefined;
|
|
295
328
|
/**
|
|
296
|
-
* <p>The tags to attach to the resource.</p>
|
|
329
|
+
* <p>The LF-tags to attach to the resource.</p>
|
|
297
330
|
*/
|
|
298
331
|
LFTags: LFTagPair[] | undefined;
|
|
299
332
|
}
|
|
@@ -327,11 +360,11 @@ export declare namespace ErrorDetail {
|
|
|
327
360
|
*/
|
|
328
361
|
export interface LFTagError {
|
|
329
362
|
/**
|
|
330
|
-
* <p>The key-name of the tag.</p>
|
|
363
|
+
* <p>The key-name of the LF-tag.</p>
|
|
331
364
|
*/
|
|
332
365
|
LFTag?: LFTagPair;
|
|
333
366
|
/**
|
|
334
|
-
* <p>An error that occurred with the attachment or detachment of the tag.</p>
|
|
367
|
+
* <p>An error that occurred with the attachment or detachment of the LF-tag.</p>
|
|
335
368
|
*/
|
|
336
369
|
Error?: ErrorDetail;
|
|
337
370
|
}
|
|
@@ -438,6 +471,45 @@ export declare namespace OperationTimeoutException {
|
|
|
438
471
|
*/
|
|
439
472
|
const filterSensitiveLog: (obj: OperationTimeoutException) => any;
|
|
440
473
|
}
|
|
474
|
+
/**
|
|
475
|
+
* <p>A new object to add to the governed table.</p>
|
|
476
|
+
*/
|
|
477
|
+
export interface AddObjectInput {
|
|
478
|
+
/**
|
|
479
|
+
* <p>The Amazon S3 location of the object.</p>
|
|
480
|
+
*/
|
|
481
|
+
Uri: string | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* <p>The Amazon S3 ETag of the object. Returned by <code>GetTableObjects</code> for validation and used to identify changes to the underlying data.</p>
|
|
484
|
+
*/
|
|
485
|
+
ETag: string | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* <p>The size of the Amazon S3 object in bytes.</p>
|
|
488
|
+
*/
|
|
489
|
+
Size: number | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* <p>A list of partition values for the object. A value must be specified for each partition key associated with the table.</p>
|
|
492
|
+
* <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>
|
|
493
|
+
*/
|
|
494
|
+
PartitionValues?: string[];
|
|
495
|
+
}
|
|
496
|
+
export declare namespace AddObjectInput {
|
|
497
|
+
/**
|
|
498
|
+
* @internal
|
|
499
|
+
*/
|
|
500
|
+
const filterSensitiveLog: (obj: AddObjectInput) => any;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* <p>A structure that you pass to indicate you want all rows in a filter. </p>
|
|
504
|
+
*/
|
|
505
|
+
export interface AllRowsWildcard {
|
|
506
|
+
}
|
|
507
|
+
export declare namespace AllRowsWildcard {
|
|
508
|
+
/**
|
|
509
|
+
* @internal
|
|
510
|
+
*/
|
|
511
|
+
const filterSensitiveLog: (obj: AllRowsWildcard) => any;
|
|
512
|
+
}
|
|
441
513
|
/**
|
|
442
514
|
* <p>A resource to be created or added already exists.</p>
|
|
443
515
|
*/
|
|
@@ -477,7 +549,7 @@ export declare enum Permission {
|
|
|
477
549
|
*/
|
|
478
550
|
export interface DataLakePrincipal {
|
|
479
551
|
/**
|
|
480
|
-
* <p>An identifier for the
|
|
552
|
+
* <p>An identifier for the Lake Formation principal.</p>
|
|
481
553
|
*/
|
|
482
554
|
DataLakePrincipalIdentifier?: string;
|
|
483
555
|
}
|
|
@@ -520,7 +592,7 @@ export declare namespace BatchPermissionsRequestEntry {
|
|
|
520
592
|
}
|
|
521
593
|
export interface BatchGrantPermissionsRequest {
|
|
522
594
|
/**
|
|
523
|
-
* <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
|
|
595
|
+
* <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>
|
|
524
596
|
*/
|
|
525
597
|
CatalogId?: string;
|
|
526
598
|
/**
|
|
@@ -567,7 +639,7 @@ export declare namespace BatchGrantPermissionsResponse {
|
|
|
567
639
|
}
|
|
568
640
|
export interface BatchRevokePermissionsRequest {
|
|
569
641
|
/**
|
|
570
|
-
* <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
|
|
642
|
+
* <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>
|
|
571
643
|
*/
|
|
572
644
|
CatalogId?: string;
|
|
573
645
|
/**
|
|
@@ -593,309 +665,676 @@ export declare namespace BatchRevokePermissionsResponse {
|
|
|
593
665
|
*/
|
|
594
666
|
const filterSensitiveLog: (obj: BatchRevokePermissionsResponse) => any;
|
|
595
667
|
}
|
|
596
|
-
export interface
|
|
597
|
-
/**
|
|
598
|
-
* <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 AWS Lake Formation environment. </p>
|
|
599
|
-
*/
|
|
600
|
-
CatalogId?: string;
|
|
601
|
-
/**
|
|
602
|
-
* <p>The key-name for the tag.</p>
|
|
603
|
-
*/
|
|
604
|
-
TagKey: string | undefined;
|
|
668
|
+
export interface CancelTransactionRequest {
|
|
605
669
|
/**
|
|
606
|
-
* <p>
|
|
670
|
+
* <p>The transaction to cancel.</p>
|
|
607
671
|
*/
|
|
608
|
-
|
|
672
|
+
TransactionId: string | undefined;
|
|
609
673
|
}
|
|
610
|
-
export declare namespace
|
|
674
|
+
export declare namespace CancelTransactionRequest {
|
|
611
675
|
/**
|
|
612
676
|
* @internal
|
|
613
677
|
*/
|
|
614
|
-
const filterSensitiveLog: (obj:
|
|
678
|
+
const filterSensitiveLog: (obj: CancelTransactionRequest) => any;
|
|
615
679
|
}
|
|
616
|
-
export interface
|
|
680
|
+
export interface CancelTransactionResponse {
|
|
617
681
|
}
|
|
618
|
-
export declare namespace
|
|
682
|
+
export declare namespace CancelTransactionResponse {
|
|
619
683
|
/**
|
|
620
684
|
* @internal
|
|
621
685
|
*/
|
|
622
|
-
const filterSensitiveLog: (obj:
|
|
686
|
+
const filterSensitiveLog: (obj: CancelTransactionResponse) => any;
|
|
623
687
|
}
|
|
624
688
|
/**
|
|
625
|
-
* <p>
|
|
689
|
+
* <p>Contains details about an error related to a transaction commit that was in progress.</p>
|
|
626
690
|
*/
|
|
627
|
-
export interface
|
|
628
|
-
name: "
|
|
691
|
+
export interface TransactionCommitInProgressException extends __SmithyException, $MetadataBearer {
|
|
692
|
+
name: "TransactionCommitInProgressException";
|
|
629
693
|
$fault: "client";
|
|
630
694
|
/**
|
|
631
|
-
* <p>A message describing the
|
|
695
|
+
* <p>A message describing the error.</p>
|
|
632
696
|
*/
|
|
633
697
|
Message?: string;
|
|
634
698
|
}
|
|
635
|
-
export declare namespace
|
|
699
|
+
export declare namespace TransactionCommitInProgressException {
|
|
636
700
|
/**
|
|
637
701
|
* @internal
|
|
638
702
|
*/
|
|
639
|
-
const filterSensitiveLog: (obj:
|
|
703
|
+
const filterSensitiveLog: (obj: TransactionCommitInProgressException) => any;
|
|
640
704
|
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
705
|
+
/**
|
|
706
|
+
* <p>Contains details about an error where the specified transaction has already been committed and cannot be used for <code>UpdateTableObjects</code>.</p>
|
|
707
|
+
*/
|
|
708
|
+
export interface TransactionCommittedException extends __SmithyException, $MetadataBearer {
|
|
709
|
+
name: "TransactionCommittedException";
|
|
710
|
+
$fault: "client";
|
|
646
711
|
/**
|
|
647
|
-
* <p>
|
|
712
|
+
* <p>A message describing the error.</p>
|
|
648
713
|
*/
|
|
649
|
-
|
|
714
|
+
Message?: string;
|
|
650
715
|
}
|
|
651
|
-
export declare namespace
|
|
716
|
+
export declare namespace TransactionCommittedException {
|
|
652
717
|
/**
|
|
653
718
|
* @internal
|
|
654
719
|
*/
|
|
655
|
-
const filterSensitiveLog: (obj:
|
|
720
|
+
const filterSensitiveLog: (obj: TransactionCommittedException) => any;
|
|
656
721
|
}
|
|
657
|
-
export interface
|
|
722
|
+
export interface CommitTransactionRequest {
|
|
723
|
+
/**
|
|
724
|
+
* <p>The transaction to commit.</p>
|
|
725
|
+
*/
|
|
726
|
+
TransactionId: string | undefined;
|
|
658
727
|
}
|
|
659
|
-
export declare namespace
|
|
728
|
+
export declare namespace CommitTransactionRequest {
|
|
660
729
|
/**
|
|
661
730
|
* @internal
|
|
662
731
|
*/
|
|
663
|
-
const filterSensitiveLog: (obj:
|
|
732
|
+
const filterSensitiveLog: (obj: CommitTransactionRequest) => any;
|
|
664
733
|
}
|
|
665
|
-
export
|
|
734
|
+
export declare enum TransactionStatus {
|
|
735
|
+
ABORTED = "ABORTED",
|
|
736
|
+
ACTIVE = "ACTIVE",
|
|
737
|
+
COMMITTED = "COMMITTED",
|
|
738
|
+
COMMIT_IN_PROGRESS = "COMMIT_IN_PROGRESS"
|
|
739
|
+
}
|
|
740
|
+
export interface CommitTransactionResponse {
|
|
666
741
|
/**
|
|
667
|
-
* <p>The
|
|
742
|
+
* <p>The status of the transaction.</p>
|
|
668
743
|
*/
|
|
669
|
-
|
|
744
|
+
TransactionStatus?: TransactionStatus | string;
|
|
670
745
|
}
|
|
671
|
-
export declare namespace
|
|
746
|
+
export declare namespace CommitTransactionResponse {
|
|
672
747
|
/**
|
|
673
748
|
* @internal
|
|
674
749
|
*/
|
|
675
|
-
const filterSensitiveLog: (obj:
|
|
750
|
+
const filterSensitiveLog: (obj: CommitTransactionResponse) => any;
|
|
676
751
|
}
|
|
677
|
-
|
|
752
|
+
/**
|
|
753
|
+
* <p>Contains details about an error related to a transaction that was cancelled.</p>
|
|
754
|
+
*/
|
|
755
|
+
export interface TransactionCanceledException extends __SmithyException, $MetadataBearer {
|
|
756
|
+
name: "TransactionCanceledException";
|
|
757
|
+
$fault: "client";
|
|
758
|
+
/**
|
|
759
|
+
* <p>A message describing the error.</p>
|
|
760
|
+
*/
|
|
761
|
+
Message?: string;
|
|
678
762
|
}
|
|
679
|
-
export declare namespace
|
|
763
|
+
export declare namespace TransactionCanceledException {
|
|
680
764
|
/**
|
|
681
765
|
* @internal
|
|
682
766
|
*/
|
|
683
|
-
const filterSensitiveLog: (obj:
|
|
767
|
+
const filterSensitiveLog: (obj: TransactionCanceledException) => any;
|
|
684
768
|
}
|
|
685
|
-
|
|
769
|
+
/**
|
|
770
|
+
* <p>A PartiQL predicate.</p>
|
|
771
|
+
*/
|
|
772
|
+
export interface RowFilter {
|
|
686
773
|
/**
|
|
687
|
-
* <p>
|
|
774
|
+
* <p>A filter expression.</p>
|
|
688
775
|
*/
|
|
689
|
-
|
|
776
|
+
FilterExpression?: string;
|
|
777
|
+
/**
|
|
778
|
+
* <p>A wildcard for all rows.</p>
|
|
779
|
+
*/
|
|
780
|
+
AllRowsWildcard?: AllRowsWildcard;
|
|
690
781
|
}
|
|
691
|
-
export declare namespace
|
|
782
|
+
export declare namespace RowFilter {
|
|
692
783
|
/**
|
|
693
784
|
* @internal
|
|
694
785
|
*/
|
|
695
|
-
const filterSensitiveLog: (obj:
|
|
786
|
+
const filterSensitiveLog: (obj: RowFilter) => any;
|
|
696
787
|
}
|
|
697
788
|
/**
|
|
698
|
-
* <p>A structure
|
|
789
|
+
* <p>A structure that describes certain columns on certain rows.</p>
|
|
699
790
|
*/
|
|
700
|
-
export interface
|
|
791
|
+
export interface DataCellsFilter {
|
|
701
792
|
/**
|
|
702
|
-
* <p>The
|
|
793
|
+
* <p>The ID of the catalog to which the table belongs.</p>
|
|
703
794
|
*/
|
|
704
|
-
|
|
795
|
+
TableCatalogId: string | undefined;
|
|
705
796
|
/**
|
|
706
|
-
* <p>
|
|
797
|
+
* <p>A database in the Glue Data Catalog.</p>
|
|
707
798
|
*/
|
|
708
|
-
|
|
799
|
+
DatabaseName: string | undefined;
|
|
709
800
|
/**
|
|
710
|
-
* <p>
|
|
801
|
+
* <p>A table in the database.</p>
|
|
711
802
|
*/
|
|
712
|
-
|
|
803
|
+
TableName: string | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* <p>The name given by the user to the data filter cell.</p>
|
|
806
|
+
*/
|
|
807
|
+
Name: string | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* <p>A PartiQL predicate.</p>
|
|
810
|
+
*/
|
|
811
|
+
RowFilter?: RowFilter;
|
|
812
|
+
/**
|
|
813
|
+
* <p>A list of column names.</p>
|
|
814
|
+
*/
|
|
815
|
+
ColumnNames?: string[];
|
|
816
|
+
/**
|
|
817
|
+
* <p>A wildcard with exclusions.</p>
|
|
818
|
+
*/
|
|
819
|
+
ColumnWildcard?: ColumnWildcard;
|
|
713
820
|
}
|
|
714
|
-
export declare namespace
|
|
821
|
+
export declare namespace DataCellsFilter {
|
|
715
822
|
/**
|
|
716
823
|
* @internal
|
|
717
824
|
*/
|
|
718
|
-
const filterSensitiveLog: (obj:
|
|
825
|
+
const filterSensitiveLog: (obj: DataCellsFilter) => any;
|
|
719
826
|
}
|
|
720
|
-
export interface
|
|
827
|
+
export interface CreateDataCellsFilterRequest {
|
|
721
828
|
/**
|
|
722
|
-
* <p>A structure containing information about
|
|
829
|
+
* <p>A <code>DataCellsFilter</code> structure containing information about the data cells filter.</p>
|
|
723
830
|
*/
|
|
724
|
-
|
|
831
|
+
TableData: DataCellsFilter | undefined;
|
|
725
832
|
}
|
|
726
|
-
export declare namespace
|
|
833
|
+
export declare namespace CreateDataCellsFilterRequest {
|
|
727
834
|
/**
|
|
728
835
|
* @internal
|
|
729
836
|
*/
|
|
730
|
-
const filterSensitiveLog: (obj:
|
|
837
|
+
const filterSensitiveLog: (obj: CreateDataCellsFilterRequest) => any;
|
|
731
838
|
}
|
|
732
|
-
export interface
|
|
733
|
-
/**
|
|
734
|
-
* <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 AWS Lake Formation environment. </p>
|
|
735
|
-
*/
|
|
736
|
-
CatalogId?: string;
|
|
839
|
+
export interface CreateDataCellsFilterResponse {
|
|
737
840
|
}
|
|
738
|
-
export declare namespace
|
|
841
|
+
export declare namespace CreateDataCellsFilterResponse {
|
|
739
842
|
/**
|
|
740
843
|
* @internal
|
|
741
844
|
*/
|
|
742
|
-
const filterSensitiveLog: (obj:
|
|
845
|
+
const filterSensitiveLog: (obj: CreateDataCellsFilterResponse) => any;
|
|
743
846
|
}
|
|
744
847
|
/**
|
|
745
|
-
* <p>
|
|
848
|
+
* <p>A resource numerical limit was exceeded.</p>
|
|
746
849
|
*/
|
|
747
|
-
export interface
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
*/
|
|
751
|
-
Principal?: DataLakePrincipal;
|
|
850
|
+
export interface ResourceNumberLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
851
|
+
name: "ResourceNumberLimitExceededException";
|
|
852
|
+
$fault: "client";
|
|
752
853
|
/**
|
|
753
|
-
* <p>
|
|
854
|
+
* <p>A message describing the problem.</p>
|
|
754
855
|
*/
|
|
755
|
-
|
|
856
|
+
Message?: string;
|
|
756
857
|
}
|
|
757
|
-
export declare namespace
|
|
858
|
+
export declare namespace ResourceNumberLimitExceededException {
|
|
758
859
|
/**
|
|
759
860
|
* @internal
|
|
760
861
|
*/
|
|
761
|
-
const filterSensitiveLog: (obj:
|
|
862
|
+
const filterSensitiveLog: (obj: ResourceNumberLimitExceededException) => any;
|
|
762
863
|
}
|
|
763
|
-
|
|
764
|
-
* <p>A structure representing a list of AWS Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.</p>
|
|
765
|
-
*/
|
|
766
|
-
export interface DataLakeSettings {
|
|
864
|
+
export interface CreateLFTagRequest {
|
|
767
865
|
/**
|
|
768
|
-
* <p>
|
|
866
|
+
* <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>
|
|
769
867
|
*/
|
|
770
|
-
|
|
868
|
+
CatalogId?: string;
|
|
771
869
|
/**
|
|
772
|
-
* <p>
|
|
870
|
+
* <p>The key-name for the LF-tag.</p>
|
|
773
871
|
*/
|
|
774
|
-
|
|
872
|
+
TagKey: string | undefined;
|
|
775
873
|
/**
|
|
776
|
-
* <p>A
|
|
874
|
+
* <p>A list of possible values an attribute can take.</p>
|
|
777
875
|
*/
|
|
778
|
-
|
|
876
|
+
TagValues: string[] | undefined;
|
|
877
|
+
}
|
|
878
|
+
export declare namespace CreateLFTagRequest {
|
|
779
879
|
/**
|
|
780
|
-
*
|
|
781
|
-
*
|
|
782
|
-
* <p>You may want to specify this property when you are in a high-trust boundary, such as the same team or company. </p>
|
|
880
|
+
* @internal
|
|
783
881
|
*/
|
|
784
|
-
|
|
882
|
+
const filterSensitiveLog: (obj: CreateLFTagRequest) => any;
|
|
785
883
|
}
|
|
786
|
-
export
|
|
884
|
+
export interface CreateLFTagResponse {
|
|
885
|
+
}
|
|
886
|
+
export declare namespace CreateLFTagResponse {
|
|
787
887
|
/**
|
|
788
888
|
* @internal
|
|
789
889
|
*/
|
|
790
|
-
const filterSensitiveLog: (obj:
|
|
890
|
+
const filterSensitiveLog: (obj: CreateLFTagResponse) => any;
|
|
791
891
|
}
|
|
792
|
-
export interface
|
|
892
|
+
export interface DeleteDataCellsFilterRequest {
|
|
793
893
|
/**
|
|
794
|
-
* <p>
|
|
894
|
+
* <p>The ID of the catalog to which the table belongs.</p>
|
|
795
895
|
*/
|
|
796
|
-
|
|
896
|
+
TableCatalogId?: string;
|
|
897
|
+
/**
|
|
898
|
+
* <p>A database in the Glue Data Catalog.</p>
|
|
899
|
+
*/
|
|
900
|
+
DatabaseName?: string;
|
|
901
|
+
/**
|
|
902
|
+
* <p>A table in the database.</p>
|
|
903
|
+
*/
|
|
904
|
+
TableName?: string;
|
|
905
|
+
/**
|
|
906
|
+
* <p>The name given by the user to the data filter cell.</p>
|
|
907
|
+
*/
|
|
908
|
+
Name?: string;
|
|
797
909
|
}
|
|
798
|
-
export declare namespace
|
|
910
|
+
export declare namespace DeleteDataCellsFilterRequest {
|
|
799
911
|
/**
|
|
800
912
|
* @internal
|
|
801
913
|
*/
|
|
802
|
-
const filterSensitiveLog: (obj:
|
|
914
|
+
const filterSensitiveLog: (obj: DeleteDataCellsFilterRequest) => any;
|
|
803
915
|
}
|
|
804
|
-
export interface
|
|
916
|
+
export interface DeleteDataCellsFilterResponse {
|
|
917
|
+
}
|
|
918
|
+
export declare namespace DeleteDataCellsFilterResponse {
|
|
805
919
|
/**
|
|
806
|
-
*
|
|
920
|
+
* @internal
|
|
807
921
|
*/
|
|
808
|
-
|
|
922
|
+
const filterSensitiveLog: (obj: DeleteDataCellsFilterResponse) => any;
|
|
923
|
+
}
|
|
924
|
+
export interface DeleteLFTagRequest {
|
|
809
925
|
/**
|
|
810
|
-
* <p>The
|
|
926
|
+
* <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>
|
|
811
927
|
*/
|
|
812
|
-
|
|
928
|
+
CatalogId?: string;
|
|
813
929
|
/**
|
|
814
|
-
* <p>
|
|
930
|
+
* <p>The key-name for the LF-tag to delete.</p>
|
|
815
931
|
*/
|
|
816
|
-
|
|
932
|
+
TagKey: string | undefined;
|
|
933
|
+
}
|
|
934
|
+
export declare namespace DeleteLFTagRequest {
|
|
817
935
|
/**
|
|
818
|
-
*
|
|
936
|
+
* @internal
|
|
819
937
|
*/
|
|
820
|
-
|
|
938
|
+
const filterSensitiveLog: (obj: DeleteLFTagRequest) => any;
|
|
821
939
|
}
|
|
822
|
-
export
|
|
940
|
+
export interface DeleteLFTagResponse {
|
|
941
|
+
}
|
|
942
|
+
export declare namespace DeleteLFTagResponse {
|
|
823
943
|
/**
|
|
824
944
|
* @internal
|
|
825
945
|
*/
|
|
826
|
-
const filterSensitiveLog: (obj:
|
|
946
|
+
const filterSensitiveLog: (obj: DeleteLFTagResponse) => any;
|
|
827
947
|
}
|
|
828
948
|
/**
|
|
829
|
-
* <p>
|
|
830
|
-
*
|
|
831
|
-
* <p>If a catalog resource is shared through AWS Resource Access Manager (AWS RAM), then there will exist a corresponding RAM resource share ARN.</p>
|
|
949
|
+
* <p>An object that defines an Amazon S3 object to be deleted if a transaction cancels, provided that
|
|
950
|
+
* <code>VirtualPut</code> was called before writing the object.</p>
|
|
832
951
|
*/
|
|
833
|
-
export interface
|
|
952
|
+
export interface VirtualObject {
|
|
834
953
|
/**
|
|
835
|
-
* <p>
|
|
954
|
+
* <p>The path to the Amazon S3 object. Must start with s3://</p>
|
|
836
955
|
*/
|
|
837
|
-
|
|
956
|
+
Uri: string | undefined;
|
|
957
|
+
/**
|
|
958
|
+
* <p>The ETag of the Amazon S3 object.</p>
|
|
959
|
+
*/
|
|
960
|
+
ETag?: string;
|
|
838
961
|
}
|
|
839
|
-
export declare namespace
|
|
962
|
+
export declare namespace VirtualObject {
|
|
840
963
|
/**
|
|
841
964
|
* @internal
|
|
842
965
|
*/
|
|
843
|
-
const filterSensitiveLog: (obj:
|
|
966
|
+
const filterSensitiveLog: (obj: VirtualObject) => any;
|
|
844
967
|
}
|
|
845
|
-
|
|
846
|
-
* <p>The permissions granted or revoked on a resource.</p>
|
|
847
|
-
*/
|
|
848
|
-
export interface PrincipalResourcePermissions {
|
|
968
|
+
export interface DeleteObjectsOnCancelRequest {
|
|
849
969
|
/**
|
|
850
|
-
* <p>The
|
|
970
|
+
* <p>The Glue data catalog that contains the governed table. Defaults to the current account ID.</p>
|
|
851
971
|
*/
|
|
852
|
-
|
|
972
|
+
CatalogId?: string;
|
|
853
973
|
/**
|
|
854
|
-
* <p>The
|
|
974
|
+
* <p>The database that contains the governed table.</p>
|
|
855
975
|
*/
|
|
856
|
-
|
|
976
|
+
DatabaseName: string | undefined;
|
|
857
977
|
/**
|
|
858
|
-
* <p>The
|
|
978
|
+
* <p>The name of the governed table.</p>
|
|
859
979
|
*/
|
|
860
|
-
|
|
980
|
+
TableName: string | undefined;
|
|
861
981
|
/**
|
|
862
|
-
* <p>
|
|
982
|
+
* <p>ID of the transaction that the writes occur in.</p>
|
|
863
983
|
*/
|
|
864
|
-
|
|
984
|
+
TransactionId: string | undefined;
|
|
865
985
|
/**
|
|
866
|
-
* <p>
|
|
986
|
+
* <p>A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.</p>
|
|
867
987
|
*/
|
|
868
|
-
|
|
988
|
+
Objects: VirtualObject[] | undefined;
|
|
869
989
|
}
|
|
870
|
-
export declare namespace
|
|
990
|
+
export declare namespace DeleteObjectsOnCancelRequest {
|
|
871
991
|
/**
|
|
872
992
|
* @internal
|
|
873
993
|
*/
|
|
874
|
-
const filterSensitiveLog: (obj:
|
|
994
|
+
const filterSensitiveLog: (obj: DeleteObjectsOnCancelRequest) => any;
|
|
875
995
|
}
|
|
876
|
-
export interface
|
|
996
|
+
export interface DeleteObjectsOnCancelResponse {
|
|
997
|
+
}
|
|
998
|
+
export declare namespace DeleteObjectsOnCancelResponse {
|
|
877
999
|
/**
|
|
878
|
-
*
|
|
1000
|
+
* @internal
|
|
879
1001
|
*/
|
|
880
|
-
|
|
1002
|
+
const filterSensitiveLog: (obj: DeleteObjectsOnCancelResponse) => any;
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* <p>Contains details about an error related to a resource which is not ready for a transaction.</p>
|
|
1006
|
+
*/
|
|
1007
|
+
export interface ResourceNotReadyException extends __SmithyException, $MetadataBearer {
|
|
1008
|
+
name: "ResourceNotReadyException";
|
|
1009
|
+
$fault: "client";
|
|
881
1010
|
/**
|
|
882
|
-
* <p>A
|
|
1011
|
+
* <p>A message describing the error.</p>
|
|
883
1012
|
*/
|
|
884
|
-
|
|
1013
|
+
Message?: string;
|
|
885
1014
|
}
|
|
886
|
-
export declare namespace
|
|
1015
|
+
export declare namespace ResourceNotReadyException {
|
|
887
1016
|
/**
|
|
888
1017
|
* @internal
|
|
889
1018
|
*/
|
|
890
|
-
const filterSensitiveLog: (obj:
|
|
1019
|
+
const filterSensitiveLog: (obj: ResourceNotReadyException) => any;
|
|
891
1020
|
}
|
|
892
|
-
export interface
|
|
1021
|
+
export interface DeregisterResourceRequest {
|
|
893
1022
|
/**
|
|
894
|
-
* <p>The
|
|
1023
|
+
* <p>The Amazon Resource Name (ARN) of the resource that you want to deregister.</p>
|
|
1024
|
+
*/
|
|
1025
|
+
ResourceArn: string | undefined;
|
|
1026
|
+
}
|
|
1027
|
+
export declare namespace DeregisterResourceRequest {
|
|
1028
|
+
/**
|
|
1029
|
+
* @internal
|
|
1030
|
+
*/
|
|
1031
|
+
const filterSensitiveLog: (obj: DeregisterResourceRequest) => any;
|
|
1032
|
+
}
|
|
1033
|
+
export interface DeregisterResourceResponse {
|
|
1034
|
+
}
|
|
1035
|
+
export declare namespace DeregisterResourceResponse {
|
|
1036
|
+
/**
|
|
1037
|
+
* @internal
|
|
1038
|
+
*/
|
|
1039
|
+
const filterSensitiveLog: (obj: DeregisterResourceResponse) => any;
|
|
1040
|
+
}
|
|
1041
|
+
export interface DescribeResourceRequest {
|
|
1042
|
+
/**
|
|
1043
|
+
* <p>The resource ARN.</p>
|
|
1044
|
+
*/
|
|
1045
|
+
ResourceArn: string | undefined;
|
|
1046
|
+
}
|
|
1047
|
+
export declare namespace DescribeResourceRequest {
|
|
1048
|
+
/**
|
|
1049
|
+
* @internal
|
|
1050
|
+
*/
|
|
1051
|
+
const filterSensitiveLog: (obj: DescribeResourceRequest) => any;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
* <p>A structure containing information about an Lake Formation resource.</p>
|
|
1055
|
+
*/
|
|
1056
|
+
export interface ResourceInfo {
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1059
|
+
*/
|
|
1060
|
+
ResourceArn?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* <p>The IAM role that registered a resource.</p>
|
|
1063
|
+
*/
|
|
1064
|
+
RoleArn?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* <p>The date and time the resource was last modified.</p>
|
|
1067
|
+
*/
|
|
1068
|
+
LastModified?: Date;
|
|
1069
|
+
}
|
|
1070
|
+
export declare namespace ResourceInfo {
|
|
1071
|
+
/**
|
|
1072
|
+
* @internal
|
|
1073
|
+
*/
|
|
1074
|
+
const filterSensitiveLog: (obj: ResourceInfo) => any;
|
|
1075
|
+
}
|
|
1076
|
+
export interface DescribeResourceResponse {
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>A structure containing information about an Lake Formation resource.</p>
|
|
1079
|
+
*/
|
|
1080
|
+
ResourceInfo?: ResourceInfo;
|
|
1081
|
+
}
|
|
1082
|
+
export declare namespace DescribeResourceResponse {
|
|
1083
|
+
/**
|
|
1084
|
+
* @internal
|
|
1085
|
+
*/
|
|
1086
|
+
const filterSensitiveLog: (obj: DescribeResourceResponse) => any;
|
|
1087
|
+
}
|
|
1088
|
+
export interface DescribeTransactionRequest {
|
|
1089
|
+
/**
|
|
1090
|
+
* <p>The transaction for which to return status.</p>
|
|
1091
|
+
*/
|
|
1092
|
+
TransactionId: string | undefined;
|
|
1093
|
+
}
|
|
1094
|
+
export declare namespace DescribeTransactionRequest {
|
|
1095
|
+
/**
|
|
1096
|
+
* @internal
|
|
1097
|
+
*/
|
|
1098
|
+
const filterSensitiveLog: (obj: DescribeTransactionRequest) => any;
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>A structure that contains information about a transaction.</p>
|
|
1102
|
+
*/
|
|
1103
|
+
export interface TransactionDescription {
|
|
1104
|
+
/**
|
|
1105
|
+
* <p>The ID of the transaction.</p>
|
|
1106
|
+
*/
|
|
1107
|
+
TransactionId?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>A status of ACTIVE, COMMITTED, or ABORTED.</p>
|
|
1110
|
+
*/
|
|
1111
|
+
TransactionStatus?: TransactionStatus | string;
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>The time when the transaction started.</p>
|
|
1114
|
+
*/
|
|
1115
|
+
TransactionStartTime?: Date;
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>The time when the transaction committed or aborted, if it is not currently active.</p>
|
|
1118
|
+
*/
|
|
1119
|
+
TransactionEndTime?: Date;
|
|
1120
|
+
}
|
|
1121
|
+
export declare namespace TransactionDescription {
|
|
1122
|
+
/**
|
|
1123
|
+
* @internal
|
|
1124
|
+
*/
|
|
1125
|
+
const filterSensitiveLog: (obj: TransactionDescription) => any;
|
|
1126
|
+
}
|
|
1127
|
+
export interface DescribeTransactionResponse {
|
|
1128
|
+
/**
|
|
1129
|
+
* <p>Returns a <code>TransactionDescription</code> object containing information about the transaction.</p>
|
|
1130
|
+
*/
|
|
1131
|
+
TransactionDescription?: TransactionDescription;
|
|
1132
|
+
}
|
|
1133
|
+
export declare namespace DescribeTransactionResponse {
|
|
1134
|
+
/**
|
|
1135
|
+
* @internal
|
|
1136
|
+
*/
|
|
1137
|
+
const filterSensitiveLog: (obj: DescribeTransactionResponse) => any;
|
|
1138
|
+
}
|
|
1139
|
+
export interface ExtendTransactionRequest {
|
|
1140
|
+
/**
|
|
1141
|
+
* <p>The transaction to extend.</p>
|
|
1142
|
+
*/
|
|
1143
|
+
TransactionId?: string;
|
|
1144
|
+
}
|
|
1145
|
+
export declare namespace ExtendTransactionRequest {
|
|
1146
|
+
/**
|
|
1147
|
+
* @internal
|
|
1148
|
+
*/
|
|
1149
|
+
const filterSensitiveLog: (obj: ExtendTransactionRequest) => any;
|
|
1150
|
+
}
|
|
1151
|
+
export interface ExtendTransactionResponse {
|
|
1152
|
+
}
|
|
1153
|
+
export declare namespace ExtendTransactionResponse {
|
|
1154
|
+
/**
|
|
1155
|
+
* @internal
|
|
1156
|
+
*/
|
|
1157
|
+
const filterSensitiveLog: (obj: ExtendTransactionResponse) => any;
|
|
1158
|
+
}
|
|
1159
|
+
export interface GetDataLakeSettingsRequest {
|
|
1160
|
+
/**
|
|
1161
|
+
* <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>
|
|
1162
|
+
*/
|
|
1163
|
+
CatalogId?: string;
|
|
1164
|
+
}
|
|
1165
|
+
export declare namespace GetDataLakeSettingsRequest {
|
|
1166
|
+
/**
|
|
1167
|
+
* @internal
|
|
1168
|
+
*/
|
|
1169
|
+
const filterSensitiveLog: (obj: GetDataLakeSettingsRequest) => any;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* <p>Permissions granted to a principal.</p>
|
|
1173
|
+
*/
|
|
1174
|
+
export interface PrincipalPermissions {
|
|
1175
|
+
/**
|
|
1176
|
+
* <p>The principal who is granted permissions.</p>
|
|
1177
|
+
*/
|
|
1178
|
+
Principal?: DataLakePrincipal;
|
|
1179
|
+
/**
|
|
1180
|
+
* <p>The permissions that are granted to the principal.</p>
|
|
1181
|
+
*/
|
|
1182
|
+
Permissions?: (Permission | string)[];
|
|
1183
|
+
}
|
|
1184
|
+
export declare namespace PrincipalPermissions {
|
|
1185
|
+
/**
|
|
1186
|
+
* @internal
|
|
1187
|
+
*/
|
|
1188
|
+
const filterSensitiveLog: (obj: PrincipalPermissions) => any;
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* <p>A structure representing a list of Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.</p>
|
|
1192
|
+
*/
|
|
1193
|
+
export interface DataLakeSettings {
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>A list of Lake Formation principals. Supported principals are IAM users or IAM roles.</p>
|
|
1196
|
+
*/
|
|
1197
|
+
DataLakeAdmins?: DataLakePrincipal[];
|
|
1198
|
+
/**
|
|
1199
|
+
* <p>Specifies whether access control on newly created database is managed by Lake Formation permissions or exclusively by IAM permissions. You can override this default setting when you create a database.</p>
|
|
1200
|
+
*
|
|
1201
|
+
* <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>
|
|
1202
|
+
*
|
|
1203
|
+
* <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>
|
|
1204
|
+
*
|
|
1205
|
+
* <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>
|
|
1206
|
+
*/
|
|
1207
|
+
CreateDatabaseDefaultPermissions?: PrincipalPermissions[];
|
|
1208
|
+
/**
|
|
1209
|
+
* <p>Specifies whether access control on newly created table is managed by Lake Formation permissions or exclusively by IAM permissions.</p>
|
|
1210
|
+
*
|
|
1211
|
+
* <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>
|
|
1212
|
+
*
|
|
1213
|
+
* <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>
|
|
1214
|
+
*
|
|
1215
|
+
* <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>
|
|
1216
|
+
*/
|
|
1217
|
+
CreateTableDefaultPermissions?: PrincipalPermissions[];
|
|
1218
|
+
/**
|
|
1219
|
+
* <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>
|
|
1220
|
+
*
|
|
1221
|
+
* <p>You may want to specify this property when you are in a high-trust boundary, such as the same team or company. </p>
|
|
1222
|
+
*/
|
|
1223
|
+
TrustedResourceOwners?: string[];
|
|
1224
|
+
}
|
|
1225
|
+
export declare namespace DataLakeSettings {
|
|
1226
|
+
/**
|
|
1227
|
+
* @internal
|
|
1228
|
+
*/
|
|
1229
|
+
const filterSensitiveLog: (obj: DataLakeSettings) => any;
|
|
1230
|
+
}
|
|
1231
|
+
export interface GetDataLakeSettingsResponse {
|
|
1232
|
+
/**
|
|
1233
|
+
* <p>A structure representing a list of Lake Formation principals designated as data lake administrators.</p>
|
|
1234
|
+
*/
|
|
1235
|
+
DataLakeSettings?: DataLakeSettings;
|
|
1236
|
+
}
|
|
1237
|
+
export declare namespace GetDataLakeSettingsResponse {
|
|
1238
|
+
/**
|
|
1239
|
+
* @internal
|
|
1240
|
+
*/
|
|
1241
|
+
const filterSensitiveLog: (obj: GetDataLakeSettingsResponse) => any;
|
|
1242
|
+
}
|
|
1243
|
+
export interface GetEffectivePermissionsForPathRequest {
|
|
1244
|
+
/**
|
|
1245
|
+
* <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>
|
|
1246
|
+
*/
|
|
1247
|
+
CatalogId?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which you want to get permissions.</p>
|
|
1250
|
+
*/
|
|
1251
|
+
ResourceArn: string | undefined;
|
|
1252
|
+
/**
|
|
1253
|
+
* <p>A continuation token, if this is not the first call to retrieve this list.</p>
|
|
1254
|
+
*/
|
|
1255
|
+
NextToken?: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>The maximum number of results to return.</p>
|
|
1258
|
+
*/
|
|
1259
|
+
MaxResults?: number;
|
|
1260
|
+
}
|
|
1261
|
+
export declare namespace GetEffectivePermissionsForPathRequest {
|
|
1262
|
+
/**
|
|
1263
|
+
* @internal
|
|
1264
|
+
*/
|
|
1265
|
+
const filterSensitiveLog: (obj: GetEffectivePermissionsForPathRequest) => any;
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* <p>A structure containing the additional details to be returned in the <code>AdditionalDetails</code> attribute of <code>PrincipalResourcePermissions</code>.</p>
|
|
1269
|
+
*
|
|
1270
|
+
* <p>If a catalog resource is shared through Resource Access Manager (RAM), then there will exist a corresponding RAM resource share ARN.</p>
|
|
1271
|
+
*/
|
|
1272
|
+
export interface DetailsMap {
|
|
1273
|
+
/**
|
|
1274
|
+
* <p>A resource share ARN for a catalog resource shared through RAM.</p>
|
|
1275
|
+
*/
|
|
1276
|
+
ResourceShare?: string[];
|
|
1277
|
+
}
|
|
1278
|
+
export declare namespace DetailsMap {
|
|
1279
|
+
/**
|
|
1280
|
+
* @internal
|
|
1281
|
+
*/
|
|
1282
|
+
const filterSensitiveLog: (obj: DetailsMap) => any;
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* <p>The permissions granted or revoked on a resource.</p>
|
|
1286
|
+
*/
|
|
1287
|
+
export interface PrincipalResourcePermissions {
|
|
1288
|
+
/**
|
|
1289
|
+
* <p>The Data Lake principal to be granted or revoked permissions.</p>
|
|
1290
|
+
*/
|
|
1291
|
+
Principal?: DataLakePrincipal;
|
|
1292
|
+
/**
|
|
1293
|
+
* <p>The resource where permissions are to be granted or revoked.</p>
|
|
1294
|
+
*/
|
|
1295
|
+
Resource?: Resource;
|
|
1296
|
+
/**
|
|
1297
|
+
* <p>The permissions to be granted or revoked on the resource.</p>
|
|
1298
|
+
*/
|
|
1299
|
+
Permissions?: (Permission | string)[];
|
|
1300
|
+
/**
|
|
1301
|
+
* <p>Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).</p>
|
|
1302
|
+
*/
|
|
1303
|
+
PermissionsWithGrantOption?: (Permission | string)[];
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>This attribute can be used to return any additional details of <code>PrincipalResourcePermissions</code>. Currently returns only as a RAM resource share ARN.</p>
|
|
1306
|
+
*/
|
|
1307
|
+
AdditionalDetails?: DetailsMap;
|
|
1308
|
+
}
|
|
1309
|
+
export declare namespace PrincipalResourcePermissions {
|
|
1310
|
+
/**
|
|
1311
|
+
* @internal
|
|
1312
|
+
*/
|
|
1313
|
+
const filterSensitiveLog: (obj: PrincipalResourcePermissions) => any;
|
|
1314
|
+
}
|
|
1315
|
+
export interface GetEffectivePermissionsForPathResponse {
|
|
1316
|
+
/**
|
|
1317
|
+
* <p>A list of the permissions for the specified table or database resource located at the path in Amazon S3.</p>
|
|
1318
|
+
*/
|
|
1319
|
+
Permissions?: PrincipalResourcePermissions[];
|
|
1320
|
+
/**
|
|
1321
|
+
* <p>A continuation token, if this is not the first call to retrieve this list.</p>
|
|
1322
|
+
*/
|
|
1323
|
+
NextToken?: string;
|
|
1324
|
+
}
|
|
1325
|
+
export declare namespace GetEffectivePermissionsForPathResponse {
|
|
1326
|
+
/**
|
|
1327
|
+
* @internal
|
|
1328
|
+
*/
|
|
1329
|
+
const filterSensitiveLog: (obj: GetEffectivePermissionsForPathResponse) => any;
|
|
1330
|
+
}
|
|
1331
|
+
export interface GetLFTagRequest {
|
|
1332
|
+
/**
|
|
1333
|
+
* <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>
|
|
895
1334
|
*/
|
|
896
1335
|
CatalogId?: string;
|
|
897
1336
|
/**
|
|
898
|
-
* <p>The key-name for the tag.</p>
|
|
1337
|
+
* <p>The key-name for the LF-tag.</p>
|
|
899
1338
|
*/
|
|
900
1339
|
TagKey: string | undefined;
|
|
901
1340
|
}
|
|
@@ -907,11 +1346,11 @@ export declare namespace GetLFTagRequest {
|
|
|
907
1346
|
}
|
|
908
1347
|
export interface GetLFTagResponse {
|
|
909
1348
|
/**
|
|
910
|
-
* <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
|
|
1349
|
+
* <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>
|
|
911
1350
|
*/
|
|
912
1351
|
CatalogId?: string;
|
|
913
1352
|
/**
|
|
914
|
-
* <p>The key-name for the tag.</p>
|
|
1353
|
+
* <p>The key-name for the LF-tag.</p>
|
|
915
1354
|
*/
|
|
916
1355
|
TagKey?: string;
|
|
917
1356
|
/**
|
|
@@ -925,85 +1364,501 @@ export declare namespace GetLFTagResponse {
|
|
|
925
1364
|
*/
|
|
926
1365
|
const filterSensitiveLog: (obj: GetLFTagResponse) => any;
|
|
927
1366
|
}
|
|
928
|
-
export interface
|
|
1367
|
+
export interface GetQueryStateRequest {
|
|
1368
|
+
/**
|
|
1369
|
+
* <p>The ID of the plan query operation.</p>
|
|
1370
|
+
*/
|
|
1371
|
+
QueryId: string | undefined;
|
|
1372
|
+
}
|
|
1373
|
+
export declare namespace GetQueryStateRequest {
|
|
1374
|
+
/**
|
|
1375
|
+
* @internal
|
|
1376
|
+
*/
|
|
1377
|
+
const filterSensitiveLog: (obj: GetQueryStateRequest) => any;
|
|
1378
|
+
}
|
|
1379
|
+
export declare enum QueryStateString {
|
|
1380
|
+
ERROR = "ERROR",
|
|
1381
|
+
EXPIRED = "EXPIRED",
|
|
1382
|
+
FINISHED = "FINISHED",
|
|
1383
|
+
PENDING = "PENDING",
|
|
1384
|
+
WORKUNITS_AVAILABLE = "WORKUNITS_AVAILABLE"
|
|
1385
|
+
}
|
|
1386
|
+
/**
|
|
1387
|
+
* <p>A structure for the output.</p>
|
|
1388
|
+
*/
|
|
1389
|
+
export interface GetQueryStateResponse {
|
|
1390
|
+
/**
|
|
1391
|
+
* <p>An error message when the operation fails.</p>
|
|
1392
|
+
*/
|
|
1393
|
+
Error?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* <p>The state of a query previously submitted. The possible states are:</p>
|
|
1396
|
+
*
|
|
1397
|
+
* <ul>
|
|
1398
|
+
* <li>
|
|
1399
|
+
* <p>PENDING: the query is pending.</p>
|
|
1400
|
+
* </li>
|
|
1401
|
+
* <li>
|
|
1402
|
+
* <p>WORKUNITS_AVAILABLE: some work units are ready for retrieval and execution.</p>
|
|
1403
|
+
* </li>
|
|
1404
|
+
* <li>
|
|
1405
|
+
* <p>FINISHED: the query planning finished successfully, and all work units are ready for retrieval and execution.</p>
|
|
1406
|
+
* </li>
|
|
1407
|
+
* <li>
|
|
1408
|
+
* <p>ERROR: an error occurred with the query, such as an invalid query ID or a backend error.</p>
|
|
1409
|
+
* </li>
|
|
1410
|
+
* </ul>
|
|
1411
|
+
*/
|
|
1412
|
+
State: QueryStateString | string | undefined;
|
|
1413
|
+
}
|
|
1414
|
+
export declare namespace GetQueryStateResponse {
|
|
1415
|
+
/**
|
|
1416
|
+
* @internal
|
|
1417
|
+
*/
|
|
1418
|
+
const filterSensitiveLog: (obj: GetQueryStateResponse) => any;
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* <p>Contains details about an error where the query request expired.</p>
|
|
1422
|
+
*/
|
|
1423
|
+
export interface ExpiredException extends __SmithyException, $MetadataBearer {
|
|
1424
|
+
name: "ExpiredException";
|
|
1425
|
+
$fault: "client";
|
|
1426
|
+
/**
|
|
1427
|
+
* <p>A message describing the error.</p>
|
|
1428
|
+
*/
|
|
1429
|
+
Message?: string;
|
|
1430
|
+
}
|
|
1431
|
+
export declare namespace ExpiredException {
|
|
1432
|
+
/**
|
|
1433
|
+
* @internal
|
|
1434
|
+
*/
|
|
1435
|
+
const filterSensitiveLog: (obj: ExpiredException) => any;
|
|
1436
|
+
}
|
|
1437
|
+
export interface GetQueryStatisticsRequest {
|
|
1438
|
+
/**
|
|
1439
|
+
* <p>The ID of the plan query operation.</p>
|
|
1440
|
+
*/
|
|
1441
|
+
QueryId: string | undefined;
|
|
1442
|
+
}
|
|
1443
|
+
export declare namespace GetQueryStatisticsRequest {
|
|
1444
|
+
/**
|
|
1445
|
+
* @internal
|
|
1446
|
+
*/
|
|
1447
|
+
const filterSensitiveLog: (obj: GetQueryStatisticsRequest) => any;
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* <p>Statistics related to the processing of a query statement.</p>
|
|
1451
|
+
*/
|
|
1452
|
+
export interface ExecutionStatistics {
|
|
1453
|
+
/**
|
|
1454
|
+
* <p>The average time the request took to be executed.</p>
|
|
1455
|
+
*/
|
|
1456
|
+
AverageExecutionTimeMillis?: number;
|
|
1457
|
+
/**
|
|
1458
|
+
* <p>The amount of data that was scanned in bytes.</p>
|
|
1459
|
+
*/
|
|
1460
|
+
DataScannedBytes?: number;
|
|
1461
|
+
/**
|
|
1462
|
+
* <p>The number of work units executed.</p>
|
|
1463
|
+
*/
|
|
1464
|
+
WorkUnitsExecutedCount?: number;
|
|
1465
|
+
}
|
|
1466
|
+
export declare namespace ExecutionStatistics {
|
|
1467
|
+
/**
|
|
1468
|
+
* @internal
|
|
1469
|
+
*/
|
|
1470
|
+
const filterSensitiveLog: (obj: ExecutionStatistics) => any;
|
|
1471
|
+
}
|
|
1472
|
+
/**
|
|
1473
|
+
* <p>Statistics related to the processing of a query statement.</p>
|
|
1474
|
+
*/
|
|
1475
|
+
export interface PlanningStatistics {
|
|
1476
|
+
/**
|
|
1477
|
+
* <p>An estimate of the data that was scanned in bytes.</p>
|
|
1478
|
+
*/
|
|
1479
|
+
EstimatedDataToScanBytes?: number;
|
|
1480
|
+
/**
|
|
1481
|
+
* <p>The time that it took to process the request.</p>
|
|
1482
|
+
*/
|
|
1483
|
+
PlanningTimeMillis?: number;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The time the request was in queue to be processed.</p>
|
|
1486
|
+
*/
|
|
1487
|
+
QueueTimeMillis?: number;
|
|
1488
|
+
/**
|
|
1489
|
+
* <p>The number of work units generated.</p>
|
|
1490
|
+
*/
|
|
1491
|
+
WorkUnitsGeneratedCount?: number;
|
|
1492
|
+
}
|
|
1493
|
+
export declare namespace PlanningStatistics {
|
|
1494
|
+
/**
|
|
1495
|
+
* @internal
|
|
1496
|
+
*/
|
|
1497
|
+
const filterSensitiveLog: (obj: PlanningStatistics) => any;
|
|
1498
|
+
}
|
|
1499
|
+
export interface GetQueryStatisticsResponse {
|
|
1500
|
+
/**
|
|
1501
|
+
* <p>An <code>ExecutionStatistics</code> structure containing execution statistics.</p>
|
|
1502
|
+
*/
|
|
1503
|
+
ExecutionStatistics?: ExecutionStatistics;
|
|
1504
|
+
/**
|
|
1505
|
+
* <p>A <code>PlanningStatistics</code> structure containing query planning statistics.</p>
|
|
1506
|
+
*/
|
|
1507
|
+
PlanningStatistics?: PlanningStatistics;
|
|
1508
|
+
/**
|
|
1509
|
+
* <p>The time that the query was submitted.</p>
|
|
1510
|
+
*/
|
|
1511
|
+
QuerySubmissionTime?: Date;
|
|
1512
|
+
}
|
|
1513
|
+
export declare namespace GetQueryStatisticsResponse {
|
|
1514
|
+
/**
|
|
1515
|
+
* @internal
|
|
1516
|
+
*/
|
|
1517
|
+
const filterSensitiveLog: (obj: GetQueryStatisticsResponse) => any;
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* <p>Contains details about an error related to statistics not being ready.</p>
|
|
1521
|
+
*/
|
|
1522
|
+
export interface StatisticsNotReadyYetException extends __SmithyException, $MetadataBearer {
|
|
1523
|
+
name: "StatisticsNotReadyYetException";
|
|
1524
|
+
$fault: "client";
|
|
1525
|
+
/**
|
|
1526
|
+
* <p>A message describing the error.</p>
|
|
1527
|
+
*/
|
|
1528
|
+
Message?: string;
|
|
1529
|
+
}
|
|
1530
|
+
export declare namespace StatisticsNotReadyYetException {
|
|
1531
|
+
/**
|
|
1532
|
+
* @internal
|
|
1533
|
+
*/
|
|
1534
|
+
const filterSensitiveLog: (obj: StatisticsNotReadyYetException) => any;
|
|
1535
|
+
}
|
|
1536
|
+
/**
|
|
1537
|
+
* <p>Contains details about an error where the query request was throttled.</p>
|
|
1538
|
+
*/
|
|
1539
|
+
export interface ThrottledException extends __SmithyException, $MetadataBearer {
|
|
1540
|
+
name: "ThrottledException";
|
|
1541
|
+
$fault: "client";
|
|
1542
|
+
$retryable: {
|
|
1543
|
+
throttling: true;
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* <p>A message describing the error.</p>
|
|
1547
|
+
*/
|
|
1548
|
+
Message?: string;
|
|
1549
|
+
}
|
|
1550
|
+
export declare namespace ThrottledException {
|
|
1551
|
+
/**
|
|
1552
|
+
* @internal
|
|
1553
|
+
*/
|
|
1554
|
+
const filterSensitiveLog: (obj: ThrottledException) => any;
|
|
1555
|
+
}
|
|
1556
|
+
export interface GetResourceLFTagsRequest {
|
|
1557
|
+
/**
|
|
1558
|
+
* <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>
|
|
1559
|
+
*/
|
|
1560
|
+
CatalogId?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* <p>The database, table, or column resource for which you want to return LF-tags.</p>
|
|
1563
|
+
*/
|
|
1564
|
+
Resource: Resource | undefined;
|
|
1565
|
+
/**
|
|
1566
|
+
* <p>Indicates whether to show the assigned LF-tags.</p>
|
|
1567
|
+
*/
|
|
1568
|
+
ShowAssignedLFTags?: boolean;
|
|
1569
|
+
}
|
|
1570
|
+
export declare namespace GetResourceLFTagsRequest {
|
|
1571
|
+
/**
|
|
1572
|
+
* @internal
|
|
1573
|
+
*/
|
|
1574
|
+
const filterSensitiveLog: (obj: GetResourceLFTagsRequest) => any;
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* <p>A structure containing the name of a column resource and the LF-tags attached to it.</p>
|
|
1578
|
+
*/
|
|
1579
|
+
export interface ColumnLFTag {
|
|
1580
|
+
/**
|
|
1581
|
+
* <p>The name of a column resource.</p>
|
|
1582
|
+
*/
|
|
1583
|
+
Name?: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The LF-tags attached to a column resource.</p>
|
|
1586
|
+
*/
|
|
1587
|
+
LFTags?: LFTagPair[];
|
|
1588
|
+
}
|
|
1589
|
+
export declare namespace ColumnLFTag {
|
|
1590
|
+
/**
|
|
1591
|
+
* @internal
|
|
1592
|
+
*/
|
|
1593
|
+
const filterSensitiveLog: (obj: ColumnLFTag) => any;
|
|
1594
|
+
}
|
|
1595
|
+
export interface GetResourceLFTagsResponse {
|
|
1596
|
+
/**
|
|
1597
|
+
* <p>A list of LF-tags applied to a database resource.</p>
|
|
1598
|
+
*/
|
|
1599
|
+
LFTagOnDatabase?: LFTagPair[];
|
|
1600
|
+
/**
|
|
1601
|
+
* <p>A list of LF-tags applied to a table resource.</p>
|
|
1602
|
+
*/
|
|
1603
|
+
LFTagsOnTable?: LFTagPair[];
|
|
1604
|
+
/**
|
|
1605
|
+
* <p>A list of LF-tags applied to a column resource.</p>
|
|
1606
|
+
*/
|
|
1607
|
+
LFTagsOnColumns?: ColumnLFTag[];
|
|
1608
|
+
}
|
|
1609
|
+
export declare namespace GetResourceLFTagsResponse {
|
|
1610
|
+
/**
|
|
1611
|
+
* @internal
|
|
1612
|
+
*/
|
|
1613
|
+
const filterSensitiveLog: (obj: GetResourceLFTagsResponse) => any;
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* <p>An encryption operation failed.</p>
|
|
1617
|
+
*/
|
|
1618
|
+
export interface GlueEncryptionException extends __SmithyException, $MetadataBearer {
|
|
1619
|
+
name: "GlueEncryptionException";
|
|
1620
|
+
$fault: "client";
|
|
1621
|
+
/**
|
|
1622
|
+
* <p>A message describing the problem.</p>
|
|
1623
|
+
*/
|
|
1624
|
+
Message?: string;
|
|
1625
|
+
}
|
|
1626
|
+
export declare namespace GlueEncryptionException {
|
|
1627
|
+
/**
|
|
1628
|
+
* @internal
|
|
1629
|
+
*/
|
|
1630
|
+
const filterSensitiveLog: (obj: GlueEncryptionException) => any;
|
|
1631
|
+
}
|
|
1632
|
+
export interface GetTableObjectsRequest {
|
|
1633
|
+
/**
|
|
1634
|
+
* <p>The catalog containing the governed table. Defaults to the caller’s account.</p>
|
|
1635
|
+
*/
|
|
1636
|
+
CatalogId?: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* <p>The database containing the governed table.</p>
|
|
1639
|
+
*/
|
|
1640
|
+
DatabaseName: string | undefined;
|
|
1641
|
+
/**
|
|
1642
|
+
* <p>The governed table for which to retrieve objects.</p>
|
|
1643
|
+
*/
|
|
1644
|
+
TableName: string | undefined;
|
|
1645
|
+
/**
|
|
1646
|
+
* <p>The transaction ID at which to read the governed table contents. If this transaction has aborted, an error is returned. If not set, defaults to the most recent committed transaction. Cannot be specified along with <code>QueryAsOfTime</code>.</p>
|
|
1647
|
+
*/
|
|
1648
|
+
TransactionId?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* <p>The time as of when to read the governed table contents. If not set, the most recent transaction commit time is used. Cannot be specified along with <code>TransactionId</code>.</p>
|
|
1651
|
+
*/
|
|
1652
|
+
QueryAsOfTime?: Date;
|
|
1653
|
+
/**
|
|
1654
|
+
* <p>A predicate to filter the objects returned based on the partition keys defined in the governed table.</p>
|
|
1655
|
+
* <ul>
|
|
1656
|
+
* <li>
|
|
1657
|
+
* <p>The comparison operators supported are: =, >, <, >=, <=</p>
|
|
1658
|
+
* </li>
|
|
1659
|
+
* <li>
|
|
1660
|
+
* <p>The logical operators supported are: AND</p>
|
|
1661
|
+
* </li>
|
|
1662
|
+
* <li>
|
|
1663
|
+
* <p>The data types supported 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>
|
|
1664
|
+
* </li>
|
|
1665
|
+
* </ul>
|
|
1666
|
+
*/
|
|
1667
|
+
PartitionPredicate?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* <p>Specifies how many values to return in a page.</p>
|
|
1670
|
+
*/
|
|
1671
|
+
MaxResults?: number;
|
|
1672
|
+
/**
|
|
1673
|
+
* <p>A continuation token if this is not the first call to retrieve these objects.</p>
|
|
1674
|
+
*/
|
|
1675
|
+
NextToken?: string;
|
|
1676
|
+
}
|
|
1677
|
+
export declare namespace GetTableObjectsRequest {
|
|
1678
|
+
/**
|
|
1679
|
+
* @internal
|
|
1680
|
+
*/
|
|
1681
|
+
const filterSensitiveLog: (obj: GetTableObjectsRequest) => any;
|
|
1682
|
+
}
|
|
1683
|
+
/**
|
|
1684
|
+
* <p>Specifies the details of a governed table.</p>
|
|
1685
|
+
*/
|
|
1686
|
+
export interface TableObject {
|
|
1687
|
+
/**
|
|
1688
|
+
* <p>The Amazon S3 location of the object.</p>
|
|
1689
|
+
*/
|
|
1690
|
+
Uri?: string;
|
|
1691
|
+
/**
|
|
1692
|
+
* <p>The Amazon S3 ETag of the object. Returned by <code>GetTableObjects</code> for validation and used to identify changes to the underlying data.</p>
|
|
1693
|
+
*/
|
|
1694
|
+
ETag?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* <p>The size of the Amazon S3 object in bytes.</p>
|
|
1697
|
+
*/
|
|
1698
|
+
Size?: number;
|
|
1699
|
+
}
|
|
1700
|
+
export declare namespace TableObject {
|
|
1701
|
+
/**
|
|
1702
|
+
* @internal
|
|
1703
|
+
*/
|
|
1704
|
+
const filterSensitiveLog: (obj: TableObject) => any;
|
|
1705
|
+
}
|
|
1706
|
+
/**
|
|
1707
|
+
* <p>A structure containing a list of partition values and table objects.</p>
|
|
1708
|
+
*/
|
|
1709
|
+
export interface PartitionObjects {
|
|
1710
|
+
/**
|
|
1711
|
+
* <p>A list of partition values.</p>
|
|
1712
|
+
*/
|
|
1713
|
+
PartitionValues?: string[];
|
|
1714
|
+
/**
|
|
1715
|
+
* <p>A list of table objects</p>
|
|
1716
|
+
*/
|
|
1717
|
+
Objects?: TableObject[];
|
|
1718
|
+
}
|
|
1719
|
+
export declare namespace PartitionObjects {
|
|
1720
|
+
/**
|
|
1721
|
+
* @internal
|
|
1722
|
+
*/
|
|
1723
|
+
const filterSensitiveLog: (obj: PartitionObjects) => any;
|
|
1724
|
+
}
|
|
1725
|
+
export interface GetTableObjectsResponse {
|
|
1726
|
+
/**
|
|
1727
|
+
* <p>A list of objects organized by partition keys.</p>
|
|
1728
|
+
*/
|
|
1729
|
+
Objects?: PartitionObjects[];
|
|
1730
|
+
/**
|
|
1731
|
+
* <p>A continuation token indicating whether additional data is available.</p>
|
|
1732
|
+
*/
|
|
1733
|
+
NextToken?: string;
|
|
1734
|
+
}
|
|
1735
|
+
export declare namespace GetTableObjectsResponse {
|
|
1736
|
+
/**
|
|
1737
|
+
* @internal
|
|
1738
|
+
*/
|
|
1739
|
+
const filterSensitiveLog: (obj: GetTableObjectsResponse) => any;
|
|
1740
|
+
}
|
|
1741
|
+
export interface GetWorkUnitResultsRequest {
|
|
1742
|
+
/**
|
|
1743
|
+
* <p>The ID of the plan query operation for which to get results.</p>
|
|
1744
|
+
*/
|
|
1745
|
+
QueryId: string | undefined;
|
|
1746
|
+
/**
|
|
1747
|
+
* <p>The work unit ID for which to get results. Value generated by enumerating <code>WorkUnitIdMin</code> to <code>WorkUnitIdMax</code> (inclusive) from the <code>WorkUnitRange</code> in the output of <code>GetWorkUnits</code>.</p>
|
|
1748
|
+
*/
|
|
1749
|
+
WorkUnitId: number | undefined;
|
|
1750
|
+
/**
|
|
1751
|
+
* <p>A work token used to query the execution service. Token output from <code>GetWorkUnits</code>.</p>
|
|
1752
|
+
*/
|
|
1753
|
+
WorkUnitToken: string | undefined;
|
|
1754
|
+
}
|
|
1755
|
+
export declare namespace GetWorkUnitResultsRequest {
|
|
1756
|
+
/**
|
|
1757
|
+
* @internal
|
|
1758
|
+
*/
|
|
1759
|
+
const filterSensitiveLog: (obj: GetWorkUnitResultsRequest) => any;
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* <p>A structure for the output.</p>
|
|
1763
|
+
*/
|
|
1764
|
+
export interface GetWorkUnitResultsResponse {
|
|
1765
|
+
/**
|
|
1766
|
+
* <p>Rows returned from the <code>GetWorkUnitResults</code> operation as a stream of Apache Arrow v1.0 messages.</p>
|
|
1767
|
+
*/
|
|
1768
|
+
ResultStream?: Readable | ReadableStream | Blob;
|
|
1769
|
+
}
|
|
1770
|
+
export declare namespace GetWorkUnitResultsResponse {
|
|
1771
|
+
/**
|
|
1772
|
+
* @internal
|
|
1773
|
+
*/
|
|
1774
|
+
const filterSensitiveLog: (obj: GetWorkUnitResultsResponse) => any;
|
|
1775
|
+
}
|
|
1776
|
+
export interface GetWorkUnitsRequest {
|
|
929
1777
|
/**
|
|
930
|
-
* <p>
|
|
1778
|
+
* <p>A continuation token, if this is a continuation call.</p>
|
|
931
1779
|
*/
|
|
932
|
-
|
|
1780
|
+
NextToken?: string;
|
|
933
1781
|
/**
|
|
934
|
-
* <p>The
|
|
1782
|
+
* <p>The size of each page to get in the Amazon Web Services service call. This does not affect the number of items returned in the command's output. Setting a smaller page size results in more calls to the Amazon Web Services service, retrieving fewer items in each call. This can help prevent the Amazon Web Services service calls from timing out.</p>
|
|
935
1783
|
*/
|
|
936
|
-
|
|
1784
|
+
PageSize?: number;
|
|
937
1785
|
/**
|
|
938
|
-
* <p>
|
|
1786
|
+
* <p>The ID of the plan query operation.</p>
|
|
939
1787
|
*/
|
|
940
|
-
|
|
1788
|
+
QueryId: string | undefined;
|
|
941
1789
|
}
|
|
942
|
-
export declare namespace
|
|
1790
|
+
export declare namespace GetWorkUnitsRequest {
|
|
943
1791
|
/**
|
|
944
1792
|
* @internal
|
|
945
1793
|
*/
|
|
946
|
-
const filterSensitiveLog: (obj:
|
|
1794
|
+
const filterSensitiveLog: (obj: GetWorkUnitsRequest) => any;
|
|
947
1795
|
}
|
|
948
1796
|
/**
|
|
949
|
-
* <p>
|
|
1797
|
+
* <p>Defines the valid range of work unit IDs for querying the execution service.</p>
|
|
950
1798
|
*/
|
|
951
|
-
export interface
|
|
1799
|
+
export interface WorkUnitRange {
|
|
952
1800
|
/**
|
|
953
|
-
* <p>The
|
|
1801
|
+
* <p>Defines the maximum work unit ID in the range. The maximum value is inclusive.</p>
|
|
954
1802
|
*/
|
|
955
|
-
|
|
1803
|
+
WorkUnitIdMax: number | undefined;
|
|
956
1804
|
/**
|
|
957
|
-
* <p>
|
|
1805
|
+
* <p>Defines the minimum work unit ID in the range.</p>
|
|
958
1806
|
*/
|
|
959
|
-
|
|
1807
|
+
WorkUnitIdMin: number | undefined;
|
|
1808
|
+
/**
|
|
1809
|
+
* <p>A work token used to query the execution service.</p>
|
|
1810
|
+
*/
|
|
1811
|
+
WorkUnitToken: string | undefined;
|
|
960
1812
|
}
|
|
961
|
-
export declare namespace
|
|
1813
|
+
export declare namespace WorkUnitRange {
|
|
962
1814
|
/**
|
|
963
1815
|
* @internal
|
|
964
1816
|
*/
|
|
965
|
-
const filterSensitiveLog: (obj:
|
|
1817
|
+
const filterSensitiveLog: (obj: WorkUnitRange) => any;
|
|
966
1818
|
}
|
|
967
|
-
|
|
1819
|
+
/**
|
|
1820
|
+
* <p>A structure for the output.</p>
|
|
1821
|
+
*/
|
|
1822
|
+
export interface GetWorkUnitsResponse {
|
|
968
1823
|
/**
|
|
969
|
-
* <p>A list of
|
|
1824
|
+
* <p>A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.</p>
|
|
970
1825
|
*/
|
|
971
|
-
|
|
1826
|
+
NextToken?: string;
|
|
972
1827
|
/**
|
|
973
|
-
* <p>
|
|
1828
|
+
* <p>The ID of the plan query operation.</p>
|
|
974
1829
|
*/
|
|
975
|
-
|
|
1830
|
+
QueryId: string | undefined;
|
|
976
1831
|
/**
|
|
977
|
-
* <p>A
|
|
1832
|
+
* <p>A <code>WorkUnitRangeList</code> object that specifies the valid range of work unit IDs for querying the execution service.</p>
|
|
978
1833
|
*/
|
|
979
|
-
|
|
1834
|
+
WorkUnitRanges: WorkUnitRange[] | undefined;
|
|
980
1835
|
}
|
|
981
|
-
export declare namespace
|
|
1836
|
+
export declare namespace GetWorkUnitsResponse {
|
|
982
1837
|
/**
|
|
983
1838
|
* @internal
|
|
984
1839
|
*/
|
|
985
|
-
const filterSensitiveLog: (obj:
|
|
1840
|
+
const filterSensitiveLog: (obj: GetWorkUnitsResponse) => any;
|
|
986
1841
|
}
|
|
987
1842
|
/**
|
|
988
|
-
* <p>
|
|
1843
|
+
* <p>Contains details about an error related to work units not being ready.</p>
|
|
989
1844
|
*/
|
|
990
|
-
export interface
|
|
991
|
-
name: "
|
|
1845
|
+
export interface WorkUnitsNotReadyYetException extends __SmithyException, $MetadataBearer {
|
|
1846
|
+
name: "WorkUnitsNotReadyYetException";
|
|
992
1847
|
$fault: "client";
|
|
993
1848
|
/**
|
|
994
|
-
* <p>A message describing the
|
|
1849
|
+
* <p>A message describing the error.</p>
|
|
995
1850
|
*/
|
|
996
1851
|
Message?: string;
|
|
997
1852
|
}
|
|
998
|
-
export declare namespace
|
|
1853
|
+
export declare namespace WorkUnitsNotReadyYetException {
|
|
999
1854
|
/**
|
|
1000
1855
|
* @internal
|
|
1001
1856
|
*/
|
|
1002
|
-
const filterSensitiveLog: (obj:
|
|
1857
|
+
const filterSensitiveLog: (obj: WorkUnitsNotReadyYetException) => any;
|
|
1003
1858
|
}
|
|
1004
1859
|
export interface GrantPermissionsRequest {
|
|
1005
1860
|
/**
|
|
1006
|
-
* <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
|
|
1861
|
+
* <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>
|
|
1007
1862
|
*/
|
|
1008
1863
|
CatalogId?: string;
|
|
1009
1864
|
/**
|
|
@@ -1012,11 +1867,11 @@ export interface GrantPermissionsRequest {
|
|
|
1012
1867
|
*/
|
|
1013
1868
|
Principal: DataLakePrincipal | undefined;
|
|
1014
1869
|
/**
|
|
1015
|
-
* <p>The resource to which permissions are to be granted. Resources in
|
|
1870
|
+
* <p>The resource to which permissions are to be granted. Resources in Lake Formation are the Data Catalog, databases, and tables.</p>
|
|
1016
1871
|
*/
|
|
1017
1872
|
Resource: Resource | undefined;
|
|
1018
1873
|
/**
|
|
1019
|
-
* <p>The permissions granted to the principal on the resource.
|
|
1874
|
+
* <p>The permissions granted to the principal on the resource. Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. Lake Formation requires that each principal be authorized to perform a specific task on Lake Formation resources. </p>
|
|
1020
1875
|
*/
|
|
1021
1876
|
Permissions: (Permission | string)[] | undefined;
|
|
1022
1877
|
/**
|
|
@@ -1038,17 +1893,53 @@ export declare namespace GrantPermissionsResponse {
|
|
|
1038
1893
|
*/
|
|
1039
1894
|
const filterSensitiveLog: (obj: GrantPermissionsResponse) => any;
|
|
1040
1895
|
}
|
|
1896
|
+
export interface ListDataCellsFilterRequest {
|
|
1897
|
+
/**
|
|
1898
|
+
* <p>A table in the Glue Data Catalog.</p>
|
|
1899
|
+
*/
|
|
1900
|
+
Table?: TableResource;
|
|
1901
|
+
/**
|
|
1902
|
+
* <p>A continuation token, if this is a continuation call.</p>
|
|
1903
|
+
*/
|
|
1904
|
+
NextToken?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* <p>The maximum size of the response.</p>
|
|
1907
|
+
*/
|
|
1908
|
+
MaxResults?: number;
|
|
1909
|
+
}
|
|
1910
|
+
export declare namespace ListDataCellsFilterRequest {
|
|
1911
|
+
/**
|
|
1912
|
+
* @internal
|
|
1913
|
+
*/
|
|
1914
|
+
const filterSensitiveLog: (obj: ListDataCellsFilterRequest) => any;
|
|
1915
|
+
}
|
|
1916
|
+
export interface ListDataCellsFilterResponse {
|
|
1917
|
+
/**
|
|
1918
|
+
* <p>A list of <code>DataCellFilter</code> structures.</p>
|
|
1919
|
+
*/
|
|
1920
|
+
DataCellsFilters?: DataCellsFilter[];
|
|
1921
|
+
/**
|
|
1922
|
+
* <p>A continuation token, if not all requested data cell filters have been returned.</p>
|
|
1923
|
+
*/
|
|
1924
|
+
NextToken?: string;
|
|
1925
|
+
}
|
|
1926
|
+
export declare namespace ListDataCellsFilterResponse {
|
|
1927
|
+
/**
|
|
1928
|
+
* @internal
|
|
1929
|
+
*/
|
|
1930
|
+
const filterSensitiveLog: (obj: ListDataCellsFilterResponse) => any;
|
|
1931
|
+
}
|
|
1041
1932
|
export declare enum ResourceShareType {
|
|
1042
1933
|
ALL = "ALL",
|
|
1043
1934
|
FOREIGN = "FOREIGN"
|
|
1044
1935
|
}
|
|
1045
1936
|
export interface ListLFTagsRequest {
|
|
1046
1937
|
/**
|
|
1047
|
-
* <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
|
|
1938
|
+
* <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>
|
|
1048
1939
|
*/
|
|
1049
1940
|
CatalogId?: string;
|
|
1050
1941
|
/**
|
|
1051
|
-
* <p>If resource share type is <code>ALL</code>, returns both in-account tags and shared tags that the requester has permission to view. If resource share type is <code>FOREIGN</code>, returns all share tags that the requester can view. If no resource share type is passed, lists tags in the given catalog ID that the requester has permission to view.</p>
|
|
1942
|
+
* <p>If resource share type is <code>ALL</code>, returns both in-account LF-tags and shared LF-tags that the requester has permission to view. If resource share type is <code>FOREIGN</code>, returns all share LF-tags that the requester can view. If no resource share type is passed, lists LF-tags in the given catalog ID that the requester has permission to view.</p>
|
|
1052
1943
|
*/
|
|
1053
1944
|
ResourceShareType?: ResourceShareType | string;
|
|
1054
1945
|
/**
|
|
@@ -1068,7 +1959,7 @@ export declare namespace ListLFTagsRequest {
|
|
|
1068
1959
|
}
|
|
1069
1960
|
export interface ListLFTagsResponse {
|
|
1070
1961
|
/**
|
|
1071
|
-
* <p>A list of tags that the requested has permission to view.</p>
|
|
1962
|
+
* <p>A list of LF-tags that the requested has permission to view.</p>
|
|
1072
1963
|
*/
|
|
1073
1964
|
LFTags?: LFTagPair[];
|
|
1074
1965
|
/**
|
|
@@ -1094,7 +1985,7 @@ export declare enum DataLakeResourceType {
|
|
|
1094
1985
|
}
|
|
1095
1986
|
export interface ListPermissionsRequest {
|
|
1096
1987
|
/**
|
|
1097
|
-
* <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
|
|
1988
|
+
* <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>
|
|
1098
1989
|
*/
|
|
1099
1990
|
CatalogId?: string;
|
|
1100
1991
|
/**
|
|
@@ -1118,6 +2009,10 @@ export interface ListPermissionsRequest {
|
|
|
1118
2009
|
* <p>The maximum number of results to return.</p>
|
|
1119
2010
|
*/
|
|
1120
2011
|
MaxResults?: number;
|
|
2012
|
+
/**
|
|
2013
|
+
* <p>Indicates that related permissions should be included in the results.</p>
|
|
2014
|
+
*/
|
|
2015
|
+
IncludeRelated?: string;
|
|
1121
2016
|
}
|
|
1122
2017
|
export declare namespace ListPermissionsRequest {
|
|
1123
2018
|
/**
|
|
@@ -1218,13 +2113,149 @@ export declare namespace ListResourcesResponse {
|
|
|
1218
2113
|
*/
|
|
1219
2114
|
const filterSensitiveLog: (obj: ListResourcesResponse) => any;
|
|
1220
2115
|
}
|
|
2116
|
+
export declare enum OptimizerType {
|
|
2117
|
+
COMPACTION = "COMPACTION",
|
|
2118
|
+
GARBAGE_COLLECTION = "GARBAGE_COLLECTION",
|
|
2119
|
+
GENERIC = "ALL"
|
|
2120
|
+
}
|
|
2121
|
+
export interface ListTableStorageOptimizersRequest {
|
|
2122
|
+
/**
|
|
2123
|
+
* <p>The Catalog ID of the table.</p>
|
|
2124
|
+
*/
|
|
2125
|
+
CatalogId?: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* <p>Name of the database where the table is present.</p>
|
|
2128
|
+
*/
|
|
2129
|
+
DatabaseName: string | undefined;
|
|
2130
|
+
/**
|
|
2131
|
+
* <p>Name of the table.</p>
|
|
2132
|
+
*/
|
|
2133
|
+
TableName: string | undefined;
|
|
2134
|
+
/**
|
|
2135
|
+
* <p>The specific type of storage optimizers to list. The supported value is <code>compaction</code>.</p>
|
|
2136
|
+
*/
|
|
2137
|
+
StorageOptimizerType?: OptimizerType | string;
|
|
2138
|
+
/**
|
|
2139
|
+
* <p>The number of storage optimizers to return on each call.</p>
|
|
2140
|
+
*/
|
|
2141
|
+
MaxResults?: number;
|
|
2142
|
+
/**
|
|
2143
|
+
* <p>A continuation token, if this is a continuation call.</p>
|
|
2144
|
+
*/
|
|
2145
|
+
NextToken?: string;
|
|
2146
|
+
}
|
|
2147
|
+
export declare namespace ListTableStorageOptimizersRequest {
|
|
2148
|
+
/**
|
|
2149
|
+
* @internal
|
|
2150
|
+
*/
|
|
2151
|
+
const filterSensitiveLog: (obj: ListTableStorageOptimizersRequest) => any;
|
|
2152
|
+
}
|
|
2153
|
+
/**
|
|
2154
|
+
* <p>A structure describing the configuration and details of a storage optimizer.</p>
|
|
2155
|
+
*/
|
|
2156
|
+
export interface StorageOptimizer {
|
|
2157
|
+
/**
|
|
2158
|
+
* <p>The specific type of storage optimizer. The supported value is <code>compaction</code>.</p>
|
|
2159
|
+
*/
|
|
2160
|
+
StorageOptimizerType?: OptimizerType | string;
|
|
2161
|
+
/**
|
|
2162
|
+
* <p>A map of the storage optimizer configuration. Currently contains only one key-value pair: <code>is_enabled</code> indicates true or false for acceleration.</p>
|
|
2163
|
+
*/
|
|
2164
|
+
Config?: {
|
|
2165
|
+
[key: string]: string;
|
|
2166
|
+
};
|
|
2167
|
+
/**
|
|
2168
|
+
* <p>A message that contains information about any error (if present).</p>
|
|
2169
|
+
*
|
|
2170
|
+
* <p>When an acceleration result has an enabled status, the error message is empty.</p>
|
|
2171
|
+
* <p>When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".</p>
|
|
2172
|
+
*/
|
|
2173
|
+
ErrorMessage?: string;
|
|
2174
|
+
/**
|
|
2175
|
+
* <p>A message that contains information about any warnings (if present).</p>
|
|
2176
|
+
*/
|
|
2177
|
+
Warnings?: string;
|
|
2178
|
+
/**
|
|
2179
|
+
* <p>When an acceleration result has an enabled status, contains the details of the last job run.</p>
|
|
2180
|
+
*/
|
|
2181
|
+
LastRunDetails?: string;
|
|
2182
|
+
}
|
|
2183
|
+
export declare namespace StorageOptimizer {
|
|
2184
|
+
/**
|
|
2185
|
+
* @internal
|
|
2186
|
+
*/
|
|
2187
|
+
const filterSensitiveLog: (obj: StorageOptimizer) => any;
|
|
2188
|
+
}
|
|
2189
|
+
export interface ListTableStorageOptimizersResponse {
|
|
2190
|
+
/**
|
|
2191
|
+
* <p>A list of the storage optimizers associated with a table.</p>
|
|
2192
|
+
*/
|
|
2193
|
+
StorageOptimizerList?: StorageOptimizer[];
|
|
2194
|
+
/**
|
|
2195
|
+
* <p>A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.</p>
|
|
2196
|
+
*/
|
|
2197
|
+
NextToken?: string;
|
|
2198
|
+
}
|
|
2199
|
+
export declare namespace ListTableStorageOptimizersResponse {
|
|
2200
|
+
/**
|
|
2201
|
+
* @internal
|
|
2202
|
+
*/
|
|
2203
|
+
const filterSensitiveLog: (obj: ListTableStorageOptimizersResponse) => any;
|
|
2204
|
+
}
|
|
2205
|
+
export declare enum TransactionStatusFilter {
|
|
2206
|
+
ABORTED = "ABORTED",
|
|
2207
|
+
ACTIVE = "ACTIVE",
|
|
2208
|
+
ALL = "ALL",
|
|
2209
|
+
COMMITTED = "COMMITTED",
|
|
2210
|
+
COMPLETED = "COMPLETED"
|
|
2211
|
+
}
|
|
2212
|
+
export interface ListTransactionsRequest {
|
|
2213
|
+
/**
|
|
2214
|
+
* <p>The catalog for which to list transactions. Defaults to the account ID of the caller.</p>
|
|
2215
|
+
*/
|
|
2216
|
+
CatalogId?: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* <p> A filter indicating the status of transactions to return. Options are ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is <code>ALL</code>.</p>
|
|
2219
|
+
*/
|
|
2220
|
+
StatusFilter?: TransactionStatusFilter | string;
|
|
2221
|
+
/**
|
|
2222
|
+
* <p>The maximum number of transactions to return in a single call.</p>
|
|
2223
|
+
*/
|
|
2224
|
+
MaxResults?: number;
|
|
2225
|
+
/**
|
|
2226
|
+
* <p>A continuation token if this is not the first call to retrieve transactions.</p>
|
|
2227
|
+
*/
|
|
2228
|
+
NextToken?: string;
|
|
2229
|
+
}
|
|
2230
|
+
export declare namespace ListTransactionsRequest {
|
|
2231
|
+
/**
|
|
2232
|
+
* @internal
|
|
2233
|
+
*/
|
|
2234
|
+
const filterSensitiveLog: (obj: ListTransactionsRequest) => any;
|
|
2235
|
+
}
|
|
2236
|
+
export interface ListTransactionsResponse {
|
|
2237
|
+
/**
|
|
2238
|
+
* <p>A list of transactions. The record for each transaction is a <code>TransactionDescription</code> object.</p>
|
|
2239
|
+
*/
|
|
2240
|
+
Transactions?: TransactionDescription[];
|
|
2241
|
+
/**
|
|
2242
|
+
* <p>A continuation token indicating whether additional data is available.</p>
|
|
2243
|
+
*/
|
|
2244
|
+
NextToken?: string;
|
|
2245
|
+
}
|
|
2246
|
+
export declare namespace ListTransactionsResponse {
|
|
2247
|
+
/**
|
|
2248
|
+
* @internal
|
|
2249
|
+
*/
|
|
2250
|
+
const filterSensitiveLog: (obj: ListTransactionsResponse) => any;
|
|
2251
|
+
}
|
|
1221
2252
|
export interface PutDataLakeSettingsRequest {
|
|
1222
2253
|
/**
|
|
1223
|
-
* <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
|
|
2254
|
+
* <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>
|
|
1224
2255
|
*/
|
|
1225
2256
|
CatalogId?: string;
|
|
1226
2257
|
/**
|
|
1227
|
-
* <p>A structure representing a list of
|
|
2258
|
+
* <p>A structure representing a list of Lake Formation principals designated as data lake administrators.</p>
|
|
1228
2259
|
*/
|
|
1229
2260
|
DataLakeSettings: DataLakeSettings | undefined;
|
|
1230
2261
|
}
|
|
@@ -1248,7 +2279,7 @@ export interface RegisterResourceRequest {
|
|
|
1248
2279
|
*/
|
|
1249
2280
|
ResourceArn: string | undefined;
|
|
1250
2281
|
/**
|
|
1251
|
-
* <p>Designates an
|
|
2282
|
+
* <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>
|
|
1252
2283
|
*
|
|
1253
2284
|
* <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>
|
|
1254
2285
|
*/
|
|
@@ -1274,15 +2305,15 @@ export declare namespace RegisterResourceResponse {
|
|
|
1274
2305
|
}
|
|
1275
2306
|
export interface RemoveLFTagsFromResourceRequest {
|
|
1276
2307
|
/**
|
|
1277
|
-
* <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
|
|
2308
|
+
* <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>
|
|
1278
2309
|
*/
|
|
1279
2310
|
CatalogId?: string;
|
|
1280
2311
|
/**
|
|
1281
|
-
* <p>The resource where you want to remove
|
|
2312
|
+
* <p>The database, table, or column resource where you want to remove an LF-tag.</p>
|
|
1282
2313
|
*/
|
|
1283
2314
|
Resource: Resource | undefined;
|
|
1284
2315
|
/**
|
|
1285
|
-
* <p>The tags to be removed from the resource.</p>
|
|
2316
|
+
* <p>The LF-tags to be removed from the resource.</p>
|
|
1286
2317
|
*/
|
|
1287
2318
|
LFTags: LFTagPair[] | undefined;
|
|
1288
2319
|
}
|
|
@@ -1306,7 +2337,7 @@ export declare namespace RemoveLFTagsFromResourceResponse {
|
|
|
1306
2337
|
}
|
|
1307
2338
|
export interface RevokePermissionsRequest {
|
|
1308
2339
|
/**
|
|
1309
|
-
* <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
|
|
2340
|
+
* <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>
|
|
1310
2341
|
*/
|
|
1311
2342
|
CatalogId?: string;
|
|
1312
2343
|
/**
|
|
@@ -1351,7 +2382,7 @@ export interface SearchDatabasesByLFTagsRequest {
|
|
|
1351
2382
|
*/
|
|
1352
2383
|
MaxResults?: number;
|
|
1353
2384
|
/**
|
|
1354
|
-
* <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
|
|
2385
|
+
* <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>
|
|
1355
2386
|
*/
|
|
1356
2387
|
CatalogId?: string;
|
|
1357
2388
|
/**
|
|
@@ -1366,15 +2397,15 @@ export declare namespace SearchDatabasesByLFTagsRequest {
|
|
|
1366
2397
|
const filterSensitiveLog: (obj: SearchDatabasesByLFTagsRequest) => any;
|
|
1367
2398
|
}
|
|
1368
2399
|
/**
|
|
1369
|
-
* <p>A structure describing a database resource with tags.</p>
|
|
2400
|
+
* <p>A structure describing a database resource with LF-tags.</p>
|
|
1370
2401
|
*/
|
|
1371
2402
|
export interface TaggedDatabase {
|
|
1372
2403
|
/**
|
|
1373
|
-
* <p>A database that has tags attached to it.</p>
|
|
2404
|
+
* <p>A database that has LF-tags attached to it.</p>
|
|
1374
2405
|
*/
|
|
1375
2406
|
Database?: DatabaseResource;
|
|
1376
2407
|
/**
|
|
1377
|
-
* <p>A list of tags attached to the database.</p>
|
|
2408
|
+
* <p>A list of LF-tags attached to the database.</p>
|
|
1378
2409
|
*/
|
|
1379
2410
|
LFTags?: LFTagPair[];
|
|
1380
2411
|
}
|
|
@@ -1390,7 +2421,7 @@ export interface SearchDatabasesByLFTagsResponse {
|
|
|
1390
2421
|
*/
|
|
1391
2422
|
NextToken?: string;
|
|
1392
2423
|
/**
|
|
1393
|
-
* <p>A list of databases that meet the tag conditions.</p>
|
|
2424
|
+
* <p>A list of databases that meet the LF-tag conditions.</p>
|
|
1394
2425
|
*/
|
|
1395
2426
|
DatabaseList?: TaggedDatabase[];
|
|
1396
2427
|
}
|
|
@@ -1410,7 +2441,7 @@ export interface SearchTablesByLFTagsRequest {
|
|
|
1410
2441
|
*/
|
|
1411
2442
|
MaxResults?: number;
|
|
1412
2443
|
/**
|
|
1413
|
-
* <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
|
|
2444
|
+
* <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>
|
|
1414
2445
|
*/
|
|
1415
2446
|
CatalogId?: string;
|
|
1416
2447
|
/**
|
|
@@ -1425,23 +2456,23 @@ export declare namespace SearchTablesByLFTagsRequest {
|
|
|
1425
2456
|
const filterSensitiveLog: (obj: SearchTablesByLFTagsRequest) => any;
|
|
1426
2457
|
}
|
|
1427
2458
|
/**
|
|
1428
|
-
* <p>A structure describing a table resource with tags.</p>
|
|
2459
|
+
* <p>A structure describing a table resource with LF-tags.</p>
|
|
1429
2460
|
*/
|
|
1430
2461
|
export interface TaggedTable {
|
|
1431
2462
|
/**
|
|
1432
|
-
* <p>A table that has tags attached to it.</p>
|
|
2463
|
+
* <p>A table that has LF-tags attached to it.</p>
|
|
1433
2464
|
*/
|
|
1434
2465
|
Table?: TableResource;
|
|
1435
2466
|
/**
|
|
1436
|
-
* <p>A list of tags attached to the database where the table resides.</p>
|
|
2467
|
+
* <p>A list of LF-tags attached to the database where the table resides.</p>
|
|
1437
2468
|
*/
|
|
1438
2469
|
LFTagOnDatabase?: LFTagPair[];
|
|
1439
2470
|
/**
|
|
1440
|
-
* <p>A list of tags attached to the table.</p>
|
|
2471
|
+
* <p>A list of LF-tags attached to the table.</p>
|
|
1441
2472
|
*/
|
|
1442
2473
|
LFTagsOnTable?: LFTagPair[];
|
|
1443
2474
|
/**
|
|
1444
|
-
* <p>A list of tags attached to columns in the table.</p>
|
|
2475
|
+
* <p>A list of LF-tags attached to columns in the table.</p>
|
|
1445
2476
|
*/
|
|
1446
2477
|
LFTagsOnColumns?: ColumnLFTag[];
|
|
1447
2478
|
}
|
|
@@ -1457,7 +2488,7 @@ export interface SearchTablesByLFTagsResponse {
|
|
|
1457
2488
|
*/
|
|
1458
2489
|
NextToken?: string;
|
|
1459
2490
|
/**
|
|
1460
|
-
* <p>A list of tables that meet the tag conditions.</p>
|
|
2491
|
+
* <p>A list of tables that meet the LF-tag conditions.</p>
|
|
1461
2492
|
*/
|
|
1462
2493
|
TableList?: TaggedTable[];
|
|
1463
2494
|
}
|
|
@@ -1467,21 +2498,113 @@ export declare namespace SearchTablesByLFTagsResponse {
|
|
|
1467
2498
|
*/
|
|
1468
2499
|
const filterSensitiveLog: (obj: SearchTablesByLFTagsResponse) => any;
|
|
1469
2500
|
}
|
|
2501
|
+
/**
|
|
2502
|
+
* <p>A structure containing information about the query plan.</p>
|
|
2503
|
+
*/
|
|
2504
|
+
export interface QueryPlanningContext {
|
|
2505
|
+
/**
|
|
2506
|
+
* <p>The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.</p>
|
|
2507
|
+
*/
|
|
2508
|
+
CatalogId?: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* <p>The database containing the table.</p>
|
|
2511
|
+
*/
|
|
2512
|
+
DatabaseName: string | undefined;
|
|
2513
|
+
/**
|
|
2514
|
+
* <p>The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with <code>TransactionId</code>.</p>
|
|
2515
|
+
*/
|
|
2516
|
+
QueryAsOfTime?: Date;
|
|
2517
|
+
/**
|
|
2518
|
+
* <p>A map consisting of key-value pairs.</p>
|
|
2519
|
+
*/
|
|
2520
|
+
QueryParameters?: {
|
|
2521
|
+
[key: string]: string;
|
|
2522
|
+
};
|
|
2523
|
+
/**
|
|
2524
|
+
* <p>The transaction ID at which to read the table contents. If this transaction is not committed, the read will be treated as part of that transaction and will see its writes. If this transaction has aborted, an error will be returned. If not set, defaults to the most recent committed transaction. Cannot be specified along with <code>QueryAsOfTime</code>.</p>
|
|
2525
|
+
*/
|
|
2526
|
+
TransactionId?: string;
|
|
2527
|
+
}
|
|
2528
|
+
export declare namespace QueryPlanningContext {
|
|
2529
|
+
/**
|
|
2530
|
+
* @internal
|
|
2531
|
+
*/
|
|
2532
|
+
const filterSensitiveLog: (obj: QueryPlanningContext) => any;
|
|
2533
|
+
}
|
|
2534
|
+
export interface StartQueryPlanningRequest {
|
|
2535
|
+
/**
|
|
2536
|
+
* <p>A structure containing information about the query plan.</p>
|
|
2537
|
+
*/
|
|
2538
|
+
QueryPlanningContext: QueryPlanningContext | undefined;
|
|
2539
|
+
/**
|
|
2540
|
+
* <p>A PartiQL query statement used as an input to the planner service.</p>
|
|
2541
|
+
*/
|
|
2542
|
+
QueryString: string | undefined;
|
|
2543
|
+
}
|
|
2544
|
+
export declare namespace StartQueryPlanningRequest {
|
|
2545
|
+
/**
|
|
2546
|
+
* @internal
|
|
2547
|
+
*/
|
|
2548
|
+
const filterSensitiveLog: (obj: StartQueryPlanningRequest) => any;
|
|
2549
|
+
}
|
|
2550
|
+
/**
|
|
2551
|
+
* <p>A structure for the output.</p>
|
|
2552
|
+
*/
|
|
2553
|
+
export interface StartQueryPlanningResponse {
|
|
2554
|
+
/**
|
|
2555
|
+
* <p>The ID of the plan query operation can be used to fetch the actual work unit descriptors that are produced as the result of the operation. The ID is also used to get the query state and as an input to the <code>Execute</code> operation.</p>
|
|
2556
|
+
*/
|
|
2557
|
+
QueryId: string | undefined;
|
|
2558
|
+
}
|
|
2559
|
+
export declare namespace StartQueryPlanningResponse {
|
|
2560
|
+
/**
|
|
2561
|
+
* @internal
|
|
2562
|
+
*/
|
|
2563
|
+
const filterSensitiveLog: (obj: StartQueryPlanningResponse) => any;
|
|
2564
|
+
}
|
|
2565
|
+
export declare enum TransactionType {
|
|
2566
|
+
READ_AND_WRITE = "READ_AND_WRITE",
|
|
2567
|
+
READ_ONLY = "READ_ONLY"
|
|
2568
|
+
}
|
|
2569
|
+
export interface StartTransactionRequest {
|
|
2570
|
+
/**
|
|
2571
|
+
* <p>Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed. </p>
|
|
2572
|
+
*/
|
|
2573
|
+
TransactionType?: TransactionType | string;
|
|
2574
|
+
}
|
|
2575
|
+
export declare namespace StartTransactionRequest {
|
|
2576
|
+
/**
|
|
2577
|
+
* @internal
|
|
2578
|
+
*/
|
|
2579
|
+
const filterSensitiveLog: (obj: StartTransactionRequest) => any;
|
|
2580
|
+
}
|
|
2581
|
+
export interface StartTransactionResponse {
|
|
2582
|
+
/**
|
|
2583
|
+
* <p>An opaque identifier for the transaction.</p>
|
|
2584
|
+
*/
|
|
2585
|
+
TransactionId?: string;
|
|
2586
|
+
}
|
|
2587
|
+
export declare namespace StartTransactionResponse {
|
|
2588
|
+
/**
|
|
2589
|
+
* @internal
|
|
2590
|
+
*/
|
|
2591
|
+
const filterSensitiveLog: (obj: StartTransactionResponse) => any;
|
|
2592
|
+
}
|
|
1470
2593
|
export interface UpdateLFTagRequest {
|
|
1471
2594
|
/**
|
|
1472
|
-
* <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
|
|
2595
|
+
* <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>
|
|
1473
2596
|
*/
|
|
1474
2597
|
CatalogId?: string;
|
|
1475
2598
|
/**
|
|
1476
|
-
* <p>The key-name for the tag for which to add or delete values.</p>
|
|
2599
|
+
* <p>The key-name for the LF-tag for which to add or delete values.</p>
|
|
1477
2600
|
*/
|
|
1478
2601
|
TagKey: string | undefined;
|
|
1479
2602
|
/**
|
|
1480
|
-
* <p>A list of tag values to delete from the tag.</p>
|
|
2603
|
+
* <p>A list of LF-tag values to delete from the LF-tag.</p>
|
|
1481
2604
|
*/
|
|
1482
2605
|
TagValuesToDelete?: string[];
|
|
1483
2606
|
/**
|
|
1484
|
-
* <p>A list of tag values to add from the tag.</p>
|
|
2607
|
+
* <p>A list of LF-tag values to add from the LF-tag.</p>
|
|
1485
2608
|
*/
|
|
1486
2609
|
TagValuesToAdd?: string[];
|
|
1487
2610
|
}
|
|
@@ -1501,7 +2624,7 @@ export declare namespace UpdateLFTagResponse {
|
|
|
1501
2624
|
}
|
|
1502
2625
|
export interface UpdateResourceRequest {
|
|
1503
2626
|
/**
|
|
1504
|
-
* <p>The new role to use for the given resource registered in
|
|
2627
|
+
* <p>The new role to use for the given resource registered in Lake Formation.</p>
|
|
1505
2628
|
*/
|
|
1506
2629
|
RoleArn: string | undefined;
|
|
1507
2630
|
/**
|
|
@@ -1523,3 +2646,121 @@ export declare namespace UpdateResourceResponse {
|
|
|
1523
2646
|
*/
|
|
1524
2647
|
const filterSensitiveLog: (obj: UpdateResourceResponse) => any;
|
|
1525
2648
|
}
|
|
2649
|
+
/**
|
|
2650
|
+
* <p>An object to delete from the governed table.</p>
|
|
2651
|
+
*/
|
|
2652
|
+
export interface DeleteObjectInput {
|
|
2653
|
+
/**
|
|
2654
|
+
* <p>The Amazon S3 location of the object to delete.</p>
|
|
2655
|
+
*/
|
|
2656
|
+
Uri: string | undefined;
|
|
2657
|
+
/**
|
|
2658
|
+
* <p>The Amazon S3 ETag of the object. Returned by <code>GetTableObjects</code> for validation and used to identify changes to the underlying data.</p>
|
|
2659
|
+
*/
|
|
2660
|
+
ETag?: string;
|
|
2661
|
+
/**
|
|
2662
|
+
* <p>A list of partition values for the object. A value must be specified for each partition key associated with the governed table.</p>
|
|
2663
|
+
*/
|
|
2664
|
+
PartitionValues?: string[];
|
|
2665
|
+
}
|
|
2666
|
+
export declare namespace DeleteObjectInput {
|
|
2667
|
+
/**
|
|
2668
|
+
* @internal
|
|
2669
|
+
*/
|
|
2670
|
+
const filterSensitiveLog: (obj: DeleteObjectInput) => any;
|
|
2671
|
+
}
|
|
2672
|
+
/**
|
|
2673
|
+
* <p>Defines an object to add to or delete from a governed table.</p>
|
|
2674
|
+
*/
|
|
2675
|
+
export interface WriteOperation {
|
|
2676
|
+
/**
|
|
2677
|
+
* <p>A new object to add to the governed table.</p>
|
|
2678
|
+
*/
|
|
2679
|
+
AddObject?: AddObjectInput;
|
|
2680
|
+
/**
|
|
2681
|
+
* <p>An object to delete from the governed table.</p>
|
|
2682
|
+
*/
|
|
2683
|
+
DeleteObject?: DeleteObjectInput;
|
|
2684
|
+
}
|
|
2685
|
+
export declare namespace WriteOperation {
|
|
2686
|
+
/**
|
|
2687
|
+
* @internal
|
|
2688
|
+
*/
|
|
2689
|
+
const filterSensitiveLog: (obj: WriteOperation) => any;
|
|
2690
|
+
}
|
|
2691
|
+
export interface UpdateTableObjectsRequest {
|
|
2692
|
+
/**
|
|
2693
|
+
* <p>The catalog containing the governed table to update. Defaults to the caller’s account ID.</p>
|
|
2694
|
+
*/
|
|
2695
|
+
CatalogId?: string;
|
|
2696
|
+
/**
|
|
2697
|
+
* <p>The database containing the governed table to update.</p>
|
|
2698
|
+
*/
|
|
2699
|
+
DatabaseName: string | undefined;
|
|
2700
|
+
/**
|
|
2701
|
+
* <p>The governed table to update.</p>
|
|
2702
|
+
*/
|
|
2703
|
+
TableName: string | undefined;
|
|
2704
|
+
/**
|
|
2705
|
+
* <p>The transaction at which to do the write.</p>
|
|
2706
|
+
*/
|
|
2707
|
+
TransactionId: string | undefined;
|
|
2708
|
+
/**
|
|
2709
|
+
* <p>A list of <code>WriteOperation</code> objects that define an object to add to or delete from the manifest for a governed table.</p>
|
|
2710
|
+
*/
|
|
2711
|
+
WriteOperations: WriteOperation[] | undefined;
|
|
2712
|
+
}
|
|
2713
|
+
export declare namespace UpdateTableObjectsRequest {
|
|
2714
|
+
/**
|
|
2715
|
+
* @internal
|
|
2716
|
+
*/
|
|
2717
|
+
const filterSensitiveLog: (obj: UpdateTableObjectsRequest) => any;
|
|
2718
|
+
}
|
|
2719
|
+
export interface UpdateTableObjectsResponse {
|
|
2720
|
+
}
|
|
2721
|
+
export declare namespace UpdateTableObjectsResponse {
|
|
2722
|
+
/**
|
|
2723
|
+
* @internal
|
|
2724
|
+
*/
|
|
2725
|
+
const filterSensitiveLog: (obj: UpdateTableObjectsResponse) => any;
|
|
2726
|
+
}
|
|
2727
|
+
export interface UpdateTableStorageOptimizerRequest {
|
|
2728
|
+
/**
|
|
2729
|
+
* <p>The Catalog ID of the table.</p>
|
|
2730
|
+
*/
|
|
2731
|
+
CatalogId?: string;
|
|
2732
|
+
/**
|
|
2733
|
+
* <p>Name of the database where the table is present.</p>
|
|
2734
|
+
*/
|
|
2735
|
+
DatabaseName: string | undefined;
|
|
2736
|
+
/**
|
|
2737
|
+
* <p>Name of the table for which to enable the storage optimizer.</p>
|
|
2738
|
+
*/
|
|
2739
|
+
TableName: string | undefined;
|
|
2740
|
+
/**
|
|
2741
|
+
* <p>Name of the table for which to enable the storage optimizer.</p>
|
|
2742
|
+
*/
|
|
2743
|
+
StorageOptimizerConfig: {
|
|
2744
|
+
[key: string]: {
|
|
2745
|
+
[key: string]: string;
|
|
2746
|
+
};
|
|
2747
|
+
} | undefined;
|
|
2748
|
+
}
|
|
2749
|
+
export declare namespace UpdateTableStorageOptimizerRequest {
|
|
2750
|
+
/**
|
|
2751
|
+
* @internal
|
|
2752
|
+
*/
|
|
2753
|
+
const filterSensitiveLog: (obj: UpdateTableStorageOptimizerRequest) => any;
|
|
2754
|
+
}
|
|
2755
|
+
export interface UpdateTableStorageOptimizerResponse {
|
|
2756
|
+
/**
|
|
2757
|
+
* <p>A response indicating the success of failure of the operation.</p>
|
|
2758
|
+
*/
|
|
2759
|
+
Result?: string;
|
|
2760
|
+
}
|
|
2761
|
+
export declare namespace UpdateTableStorageOptimizerResponse {
|
|
2762
|
+
/**
|
|
2763
|
+
* @internal
|
|
2764
|
+
*/
|
|
2765
|
+
const filterSensitiveLog: (obj: UpdateTableStorageOptimizerResponse) => any;
|
|
2766
|
+
}
|