@aws-sdk/client-glue 3.449.0 → 3.451.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/README.md +49 -1
- package/dist-cjs/Glue.js +12 -0
- package/dist-cjs/commands/BatchGetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/CreateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/DeleteTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/GetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/ListTableOptimizerRunsCommand.js +51 -0
- package/dist-cjs/commands/UpdateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +10 -16
- package/dist-cjs/models/models_1.js +16 -1
- package/dist-cjs/pagination/ListTableOptimizerRunsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +361 -10
- package/dist-es/Glue.js +12 -0
- package/dist-es/commands/BatchGetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/CreateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/DeleteTableOptimizerCommand.js +47 -0
- package/dist-es/commands/GetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/ListTableOptimizerRunsCommand.js +47 -0
- package/dist-es/commands/UpdateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +9 -14
- package/dist-es/models/models_1.js +14 -0
- package/dist-es/pagination/ListTableOptimizerRunsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +341 -2
- package/dist-types/Glue.d.ts +42 -0
- package/dist-types/GlueClient.d.ts +8 -2
- package/dist-types/commands/BatchGetTableOptimizerCommand.d.ts +120 -0
- package/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateTableOptimizerCommand.d.ts +93 -0
- package/dist-types/commands/DeleteTableOptimizerCommand.d.ts +86 -0
- package/dist-types/commands/GetTableCommand.d.ts +2 -1
- package/dist-types/commands/GetTableOptimizerCommand.d.ts +109 -0
- package/dist-types/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/commands/ListTableOptimizerRunsCommand.d.ts +107 -0
- package/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +227 -222
- package/dist-types/models/models_1.d.ts +288 -394
- package/dist-types/models/models_2.d.ts +545 -2
- package/dist-types/pagination/ListTableOptimizerRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
- package/dist-types/ts3.4/Glue.d.ts +102 -0
- package/dist-types/ts3.4/GlueClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/BatchGetTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetTableOptimizerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListTableOptimizerRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -59
- package/dist-types/ts3.4/models/models_1.d.ts +77 -90
- package/dist-types/ts3.4/models/models_2.d.ts +129 -3
- package/dist-types/ts3.4/pagination/ListTableOptimizerRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/package.json +35 -35
|
@@ -1,7 +1,450 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
|
-
import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, AuditContext, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, ConnectionInput, ConnectionsList, ConnectorDataSource, ConnectorDataTarget, CrawlerTargets, CsvHeaderOption, CsvSerdeOption, CustomCode, CustomEntityType,
|
|
4
|
-
import { ColumnStatistics, Compatibility, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, JobBookmarkEntry, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Segment, Session, Statement,
|
|
3
|
+
import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, AuditContext, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, Column, ConnectionInput, ConnectionsList, ConnectorDataSource, ConnectorDataTarget, CrawlerTargets, CsvHeaderOption, CsvSerdeOption, CustomCode, CustomEntityType, DataSource, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, ErrorDetail, EvaluateDataQuality, EvaluateDataQualityMultiFrame, EventBatchingCondition, ExecutionClass, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, Join, LakeFormationConfiguration, LineageConfiguration, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, Partition, PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Predicate, Recipe, RecrawlPolicy, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3JsonSource, S3ParquetSource, SchemaChangePolicy, SchemaId, SelectFields, SelectFromCollection, SnowflakeSource, SnowflakeTarget, SourceControlAuthStrategy, SourceControlDetails, SourceControlProvider, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, StorageDescriptor, TableOptimizer, TableOptimizerConfiguration, TableOptimizerRun, TableOptimizerType, TaskStatusType, Trigger, Union, WorkerType, Workflow, WorkflowRun } from "./models_0";
|
|
4
|
+
import { ColumnStatistics, Compatibility, DatabaseInput, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, JobBookmarkEntry, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Segment, Session, Statement, TableIdentifier, TableInput, TransformFilterCriteria, TransformParameters, TransformSortCriteria, UserDefinedFunctionInput } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* <p>A table that points to an entity outside the Glue Data Catalog.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface FederatedTable {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
* <p>A unique identifier for the federated table.</p>
|
|
13
|
+
*/
|
|
14
|
+
Identifier?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>A unique identifier for the federated database.</p>
|
|
18
|
+
*/
|
|
19
|
+
DatabaseIdentifier?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>The name of the connection to the external metastore.</p>
|
|
23
|
+
*/
|
|
24
|
+
ConnectionName?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* <p>Represents a collection of related data organized in columns and rows.</p>
|
|
29
|
+
*/
|
|
30
|
+
export interface Table {
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
* <p>The table name. For Hive compatibility, this must be entirely
|
|
34
|
+
* lowercase.</p>
|
|
35
|
+
*/
|
|
36
|
+
Name: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* <p>The name of the database where the table metadata resides.
|
|
40
|
+
* For Hive compatibility, this must be all lowercase.</p>
|
|
41
|
+
*/
|
|
42
|
+
DatabaseName?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* <p>A description of the table.</p>
|
|
46
|
+
*/
|
|
47
|
+
Description?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* <p>The owner of the table.</p>
|
|
51
|
+
*/
|
|
52
|
+
Owner?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* <p>The time when the table definition was created in the Data Catalog.</p>
|
|
56
|
+
*/
|
|
57
|
+
CreateTime?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* <p>The last time that the table was updated.</p>
|
|
61
|
+
*/
|
|
62
|
+
UpdateTime?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
* <p>The last time that the table was accessed. This is usually taken from HDFS, and might not
|
|
66
|
+
* be reliable.</p>
|
|
67
|
+
*/
|
|
68
|
+
LastAccessTime?: Date;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* <p>The last time that column statistics were computed for this table.</p>
|
|
72
|
+
*/
|
|
73
|
+
LastAnalyzedTime?: Date;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* <p>The retention time for this table.</p>
|
|
77
|
+
*/
|
|
78
|
+
Retention?: number;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* <p>A storage descriptor containing information about the physical storage
|
|
82
|
+
* of this table.</p>
|
|
83
|
+
*/
|
|
84
|
+
StorageDescriptor?: StorageDescriptor;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* <p>A list of columns by which the table is partitioned. Only primitive
|
|
88
|
+
* types are supported as partition keys.</p>
|
|
89
|
+
* <p>When you create a table used by Amazon Athena, and you do not specify any
|
|
90
|
+
* <code>partitionKeys</code>, you must at least set the value of <code>partitionKeys</code> to
|
|
91
|
+
* an empty list. For example:</p>
|
|
92
|
+
* <p>
|
|
93
|
+
* <code>"PartitionKeys": []</code>
|
|
94
|
+
* </p>
|
|
95
|
+
*/
|
|
96
|
+
PartitionKeys?: Column[];
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
* <p>Included for Apache Hive compatibility. Not used in the normal course of Glue operations.
|
|
100
|
+
* If the table is a <code>VIRTUAL_VIEW</code>, certain Athena configuration encoded in base64.</p>
|
|
101
|
+
*/
|
|
102
|
+
ViewOriginalText?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* <p>Included for Apache Hive compatibility. Not used in the normal course of Glue operations.</p>
|
|
106
|
+
*/
|
|
107
|
+
ViewExpandedText?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* <p>The type of this table.
|
|
111
|
+
* Glue will create tables with the <code>EXTERNAL_TABLE</code> type.
|
|
112
|
+
* Other services, such as Athena, may create tables with additional table types.
|
|
113
|
+
* </p>
|
|
114
|
+
* <p>Glue related table types:</p>
|
|
115
|
+
* <dl>
|
|
116
|
+
* <dt>EXTERNAL_TABLE</dt>
|
|
117
|
+
* <dd>
|
|
118
|
+
* <p>Hive compatible attribute - indicates a non-Hive managed table.</p>
|
|
119
|
+
* </dd>
|
|
120
|
+
* <dt>GOVERNED</dt>
|
|
121
|
+
* <dd>
|
|
122
|
+
* <p>Used by Lake Formation.
|
|
123
|
+
* The Glue Data Catalog understands <code>GOVERNED</code>.</p>
|
|
124
|
+
* </dd>
|
|
125
|
+
* </dl>
|
|
126
|
+
*/
|
|
127
|
+
TableType?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
* <p>These key-value pairs define properties associated with the table.</p>
|
|
131
|
+
*/
|
|
132
|
+
Parameters?: Record<string, string>;
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
* <p>The person or entity who created the table.</p>
|
|
136
|
+
*/
|
|
137
|
+
CreatedBy?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* <p>Indicates whether the table has been registered with Lake Formation.</p>
|
|
141
|
+
*/
|
|
142
|
+
IsRegisteredWithLakeFormation?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* <p>A <code>TableIdentifier</code> structure that describes a target table for resource linking.</p>
|
|
146
|
+
*/
|
|
147
|
+
TargetTable?: TableIdentifier;
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
* <p>The ID of the Data Catalog in which the table resides.</p>
|
|
151
|
+
*/
|
|
152
|
+
CatalogId?: string;
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
* <p>The ID of the table version.</p>
|
|
156
|
+
*/
|
|
157
|
+
VersionId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* <p>A <code>FederatedTable</code> structure that references an entity outside the Glue Data Catalog.</p>
|
|
161
|
+
*/
|
|
162
|
+
FederatedTable?: FederatedTable;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export interface GetTableResponse {
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
* <p>The <code>Table</code> object that defines the specified table.</p>
|
|
171
|
+
*/
|
|
172
|
+
Table?: Table;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export interface GetTableOptimizerRequest {
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* <p>The Catalog ID of the table.</p>
|
|
181
|
+
*/
|
|
182
|
+
CatalogId: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
* <p>The name of the database in the catalog in which the table resides.</p>
|
|
186
|
+
*/
|
|
187
|
+
DatabaseName: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
* <p>The name of the table.</p>
|
|
191
|
+
*/
|
|
192
|
+
TableName: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
* <p>The type of table optimizer.</p>
|
|
196
|
+
*/
|
|
197
|
+
Type: TableOptimizerType | undefined;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export interface GetTableOptimizerResponse {
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
* <p>The Catalog ID of the table.</p>
|
|
206
|
+
*/
|
|
207
|
+
CatalogId?: string;
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* <p>The name of the database in the catalog in which the table resides.</p>
|
|
211
|
+
*/
|
|
212
|
+
DatabaseName?: string;
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* <p>The name of the table.</p>
|
|
216
|
+
*/
|
|
217
|
+
TableName?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
* <p>The optimizer associated with the specified table.</p>
|
|
221
|
+
*/
|
|
222
|
+
TableOptimizer?: TableOptimizer;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export interface GetTablesRequest {
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
* <p>The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account
|
|
231
|
+
* ID is used by default.</p>
|
|
232
|
+
*/
|
|
233
|
+
CatalogId?: string;
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
* <p>The database in the catalog whose tables to list. For Hive
|
|
237
|
+
* compatibility, this name is entirely lowercase.</p>
|
|
238
|
+
*/
|
|
239
|
+
DatabaseName: string | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
* <p>A regular expression pattern. If present, only those tables
|
|
243
|
+
* whose names match the pattern are returned.</p>
|
|
244
|
+
*/
|
|
245
|
+
Expression?: string;
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
* <p>A continuation token, included if this is a continuation call.</p>
|
|
249
|
+
*/
|
|
250
|
+
NextToken?: string;
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
* <p>The maximum number of tables to return in a single response.</p>
|
|
254
|
+
*/
|
|
255
|
+
MaxResults?: number;
|
|
256
|
+
/**
|
|
257
|
+
* @public
|
|
258
|
+
* <p>The transaction ID at which to read the table contents.</p>
|
|
259
|
+
*/
|
|
260
|
+
TransactionId?: string;
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* <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>
|
|
264
|
+
*/
|
|
265
|
+
QueryAsOfTime?: Date;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export interface GetTablesResponse {
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
* <p>A list of the requested <code>Table</code> objects.</p>
|
|
274
|
+
*/
|
|
275
|
+
TableList?: Table[];
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
* <p>A continuation token, present if the current list segment is
|
|
279
|
+
* not the last.</p>
|
|
280
|
+
*/
|
|
281
|
+
NextToken?: string;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
export interface GetTableVersionRequest {
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
* <p>The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account
|
|
290
|
+
* ID is used by default.</p>
|
|
291
|
+
*/
|
|
292
|
+
CatalogId?: string;
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
* <p>The database in the catalog in which the table resides. For Hive
|
|
296
|
+
* compatibility, this name is entirely lowercase.</p>
|
|
297
|
+
*/
|
|
298
|
+
DatabaseName: string | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
* <p>The name of the table. For Hive compatibility,
|
|
302
|
+
* this name is entirely lowercase.</p>
|
|
303
|
+
*/
|
|
304
|
+
TableName: string | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* <p>The ID value of the table version to be retrieved. A <code>VersionID</code> is a string representation of an integer. Each version is incremented by 1. </p>
|
|
308
|
+
*/
|
|
309
|
+
VersionId?: string;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* <p>Specifies a version of a table.</p>
|
|
314
|
+
*/
|
|
315
|
+
export interface TableVersion {
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* <p>The table in question.</p>
|
|
319
|
+
*/
|
|
320
|
+
Table?: Table;
|
|
321
|
+
/**
|
|
322
|
+
* @public
|
|
323
|
+
* <p>The ID value that identifies this table version. A <code>VersionId</code> is a string representation of an integer. Each version is incremented by 1.</p>
|
|
324
|
+
*/
|
|
325
|
+
VersionId?: string;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
export interface GetTableVersionResponse {
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* <p>The requested table version.</p>
|
|
334
|
+
*/
|
|
335
|
+
TableVersion?: TableVersion;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @public
|
|
339
|
+
*/
|
|
340
|
+
export interface GetTableVersionsRequest {
|
|
341
|
+
/**
|
|
342
|
+
* @public
|
|
343
|
+
* <p>The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account
|
|
344
|
+
* ID is used by default.</p>
|
|
345
|
+
*/
|
|
346
|
+
CatalogId?: string;
|
|
347
|
+
/**
|
|
348
|
+
* @public
|
|
349
|
+
* <p>The database in the catalog in which the table resides. For Hive
|
|
350
|
+
* compatibility, this name is entirely lowercase.</p>
|
|
351
|
+
*/
|
|
352
|
+
DatabaseName: string | undefined;
|
|
353
|
+
/**
|
|
354
|
+
* @public
|
|
355
|
+
* <p>The name of the table. For Hive
|
|
356
|
+
* compatibility, this name is entirely lowercase.</p>
|
|
357
|
+
*/
|
|
358
|
+
TableName: string | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
* <p>A continuation token, if this is not the first call.</p>
|
|
362
|
+
*/
|
|
363
|
+
NextToken?: string;
|
|
364
|
+
/**
|
|
365
|
+
* @public
|
|
366
|
+
* <p>The maximum number of table versions to return in one response.</p>
|
|
367
|
+
*/
|
|
368
|
+
MaxResults?: number;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export interface GetTableVersionsResponse {
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
* <p>A list of strings identifying available versions of the
|
|
377
|
+
* specified table.</p>
|
|
378
|
+
*/
|
|
379
|
+
TableVersions?: TableVersion[];
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
* <p>A continuation token, if the list of available versions does
|
|
383
|
+
* not include the last one.</p>
|
|
384
|
+
*/
|
|
385
|
+
NextToken?: string;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
export interface GetTagsRequest {
|
|
391
|
+
/**
|
|
392
|
+
* @public
|
|
393
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which to retrieve tags.</p>
|
|
394
|
+
*/
|
|
395
|
+
ResourceArn: string | undefined;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
export interface GetTagsResponse {
|
|
401
|
+
/**
|
|
402
|
+
* @public
|
|
403
|
+
* <p>The requested tags.</p>
|
|
404
|
+
*/
|
|
405
|
+
Tags?: Record<string, string>;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
export interface GetTriggerRequest {
|
|
411
|
+
/**
|
|
412
|
+
* @public
|
|
413
|
+
* <p>The name of the trigger to retrieve.</p>
|
|
414
|
+
*/
|
|
415
|
+
Name: string | undefined;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
export interface GetTriggerResponse {
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
* <p>The requested trigger definition.</p>
|
|
424
|
+
*/
|
|
425
|
+
Trigger?: Trigger;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
export interface GetTriggersRequest {
|
|
431
|
+
/**
|
|
432
|
+
* @public
|
|
433
|
+
* <p>A continuation token, if this is a continuation call.</p>
|
|
434
|
+
*/
|
|
435
|
+
NextToken?: string;
|
|
436
|
+
/**
|
|
437
|
+
* @public
|
|
438
|
+
* <p>The name of the job to retrieve triggers for. The trigger that can start this job is
|
|
439
|
+
* returned, and if there is no such trigger, all triggers are returned.</p>
|
|
440
|
+
*/
|
|
441
|
+
DependentJobName?: string;
|
|
442
|
+
/**
|
|
443
|
+
* @public
|
|
444
|
+
* <p>The maximum size of the response.</p>
|
|
445
|
+
*/
|
|
446
|
+
MaxResults?: number;
|
|
447
|
+
}
|
|
5
448
|
/**
|
|
6
449
|
* @public
|
|
7
450
|
*/
|
|
@@ -1739,6 +2182,71 @@ export interface ListStatementsResponse {
|
|
|
1739
2182
|
*/
|
|
1740
2183
|
NextToken?: string;
|
|
1741
2184
|
}
|
|
2185
|
+
/**
|
|
2186
|
+
* @public
|
|
2187
|
+
*/
|
|
2188
|
+
export interface ListTableOptimizerRunsRequest {
|
|
2189
|
+
/**
|
|
2190
|
+
* @public
|
|
2191
|
+
* <p>The Catalog ID of the table.</p>
|
|
2192
|
+
*/
|
|
2193
|
+
CatalogId: string | undefined;
|
|
2194
|
+
/**
|
|
2195
|
+
* @public
|
|
2196
|
+
* <p>The name of the database in the catalog in which the table resides.</p>
|
|
2197
|
+
*/
|
|
2198
|
+
DatabaseName: string | undefined;
|
|
2199
|
+
/**
|
|
2200
|
+
* @public
|
|
2201
|
+
* <p>The name of the table.</p>
|
|
2202
|
+
*/
|
|
2203
|
+
TableName: string | undefined;
|
|
2204
|
+
/**
|
|
2205
|
+
* @public
|
|
2206
|
+
* <p>The type of table optimizer. Currently, the only valid value is <code>compaction</code>.</p>
|
|
2207
|
+
*/
|
|
2208
|
+
Type: TableOptimizerType | undefined;
|
|
2209
|
+
/**
|
|
2210
|
+
* @public
|
|
2211
|
+
* <p>The maximum number of optimizer runs to return on each call.</p>
|
|
2212
|
+
*/
|
|
2213
|
+
MaxResults?: number;
|
|
2214
|
+
/**
|
|
2215
|
+
* @public
|
|
2216
|
+
* <p>A continuation token, if this is a continuation call.</p>
|
|
2217
|
+
*/
|
|
2218
|
+
NextToken?: string;
|
|
2219
|
+
}
|
|
2220
|
+
/**
|
|
2221
|
+
* @public
|
|
2222
|
+
*/
|
|
2223
|
+
export interface ListTableOptimizerRunsResponse {
|
|
2224
|
+
/**
|
|
2225
|
+
* @public
|
|
2226
|
+
* <p>The Catalog ID of the table.</p>
|
|
2227
|
+
*/
|
|
2228
|
+
CatalogId?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* @public
|
|
2231
|
+
* <p>The name of the database in the catalog in which the table resides.</p>
|
|
2232
|
+
*/
|
|
2233
|
+
DatabaseName?: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* @public
|
|
2236
|
+
* <p>The name of the table.</p>
|
|
2237
|
+
*/
|
|
2238
|
+
TableName?: string;
|
|
2239
|
+
/**
|
|
2240
|
+
* @public
|
|
2241
|
+
* <p>A continuation token for paginating the returned list of optimizer runs, returned if the current segment of the list is not the last.</p>
|
|
2242
|
+
*/
|
|
2243
|
+
NextToken?: string;
|
|
2244
|
+
/**
|
|
2245
|
+
* @public
|
|
2246
|
+
* <p>A list of the optimizer runs associated with a table.</p>
|
|
2247
|
+
*/
|
|
2248
|
+
TableOptimizerRuns?: TableOptimizerRun[];
|
|
2249
|
+
}
|
|
1742
2250
|
/**
|
|
1743
2251
|
* @public
|
|
1744
2252
|
*/
|
|
@@ -4171,6 +4679,41 @@ export interface UpdateTableRequest {
|
|
|
4171
4679
|
*/
|
|
4172
4680
|
export interface UpdateTableResponse {
|
|
4173
4681
|
}
|
|
4682
|
+
/**
|
|
4683
|
+
* @public
|
|
4684
|
+
*/
|
|
4685
|
+
export interface UpdateTableOptimizerRequest {
|
|
4686
|
+
/**
|
|
4687
|
+
* @public
|
|
4688
|
+
* <p>The Catalog ID of the table.</p>
|
|
4689
|
+
*/
|
|
4690
|
+
CatalogId: string | undefined;
|
|
4691
|
+
/**
|
|
4692
|
+
* @public
|
|
4693
|
+
* <p>The name of the database in the catalog in which the table resides.</p>
|
|
4694
|
+
*/
|
|
4695
|
+
DatabaseName: string | undefined;
|
|
4696
|
+
/**
|
|
4697
|
+
* @public
|
|
4698
|
+
* <p>The name of the table.</p>
|
|
4699
|
+
*/
|
|
4700
|
+
TableName: string | undefined;
|
|
4701
|
+
/**
|
|
4702
|
+
* @public
|
|
4703
|
+
* <p>The type of table optimizer. Currently, the only valid value is <code>compaction</code>.</p>
|
|
4704
|
+
*/
|
|
4705
|
+
Type: TableOptimizerType | undefined;
|
|
4706
|
+
/**
|
|
4707
|
+
* @public
|
|
4708
|
+
* <p>A <code>TableOptimizerConfiguration</code> object representing the configuration of a table optimizer.</p>
|
|
4709
|
+
*/
|
|
4710
|
+
TableOptimizerConfiguration: TableOptimizerConfiguration | undefined;
|
|
4711
|
+
}
|
|
4712
|
+
/**
|
|
4713
|
+
* @public
|
|
4714
|
+
*/
|
|
4715
|
+
export interface UpdateTableOptimizerResponse {
|
|
4716
|
+
}
|
|
4174
4717
|
/**
|
|
4175
4718
|
* @public
|
|
4176
4719
|
* <p>A structure used to provide information used to update a trigger. This object updates the
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListTableOptimizerRunsCommandInput, ListTableOptimizerRunsCommandOutput } from "../commands/ListTableOptimizerRunsCommand";
|
|
3
|
+
import { GluePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListTableOptimizerRuns(config: GluePaginationConfiguration, input: ListTableOptimizerRunsCommandInput, ...additionalArguments: any): Paginator<ListTableOptimizerRunsCommandOutput>;
|
|
@@ -34,6 +34,7 @@ export * from "./ListRegistriesPaginator";
|
|
|
34
34
|
export * from "./ListSchemaVersionsPaginator";
|
|
35
35
|
export * from "./ListSchemasPaginator";
|
|
36
36
|
export * from "./ListSessionsPaginator";
|
|
37
|
+
export * from "./ListTableOptimizerRunsPaginator";
|
|
37
38
|
export * from "./ListTriggersPaginator";
|
|
38
39
|
export * from "./ListWorkflowsPaginator";
|
|
39
40
|
export * from "./SearchTablesPaginator";
|