@distilled.cloud/starburst-galaxy 0.0.0-stage → 1.0.0-rc.21

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 (190) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +114 -2
  3. package/lib/.lazy.json +1 -0
  4. package/lib/_bundle/lazy.js +4 -0
  5. package/lib/_bundle/sdk.js +2 -0
  6. package/lib/_bundle/sdk.js.map +1 -0
  7. package/lib/credentials.d.ts +84 -0
  8. package/lib/credentials.d.ts.map +1 -0
  9. package/lib/credentials.js +1 -0
  10. package/lib/errors.d.ts +83 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +1 -0
  13. package/lib/index.d.ts +42 -0
  14. package/lib/index.d.ts.map +1 -0
  15. package/lib/index.js +6 -0
  16. package/lib/pagination.d.ts +10 -0
  17. package/lib/pagination.d.ts.map +1 -0
  18. package/lib/pagination.js +1 -0
  19. package/lib/protocol.d.ts +29 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +1 -0
  22. package/lib/retry.d.ts +32 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +1 -0
  25. package/lib/services/catalog.d.ts +2791 -0
  26. package/lib/services/catalog.d.ts.map +1 -0
  27. package/lib/services/catalog.js +101 -0
  28. package/lib/services/catalog.js.map +1 -0
  29. package/lib/services/cluster.d.ts +248 -0
  30. package/lib/services/cluster.d.ts.map +1 -0
  31. package/lib/services/cluster.js +2 -0
  32. package/lib/services/cluster.js.map +1 -0
  33. package/lib/services/column_mask.d.ts +162 -0
  34. package/lib/services/column_mask.d.ts.map +1 -0
  35. package/lib/services/column_mask.js +2 -0
  36. package/lib/services/column_mask.js.map +1 -0
  37. package/lib/services/cross_account_iam_role.d.ts +133 -0
  38. package/lib/services/cross_account_iam_role.d.ts.map +1 -0
  39. package/lib/services/cross_account_iam_role.js +2 -0
  40. package/lib/services/cross_account_iam_role.js.map +1 -0
  41. package/lib/services/data_domain.d.ts +223 -0
  42. package/lib/services/data_domain.d.ts.map +1 -0
  43. package/lib/services/data_domain.js +2 -0
  44. package/lib/services/data_domain.js.map +1 -0
  45. package/lib/services/data_product.d.ts +290 -0
  46. package/lib/services/data_product.d.ts.map +1 -0
  47. package/lib/services/data_product.js +2 -0
  48. package/lib/services/data_product.js.map +1 -0
  49. package/lib/services/data_product_usage_example.d.ts +158 -0
  50. package/lib/services/data_product_usage_example.d.ts.map +1 -0
  51. package/lib/services/data_product_usage_example.js +2 -0
  52. package/lib/services/data_product_usage_example.js.map +1 -0
  53. package/lib/services/data_quality.d.ts +344 -0
  54. package/lib/services/data_quality.d.ts.map +1 -0
  55. package/lib/services/data_quality.js +2 -0
  56. package/lib/services/data_quality.js.map +1 -0
  57. package/lib/services/data_quality_metrics.d.ts +282 -0
  58. package/lib/services/data_quality_metrics.d.ts.map +1 -0
  59. package/lib/services/data_quality_metrics.js +2 -0
  60. package/lib/services/data_quality_metrics.js.map +1 -0
  61. package/lib/services/data_quality_schedule.d.ts +220 -0
  62. package/lib/services/data_quality_schedule.d.ts.map +1 -0
  63. package/lib/services/data_quality_schedule.js +2 -0
  64. package/lib/services/data_quality_schedule.js.map +1 -0
  65. package/lib/services/discovery.d.ts +439 -0
  66. package/lib/services/discovery.d.ts.map +1 -0
  67. package/lib/services/discovery.js +36 -0
  68. package/lib/services/discovery.js.map +1 -0
  69. package/lib/services/file_ingest_source.d.ts +205 -0
  70. package/lib/services/file_ingest_source.d.ts.map +1 -0
  71. package/lib/services/file_ingest_source.js +2 -0
  72. package/lib/services/file_ingest_source.js.map +1 -0
  73. package/lib/services/group.d.ts +140 -0
  74. package/lib/services/group.d.ts.map +1 -0
  75. package/lib/services/group.js +2 -0
  76. package/lib/services/group.js.map +1 -0
  77. package/lib/services/index.d.ts +26 -0
  78. package/lib/services/index.d.ts.map +1 -0
  79. package/lib/services/index.js +25 -0
  80. package/lib/services/kafka_ingest_source.d.ts +236 -0
  81. package/lib/services/kafka_ingest_source.d.ts.map +1 -0
  82. package/lib/services/kafka_ingest_source.js +2 -0
  83. package/lib/services/kafka_ingest_source.js.map +1 -0
  84. package/lib/services/live_table.d.ts +851 -0
  85. package/lib/services/live_table.d.ts.map +1 -0
  86. package/lib/services/live_table.js +20 -0
  87. package/lib/services/live_table.js.map +1 -0
  88. package/lib/services/policy.d.ts +213 -0
  89. package/lib/services/policy.d.ts.map +1 -0
  90. package/lib/services/policy.js +2 -0
  91. package/lib/services/policy.js.map +1 -0
  92. package/lib/services/privatelink.d.ts +95 -0
  93. package/lib/services/privatelink.d.ts.map +1 -0
  94. package/lib/services/privatelink.js +2 -0
  95. package/lib/services/privatelink.js.map +1 -0
  96. package/lib/services/privilege.d.ts +167 -0
  97. package/lib/services/privilege.d.ts.map +1 -0
  98. package/lib/services/privilege.js +2 -0
  99. package/lib/services/privilege.js.map +1 -0
  100. package/lib/services/role.d.ts +222 -0
  101. package/lib/services/role.d.ts.map +1 -0
  102. package/lib/services/role.js +2 -0
  103. package/lib/services/role.js.map +1 -0
  104. package/lib/services/row_filter.d.ts +155 -0
  105. package/lib/services/row_filter.d.ts.map +1 -0
  106. package/lib/services/row_filter.js +2 -0
  107. package/lib/services/row_filter.js.map +1 -0
  108. package/lib/services/schema_discovery.d.ts +236 -0
  109. package/lib/services/schema_discovery.d.ts.map +1 -0
  110. package/lib/services/schema_discovery.js +2 -0
  111. package/lib/services/schema_discovery.js.map +1 -0
  112. package/lib/services/service_account.d.ts +206 -0
  113. package/lib/services/service_account.d.ts.map +1 -0
  114. package/lib/services/service_account.js +2 -0
  115. package/lib/services/service_account.js.map +1 -0
  116. package/lib/services/sql_jobs.d.ts +264 -0
  117. package/lib/services/sql_jobs.d.ts.map +1 -0
  118. package/lib/services/sql_jobs.js +2 -0
  119. package/lib/services/sql_jobs.js.map +1 -0
  120. package/lib/services/tag.d.ts +287 -0
  121. package/lib/services/tag.d.ts.map +1 -0
  122. package/lib/services/tag.js +2 -0
  123. package/lib/services/tag.js.map +1 -0
  124. package/lib/services/user.d.ts +175 -0
  125. package/lib/services/user.d.ts.map +1 -0
  126. package/lib/services/user.js +2 -0
  127. package/lib/services/user.js.map +1 -0
  128. package/lib/services.lazy/catalog.js +4 -0
  129. package/lib/services.lazy/cluster.js +1 -0
  130. package/lib/services.lazy/column_mask.js +1 -0
  131. package/lib/services.lazy/cross_account_iam_role.js +1 -0
  132. package/lib/services.lazy/data_domain.js +1 -0
  133. package/lib/services.lazy/data_product.js +1 -0
  134. package/lib/services.lazy/data_product_usage_example.js +1 -0
  135. package/lib/services.lazy/data_quality.js +1 -0
  136. package/lib/services.lazy/data_quality_metrics.js +1 -0
  137. package/lib/services.lazy/data_quality_schedule.js +1 -0
  138. package/lib/services.lazy/discovery.js +4 -0
  139. package/lib/services.lazy/file_ingest_source.js +1 -0
  140. package/lib/services.lazy/group.js +1 -0
  141. package/lib/services.lazy/index.js +3 -0
  142. package/lib/services.lazy/kafka_ingest_source.js +1 -0
  143. package/lib/services.lazy/live_table.js +4 -0
  144. package/lib/services.lazy/policy.js +1 -0
  145. package/lib/services.lazy/privatelink.js +1 -0
  146. package/lib/services.lazy/privilege.js +1 -0
  147. package/lib/services.lazy/role.js +1 -0
  148. package/lib/services.lazy/row_filter.js +1 -0
  149. package/lib/services.lazy/schema_discovery.js +1 -0
  150. package/lib/services.lazy/service_account.js +1 -0
  151. package/lib/services.lazy/sql_jobs.js +1 -0
  152. package/lib/services.lazy/tag.js +1 -0
  153. package/lib/services.lazy/user.js +1 -0
  154. package/lib/traits.d.ts +11 -0
  155. package/lib/traits.d.ts.map +1 -0
  156. package/lib/traits.js +1 -0
  157. package/package.json +87 -3
  158. package/src/credentials.ts +205 -0
  159. package/src/errors.ts +102 -0
  160. package/src/index.ts +45 -0
  161. package/src/pagination.ts +9 -0
  162. package/src/protocol.ts +94 -0
  163. package/src/retry.ts +50 -0
  164. package/src/services/catalog.ts +6636 -0
  165. package/src/services/cluster.ts +492 -0
  166. package/src/services/column_mask.ts +388 -0
  167. package/src/services/cross_account_iam_role.ts +328 -0
  168. package/src/services/data_domain.ts +509 -0
  169. package/src/services/data_product.ts +641 -0
  170. package/src/services/data_product_usage_example.ts +380 -0
  171. package/src/services/data_quality.ts +771 -0
  172. package/src/services/data_quality_metrics.ts +580 -0
  173. package/src/services/data_quality_schedule.ts +454 -0
  174. package/src/services/discovery.ts +1257 -0
  175. package/src/services/file_ingest_source.ts +480 -0
  176. package/src/services/group.ts +282 -0
  177. package/src/services/index.ts +26 -0
  178. package/src/services/kafka_ingest_source.ts +545 -0
  179. package/src/services/live_table.ts +1537 -0
  180. package/src/services/policy.ts +526 -0
  181. package/src/services/privatelink.ts +209 -0
  182. package/src/services/privilege.ts +423 -0
  183. package/src/services/role.ts +501 -0
  184. package/src/services/row_filter.ts +365 -0
  185. package/src/services/schema_discovery.ts +516 -0
  186. package/src/services/service_account.ts +525 -0
  187. package/src/services/sql_jobs.ts +621 -0
  188. package/src/services/tag.ts +785 -0
  189. package/src/services/user.ts +375 -0
  190. package/src/traits.ts +44 -0
@@ -0,0 +1,2791 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import * as S from "@distilled.cloud/core/schema-lite";
3
+ import type * as Redacted from "effect/Redacted";
4
+ import { type StarburstGalaxyOpError, type StarburstGalaxyOpContext } from "../protocol.ts";
5
+ export type { StarburstGalaxyOpError, StarburstGalaxyOpContext };
6
+ declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
7
+ readonly message: any;
8
+ readonly body: any;
9
+ readonly headers: any;
10
+ }> & (new (...args: any[]) => {
11
+ "@distilled.cloud/error/categories": {
12
+ BadRequestError: true;
13
+ };
14
+ });
15
+ export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
16
+ }
17
+ declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
18
+ readonly message: any;
19
+ readonly body: any;
20
+ readonly headers: any;
21
+ }> & (new (...args: any[]) => {
22
+ "@distilled.cloud/error/categories": {
23
+ ConflictError: true;
24
+ };
25
+ });
26
+ export declare class Conflict extends /*@__PURE__*/ Conflict_base {
27
+ }
28
+ declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
29
+ readonly message: any;
30
+ readonly body: any;
31
+ readonly headers: any;
32
+ }> & (new (...args: any[]) => {
33
+ "@distilled.cloud/error/categories": {
34
+ AuthError: true;
35
+ };
36
+ });
37
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
38
+ }
39
+ declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
40
+ readonly message: any;
41
+ readonly body: any;
42
+ readonly headers: any;
43
+ }> & (new (...args: any[]) => {
44
+ "@distilled.cloud/error/categories": {
45
+ BadRequestError: true;
46
+ };
47
+ });
48
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
49
+ }
50
+ export interface CreateBigQueryCatalogRequest {
51
+ /** Catalog name */
52
+ name: string;
53
+ /** Catalog description */
54
+ description?: string | undefined;
55
+ /** Is catalog read only */
56
+ readOnly: boolean;
57
+ /** Validate catalog configuration before creation */
58
+ validate?: boolean | undefined;
59
+ /** Base64 encoded or plain text BigQuery JSON key */
60
+ credentialsKey: string | Redacted.Redacted<string>;
61
+ /** The Google Cloud Project ID. Mutually required with parentProjectId */
62
+ projectId?: string | undefined;
63
+ /** The Google Cloud Project ID to bill for the export. Mutually required with projectId */
64
+ parentProjectId?: string | undefined;
65
+ }
66
+ /** Tags assigned directly to this catalog (read only) */
67
+ export interface TagName {
68
+ /** Tag ID (read only) */
69
+ tagId: string;
70
+ /** Tag name (read only) */
71
+ name: string;
72
+ }
73
+ /** Tags assigned directly to this catalog (read only) */
74
+ export type BigQueryCatalogTagsList = Array<TagName>;
75
+ /** A catalog connecting to BigQuery */
76
+ export interface BigQueryCatalog {
77
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
78
+ syncToken: string;
79
+ /** BigQuery catalog identifier (read only) */
80
+ catalogId: string;
81
+ /** Catalog name */
82
+ name: string;
83
+ /** Catalog description */
84
+ description?: string | undefined;
85
+ /** Is catalog read only */
86
+ readOnly: boolean;
87
+ /** Validate catalog configuration before creation */
88
+ validate?: boolean | undefined;
89
+ /** Base64 encoded or plain text BigQuery JSON key */
90
+ credentialsKey: string | Redacted.Redacted<string>;
91
+ /** The Google Cloud Project ID. Mutually required with parentProjectId */
92
+ projectId?: string | undefined;
93
+ /** The Google Cloud Project ID to bill for the export. Mutually required with projectId */
94
+ parentProjectId?: string | undefined;
95
+ /** Tags assigned directly to this catalog (read only) */
96
+ tags?: BigQueryCatalogTagsList | undefined;
97
+ }
98
+ export type CloudKind = "AWS" | "AZURE" | "GCP";
99
+ export type CreateCassandraCatalogRequestApacheCassandraConnectionDeploymentType = "apacheCassandra";
100
+ /** Connect to Cassandra instance */
101
+ export interface CreateCassandraCatalogRequestApacheCassandraConnection {
102
+ /** Catalog name */
103
+ name: string;
104
+ /** Catalog description */
105
+ description?: string | undefined;
106
+ /** Is catalog read only */
107
+ readOnly: boolean;
108
+ /** Validate catalog configuration before creation */
109
+ validate?: boolean | undefined;
110
+ /** Cassandra cloud kind. Defaults to AWS. */
111
+ cloudKind?: CloudKind | (string & {}) | undefined;
112
+ deploymentType: CreateCassandraCatalogRequestApacheCassandraConnectionDeploymentType;
113
+ /** Cassandra hosts */
114
+ contactPoints: string;
115
+ /** Local datacenter */
116
+ localDatacenter: string;
117
+ /** Cassandra port. Defaults to 9042. */
118
+ port?: number | undefined;
119
+ /** Cassandra username */
120
+ username: string;
121
+ /** Cassandra password */
122
+ password: string | Redacted.Redacted<string>;
123
+ /** SSH tunnel identifier */
124
+ sshTunnelId?: string | undefined;
125
+ }
126
+ export type CreateCassandraCatalogRequestAstraDBConnectionDeploymentType = "astraDB";
127
+ /** Connect to AstraDB instance */
128
+ export interface CreateCassandraCatalogRequestAstraDBConnection {
129
+ /** Catalog name */
130
+ name: string;
131
+ /** Catalog description */
132
+ description?: string | undefined;
133
+ /** Is catalog read only */
134
+ readOnly: boolean;
135
+ /** Validate catalog configuration before creation */
136
+ validate?: boolean | undefined;
137
+ /** Cassandra cloud kind. Defaults to AWS. */
138
+ cloudKind?: CloudKind | (string & {}) | undefined;
139
+ deploymentType: CreateCassandraCatalogRequestAstraDBConnectionDeploymentType;
140
+ /** AstraDB database ID */
141
+ databaseId: string;
142
+ /** AstraDB region */
143
+ region: string;
144
+ /** AstraDB token */
145
+ token: string | Redacted.Redacted<string>;
146
+ }
147
+ /** Create a new Cassandra catalog, with options to also allow configuring AstraDB connectivity */
148
+ export type CreateCassandraCatalogRequest = CreateCassandraCatalogRequestApacheCassandraConnection | CreateCassandraCatalogRequestAstraDBConnection;
149
+ export interface CreateCassandraCatalogRequest2 {
150
+ body: CreateCassandraCatalogRequest;
151
+ }
152
+ export type CassandraCatalogApacheCassandraConnectionDeploymentType = "apacheCassandra";
153
+ /** Tags assigned directly to this catalog (read only) */
154
+ export type CassandraCatalogApacheCassandraConnectionTagsList = Array<TagName>;
155
+ /** Connect to Cassandra instance */
156
+ export interface CassandraCatalogApacheCassandraConnection {
157
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
158
+ syncToken: string;
159
+ /** Cassandra catalog identifier (read only) */
160
+ catalogId: string;
161
+ /** Catalog name */
162
+ name: string;
163
+ /** Catalog description */
164
+ description?: string | undefined;
165
+ /** Is catalog read only */
166
+ readOnly: boolean;
167
+ /** Validate catalog configuration before creation */
168
+ validate?: boolean | undefined;
169
+ /** Cassandra cloud kind. Defaults to AWS. */
170
+ cloudKind?: CloudKind | undefined;
171
+ deploymentType: CassandraCatalogApacheCassandraConnectionDeploymentType;
172
+ /** Tags assigned directly to this catalog (read only) */
173
+ tags?: CassandraCatalogApacheCassandraConnectionTagsList | undefined;
174
+ /** Cassandra hosts */
175
+ contactPoints: string;
176
+ /** Local datacenter */
177
+ localDatacenter: string;
178
+ /** Cassandra port. Defaults to 9042. */
179
+ port?: number | undefined;
180
+ /** Cassandra username */
181
+ username: string;
182
+ /** Cassandra password */
183
+ password: string | Redacted.Redacted<string>;
184
+ /** SSH tunnel identifier */
185
+ sshTunnelId?: string | undefined;
186
+ }
187
+ export type CassandraCatalogAstraDBConnectionDeploymentType = "astraDB";
188
+ /** Tags assigned directly to this catalog (read only) */
189
+ export type CassandraCatalogAstraDBConnectionTagsList = Array<TagName>;
190
+ /** Connect to AstraDB instance */
191
+ export interface CassandraCatalogAstraDBConnection {
192
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
193
+ syncToken: string;
194
+ /** Cassandra catalog identifier (read only) */
195
+ catalogId: string;
196
+ /** Catalog name */
197
+ name: string;
198
+ /** Catalog description */
199
+ description?: string | undefined;
200
+ /** Is catalog read only */
201
+ readOnly: boolean;
202
+ /** Validate catalog configuration before creation */
203
+ validate?: boolean | undefined;
204
+ /** Cassandra cloud kind. Defaults to AWS. */
205
+ cloudKind?: CloudKind | undefined;
206
+ deploymentType: CassandraCatalogAstraDBConnectionDeploymentType;
207
+ /** Tags assigned directly to this catalog (read only) */
208
+ tags?: CassandraCatalogAstraDBConnectionTagsList | undefined;
209
+ /** AstraDB database ID */
210
+ databaseId: string;
211
+ /** AstraDB region */
212
+ region: string;
213
+ /** AstraDB token */
214
+ token: string | Redacted.Redacted<string>;
215
+ }
216
+ /** A catalog connecting to Cassandra, with options for integration with AstraDB */
217
+ export type CassandraCatalog = CassandraCatalogApacheCassandraConnection | CassandraCatalogAstraDBConnection;
218
+ export type CreateCassandraCatalogResponse = CassandraCatalog;
219
+ export type CreateGcsCatalogRequestGcsGalaxyMetastoreMetastoreType = "galaxy";
220
+ /** Store metadata in the Galaxy metastore */
221
+ export interface CreateGcsCatalogRequestGcsGalaxyMetastore {
222
+ /** Catalog name */
223
+ name: string;
224
+ /** Catalog description */
225
+ description?: string | undefined;
226
+ /** Is catalog read only */
227
+ readOnly: boolean;
228
+ /** Validate catalog configuration before creation */
229
+ validate?: boolean | undefined;
230
+ /** Base64 encoded or plain text GCS JSON key */
231
+ credentialsKey: string | Redacted.Redacted<string>;
232
+ metastoreType: CreateGcsCatalogRequestGcsGalaxyMetastoreMetastoreType;
233
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
234
+ defaultTableFormat?: string | undefined;
235
+ /** Allow creating external tables. Defaults to false. */
236
+ externalTableCreationEnabled?: boolean | undefined;
237
+ /** Allow writing to external tables. Defaults to false. */
238
+ externalTableWritesEnabled?: boolean | undefined;
239
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
240
+ metadataMaxStalenessSeconds?: number | undefined;
241
+ /** GCS bucket to use when storing data for new schemas */
242
+ defaultBucket: string;
243
+ /** Default location to store data for new schemas */
244
+ defaultDataLocation: string;
245
+ }
246
+ export type CreateGcsCatalogRequestGcsHiveMetastoreMetastoreType = "hive";
247
+ /** Store metadata in a Hive metastore */
248
+ export interface CreateGcsCatalogRequestGcsHiveMetastore {
249
+ /** Catalog name */
250
+ name: string;
251
+ /** Catalog description */
252
+ description?: string | undefined;
253
+ /** Is catalog read only */
254
+ readOnly: boolean;
255
+ /** Validate catalog configuration before creation */
256
+ validate?: boolean | undefined;
257
+ /** Base64 encoded or plain text GCS JSON key */
258
+ credentialsKey: string | Redacted.Redacted<string>;
259
+ metastoreType: CreateGcsCatalogRequestGcsHiveMetastoreMetastoreType;
260
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
261
+ defaultTableFormat?: string | undefined;
262
+ /** Allow creating external tables. Defaults to false. */
263
+ externalTableCreationEnabled?: boolean | undefined;
264
+ /** Allow writing to external tables. Defaults to false. */
265
+ externalTableWritesEnabled?: boolean | undefined;
266
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
267
+ metadataMaxStalenessSeconds?: number | undefined;
268
+ /** Hive metastore host url */
269
+ hiveMetastoreHost: string;
270
+ /** Hive metastore host port. Defaults to 9083. */
271
+ hiveMetastorePort?: number | undefined;
272
+ /** SSH tunnel identifier */
273
+ sshTunnelId?: string | undefined;
274
+ }
275
+ /** Create a new GCS catalog */
276
+ export type CreateGcsCatalogRequest = CreateGcsCatalogRequestGcsGalaxyMetastore | CreateGcsCatalogRequestGcsHiveMetastore;
277
+ export interface CreateGcsCatalogRequest2 {
278
+ body: CreateGcsCatalogRequest;
279
+ }
280
+ export type GcsCatalogGcsGalaxyMetastoreMetastoreType = "galaxy";
281
+ /** Tags assigned directly to this catalog (read only) */
282
+ export type GcsCatalogGcsGalaxyMetastoreTagsList = Array<TagName>;
283
+ /** Store metadata in the Galaxy metastore */
284
+ export interface GcsCatalogGcsGalaxyMetastore {
285
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
286
+ syncToken: string;
287
+ /** GCS catalog identifier (read only) */
288
+ catalogId: string;
289
+ /** Catalog name */
290
+ name: string;
291
+ /** Catalog description */
292
+ description?: string | undefined;
293
+ /** Is catalog read only */
294
+ readOnly: boolean;
295
+ /** Validate catalog configuration before creation */
296
+ validate?: boolean | undefined;
297
+ /** Base64 encoded or plain text GCS JSON key */
298
+ credentialsKey: string | Redacted.Redacted<string>;
299
+ metastoreType: GcsCatalogGcsGalaxyMetastoreMetastoreType;
300
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
301
+ defaultTableFormat?: string | undefined;
302
+ /** Allow creating external tables. Defaults to false. */
303
+ externalTableCreationEnabled?: boolean | undefined;
304
+ /** Allow writing to external tables. Defaults to false. */
305
+ externalTableWritesEnabled?: boolean | undefined;
306
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
307
+ metadataMaxStalenessSeconds?: number | undefined;
308
+ /** Tags assigned directly to this catalog (read only) */
309
+ tags?: GcsCatalogGcsGalaxyMetastoreTagsList | undefined;
310
+ /** GCS bucket to use when storing data for new schemas */
311
+ defaultBucket: string;
312
+ /** Default location to store data for new schemas */
313
+ defaultDataLocation: string;
314
+ }
315
+ export type GcsCatalogGcsHiveMetastoreMetastoreType = "hive";
316
+ /** Tags assigned directly to this catalog (read only) */
317
+ export type GcsCatalogGcsHiveMetastoreTagsList = Array<TagName>;
318
+ /** Store metadata in a Hive metastore */
319
+ export interface GcsCatalogGcsHiveMetastore {
320
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
321
+ syncToken: string;
322
+ /** GCS catalog identifier (read only) */
323
+ catalogId: string;
324
+ /** Catalog name */
325
+ name: string;
326
+ /** Catalog description */
327
+ description?: string | undefined;
328
+ /** Is catalog read only */
329
+ readOnly: boolean;
330
+ /** Validate catalog configuration before creation */
331
+ validate?: boolean | undefined;
332
+ /** Base64 encoded or plain text GCS JSON key */
333
+ credentialsKey: string | Redacted.Redacted<string>;
334
+ metastoreType: GcsCatalogGcsHiveMetastoreMetastoreType;
335
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
336
+ defaultTableFormat?: string | undefined;
337
+ /** Allow creating external tables. Defaults to false. */
338
+ externalTableCreationEnabled?: boolean | undefined;
339
+ /** Allow writing to external tables. Defaults to false. */
340
+ externalTableWritesEnabled?: boolean | undefined;
341
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
342
+ metadataMaxStalenessSeconds?: number | undefined;
343
+ /** Tags assigned directly to this catalog (read only) */
344
+ tags?: GcsCatalogGcsHiveMetastoreTagsList | undefined;
345
+ /** Hive metastore host url */
346
+ hiveMetastoreHost: string;
347
+ /** Hive metastore host port. Defaults to 9083. */
348
+ hiveMetastorePort?: number | undefined;
349
+ /** SSH tunnel identifier */
350
+ sshTunnelId?: string | undefined;
351
+ }
352
+ /** A catalog connecting to GCS */
353
+ export type GcsCatalog = GcsCatalogGcsGalaxyMetastore | GcsCatalogGcsHiveMetastore;
354
+ export type CreateGcsCatalogResponse = GcsCatalog;
355
+ export type CreateMongoDBCatalogRequestDirectMongoDBConnectionConnectionType = "direct";
356
+ /** MongoDB regions */
357
+ export type CreateMongoDBCatalogRequestDirectMongoDBConnectionRegionsList = Array<string>;
358
+ /** Connect directly to MongoDB instance */
359
+ export interface CreateMongoDBCatalogRequestDirectMongoDBConnection {
360
+ /** Catalog name */
361
+ name: string;
362
+ /** Catalog description */
363
+ description?: string | undefined;
364
+ /** Is catalog read only */
365
+ readOnly: boolean;
366
+ /** Validate catalog configuration before creation */
367
+ validate?: boolean | undefined;
368
+ /** MongoDB cloud kind. Defaults to AWS. */
369
+ cloudKind?: CloudKind | (string & {}) | undefined;
370
+ connectionType: CreateMongoDBCatalogRequestDirectMongoDBConnectionConnectionType;
371
+ /** MongoDB regions */
372
+ regions: CreateMongoDBCatalogRequestDirectMongoDBConnectionRegionsList;
373
+ /** MongoDB username */
374
+ username: string;
375
+ /** MongoDB password */
376
+ password: string | Redacted.Redacted<string>;
377
+ /** Use DNS seed list (SRV). Defaults to false. */
378
+ dnsSeedListEnabled?: boolean | undefined;
379
+ /** Use TLS for connections. Defaults to true. */
380
+ tlsEnabled?: boolean | undefined;
381
+ /** Is federated database. Defaults to false. */
382
+ federatedDatabaseEnabled?: boolean | undefined;
383
+ /** MongoDB hosts */
384
+ hosts: string;
385
+ }
386
+ export type CreateMongoDBCatalogRequestSshTunnelMongoDBConnectionConnectionType = "sshTunnel";
387
+ /** MongoDB regions */
388
+ export type CreateMongoDBCatalogRequestSshTunnelMongoDBConnectionRegionsList = Array<string>;
389
+ /** Connect to MongoDB via SSH Tunnel */
390
+ export interface CreateMongoDBCatalogRequestSshTunnelMongoDBConnection {
391
+ /** Catalog name */
392
+ name: string;
393
+ /** Catalog description */
394
+ description?: string | undefined;
395
+ /** Is catalog read only */
396
+ readOnly: boolean;
397
+ /** Validate catalog configuration before creation */
398
+ validate?: boolean | undefined;
399
+ /** MongoDB cloud kind. Defaults to AWS. */
400
+ cloudKind?: CloudKind | (string & {}) | undefined;
401
+ connectionType: CreateMongoDBCatalogRequestSshTunnelMongoDBConnectionConnectionType;
402
+ /** MongoDB regions */
403
+ regions: CreateMongoDBCatalogRequestSshTunnelMongoDBConnectionRegionsList;
404
+ /** MongoDB username */
405
+ username: string;
406
+ /** MongoDB password */
407
+ password: string | Redacted.Redacted<string>;
408
+ /** Use DNS seed list (SRV). Defaults to false. */
409
+ dnsSeedListEnabled?: boolean | undefined;
410
+ /** Use TLS for connections. Defaults to true. */
411
+ tlsEnabled?: boolean | undefined;
412
+ /** Is federated database. Defaults to false. */
413
+ federatedDatabaseEnabled?: boolean | undefined;
414
+ /** SSH tunnel identifier */
415
+ sshTunnelId: string;
416
+ /** MongoDB hosts */
417
+ hosts: string;
418
+ }
419
+ export type CreateMongoDBCatalogRequestPrivateLinkMongoDBConnectionConnectionType = "privateLink";
420
+ /** MongoDB regions */
421
+ export type CreateMongoDBCatalogRequestPrivateLinkMongoDBConnectionRegionsList = Array<string>;
422
+ /** Connect to MongoDB via PrivateLink */
423
+ export interface CreateMongoDBCatalogRequestPrivateLinkMongoDBConnection {
424
+ /** Catalog name */
425
+ name: string;
426
+ /** Catalog description */
427
+ description?: string | undefined;
428
+ /** Is catalog read only */
429
+ readOnly: boolean;
430
+ /** Validate catalog configuration before creation */
431
+ validate?: boolean | undefined;
432
+ /** MongoDB cloud kind. Defaults to AWS. */
433
+ cloudKind?: CloudKind | (string & {}) | undefined;
434
+ connectionType: CreateMongoDBCatalogRequestPrivateLinkMongoDBConnectionConnectionType;
435
+ /** MongoDB regions */
436
+ regions: CreateMongoDBCatalogRequestPrivateLinkMongoDBConnectionRegionsList;
437
+ /** MongoDB username */
438
+ username: string;
439
+ /** MongoDB password */
440
+ password: string | Redacted.Redacted<string>;
441
+ /** Use DNS seed list (SRV). Defaults to false. */
442
+ dnsSeedListEnabled?: boolean | undefined;
443
+ /** Use TLS for connections. Defaults to true. */
444
+ tlsEnabled?: boolean | undefined;
445
+ /** Is federated database. Defaults to false. */
446
+ federatedDatabaseEnabled?: boolean | undefined;
447
+ /** PrivateLink Identifier */
448
+ privateLinkId: string;
449
+ }
450
+ /** Create a new MongoDB catalog */
451
+ export type CreateMongoDBCatalogRequest = CreateMongoDBCatalogRequestDirectMongoDBConnection | CreateMongoDBCatalogRequestSshTunnelMongoDBConnection | CreateMongoDBCatalogRequestPrivateLinkMongoDBConnection;
452
+ export interface CreateMongoDBCatalogRequest2 {
453
+ body: CreateMongoDBCatalogRequest;
454
+ }
455
+ export type MongoDBCatalogDirectMongoDBConnectionConnectionType = "direct";
456
+ /** MongoDB regions */
457
+ export type MongoDBCatalogDirectMongoDBConnectionRegionsList = Array<string>;
458
+ /** Tags assigned directly to this catalog (read only) */
459
+ export type MongoDBCatalogDirectMongoDBConnectionTagsList = Array<TagName>;
460
+ /** Connect directly to MongoDB instance */
461
+ export interface MongoDBCatalogDirectMongoDBConnection {
462
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
463
+ syncToken: string;
464
+ /** MongoDB catalog identifier (read only) */
465
+ catalogId: string;
466
+ /** Catalog name */
467
+ name: string;
468
+ /** Catalog description */
469
+ description?: string | undefined;
470
+ /** Is catalog read only */
471
+ readOnly: boolean;
472
+ /** Validate catalog configuration before creation */
473
+ validate?: boolean | undefined;
474
+ /** MongoDB cloud kind. Defaults to AWS. */
475
+ cloudKind?: CloudKind | undefined;
476
+ connectionType: MongoDBCatalogDirectMongoDBConnectionConnectionType;
477
+ /** MongoDB regions */
478
+ regions: MongoDBCatalogDirectMongoDBConnectionRegionsList;
479
+ /** MongoDB username */
480
+ username: string;
481
+ /** MongoDB password */
482
+ password: string | Redacted.Redacted<string>;
483
+ /** Use DNS seed list (SRV). Defaults to false. */
484
+ dnsSeedListEnabled?: boolean | undefined;
485
+ /** Use TLS for connections. Defaults to true. */
486
+ tlsEnabled?: boolean | undefined;
487
+ /** Is federated database. Defaults to false. */
488
+ federatedDatabaseEnabled?: boolean | undefined;
489
+ /** Tags assigned directly to this catalog (read only) */
490
+ tags?: MongoDBCatalogDirectMongoDBConnectionTagsList | undefined;
491
+ /** MongoDB hosts */
492
+ hosts: string;
493
+ }
494
+ export type MongoDBCatalogSshTunnelMongoDBConnectionConnectionType = "sshTunnel";
495
+ /** MongoDB regions */
496
+ export type MongoDBCatalogSshTunnelMongoDBConnectionRegionsList = Array<string>;
497
+ /** Tags assigned directly to this catalog (read only) */
498
+ export type MongoDBCatalogSshTunnelMongoDBConnectionTagsList = Array<TagName>;
499
+ /** Connect to MongoDB via SSH Tunnel */
500
+ export interface MongoDBCatalogSshTunnelMongoDBConnection {
501
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
502
+ syncToken: string;
503
+ /** MongoDB catalog identifier (read only) */
504
+ catalogId: string;
505
+ /** Catalog name */
506
+ name: string;
507
+ /** Catalog description */
508
+ description?: string | undefined;
509
+ /** Is catalog read only */
510
+ readOnly: boolean;
511
+ /** Validate catalog configuration before creation */
512
+ validate?: boolean | undefined;
513
+ /** MongoDB cloud kind. Defaults to AWS. */
514
+ cloudKind?: CloudKind | undefined;
515
+ connectionType: MongoDBCatalogSshTunnelMongoDBConnectionConnectionType;
516
+ /** MongoDB regions */
517
+ regions: MongoDBCatalogSshTunnelMongoDBConnectionRegionsList;
518
+ /** MongoDB username */
519
+ username: string;
520
+ /** MongoDB password */
521
+ password: string | Redacted.Redacted<string>;
522
+ /** Use DNS seed list (SRV). Defaults to false. */
523
+ dnsSeedListEnabled?: boolean | undefined;
524
+ /** Use TLS for connections. Defaults to true. */
525
+ tlsEnabled?: boolean | undefined;
526
+ /** Is federated database. Defaults to false. */
527
+ federatedDatabaseEnabled?: boolean | undefined;
528
+ /** Tags assigned directly to this catalog (read only) */
529
+ tags?: MongoDBCatalogSshTunnelMongoDBConnectionTagsList | undefined;
530
+ /** SSH tunnel identifier */
531
+ sshTunnelId: string;
532
+ /** MongoDB hosts */
533
+ hosts: string;
534
+ }
535
+ export type MongoDBCatalogPrivateLinkMongoDBConnectionConnectionType = "privateLink";
536
+ /** MongoDB regions */
537
+ export type MongoDBCatalogPrivateLinkMongoDBConnectionRegionsList = Array<string>;
538
+ /** Tags assigned directly to this catalog (read only) */
539
+ export type MongoDBCatalogPrivateLinkMongoDBConnectionTagsList = Array<TagName>;
540
+ /** Connect to MongoDB via PrivateLink */
541
+ export interface MongoDBCatalogPrivateLinkMongoDBConnection {
542
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
543
+ syncToken: string;
544
+ /** MongoDB catalog identifier (read only) */
545
+ catalogId: string;
546
+ /** Catalog name */
547
+ name: string;
548
+ /** Catalog description */
549
+ description?: string | undefined;
550
+ /** Is catalog read only */
551
+ readOnly: boolean;
552
+ /** Validate catalog configuration before creation */
553
+ validate?: boolean | undefined;
554
+ /** MongoDB cloud kind. Defaults to AWS. */
555
+ cloudKind?: CloudKind | undefined;
556
+ connectionType: MongoDBCatalogPrivateLinkMongoDBConnectionConnectionType;
557
+ /** MongoDB regions */
558
+ regions: MongoDBCatalogPrivateLinkMongoDBConnectionRegionsList;
559
+ /** MongoDB username */
560
+ username: string;
561
+ /** MongoDB password */
562
+ password: string | Redacted.Redacted<string>;
563
+ /** Use DNS seed list (SRV). Defaults to false. */
564
+ dnsSeedListEnabled?: boolean | undefined;
565
+ /** Use TLS for connections. Defaults to true. */
566
+ tlsEnabled?: boolean | undefined;
567
+ /** Is federated database. Defaults to false. */
568
+ federatedDatabaseEnabled?: boolean | undefined;
569
+ /** Tags assigned directly to this catalog (read only) */
570
+ tags?: MongoDBCatalogPrivateLinkMongoDBConnectionTagsList | undefined;
571
+ /** PrivateLink Identifier */
572
+ privateLinkId: string;
573
+ }
574
+ /** A catalog connecting to MongoDB */
575
+ export type MongoDBCatalog = MongoDBCatalogDirectMongoDBConnection | MongoDBCatalogSshTunnelMongoDBConnection | MongoDBCatalogPrivateLinkMongoDBConnection;
576
+ export type CreateMongoDBCatalogResponse = MongoDBCatalog;
577
+ export type CreateMySQLCatalogRequestDirectMySQLConnectionConnectionType = "direct";
578
+ /** Connect directly to MySQL instance */
579
+ export interface CreateMySQLCatalogRequestDirectMySQLConnection {
580
+ /** Catalog name */
581
+ name: string;
582
+ /** Catalog description */
583
+ description?: string | undefined;
584
+ /** Is catalog read only */
585
+ readOnly: boolean;
586
+ /** Validate catalog configuration before creation */
587
+ validate?: boolean | undefined;
588
+ /** MySQL cloud kind. Defaults to AWS. */
589
+ cloudKind?: CloudKind | (string & {}) | undefined;
590
+ connectionType: CreateMySQLCatalogRequestDirectMySQLConnectionConnectionType;
591
+ /** MySQL database port. Defaults to 3306. */
592
+ port?: number | undefined;
593
+ /** MySQL database username */
594
+ username: string;
595
+ /** MySQL database password */
596
+ password: string | Redacted.Redacted<string>;
597
+ /** MySQL host */
598
+ host: string;
599
+ }
600
+ export type CreateMySQLCatalogRequestSshTunnelMySQLConnectionConnectionType = "sshTunnel";
601
+ /** Connect to MySQL via SSH Tunnel */
602
+ export interface CreateMySQLCatalogRequestSshTunnelMySQLConnection {
603
+ /** Catalog name */
604
+ name: string;
605
+ /** Catalog description */
606
+ description?: string | undefined;
607
+ /** Is catalog read only */
608
+ readOnly: boolean;
609
+ /** Validate catalog configuration before creation */
610
+ validate?: boolean | undefined;
611
+ /** MySQL cloud kind. Defaults to AWS. */
612
+ cloudKind?: CloudKind | (string & {}) | undefined;
613
+ connectionType: CreateMySQLCatalogRequestSshTunnelMySQLConnectionConnectionType;
614
+ /** MySQL database port. Defaults to 3306. */
615
+ port?: number | undefined;
616
+ /** MySQL database username */
617
+ username: string;
618
+ /** MySQL database password */
619
+ password: string | Redacted.Redacted<string>;
620
+ /** SSH tunnel identifier */
621
+ sshTunnelId: string;
622
+ /** MySQL host */
623
+ host: string;
624
+ }
625
+ export type CreateMySQLCatalogRequestPrivateLinkMySQLConnectionConnectionType = "privateLink";
626
+ /** Connect to MySQL via PrivateLink */
627
+ export interface CreateMySQLCatalogRequestPrivateLinkMySQLConnection {
628
+ /** Catalog name */
629
+ name: string;
630
+ /** Catalog description */
631
+ description?: string | undefined;
632
+ /** Is catalog read only */
633
+ readOnly: boolean;
634
+ /** Validate catalog configuration before creation */
635
+ validate?: boolean | undefined;
636
+ /** MySQL cloud kind. Defaults to AWS. */
637
+ cloudKind?: CloudKind | (string & {}) | undefined;
638
+ connectionType: CreateMySQLCatalogRequestPrivateLinkMySQLConnectionConnectionType;
639
+ /** MySQL database port. Defaults to 3306. */
640
+ port?: number | undefined;
641
+ /** MySQL database username */
642
+ username: string;
643
+ /** MySQL database password */
644
+ password: string | Redacted.Redacted<string>;
645
+ /** PrivateLink Identifier */
646
+ privateLinkId: string;
647
+ }
648
+ /** Create a new MySQL catalog */
649
+ export type CreateMySQLCatalogRequest = CreateMySQLCatalogRequestDirectMySQLConnection | CreateMySQLCatalogRequestSshTunnelMySQLConnection | CreateMySQLCatalogRequestPrivateLinkMySQLConnection;
650
+ export interface CreateMySQLCatalogRequest2 {
651
+ body: CreateMySQLCatalogRequest;
652
+ }
653
+ export type MySQLCatalogDirectMySQLConnectionConnectionType = "direct";
654
+ /** Tags assigned directly to this catalog (read only) */
655
+ export type MySQLCatalogDirectMySQLConnectionTagsList = Array<TagName>;
656
+ /** Connect directly to MySQL instance */
657
+ export interface MySQLCatalogDirectMySQLConnection {
658
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
659
+ syncToken: string;
660
+ /** MySQL catalog identifier (read only) */
661
+ catalogId: string;
662
+ /** Catalog name */
663
+ name: string;
664
+ /** Catalog description */
665
+ description?: string | undefined;
666
+ /** Is catalog read only */
667
+ readOnly: boolean;
668
+ /** Validate catalog configuration before creation */
669
+ validate?: boolean | undefined;
670
+ /** MySQL cloud kind. Defaults to AWS. */
671
+ cloudKind?: CloudKind | undefined;
672
+ connectionType: MySQLCatalogDirectMySQLConnectionConnectionType;
673
+ /** MySQL database port. Defaults to 3306. */
674
+ port?: number | undefined;
675
+ /** MySQL database username */
676
+ username: string;
677
+ /** MySQL database password */
678
+ password: string | Redacted.Redacted<string>;
679
+ /** Tags assigned directly to this catalog (read only) */
680
+ tags?: MySQLCatalogDirectMySQLConnectionTagsList | undefined;
681
+ /** MySQL host */
682
+ host: string;
683
+ }
684
+ export type MySQLCatalogSshTunnelMySQLConnectionConnectionType = "sshTunnel";
685
+ /** Tags assigned directly to this catalog (read only) */
686
+ export type MySQLCatalogSshTunnelMySQLConnectionTagsList = Array<TagName>;
687
+ /** Connect to MySQL via SSH Tunnel */
688
+ export interface MySQLCatalogSshTunnelMySQLConnection {
689
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
690
+ syncToken: string;
691
+ /** MySQL catalog identifier (read only) */
692
+ catalogId: string;
693
+ /** Catalog name */
694
+ name: string;
695
+ /** Catalog description */
696
+ description?: string | undefined;
697
+ /** Is catalog read only */
698
+ readOnly: boolean;
699
+ /** Validate catalog configuration before creation */
700
+ validate?: boolean | undefined;
701
+ /** MySQL cloud kind. Defaults to AWS. */
702
+ cloudKind?: CloudKind | undefined;
703
+ connectionType: MySQLCatalogSshTunnelMySQLConnectionConnectionType;
704
+ /** MySQL database port. Defaults to 3306. */
705
+ port?: number | undefined;
706
+ /** MySQL database username */
707
+ username: string;
708
+ /** MySQL database password */
709
+ password: string | Redacted.Redacted<string>;
710
+ /** Tags assigned directly to this catalog (read only) */
711
+ tags?: MySQLCatalogSshTunnelMySQLConnectionTagsList | undefined;
712
+ /** SSH tunnel identifier */
713
+ sshTunnelId: string;
714
+ /** MySQL host */
715
+ host: string;
716
+ }
717
+ export type MySQLCatalogPrivateLinkMySQLConnectionConnectionType = "privateLink";
718
+ /** Tags assigned directly to this catalog (read only) */
719
+ export type MySQLCatalogPrivateLinkMySQLConnectionTagsList = Array<TagName>;
720
+ /** Connect to MySQL via PrivateLink */
721
+ export interface MySQLCatalogPrivateLinkMySQLConnection {
722
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
723
+ syncToken: string;
724
+ /** MySQL catalog identifier (read only) */
725
+ catalogId: string;
726
+ /** Catalog name */
727
+ name: string;
728
+ /** Catalog description */
729
+ description?: string | undefined;
730
+ /** Is catalog read only */
731
+ readOnly: boolean;
732
+ /** Validate catalog configuration before creation */
733
+ validate?: boolean | undefined;
734
+ /** MySQL cloud kind. Defaults to AWS. */
735
+ cloudKind?: CloudKind | undefined;
736
+ connectionType: MySQLCatalogPrivateLinkMySQLConnectionConnectionType;
737
+ /** MySQL database port. Defaults to 3306. */
738
+ port?: number | undefined;
739
+ /** MySQL database username */
740
+ username: string;
741
+ /** MySQL database password */
742
+ password: string | Redacted.Redacted<string>;
743
+ /** Tags assigned directly to this catalog (read only) */
744
+ tags?: MySQLCatalogPrivateLinkMySQLConnectionTagsList | undefined;
745
+ /** PrivateLink Identifier */
746
+ privateLinkId: string;
747
+ }
748
+ /** A catalog connecting to MySQL */
749
+ export type MySQLCatalog = MySQLCatalogDirectMySQLConnection | MySQLCatalogSshTunnelMySQLConnection | MySQLCatalogPrivateLinkMySQLConnection;
750
+ export type CreateMySQLCatalogResponse = MySQLCatalog;
751
+ export type CreateOpenSearchCatalogRequestOpenSearchBasicAuthAuthType = "basic";
752
+ /** Authenticate with a username and password */
753
+ export interface CreateOpenSearchCatalogRequestOpenSearchBasicAuth {
754
+ /** Catalog name */
755
+ name: string;
756
+ /** Catalog description */
757
+ description?: string | undefined;
758
+ /** Is catalog read only */
759
+ readOnly: boolean;
760
+ /** Validate catalog configuration before creation */
761
+ validate?: boolean | undefined;
762
+ authType: CreateOpenSearchCatalogRequestOpenSearchBasicAuthAuthType;
763
+ /** OpenSearch cluster endpoint */
764
+ endpoint: string;
765
+ /** OpenSearch cluster port. Defaults to 443. */
766
+ port?: number | undefined;
767
+ /** SSH tunnel identifier */
768
+ sshTunnelId?: string | undefined;
769
+ /** Username */
770
+ username: string;
771
+ /** Password */
772
+ password: string | Redacted.Redacted<string>;
773
+ }
774
+ export type CreateOpenSearchCatalogRequestOpenSearchAccessKeyAuthAuthType = "accessKey";
775
+ /** Authenticate with an AWS access key and secret key pair */
776
+ export interface CreateOpenSearchCatalogRequestOpenSearchAccessKeyAuth {
777
+ /** Catalog name */
778
+ name: string;
779
+ /** Catalog description */
780
+ description?: string | undefined;
781
+ /** Is catalog read only */
782
+ readOnly: boolean;
783
+ /** Validate catalog configuration before creation */
784
+ validate?: boolean | undefined;
785
+ authType: CreateOpenSearchCatalogRequestOpenSearchAccessKeyAuthAuthType;
786
+ /** OpenSearch cluster endpoint */
787
+ endpoint: string;
788
+ /** OpenSearch cluster port. Defaults to 443. */
789
+ port?: number | undefined;
790
+ /** SSH tunnel identifier */
791
+ sshTunnelId?: string | undefined;
792
+ /** AWS access key */
793
+ accessKey: string;
794
+ /** AWS secret key */
795
+ secretKey: string | Redacted.Redacted<string>;
796
+ /** AWS region */
797
+ region: string;
798
+ }
799
+ export type CreateOpenSearchCatalogRequestOpenSearchCrossAccountRoleAuthAuthType = "role";
800
+ /** Authenticate with an AWS cross account role */
801
+ export interface CreateOpenSearchCatalogRequestOpenSearchCrossAccountRoleAuth {
802
+ /** Catalog name */
803
+ name: string;
804
+ /** Catalog description */
805
+ description?: string | undefined;
806
+ /** Is catalog read only */
807
+ readOnly: boolean;
808
+ /** Validate catalog configuration before creation */
809
+ validate?: boolean | undefined;
810
+ authType: CreateOpenSearchCatalogRequestOpenSearchCrossAccountRoleAuthAuthType;
811
+ /** OpenSearch cluster endpoint */
812
+ endpoint: string;
813
+ /** OpenSearch cluster port. Defaults to 443. */
814
+ port?: number | undefined;
815
+ /** SSH tunnel identifier */
816
+ sshTunnelId?: string | undefined;
817
+ /** AWS cross account role ARN */
818
+ roleArn: string;
819
+ /** AWS region */
820
+ region: string;
821
+ }
822
+ /** Create a new OpenSearch catalog */
823
+ export type CreateOpenSearchCatalogRequest = CreateOpenSearchCatalogRequestOpenSearchBasicAuth | CreateOpenSearchCatalogRequestOpenSearchAccessKeyAuth | CreateOpenSearchCatalogRequestOpenSearchCrossAccountRoleAuth;
824
+ export interface CreateOpenSearchCatalogRequest2 {
825
+ body: CreateOpenSearchCatalogRequest;
826
+ }
827
+ export type OpenSearchCatalogOpenSearchBasicAuthAuthType = "basic";
828
+ /** Tags assigned directly to this catalog (read only) */
829
+ export type OpenSearchCatalogOpenSearchBasicAuthTagsList = Array<TagName>;
830
+ /** Authenticate with a username and password */
831
+ export interface OpenSearchCatalogOpenSearchBasicAuth {
832
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
833
+ syncToken: string;
834
+ /** OpenSearch catalog identifier (read only) */
835
+ catalogId: string;
836
+ /** Catalog name */
837
+ name: string;
838
+ /** Catalog description */
839
+ description?: string | undefined;
840
+ /** Is catalog read only */
841
+ readOnly: boolean;
842
+ /** Validate catalog configuration before creation */
843
+ validate?: boolean | undefined;
844
+ authType: OpenSearchCatalogOpenSearchBasicAuthAuthType;
845
+ /** OpenSearch cluster endpoint */
846
+ endpoint: string;
847
+ /** OpenSearch cluster port. Defaults to 443. */
848
+ port?: number | undefined;
849
+ /** SSH tunnel identifier */
850
+ sshTunnelId?: string | undefined;
851
+ /** Tags assigned directly to this catalog (read only) */
852
+ tags?: OpenSearchCatalogOpenSearchBasicAuthTagsList | undefined;
853
+ /** Username */
854
+ username: string;
855
+ /** Password */
856
+ password: string | Redacted.Redacted<string>;
857
+ }
858
+ export type OpenSearchCatalogOpenSearchAccessKeyAuthAuthType = "accessKey";
859
+ /** Tags assigned directly to this catalog (read only) */
860
+ export type OpenSearchCatalogOpenSearchAccessKeyAuthTagsList = Array<TagName>;
861
+ /** Authenticate with an AWS access key and secret key pair */
862
+ export interface OpenSearchCatalogOpenSearchAccessKeyAuth {
863
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
864
+ syncToken: string;
865
+ /** OpenSearch catalog identifier (read only) */
866
+ catalogId: string;
867
+ /** Catalog name */
868
+ name: string;
869
+ /** Catalog description */
870
+ description?: string | undefined;
871
+ /** Is catalog read only */
872
+ readOnly: boolean;
873
+ /** Validate catalog configuration before creation */
874
+ validate?: boolean | undefined;
875
+ authType: OpenSearchCatalogOpenSearchAccessKeyAuthAuthType;
876
+ /** OpenSearch cluster endpoint */
877
+ endpoint: string;
878
+ /** OpenSearch cluster port. Defaults to 443. */
879
+ port?: number | undefined;
880
+ /** SSH tunnel identifier */
881
+ sshTunnelId?: string | undefined;
882
+ /** Tags assigned directly to this catalog (read only) */
883
+ tags?: OpenSearchCatalogOpenSearchAccessKeyAuthTagsList | undefined;
884
+ /** AWS access key */
885
+ accessKey: string;
886
+ /** AWS secret key */
887
+ secretKey: string | Redacted.Redacted<string>;
888
+ /** AWS region */
889
+ region: string;
890
+ }
891
+ export type OpenSearchCatalogOpenSearchCrossAccountRoleAuthAuthType = "role";
892
+ /** Tags assigned directly to this catalog (read only) */
893
+ export type OpenSearchCatalogOpenSearchCrossAccountRoleAuthTagsList = Array<TagName>;
894
+ /** Authenticate with an AWS cross account role */
895
+ export interface OpenSearchCatalogOpenSearchCrossAccountRoleAuth {
896
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
897
+ syncToken: string;
898
+ /** OpenSearch catalog identifier (read only) */
899
+ catalogId: string;
900
+ /** Catalog name */
901
+ name: string;
902
+ /** Catalog description */
903
+ description?: string | undefined;
904
+ /** Is catalog read only */
905
+ readOnly: boolean;
906
+ /** Validate catalog configuration before creation */
907
+ validate?: boolean | undefined;
908
+ authType: OpenSearchCatalogOpenSearchCrossAccountRoleAuthAuthType;
909
+ /** OpenSearch cluster endpoint */
910
+ endpoint: string;
911
+ /** OpenSearch cluster port. Defaults to 443. */
912
+ port?: number | undefined;
913
+ /** SSH tunnel identifier */
914
+ sshTunnelId?: string | undefined;
915
+ /** Tags assigned directly to this catalog (read only) */
916
+ tags?: OpenSearchCatalogOpenSearchCrossAccountRoleAuthTagsList | undefined;
917
+ /** AWS cross account role ARN */
918
+ roleArn: string;
919
+ /** AWS region */
920
+ region: string;
921
+ }
922
+ /** A catalog connecting to OpenSearch */
923
+ export type OpenSearchCatalog = OpenSearchCatalogOpenSearchBasicAuth | OpenSearchCatalogOpenSearchAccessKeyAuth | OpenSearchCatalogOpenSearchCrossAccountRoleAuth;
924
+ export type CreateOpenSearchCatalogResponse = OpenSearchCatalog;
925
+ export interface CreatePostgresqlCatalogRequest {
926
+ /** Catalog name */
927
+ name: string;
928
+ /** Catalog description */
929
+ description?: string | undefined;
930
+ /** Is catalog read only */
931
+ readOnly: boolean;
932
+ /** Validate catalog configuration before creation */
933
+ validate?: boolean | undefined;
934
+ /** PostgreSQL cloud kind. Defaults to AWS. */
935
+ cloudKind?: CloudKind | (string & {}) | undefined;
936
+ /** PostgreSQL database endpoint */
937
+ endpoint?: string | undefined;
938
+ /** PostgreSQL database port. Defaults to 5432. */
939
+ port?: number | undefined;
940
+ /** PostgreSQL database name */
941
+ databaseName: string;
942
+ /** PostgreSQL database username */
943
+ username: string;
944
+ /** PostgreSQL database password */
945
+ password: string | Redacted.Redacted<string>;
946
+ /** Use TLS for PostgreSQL connections. Defaults to true. */
947
+ tlsEnabled?: boolean | undefined;
948
+ /** SSH tunnel identifier */
949
+ sshTunnelId?: string | undefined;
950
+ /** PrivateLink identifier */
951
+ privateLinkId?: string | undefined;
952
+ }
953
+ /** Tags assigned directly to this catalog (read only) */
954
+ export type PostgresqlCatalogTagsList = Array<TagName>;
955
+ /** A catalog connecting to PostgreSQL */
956
+ export interface PostgresqlCatalog {
957
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
958
+ syncToken: string;
959
+ /** PostgreSQL catalog identifier (read only) */
960
+ catalogId: string;
961
+ /** Catalog name */
962
+ name: string;
963
+ /** Catalog description */
964
+ description?: string | undefined;
965
+ /** Is catalog read only */
966
+ readOnly: boolean;
967
+ /** Validate catalog configuration before creation */
968
+ validate?: boolean | undefined;
969
+ /** PostgreSQL cloud kind. Defaults to AWS. */
970
+ cloudKind?: CloudKind | undefined;
971
+ /** PostgreSQL database endpoint */
972
+ endpoint?: string | undefined;
973
+ /** PostgreSQL database port. Defaults to 5432. */
974
+ port?: number | undefined;
975
+ /** PostgreSQL database name */
976
+ databaseName: string;
977
+ /** PostgreSQL database username */
978
+ username: string;
979
+ /** PostgreSQL database password */
980
+ password: string | Redacted.Redacted<string>;
981
+ /** Use TLS for PostgreSQL connections. Defaults to true. */
982
+ tlsEnabled?: boolean | undefined;
983
+ /** SSH tunnel identifier */
984
+ sshTunnelId?: string | undefined;
985
+ /** PrivateLink identifier */
986
+ privateLinkId?: string | undefined;
987
+ /** Tags assigned directly to this catalog (read only) */
988
+ tags?: PostgresqlCatalogTagsList | undefined;
989
+ }
990
+ export type CreateRedshiftCatalogRequestBasicAuthType = "basic";
991
+ /** Authenticate with a username and password */
992
+ export interface CreateRedshiftCatalogRequestBasic {
993
+ /** Catalog name */
994
+ name: string;
995
+ /** Catalog description */
996
+ description?: string | undefined;
997
+ /** Is catalog read only */
998
+ readOnly: boolean;
999
+ /** Validate catalog configuration before creation */
1000
+ validate?: boolean | undefined;
1001
+ /** Redshift cluster endpoint */
1002
+ endpoint: string;
1003
+ authType: CreateRedshiftCatalogRequestBasicAuthType;
1004
+ /** SSH tunnel identifier */
1005
+ sshTunnelId?: string | undefined;
1006
+ /** Username */
1007
+ username: string;
1008
+ /** Password */
1009
+ password: string | Redacted.Redacted<string>;
1010
+ }
1011
+ export type CreateRedshiftCatalogRequestAccessKeyAuthType = "accessKey";
1012
+ /** Authenticate with an AWS access key and secret key pair */
1013
+ export interface CreateRedshiftCatalogRequestAccessKey {
1014
+ /** Catalog name */
1015
+ name: string;
1016
+ /** Catalog description */
1017
+ description?: string | undefined;
1018
+ /** Is catalog read only */
1019
+ readOnly: boolean;
1020
+ /** Validate catalog configuration before creation */
1021
+ validate?: boolean | undefined;
1022
+ /** Redshift cluster endpoint */
1023
+ endpoint: string;
1024
+ authType: CreateRedshiftCatalogRequestAccessKeyAuthType;
1025
+ /** SSH tunnel identifier */
1026
+ sshTunnelId?: string | undefined;
1027
+ /** Username */
1028
+ username: string;
1029
+ /** AWS access key */
1030
+ accessKey: string;
1031
+ /** AWS secret key */
1032
+ secretKey: string | Redacted.Redacted<string>;
1033
+ /** AWS region */
1034
+ region: string;
1035
+ }
1036
+ export type CreateRedshiftCatalogRequestRedshiftCrossAccountRoleAuthAuthType = "role";
1037
+ /** Authenticate with an AWS cross account role */
1038
+ export interface CreateRedshiftCatalogRequestRedshiftCrossAccountRoleAuth {
1039
+ /** Catalog name */
1040
+ name: string;
1041
+ /** Catalog description */
1042
+ description?: string | undefined;
1043
+ /** Is catalog read only */
1044
+ readOnly: boolean;
1045
+ /** Validate catalog configuration before creation */
1046
+ validate?: boolean | undefined;
1047
+ /** Redshift cluster endpoint */
1048
+ endpoint: string;
1049
+ authType: CreateRedshiftCatalogRequestRedshiftCrossAccountRoleAuthAuthType;
1050
+ /** SSH tunnel identifier */
1051
+ sshTunnelId?: string | undefined;
1052
+ /** Username */
1053
+ username: string;
1054
+ /** AWS cross account role ARN */
1055
+ roleArn: string;
1056
+ /** AWS region */
1057
+ region: string;
1058
+ }
1059
+ /** Create a new Redshift catalog */
1060
+ export type CreateRedshiftCatalogRequest = CreateRedshiftCatalogRequestBasic | CreateRedshiftCatalogRequestAccessKey | CreateRedshiftCatalogRequestRedshiftCrossAccountRoleAuth;
1061
+ export interface CreateRedshiftCatalogRequest2 {
1062
+ body: CreateRedshiftCatalogRequest;
1063
+ }
1064
+ export type RedshiftCatalogBasicAuthType = "basic";
1065
+ /** Tags assigned directly to this catalog (read only) */
1066
+ export type RedshiftCatalogBasicTagsList = Array<TagName>;
1067
+ /** Authenticate with a username and password */
1068
+ export interface RedshiftCatalogBasic {
1069
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1070
+ syncToken: string;
1071
+ /** Redshift catalog identifier (read only) */
1072
+ catalogId: string;
1073
+ /** Catalog name */
1074
+ name: string;
1075
+ /** Catalog description */
1076
+ description?: string | undefined;
1077
+ /** Is catalog read only */
1078
+ readOnly: boolean;
1079
+ /** Validate catalog configuration before creation */
1080
+ validate?: boolean | undefined;
1081
+ /** Redshift cluster endpoint */
1082
+ endpoint: string;
1083
+ authType: RedshiftCatalogBasicAuthType;
1084
+ /** SSH tunnel identifier */
1085
+ sshTunnelId?: string | undefined;
1086
+ /** Tags assigned directly to this catalog (read only) */
1087
+ tags?: RedshiftCatalogBasicTagsList | undefined;
1088
+ /** Username */
1089
+ username: string;
1090
+ /** Password */
1091
+ password: string | Redacted.Redacted<string>;
1092
+ }
1093
+ export type RedshiftCatalogAccessKeyAuthType = "accessKey";
1094
+ /** Tags assigned directly to this catalog (read only) */
1095
+ export type RedshiftCatalogAccessKeyTagsList = Array<TagName>;
1096
+ /** Authenticate with an AWS access key and secret key pair */
1097
+ export interface RedshiftCatalogAccessKey {
1098
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1099
+ syncToken: string;
1100
+ /** Redshift catalog identifier (read only) */
1101
+ catalogId: string;
1102
+ /** Catalog name */
1103
+ name: string;
1104
+ /** Catalog description */
1105
+ description?: string | undefined;
1106
+ /** Is catalog read only */
1107
+ readOnly: boolean;
1108
+ /** Validate catalog configuration before creation */
1109
+ validate?: boolean | undefined;
1110
+ /** Redshift cluster endpoint */
1111
+ endpoint: string;
1112
+ authType: RedshiftCatalogAccessKeyAuthType;
1113
+ /** SSH tunnel identifier */
1114
+ sshTunnelId?: string | undefined;
1115
+ /** Tags assigned directly to this catalog (read only) */
1116
+ tags?: RedshiftCatalogAccessKeyTagsList | undefined;
1117
+ /** Username */
1118
+ username: string;
1119
+ /** AWS access key */
1120
+ accessKey: string;
1121
+ /** AWS secret key */
1122
+ secretKey: string | Redacted.Redacted<string>;
1123
+ /** AWS region */
1124
+ region: string;
1125
+ }
1126
+ export type RedshiftCatalogRedshiftCrossAccountRoleAuthAuthType = "role";
1127
+ /** Tags assigned directly to this catalog (read only) */
1128
+ export type RedshiftCatalogRedshiftCrossAccountRoleAuthTagsList = Array<TagName>;
1129
+ /** Authenticate with an AWS cross account role */
1130
+ export interface RedshiftCatalogRedshiftCrossAccountRoleAuth {
1131
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1132
+ syncToken: string;
1133
+ /** Redshift catalog identifier (read only) */
1134
+ catalogId: string;
1135
+ /** Catalog name */
1136
+ name: string;
1137
+ /** Catalog description */
1138
+ description?: string | undefined;
1139
+ /** Is catalog read only */
1140
+ readOnly: boolean;
1141
+ /** Validate catalog configuration before creation */
1142
+ validate?: boolean | undefined;
1143
+ /** Redshift cluster endpoint */
1144
+ endpoint: string;
1145
+ authType: RedshiftCatalogRedshiftCrossAccountRoleAuthAuthType;
1146
+ /** SSH tunnel identifier */
1147
+ sshTunnelId?: string | undefined;
1148
+ /** Tags assigned directly to this catalog (read only) */
1149
+ tags?: RedshiftCatalogRedshiftCrossAccountRoleAuthTagsList | undefined;
1150
+ /** Username */
1151
+ username: string;
1152
+ /** AWS cross account role ARN */
1153
+ roleArn: string;
1154
+ /** AWS region */
1155
+ region: string;
1156
+ }
1157
+ /** A catalog connecting to AWS Redshift */
1158
+ export type RedshiftCatalog = RedshiftCatalogBasic | RedshiftCatalogAccessKey | RedshiftCatalogRedshiftCrossAccountRoleAuth;
1159
+ export type CreateRedshiftCatalogResponse = RedshiftCatalog;
1160
+ export type CreateS3CatalogRequestGalaxyMetastoreMetastoreType = "galaxy";
1161
+ /** Store metadata in the Galaxy metastore */
1162
+ export interface CreateS3CatalogRequestGalaxyMetastore {
1163
+ /** Catalog name */
1164
+ name: string;
1165
+ /** Catalog description */
1166
+ description?: string | undefined;
1167
+ /** Is catalog read only */
1168
+ readOnly: boolean;
1169
+ /** Validate catalog configuration before creation */
1170
+ validate?: boolean | undefined;
1171
+ /** AWS access key */
1172
+ accessKey?: string | undefined;
1173
+ /** AWS secret key */
1174
+ secretKey?: string | Redacted.Redacted<string> | undefined;
1175
+ /** AWS cross account role ARN */
1176
+ roleArn?: string | undefined;
1177
+ metastoreType: CreateS3CatalogRequestGalaxyMetastoreMetastoreType;
1178
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1179
+ defaultTableFormat?: string | undefined;
1180
+ /** Allow creating external tables. Defaults to false. */
1181
+ externalTableCreationEnabled?: boolean | undefined;
1182
+ /** Allow writing to external tables. Defaults to false. */
1183
+ externalTableWritesEnabled?: boolean | undefined;
1184
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1185
+ metadataMaxStalenessSeconds?: number | undefined;
1186
+ /** S3 bucket to use when storing data for new schemas */
1187
+ defaultBucket: string;
1188
+ /** Default location to store data for new schemas */
1189
+ defaultDataLocation: string;
1190
+ }
1191
+ export type CreateS3CatalogRequestGlueMetastoreMetastoreType = "glue";
1192
+ /** Store metadata in AWS Glue */
1193
+ export interface CreateS3CatalogRequestGlueMetastore {
1194
+ /** Catalog name */
1195
+ name: string;
1196
+ /** Catalog description */
1197
+ description?: string | undefined;
1198
+ /** Is catalog read only */
1199
+ readOnly: boolean;
1200
+ /** Validate catalog configuration before creation */
1201
+ validate?: boolean | undefined;
1202
+ /** AWS access key */
1203
+ accessKey?: string | undefined;
1204
+ /** AWS secret key */
1205
+ secretKey?: string | Redacted.Redacted<string> | undefined;
1206
+ /** AWS cross account role ARN */
1207
+ roleArn?: string | undefined;
1208
+ metastoreType: CreateS3CatalogRequestGlueMetastoreMetastoreType;
1209
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1210
+ defaultTableFormat?: string | undefined;
1211
+ /** Allow creating external tables. Defaults to false. */
1212
+ externalTableCreationEnabled?: boolean | undefined;
1213
+ /** Allow writing to external tables. Defaults to false. */
1214
+ externalTableWritesEnabled?: boolean | undefined;
1215
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1216
+ metadataMaxStalenessSeconds?: number | undefined;
1217
+ /** AWS region */
1218
+ region: string;
1219
+ /** S3 bucket to use when storing data for new schemas */
1220
+ defaultBucket: string;
1221
+ /** Default location to store data for new schemas */
1222
+ defaultDataLocation: string;
1223
+ /** AWS access key for AWS Glue access */
1224
+ glueAccessKey?: string | undefined;
1225
+ /** AWS secret key for AWS Glue access */
1226
+ glueSecretKey?: string | Redacted.Redacted<string> | undefined;
1227
+ /** AWS cross account role for AWS Glue access */
1228
+ glueRoleArn?: string | undefined;
1229
+ }
1230
+ export type CreateS3CatalogRequestHiveMetastoreMetastoreType = "hive";
1231
+ /** Store metadata in a Hive metastore */
1232
+ export interface CreateS3CatalogRequestHiveMetastore {
1233
+ /** Catalog name */
1234
+ name: string;
1235
+ /** Catalog description */
1236
+ description?: string | undefined;
1237
+ /** Is catalog read only */
1238
+ readOnly: boolean;
1239
+ /** Validate catalog configuration before creation */
1240
+ validate?: boolean | undefined;
1241
+ /** AWS access key */
1242
+ accessKey?: string | undefined;
1243
+ /** AWS secret key */
1244
+ secretKey?: string | Redacted.Redacted<string> | undefined;
1245
+ /** AWS cross account role ARN */
1246
+ roleArn?: string | undefined;
1247
+ metastoreType: CreateS3CatalogRequestHiveMetastoreMetastoreType;
1248
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1249
+ defaultTableFormat?: string | undefined;
1250
+ /** Allow creating external tables. Defaults to false. */
1251
+ externalTableCreationEnabled?: boolean | undefined;
1252
+ /** Allow writing to external tables. Defaults to false. */
1253
+ externalTableWritesEnabled?: boolean | undefined;
1254
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1255
+ metadataMaxStalenessSeconds?: number | undefined;
1256
+ /** Hive metastore host url */
1257
+ hiveMetastoreHost: string;
1258
+ /** Hive metastore host port. Defaults to 9083. */
1259
+ hiveMetastorePort?: number | undefined;
1260
+ /** SSH tunnel identifier */
1261
+ sshTunnelId?: string | undefined;
1262
+ }
1263
+ /** Create a new S3 catalog */
1264
+ export type CreateS3CatalogRequest = CreateS3CatalogRequestGalaxyMetastore | CreateS3CatalogRequestGlueMetastore | CreateS3CatalogRequestHiveMetastore;
1265
+ export interface CreateS3CatalogRequest2 {
1266
+ body: CreateS3CatalogRequest;
1267
+ }
1268
+ export type S3CatalogGalaxyMetastoreMetastoreType = "galaxy";
1269
+ /** Tags assigned directly to this catalog (read only) */
1270
+ export type S3CatalogGalaxyMetastoreTagsList = Array<TagName>;
1271
+ /** Store metadata in the Galaxy metastore */
1272
+ export interface S3CatalogGalaxyMetastore {
1273
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1274
+ syncToken: string;
1275
+ /** S3 catalog identifier (read only) */
1276
+ catalogId: string;
1277
+ /** Catalog name */
1278
+ name: string;
1279
+ /** Catalog description */
1280
+ description?: string | undefined;
1281
+ /** Is catalog read only */
1282
+ readOnly: boolean;
1283
+ /** Validate catalog configuration before creation */
1284
+ validate?: boolean | undefined;
1285
+ /** AWS access key */
1286
+ accessKey?: string | undefined;
1287
+ /** AWS secret key */
1288
+ secretKey?: string | Redacted.Redacted<string> | undefined;
1289
+ /** AWS cross account role ARN */
1290
+ roleArn?: string | undefined;
1291
+ metastoreType: S3CatalogGalaxyMetastoreMetastoreType;
1292
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1293
+ defaultTableFormat?: string | undefined;
1294
+ /** Allow creating external tables. Defaults to false. */
1295
+ externalTableCreationEnabled?: boolean | undefined;
1296
+ /** Allow writing to external tables. Defaults to false. */
1297
+ externalTableWritesEnabled?: boolean | undefined;
1298
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1299
+ metadataMaxStalenessSeconds?: number | undefined;
1300
+ /** Tags assigned directly to this catalog (read only) */
1301
+ tags?: S3CatalogGalaxyMetastoreTagsList | undefined;
1302
+ /** S3 bucket to use when storing data for new schemas */
1303
+ defaultBucket: string;
1304
+ /** Default location to store data for new schemas */
1305
+ defaultDataLocation: string;
1306
+ }
1307
+ export type S3CatalogGlueMetastoreMetastoreType = "glue";
1308
+ /** Tags assigned directly to this catalog (read only) */
1309
+ export type S3CatalogGlueMetastoreTagsList = Array<TagName>;
1310
+ /** Store metadata in AWS Glue */
1311
+ export interface S3CatalogGlueMetastore {
1312
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1313
+ syncToken: string;
1314
+ /** S3 catalog identifier (read only) */
1315
+ catalogId: string;
1316
+ /** Catalog name */
1317
+ name: string;
1318
+ /** Catalog description */
1319
+ description?: string | undefined;
1320
+ /** Is catalog read only */
1321
+ readOnly: boolean;
1322
+ /** Validate catalog configuration before creation */
1323
+ validate?: boolean | undefined;
1324
+ /** AWS access key */
1325
+ accessKey?: string | undefined;
1326
+ /** AWS secret key */
1327
+ secretKey?: string | Redacted.Redacted<string> | undefined;
1328
+ /** AWS cross account role ARN */
1329
+ roleArn?: string | undefined;
1330
+ metastoreType: S3CatalogGlueMetastoreMetastoreType;
1331
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1332
+ defaultTableFormat?: string | undefined;
1333
+ /** Allow creating external tables. Defaults to false. */
1334
+ externalTableCreationEnabled?: boolean | undefined;
1335
+ /** Allow writing to external tables. Defaults to false. */
1336
+ externalTableWritesEnabled?: boolean | undefined;
1337
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1338
+ metadataMaxStalenessSeconds?: number | undefined;
1339
+ /** Tags assigned directly to this catalog (read only) */
1340
+ tags?: S3CatalogGlueMetastoreTagsList | undefined;
1341
+ /** AWS region */
1342
+ region: string;
1343
+ /** S3 bucket to use when storing data for new schemas */
1344
+ defaultBucket: string;
1345
+ /** Default location to store data for new schemas */
1346
+ defaultDataLocation: string;
1347
+ /** AWS access key for AWS Glue access */
1348
+ glueAccessKey?: string | undefined;
1349
+ /** AWS secret key for AWS Glue access */
1350
+ glueSecretKey?: string | Redacted.Redacted<string> | undefined;
1351
+ /** AWS cross account role for AWS Glue access */
1352
+ glueRoleArn?: string | undefined;
1353
+ }
1354
+ export type S3CatalogHiveMetastoreMetastoreType = "hive";
1355
+ /** Tags assigned directly to this catalog (read only) */
1356
+ export type S3CatalogHiveMetastoreTagsList = Array<TagName>;
1357
+ /** Store metadata in a Hive metastore */
1358
+ export interface S3CatalogHiveMetastore {
1359
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1360
+ syncToken: string;
1361
+ /** S3 catalog identifier (read only) */
1362
+ catalogId: string;
1363
+ /** Catalog name */
1364
+ name: string;
1365
+ /** Catalog description */
1366
+ description?: string | undefined;
1367
+ /** Is catalog read only */
1368
+ readOnly: boolean;
1369
+ /** Validate catalog configuration before creation */
1370
+ validate?: boolean | undefined;
1371
+ /** AWS access key */
1372
+ accessKey?: string | undefined;
1373
+ /** AWS secret key */
1374
+ secretKey?: string | Redacted.Redacted<string> | undefined;
1375
+ /** AWS cross account role ARN */
1376
+ roleArn?: string | undefined;
1377
+ metastoreType: S3CatalogHiveMetastoreMetastoreType;
1378
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1379
+ defaultTableFormat?: string | undefined;
1380
+ /** Allow creating external tables. Defaults to false. */
1381
+ externalTableCreationEnabled?: boolean | undefined;
1382
+ /** Allow writing to external tables. Defaults to false. */
1383
+ externalTableWritesEnabled?: boolean | undefined;
1384
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1385
+ metadataMaxStalenessSeconds?: number | undefined;
1386
+ /** Tags assigned directly to this catalog (read only) */
1387
+ tags?: S3CatalogHiveMetastoreTagsList | undefined;
1388
+ /** Hive metastore host url */
1389
+ hiveMetastoreHost: string;
1390
+ /** Hive metastore host port. Defaults to 9083. */
1391
+ hiveMetastorePort?: number | undefined;
1392
+ /** SSH tunnel identifier */
1393
+ sshTunnelId?: string | undefined;
1394
+ }
1395
+ /** A catalog connecting to S3 */
1396
+ export type S3Catalog = S3CatalogGalaxyMetastore | S3CatalogGlueMetastore | S3CatalogHiveMetastore;
1397
+ export type CreateS3CatalogResponse = S3Catalog;
1398
+ export interface CreateSnowflakeCatalogRequest {
1399
+ /** Catalog name */
1400
+ name: string;
1401
+ /** Catalog description */
1402
+ description?: string | undefined;
1403
+ /** Is catalog read only */
1404
+ readOnly: boolean;
1405
+ /** Validate catalog configuration before creation */
1406
+ validate?: boolean | undefined;
1407
+ /** Snowflake cloud kind. Defaults to AWS. */
1408
+ cloudKind?: CloudKind | (string & {}) | undefined;
1409
+ /** Snowflake account identifier */
1410
+ accountIdentifier: string;
1411
+ /** Snowflake database name */
1412
+ databaseName: string;
1413
+ /** Snowflake username */
1414
+ username: string;
1415
+ /** Snowflake password */
1416
+ password?: string | Redacted.Redacted<string> | undefined;
1417
+ /** Base64 encoded or plain text PEM Snowflake private key */
1418
+ privateKey?: string | Redacted.Redacted<string> | undefined;
1419
+ /** Snowflake private key passphrase */
1420
+ privateKeyPassphrase?: string | Redacted.Redacted<string> | undefined;
1421
+ /** Snowflake authentication type */
1422
+ authenticationType?: string | undefined;
1423
+ /** Snowflake warehouse name */
1424
+ warehouse?: string | undefined;
1425
+ /** Snowflake role */
1426
+ role?: string | undefined;
1427
+ }
1428
+ /** Tags assigned directly to this catalog (read only) */
1429
+ export type SnowflakeCatalogTagsList = Array<TagName>;
1430
+ /** A catalog connecting to Snowflake */
1431
+ export interface SnowflakeCatalog {
1432
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1433
+ syncToken: string;
1434
+ /** Snowflake catalog identifier (read only) */
1435
+ catalogId: string;
1436
+ /** Catalog name */
1437
+ name: string;
1438
+ /** Catalog description */
1439
+ description?: string | undefined;
1440
+ /** Is catalog read only */
1441
+ readOnly: boolean;
1442
+ /** Validate catalog configuration before creation */
1443
+ validate?: boolean | undefined;
1444
+ /** Snowflake cloud kind. Defaults to AWS. */
1445
+ cloudKind?: CloudKind | undefined;
1446
+ /** Snowflake account identifier */
1447
+ accountIdentifier: string;
1448
+ /** Snowflake database name */
1449
+ databaseName: string;
1450
+ /** Snowflake username */
1451
+ username: string;
1452
+ /** Snowflake password */
1453
+ password?: string | Redacted.Redacted<string> | undefined;
1454
+ /** Base64 encoded or plain text PEM Snowflake private key */
1455
+ privateKey?: string | Redacted.Redacted<string> | undefined;
1456
+ /** Snowflake private key passphrase */
1457
+ privateKeyPassphrase?: string | Redacted.Redacted<string> | undefined;
1458
+ /** Snowflake authentication type */
1459
+ authenticationType?: string | undefined;
1460
+ /** Snowflake warehouse name */
1461
+ warehouse?: string | undefined;
1462
+ /** Snowflake role */
1463
+ role?: string | undefined;
1464
+ /** Tags assigned directly to this catalog (read only) */
1465
+ tags?: SnowflakeCatalogTagsList | undefined;
1466
+ }
1467
+ export interface CreateSqlServerCatalogRequest {
1468
+ /** Catalog name */
1469
+ name: string;
1470
+ /** Catalog description */
1471
+ description?: string | undefined;
1472
+ /** Is catalog read only */
1473
+ readOnly: boolean;
1474
+ /** Validate catalog configuration before creation */
1475
+ validate?: boolean | undefined;
1476
+ /** SQL Server cloud kind. Defaults to AWS. */
1477
+ cloudKind?: CloudKind | (string & {}) | undefined;
1478
+ /** SQL Server database endpoint */
1479
+ endpoint?: string | undefined;
1480
+ /** SQL Server database port. Defaults to 1433. */
1481
+ port?: number | undefined;
1482
+ /** SQL Server database name */
1483
+ databaseName: string;
1484
+ /** SQL Server database username */
1485
+ username: string;
1486
+ /** SQL Server database password */
1487
+ password: string | Redacted.Redacted<string>;
1488
+ /** SSH tunnel identifier */
1489
+ sshTunnelId?: string | undefined;
1490
+ /** PrivateLink identifier */
1491
+ privateLinkId?: string | undefined;
1492
+ }
1493
+ /** Tags assigned directly to this catalog (read only) */
1494
+ export type SqlServerCatalogTagsList = Array<TagName>;
1495
+ /** A catalog connecting to SQL Server */
1496
+ export interface SqlServerCatalog {
1497
+ /** Used to ensure consistency for resource updates. A syncToken that is returned from the server is valid until the resource is updated when a new syncToken will be generated. Only the latest version of the object is maintained. (read only) */
1498
+ syncToken: string;
1499
+ /** SQL Server catalog identifier (read only) */
1500
+ catalogId: string;
1501
+ /** Catalog name */
1502
+ name: string;
1503
+ /** Catalog description */
1504
+ description?: string | undefined;
1505
+ /** Is catalog read only */
1506
+ readOnly: boolean;
1507
+ /** Validate catalog configuration before creation */
1508
+ validate?: boolean | undefined;
1509
+ /** SQL Server cloud kind. Defaults to AWS. */
1510
+ cloudKind?: CloudKind | undefined;
1511
+ /** SQL Server database endpoint */
1512
+ endpoint?: string | undefined;
1513
+ /** SQL Server database port. Defaults to 1433. */
1514
+ port?: number | undefined;
1515
+ /** SQL Server database name */
1516
+ databaseName: string;
1517
+ /** SQL Server database username */
1518
+ username: string;
1519
+ /** SQL Server database password */
1520
+ password: string | Redacted.Redacted<string>;
1521
+ /** SSH tunnel identifier */
1522
+ sshTunnelId?: string | undefined;
1523
+ /** PrivateLink identifier */
1524
+ privateLinkId?: string | undefined;
1525
+ /** Tags assigned directly to this catalog (read only) */
1526
+ tags?: SqlServerCatalogTagsList | undefined;
1527
+ }
1528
+ export interface DeleteBigQueryCatalogRequest {
1529
+ /** A catalog connecting to BigQuery */
1530
+ catalogId: string;
1531
+ }
1532
+ export interface DeleteBigQueryCatalogResponse {
1533
+ }
1534
+ export interface DeleteCassandraCatalogRequest {
1535
+ /** A catalog connecting to Cassandra, with options for integration with AstraDB */
1536
+ catalogId: string;
1537
+ }
1538
+ export interface DeleteCassandraCatalogResponse {
1539
+ }
1540
+ export interface DeleteGcsCatalogRequest {
1541
+ /** A catalog connecting to GCS */
1542
+ catalogId: string;
1543
+ }
1544
+ export interface DeleteGcsCatalogResponse {
1545
+ }
1546
+ export interface DeleteMongoDBCatalogRequest {
1547
+ /** A catalog connecting to MongoDB */
1548
+ catalogId: string;
1549
+ }
1550
+ export interface DeleteMongoDBCatalogResponse {
1551
+ }
1552
+ export interface DeleteMySQLCatalogRequest {
1553
+ /** A catalog connecting to MySQL */
1554
+ catalogId: string;
1555
+ }
1556
+ export interface DeleteMySQLCatalogResponse {
1557
+ }
1558
+ export interface DeleteOpenSearchCatalogRequest {
1559
+ /** A catalog connecting to OpenSearch */
1560
+ catalogId: string;
1561
+ }
1562
+ export interface DeleteOpenSearchCatalogResponse {
1563
+ }
1564
+ export interface DeletePostgresqlCatalogRequest {
1565
+ /** A catalog connecting to PostgreSQL */
1566
+ catalogId: string;
1567
+ }
1568
+ export interface DeletePostgresqlCatalogResponse {
1569
+ }
1570
+ export interface DeleteRedshiftCatalogRequest {
1571
+ /** A catalog connecting to AWS Redshift */
1572
+ catalogId: string;
1573
+ }
1574
+ export interface DeleteRedshiftCatalogResponse {
1575
+ }
1576
+ export interface DeleteS3CatalogRequest {
1577
+ /** A catalog connecting to S3 */
1578
+ catalogId: string;
1579
+ }
1580
+ export interface DeleteS3CatalogResponse {
1581
+ }
1582
+ export interface DeleteSnowflakeCatalogRequest {
1583
+ /** A catalog connecting to Snowflake */
1584
+ catalogId: string;
1585
+ }
1586
+ export interface DeleteSnowflakeCatalogResponse {
1587
+ }
1588
+ export interface DeleteSqlServerCatalogRequest {
1589
+ /** A catalog connecting to SQL Server */
1590
+ catalogId: string;
1591
+ }
1592
+ export interface DeleteSqlServerCatalogResponse {
1593
+ }
1594
+ export interface GetBigQueryCatalogRequest {
1595
+ /** A catalog connecting to BigQuery */
1596
+ catalogId: string;
1597
+ }
1598
+ export interface GetCassandraCatalogRequest {
1599
+ /** A catalog connecting to Cassandra, with options for integration with AstraDB */
1600
+ catalogId: string;
1601
+ }
1602
+ export type GetCassandraCatalogResponse = CassandraCatalog;
1603
+ export interface GetGcsCatalogRequest {
1604
+ /** A catalog connecting to GCS */
1605
+ catalogId: string;
1606
+ }
1607
+ export type GetGcsCatalogResponse = GcsCatalog;
1608
+ export interface GetMongoDBCatalogRequest {
1609
+ /** A catalog connecting to MongoDB */
1610
+ catalogId: string;
1611
+ }
1612
+ export type GetMongoDBCatalogResponse = MongoDBCatalog;
1613
+ export interface GetMySQLCatalogRequest {
1614
+ /** A catalog connecting to MySQL */
1615
+ catalogId: string;
1616
+ }
1617
+ export type GetMySQLCatalogResponse = MySQLCatalog;
1618
+ export interface GetOpenSearchCatalogRequest {
1619
+ /** A catalog connecting to OpenSearch */
1620
+ catalogId: string;
1621
+ }
1622
+ export type GetOpenSearchCatalogResponse = OpenSearchCatalog;
1623
+ export interface GetPostgresqlCatalogRequest {
1624
+ /** A catalog connecting to PostgreSQL */
1625
+ catalogId: string;
1626
+ }
1627
+ export interface GetRedshiftCatalogRequest {
1628
+ /** A catalog connecting to AWS Redshift */
1629
+ catalogId: string;
1630
+ }
1631
+ export type GetRedshiftCatalogResponse = RedshiftCatalog;
1632
+ export interface GetS3CatalogRequest {
1633
+ /** A catalog connecting to S3 */
1634
+ catalogId: string;
1635
+ }
1636
+ export type GetS3CatalogResponse = S3Catalog;
1637
+ export interface GetSnowflakeCatalogRequest {
1638
+ /** A catalog connecting to Snowflake */
1639
+ catalogId: string;
1640
+ }
1641
+ export interface GetSqlServerCatalogRequest {
1642
+ /** A catalog connecting to SQL Server */
1643
+ catalogId: string;
1644
+ }
1645
+ export interface ListBigQueryCatalogsRequest {
1646
+ /** Pagination token */
1647
+ pageToken?: string | undefined;
1648
+ /** Page size or 0 for default (current maximum is 100) */
1649
+ pageSize?: number | undefined;
1650
+ }
1651
+ /** A page of results. */
1652
+ export type PaginatedBigQueryCatalogResultList = Array<BigQueryCatalog>;
1653
+ export interface PaginatedBigQueryCatalog {
1654
+ /** The next page token to use or "" if there are no more pages. */
1655
+ nextPageToken?: string | undefined;
1656
+ /** A page of results. */
1657
+ result: PaginatedBigQueryCatalogResultList;
1658
+ }
1659
+ export interface ListCassandraCatalogsRequest {
1660
+ /** Pagination token */
1661
+ pageToken?: string | undefined;
1662
+ /** Page size or 0 for default (current maximum is 100) */
1663
+ pageSize?: number | undefined;
1664
+ }
1665
+ /** A page of results. */
1666
+ export type PaginatedCassandraCatalogResultList = Array<CassandraCatalog>;
1667
+ export interface PaginatedCassandraCatalog {
1668
+ /** The next page token to use or "" if there are no more pages. */
1669
+ nextPageToken?: string | undefined;
1670
+ /** A page of results. */
1671
+ result: PaginatedCassandraCatalogResultList;
1672
+ }
1673
+ export interface ListCatalogsRequest {
1674
+ /** Pagination token */
1675
+ pageToken?: string | undefined;
1676
+ /** Page size or 0 for default (current maximum is 100) */
1677
+ pageSize?: number | undefined;
1678
+ }
1679
+ /** Tags assigned directly to this catalog (read only) */
1680
+ export type CatalogTagsList = Array<TagName>;
1681
+ /** A catalog (read only) */
1682
+ export interface Catalog {
1683
+ /** Catalog ID (read only) */
1684
+ catalogId: string;
1685
+ /** Catalog name (read only) */
1686
+ catalogName: string;
1687
+ /** Type segment of the type-specific catalog endpoint that serves this catalog. Absent if no such endpoint exists (read only) */
1688
+ catalogType?: string | undefined;
1689
+ /** Tags assigned directly to this catalog (read only) */
1690
+ tags?: CatalogTagsList | undefined;
1691
+ }
1692
+ /** A page of results. */
1693
+ export type PaginatedCatalogResultList = Array<Catalog>;
1694
+ export interface PaginatedCatalog {
1695
+ /** The next page token to use or "" if there are no more pages. */
1696
+ nextPageToken?: string | undefined;
1697
+ /** A page of results. */
1698
+ result: PaginatedCatalogResultList;
1699
+ }
1700
+ export interface ListGcsCatalogsRequest {
1701
+ /** Pagination token */
1702
+ pageToken?: string | undefined;
1703
+ /** Page size or 0 for default (current maximum is 100) */
1704
+ pageSize?: number | undefined;
1705
+ }
1706
+ /** A page of results. */
1707
+ export type PaginatedGcsCatalogResultList = Array<GcsCatalog>;
1708
+ export interface PaginatedGcsCatalog {
1709
+ /** The next page token to use or "" if there are no more pages. */
1710
+ nextPageToken?: string | undefined;
1711
+ /** A page of results. */
1712
+ result: PaginatedGcsCatalogResultList;
1713
+ }
1714
+ export interface ListMongoDBCatalogsRequest {
1715
+ /** Pagination token */
1716
+ pageToken?: string | undefined;
1717
+ /** Page size or 0 for default (current maximum is 100) */
1718
+ pageSize?: number | undefined;
1719
+ }
1720
+ /** A page of results. */
1721
+ export type PaginatedMongoDBCatalogResultList = Array<MongoDBCatalog>;
1722
+ export interface PaginatedMongoDBCatalog {
1723
+ /** The next page token to use or "" if there are no more pages. */
1724
+ nextPageToken?: string | undefined;
1725
+ /** A page of results. */
1726
+ result: PaginatedMongoDBCatalogResultList;
1727
+ }
1728
+ export interface ListMySQLCatalogsRequest {
1729
+ /** Pagination token */
1730
+ pageToken?: string | undefined;
1731
+ /** Page size or 0 for default (current maximum is 100) */
1732
+ pageSize?: number | undefined;
1733
+ }
1734
+ /** A page of results. */
1735
+ export type PaginatedMySQLCatalogResultList = Array<MySQLCatalog>;
1736
+ export interface PaginatedMySQLCatalog {
1737
+ /** The next page token to use or "" if there are no more pages. */
1738
+ nextPageToken?: string | undefined;
1739
+ /** A page of results. */
1740
+ result: PaginatedMySQLCatalogResultList;
1741
+ }
1742
+ export interface ListOpenSearchCatalogsRequest {
1743
+ /** Pagination token */
1744
+ pageToken?: string | undefined;
1745
+ /** Page size or 0 for default (current maximum is 100) */
1746
+ pageSize?: number | undefined;
1747
+ }
1748
+ /** A page of results. */
1749
+ export type PaginatedOpenSearchCatalogResultList = Array<OpenSearchCatalog>;
1750
+ export interface PaginatedOpenSearchCatalog {
1751
+ /** The next page token to use or "" if there are no more pages. */
1752
+ nextPageToken?: string | undefined;
1753
+ /** A page of results. */
1754
+ result: PaginatedOpenSearchCatalogResultList;
1755
+ }
1756
+ export interface ListPostgresqlCatalogsRequest {
1757
+ /** Pagination token */
1758
+ pageToken?: string | undefined;
1759
+ /** Page size or 0 for default (current maximum is 100) */
1760
+ pageSize?: number | undefined;
1761
+ }
1762
+ /** A page of results. */
1763
+ export type PaginatedPostgresqlCatalogResultList = Array<PostgresqlCatalog>;
1764
+ export interface PaginatedPostgresqlCatalog {
1765
+ /** The next page token to use or "" if there are no more pages. */
1766
+ nextPageToken?: string | undefined;
1767
+ /** A page of results. */
1768
+ result: PaginatedPostgresqlCatalogResultList;
1769
+ }
1770
+ export interface ListRedshiftCatalogsRequest {
1771
+ /** Pagination token */
1772
+ pageToken?: string | undefined;
1773
+ /** Page size or 0 for default (current maximum is 100) */
1774
+ pageSize?: number | undefined;
1775
+ }
1776
+ /** A page of results. */
1777
+ export type PaginatedRedshiftCatalogResultList = Array<RedshiftCatalog>;
1778
+ export interface PaginatedRedshiftCatalog {
1779
+ /** The next page token to use or "" if there are no more pages. */
1780
+ nextPageToken?: string | undefined;
1781
+ /** A page of results. */
1782
+ result: PaginatedRedshiftCatalogResultList;
1783
+ }
1784
+ export interface ListS3CatalogsRequest {
1785
+ /** Pagination token */
1786
+ pageToken?: string | undefined;
1787
+ /** Page size or 0 for default (current maximum is 100) */
1788
+ pageSize?: number | undefined;
1789
+ }
1790
+ /** A page of results. */
1791
+ export type PaginatedS3CatalogResultList = Array<S3Catalog>;
1792
+ export interface PaginatedS3Catalog {
1793
+ /** The next page token to use or "" if there are no more pages. */
1794
+ nextPageToken?: string | undefined;
1795
+ /** A page of results. */
1796
+ result: PaginatedS3CatalogResultList;
1797
+ }
1798
+ export interface ListSnowflakeCatalogsRequest {
1799
+ /** Pagination token */
1800
+ pageToken?: string | undefined;
1801
+ /** Page size or 0 for default (current maximum is 100) */
1802
+ pageSize?: number | undefined;
1803
+ }
1804
+ /** A page of results. */
1805
+ export type PaginatedSnowflakeCatalogResultList = Array<SnowflakeCatalog>;
1806
+ export interface PaginatedSnowflakeCatalog {
1807
+ /** The next page token to use or "" if there are no more pages. */
1808
+ nextPageToken?: string | undefined;
1809
+ /** A page of results. */
1810
+ result: PaginatedSnowflakeCatalogResultList;
1811
+ }
1812
+ export interface ListSqlServerCatalogsRequest {
1813
+ /** Pagination token */
1814
+ pageToken?: string | undefined;
1815
+ /** Page size or 0 for default (current maximum is 100) */
1816
+ pageSize?: number | undefined;
1817
+ }
1818
+ /** A page of results. */
1819
+ export type PaginatedSqlServerCatalogResultList = Array<SqlServerCatalog>;
1820
+ export interface PaginatedSqlServerCatalog {
1821
+ /** The next page token to use or "" if there are no more pages. */
1822
+ nextPageToken?: string | undefined;
1823
+ /** A page of results. */
1824
+ result: PaginatedSqlServerCatalogResultList;
1825
+ }
1826
+ export interface UpdateBigQueryCatalogRequest {
1827
+ /** A catalog connecting to BigQuery */
1828
+ catalogId: string;
1829
+ /** Catalog name */
1830
+ name?: string | undefined;
1831
+ /** Catalog description */
1832
+ description?: string | undefined;
1833
+ /** Is catalog read only */
1834
+ readOnly?: boolean | undefined;
1835
+ /** Validate catalog configuration before creation */
1836
+ validate?: boolean | undefined;
1837
+ /** Base64 encoded or plain text BigQuery JSON key */
1838
+ credentialsKey?: string | Redacted.Redacted<string> | undefined;
1839
+ /** The Google Cloud Project ID. Mutually required with parentProjectId */
1840
+ projectId?: string | undefined;
1841
+ /** The Google Cloud Project ID to bill for the export. Mutually required with projectId */
1842
+ parentProjectId?: string | undefined;
1843
+ }
1844
+ export type CassandraCatalogPatchApacheCassandraConnectionDeploymentType = "apacheCassandra";
1845
+ /** Connect to Cassandra instance */
1846
+ export interface CassandraCatalogPatchApacheCassandraConnection {
1847
+ /** Catalog name */
1848
+ name?: string | undefined;
1849
+ /** Catalog description */
1850
+ description?: string | undefined;
1851
+ /** Is catalog read only */
1852
+ readOnly?: boolean | undefined;
1853
+ /** Validate catalog configuration before creation */
1854
+ validate?: boolean | undefined;
1855
+ /** Cassandra cloud kind. Defaults to AWS. */
1856
+ cloudKind?: CloudKind | (string & {}) | undefined;
1857
+ deploymentType: CassandraCatalogPatchApacheCassandraConnectionDeploymentType;
1858
+ /** Cassandra hosts */
1859
+ contactPoints?: string | undefined;
1860
+ /** Local datacenter */
1861
+ localDatacenter?: string | undefined;
1862
+ /** Cassandra port. Defaults to 9042. */
1863
+ port?: number | undefined;
1864
+ /** Cassandra username */
1865
+ username?: string | undefined;
1866
+ /** Cassandra password */
1867
+ password?: string | Redacted.Redacted<string> | undefined;
1868
+ /** SSH tunnel identifier */
1869
+ sshTunnelId?: string | undefined;
1870
+ }
1871
+ export type CassandraCatalogPatchAstraDBConnectionDeploymentType = "astraDB";
1872
+ /** Connect to AstraDB instance */
1873
+ export interface CassandraCatalogPatchAstraDBConnection {
1874
+ /** Catalog name */
1875
+ name?: string | undefined;
1876
+ /** Catalog description */
1877
+ description?: string | undefined;
1878
+ /** Is catalog read only */
1879
+ readOnly?: boolean | undefined;
1880
+ /** Validate catalog configuration before creation */
1881
+ validate?: boolean | undefined;
1882
+ /** Cassandra cloud kind. Defaults to AWS. */
1883
+ cloudKind?: CloudKind | (string & {}) | undefined;
1884
+ deploymentType: CassandraCatalogPatchAstraDBConnectionDeploymentType;
1885
+ /** AstraDB database ID */
1886
+ databaseId?: string | undefined;
1887
+ /** AstraDB region */
1888
+ region?: string | undefined;
1889
+ /** AstraDB token */
1890
+ token?: string | Redacted.Redacted<string> | undefined;
1891
+ }
1892
+ /** A catalog connecting to Cassandra, with options for integration with AstraDB */
1893
+ export type CassandraCatalogPatch = CassandraCatalogPatchApacheCassandraConnection | CassandraCatalogPatchAstraDBConnection;
1894
+ export interface UpdateCassandraCatalogRequest {
1895
+ /** A catalog connecting to Cassandra, with options for integration with AstraDB */
1896
+ catalogId: string;
1897
+ body: CassandraCatalogPatch;
1898
+ }
1899
+ export type UpdateCassandraCatalogResponse = CassandraCatalog;
1900
+ export type GcsCatalogPatchGcsGalaxyMetastoreMetastoreType = "galaxy";
1901
+ /** Store metadata in the Galaxy metastore */
1902
+ export interface GcsCatalogPatchGcsGalaxyMetastore {
1903
+ /** Catalog name */
1904
+ name?: string | undefined;
1905
+ /** Catalog description */
1906
+ description?: string | undefined;
1907
+ /** Is catalog read only */
1908
+ readOnly?: boolean | undefined;
1909
+ /** Validate catalog configuration before creation */
1910
+ validate?: boolean | undefined;
1911
+ /** Base64 encoded or plain text GCS JSON key */
1912
+ credentialsKey?: string | Redacted.Redacted<string> | undefined;
1913
+ metastoreType: GcsCatalogPatchGcsGalaxyMetastoreMetastoreType;
1914
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1915
+ defaultTableFormat?: string | undefined;
1916
+ /** Allow creating external tables. Defaults to false. */
1917
+ externalTableCreationEnabled?: boolean | undefined;
1918
+ /** Allow writing to external tables. Defaults to false. */
1919
+ externalTableWritesEnabled?: boolean | undefined;
1920
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1921
+ metadataMaxStalenessSeconds?: number | undefined;
1922
+ /** GCS bucket to use when storing data for new schemas */
1923
+ defaultBucket?: string | undefined;
1924
+ /** Default location to store data for new schemas */
1925
+ defaultDataLocation?: string | undefined;
1926
+ }
1927
+ export type GcsCatalogPatchGcsHiveMetastoreMetastoreType = "hive";
1928
+ /** Store metadata in a Hive metastore */
1929
+ export interface GcsCatalogPatchGcsHiveMetastore {
1930
+ /** Catalog name */
1931
+ name?: string | undefined;
1932
+ /** Catalog description */
1933
+ description?: string | undefined;
1934
+ /** Is catalog read only */
1935
+ readOnly?: boolean | undefined;
1936
+ /** Validate catalog configuration before creation */
1937
+ validate?: boolean | undefined;
1938
+ /** Base64 encoded or plain text GCS JSON key */
1939
+ credentialsKey?: string | Redacted.Redacted<string> | undefined;
1940
+ metastoreType: GcsCatalogPatchGcsHiveMetastoreMetastoreType;
1941
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
1942
+ defaultTableFormat?: string | undefined;
1943
+ /** Allow creating external tables. Defaults to false. */
1944
+ externalTableCreationEnabled?: boolean | undefined;
1945
+ /** Allow writing to external tables. Defaults to false. */
1946
+ externalTableWritesEnabled?: boolean | undefined;
1947
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
1948
+ metadataMaxStalenessSeconds?: number | undefined;
1949
+ /** Hive metastore host url */
1950
+ hiveMetastoreHost?: string | undefined;
1951
+ /** Hive metastore host port. Defaults to 9083. */
1952
+ hiveMetastorePort?: number | undefined;
1953
+ /** SSH tunnel identifier */
1954
+ sshTunnelId?: string | undefined;
1955
+ }
1956
+ /** A catalog connecting to GCS */
1957
+ export type GcsCatalogPatch = GcsCatalogPatchGcsGalaxyMetastore | GcsCatalogPatchGcsHiveMetastore;
1958
+ export interface UpdateGcsCatalogRequest {
1959
+ /** A catalog connecting to GCS */
1960
+ catalogId: string;
1961
+ body: GcsCatalogPatch;
1962
+ }
1963
+ export type UpdateGcsCatalogResponse = GcsCatalog;
1964
+ export type MongoDBCatalogPatchDirectMongoDBConnectionConnectionType = "direct";
1965
+ /** MongoDB regions */
1966
+ export type MongoDBCatalogPatchDirectMongoDBConnectionRegionsList = Array<string>;
1967
+ /** Connect directly to MongoDB instance */
1968
+ export interface MongoDBCatalogPatchDirectMongoDBConnection {
1969
+ /** Catalog name */
1970
+ name?: string | undefined;
1971
+ /** Catalog description */
1972
+ description?: string | undefined;
1973
+ /** Is catalog read only */
1974
+ readOnly?: boolean | undefined;
1975
+ /** Validate catalog configuration before creation */
1976
+ validate?: boolean | undefined;
1977
+ /** MongoDB cloud kind. Defaults to AWS. */
1978
+ cloudKind?: CloudKind | (string & {}) | undefined;
1979
+ connectionType: MongoDBCatalogPatchDirectMongoDBConnectionConnectionType;
1980
+ /** MongoDB regions */
1981
+ regions?: MongoDBCatalogPatchDirectMongoDBConnectionRegionsList | undefined;
1982
+ /** MongoDB username */
1983
+ username?: string | undefined;
1984
+ /** MongoDB password */
1985
+ password?: string | Redacted.Redacted<string> | undefined;
1986
+ /** Use DNS seed list (SRV). Defaults to false. */
1987
+ dnsSeedListEnabled?: boolean | undefined;
1988
+ /** Use TLS for connections. Defaults to true. */
1989
+ tlsEnabled?: boolean | undefined;
1990
+ /** Is federated database. Defaults to false. */
1991
+ federatedDatabaseEnabled?: boolean | undefined;
1992
+ /** MongoDB hosts */
1993
+ hosts?: string | undefined;
1994
+ }
1995
+ export type MongoDBCatalogPatchSshTunnelMongoDBConnectionConnectionType = "sshTunnel";
1996
+ /** MongoDB regions */
1997
+ export type MongoDBCatalogPatchSshTunnelMongoDBConnectionRegionsList = Array<string>;
1998
+ /** Connect to MongoDB via SSH Tunnel */
1999
+ export interface MongoDBCatalogPatchSshTunnelMongoDBConnection {
2000
+ /** Catalog name */
2001
+ name?: string | undefined;
2002
+ /** Catalog description */
2003
+ description?: string | undefined;
2004
+ /** Is catalog read only */
2005
+ readOnly?: boolean | undefined;
2006
+ /** Validate catalog configuration before creation */
2007
+ validate?: boolean | undefined;
2008
+ /** MongoDB cloud kind. Defaults to AWS. */
2009
+ cloudKind?: CloudKind | (string & {}) | undefined;
2010
+ connectionType: MongoDBCatalogPatchSshTunnelMongoDBConnectionConnectionType;
2011
+ /** MongoDB regions */
2012
+ regions?: MongoDBCatalogPatchSshTunnelMongoDBConnectionRegionsList | undefined;
2013
+ /** MongoDB username */
2014
+ username?: string | undefined;
2015
+ /** MongoDB password */
2016
+ password?: string | Redacted.Redacted<string> | undefined;
2017
+ /** Use DNS seed list (SRV). Defaults to false. */
2018
+ dnsSeedListEnabled?: boolean | undefined;
2019
+ /** Use TLS for connections. Defaults to true. */
2020
+ tlsEnabled?: boolean | undefined;
2021
+ /** Is federated database. Defaults to false. */
2022
+ federatedDatabaseEnabled?: boolean | undefined;
2023
+ /** SSH tunnel identifier */
2024
+ sshTunnelId?: string | undefined;
2025
+ /** MongoDB hosts */
2026
+ hosts?: string | undefined;
2027
+ }
2028
+ export type MongoDBCatalogPatchPrivateLinkMongoDBConnectionConnectionType = "privateLink";
2029
+ /** MongoDB regions */
2030
+ export type MongoDBCatalogPatchPrivateLinkMongoDBConnectionRegionsList = Array<string>;
2031
+ /** Connect to MongoDB via PrivateLink */
2032
+ export interface MongoDBCatalogPatchPrivateLinkMongoDBConnection {
2033
+ /** Catalog name */
2034
+ name?: string | undefined;
2035
+ /** Catalog description */
2036
+ description?: string | undefined;
2037
+ /** Is catalog read only */
2038
+ readOnly?: boolean | undefined;
2039
+ /** Validate catalog configuration before creation */
2040
+ validate?: boolean | undefined;
2041
+ /** MongoDB cloud kind. Defaults to AWS. */
2042
+ cloudKind?: CloudKind | (string & {}) | undefined;
2043
+ connectionType: MongoDBCatalogPatchPrivateLinkMongoDBConnectionConnectionType;
2044
+ /** MongoDB regions */
2045
+ regions?: MongoDBCatalogPatchPrivateLinkMongoDBConnectionRegionsList | undefined;
2046
+ /** MongoDB username */
2047
+ username?: string | undefined;
2048
+ /** MongoDB password */
2049
+ password?: string | Redacted.Redacted<string> | undefined;
2050
+ /** Use DNS seed list (SRV). Defaults to false. */
2051
+ dnsSeedListEnabled?: boolean | undefined;
2052
+ /** Use TLS for connections. Defaults to true. */
2053
+ tlsEnabled?: boolean | undefined;
2054
+ /** Is federated database. Defaults to false. */
2055
+ federatedDatabaseEnabled?: boolean | undefined;
2056
+ /** PrivateLink Identifier */
2057
+ privateLinkId?: string | undefined;
2058
+ }
2059
+ /** A catalog connecting to MongoDB */
2060
+ export type MongoDBCatalogPatch = MongoDBCatalogPatchDirectMongoDBConnection | MongoDBCatalogPatchSshTunnelMongoDBConnection | MongoDBCatalogPatchPrivateLinkMongoDBConnection;
2061
+ export interface UpdateMongoDBCatalogRequest {
2062
+ /** A catalog connecting to MongoDB */
2063
+ catalogId: string;
2064
+ body: MongoDBCatalogPatch;
2065
+ }
2066
+ export type UpdateMongoDBCatalogResponse = MongoDBCatalog;
2067
+ export type MySQLCatalogPatchDirectMySQLConnectionConnectionType = "direct";
2068
+ /** Connect directly to MySQL instance */
2069
+ export interface MySQLCatalogPatchDirectMySQLConnection {
2070
+ /** Catalog name */
2071
+ name?: string | undefined;
2072
+ /** Catalog description */
2073
+ description?: string | undefined;
2074
+ /** Is catalog read only */
2075
+ readOnly?: boolean | undefined;
2076
+ /** Validate catalog configuration before creation */
2077
+ validate?: boolean | undefined;
2078
+ /** MySQL cloud kind. Defaults to AWS. */
2079
+ cloudKind?: CloudKind | (string & {}) | undefined;
2080
+ connectionType: MySQLCatalogPatchDirectMySQLConnectionConnectionType;
2081
+ /** MySQL database port. Defaults to 3306. */
2082
+ port?: number | undefined;
2083
+ /** MySQL database username */
2084
+ username?: string | undefined;
2085
+ /** MySQL database password */
2086
+ password?: string | Redacted.Redacted<string> | undefined;
2087
+ /** MySQL host */
2088
+ host?: string | undefined;
2089
+ }
2090
+ export type MySQLCatalogPatchSshTunnelMySQLConnectionConnectionType = "sshTunnel";
2091
+ /** Connect to MySQL via SSH Tunnel */
2092
+ export interface MySQLCatalogPatchSshTunnelMySQLConnection {
2093
+ /** Catalog name */
2094
+ name?: string | undefined;
2095
+ /** Catalog description */
2096
+ description?: string | undefined;
2097
+ /** Is catalog read only */
2098
+ readOnly?: boolean | undefined;
2099
+ /** Validate catalog configuration before creation */
2100
+ validate?: boolean | undefined;
2101
+ /** MySQL cloud kind. Defaults to AWS. */
2102
+ cloudKind?: CloudKind | (string & {}) | undefined;
2103
+ connectionType: MySQLCatalogPatchSshTunnelMySQLConnectionConnectionType;
2104
+ /** MySQL database port. Defaults to 3306. */
2105
+ port?: number | undefined;
2106
+ /** MySQL database username */
2107
+ username?: string | undefined;
2108
+ /** MySQL database password */
2109
+ password?: string | Redacted.Redacted<string> | undefined;
2110
+ /** SSH tunnel identifier */
2111
+ sshTunnelId?: string | undefined;
2112
+ /** MySQL host */
2113
+ host?: string | undefined;
2114
+ }
2115
+ export type MySQLCatalogPatchPrivateLinkMySQLConnectionConnectionType = "privateLink";
2116
+ /** Connect to MySQL via PrivateLink */
2117
+ export interface MySQLCatalogPatchPrivateLinkMySQLConnection {
2118
+ /** Catalog name */
2119
+ name?: string | undefined;
2120
+ /** Catalog description */
2121
+ description?: string | undefined;
2122
+ /** Is catalog read only */
2123
+ readOnly?: boolean | undefined;
2124
+ /** Validate catalog configuration before creation */
2125
+ validate?: boolean | undefined;
2126
+ /** MySQL cloud kind. Defaults to AWS. */
2127
+ cloudKind?: CloudKind | (string & {}) | undefined;
2128
+ connectionType: MySQLCatalogPatchPrivateLinkMySQLConnectionConnectionType;
2129
+ /** MySQL database port. Defaults to 3306. */
2130
+ port?: number | undefined;
2131
+ /** MySQL database username */
2132
+ username?: string | undefined;
2133
+ /** MySQL database password */
2134
+ password?: string | Redacted.Redacted<string> | undefined;
2135
+ /** PrivateLink Identifier */
2136
+ privateLinkId?: string | undefined;
2137
+ }
2138
+ /** A catalog connecting to MySQL */
2139
+ export type MySQLCatalogPatch = MySQLCatalogPatchDirectMySQLConnection | MySQLCatalogPatchSshTunnelMySQLConnection | MySQLCatalogPatchPrivateLinkMySQLConnection;
2140
+ export interface UpdateMySQLCatalogRequest {
2141
+ /** A catalog connecting to MySQL */
2142
+ catalogId: string;
2143
+ body: MySQLCatalogPatch;
2144
+ }
2145
+ export type UpdateMySQLCatalogResponse = MySQLCatalog;
2146
+ export type OpenSearchCatalogPatchOpenSearchBasicAuthAuthType = "basic";
2147
+ /** Authenticate with a username and password */
2148
+ export interface OpenSearchCatalogPatchOpenSearchBasicAuth {
2149
+ /** Catalog name */
2150
+ name?: string | undefined;
2151
+ /** Catalog description */
2152
+ description?: string | undefined;
2153
+ /** Is catalog read only */
2154
+ readOnly?: boolean | undefined;
2155
+ /** Validate catalog configuration before creation */
2156
+ validate?: boolean | undefined;
2157
+ authType: OpenSearchCatalogPatchOpenSearchBasicAuthAuthType;
2158
+ /** OpenSearch cluster endpoint */
2159
+ endpoint?: string | undefined;
2160
+ /** OpenSearch cluster port. Defaults to 443. */
2161
+ port?: number | undefined;
2162
+ /** SSH tunnel identifier */
2163
+ sshTunnelId?: string | undefined;
2164
+ /** Username */
2165
+ username?: string | undefined;
2166
+ /** Password */
2167
+ password?: string | Redacted.Redacted<string> | undefined;
2168
+ }
2169
+ export type OpenSearchCatalogPatchOpenSearchAccessKeyAuthAuthType = "accessKey";
2170
+ /** Authenticate with an AWS access key and secret key pair */
2171
+ export interface OpenSearchCatalogPatchOpenSearchAccessKeyAuth {
2172
+ /** Catalog name */
2173
+ name?: string | undefined;
2174
+ /** Catalog description */
2175
+ description?: string | undefined;
2176
+ /** Is catalog read only */
2177
+ readOnly?: boolean | undefined;
2178
+ /** Validate catalog configuration before creation */
2179
+ validate?: boolean | undefined;
2180
+ authType: OpenSearchCatalogPatchOpenSearchAccessKeyAuthAuthType;
2181
+ /** OpenSearch cluster endpoint */
2182
+ endpoint?: string | undefined;
2183
+ /** OpenSearch cluster port. Defaults to 443. */
2184
+ port?: number | undefined;
2185
+ /** SSH tunnel identifier */
2186
+ sshTunnelId?: string | undefined;
2187
+ /** AWS access key */
2188
+ accessKey?: string | undefined;
2189
+ /** AWS secret key */
2190
+ secretKey?: string | Redacted.Redacted<string> | undefined;
2191
+ /** AWS region */
2192
+ region?: string | undefined;
2193
+ }
2194
+ export type OpenSearchCatalogPatchOpenSearchCrossAccountRoleAuthAuthType = "role";
2195
+ /** Authenticate with an AWS cross account role */
2196
+ export interface OpenSearchCatalogPatchOpenSearchCrossAccountRoleAuth {
2197
+ /** Catalog name */
2198
+ name?: string | undefined;
2199
+ /** Catalog description */
2200
+ description?: string | undefined;
2201
+ /** Is catalog read only */
2202
+ readOnly?: boolean | undefined;
2203
+ /** Validate catalog configuration before creation */
2204
+ validate?: boolean | undefined;
2205
+ authType: OpenSearchCatalogPatchOpenSearchCrossAccountRoleAuthAuthType;
2206
+ /** OpenSearch cluster endpoint */
2207
+ endpoint?: string | undefined;
2208
+ /** OpenSearch cluster port. Defaults to 443. */
2209
+ port?: number | undefined;
2210
+ /** SSH tunnel identifier */
2211
+ sshTunnelId?: string | undefined;
2212
+ /** AWS cross account role ARN */
2213
+ roleArn?: string | undefined;
2214
+ /** AWS region */
2215
+ region?: string | undefined;
2216
+ }
2217
+ /** A catalog connecting to OpenSearch */
2218
+ export type OpenSearchCatalogPatch = OpenSearchCatalogPatchOpenSearchBasicAuth | OpenSearchCatalogPatchOpenSearchAccessKeyAuth | OpenSearchCatalogPatchOpenSearchCrossAccountRoleAuth;
2219
+ export interface UpdateOpenSearchCatalogRequest {
2220
+ /** A catalog connecting to OpenSearch */
2221
+ catalogId: string;
2222
+ body: OpenSearchCatalogPatch;
2223
+ }
2224
+ export type UpdateOpenSearchCatalogResponse = OpenSearchCatalog;
2225
+ export interface UpdatePostgresqlCatalogRequest {
2226
+ /** A catalog connecting to PostgreSQL */
2227
+ catalogId: string;
2228
+ /** Catalog name */
2229
+ name?: string | undefined;
2230
+ /** Catalog description */
2231
+ description?: string | undefined;
2232
+ /** Is catalog read only */
2233
+ readOnly?: boolean | undefined;
2234
+ /** Validate catalog configuration before creation */
2235
+ validate?: boolean | undefined;
2236
+ /** PostgreSQL cloud kind. Defaults to AWS. */
2237
+ cloudKind?: CloudKind | (string & {}) | undefined;
2238
+ /** PostgreSQL database endpoint */
2239
+ endpoint?: string | undefined;
2240
+ /** PostgreSQL database port. Defaults to 5432. */
2241
+ port?: number | undefined;
2242
+ /** PostgreSQL database name */
2243
+ databaseName?: string | undefined;
2244
+ /** PostgreSQL database username */
2245
+ username?: string | undefined;
2246
+ /** PostgreSQL database password */
2247
+ password?: string | Redacted.Redacted<string> | undefined;
2248
+ /** Use TLS for PostgreSQL connections. Defaults to true. */
2249
+ tlsEnabled?: boolean | undefined;
2250
+ /** SSH tunnel identifier */
2251
+ sshTunnelId?: string | undefined;
2252
+ /** PrivateLink identifier */
2253
+ privateLinkId?: string | undefined;
2254
+ }
2255
+ export type RedshiftCatalogPatchBasicAuthType = "basic";
2256
+ /** Authenticate with a username and password */
2257
+ export interface RedshiftCatalogPatchBasic {
2258
+ /** Catalog name */
2259
+ name?: string | undefined;
2260
+ /** Catalog description */
2261
+ description?: string | undefined;
2262
+ /** Is catalog read only */
2263
+ readOnly?: boolean | undefined;
2264
+ /** Validate catalog configuration before creation */
2265
+ validate?: boolean | undefined;
2266
+ /** Redshift cluster endpoint */
2267
+ endpoint?: string | undefined;
2268
+ authType: RedshiftCatalogPatchBasicAuthType;
2269
+ /** SSH tunnel identifier */
2270
+ sshTunnelId?: string | undefined;
2271
+ /** Username */
2272
+ username?: string | undefined;
2273
+ /** Password */
2274
+ password?: string | Redacted.Redacted<string> | undefined;
2275
+ }
2276
+ export type RedshiftCatalogPatchAccessKeyAuthType = "accessKey";
2277
+ /** Authenticate with an AWS access key and secret key pair */
2278
+ export interface RedshiftCatalogPatchAccessKey {
2279
+ /** Catalog name */
2280
+ name?: string | undefined;
2281
+ /** Catalog description */
2282
+ description?: string | undefined;
2283
+ /** Is catalog read only */
2284
+ readOnly?: boolean | undefined;
2285
+ /** Validate catalog configuration before creation */
2286
+ validate?: boolean | undefined;
2287
+ /** Redshift cluster endpoint */
2288
+ endpoint?: string | undefined;
2289
+ authType: RedshiftCatalogPatchAccessKeyAuthType;
2290
+ /** SSH tunnel identifier */
2291
+ sshTunnelId?: string | undefined;
2292
+ /** Username */
2293
+ username?: string | undefined;
2294
+ /** AWS access key */
2295
+ accessKey?: string | undefined;
2296
+ /** AWS secret key */
2297
+ secretKey?: string | Redacted.Redacted<string> | undefined;
2298
+ /** AWS region */
2299
+ region?: string | undefined;
2300
+ }
2301
+ export type RedshiftCatalogPatchRedshiftCrossAccountRoleAuthAuthType = "role";
2302
+ /** Authenticate with an AWS cross account role */
2303
+ export interface RedshiftCatalogPatchRedshiftCrossAccountRoleAuth {
2304
+ /** Catalog name */
2305
+ name?: string | undefined;
2306
+ /** Catalog description */
2307
+ description?: string | undefined;
2308
+ /** Is catalog read only */
2309
+ readOnly?: boolean | undefined;
2310
+ /** Validate catalog configuration before creation */
2311
+ validate?: boolean | undefined;
2312
+ /** Redshift cluster endpoint */
2313
+ endpoint?: string | undefined;
2314
+ authType: RedshiftCatalogPatchRedshiftCrossAccountRoleAuthAuthType;
2315
+ /** SSH tunnel identifier */
2316
+ sshTunnelId?: string | undefined;
2317
+ /** Username */
2318
+ username?: string | undefined;
2319
+ /** AWS cross account role ARN */
2320
+ roleArn?: string | undefined;
2321
+ /** AWS region */
2322
+ region?: string | undefined;
2323
+ }
2324
+ /** A catalog connecting to AWS Redshift */
2325
+ export type RedshiftCatalogPatch = RedshiftCatalogPatchBasic | RedshiftCatalogPatchAccessKey | RedshiftCatalogPatchRedshiftCrossAccountRoleAuth;
2326
+ export interface UpdateRedshiftCatalogRequest {
2327
+ /** A catalog connecting to AWS Redshift */
2328
+ catalogId: string;
2329
+ body: RedshiftCatalogPatch;
2330
+ }
2331
+ export type UpdateRedshiftCatalogResponse = RedshiftCatalog;
2332
+ export type S3CatalogPatchGalaxyMetastoreMetastoreType = "galaxy";
2333
+ /** Store metadata in the Galaxy metastore */
2334
+ export interface S3CatalogPatchGalaxyMetastore {
2335
+ /** Catalog name */
2336
+ name?: string | undefined;
2337
+ /** Catalog description */
2338
+ description?: string | undefined;
2339
+ /** Is catalog read only */
2340
+ readOnly?: boolean | undefined;
2341
+ /** Validate catalog configuration before creation */
2342
+ validate?: boolean | undefined;
2343
+ /** AWS access key */
2344
+ accessKey?: string | undefined;
2345
+ /** AWS secret key */
2346
+ secretKey?: string | Redacted.Redacted<string> | undefined;
2347
+ /** AWS cross account role ARN */
2348
+ roleArn?: string | undefined;
2349
+ metastoreType: S3CatalogPatchGalaxyMetastoreMetastoreType;
2350
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
2351
+ defaultTableFormat?: string | undefined;
2352
+ /** Allow creating external tables. Defaults to false. */
2353
+ externalTableCreationEnabled?: boolean | undefined;
2354
+ /** Allow writing to external tables. Defaults to false. */
2355
+ externalTableWritesEnabled?: boolean | undefined;
2356
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
2357
+ metadataMaxStalenessSeconds?: number | undefined;
2358
+ /** S3 bucket to use when storing data for new schemas */
2359
+ defaultBucket?: string | undefined;
2360
+ /** Default location to store data for new schemas */
2361
+ defaultDataLocation?: string | undefined;
2362
+ }
2363
+ export type S3CatalogPatchGlueMetastoreMetastoreType = "glue";
2364
+ /** Store metadata in AWS Glue */
2365
+ export interface S3CatalogPatchGlueMetastore {
2366
+ /** Catalog name */
2367
+ name?: string | undefined;
2368
+ /** Catalog description */
2369
+ description?: string | undefined;
2370
+ /** Is catalog read only */
2371
+ readOnly?: boolean | undefined;
2372
+ /** Validate catalog configuration before creation */
2373
+ validate?: boolean | undefined;
2374
+ /** AWS access key */
2375
+ accessKey?: string | undefined;
2376
+ /** AWS secret key */
2377
+ secretKey?: string | Redacted.Redacted<string> | undefined;
2378
+ /** AWS cross account role ARN */
2379
+ roleArn?: string | undefined;
2380
+ metastoreType: S3CatalogPatchGlueMetastoreMetastoreType;
2381
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
2382
+ defaultTableFormat?: string | undefined;
2383
+ /** Allow creating external tables. Defaults to false. */
2384
+ externalTableCreationEnabled?: boolean | undefined;
2385
+ /** Allow writing to external tables. Defaults to false. */
2386
+ externalTableWritesEnabled?: boolean | undefined;
2387
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
2388
+ metadataMaxStalenessSeconds?: number | undefined;
2389
+ /** AWS region */
2390
+ region?: string | undefined;
2391
+ /** S3 bucket to use when storing data for new schemas */
2392
+ defaultBucket?: string | undefined;
2393
+ /** Default location to store data for new schemas */
2394
+ defaultDataLocation?: string | undefined;
2395
+ /** AWS access key for AWS Glue access */
2396
+ glueAccessKey?: string | undefined;
2397
+ /** AWS secret key for AWS Glue access */
2398
+ glueSecretKey?: string | Redacted.Redacted<string> | undefined;
2399
+ /** AWS cross account role for AWS Glue access */
2400
+ glueRoleArn?: string | undefined;
2401
+ }
2402
+ export type S3CatalogPatchHiveMetastoreMetastoreType = "hive";
2403
+ /** Store metadata in a Hive metastore */
2404
+ export interface S3CatalogPatchHiveMetastore {
2405
+ /** Catalog name */
2406
+ name?: string | undefined;
2407
+ /** Catalog description */
2408
+ description?: string | undefined;
2409
+ /** Is catalog read only */
2410
+ readOnly?: boolean | undefined;
2411
+ /** Validate catalog configuration before creation */
2412
+ validate?: boolean | undefined;
2413
+ /** AWS access key */
2414
+ accessKey?: string | undefined;
2415
+ /** AWS secret key */
2416
+ secretKey?: string | Redacted.Redacted<string> | undefined;
2417
+ /** AWS cross account role ARN */
2418
+ roleArn?: string | undefined;
2419
+ metastoreType: S3CatalogPatchHiveMetastoreMetastoreType;
2420
+ /** Default table format for new tables: ICEBERG, DELTA, or HIVE. Defaults to ICEBERG. */
2421
+ defaultTableFormat?: string | undefined;
2422
+ /** Allow creating external tables. Defaults to false. */
2423
+ externalTableCreationEnabled?: boolean | undefined;
2424
+ /** Allow writing to external tables. Defaults to false. */
2425
+ externalTableWritesEnabled?: boolean | undefined;
2426
+ /** Maximum metadata staleness in seconds (30, 60, 90, or 120) */
2427
+ metadataMaxStalenessSeconds?: number | undefined;
2428
+ /** Hive metastore host url */
2429
+ hiveMetastoreHost?: string | undefined;
2430
+ /** Hive metastore host port. Defaults to 9083. */
2431
+ hiveMetastorePort?: number | undefined;
2432
+ /** SSH tunnel identifier */
2433
+ sshTunnelId?: string | undefined;
2434
+ }
2435
+ /** A catalog connecting to S3 */
2436
+ export type S3CatalogPatch = S3CatalogPatchGalaxyMetastore | S3CatalogPatchGlueMetastore | S3CatalogPatchHiveMetastore;
2437
+ export interface UpdateS3CatalogRequest {
2438
+ /** A catalog connecting to S3 */
2439
+ catalogId: string;
2440
+ body: S3CatalogPatch;
2441
+ }
2442
+ export type UpdateS3CatalogResponse = S3Catalog;
2443
+ export interface UpdateSnowflakeCatalogRequest {
2444
+ /** A catalog connecting to Snowflake */
2445
+ catalogId: string;
2446
+ /** Catalog name */
2447
+ name?: string | undefined;
2448
+ /** Catalog description */
2449
+ description?: string | undefined;
2450
+ /** Is catalog read only */
2451
+ readOnly?: boolean | undefined;
2452
+ /** Validate catalog configuration before creation */
2453
+ validate?: boolean | undefined;
2454
+ /** Snowflake cloud kind. Defaults to AWS. */
2455
+ cloudKind?: CloudKind | (string & {}) | undefined;
2456
+ /** Snowflake account identifier */
2457
+ accountIdentifier?: string | undefined;
2458
+ /** Snowflake database name */
2459
+ databaseName?: string | undefined;
2460
+ /** Snowflake username */
2461
+ username?: string | undefined;
2462
+ /** Snowflake password */
2463
+ password?: string | Redacted.Redacted<string> | undefined;
2464
+ /** Base64 encoded or plain text PEM Snowflake private key */
2465
+ privateKey?: string | Redacted.Redacted<string> | undefined;
2466
+ /** Snowflake private key passphrase */
2467
+ privateKeyPassphrase?: string | Redacted.Redacted<string> | undefined;
2468
+ /** Snowflake authentication type */
2469
+ authenticationType?: string | undefined;
2470
+ /** Snowflake warehouse name */
2471
+ warehouse?: string | undefined;
2472
+ /** Snowflake role */
2473
+ role?: string | undefined;
2474
+ }
2475
+ export interface UpdateSqlServerCatalogRequest {
2476
+ /** A catalog connecting to SQL Server */
2477
+ catalogId: string;
2478
+ /** Catalog name */
2479
+ name?: string | undefined;
2480
+ /** Catalog description */
2481
+ description?: string | undefined;
2482
+ /** Is catalog read only */
2483
+ readOnly?: boolean | undefined;
2484
+ /** Validate catalog configuration before creation */
2485
+ validate?: boolean | undefined;
2486
+ /** SQL Server cloud kind. Defaults to AWS. */
2487
+ cloudKind?: CloudKind | (string & {}) | undefined;
2488
+ /** SQL Server database endpoint */
2489
+ endpoint?: string | undefined;
2490
+ /** SQL Server database port. Defaults to 1433. */
2491
+ port?: number | undefined;
2492
+ /** SQL Server database name */
2493
+ databaseName?: string | undefined;
2494
+ /** SQL Server database username */
2495
+ username?: string | undefined;
2496
+ /** SQL Server database password */
2497
+ password?: string | Redacted.Redacted<string> | undefined;
2498
+ /** SSH tunnel identifier */
2499
+ sshTunnelId?: string | undefined;
2500
+ /** PrivateLink identifier */
2501
+ privateLinkId?: string | undefined;
2502
+ }
2503
+ export interface ValidateBigQueryCatalogRequest {
2504
+ /** A catalog connecting to BigQuery */
2505
+ catalogId: string;
2506
+ }
2507
+ /** Errors found in the validation process (read only) */
2508
+ export type ValidateErrorMessagesList = Array<string>;
2509
+ /** Warnings found in the validation process (read only) */
2510
+ export type ValidateWarningMessagesList = Array<string>;
2511
+ /** Additional information found in the validation process (read only) */
2512
+ export type ValidateInfoMessagesList = Array<string>;
2513
+ /** Results of running validation on a catalog (read only) */
2514
+ export interface Validate {
2515
+ /** Is the catalog readable (read only) */
2516
+ validationSuccessful: boolean;
2517
+ /** Errors found in the validation process (read only) */
2518
+ errorMessages: ValidateErrorMessagesList;
2519
+ /** Warnings found in the validation process (read only) */
2520
+ warningMessages: ValidateWarningMessagesList;
2521
+ /** Additional information found in the validation process (read only) */
2522
+ infoMessages: ValidateInfoMessagesList;
2523
+ }
2524
+ export interface ValidateCassandraCatalogRequest {
2525
+ /** A catalog connecting to Cassandra, with options for integration with AstraDB */
2526
+ catalogId: string;
2527
+ }
2528
+ export interface ValidateGcsCatalogRequest {
2529
+ /** A catalog connecting to GCS */
2530
+ catalogId: string;
2531
+ }
2532
+ export interface ValidateMongoDBCatalogRequest {
2533
+ /** A catalog connecting to MongoDB */
2534
+ catalogId: string;
2535
+ }
2536
+ export interface ValidateMySQLCatalogRequest {
2537
+ /** A catalog connecting to MySQL */
2538
+ catalogId: string;
2539
+ }
2540
+ export interface ValidateOpenSearchCatalogRequest {
2541
+ /** A catalog connecting to OpenSearch */
2542
+ catalogId: string;
2543
+ }
2544
+ export interface ValidatePostgresqlCatalogRequest {
2545
+ /** A catalog connecting to PostgreSQL */
2546
+ catalogId: string;
2547
+ }
2548
+ export interface ValidateRedshiftCatalogRequest {
2549
+ /** A catalog connecting to AWS Redshift */
2550
+ catalogId: string;
2551
+ }
2552
+ export interface ValidateS3CatalogRequest {
2553
+ /** A catalog connecting to S3 */
2554
+ catalogId: string;
2555
+ }
2556
+ export interface ValidateSnowflakeCatalogRequest {
2557
+ /** A catalog connecting to Snowflake */
2558
+ catalogId: string;
2559
+ }
2560
+ export interface ValidateSqlServerCatalogRequest {
2561
+ /** A catalog connecting to SQL Server */
2562
+ catalogId: string;
2563
+ }
2564
+ /** Any fields/values that are invalid or incorrect */
2565
+ export type BadRequestFieldsList = Array<string>;
2566
+ /** Invalid request */
2567
+ export interface BadRequest2 {
2568
+ /** Description of the error */
2569
+ message?: string | undefined;
2570
+ /** Any fields/values that are invalid or incorrect */
2571
+ fields?: BadRequestFieldsList | undefined;
2572
+ }
2573
+ /** Already exists */
2574
+ export interface Exists {
2575
+ message?: string | undefined;
2576
+ }
2577
+ /** Authorization failed */
2578
+ export type Forbidden2 = Exists;
2579
+ /** Any fields/values that weren't found */
2580
+ export type NotFoundFieldsList = Array<string>;
2581
+ /** A resource or required component was not found */
2582
+ export interface NotFound2 {
2583
+ /** Name of the resource */
2584
+ message: string;
2585
+ /** Violation description */
2586
+ description?: string | undefined;
2587
+ /** Any fields/values that weren't found */
2588
+ fields?: NotFoundFieldsList | undefined;
2589
+ }
2590
+ export type CreateBigQueryCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2591
+ /** Create a BigQuery catalog */
2592
+ export declare const createBigQueryCatalog: API.OperationMethod<CreateBigQueryCatalogRequest, BigQueryCatalog, CreateBigQueryCatalogError, StarburstGalaxyOpContext>;
2593
+ export type CreateCassandraCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2594
+ /** Create a Cassandra catalog */
2595
+ export declare const createCassandraCatalog: API.OperationMethod<CreateCassandraCatalogRequest2, CreateCassandraCatalogResponse, CreateCassandraCatalogError, StarburstGalaxyOpContext>;
2596
+ export type CreateGcsCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2597
+ /** Create a GCS catalog */
2598
+ export declare const createGcsCatalog: API.OperationMethod<CreateGcsCatalogRequest2, CreateGcsCatalogResponse, CreateGcsCatalogError, StarburstGalaxyOpContext>;
2599
+ export type CreateMongoDBCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2600
+ /** Create a MongoDB catalog */
2601
+ export declare const createMongoDBCatalog: API.OperationMethod<CreateMongoDBCatalogRequest2, CreateMongoDBCatalogResponse, CreateMongoDBCatalogError, StarburstGalaxyOpContext>;
2602
+ export type CreateMySQLCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2603
+ /** Create a MySQL catalog */
2604
+ export declare const createMySQLCatalog: API.OperationMethod<CreateMySQLCatalogRequest2, CreateMySQLCatalogResponse, CreateMySQLCatalogError, StarburstGalaxyOpContext>;
2605
+ export type CreateOpenSearchCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2606
+ /** Create a OpenSearch catalog */
2607
+ export declare const createOpenSearchCatalog: API.OperationMethod<CreateOpenSearchCatalogRequest2, CreateOpenSearchCatalogResponse, CreateOpenSearchCatalogError, StarburstGalaxyOpContext>;
2608
+ export type CreatePostgresqlCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2609
+ /** Create a PostgreSQL catalog */
2610
+ export declare const createPostgresqlCatalog: API.OperationMethod<CreatePostgresqlCatalogRequest, PostgresqlCatalog, CreatePostgresqlCatalogError, StarburstGalaxyOpContext>;
2611
+ export type CreateRedshiftCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2612
+ /** Create a Redshift catalog */
2613
+ export declare const createRedshiftCatalog: API.OperationMethod<CreateRedshiftCatalogRequest2, CreateRedshiftCatalogResponse, CreateRedshiftCatalogError, StarburstGalaxyOpContext>;
2614
+ export type CreateS3CatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2615
+ /** Create an S3 catalog */
2616
+ export declare const createS3Catalog: API.OperationMethod<CreateS3CatalogRequest2, CreateS3CatalogResponse, CreateS3CatalogError, StarburstGalaxyOpContext>;
2617
+ export type CreateSnowflakeCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2618
+ /** Create a Snowflake catalog */
2619
+ export declare const createSnowflakeCatalog: API.OperationMethod<CreateSnowflakeCatalogRequest, SnowflakeCatalog, CreateSnowflakeCatalogError, StarburstGalaxyOpContext>;
2620
+ export type CreateSqlServerCatalogError = BadRequest | Forbidden | Conflict | StarburstGalaxyOpError;
2621
+ /** Create a SQL Server catalog */
2622
+ export declare const createSqlServerCatalog: API.OperationMethod<CreateSqlServerCatalogRequest, SqlServerCatalog, CreateSqlServerCatalogError, StarburstGalaxyOpContext>;
2623
+ export type DeleteBigQueryCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2624
+ /** Delete a BigQuery catalog */
2625
+ export declare const deleteBigQueryCatalog: API.OperationMethod<DeleteBigQueryCatalogRequest, DeleteBigQueryCatalogResponse, DeleteBigQueryCatalogError, StarburstGalaxyOpContext>;
2626
+ export type DeleteCassandraCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2627
+ /** Delete a Cassandra catalog */
2628
+ export declare const deleteCassandraCatalog: API.OperationMethod<DeleteCassandraCatalogRequest, DeleteCassandraCatalogResponse, DeleteCassandraCatalogError, StarburstGalaxyOpContext>;
2629
+ export type DeleteGcsCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2630
+ /** Delete a GCS catalog */
2631
+ export declare const deleteGcsCatalog: API.OperationMethod<DeleteGcsCatalogRequest, DeleteGcsCatalogResponse, DeleteGcsCatalogError, StarburstGalaxyOpContext>;
2632
+ export type DeleteMongoDBCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2633
+ /** Delete a MongoDB catalog */
2634
+ export declare const deleteMongoDBCatalog: API.OperationMethod<DeleteMongoDBCatalogRequest, DeleteMongoDBCatalogResponse, DeleteMongoDBCatalogError, StarburstGalaxyOpContext>;
2635
+ export type DeleteMySQLCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2636
+ /** Delete a MySQL catalog */
2637
+ export declare const deleteMySQLCatalog: API.OperationMethod<DeleteMySQLCatalogRequest, DeleteMySQLCatalogResponse, DeleteMySQLCatalogError, StarburstGalaxyOpContext>;
2638
+ export type DeleteOpenSearchCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2639
+ /** Delete a OpenSearch catalog */
2640
+ export declare const deleteOpenSearchCatalog: API.OperationMethod<DeleteOpenSearchCatalogRequest, DeleteOpenSearchCatalogResponse, DeleteOpenSearchCatalogError, StarburstGalaxyOpContext>;
2641
+ export type DeletePostgresqlCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2642
+ /** Delete a PostgreSQL catalog */
2643
+ export declare const deletePostgresqlCatalog: API.OperationMethod<DeletePostgresqlCatalogRequest, DeletePostgresqlCatalogResponse, DeletePostgresqlCatalogError, StarburstGalaxyOpContext>;
2644
+ export type DeleteRedshiftCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2645
+ /** Delete a Redshift catalog */
2646
+ export declare const deleteRedshiftCatalog: API.OperationMethod<DeleteRedshiftCatalogRequest, DeleteRedshiftCatalogResponse, DeleteRedshiftCatalogError, StarburstGalaxyOpContext>;
2647
+ export type DeleteS3CatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2648
+ /** Delete an S3 catalog */
2649
+ export declare const deleteS3Catalog: API.OperationMethod<DeleteS3CatalogRequest, DeleteS3CatalogResponse, DeleteS3CatalogError, StarburstGalaxyOpContext>;
2650
+ export type DeleteSnowflakeCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2651
+ /** Delete a Snowflake catalog */
2652
+ export declare const deleteSnowflakeCatalog: API.OperationMethod<DeleteSnowflakeCatalogRequest, DeleteSnowflakeCatalogResponse, DeleteSnowflakeCatalogError, StarburstGalaxyOpContext>;
2653
+ export type DeleteSqlServerCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2654
+ /** Delete a SQL Server catalog */
2655
+ export declare const deleteSqlServerCatalog: API.OperationMethod<DeleteSqlServerCatalogRequest, DeleteSqlServerCatalogResponse, DeleteSqlServerCatalogError, StarburstGalaxyOpContext>;
2656
+ export type GetBigQueryCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2657
+ /** Get a BigQuery catalog by id */
2658
+ export declare const getBigQueryCatalog: API.OperationMethod<GetBigQueryCatalogRequest, BigQueryCatalog, GetBigQueryCatalogError, StarburstGalaxyOpContext>;
2659
+ export type GetCassandraCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2660
+ /** Get a Cassandra catalog by id */
2661
+ export declare const getCassandraCatalog: API.OperationMethod<GetCassandraCatalogRequest, GetCassandraCatalogResponse, GetCassandraCatalogError, StarburstGalaxyOpContext>;
2662
+ export type GetGcsCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2663
+ /** Get a GCS catalog by id */
2664
+ export declare const getGcsCatalog: API.OperationMethod<GetGcsCatalogRequest, GetGcsCatalogResponse, GetGcsCatalogError, StarburstGalaxyOpContext>;
2665
+ export type GetMongoDBCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2666
+ /** Get a MongoDB catalog by id */
2667
+ export declare const getMongoDBCatalog: API.OperationMethod<GetMongoDBCatalogRequest, GetMongoDBCatalogResponse, GetMongoDBCatalogError, StarburstGalaxyOpContext>;
2668
+ export type GetMySQLCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2669
+ /** Get a MySQL catalog by id */
2670
+ export declare const getMySQLCatalog: API.OperationMethod<GetMySQLCatalogRequest, GetMySQLCatalogResponse, GetMySQLCatalogError, StarburstGalaxyOpContext>;
2671
+ export type GetOpenSearchCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2672
+ /** Get a OpenSearch catalog by id */
2673
+ export declare const getOpenSearchCatalog: API.OperationMethod<GetOpenSearchCatalogRequest, GetOpenSearchCatalogResponse, GetOpenSearchCatalogError, StarburstGalaxyOpContext>;
2674
+ export type GetPostgresqlCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2675
+ /** Get a PostgreSQL catalog by id */
2676
+ export declare const getPostgresqlCatalog: API.OperationMethod<GetPostgresqlCatalogRequest, PostgresqlCatalog, GetPostgresqlCatalogError, StarburstGalaxyOpContext>;
2677
+ export type GetRedshiftCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2678
+ /** Get a Redshift catalog by id */
2679
+ export declare const getRedshiftCatalog: API.OperationMethod<GetRedshiftCatalogRequest, GetRedshiftCatalogResponse, GetRedshiftCatalogError, StarburstGalaxyOpContext>;
2680
+ export type GetS3CatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2681
+ /** Get an S3 catalog by id */
2682
+ export declare const getS3Catalog: API.OperationMethod<GetS3CatalogRequest, GetS3CatalogResponse, GetS3CatalogError, StarburstGalaxyOpContext>;
2683
+ export type GetSnowflakeCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2684
+ /** Get a Snowflake catalog by id */
2685
+ export declare const getSnowflakeCatalog: API.OperationMethod<GetSnowflakeCatalogRequest, SnowflakeCatalog, GetSnowflakeCatalogError, StarburstGalaxyOpContext>;
2686
+ export type GetSqlServerCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2687
+ /** Get a SQL Server catalog by id */
2688
+ export declare const getSqlServerCatalog: API.OperationMethod<GetSqlServerCatalogRequest, SqlServerCatalog, GetSqlServerCatalogError, StarburstGalaxyOpContext>;
2689
+ export type ListBigQueryCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2690
+ /** List an account's BigQuery catalogs */
2691
+ export declare const listBigQueryCatalogs: API.PaginatedOperationMethod<ListBigQueryCatalogsRequest, PaginatedBigQueryCatalog, ListBigQueryCatalogsError, StarburstGalaxyOpContext, BigQueryCatalog>;
2692
+ export type ListCassandraCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2693
+ /** List an account's Cassandra catalogs */
2694
+ export declare const listCassandraCatalogs: API.PaginatedOperationMethod<ListCassandraCatalogsRequest, PaginatedCassandraCatalog, ListCassandraCatalogsError, StarburstGalaxyOpContext, CassandraCatalog>;
2695
+ export type ListCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2696
+ /** List an account's catalog identifiers */
2697
+ export declare const listCatalogs: API.PaginatedOperationMethod<ListCatalogsRequest, PaginatedCatalog, ListCatalogsError, StarburstGalaxyOpContext, Catalog>;
2698
+ export type ListGcsCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2699
+ /** List an account's GCS catalogs */
2700
+ export declare const listGcsCatalogs: API.PaginatedOperationMethod<ListGcsCatalogsRequest, PaginatedGcsCatalog, ListGcsCatalogsError, StarburstGalaxyOpContext, GcsCatalog>;
2701
+ export type ListMongoDBCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2702
+ /** List an account's MongoDB catalogs */
2703
+ export declare const listMongoDBCatalogs: API.PaginatedOperationMethod<ListMongoDBCatalogsRequest, PaginatedMongoDBCatalog, ListMongoDBCatalogsError, StarburstGalaxyOpContext, MongoDBCatalog>;
2704
+ export type ListMySQLCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2705
+ /** List an account's MySQL catalogs */
2706
+ export declare const listMySQLCatalogs: API.PaginatedOperationMethod<ListMySQLCatalogsRequest, PaginatedMySQLCatalog, ListMySQLCatalogsError, StarburstGalaxyOpContext, MySQLCatalog>;
2707
+ export type ListOpenSearchCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2708
+ /** List an account's OpenSearch catalogs */
2709
+ export declare const listOpenSearchCatalogs: API.PaginatedOperationMethod<ListOpenSearchCatalogsRequest, PaginatedOpenSearchCatalog, ListOpenSearchCatalogsError, StarburstGalaxyOpContext, OpenSearchCatalog>;
2710
+ export type ListPostgresqlCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2711
+ /** List an account's PostgreSQL catalogs */
2712
+ export declare const listPostgresqlCatalogs: API.PaginatedOperationMethod<ListPostgresqlCatalogsRequest, PaginatedPostgresqlCatalog, ListPostgresqlCatalogsError, StarburstGalaxyOpContext, PostgresqlCatalog>;
2713
+ export type ListRedshiftCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2714
+ /** List an account's Redshift catalogs */
2715
+ export declare const listRedshiftCatalogs: API.PaginatedOperationMethod<ListRedshiftCatalogsRequest, PaginatedRedshiftCatalog, ListRedshiftCatalogsError, StarburstGalaxyOpContext, RedshiftCatalog>;
2716
+ export type ListS3CatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2717
+ /** List an account's S3 catalogs */
2718
+ export declare const listS3Catalogs: API.PaginatedOperationMethod<ListS3CatalogsRequest, PaginatedS3Catalog, ListS3CatalogsError, StarburstGalaxyOpContext, S3Catalog>;
2719
+ export type ListSnowflakeCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2720
+ /** List an account's Snowflake catalogs */
2721
+ export declare const listSnowflakeCatalogs: API.PaginatedOperationMethod<ListSnowflakeCatalogsRequest, PaginatedSnowflakeCatalog, ListSnowflakeCatalogsError, StarburstGalaxyOpContext, SnowflakeCatalog>;
2722
+ export type ListSqlServerCatalogsError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2723
+ /** List an account's SQL Server catalogs */
2724
+ export declare const listSqlServerCatalogs: API.PaginatedOperationMethod<ListSqlServerCatalogsRequest, PaginatedSqlServerCatalog, ListSqlServerCatalogsError, StarburstGalaxyOpContext, SqlServerCatalog>;
2725
+ export type UpdateBigQueryCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2726
+ /** Update a BigQuery catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2727
+ export declare const updateBigQueryCatalog: API.OperationMethod<UpdateBigQueryCatalogRequest, BigQueryCatalog, UpdateBigQueryCatalogError, StarburstGalaxyOpContext>;
2728
+ export type UpdateCassandraCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2729
+ /** Update a Cassandra catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2730
+ export declare const updateCassandraCatalog: API.OperationMethod<UpdateCassandraCatalogRequest, UpdateCassandraCatalogResponse, UpdateCassandraCatalogError, StarburstGalaxyOpContext>;
2731
+ export type UpdateGcsCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2732
+ /** Update a GCS catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2733
+ export declare const updateGcsCatalog: API.OperationMethod<UpdateGcsCatalogRequest, UpdateGcsCatalogResponse, UpdateGcsCatalogError, StarburstGalaxyOpContext>;
2734
+ export type UpdateMongoDBCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2735
+ /** Update a MongoDB catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2736
+ export declare const updateMongoDBCatalog: API.OperationMethod<UpdateMongoDBCatalogRequest, UpdateMongoDBCatalogResponse, UpdateMongoDBCatalogError, StarburstGalaxyOpContext>;
2737
+ export type UpdateMySQLCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2738
+ /** Update a MySQL catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2739
+ export declare const updateMySQLCatalog: API.OperationMethod<UpdateMySQLCatalogRequest, UpdateMySQLCatalogResponse, UpdateMySQLCatalogError, StarburstGalaxyOpContext>;
2740
+ export type UpdateOpenSearchCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2741
+ /** Update a OpenSearch catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2742
+ export declare const updateOpenSearchCatalog: API.OperationMethod<UpdateOpenSearchCatalogRequest, UpdateOpenSearchCatalogResponse, UpdateOpenSearchCatalogError, StarburstGalaxyOpContext>;
2743
+ export type UpdatePostgresqlCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2744
+ /** Update a PostgreSQL catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2745
+ export declare const updatePostgresqlCatalog: API.OperationMethod<UpdatePostgresqlCatalogRequest, PostgresqlCatalog, UpdatePostgresqlCatalogError, StarburstGalaxyOpContext>;
2746
+ export type UpdateRedshiftCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2747
+ /** Update a Redshift catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2748
+ export declare const updateRedshiftCatalog: API.OperationMethod<UpdateRedshiftCatalogRequest, UpdateRedshiftCatalogResponse, UpdateRedshiftCatalogError, StarburstGalaxyOpContext>;
2749
+ export type UpdateS3CatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2750
+ /** Update an S3 catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2751
+ export declare const updateS3Catalog: API.OperationMethod<UpdateS3CatalogRequest, UpdateS3CatalogResponse, UpdateS3CatalogError, StarburstGalaxyOpContext>;
2752
+ export type UpdateSnowflakeCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2753
+ /** Update a Snowflake catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2754
+ export declare const updateSnowflakeCatalog: API.OperationMethod<UpdateSnowflakeCatalogRequest, SnowflakeCatalog, UpdateSnowflakeCatalogError, StarburstGalaxyOpContext>;
2755
+ export type UpdateSqlServerCatalogError = BadRequest | Forbidden | NotFound | Conflict | StarburstGalaxyOpError;
2756
+ /** Update a SQL Server catalog Only include fields you wish to update. Missing or unrecognized fields are ignored. */
2757
+ export declare const updateSqlServerCatalog: API.OperationMethod<UpdateSqlServerCatalogRequest, SqlServerCatalog, UpdateSqlServerCatalogError, StarburstGalaxyOpContext>;
2758
+ export type ValidateBigQueryCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2759
+ /** Test and validate a BigQuery catalog */
2760
+ export declare const validateBigQueryCatalog: API.OperationMethod<ValidateBigQueryCatalogRequest, Validate, ValidateBigQueryCatalogError, StarburstGalaxyOpContext>;
2761
+ export type ValidateCassandraCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2762
+ /** Test and validate a Cassandra catalog */
2763
+ export declare const validateCassandraCatalog: API.OperationMethod<ValidateCassandraCatalogRequest, Validate, ValidateCassandraCatalogError, StarburstGalaxyOpContext>;
2764
+ export type ValidateGcsCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2765
+ /** Test and validate a GCS catalog */
2766
+ export declare const validateGcsCatalog: API.OperationMethod<ValidateGcsCatalogRequest, Validate, ValidateGcsCatalogError, StarburstGalaxyOpContext>;
2767
+ export type ValidateMongoDBCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2768
+ /** Test and validate a MongoDB catalog */
2769
+ export declare const validateMongoDBCatalog: API.OperationMethod<ValidateMongoDBCatalogRequest, Validate, ValidateMongoDBCatalogError, StarburstGalaxyOpContext>;
2770
+ export type ValidateMySQLCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2771
+ /** Test and validate a MySQL catalog */
2772
+ export declare const validateMySQLCatalog: API.OperationMethod<ValidateMySQLCatalogRequest, Validate, ValidateMySQLCatalogError, StarburstGalaxyOpContext>;
2773
+ export type ValidateOpenSearchCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2774
+ /** Test and validate a OpenSearch catalog */
2775
+ export declare const validateOpenSearchCatalog: API.OperationMethod<ValidateOpenSearchCatalogRequest, Validate, ValidateOpenSearchCatalogError, StarburstGalaxyOpContext>;
2776
+ export type ValidatePostgresqlCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2777
+ /** Test and validate a PostgreSQL catalog */
2778
+ export declare const validatePostgresqlCatalog: API.OperationMethod<ValidatePostgresqlCatalogRequest, Validate, ValidatePostgresqlCatalogError, StarburstGalaxyOpContext>;
2779
+ export type ValidateRedshiftCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2780
+ /** Test and validate a Redshift catalog */
2781
+ export declare const validateRedshiftCatalog: API.OperationMethod<ValidateRedshiftCatalogRequest, Validate, ValidateRedshiftCatalogError, StarburstGalaxyOpContext>;
2782
+ export type ValidateS3CatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2783
+ /** Test and validate an S3 catalog */
2784
+ export declare const validateS3Catalog: API.OperationMethod<ValidateS3CatalogRequest, Validate, ValidateS3CatalogError, StarburstGalaxyOpContext>;
2785
+ export type ValidateSnowflakeCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2786
+ /** Test and validate a Snowflake catalog */
2787
+ export declare const validateSnowflakeCatalog: API.OperationMethod<ValidateSnowflakeCatalogRequest, Validate, ValidateSnowflakeCatalogError, StarburstGalaxyOpContext>;
2788
+ export type ValidateSqlServerCatalogError = BadRequest | Forbidden | NotFound | StarburstGalaxyOpError;
2789
+ /** Test and validate a SQL Server catalog */
2790
+ export declare const validateSqlServerCatalog: API.OperationMethod<ValidateSqlServerCatalogRequest, Validate, ValidateSqlServerCatalogError, StarburstGalaxyOpContext>;
2791
+ //# sourceMappingURL=catalog.d.ts.map