@aws-sdk/client-glue 3.721.0 → 3.726.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class GlueClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
@@ -35,14 +36,15 @@ export const AggFunction = {
35
36
  var_samp: "var_samp",
36
37
  };
37
38
  export class AlreadyExistsException extends __BaseException {
39
+ name = "AlreadyExistsException";
40
+ $fault = "client";
41
+ Message;
38
42
  constructor(opts) {
39
43
  super({
40
44
  name: "AlreadyExistsException",
41
45
  $fault: "client",
42
46
  ...opts,
43
47
  });
44
- this.name = "AlreadyExistsException";
45
- this.$fault = "client";
46
48
  Object.setPrototypeOf(this, AlreadyExistsException.prototype);
47
49
  this.Message = opts.Message;
48
50
  }
@@ -74,94 +76,103 @@ export const OAuth2GrantType = {
74
76
  JWT_BEARER: "JWT_BEARER",
75
77
  };
76
78
  export class EntityNotFoundException extends __BaseException {
79
+ name = "EntityNotFoundException";
80
+ $fault = "client";
81
+ Message;
82
+ FromFederationSource;
77
83
  constructor(opts) {
78
84
  super({
79
85
  name: "EntityNotFoundException",
80
86
  $fault: "client",
81
87
  ...opts,
82
88
  });
83
- this.name = "EntityNotFoundException";
84
- this.$fault = "client";
85
89
  Object.setPrototypeOf(this, EntityNotFoundException.prototype);
86
90
  this.Message = opts.Message;
87
91
  this.FromFederationSource = opts.FromFederationSource;
88
92
  }
89
93
  }
90
94
  export class GlueEncryptionException extends __BaseException {
95
+ name = "GlueEncryptionException";
96
+ $fault = "client";
97
+ Message;
91
98
  constructor(opts) {
92
99
  super({
93
100
  name: "GlueEncryptionException",
94
101
  $fault: "client",
95
102
  ...opts,
96
103
  });
97
- this.name = "GlueEncryptionException";
98
- this.$fault = "client";
99
104
  Object.setPrototypeOf(this, GlueEncryptionException.prototype);
100
105
  this.Message = opts.Message;
101
106
  }
102
107
  }
103
108
  export class InternalServiceException extends __BaseException {
109
+ name = "InternalServiceException";
110
+ $fault = "server";
111
+ Message;
104
112
  constructor(opts) {
105
113
  super({
106
114
  name: "InternalServiceException",
107
115
  $fault: "server",
108
116
  ...opts,
109
117
  });
110
- this.name = "InternalServiceException";
111
- this.$fault = "server";
112
118
  Object.setPrototypeOf(this, InternalServiceException.prototype);
113
119
  this.Message = opts.Message;
114
120
  }
115
121
  }
116
122
  export class InvalidInputException extends __BaseException {
123
+ name = "InvalidInputException";
124
+ $fault = "client";
125
+ Message;
126
+ FromFederationSource;
117
127
  constructor(opts) {
118
128
  super({
119
129
  name: "InvalidInputException",
120
130
  $fault: "client",
121
131
  ...opts,
122
132
  });
123
- this.name = "InvalidInputException";
124
- this.$fault = "client";
125
133
  Object.setPrototypeOf(this, InvalidInputException.prototype);
126
134
  this.Message = opts.Message;
127
135
  this.FromFederationSource = opts.FromFederationSource;
128
136
  }
129
137
  }
130
138
  export class OperationTimeoutException extends __BaseException {
139
+ name = "OperationTimeoutException";
140
+ $fault = "client";
141
+ Message;
131
142
  constructor(opts) {
132
143
  super({
133
144
  name: "OperationTimeoutException",
134
145
  $fault: "client",
135
146
  ...opts,
136
147
  });
137
- this.name = "OperationTimeoutException";
138
- this.$fault = "client";
139
148
  Object.setPrototypeOf(this, OperationTimeoutException.prototype);
140
149
  this.Message = opts.Message;
141
150
  }
142
151
  }
143
152
  export class ResourceNumberLimitExceededException extends __BaseException {
153
+ name = "ResourceNumberLimitExceededException";
154
+ $fault = "client";
155
+ Message;
144
156
  constructor(opts) {
145
157
  super({
146
158
  name: "ResourceNumberLimitExceededException",
147
159
  $fault: "client",
148
160
  ...opts,
149
161
  });
150
- this.name = "ResourceNumberLimitExceededException";
151
- this.$fault = "client";
152
162
  Object.setPrototypeOf(this, ResourceNumberLimitExceededException.prototype);
153
163
  this.Message = opts.Message;
154
164
  }
155
165
  }
156
166
  export class ResourceNotReadyException extends __BaseException {
167
+ name = "ResourceNotReadyException";
168
+ $fault = "client";
169
+ Message;
157
170
  constructor(opts) {
158
171
  super({
159
172
  name: "ResourceNotReadyException",
160
173
  $fault: "client",
161
174
  ...opts,
162
175
  });
163
- this.name = "ResourceNotReadyException";
164
- this.$fault = "client";
165
176
  Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
166
177
  this.Message = opts.Message;
167
178
  }
@@ -420,41 +431,45 @@ export const FederationSourceErrorCode = {
420
431
  ThrottlingException: "ThrottlingException",
421
432
  };
422
433
  export class FederationSourceException extends __BaseException {
434
+ name = "FederationSourceException";
435
+ $fault = "client";
436
+ FederationSourceErrorCode;
437
+ Message;
423
438
  constructor(opts) {
424
439
  super({
425
440
  name: "FederationSourceException",
426
441
  $fault: "client",
427
442
  ...opts,
428
443
  });
429
- this.name = "FederationSourceException";
430
- this.$fault = "client";
431
444
  Object.setPrototypeOf(this, FederationSourceException.prototype);
432
445
  this.FederationSourceErrorCode = opts.FederationSourceErrorCode;
433
446
  this.Message = opts.Message;
434
447
  }
435
448
  }
436
449
  export class FederationSourceRetryableException extends __BaseException {
450
+ name = "FederationSourceRetryableException";
451
+ $fault = "client";
452
+ Message;
437
453
  constructor(opts) {
438
454
  super({
439
455
  name: "FederationSourceRetryableException",
440
456
  $fault: "client",
441
457
  ...opts,
442
458
  });
443
- this.name = "FederationSourceRetryableException";
444
- this.$fault = "client";
445
459
  Object.setPrototypeOf(this, FederationSourceRetryableException.prototype);
446
460
  this.Message = opts.Message;
447
461
  }
448
462
  }
449
463
  export class InvalidStateException extends __BaseException {
464
+ name = "InvalidStateException";
465
+ $fault = "client";
466
+ Message;
450
467
  constructor(opts) {
451
468
  super({
452
469
  name: "InvalidStateException",
453
470
  $fault: "client",
454
471
  ...opts,
455
472
  });
456
- this.name = "InvalidStateException";
457
- this.$fault = "client";
458
473
  Object.setPrototypeOf(this, InvalidStateException.prototype);
459
474
  this.Message = opts.Message;
460
475
  }
@@ -479,14 +494,15 @@ export const TableOptimizerEventType = {
479
494
  STARTING: "starting",
480
495
  };
481
496
  export class ThrottlingException extends __BaseException {
497
+ name = "ThrottlingException";
498
+ $fault = "client";
499
+ Message;
482
500
  constructor(opts) {
483
501
  super({
484
502
  name: "ThrottlingException",
485
503
  $fault: "client",
486
504
  ...opts,
487
505
  });
488
- this.name = "ThrottlingException";
489
- this.$fault = "client";
490
506
  Object.setPrototypeOf(this, ThrottlingException.prototype);
491
507
  this.Message = opts.Message;
492
508
  }
@@ -10,14 +10,15 @@ export const TaskStatusType = {
10
10
  TIMEOUT: "TIMEOUT",
11
11
  };
12
12
  export class IllegalSessionStateException extends __BaseException {
13
+ name = "IllegalSessionStateException";
14
+ $fault = "client";
15
+ Message;
13
16
  constructor(opts) {
14
17
  super({
15
18
  name: "IllegalSessionStateException",
16
19
  $fault: "client",
17
20
  ...opts,
18
21
  });
19
- this.name = "IllegalSessionStateException";
20
- this.$fault = "client";
21
22
  Object.setPrototypeOf(this, IllegalSessionStateException.prototype);
22
23
  this.Message = opts.Message;
23
24
  }
@@ -28,14 +29,15 @@ export const DataFormat = {
28
29
  PROTOBUF: "PROTOBUF",
29
30
  };
30
31
  export class ConcurrentModificationException extends __BaseException {
32
+ name = "ConcurrentModificationException";
33
+ $fault = "client";
34
+ Message;
31
35
  constructor(opts) {
32
36
  super({
33
37
  name: "ConcurrentModificationException",
34
38
  $fault: "client",
35
39
  ...opts,
36
40
  });
37
- this.name = "ConcurrentModificationException";
38
- this.$fault = "client";
39
41
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
40
42
  this.Message = opts.Message;
41
43
  }
@@ -52,14 +54,16 @@ export const Permission = {
52
54
  SELECT: "SELECT",
53
55
  };
54
56
  export class FederatedResourceAlreadyExistsException extends __BaseException {
57
+ name = "FederatedResourceAlreadyExistsException";
58
+ $fault = "client";
59
+ Message;
60
+ AssociatedGlueResource;
55
61
  constructor(opts) {
56
62
  super({
57
63
  name: "FederatedResourceAlreadyExistsException",
58
64
  $fault: "client",
59
65
  ...opts,
60
66
  });
61
- this.name = "FederatedResourceAlreadyExistsException";
62
- this.$fault = "client";
63
67
  Object.setPrototypeOf(this, FederatedResourceAlreadyExistsException.prototype);
64
68
  this.Message = opts.Message;
65
69
  this.AssociatedGlueResource = opts.AssociatedGlueResource;
@@ -76,14 +80,15 @@ export const CsvSerdeOption = {
76
80
  OpenCSVSerDe: "OpenCSVSerDe",
77
81
  };
78
82
  export class ColumnStatisticsTaskRunningException extends __BaseException {
83
+ name = "ColumnStatisticsTaskRunningException";
84
+ $fault = "client";
85
+ Message;
79
86
  constructor(opts) {
80
87
  super({
81
88
  name: "ColumnStatisticsTaskRunningException",
82
89
  $fault: "client",
83
90
  ...opts,
84
91
  });
85
- this.name = "ColumnStatisticsTaskRunningException";
86
- this.$fault = "client";
87
92
  Object.setPrototypeOf(this, ColumnStatisticsTaskRunningException.prototype);
88
93
  this.Message = opts.Message;
89
94
  }
@@ -181,40 +186,43 @@ export const ConnectionStatus = {
181
186
  READY: "READY",
182
187
  };
183
188
  export class IdempotentParameterMismatchException extends __BaseException {
189
+ name = "IdempotentParameterMismatchException";
190
+ $fault = "client";
191
+ Message;
184
192
  constructor(opts) {
185
193
  super({
186
194
  name: "IdempotentParameterMismatchException",
187
195
  $fault: "client",
188
196
  ...opts,
189
197
  });
190
- this.name = "IdempotentParameterMismatchException";
191
- this.$fault = "client";
192
198
  Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
193
199
  this.Message = opts.Message;
194
200
  }
195
201
  }
196
202
  export class ValidationException extends __BaseException {
203
+ name = "ValidationException";
204
+ $fault = "client";
205
+ Message;
197
206
  constructor(opts) {
198
207
  super({
199
208
  name: "ValidationException",
200
209
  $fault: "client",
201
210
  ...opts,
202
211
  });
203
- this.name = "ValidationException";
204
- this.$fault = "client";
205
212
  Object.setPrototypeOf(this, ValidationException.prototype);
206
213
  this.Message = opts.Message;
207
214
  }
208
215
  }
209
216
  export class ConflictException extends __BaseException {
217
+ name = "ConflictException";
218
+ $fault = "client";
219
+ Message;
210
220
  constructor(opts) {
211
221
  super({
212
222
  name: "ConflictException",
213
223
  $fault: "client",
214
224
  ...opts,
215
225
  });
216
- this.name = "ConflictException";
217
- this.$fault = "client";
218
226
  Object.setPrototypeOf(this, ConflictException.prototype);
219
227
  this.Message = opts.Message;
220
228
  }
@@ -229,66 +237,71 @@ export const IntegrationStatus = {
229
237
  SYNCING: "SYNCING",
230
238
  };
231
239
  export class IntegrationConflictOperationFault extends __BaseException {
240
+ name = "IntegrationConflictOperationFault";
241
+ $fault = "client";
242
+ Message;
232
243
  constructor(opts) {
233
244
  super({
234
245
  name: "IntegrationConflictOperationFault",
235
246
  $fault: "client",
236
247
  ...opts,
237
248
  });
238
- this.name = "IntegrationConflictOperationFault";
239
- this.$fault = "client";
240
249
  Object.setPrototypeOf(this, IntegrationConflictOperationFault.prototype);
241
250
  this.Message = opts.Message;
242
251
  }
243
252
  }
244
253
  export class IntegrationQuotaExceededFault extends __BaseException {
254
+ name = "IntegrationQuotaExceededFault";
255
+ $fault = "client";
256
+ Message;
245
257
  constructor(opts) {
246
258
  super({
247
259
  name: "IntegrationQuotaExceededFault",
248
260
  $fault: "client",
249
261
  ...opts,
250
262
  });
251
- this.name = "IntegrationQuotaExceededFault";
252
- this.$fault = "client";
253
263
  Object.setPrototypeOf(this, IntegrationQuotaExceededFault.prototype);
254
264
  this.Message = opts.Message;
255
265
  }
256
266
  }
257
267
  export class InternalServerException extends __BaseException {
268
+ name = "InternalServerException";
269
+ $fault = "server";
270
+ Message;
258
271
  constructor(opts) {
259
272
  super({
260
273
  name: "InternalServerException",
261
274
  $fault: "server",
262
275
  ...opts,
263
276
  });
264
- this.name = "InternalServerException";
265
- this.$fault = "server";
266
277
  Object.setPrototypeOf(this, InternalServerException.prototype);
267
278
  this.Message = opts.Message;
268
279
  }
269
280
  }
270
281
  export class KMSKeyNotAccessibleFault extends __BaseException {
282
+ name = "KMSKeyNotAccessibleFault";
283
+ $fault = "client";
284
+ Message;
271
285
  constructor(opts) {
272
286
  super({
273
287
  name: "KMSKeyNotAccessibleFault",
274
288
  $fault: "client",
275
289
  ...opts,
276
290
  });
277
- this.name = "KMSKeyNotAccessibleFault";
278
- this.$fault = "client";
279
291
  Object.setPrototypeOf(this, KMSKeyNotAccessibleFault.prototype);
280
292
  this.Message = opts.Message;
281
293
  }
282
294
  }
283
295
  export class ResourceNotFoundException extends __BaseException {
296
+ name = "ResourceNotFoundException";
297
+ $fault = "client";
298
+ Message;
284
299
  constructor(opts) {
285
300
  super({
286
301
  name: "ResourceNotFoundException",
287
302
  $fault: "client",
288
303
  ...opts,
289
304
  });
290
- this.name = "ResourceNotFoundException";
291
- this.$fault = "client";
292
305
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
293
306
  this.Message = opts.Message;
294
307
  }
@@ -364,14 +377,15 @@ export const ViewDialect = {
364
377
  SPARK: "SPARK",
365
378
  };
366
379
  export class OperationNotSupportedException extends __BaseException {
380
+ name = "OperationNotSupportedException";
381
+ $fault = "client";
382
+ Message;
367
383
  constructor(opts) {
368
384
  super({
369
385
  name: "OperationNotSupportedException",
370
386
  $fault: "client",
371
387
  ...opts,
372
388
  });
373
- this.name = "OperationNotSupportedException";
374
- this.$fault = "client";
375
389
  Object.setPrototypeOf(this, OperationNotSupportedException.prototype);
376
390
  this.Message = opts.Message;
377
391
  }
@@ -387,53 +401,57 @@ export const ResourceType = {
387
401
  JAR: "JAR",
388
402
  };
389
403
  export class CrawlerRunningException extends __BaseException {
404
+ name = "CrawlerRunningException";
405
+ $fault = "client";
406
+ Message;
390
407
  constructor(opts) {
391
408
  super({
392
409
  name: "CrawlerRunningException",
393
410
  $fault: "client",
394
411
  ...opts,
395
412
  });
396
- this.name = "CrawlerRunningException";
397
- this.$fault = "client";
398
413
  Object.setPrototypeOf(this, CrawlerRunningException.prototype);
399
414
  this.Message = opts.Message;
400
415
  }
401
416
  }
402
417
  export class SchedulerTransitioningException extends __BaseException {
418
+ name = "SchedulerTransitioningException";
419
+ $fault = "client";
420
+ Message;
403
421
  constructor(opts) {
404
422
  super({
405
423
  name: "SchedulerTransitioningException",
406
424
  $fault: "client",
407
425
  ...opts,
408
426
  });
409
- this.name = "SchedulerTransitioningException";
410
- this.$fault = "client";
411
427
  Object.setPrototypeOf(this, SchedulerTransitioningException.prototype);
412
428
  this.Message = opts.Message;
413
429
  }
414
430
  }
415
431
  export class IntegrationNotFoundFault extends __BaseException {
432
+ name = "IntegrationNotFoundFault";
433
+ $fault = "client";
434
+ Message;
416
435
  constructor(opts) {
417
436
  super({
418
437
  name: "IntegrationNotFoundFault",
419
438
  $fault: "client",
420
439
  ...opts,
421
440
  });
422
- this.name = "IntegrationNotFoundFault";
423
- this.$fault = "client";
424
441
  Object.setPrototypeOf(this, IntegrationNotFoundFault.prototype);
425
442
  this.Message = opts.Message;
426
443
  }
427
444
  }
428
445
  export class InvalidIntegrationStateFault extends __BaseException {
446
+ name = "InvalidIntegrationStateFault";
447
+ $fault = "client";
448
+ Message;
429
449
  constructor(opts) {
430
450
  super({
431
451
  name: "InvalidIntegrationStateFault",
432
452
  $fault: "client",
433
453
  ...opts,
434
454
  });
435
- this.name = "InvalidIntegrationStateFault";
436
- this.$fault = "client";
437
455
  Object.setPrototypeOf(this, InvalidIntegrationStateFault.prototype);
438
456
  this.Message = opts.Message;
439
457
  }
@@ -443,14 +461,15 @@ export const RegistryStatus = {
443
461
  DELETING: "DELETING",
444
462
  };
445
463
  export class ConditionCheckFailureException extends __BaseException {
464
+ name = "ConditionCheckFailureException";
465
+ $fault = "client";
466
+ Message;
446
467
  constructor(opts) {
447
468
  super({
448
469
  name: "ConditionCheckFailureException",
449
470
  $fault: "client",
450
471
  ...opts,
451
472
  });
452
- this.name = "ConditionCheckFailureException";
453
- this.$fault = "client";
454
473
  Object.setPrototypeOf(this, ConditionCheckFailureException.prototype);
455
474
  this.Message = opts.Message;
456
475
  }
@@ -485,14 +504,15 @@ export const FieldFilterOperator = {
485
504
  ORDER_BY: "ORDER_BY",
486
505
  };
487
506
  export class TargetResourceNotFound extends __BaseException {
507
+ name = "TargetResourceNotFound";
508
+ $fault = "client";
509
+ Message;
488
510
  constructor(opts) {
489
511
  super({
490
512
  name: "TargetResourceNotFound",
491
513
  $fault: "client",
492
514
  ...opts,
493
515
  });
494
- this.name = "TargetResourceNotFound";
495
- this.$fault = "client";
496
516
  Object.setPrototypeOf(this, TargetResourceNotFound.prototype);
497
517
  this.Message = opts.Message;
498
518
  }
@@ -105,14 +105,15 @@ export const PermissionType = {
105
105
  NESTED_PERMISSION: "NESTED_PERMISSION",
106
106
  };
107
107
  export class PermissionTypeMismatchException extends __BaseException {
108
+ name = "PermissionTypeMismatchException";
109
+ $fault = "client";
110
+ Message;
108
111
  constructor(opts) {
109
112
  super({
110
113
  name: "PermissionTypeMismatchException",
111
114
  $fault: "client",
112
115
  ...opts,
113
116
  });
114
- this.name = "PermissionTypeMismatchException";
115
- this.$fault = "client";
116
117
  Object.setPrototypeOf(this, PermissionTypeMismatchException.prototype);
117
118
  this.Message = opts.Message;
118
119
  }
@@ -153,27 +154,29 @@ export const ExistCondition = {
153
154
  NOT_EXIST: "NOT_EXIST",
154
155
  };
155
156
  export class ConcurrentRunsExceededException extends __BaseException {
157
+ name = "ConcurrentRunsExceededException";
158
+ $fault = "client";
159
+ Message;
156
160
  constructor(opts) {
157
161
  super({
158
162
  name: "ConcurrentRunsExceededException",
159
163
  $fault: "client",
160
164
  ...opts,
161
165
  });
162
- this.name = "ConcurrentRunsExceededException";
163
- this.$fault = "client";
164
166
  Object.setPrototypeOf(this, ConcurrentRunsExceededException.prototype);
165
167
  this.Message = opts.Message;
166
168
  }
167
169
  }
168
170
  export class IllegalWorkflowStateException extends __BaseException {
171
+ name = "IllegalWorkflowStateException";
172
+ $fault = "client";
173
+ Message;
169
174
  constructor(opts) {
170
175
  super({
171
176
  name: "IllegalWorkflowStateException",
172
177
  $fault: "client",
173
178
  ...opts,
174
179
  });
175
- this.name = "IllegalWorkflowStateException";
176
- this.$fault = "client";
177
180
  Object.setPrototypeOf(this, IllegalWorkflowStateException.prototype);
178
181
  this.Message = opts.Message;
179
182
  }