@aws-sdk/client-glue 3.450.0 → 3.453.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/Glue.js +22 -0
  3. package/dist-cjs/commands/BatchGetTableOptimizerCommand.js +51 -0
  4. package/dist-cjs/commands/CreateTableOptimizerCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteTableOptimizerCommand.js +51 -0
  6. package/dist-cjs/commands/GetColumnStatisticsTaskRunCommand.js +51 -0
  7. package/dist-cjs/commands/GetColumnStatisticsTaskRunsCommand.js +51 -0
  8. package/dist-cjs/commands/GetTableOptimizerCommand.js +51 -0
  9. package/dist-cjs/commands/ListColumnStatisticsTaskRunsCommand.js +51 -0
  10. package/dist-cjs/commands/ListTableOptimizerRunsCommand.js +51 -0
  11. package/dist-cjs/commands/StartColumnStatisticsTaskRunCommand.js +51 -0
  12. package/dist-cjs/commands/StopColumnStatisticsTaskRunCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateTableOptimizerCommand.js +51 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/models/models_0.js +10 -16
  16. package/dist-cjs/models/models_1.js +23 -9
  17. package/dist-cjs/models/models_2.js +51 -1
  18. package/dist-cjs/pagination/GetColumnStatisticsTaskRunsPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListColumnStatisticsTaskRunsPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListTableOptimizerRunsPaginator.js +29 -0
  21. package/dist-cjs/pagination/index.js +4 -1
  22. package/dist-cjs/protocols/Aws_json1_1.js +676 -16
  23. package/dist-es/Glue.js +22 -0
  24. package/dist-es/commands/BatchGetTableOptimizerCommand.js +47 -0
  25. package/dist-es/commands/CreateTableOptimizerCommand.js +47 -0
  26. package/dist-es/commands/DeleteTableOptimizerCommand.js +47 -0
  27. package/dist-es/commands/GetColumnStatisticsTaskRunCommand.js +47 -0
  28. package/dist-es/commands/GetColumnStatisticsTaskRunsCommand.js +47 -0
  29. package/dist-es/commands/GetTableOptimizerCommand.js +47 -0
  30. package/dist-es/commands/ListColumnStatisticsTaskRunsCommand.js +47 -0
  31. package/dist-es/commands/ListTableOptimizerRunsCommand.js +47 -0
  32. package/dist-es/commands/StartColumnStatisticsTaskRunCommand.js +47 -0
  33. package/dist-es/commands/StopColumnStatisticsTaskRunCommand.js +47 -0
  34. package/dist-es/commands/UpdateTableOptimizerCommand.js +47 -0
  35. package/dist-es/commands/index.js +11 -0
  36. package/dist-es/models/models_0.js +9 -14
  37. package/dist-es/models/models_1.js +21 -8
  38. package/dist-es/models/models_2.js +47 -0
  39. package/dist-es/pagination/GetColumnStatisticsTaskRunsPaginator.js +25 -0
  40. package/dist-es/pagination/ListColumnStatisticsTaskRunsPaginator.js +25 -0
  41. package/dist-es/pagination/ListTableOptimizerRunsPaginator.js +25 -0
  42. package/dist-es/pagination/index.js +4 -1
  43. package/dist-es/protocols/Aws_json1_1.js +646 -8
  44. package/dist-types/Glue.d.ts +77 -0
  45. package/dist-types/GlueClient.d.ts +13 -2
  46. package/dist-types/commands/BatchGetTableOptimizerCommand.d.ts +120 -0
  47. package/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateDatabaseCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateTableOptimizerCommand.d.ts +93 -0
  50. package/dist-types/commands/DeleteTableOptimizerCommand.d.ts +86 -0
  51. package/dist-types/commands/GetColumnStatisticsTaskRunCommand.d.ts +103 -0
  52. package/dist-types/commands/GetColumnStatisticsTaskRunsCommand.d.ts +103 -0
  53. package/dist-types/commands/GetStatementCommand.d.ts +2 -1
  54. package/dist-types/commands/GetTableCommand.d.ts +1 -1
  55. package/dist-types/commands/GetTableOptimizerCommand.d.ts +109 -0
  56. package/dist-types/commands/GetTableVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/GetTableVersionsCommand.d.ts +1 -1
  58. package/dist-types/commands/GetTablesCommand.d.ts +1 -1
  59. package/dist-types/commands/GetTagsCommand.d.ts +1 -1
  60. package/dist-types/commands/GetTriggerCommand.d.ts +1 -1
  61. package/dist-types/commands/GetTriggersCommand.d.ts +1 -2
  62. package/dist-types/commands/ListColumnStatisticsTaskRunsCommand.d.ts +80 -0
  63. package/dist-types/commands/ListTableOptimizerRunsCommand.d.ts +107 -0
  64. package/dist-types/commands/StartColumnStatisticsTaskRunCommand.d.ts +99 -0
  65. package/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -0
  66. package/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +84 -0
  67. package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +90 -0
  68. package/dist-types/commands/index.d.ts +11 -0
  69. package/dist-types/models/models_0.d.ts +227 -222
  70. package/dist-types/models/models_1.d.ts +482 -564
  71. package/dist-types/models/models_2.d.ts +843 -2
  72. package/dist-types/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListTableOptimizerRunsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +4 -1
  76. package/dist-types/protocols/Aws_json1_1.d.ts +99 -0
  77. package/dist-types/ts3.4/Glue.d.ts +187 -0
  78. package/dist-types/ts3.4/GlueClient.d.ts +66 -0
  79. package/dist-types/ts3.4/commands/BatchGetTableOptimizerCommand.d.ts +42 -0
  80. package/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/CreateTableOptimizerCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/DeleteTableOptimizerCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunsCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/GetStatementCommand.d.ts +2 -1
  87. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetTableOptimizerCommand.d.ts +39 -0
  89. package/dist-types/ts3.4/commands/GetTableVersionCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/GetTableVersionsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/GetTablesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetTriggerCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/GetTriggersCommand.d.ts +1 -2
  95. package/dist-types/ts3.4/commands/ListColumnStatisticsTaskRunsCommand.d.ts +42 -0
  96. package/dist-types/ts3.4/commands/ListTableOptimizerRunsCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/UpdateTableOptimizerCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +61 -59
  102. package/dist-types/ts3.4/models/models_1.d.ts +122 -130
  103. package/dist-types/ts3.4/models/models_2.d.ts +227 -4
  104. package/dist-types/ts3.4/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/ListTableOptimizerRunsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +4 -1
  108. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +132 -0
  109. package/package.json +35 -35
@@ -1,6 +1,228 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
- import { Action, Blueprint, Column, ConnectionPropertyKey, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, CsvSerdeOption, DatabaseIdentifier, DataFormat, DataQualityRuleResult, DataQualityTargetTable, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, FederatedDatabase, GlueTable, JobRun, Partition, PartitionInput, PartitionValueList, PhysicalConnectionRequirements, Predicate, PrincipalPermissions, SchemaId, StorageDescriptor, TaskStatusType, Trigger, TriggerType, WorkerType } from "./models_0";
3
+ import { Action, Blueprint, Column, ConnectionPropertyKey, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, CsvSerdeOption, DataFormat, DataQualityRuleResult, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, GlueTable, JobRun, Partition, PartitionInput, PartitionValueList, Permission, PhysicalConnectionRequirements, Predicate, SchemaId, StorageDescriptor, TableOptimizerConfiguration, TableOptimizerType, TaskStatusType, TriggerType, WorkerType } from "./models_0";
4
+ /**
5
+ * @public
6
+ * <p>The Lake Formation principal.</p>
7
+ */
8
+ export interface DataLakePrincipal {
9
+ /**
10
+ * @public
11
+ * <p>An identifier for the Lake Formation principal.</p>
12
+ */
13
+ DataLakePrincipalIdentifier?: string;
14
+ }
15
+ /**
16
+ * @public
17
+ * <p>Permissions granted to a principal.</p>
18
+ */
19
+ export interface PrincipalPermissions {
20
+ /**
21
+ * @public
22
+ * <p>The principal who is granted permissions.</p>
23
+ */
24
+ Principal?: DataLakePrincipal;
25
+ /**
26
+ * @public
27
+ * <p>The permissions that are granted to the principal.</p>
28
+ */
29
+ Permissions?: Permission[];
30
+ }
31
+ /**
32
+ * @public
33
+ * <p>A database that points to an entity outside the Glue Data Catalog.</p>
34
+ */
35
+ export interface FederatedDatabase {
36
+ /**
37
+ * @public
38
+ * <p>A unique identifier for the federated database.</p>
39
+ */
40
+ Identifier?: string;
41
+ /**
42
+ * @public
43
+ * <p>The name of the connection to the external metastore.</p>
44
+ */
45
+ ConnectionName?: string;
46
+ }
47
+ /**
48
+ * @public
49
+ * <p>A structure that describes a target database for resource linking.</p>
50
+ */
51
+ export interface DatabaseIdentifier {
52
+ /**
53
+ * @public
54
+ * <p>The ID of the Data Catalog in which the database resides.</p>
55
+ */
56
+ CatalogId?: string;
57
+ /**
58
+ * @public
59
+ * <p>The name of the catalog database.</p>
60
+ */
61
+ DatabaseName?: string;
62
+ /**
63
+ * @public
64
+ * <p>Region of the target database.</p>
65
+ */
66
+ Region?: string;
67
+ }
68
+ /**
69
+ * @public
70
+ * <p>The structure used to create or update a database.</p>
71
+ */
72
+ export interface DatabaseInput {
73
+ /**
74
+ * @public
75
+ * <p>The name of the database. For Hive compatibility, this is folded to lowercase when it is
76
+ * stored.</p>
77
+ */
78
+ Name: string | undefined;
79
+ /**
80
+ * @public
81
+ * <p>A description of the database.</p>
82
+ */
83
+ Description?: string;
84
+ /**
85
+ * @public
86
+ * <p>The location of the database (for example, an HDFS path). </p>
87
+ */
88
+ LocationUri?: string;
89
+ /**
90
+ * @public
91
+ * <p>These key-value pairs define parameters and properties
92
+ * of the database.</p>
93
+ * <p>These key-value pairs define parameters and properties of the database.</p>
94
+ */
95
+ Parameters?: Record<string, string>;
96
+ /**
97
+ * @public
98
+ * <p>Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.</p>
99
+ */
100
+ CreateTableDefaultPermissions?: PrincipalPermissions[];
101
+ /**
102
+ * @public
103
+ * <p>A <code>DatabaseIdentifier</code> structure that describes a target database for resource linking.</p>
104
+ */
105
+ TargetDatabase?: DatabaseIdentifier;
106
+ /**
107
+ * @public
108
+ * <p>A <code>FederatedDatabase</code> structure that references an entity outside the Glue Data Catalog.</p>
109
+ */
110
+ FederatedDatabase?: FederatedDatabase;
111
+ }
112
+ /**
113
+ * @public
114
+ */
115
+ export interface CreateDatabaseRequest {
116
+ /**
117
+ * @public
118
+ * <p>The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services
119
+ * account ID is used by default.</p>
120
+ */
121
+ CatalogId?: string;
122
+ /**
123
+ * @public
124
+ * <p>The metadata for the database.</p>
125
+ */
126
+ DatabaseInput: DatabaseInput | undefined;
127
+ /**
128
+ * @public
129
+ * <p>The tags you assign to the database.</p>
130
+ */
131
+ Tags?: Record<string, string>;
132
+ }
133
+ /**
134
+ * @public
135
+ */
136
+ export interface CreateDatabaseResponse {
137
+ }
138
+ /**
139
+ * @public
140
+ * <p>A federated resource already exists.</p>
141
+ */
142
+ export declare class FederatedResourceAlreadyExistsException extends __BaseException {
143
+ readonly name: "FederatedResourceAlreadyExistsException";
144
+ readonly $fault: "client";
145
+ /**
146
+ * @public
147
+ * <p>The message describing the problem.</p>
148
+ */
149
+ Message?: string;
150
+ /**
151
+ * @public
152
+ * <p>The associated Glue resource already exists.</p>
153
+ */
154
+ AssociatedGlueResource?: string;
155
+ /**
156
+ * @internal
157
+ */
158
+ constructor(opts: __ExceptionOptionType<FederatedResourceAlreadyExistsException, __BaseException>);
159
+ }
160
+ /**
161
+ * @public
162
+ * <p>An object representing an Glue table.</p>
163
+ */
164
+ export interface DataQualityTargetTable {
165
+ /**
166
+ * @public
167
+ * <p>The name of the Glue table.</p>
168
+ */
169
+ TableName: string | undefined;
170
+ /**
171
+ * @public
172
+ * <p>The name of the database where the Glue table exists.</p>
173
+ */
174
+ DatabaseName: string | undefined;
175
+ /**
176
+ * @public
177
+ * <p>The catalog id where the Glue table exists.</p>
178
+ */
179
+ CatalogId?: string;
180
+ }
181
+ /**
182
+ * @public
183
+ */
184
+ export interface CreateDataQualityRulesetRequest {
185
+ /**
186
+ * @public
187
+ * <p>A unique name for the data quality ruleset.</p>
188
+ */
189
+ Name: string | undefined;
190
+ /**
191
+ * @public
192
+ * <p>A description of the data quality ruleset.</p>
193
+ */
194
+ Description?: string;
195
+ /**
196
+ * @public
197
+ * <p>A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide.</p>
198
+ */
199
+ Ruleset: string | undefined;
200
+ /**
201
+ * @public
202
+ * <p>A list of tags applied to the data quality ruleset.</p>
203
+ */
204
+ Tags?: Record<string, string>;
205
+ /**
206
+ * @public
207
+ * <p>A target table associated with the data quality ruleset.</p>
208
+ */
209
+ TargetTable?: DataQualityTargetTable;
210
+ /**
211
+ * @public
212
+ * <p>Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.</p>
213
+ */
214
+ ClientToken?: string;
215
+ }
216
+ /**
217
+ * @public
218
+ */
219
+ export interface CreateDataQualityRulesetResponse {
220
+ /**
221
+ * @public
222
+ * <p>A unique name for the data quality ruleset.</p>
223
+ */
224
+ Name?: string;
225
+ }
4
226
  /**
5
227
  * @public
6
228
  */
@@ -1564,6 +1786,41 @@ export interface CreateTableRequest {
1564
1786
  */
1565
1787
  export interface CreateTableResponse {
1566
1788
  }
1789
+ /**
1790
+ * @public
1791
+ */
1792
+ export interface CreateTableOptimizerRequest {
1793
+ /**
1794
+ * @public
1795
+ * <p>The Catalog ID of the table.</p>
1796
+ */
1797
+ CatalogId: string | undefined;
1798
+ /**
1799
+ * @public
1800
+ * <p>The name of the database in the catalog in which the table resides.</p>
1801
+ */
1802
+ DatabaseName: string | undefined;
1803
+ /**
1804
+ * @public
1805
+ * <p>The name of the table.</p>
1806
+ */
1807
+ TableName: string | undefined;
1808
+ /**
1809
+ * @public
1810
+ * <p>The type of table optimizer. Currently, the only valid value is <code>compaction</code>.</p>
1811
+ */
1812
+ Type: TableOptimizerType | undefined;
1813
+ /**
1814
+ * @public
1815
+ * <p>A <code>TableOptimizerConfiguration</code> object representing the configuration of a table optimizer.</p>
1816
+ */
1817
+ TableOptimizerConfiguration: TableOptimizerConfiguration | undefined;
1818
+ }
1819
+ /**
1820
+ * @public
1821
+ */
1822
+ export interface CreateTableOptimizerResponse {
1823
+ }
1567
1824
  /**
1568
1825
  * @public
1569
1826
  */
@@ -2387,6 +2644,36 @@ export interface DeleteTableRequest {
2387
2644
  */
2388
2645
  export interface DeleteTableResponse {
2389
2646
  }
2647
+ /**
2648
+ * @public
2649
+ */
2650
+ export interface DeleteTableOptimizerRequest {
2651
+ /**
2652
+ * @public
2653
+ * <p>The Catalog ID of the table.</p>
2654
+ */
2655
+ CatalogId: string | undefined;
2656
+ /**
2657
+ * @public
2658
+ * <p>The name of the database in the catalog in which the table resides.</p>
2659
+ */
2660
+ DatabaseName: string | undefined;
2661
+ /**
2662
+ * @public
2663
+ * <p>The name of the table.</p>
2664
+ */
2665
+ TableName: string | undefined;
2666
+ /**
2667
+ * @public
2668
+ * <p>The type of table optimizer.</p>
2669
+ */
2670
+ Type: TableOptimizerType | undefined;
2671
+ }
2672
+ /**
2673
+ * @public
2674
+ */
2675
+ export interface DeleteTableOptimizerResponse {
2676
+ }
2390
2677
  /**
2391
2678
  * @public
2392
2679
  */
@@ -3363,41 +3650,212 @@ export interface GetColumnStatisticsForTableResponse {
3363
3650
  /**
3364
3651
  * @public
3365
3652
  */
3366
- export interface GetConnectionRequest {
3367
- /**
3368
- * @public
3369
- * <p>The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services
3370
- * account ID is used by default.</p>
3371
- */
3372
- CatalogId?: string;
3373
- /**
3374
- * @public
3375
- * <p>The name of the connection definition to retrieve.</p>
3376
- */
3377
- Name: string | undefined;
3653
+ export interface GetColumnStatisticsTaskRunRequest {
3378
3654
  /**
3379
3655
  * @public
3380
- * <p>Allows you to retrieve the connection metadata without returning the password. For
3381
- * instance, the Glue console uses this flag to retrieve the connection, and does not display
3382
- * the password. Set this parameter when the caller might not have permission to use the KMS
3383
- * key to decrypt the password, but it does have permission to access the rest of the connection
3384
- * properties.</p>
3656
+ * <p>The identifier for the particular column statistics task run.</p>
3385
3657
  */
3386
- HidePassword?: boolean;
3658
+ ColumnStatisticsTaskRunId: string | undefined;
3387
3659
  }
3388
3660
  /**
3389
3661
  * @public
3390
- * <p>Defines a connection to a data source.</p>
3662
+ * @enum
3391
3663
  */
3392
- export interface Connection {
3664
+ export declare const ColumnStatisticsState: {
3665
+ readonly FAILED: "FAILED";
3666
+ readonly RUNNING: "RUNNING";
3667
+ readonly STARTING: "STARTING";
3668
+ readonly STOPPED: "STOPPED";
3669
+ readonly SUCCEEDED: "SUCCEEDED";
3670
+ };
3671
+ /**
3672
+ * @public
3673
+ */
3674
+ export type ColumnStatisticsState = (typeof ColumnStatisticsState)[keyof typeof ColumnStatisticsState];
3675
+ /**
3676
+ * @public
3677
+ * <p>The object that shows the details of the column stats run.</p>
3678
+ */
3679
+ export interface ColumnStatisticsTaskRun {
3393
3680
  /**
3394
3681
  * @public
3395
- * <p>The name of the connection definition.</p>
3682
+ * <p>The Amazon Web Services account ID.</p>
3396
3683
  */
3397
- Name?: string;
3684
+ CustomerId?: string;
3398
3685
  /**
3399
3686
  * @public
3400
- * <p>The description of the connection.</p>
3687
+ * <p>The identifier for the particular column statistics task run.</p>
3688
+ */
3689
+ ColumnStatisticsTaskRunId?: string;
3690
+ /**
3691
+ * @public
3692
+ * <p>The database where the table resides.</p>
3693
+ */
3694
+ DatabaseName?: string;
3695
+ /**
3696
+ * @public
3697
+ * <p>The name of the table for which column statistics is generated.</p>
3698
+ */
3699
+ TableName?: string;
3700
+ /**
3701
+ * @public
3702
+ * <p>A list of the column names. If none is supplied, all column names for the table will be used by default.</p>
3703
+ */
3704
+ ColumnNameList?: string[];
3705
+ /**
3706
+ * @public
3707
+ * <p>The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.</p>
3708
+ */
3709
+ CatalogID?: string;
3710
+ /**
3711
+ * @public
3712
+ * <p>The IAM role that the service assumes to generate statistics.</p>
3713
+ */
3714
+ Role?: string;
3715
+ /**
3716
+ * @public
3717
+ * <p>The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.</p>
3718
+ */
3719
+ SampleSize?: number;
3720
+ /**
3721
+ * @public
3722
+ * <p>Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.</p>
3723
+ */
3724
+ SecurityConfiguration?: string;
3725
+ /**
3726
+ * @public
3727
+ * <p>The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.</p>
3728
+ */
3729
+ NumberOfWorkers?: number;
3730
+ /**
3731
+ * @public
3732
+ * <p>The type of workers being used for generating stats. The default is <code>g.1x</code>.</p>
3733
+ */
3734
+ WorkerType?: string;
3735
+ /**
3736
+ * @public
3737
+ * <p>The status of the task run.</p>
3738
+ */
3739
+ Status?: ColumnStatisticsState;
3740
+ /**
3741
+ * @public
3742
+ * <p>The time that this task was created.</p>
3743
+ */
3744
+ CreationTime?: Date;
3745
+ /**
3746
+ * @public
3747
+ * <p>The last point in time when this task was modified.</p>
3748
+ */
3749
+ LastUpdated?: Date;
3750
+ /**
3751
+ * @public
3752
+ * <p>The start time of the task.</p>
3753
+ */
3754
+ StartTime?: Date;
3755
+ /**
3756
+ * @public
3757
+ * <p>The end time of the task.</p>
3758
+ */
3759
+ EndTime?: Date;
3760
+ /**
3761
+ * @public
3762
+ * <p>The error message for the job.</p>
3763
+ */
3764
+ ErrorMessage?: string;
3765
+ /**
3766
+ * @public
3767
+ * <p>The calculated DPU usage in seconds for all autoscaled workers.</p>
3768
+ */
3769
+ DPUSeconds?: number;
3770
+ }
3771
+ /**
3772
+ * @public
3773
+ */
3774
+ export interface GetColumnStatisticsTaskRunResponse {
3775
+ /**
3776
+ * @public
3777
+ * <p>A <code>ColumnStatisticsTaskRun</code> object representing the details of the column stats run.</p>
3778
+ */
3779
+ ColumnStatisticsTaskRun?: ColumnStatisticsTaskRun;
3780
+ }
3781
+ /**
3782
+ * @public
3783
+ */
3784
+ export interface GetColumnStatisticsTaskRunsRequest {
3785
+ /**
3786
+ * @public
3787
+ * <p>The name of the database where the table resides.</p>
3788
+ */
3789
+ DatabaseName: string | undefined;
3790
+ /**
3791
+ * @public
3792
+ * <p>The name of the table.</p>
3793
+ */
3794
+ TableName: string | undefined;
3795
+ /**
3796
+ * @public
3797
+ * <p>The maximum size of the response.</p>
3798
+ */
3799
+ MaxResults?: number;
3800
+ /**
3801
+ * @public
3802
+ * <p>A continuation token, if this is a continuation call.</p>
3803
+ */
3804
+ NextToken?: string;
3805
+ }
3806
+ /**
3807
+ * @public
3808
+ */
3809
+ export interface GetColumnStatisticsTaskRunsResponse {
3810
+ /**
3811
+ * @public
3812
+ * <p>A list of column statistics task runs.</p>
3813
+ */
3814
+ ColumnStatisticsTaskRuns?: ColumnStatisticsTaskRun[];
3815
+ /**
3816
+ * @public
3817
+ * <p>A continuation token, if not all task runs have yet been returned.</p>
3818
+ */
3819
+ NextToken?: string;
3820
+ }
3821
+ /**
3822
+ * @public
3823
+ */
3824
+ export interface GetConnectionRequest {
3825
+ /**
3826
+ * @public
3827
+ * <p>The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services
3828
+ * account ID is used by default.</p>
3829
+ */
3830
+ CatalogId?: string;
3831
+ /**
3832
+ * @public
3833
+ * <p>The name of the connection definition to retrieve.</p>
3834
+ */
3835
+ Name: string | undefined;
3836
+ /**
3837
+ * @public
3838
+ * <p>Allows you to retrieve the connection metadata without returning the password. For
3839
+ * instance, the Glue console uses this flag to retrieve the connection, and does not display
3840
+ * the password. Set this parameter when the caller might not have permission to use the KMS
3841
+ * key to decrypt the password, but it does have permission to access the rest of the connection
3842
+ * properties.</p>
3843
+ */
3844
+ HidePassword?: boolean;
3845
+ }
3846
+ /**
3847
+ * @public
3848
+ * <p>Defines a connection to a data source.</p>
3849
+ */
3850
+ export interface Connection {
3851
+ /**
3852
+ * @public
3853
+ * <p>The name of the connection definition.</p>
3854
+ */
3855
+ Name?: string;
3856
+ /**
3857
+ * @public
3858
+ * <p>The description of the connection.</p>
3401
3859
  */
3402
3860
  Description?: string;
3403
3861
  /**
@@ -6632,543 +7090,3 @@ export interface GetStatementRequest {
6632
7090
  */
6633
7091
  RequestOrigin?: string;
6634
7092
  }
6635
- /**
6636
- * @public
6637
- * <p>The code execution output in JSON format.</p>
6638
- */
6639
- export interface StatementOutputData {
6640
- /**
6641
- * @public
6642
- * <p>The code execution output in text format.</p>
6643
- */
6644
- TextPlain?: string;
6645
- }
6646
- /**
6647
- * @public
6648
- * @enum
6649
- */
6650
- export declare const StatementState: {
6651
- readonly AVAILABLE: "AVAILABLE";
6652
- readonly CANCELLED: "CANCELLED";
6653
- readonly CANCELLING: "CANCELLING";
6654
- readonly ERROR: "ERROR";
6655
- readonly RUNNING: "RUNNING";
6656
- readonly WAITING: "WAITING";
6657
- };
6658
- /**
6659
- * @public
6660
- */
6661
- export type StatementState = (typeof StatementState)[keyof typeof StatementState];
6662
- /**
6663
- * @public
6664
- * <p>The code execution output in JSON format.</p>
6665
- */
6666
- export interface StatementOutput {
6667
- /**
6668
- * @public
6669
- * <p>The code execution output.</p>
6670
- */
6671
- Data?: StatementOutputData;
6672
- /**
6673
- * @public
6674
- * <p>The execution count of the output.</p>
6675
- */
6676
- ExecutionCount?: number;
6677
- /**
6678
- * @public
6679
- * <p>The status of the code execution output.</p>
6680
- */
6681
- Status?: StatementState;
6682
- /**
6683
- * @public
6684
- * <p>The name of the error in the output.</p>
6685
- */
6686
- ErrorName?: string;
6687
- /**
6688
- * @public
6689
- * <p>The error value of the output.</p>
6690
- */
6691
- ErrorValue?: string;
6692
- /**
6693
- * @public
6694
- * <p>The traceback of the output.</p>
6695
- */
6696
- Traceback?: string[];
6697
- }
6698
- /**
6699
- * @public
6700
- * <p>The statement or request for a particular action to occur in a session.</p>
6701
- */
6702
- export interface Statement {
6703
- /**
6704
- * @public
6705
- * <p>The ID of the statement.</p>
6706
- */
6707
- Id?: number;
6708
- /**
6709
- * @public
6710
- * <p>The execution code of the statement.</p>
6711
- */
6712
- Code?: string;
6713
- /**
6714
- * @public
6715
- * <p>The state while request is actioned.</p>
6716
- */
6717
- State?: StatementState;
6718
- /**
6719
- * @public
6720
- * <p>The output in JSON.</p>
6721
- */
6722
- Output?: StatementOutput;
6723
- /**
6724
- * @public
6725
- * <p>The code execution progress.</p>
6726
- */
6727
- Progress?: number;
6728
- /**
6729
- * @public
6730
- * <p>The unix time and date that the job definition was started.</p>
6731
- */
6732
- StartedOn?: number;
6733
- /**
6734
- * @public
6735
- * <p>The unix time and date that the job definition was completed.</p>
6736
- */
6737
- CompletedOn?: number;
6738
- }
6739
- /**
6740
- * @public
6741
- */
6742
- export interface GetStatementResponse {
6743
- /**
6744
- * @public
6745
- * <p>Returns the statement.</p>
6746
- */
6747
- Statement?: Statement;
6748
- }
6749
- /**
6750
- * @public
6751
- */
6752
- export interface GetTableRequest {
6753
- /**
6754
- * @public
6755
- * <p>The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account
6756
- * ID is used by default.</p>
6757
- */
6758
- CatalogId?: string;
6759
- /**
6760
- * @public
6761
- * <p>The name of the database in the catalog in which the table resides.
6762
- * For Hive compatibility, this name is entirely lowercase.</p>
6763
- */
6764
- DatabaseName: string | undefined;
6765
- /**
6766
- * @public
6767
- * <p>The name of the table for which to retrieve the definition. For Hive
6768
- * compatibility, this name is entirely lowercase.</p>
6769
- */
6770
- Name: string | undefined;
6771
- /**
6772
- * @public
6773
- * <p>The transaction ID at which to read the table contents. </p>
6774
- */
6775
- TransactionId?: string;
6776
- /**
6777
- * @public
6778
- * <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>
6779
- */
6780
- QueryAsOfTime?: Date;
6781
- }
6782
- /**
6783
- * @public
6784
- * <p>A table that points to an entity outside the Glue Data Catalog.</p>
6785
- */
6786
- export interface FederatedTable {
6787
- /**
6788
- * @public
6789
- * <p>A unique identifier for the federated table.</p>
6790
- */
6791
- Identifier?: string;
6792
- /**
6793
- * @public
6794
- * <p>A unique identifier for the federated database.</p>
6795
- */
6796
- DatabaseIdentifier?: string;
6797
- /**
6798
- * @public
6799
- * <p>The name of the connection to the external metastore.</p>
6800
- */
6801
- ConnectionName?: string;
6802
- }
6803
- /**
6804
- * @public
6805
- * <p>Represents a collection of related data organized in columns and rows.</p>
6806
- */
6807
- export interface Table {
6808
- /**
6809
- * @public
6810
- * <p>The table name. For Hive compatibility, this must be entirely
6811
- * lowercase.</p>
6812
- */
6813
- Name: string | undefined;
6814
- /**
6815
- * @public
6816
- * <p>The name of the database where the table metadata resides.
6817
- * For Hive compatibility, this must be all lowercase.</p>
6818
- */
6819
- DatabaseName?: string;
6820
- /**
6821
- * @public
6822
- * <p>A description of the table.</p>
6823
- */
6824
- Description?: string;
6825
- /**
6826
- * @public
6827
- * <p>The owner of the table.</p>
6828
- */
6829
- Owner?: string;
6830
- /**
6831
- * @public
6832
- * <p>The time when the table definition was created in the Data Catalog.</p>
6833
- */
6834
- CreateTime?: Date;
6835
- /**
6836
- * @public
6837
- * <p>The last time that the table was updated.</p>
6838
- */
6839
- UpdateTime?: Date;
6840
- /**
6841
- * @public
6842
- * <p>The last time that the table was accessed. This is usually taken from HDFS, and might not
6843
- * be reliable.</p>
6844
- */
6845
- LastAccessTime?: Date;
6846
- /**
6847
- * @public
6848
- * <p>The last time that column statistics were computed for this table.</p>
6849
- */
6850
- LastAnalyzedTime?: Date;
6851
- /**
6852
- * @public
6853
- * <p>The retention time for this table.</p>
6854
- */
6855
- Retention?: number;
6856
- /**
6857
- * @public
6858
- * <p>A storage descriptor containing information about the physical storage
6859
- * of this table.</p>
6860
- */
6861
- StorageDescriptor?: StorageDescriptor;
6862
- /**
6863
- * @public
6864
- * <p>A list of columns by which the table is partitioned. Only primitive
6865
- * types are supported as partition keys.</p>
6866
- * <p>When you create a table used by Amazon Athena, and you do not specify any
6867
- * <code>partitionKeys</code>, you must at least set the value of <code>partitionKeys</code> to
6868
- * an empty list. For example:</p>
6869
- * <p>
6870
- * <code>"PartitionKeys": []</code>
6871
- * </p>
6872
- */
6873
- PartitionKeys?: Column[];
6874
- /**
6875
- * @public
6876
- * <p>Included for Apache Hive compatibility. Not used in the normal course of Glue operations.
6877
- * If the table is a <code>VIRTUAL_VIEW</code>, certain Athena configuration encoded in base64.</p>
6878
- */
6879
- ViewOriginalText?: string;
6880
- /**
6881
- * @public
6882
- * <p>Included for Apache Hive compatibility. Not used in the normal course of Glue operations.</p>
6883
- */
6884
- ViewExpandedText?: string;
6885
- /**
6886
- * @public
6887
- * <p>The type of this table.
6888
- * Glue will create tables with the <code>EXTERNAL_TABLE</code> type.
6889
- * Other services, such as Athena, may create tables with additional table types.
6890
- * </p>
6891
- * <p>Glue related table types:</p>
6892
- * <dl>
6893
- * <dt>EXTERNAL_TABLE</dt>
6894
- * <dd>
6895
- * <p>Hive compatible attribute - indicates a non-Hive managed table.</p>
6896
- * </dd>
6897
- * <dt>GOVERNED</dt>
6898
- * <dd>
6899
- * <p>Used by Lake Formation.
6900
- * The Glue Data Catalog understands <code>GOVERNED</code>.</p>
6901
- * </dd>
6902
- * </dl>
6903
- */
6904
- TableType?: string;
6905
- /**
6906
- * @public
6907
- * <p>These key-value pairs define properties associated with the table.</p>
6908
- */
6909
- Parameters?: Record<string, string>;
6910
- /**
6911
- * @public
6912
- * <p>The person or entity who created the table.</p>
6913
- */
6914
- CreatedBy?: string;
6915
- /**
6916
- * @public
6917
- * <p>Indicates whether the table has been registered with Lake Formation.</p>
6918
- */
6919
- IsRegisteredWithLakeFormation?: boolean;
6920
- /**
6921
- * @public
6922
- * <p>A <code>TableIdentifier</code> structure that describes a target table for resource linking.</p>
6923
- */
6924
- TargetTable?: TableIdentifier;
6925
- /**
6926
- * @public
6927
- * <p>The ID of the Data Catalog in which the table resides.</p>
6928
- */
6929
- CatalogId?: string;
6930
- /**
6931
- * @public
6932
- * <p>The ID of the table version.</p>
6933
- */
6934
- VersionId?: string;
6935
- /**
6936
- * @public
6937
- * <p>A <code>FederatedTable</code> structure that references an entity outside the Glue Data Catalog.</p>
6938
- */
6939
- FederatedTable?: FederatedTable;
6940
- }
6941
- /**
6942
- * @public
6943
- */
6944
- export interface GetTableResponse {
6945
- /**
6946
- * @public
6947
- * <p>The <code>Table</code> object that defines the specified table.</p>
6948
- */
6949
- Table?: Table;
6950
- }
6951
- /**
6952
- * @public
6953
- */
6954
- export interface GetTablesRequest {
6955
- /**
6956
- * @public
6957
- * <p>The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account
6958
- * ID is used by default.</p>
6959
- */
6960
- CatalogId?: string;
6961
- /**
6962
- * @public
6963
- * <p>The database in the catalog whose tables to list. For Hive
6964
- * compatibility, this name is entirely lowercase.</p>
6965
- */
6966
- DatabaseName: string | undefined;
6967
- /**
6968
- * @public
6969
- * <p>A regular expression pattern. If present, only those tables
6970
- * whose names match the pattern are returned.</p>
6971
- */
6972
- Expression?: string;
6973
- /**
6974
- * @public
6975
- * <p>A continuation token, included if this is a continuation call.</p>
6976
- */
6977
- NextToken?: string;
6978
- /**
6979
- * @public
6980
- * <p>The maximum number of tables to return in a single response.</p>
6981
- */
6982
- MaxResults?: number;
6983
- /**
6984
- * @public
6985
- * <p>The transaction ID at which to read the table contents.</p>
6986
- */
6987
- TransactionId?: string;
6988
- /**
6989
- * @public
6990
- * <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>
6991
- */
6992
- QueryAsOfTime?: Date;
6993
- }
6994
- /**
6995
- * @public
6996
- */
6997
- export interface GetTablesResponse {
6998
- /**
6999
- * @public
7000
- * <p>A list of the requested <code>Table</code> objects.</p>
7001
- */
7002
- TableList?: Table[];
7003
- /**
7004
- * @public
7005
- * <p>A continuation token, present if the current list segment is
7006
- * not the last.</p>
7007
- */
7008
- NextToken?: string;
7009
- }
7010
- /**
7011
- * @public
7012
- */
7013
- export interface GetTableVersionRequest {
7014
- /**
7015
- * @public
7016
- * <p>The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account
7017
- * ID is used by default.</p>
7018
- */
7019
- CatalogId?: string;
7020
- /**
7021
- * @public
7022
- * <p>The database in the catalog in which the table resides. For Hive
7023
- * compatibility, this name is entirely lowercase.</p>
7024
- */
7025
- DatabaseName: string | undefined;
7026
- /**
7027
- * @public
7028
- * <p>The name of the table. For Hive compatibility,
7029
- * this name is entirely lowercase.</p>
7030
- */
7031
- TableName: string | undefined;
7032
- /**
7033
- * @public
7034
- * <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>
7035
- */
7036
- VersionId?: string;
7037
- }
7038
- /**
7039
- * @public
7040
- * <p>Specifies a version of a table.</p>
7041
- */
7042
- export interface TableVersion {
7043
- /**
7044
- * @public
7045
- * <p>The table in question.</p>
7046
- */
7047
- Table?: Table;
7048
- /**
7049
- * @public
7050
- * <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>
7051
- */
7052
- VersionId?: string;
7053
- }
7054
- /**
7055
- * @public
7056
- */
7057
- export interface GetTableVersionResponse {
7058
- /**
7059
- * @public
7060
- * <p>The requested table version.</p>
7061
- */
7062
- TableVersion?: TableVersion;
7063
- }
7064
- /**
7065
- * @public
7066
- */
7067
- export interface GetTableVersionsRequest {
7068
- /**
7069
- * @public
7070
- * <p>The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account
7071
- * ID is used by default.</p>
7072
- */
7073
- CatalogId?: string;
7074
- /**
7075
- * @public
7076
- * <p>The database in the catalog in which the table resides. For Hive
7077
- * compatibility, this name is entirely lowercase.</p>
7078
- */
7079
- DatabaseName: string | undefined;
7080
- /**
7081
- * @public
7082
- * <p>The name of the table. For Hive
7083
- * compatibility, this name is entirely lowercase.</p>
7084
- */
7085
- TableName: string | undefined;
7086
- /**
7087
- * @public
7088
- * <p>A continuation token, if this is not the first call.</p>
7089
- */
7090
- NextToken?: string;
7091
- /**
7092
- * @public
7093
- * <p>The maximum number of table versions to return in one response.</p>
7094
- */
7095
- MaxResults?: number;
7096
- }
7097
- /**
7098
- * @public
7099
- */
7100
- export interface GetTableVersionsResponse {
7101
- /**
7102
- * @public
7103
- * <p>A list of strings identifying available versions of the
7104
- * specified table.</p>
7105
- */
7106
- TableVersions?: TableVersion[];
7107
- /**
7108
- * @public
7109
- * <p>A continuation token, if the list of available versions does
7110
- * not include the last one.</p>
7111
- */
7112
- NextToken?: string;
7113
- }
7114
- /**
7115
- * @public
7116
- */
7117
- export interface GetTagsRequest {
7118
- /**
7119
- * @public
7120
- * <p>The Amazon Resource Name (ARN) of the resource for which to retrieve tags.</p>
7121
- */
7122
- ResourceArn: string | undefined;
7123
- }
7124
- /**
7125
- * @public
7126
- */
7127
- export interface GetTagsResponse {
7128
- /**
7129
- * @public
7130
- * <p>The requested tags.</p>
7131
- */
7132
- Tags?: Record<string, string>;
7133
- }
7134
- /**
7135
- * @public
7136
- */
7137
- export interface GetTriggerRequest {
7138
- /**
7139
- * @public
7140
- * <p>The name of the trigger to retrieve.</p>
7141
- */
7142
- Name: string | undefined;
7143
- }
7144
- /**
7145
- * @public
7146
- */
7147
- export interface GetTriggerResponse {
7148
- /**
7149
- * @public
7150
- * <p>The requested trigger definition.</p>
7151
- */
7152
- Trigger?: Trigger;
7153
- }
7154
- /**
7155
- * @public
7156
- */
7157
- export interface GetTriggersRequest {
7158
- /**
7159
- * @public
7160
- * <p>A continuation token, if this is a continuation call.</p>
7161
- */
7162
- NextToken?: string;
7163
- /**
7164
- * @public
7165
- * <p>The name of the job to retrieve triggers for. The trigger that can start this job is
7166
- * returned, and if there is no such trigger, all triggers are returned.</p>
7167
- */
7168
- DependentJobName?: string;
7169
- /**
7170
- * @public
7171
- * <p>The maximum size of the response.</p>
7172
- */
7173
- MaxResults?: number;
7174
- }