@aws-sdk/client-glue 3.301.0 → 3.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,21 +3,31 @@ import { GlueServiceException as __BaseException } from "./GlueServiceException"
3
3
  import { Action, AuditContext, Blueprint, Column, Compatibility, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, DatabaseIdentifier, DataFormat, DataQualityRuleResult, DataQualityTargetTable, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, GlueTable, JobRun, Partition, PartitionIndex, PartitionValueList, PhysicalConnectionRequirements, Predicate, PrincipalPermissions, RegistryId, SchemaId, StorageDescriptor, TaskStatusType, TransformEncryption, TransformParameters, TransformType, Trigger, TriggerType, WorkerType, Workflow, WorkflowRun } from "./models_0";
4
4
  /**
5
5
  * @public
6
+ * @enum
6
7
  */
7
- export declare enum SchemaStatus {
8
- AVAILABLE = "AVAILABLE",
9
- DELETING = "DELETING",
10
- PENDING = "PENDING"
11
- }
8
+ export declare const SchemaStatus: {
9
+ readonly AVAILABLE: "AVAILABLE";
10
+ readonly DELETING: "DELETING";
11
+ readonly PENDING: "PENDING";
12
+ };
12
13
  /**
13
14
  * @public
14
15
  */
15
- export declare enum SchemaVersionStatus {
16
- AVAILABLE = "AVAILABLE",
17
- DELETING = "DELETING",
18
- FAILURE = "FAILURE",
19
- PENDING = "PENDING"
20
- }
16
+ export type SchemaStatus = (typeof SchemaStatus)[keyof typeof SchemaStatus];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const SchemaVersionStatus: {
22
+ readonly AVAILABLE: "AVAILABLE";
23
+ readonly DELETING: "DELETING";
24
+ readonly FAILURE: "FAILURE";
25
+ readonly PENDING: "PENDING";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type SchemaVersionStatus = (typeof SchemaVersionStatus)[keyof typeof SchemaVersionStatus];
21
31
  /**
22
32
  * @public
23
33
  */
@@ -139,11 +149,16 @@ export interface CodeGenNode {
139
149
  }
140
150
  /**
141
151
  * @public
152
+ * @enum
142
153
  */
143
- export declare enum Language {
144
- PYTHON = "PYTHON",
145
- SCALA = "SCALA"
146
- }
154
+ export declare const Language: {
155
+ readonly PYTHON: "PYTHON";
156
+ readonly SCALA: "SCALA";
157
+ };
158
+ /**
159
+ * @public
160
+ */
161
+ export type Language = (typeof Language)[keyof typeof Language];
147
162
  /**
148
163
  * @public
149
164
  */
@@ -176,11 +191,16 @@ export interface CreateScriptResponse {
176
191
  }
177
192
  /**
178
193
  * @public
194
+ * @enum
179
195
  */
180
- export declare enum CloudWatchEncryptionMode {
181
- DISABLED = "DISABLED",
182
- SSEKMS = "SSE-KMS"
183
- }
196
+ export declare const CloudWatchEncryptionMode: {
197
+ readonly DISABLED: "DISABLED";
198
+ readonly SSEKMS: "SSE-KMS";
199
+ };
200
+ /**
201
+ * @public
202
+ */
203
+ export type CloudWatchEncryptionMode = (typeof CloudWatchEncryptionMode)[keyof typeof CloudWatchEncryptionMode];
184
204
  /**
185
205
  * @public
186
206
  * <p>Specifies how Amazon CloudWatch data should be encrypted.</p>
@@ -197,11 +217,16 @@ export interface CloudWatchEncryption {
197
217
  }
198
218
  /**
199
219
  * @public
220
+ * @enum
200
221
  */
201
- export declare enum JobBookmarksEncryptionMode {
202
- CSEKMS = "CSE-KMS",
203
- DISABLED = "DISABLED"
204
- }
222
+ export declare const JobBookmarksEncryptionMode: {
223
+ readonly CSEKMS: "CSE-KMS";
224
+ readonly DISABLED: "DISABLED";
225
+ };
226
+ /**
227
+ * @public
228
+ */
229
+ export type JobBookmarksEncryptionMode = (typeof JobBookmarksEncryptionMode)[keyof typeof JobBookmarksEncryptionMode];
205
230
  /**
206
231
  * @public
207
232
  * <p>Specifies how job bookmark data should be encrypted.</p>
@@ -218,12 +243,17 @@ export interface JobBookmarksEncryption {
218
243
  }
219
244
  /**
220
245
  * @public
246
+ * @enum
221
247
  */
222
- export declare enum S3EncryptionMode {
223
- DISABLED = "DISABLED",
224
- SSEKMS = "SSE-KMS",
225
- SSES3 = "SSE-S3"
226
- }
248
+ export declare const S3EncryptionMode: {
249
+ readonly DISABLED: "DISABLED";
250
+ readonly SSEKMS: "SSE-KMS";
251
+ readonly SSES3: "SSE-S3";
252
+ };
253
+ /**
254
+ * @public
255
+ */
256
+ export type S3EncryptionMode = (typeof S3EncryptionMode)[keyof typeof S3EncryptionMode];
227
257
  /**
228
258
  * @public
229
259
  * <p>Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.</p>
@@ -380,15 +410,20 @@ export interface CreateSessionRequest {
380
410
  }
381
411
  /**
382
412
  * @public
413
+ * @enum
383
414
  */
384
- export declare enum SessionStatus {
385
- FAILED = "FAILED",
386
- PROVISIONING = "PROVISIONING",
387
- READY = "READY",
388
- STOPPED = "STOPPED",
389
- STOPPING = "STOPPING",
390
- TIMEOUT = "TIMEOUT"
391
- }
415
+ export declare const SessionStatus: {
416
+ readonly FAILED: "FAILED";
417
+ readonly PROVISIONING: "PROVISIONING";
418
+ readonly READY: "READY";
419
+ readonly STOPPED: "STOPPED";
420
+ readonly STOPPING: "STOPPING";
421
+ readonly TIMEOUT: "TIMEOUT";
422
+ };
423
+ /**
424
+ * @public
425
+ */
426
+ export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
392
427
  /**
393
428
  * @public
394
429
  * <p>The period in which a remote Spark runtime environment is running.</p>
@@ -656,20 +691,30 @@ export interface CreateTriggerResponse {
656
691
  }
657
692
  /**
658
693
  * @public
694
+ * @enum
659
695
  */
660
- export declare enum PrincipalType {
661
- GROUP = "GROUP",
662
- ROLE = "ROLE",
663
- USER = "USER"
664
- }
696
+ export declare const PrincipalType: {
697
+ readonly GROUP: "GROUP";
698
+ readonly ROLE: "ROLE";
699
+ readonly USER: "USER";
700
+ };
665
701
  /**
666
702
  * @public
667
703
  */
668
- export declare enum ResourceType {
669
- ARCHIVE = "ARCHIVE",
670
- FILE = "FILE",
671
- JAR = "JAR"
672
- }
704
+ export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
705
+ /**
706
+ * @public
707
+ * @enum
708
+ */
709
+ export declare const ResourceType: {
710
+ readonly ARCHIVE: "ARCHIVE";
711
+ readonly FILE: "FILE";
712
+ readonly JAR: "JAR";
713
+ };
714
+ /**
715
+ * @public
716
+ */
717
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
673
718
  /**
674
719
  * @public
675
720
  * <p>The URIs for function resources.</p>
@@ -1106,11 +1151,16 @@ export interface DeleteRegistryInput {
1106
1151
  }
1107
1152
  /**
1108
1153
  * @public
1154
+ * @enum
1109
1155
  */
1110
- export declare enum RegistryStatus {
1111
- AVAILABLE = "AVAILABLE",
1112
- DELETING = "DELETING"
1113
- }
1156
+ export declare const RegistryStatus: {
1157
+ readonly AVAILABLE: "AVAILABLE";
1158
+ readonly DELETING: "DELETING";
1159
+ };
1160
+ /**
1161
+ * @public
1162
+ */
1163
+ export type RegistryStatus = (typeof RegistryStatus)[keyof typeof RegistryStatus];
1114
1164
  /**
1115
1165
  * @public
1116
1166
  */
@@ -1440,13 +1490,18 @@ export interface GetBlueprintRunRequest {
1440
1490
  }
1441
1491
  /**
1442
1492
  * @public
1493
+ * @enum
1443
1494
  */
1444
- export declare enum BlueprintRunState {
1445
- FAILED = "FAILED",
1446
- ROLLING_BACK = "ROLLING_BACK",
1447
- RUNNING = "RUNNING",
1448
- SUCCEEDED = "SUCCEEDED"
1449
- }
1495
+ export declare const BlueprintRunState: {
1496
+ readonly FAILED: "FAILED";
1497
+ readonly ROLLING_BACK: "ROLLING_BACK";
1498
+ readonly RUNNING: "RUNNING";
1499
+ readonly SUCCEEDED: "SUCCEEDED";
1500
+ };
1501
+ /**
1502
+ * @public
1503
+ */
1504
+ export type BlueprintRunState = (typeof BlueprintRunState)[keyof typeof BlueprintRunState];
1450
1505
  /**
1451
1506
  * @public
1452
1507
  * <p>The details of a blueprint run.</p>
@@ -2000,16 +2055,21 @@ export interface StringColumnStatisticsData {
2000
2055
  }
2001
2056
  /**
2002
2057
  * @public
2058
+ * @enum
2003
2059
  */
2004
- export declare enum ColumnStatisticsType {
2005
- BINARY = "BINARY",
2006
- BOOLEAN = "BOOLEAN",
2007
- DATE = "DATE",
2008
- DECIMAL = "DECIMAL",
2009
- DOUBLE = "DOUBLE",
2010
- LONG = "LONG",
2011
- STRING = "STRING"
2012
- }
2060
+ export declare const ColumnStatisticsType: {
2061
+ readonly BINARY: "BINARY";
2062
+ readonly BOOLEAN: "BOOLEAN";
2063
+ readonly DATE: "DATE";
2064
+ readonly DECIMAL: "DECIMAL";
2065
+ readonly DOUBLE: "DOUBLE";
2066
+ readonly LONG: "LONG";
2067
+ readonly STRING: "STRING";
2068
+ };
2069
+ /**
2070
+ * @public
2071
+ */
2072
+ export type ColumnStatisticsType = (typeof ColumnStatisticsType)[keyof typeof ColumnStatisticsType];
2013
2073
  /**
2014
2074
  * @public
2015
2075
  * <p>Contains the individual types of column statistics data. Only one data object should be set and indicated by the <code>Type</code> attribute.</p>
@@ -2636,11 +2696,16 @@ export interface GetDatabaseResponse {
2636
2696
  }
2637
2697
  /**
2638
2698
  * @public
2699
+ * @enum
2639
2700
  */
2640
- export declare enum ResourceShareType {
2641
- ALL = "ALL",
2642
- FOREIGN = "FOREIGN"
2643
- }
2701
+ export declare const ResourceShareType: {
2702
+ readonly ALL: "ALL";
2703
+ readonly FOREIGN: "FOREIGN";
2704
+ };
2705
+ /**
2706
+ * @public
2707
+ */
2708
+ export type ResourceShareType = (typeof ResourceShareType)[keyof typeof ResourceShareType];
2644
2709
  /**
2645
2710
  * @public
2646
2711
  */
@@ -2724,11 +2789,16 @@ export interface ConnectionPasswordEncryption {
2724
2789
  }
2725
2790
  /**
2726
2791
  * @public
2792
+ * @enum
2727
2793
  */
2728
- export declare enum CatalogEncryptionMode {
2729
- DISABLED = "DISABLED",
2730
- SSEKMS = "SSE-KMS"
2731
- }
2794
+ export declare const CatalogEncryptionMode: {
2795
+ readonly DISABLED: "DISABLED";
2796
+ readonly SSEKMS: "SSE-KMS";
2797
+ };
2798
+ /**
2799
+ * @public
2800
+ */
2801
+ export type CatalogEncryptionMode = (typeof CatalogEncryptionMode)[keyof typeof CatalogEncryptionMode];
2732
2802
  /**
2733
2803
  * @public
2734
2804
  * <p>Specifies the encryption-at-rest configuration for the Data Catalog.</p>
@@ -3379,14 +3449,19 @@ export interface LabelingSetGenerationTaskRunProperties {
3379
3449
  }
3380
3450
  /**
3381
3451
  * @public
3452
+ * @enum
3382
3453
  */
3383
- export declare enum TaskType {
3384
- EVALUATION = "EVALUATION",
3385
- EXPORT_LABELS = "EXPORT_LABELS",
3386
- FIND_MATCHES = "FIND_MATCHES",
3387
- IMPORT_LABELS = "IMPORT_LABELS",
3388
- LABELING_SET_GENERATION = "LABELING_SET_GENERATION"
3389
- }
3454
+ export declare const TaskType: {
3455
+ readonly EVALUATION: "EVALUATION";
3456
+ readonly EXPORT_LABELS: "EXPORT_LABELS";
3457
+ readonly FIND_MATCHES: "FIND_MATCHES";
3458
+ readonly IMPORT_LABELS: "IMPORT_LABELS";
3459
+ readonly LABELING_SET_GENERATION: "LABELING_SET_GENERATION";
3460
+ };
3461
+ /**
3462
+ * @public
3463
+ */
3464
+ export type TaskType = (typeof TaskType)[keyof typeof TaskType];
3390
3465
  /**
3391
3466
  * @public
3392
3467
  * <p>The configuration properties for the task run.</p>
@@ -3483,19 +3558,29 @@ export interface TaskRunFilterCriteria {
3483
3558
  }
3484
3559
  /**
3485
3560
  * @public
3561
+ * @enum
3486
3562
  */
3487
- export declare enum TaskRunSortColumnType {
3488
- STARTED = "STARTED",
3489
- STATUS = "STATUS",
3490
- TASK_RUN_TYPE = "TASK_RUN_TYPE"
3491
- }
3563
+ export declare const TaskRunSortColumnType: {
3564
+ readonly STARTED: "STARTED";
3565
+ readonly STATUS: "STATUS";
3566
+ readonly TASK_RUN_TYPE: "TASK_RUN_TYPE";
3567
+ };
3492
3568
  /**
3493
3569
  * @public
3494
3570
  */
3495
- export declare enum SortDirectionType {
3496
- ASCENDING = "ASCENDING",
3497
- DESCENDING = "DESCENDING"
3498
- }
3571
+ export type TaskRunSortColumnType = (typeof TaskRunSortColumnType)[keyof typeof TaskRunSortColumnType];
3572
+ /**
3573
+ * @public
3574
+ * @enum
3575
+ */
3576
+ export declare const SortDirectionType: {
3577
+ readonly ASCENDING: "ASCENDING";
3578
+ readonly DESCENDING: "DESCENDING";
3579
+ };
3580
+ /**
3581
+ * @public
3582
+ */
3583
+ export type SortDirectionType = (typeof SortDirectionType)[keyof typeof SortDirectionType];
3499
3584
  /**
3500
3585
  * @public
3501
3586
  * <p>The sorting criteria that are used to sort the list of task runs for the machine learning
@@ -3720,12 +3805,17 @@ export interface SchemaColumn {
3720
3805
  }
3721
3806
  /**
3722
3807
  * @public
3808
+ * @enum
3723
3809
  */
3724
- export declare enum TransformStatusType {
3725
- DELETING = "DELETING",
3726
- NOT_READY = "NOT_READY",
3727
- READY = "READY"
3728
- }
3810
+ export declare const TransformStatusType: {
3811
+ readonly DELETING: "DELETING";
3812
+ readonly NOT_READY: "NOT_READY";
3813
+ readonly READY: "READY";
3814
+ };
3815
+ /**
3816
+ * @public
3817
+ */
3818
+ export type TransformStatusType = (typeof TransformStatusType)[keyof typeof TransformStatusType];
3729
3819
  /**
3730
3820
  * @public
3731
3821
  */
@@ -3873,14 +3963,19 @@ export interface TransformFilterCriteria {
3873
3963
  }
3874
3964
  /**
3875
3965
  * @public
3966
+ * @enum
3876
3967
  */
3877
- export declare enum TransformSortColumnType {
3878
- CREATED = "CREATED",
3879
- LAST_MODIFIED = "LAST_MODIFIED",
3880
- NAME = "NAME",
3881
- STATUS = "STATUS",
3882
- TRANSFORM_TYPE = "TRANSFORM_TYPE"
3883
- }
3968
+ export declare const TransformSortColumnType: {
3969
+ readonly CREATED: "CREATED";
3970
+ readonly LAST_MODIFIED: "LAST_MODIFIED";
3971
+ readonly NAME: "NAME";
3972
+ readonly STATUS: "STATUS";
3973
+ readonly TRANSFORM_TYPE: "TRANSFORM_TYPE";
3974
+ };
3975
+ /**
3976
+ * @public
3977
+ */
3978
+ export type TransformSortColumnType = (typeof TransformSortColumnType)[keyof typeof TransformSortColumnType];
3884
3979
  /**
3885
3980
  * @public
3886
3981
  * <p>The sorting criteria that are associated with the machine learning transform.</p>
@@ -4133,14 +4228,19 @@ export interface GetPartitionIndexesRequest {
4133
4228
  }
4134
4229
  /**
4135
4230
  * @public
4231
+ * @enum
4136
4232
  */
4137
- export declare enum BackfillErrorCode {
4138
- ENCRYPTED_PARTITION_ERROR = "ENCRYPTED_PARTITION_ERROR",
4139
- INTERNAL_ERROR = "INTERNAL_ERROR",
4140
- INVALID_PARTITION_TYPE_DATA_ERROR = "INVALID_PARTITION_TYPE_DATA_ERROR",
4141
- MISSING_PARTITION_VALUE_ERROR = "MISSING_PARTITION_VALUE_ERROR",
4142
- UNSUPPORTED_PARTITION_CHARACTER_ERROR = "UNSUPPORTED_PARTITION_CHARACTER_ERROR"
4143
- }
4233
+ export declare const BackfillErrorCode: {
4234
+ readonly ENCRYPTED_PARTITION_ERROR: "ENCRYPTED_PARTITION_ERROR";
4235
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
4236
+ readonly INVALID_PARTITION_TYPE_DATA_ERROR: "INVALID_PARTITION_TYPE_DATA_ERROR";
4237
+ readonly MISSING_PARTITION_VALUE_ERROR: "MISSING_PARTITION_VALUE_ERROR";
4238
+ readonly UNSUPPORTED_PARTITION_CHARACTER_ERROR: "UNSUPPORTED_PARTITION_CHARACTER_ERROR";
4239
+ };
4240
+ /**
4241
+ * @public
4242
+ */
4243
+ export type BackfillErrorCode = (typeof BackfillErrorCode)[keyof typeof BackfillErrorCode];
4144
4244
  /**
4145
4245
  * @public
4146
4246
  * <p>A list of errors that can occur when registering partition indexes for an existing table.</p>
@@ -4175,13 +4275,18 @@ export interface BackfillError {
4175
4275
  }
4176
4276
  /**
4177
4277
  * @public
4278
+ * @enum
4178
4279
  */
4179
- export declare enum PartitionIndexStatus {
4180
- ACTIVE = "ACTIVE",
4181
- CREATING = "CREATING",
4182
- DELETING = "DELETING",
4183
- FAILED = "FAILED"
4184
- }
4280
+ export declare const PartitionIndexStatus: {
4281
+ readonly ACTIVE: "ACTIVE";
4282
+ readonly CREATING: "CREATING";
4283
+ readonly DELETING: "DELETING";
4284
+ readonly FAILED: "FAILED";
4285
+ };
4286
+ /**
4287
+ * @public
4288
+ */
4289
+ export type PartitionIndexStatus = (typeof PartitionIndexStatus)[keyof typeof PartitionIndexStatus];
4185
4290
  /**
4186
4291
  * @public
4187
4292
  * <p>A partition key pair consisting of a name and a type.</p>
@@ -4792,10 +4897,15 @@ export interface GetSchemaVersionResponse {
4792
4897
  }
4793
4898
  /**
4794
4899
  * @public
4900
+ * @enum
4795
4901
  */
4796
- export declare enum SchemaDiffType {
4797
- SYNTAX_DIFF = "SYNTAX_DIFF"
4798
- }
4902
+ export declare const SchemaDiffType: {
4903
+ readonly SYNTAX_DIFF: "SYNTAX_DIFF";
4904
+ };
4905
+ /**
4906
+ * @public
4907
+ */
4908
+ export type SchemaDiffType = (typeof SchemaDiffType)[keyof typeof SchemaDiffType];
4799
4909
  /**
4800
4910
  * @public
4801
4911
  */
@@ -4948,15 +5058,20 @@ export interface StatementOutputData {
4948
5058
  }
4949
5059
  /**
4950
5060
  * @public
5061
+ * @enum
4951
5062
  */
4952
- export declare enum StatementState {
4953
- AVAILABLE = "AVAILABLE",
4954
- CANCELLED = "CANCELLED",
4955
- CANCELLING = "CANCELLING",
4956
- ERROR = "ERROR",
4957
- RUNNING = "RUNNING",
4958
- WAITING = "WAITING"
4959
- }
5063
+ export declare const StatementState: {
5064
+ readonly AVAILABLE: "AVAILABLE";
5065
+ readonly CANCELLED: "CANCELLED";
5066
+ readonly CANCELLING: "CANCELLING";
5067
+ readonly ERROR: "ERROR";
5068
+ readonly RUNNING: "RUNNING";
5069
+ readonly WAITING: "WAITING";
5070
+ };
5071
+ /**
5072
+ * @public
5073
+ */
5074
+ export type StatementState = (typeof StatementState)[keyof typeof StatementState];
4960
5075
  /**
4961
5076
  * @public
4962
5077
  * <p>The code execution output in JSON format.</p>
@@ -5390,11 +5505,16 @@ export interface GetTriggersResponse {
5390
5505
  }
5391
5506
  /**
5392
5507
  * @public
5508
+ * @enum
5393
5509
  */
5394
- export declare enum PermissionType {
5395
- CELL_FILTER_PERMISSION = "CELL_FILTER_PERMISSION",
5396
- COLUMN_PERMISSION = "COLUMN_PERMISSION"
5397
- }
5510
+ export declare const PermissionType: {
5511
+ readonly CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION";
5512
+ readonly COLUMN_PERMISSION: "COLUMN_PERMISSION";
5513
+ };
5514
+ /**
5515
+ * @public
5516
+ */
5517
+ export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
5398
5518
  /**
5399
5519
  * @public
5400
5520
  */