@aws-sdk/client-glue 3.1068.0 → 3.1070.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +887 -907
- package/dist-cjs/models/GlueServiceException.js +4 -8
- package/dist-cjs/models/errors.js +99 -151
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +2786 -1799
- package/package.json +8 -8
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.GlueServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class GlueServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.GlueServiceException = class GlueServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, GlueServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.GlueServiceException = GlueServiceException;
|
|
8
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.VersionMismatchException = exports.MaterializedViewRefreshTaskStoppingException = exports.MaterializedViewRefreshTaskNotRunningException = exports.SchedulerNotRunningException = exports.CrawlerStoppingException = exports.CrawlerNotRunningException = exports.ColumnStatisticsTaskStoppingException = exports.ColumnStatisticsTaskNotRunningException = exports.MLTransformNotReadyException = exports.MaterializedViewRefreshTaskRunningException = exports.SchedulerRunningException = exports.NoScheduleException = exports.IllegalBlueprintStateException = exports.SessionBusyException = exports.IllegalWorkflowStateException = exports.ConcurrentRunsExceededException = exports.PermissionTypeMismatchException = exports.TargetResourceNotFound = exports.ConditionCheckFailureException = exports.InvalidIntegrationStateFault = exports.IntegrationNotFoundFault = exports.SchedulerTransitioningException = exports.CrawlerRunningException = exports.OperationNotSupportedException = exports.ResourceNotFoundException = exports.KMSKeyNotAccessibleFault = exports.InternalServerException = exports.IntegrationQuotaExceededFault = exports.IntegrationConflictOperationFault = exports.ConflictException = exports.ValidationException = exports.IdempotentParameterMismatchException = exports.ColumnStatisticsTaskRunningException = exports.FederatedResourceAlreadyExistsException = exports.ConcurrentModificationException = exports.IllegalSessionStateException = exports.ThrottlingException = exports.InvalidStateException = exports.FederationSourceRetryableException = exports.FederationSourceException = exports.ResourceNotReadyException = exports.ResourceNumberLimitExceededException = exports.OperationTimeoutException = exports.InvalidInputException = exports.InternalServiceException = exports.GlueEncryptionException = exports.EntityNotFoundException = exports.AlreadyExistsException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const GlueServiceException_1 = require("./GlueServiceException");
|
|
5
|
-
class AccessDeniedException extends GlueServiceException_1.GlueServiceException {
|
|
1
|
+
const { GlueServiceException: __BaseException } = require("./GlueServiceException");
|
|
2
|
+
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
6
3
|
name = "AccessDeniedException";
|
|
7
4
|
$fault = "client";
|
|
8
5
|
Message;
|
|
@@ -15,9 +12,8 @@ class AccessDeniedException extends GlueServiceException_1.GlueServiceException
|
|
|
15
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
13
|
this.Message = opts.Message;
|
|
17
14
|
}
|
|
18
|
-
}
|
|
19
|
-
exports.
|
|
20
|
-
class AlreadyExistsException extends GlueServiceException_1.GlueServiceException {
|
|
15
|
+
};
|
|
16
|
+
exports.AlreadyExistsException = class AlreadyExistsException extends __BaseException {
|
|
21
17
|
name = "AlreadyExistsException";
|
|
22
18
|
$fault = "client";
|
|
23
19
|
Message;
|
|
@@ -30,9 +26,8 @@ class AlreadyExistsException extends GlueServiceException_1.GlueServiceException
|
|
|
30
26
|
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
31
27
|
this.Message = opts.Message;
|
|
32
28
|
}
|
|
33
|
-
}
|
|
34
|
-
exports.
|
|
35
|
-
class EntityNotFoundException extends GlueServiceException_1.GlueServiceException {
|
|
29
|
+
};
|
|
30
|
+
exports.EntityNotFoundException = class EntityNotFoundException extends __BaseException {
|
|
36
31
|
name = "EntityNotFoundException";
|
|
37
32
|
$fault = "client";
|
|
38
33
|
Message;
|
|
@@ -47,9 +42,8 @@ class EntityNotFoundException extends GlueServiceException_1.GlueServiceExceptio
|
|
|
47
42
|
this.Message = opts.Message;
|
|
48
43
|
this.FromFederationSource = opts.FromFederationSource;
|
|
49
44
|
}
|
|
50
|
-
}
|
|
51
|
-
exports.
|
|
52
|
-
class GlueEncryptionException extends GlueServiceException_1.GlueServiceException {
|
|
45
|
+
};
|
|
46
|
+
exports.GlueEncryptionException = class GlueEncryptionException extends __BaseException {
|
|
53
47
|
name = "GlueEncryptionException";
|
|
54
48
|
$fault = "client";
|
|
55
49
|
Message;
|
|
@@ -62,9 +56,8 @@ class GlueEncryptionException extends GlueServiceException_1.GlueServiceExceptio
|
|
|
62
56
|
Object.setPrototypeOf(this, GlueEncryptionException.prototype);
|
|
63
57
|
this.Message = opts.Message;
|
|
64
58
|
}
|
|
65
|
-
}
|
|
66
|
-
exports.
|
|
67
|
-
class InternalServiceException extends GlueServiceException_1.GlueServiceException {
|
|
59
|
+
};
|
|
60
|
+
exports.InternalServiceException = class InternalServiceException extends __BaseException {
|
|
68
61
|
name = "InternalServiceException";
|
|
69
62
|
$fault = "server";
|
|
70
63
|
Message;
|
|
@@ -77,9 +70,8 @@ class InternalServiceException extends GlueServiceException_1.GlueServiceExcepti
|
|
|
77
70
|
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
78
71
|
this.Message = opts.Message;
|
|
79
72
|
}
|
|
80
|
-
}
|
|
81
|
-
exports.
|
|
82
|
-
class InvalidInputException extends GlueServiceException_1.GlueServiceException {
|
|
73
|
+
};
|
|
74
|
+
exports.InvalidInputException = class InvalidInputException extends __BaseException {
|
|
83
75
|
name = "InvalidInputException";
|
|
84
76
|
$fault = "client";
|
|
85
77
|
Message;
|
|
@@ -94,9 +86,8 @@ class InvalidInputException extends GlueServiceException_1.GlueServiceException
|
|
|
94
86
|
this.Message = opts.Message;
|
|
95
87
|
this.FromFederationSource = opts.FromFederationSource;
|
|
96
88
|
}
|
|
97
|
-
}
|
|
98
|
-
exports.
|
|
99
|
-
class OperationTimeoutException extends GlueServiceException_1.GlueServiceException {
|
|
89
|
+
};
|
|
90
|
+
exports.OperationTimeoutException = class OperationTimeoutException extends __BaseException {
|
|
100
91
|
name = "OperationTimeoutException";
|
|
101
92
|
$fault = "client";
|
|
102
93
|
Message;
|
|
@@ -109,9 +100,8 @@ class OperationTimeoutException extends GlueServiceException_1.GlueServiceExcept
|
|
|
109
100
|
Object.setPrototypeOf(this, OperationTimeoutException.prototype);
|
|
110
101
|
this.Message = opts.Message;
|
|
111
102
|
}
|
|
112
|
-
}
|
|
113
|
-
exports.
|
|
114
|
-
class ResourceNumberLimitExceededException extends GlueServiceException_1.GlueServiceException {
|
|
103
|
+
};
|
|
104
|
+
exports.ResourceNumberLimitExceededException = class ResourceNumberLimitExceededException extends __BaseException {
|
|
115
105
|
name = "ResourceNumberLimitExceededException";
|
|
116
106
|
$fault = "client";
|
|
117
107
|
Message;
|
|
@@ -124,9 +114,8 @@ class ResourceNumberLimitExceededException extends GlueServiceException_1.GlueSe
|
|
|
124
114
|
Object.setPrototypeOf(this, ResourceNumberLimitExceededException.prototype);
|
|
125
115
|
this.Message = opts.Message;
|
|
126
116
|
}
|
|
127
|
-
}
|
|
128
|
-
exports.
|
|
129
|
-
class ResourceNotReadyException extends GlueServiceException_1.GlueServiceException {
|
|
117
|
+
};
|
|
118
|
+
exports.ResourceNotReadyException = class ResourceNotReadyException extends __BaseException {
|
|
130
119
|
name = "ResourceNotReadyException";
|
|
131
120
|
$fault = "client";
|
|
132
121
|
Message;
|
|
@@ -139,9 +128,8 @@ class ResourceNotReadyException extends GlueServiceException_1.GlueServiceExcept
|
|
|
139
128
|
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
140
129
|
this.Message = opts.Message;
|
|
141
130
|
}
|
|
142
|
-
}
|
|
143
|
-
exports.
|
|
144
|
-
class FederationSourceException extends GlueServiceException_1.GlueServiceException {
|
|
131
|
+
};
|
|
132
|
+
exports.FederationSourceException = class FederationSourceException extends __BaseException {
|
|
145
133
|
name = "FederationSourceException";
|
|
146
134
|
$fault = "client";
|
|
147
135
|
FederationSourceErrorCode;
|
|
@@ -156,9 +144,8 @@ class FederationSourceException extends GlueServiceException_1.GlueServiceExcept
|
|
|
156
144
|
this.FederationSourceErrorCode = opts.FederationSourceErrorCode;
|
|
157
145
|
this.Message = opts.Message;
|
|
158
146
|
}
|
|
159
|
-
}
|
|
160
|
-
exports.
|
|
161
|
-
class FederationSourceRetryableException extends GlueServiceException_1.GlueServiceException {
|
|
147
|
+
};
|
|
148
|
+
exports.FederationSourceRetryableException = class FederationSourceRetryableException extends __BaseException {
|
|
162
149
|
name = "FederationSourceRetryableException";
|
|
163
150
|
$fault = "client";
|
|
164
151
|
Message;
|
|
@@ -171,9 +158,8 @@ class FederationSourceRetryableException extends GlueServiceException_1.GlueServ
|
|
|
171
158
|
Object.setPrototypeOf(this, FederationSourceRetryableException.prototype);
|
|
172
159
|
this.Message = opts.Message;
|
|
173
160
|
}
|
|
174
|
-
}
|
|
175
|
-
exports.
|
|
176
|
-
class InvalidStateException extends GlueServiceException_1.GlueServiceException {
|
|
161
|
+
};
|
|
162
|
+
exports.InvalidStateException = class InvalidStateException extends __BaseException {
|
|
177
163
|
name = "InvalidStateException";
|
|
178
164
|
$fault = "client";
|
|
179
165
|
Message;
|
|
@@ -186,9 +172,8 @@ class InvalidStateException extends GlueServiceException_1.GlueServiceException
|
|
|
186
172
|
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
187
173
|
this.Message = opts.Message;
|
|
188
174
|
}
|
|
189
|
-
}
|
|
190
|
-
exports.
|
|
191
|
-
class ThrottlingException extends GlueServiceException_1.GlueServiceException {
|
|
175
|
+
};
|
|
176
|
+
exports.ThrottlingException = class ThrottlingException extends __BaseException {
|
|
192
177
|
name = "ThrottlingException";
|
|
193
178
|
$fault = "client";
|
|
194
179
|
Message;
|
|
@@ -201,9 +186,8 @@ class ThrottlingException extends GlueServiceException_1.GlueServiceException {
|
|
|
201
186
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
202
187
|
this.Message = opts.Message;
|
|
203
188
|
}
|
|
204
|
-
}
|
|
205
|
-
exports.
|
|
206
|
-
class IllegalSessionStateException extends GlueServiceException_1.GlueServiceException {
|
|
189
|
+
};
|
|
190
|
+
exports.IllegalSessionStateException = class IllegalSessionStateException extends __BaseException {
|
|
207
191
|
name = "IllegalSessionStateException";
|
|
208
192
|
$fault = "client";
|
|
209
193
|
Message;
|
|
@@ -216,9 +200,8 @@ class IllegalSessionStateException extends GlueServiceException_1.GlueServiceExc
|
|
|
216
200
|
Object.setPrototypeOf(this, IllegalSessionStateException.prototype);
|
|
217
201
|
this.Message = opts.Message;
|
|
218
202
|
}
|
|
219
|
-
}
|
|
220
|
-
exports.
|
|
221
|
-
class ConcurrentModificationException extends GlueServiceException_1.GlueServiceException {
|
|
203
|
+
};
|
|
204
|
+
exports.ConcurrentModificationException = class ConcurrentModificationException extends __BaseException {
|
|
222
205
|
name = "ConcurrentModificationException";
|
|
223
206
|
$fault = "client";
|
|
224
207
|
Message;
|
|
@@ -231,9 +214,8 @@ class ConcurrentModificationException extends GlueServiceException_1.GlueService
|
|
|
231
214
|
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
232
215
|
this.Message = opts.Message;
|
|
233
216
|
}
|
|
234
|
-
}
|
|
235
|
-
exports.
|
|
236
|
-
class FederatedResourceAlreadyExistsException extends GlueServiceException_1.GlueServiceException {
|
|
217
|
+
};
|
|
218
|
+
exports.FederatedResourceAlreadyExistsException = class FederatedResourceAlreadyExistsException extends __BaseException {
|
|
237
219
|
name = "FederatedResourceAlreadyExistsException";
|
|
238
220
|
$fault = "client";
|
|
239
221
|
Message;
|
|
@@ -248,9 +230,8 @@ class FederatedResourceAlreadyExistsException extends GlueServiceException_1.Glu
|
|
|
248
230
|
this.Message = opts.Message;
|
|
249
231
|
this.AssociatedGlueResource = opts.AssociatedGlueResource;
|
|
250
232
|
}
|
|
251
|
-
}
|
|
252
|
-
exports.
|
|
253
|
-
class ColumnStatisticsTaskRunningException extends GlueServiceException_1.GlueServiceException {
|
|
233
|
+
};
|
|
234
|
+
exports.ColumnStatisticsTaskRunningException = class ColumnStatisticsTaskRunningException extends __BaseException {
|
|
254
235
|
name = "ColumnStatisticsTaskRunningException";
|
|
255
236
|
$fault = "client";
|
|
256
237
|
Message;
|
|
@@ -263,9 +244,8 @@ class ColumnStatisticsTaskRunningException extends GlueServiceException_1.GlueSe
|
|
|
263
244
|
Object.setPrototypeOf(this, ColumnStatisticsTaskRunningException.prototype);
|
|
264
245
|
this.Message = opts.Message;
|
|
265
246
|
}
|
|
266
|
-
}
|
|
267
|
-
exports.
|
|
268
|
-
class IdempotentParameterMismatchException extends GlueServiceException_1.GlueServiceException {
|
|
247
|
+
};
|
|
248
|
+
exports.IdempotentParameterMismatchException = class IdempotentParameterMismatchException extends __BaseException {
|
|
269
249
|
name = "IdempotentParameterMismatchException";
|
|
270
250
|
$fault = "client";
|
|
271
251
|
Message;
|
|
@@ -278,9 +258,8 @@ class IdempotentParameterMismatchException extends GlueServiceException_1.GlueSe
|
|
|
278
258
|
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
279
259
|
this.Message = opts.Message;
|
|
280
260
|
}
|
|
281
|
-
}
|
|
282
|
-
exports.
|
|
283
|
-
class ValidationException extends GlueServiceException_1.GlueServiceException {
|
|
261
|
+
};
|
|
262
|
+
exports.ValidationException = class ValidationException extends __BaseException {
|
|
284
263
|
name = "ValidationException";
|
|
285
264
|
$fault = "client";
|
|
286
265
|
Message;
|
|
@@ -293,9 +272,8 @@ class ValidationException extends GlueServiceException_1.GlueServiceException {
|
|
|
293
272
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
294
273
|
this.Message = opts.Message;
|
|
295
274
|
}
|
|
296
|
-
}
|
|
297
|
-
exports.
|
|
298
|
-
class ConflictException extends GlueServiceException_1.GlueServiceException {
|
|
275
|
+
};
|
|
276
|
+
exports.ConflictException = class ConflictException extends __BaseException {
|
|
299
277
|
name = "ConflictException";
|
|
300
278
|
$fault = "client";
|
|
301
279
|
Message;
|
|
@@ -308,9 +286,8 @@ class ConflictException extends GlueServiceException_1.GlueServiceException {
|
|
|
308
286
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
309
287
|
this.Message = opts.Message;
|
|
310
288
|
}
|
|
311
|
-
}
|
|
312
|
-
exports.
|
|
313
|
-
class IntegrationConflictOperationFault extends GlueServiceException_1.GlueServiceException {
|
|
289
|
+
};
|
|
290
|
+
exports.IntegrationConflictOperationFault = class IntegrationConflictOperationFault extends __BaseException {
|
|
314
291
|
name = "IntegrationConflictOperationFault";
|
|
315
292
|
$fault = "client";
|
|
316
293
|
Message;
|
|
@@ -323,9 +300,8 @@ class IntegrationConflictOperationFault extends GlueServiceException_1.GlueServi
|
|
|
323
300
|
Object.setPrototypeOf(this, IntegrationConflictOperationFault.prototype);
|
|
324
301
|
this.Message = opts.Message;
|
|
325
302
|
}
|
|
326
|
-
}
|
|
327
|
-
exports.
|
|
328
|
-
class IntegrationQuotaExceededFault extends GlueServiceException_1.GlueServiceException {
|
|
303
|
+
};
|
|
304
|
+
exports.IntegrationQuotaExceededFault = class IntegrationQuotaExceededFault extends __BaseException {
|
|
329
305
|
name = "IntegrationQuotaExceededFault";
|
|
330
306
|
$fault = "client";
|
|
331
307
|
Message;
|
|
@@ -338,9 +314,8 @@ class IntegrationQuotaExceededFault extends GlueServiceException_1.GlueServiceEx
|
|
|
338
314
|
Object.setPrototypeOf(this, IntegrationQuotaExceededFault.prototype);
|
|
339
315
|
this.Message = opts.Message;
|
|
340
316
|
}
|
|
341
|
-
}
|
|
342
|
-
exports.
|
|
343
|
-
class InternalServerException extends GlueServiceException_1.GlueServiceException {
|
|
317
|
+
};
|
|
318
|
+
exports.InternalServerException = class InternalServerException extends __BaseException {
|
|
344
319
|
name = "InternalServerException";
|
|
345
320
|
$fault = "server";
|
|
346
321
|
Message;
|
|
@@ -353,9 +328,8 @@ class InternalServerException extends GlueServiceException_1.GlueServiceExceptio
|
|
|
353
328
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
354
329
|
this.Message = opts.Message;
|
|
355
330
|
}
|
|
356
|
-
}
|
|
357
|
-
exports.
|
|
358
|
-
class KMSKeyNotAccessibleFault extends GlueServiceException_1.GlueServiceException {
|
|
331
|
+
};
|
|
332
|
+
exports.KMSKeyNotAccessibleFault = class KMSKeyNotAccessibleFault extends __BaseException {
|
|
359
333
|
name = "KMSKeyNotAccessibleFault";
|
|
360
334
|
$fault = "client";
|
|
361
335
|
Message;
|
|
@@ -368,9 +342,8 @@ class KMSKeyNotAccessibleFault extends GlueServiceException_1.GlueServiceExcepti
|
|
|
368
342
|
Object.setPrototypeOf(this, KMSKeyNotAccessibleFault.prototype);
|
|
369
343
|
this.Message = opts.Message;
|
|
370
344
|
}
|
|
371
|
-
}
|
|
372
|
-
exports.
|
|
373
|
-
class ResourceNotFoundException extends GlueServiceException_1.GlueServiceException {
|
|
345
|
+
};
|
|
346
|
+
exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
|
|
374
347
|
name = "ResourceNotFoundException";
|
|
375
348
|
$fault = "client";
|
|
376
349
|
Message;
|
|
@@ -383,9 +356,8 @@ class ResourceNotFoundException extends GlueServiceException_1.GlueServiceExcept
|
|
|
383
356
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
384
357
|
this.Message = opts.Message;
|
|
385
358
|
}
|
|
386
|
-
}
|
|
387
|
-
exports.
|
|
388
|
-
class OperationNotSupportedException extends GlueServiceException_1.GlueServiceException {
|
|
359
|
+
};
|
|
360
|
+
exports.OperationNotSupportedException = class OperationNotSupportedException extends __BaseException {
|
|
389
361
|
name = "OperationNotSupportedException";
|
|
390
362
|
$fault = "client";
|
|
391
363
|
Message;
|
|
@@ -398,9 +370,8 @@ class OperationNotSupportedException extends GlueServiceException_1.GlueServiceE
|
|
|
398
370
|
Object.setPrototypeOf(this, OperationNotSupportedException.prototype);
|
|
399
371
|
this.Message = opts.Message;
|
|
400
372
|
}
|
|
401
|
-
}
|
|
402
|
-
exports.
|
|
403
|
-
class CrawlerRunningException extends GlueServiceException_1.GlueServiceException {
|
|
373
|
+
};
|
|
374
|
+
exports.CrawlerRunningException = class CrawlerRunningException extends __BaseException {
|
|
404
375
|
name = "CrawlerRunningException";
|
|
405
376
|
$fault = "client";
|
|
406
377
|
Message;
|
|
@@ -413,9 +384,8 @@ class CrawlerRunningException extends GlueServiceException_1.GlueServiceExceptio
|
|
|
413
384
|
Object.setPrototypeOf(this, CrawlerRunningException.prototype);
|
|
414
385
|
this.Message = opts.Message;
|
|
415
386
|
}
|
|
416
|
-
}
|
|
417
|
-
exports.
|
|
418
|
-
class SchedulerTransitioningException extends GlueServiceException_1.GlueServiceException {
|
|
387
|
+
};
|
|
388
|
+
exports.SchedulerTransitioningException = class SchedulerTransitioningException extends __BaseException {
|
|
419
389
|
name = "SchedulerTransitioningException";
|
|
420
390
|
$fault = "client";
|
|
421
391
|
Message;
|
|
@@ -428,9 +398,8 @@ class SchedulerTransitioningException extends GlueServiceException_1.GlueService
|
|
|
428
398
|
Object.setPrototypeOf(this, SchedulerTransitioningException.prototype);
|
|
429
399
|
this.Message = opts.Message;
|
|
430
400
|
}
|
|
431
|
-
}
|
|
432
|
-
exports.
|
|
433
|
-
class IntegrationNotFoundFault extends GlueServiceException_1.GlueServiceException {
|
|
401
|
+
};
|
|
402
|
+
exports.IntegrationNotFoundFault = class IntegrationNotFoundFault extends __BaseException {
|
|
434
403
|
name = "IntegrationNotFoundFault";
|
|
435
404
|
$fault = "client";
|
|
436
405
|
Message;
|
|
@@ -443,9 +412,8 @@ class IntegrationNotFoundFault extends GlueServiceException_1.GlueServiceExcepti
|
|
|
443
412
|
Object.setPrototypeOf(this, IntegrationNotFoundFault.prototype);
|
|
444
413
|
this.Message = opts.Message;
|
|
445
414
|
}
|
|
446
|
-
}
|
|
447
|
-
exports.
|
|
448
|
-
class InvalidIntegrationStateFault extends GlueServiceException_1.GlueServiceException {
|
|
415
|
+
};
|
|
416
|
+
exports.InvalidIntegrationStateFault = class InvalidIntegrationStateFault extends __BaseException {
|
|
449
417
|
name = "InvalidIntegrationStateFault";
|
|
450
418
|
$fault = "client";
|
|
451
419
|
Message;
|
|
@@ -458,9 +426,8 @@ class InvalidIntegrationStateFault extends GlueServiceException_1.GlueServiceExc
|
|
|
458
426
|
Object.setPrototypeOf(this, InvalidIntegrationStateFault.prototype);
|
|
459
427
|
this.Message = opts.Message;
|
|
460
428
|
}
|
|
461
|
-
}
|
|
462
|
-
exports.
|
|
463
|
-
class ConditionCheckFailureException extends GlueServiceException_1.GlueServiceException {
|
|
429
|
+
};
|
|
430
|
+
exports.ConditionCheckFailureException = class ConditionCheckFailureException extends __BaseException {
|
|
464
431
|
name = "ConditionCheckFailureException";
|
|
465
432
|
$fault = "client";
|
|
466
433
|
Message;
|
|
@@ -473,9 +440,8 @@ class ConditionCheckFailureException extends GlueServiceException_1.GlueServiceE
|
|
|
473
440
|
Object.setPrototypeOf(this, ConditionCheckFailureException.prototype);
|
|
474
441
|
this.Message = opts.Message;
|
|
475
442
|
}
|
|
476
|
-
}
|
|
477
|
-
exports.
|
|
478
|
-
class TargetResourceNotFound extends GlueServiceException_1.GlueServiceException {
|
|
443
|
+
};
|
|
444
|
+
exports.TargetResourceNotFound = class TargetResourceNotFound extends __BaseException {
|
|
479
445
|
name = "TargetResourceNotFound";
|
|
480
446
|
$fault = "client";
|
|
481
447
|
Message;
|
|
@@ -488,9 +454,8 @@ class TargetResourceNotFound extends GlueServiceException_1.GlueServiceException
|
|
|
488
454
|
Object.setPrototypeOf(this, TargetResourceNotFound.prototype);
|
|
489
455
|
this.Message = opts.Message;
|
|
490
456
|
}
|
|
491
|
-
}
|
|
492
|
-
exports.
|
|
493
|
-
class PermissionTypeMismatchException extends GlueServiceException_1.GlueServiceException {
|
|
457
|
+
};
|
|
458
|
+
exports.PermissionTypeMismatchException = class PermissionTypeMismatchException extends __BaseException {
|
|
494
459
|
name = "PermissionTypeMismatchException";
|
|
495
460
|
$fault = "client";
|
|
496
461
|
Message;
|
|
@@ -503,9 +468,8 @@ class PermissionTypeMismatchException extends GlueServiceException_1.GlueService
|
|
|
503
468
|
Object.setPrototypeOf(this, PermissionTypeMismatchException.prototype);
|
|
504
469
|
this.Message = opts.Message;
|
|
505
470
|
}
|
|
506
|
-
}
|
|
507
|
-
exports.
|
|
508
|
-
class ConcurrentRunsExceededException extends GlueServiceException_1.GlueServiceException {
|
|
471
|
+
};
|
|
472
|
+
exports.ConcurrentRunsExceededException = class ConcurrentRunsExceededException extends __BaseException {
|
|
509
473
|
name = "ConcurrentRunsExceededException";
|
|
510
474
|
$fault = "client";
|
|
511
475
|
Message;
|
|
@@ -518,9 +482,8 @@ class ConcurrentRunsExceededException extends GlueServiceException_1.GlueService
|
|
|
518
482
|
Object.setPrototypeOf(this, ConcurrentRunsExceededException.prototype);
|
|
519
483
|
this.Message = opts.Message;
|
|
520
484
|
}
|
|
521
|
-
}
|
|
522
|
-
exports.
|
|
523
|
-
class IllegalWorkflowStateException extends GlueServiceException_1.GlueServiceException {
|
|
485
|
+
};
|
|
486
|
+
exports.IllegalWorkflowStateException = class IllegalWorkflowStateException extends __BaseException {
|
|
524
487
|
name = "IllegalWorkflowStateException";
|
|
525
488
|
$fault = "client";
|
|
526
489
|
Message;
|
|
@@ -533,9 +496,8 @@ class IllegalWorkflowStateException extends GlueServiceException_1.GlueServiceEx
|
|
|
533
496
|
Object.setPrototypeOf(this, IllegalWorkflowStateException.prototype);
|
|
534
497
|
this.Message = opts.Message;
|
|
535
498
|
}
|
|
536
|
-
}
|
|
537
|
-
exports.
|
|
538
|
-
class SessionBusyException extends GlueServiceException_1.GlueServiceException {
|
|
499
|
+
};
|
|
500
|
+
exports.SessionBusyException = class SessionBusyException extends __BaseException {
|
|
539
501
|
name = "SessionBusyException";
|
|
540
502
|
$fault = "client";
|
|
541
503
|
Message;
|
|
@@ -548,9 +510,8 @@ class SessionBusyException extends GlueServiceException_1.GlueServiceException {
|
|
|
548
510
|
Object.setPrototypeOf(this, SessionBusyException.prototype);
|
|
549
511
|
this.Message = opts.Message;
|
|
550
512
|
}
|
|
551
|
-
}
|
|
552
|
-
exports.
|
|
553
|
-
class IllegalBlueprintStateException extends GlueServiceException_1.GlueServiceException {
|
|
513
|
+
};
|
|
514
|
+
exports.IllegalBlueprintStateException = class IllegalBlueprintStateException extends __BaseException {
|
|
554
515
|
name = "IllegalBlueprintStateException";
|
|
555
516
|
$fault = "client";
|
|
556
517
|
Message;
|
|
@@ -563,9 +524,8 @@ class IllegalBlueprintStateException extends GlueServiceException_1.GlueServiceE
|
|
|
563
524
|
Object.setPrototypeOf(this, IllegalBlueprintStateException.prototype);
|
|
564
525
|
this.Message = opts.Message;
|
|
565
526
|
}
|
|
566
|
-
}
|
|
567
|
-
exports.
|
|
568
|
-
class NoScheduleException extends GlueServiceException_1.GlueServiceException {
|
|
527
|
+
};
|
|
528
|
+
exports.NoScheduleException = class NoScheduleException extends __BaseException {
|
|
569
529
|
name = "NoScheduleException";
|
|
570
530
|
$fault = "client";
|
|
571
531
|
Message;
|
|
@@ -578,9 +538,8 @@ class NoScheduleException extends GlueServiceException_1.GlueServiceException {
|
|
|
578
538
|
Object.setPrototypeOf(this, NoScheduleException.prototype);
|
|
579
539
|
this.Message = opts.Message;
|
|
580
540
|
}
|
|
581
|
-
}
|
|
582
|
-
exports.
|
|
583
|
-
class SchedulerRunningException extends GlueServiceException_1.GlueServiceException {
|
|
541
|
+
};
|
|
542
|
+
exports.SchedulerRunningException = class SchedulerRunningException extends __BaseException {
|
|
584
543
|
name = "SchedulerRunningException";
|
|
585
544
|
$fault = "client";
|
|
586
545
|
Message;
|
|
@@ -593,9 +552,8 @@ class SchedulerRunningException extends GlueServiceException_1.GlueServiceExcept
|
|
|
593
552
|
Object.setPrototypeOf(this, SchedulerRunningException.prototype);
|
|
594
553
|
this.Message = opts.Message;
|
|
595
554
|
}
|
|
596
|
-
}
|
|
597
|
-
exports.
|
|
598
|
-
class MaterializedViewRefreshTaskRunningException extends GlueServiceException_1.GlueServiceException {
|
|
555
|
+
};
|
|
556
|
+
exports.MaterializedViewRefreshTaskRunningException = class MaterializedViewRefreshTaskRunningException extends __BaseException {
|
|
599
557
|
name = "MaterializedViewRefreshTaskRunningException";
|
|
600
558
|
$fault = "client";
|
|
601
559
|
Message;
|
|
@@ -608,9 +566,8 @@ class MaterializedViewRefreshTaskRunningException extends GlueServiceException_1
|
|
|
608
566
|
Object.setPrototypeOf(this, MaterializedViewRefreshTaskRunningException.prototype);
|
|
609
567
|
this.Message = opts.Message;
|
|
610
568
|
}
|
|
611
|
-
}
|
|
612
|
-
exports.
|
|
613
|
-
class MLTransformNotReadyException extends GlueServiceException_1.GlueServiceException {
|
|
569
|
+
};
|
|
570
|
+
exports.MLTransformNotReadyException = class MLTransformNotReadyException extends __BaseException {
|
|
614
571
|
name = "MLTransformNotReadyException";
|
|
615
572
|
$fault = "client";
|
|
616
573
|
Message;
|
|
@@ -623,9 +580,8 @@ class MLTransformNotReadyException extends GlueServiceException_1.GlueServiceExc
|
|
|
623
580
|
Object.setPrototypeOf(this, MLTransformNotReadyException.prototype);
|
|
624
581
|
this.Message = opts.Message;
|
|
625
582
|
}
|
|
626
|
-
}
|
|
627
|
-
exports.
|
|
628
|
-
class ColumnStatisticsTaskNotRunningException extends GlueServiceException_1.GlueServiceException {
|
|
583
|
+
};
|
|
584
|
+
exports.ColumnStatisticsTaskNotRunningException = class ColumnStatisticsTaskNotRunningException extends __BaseException {
|
|
629
585
|
name = "ColumnStatisticsTaskNotRunningException";
|
|
630
586
|
$fault = "client";
|
|
631
587
|
Message;
|
|
@@ -638,9 +594,8 @@ class ColumnStatisticsTaskNotRunningException extends GlueServiceException_1.Glu
|
|
|
638
594
|
Object.setPrototypeOf(this, ColumnStatisticsTaskNotRunningException.prototype);
|
|
639
595
|
this.Message = opts.Message;
|
|
640
596
|
}
|
|
641
|
-
}
|
|
642
|
-
exports.
|
|
643
|
-
class ColumnStatisticsTaskStoppingException extends GlueServiceException_1.GlueServiceException {
|
|
597
|
+
};
|
|
598
|
+
exports.ColumnStatisticsTaskStoppingException = class ColumnStatisticsTaskStoppingException extends __BaseException {
|
|
644
599
|
name = "ColumnStatisticsTaskStoppingException";
|
|
645
600
|
$fault = "client";
|
|
646
601
|
Message;
|
|
@@ -653,9 +608,8 @@ class ColumnStatisticsTaskStoppingException extends GlueServiceException_1.GlueS
|
|
|
653
608
|
Object.setPrototypeOf(this, ColumnStatisticsTaskStoppingException.prototype);
|
|
654
609
|
this.Message = opts.Message;
|
|
655
610
|
}
|
|
656
|
-
}
|
|
657
|
-
exports.
|
|
658
|
-
class CrawlerNotRunningException extends GlueServiceException_1.GlueServiceException {
|
|
611
|
+
};
|
|
612
|
+
exports.CrawlerNotRunningException = class CrawlerNotRunningException extends __BaseException {
|
|
659
613
|
name = "CrawlerNotRunningException";
|
|
660
614
|
$fault = "client";
|
|
661
615
|
Message;
|
|
@@ -668,9 +622,8 @@ class CrawlerNotRunningException extends GlueServiceException_1.GlueServiceExcep
|
|
|
668
622
|
Object.setPrototypeOf(this, CrawlerNotRunningException.prototype);
|
|
669
623
|
this.Message = opts.Message;
|
|
670
624
|
}
|
|
671
|
-
}
|
|
672
|
-
exports.
|
|
673
|
-
class CrawlerStoppingException extends GlueServiceException_1.GlueServiceException {
|
|
625
|
+
};
|
|
626
|
+
exports.CrawlerStoppingException = class CrawlerStoppingException extends __BaseException {
|
|
674
627
|
name = "CrawlerStoppingException";
|
|
675
628
|
$fault = "client";
|
|
676
629
|
Message;
|
|
@@ -683,9 +636,8 @@ class CrawlerStoppingException extends GlueServiceException_1.GlueServiceExcepti
|
|
|
683
636
|
Object.setPrototypeOf(this, CrawlerStoppingException.prototype);
|
|
684
637
|
this.Message = opts.Message;
|
|
685
638
|
}
|
|
686
|
-
}
|
|
687
|
-
exports.
|
|
688
|
-
class SchedulerNotRunningException extends GlueServiceException_1.GlueServiceException {
|
|
639
|
+
};
|
|
640
|
+
exports.SchedulerNotRunningException = class SchedulerNotRunningException extends __BaseException {
|
|
689
641
|
name = "SchedulerNotRunningException";
|
|
690
642
|
$fault = "client";
|
|
691
643
|
Message;
|
|
@@ -698,9 +650,8 @@ class SchedulerNotRunningException extends GlueServiceException_1.GlueServiceExc
|
|
|
698
650
|
Object.setPrototypeOf(this, SchedulerNotRunningException.prototype);
|
|
699
651
|
this.Message = opts.Message;
|
|
700
652
|
}
|
|
701
|
-
}
|
|
702
|
-
exports.
|
|
703
|
-
class MaterializedViewRefreshTaskNotRunningException extends GlueServiceException_1.GlueServiceException {
|
|
653
|
+
};
|
|
654
|
+
exports.MaterializedViewRefreshTaskNotRunningException = class MaterializedViewRefreshTaskNotRunningException extends __BaseException {
|
|
704
655
|
name = "MaterializedViewRefreshTaskNotRunningException";
|
|
705
656
|
$fault = "client";
|
|
706
657
|
Message;
|
|
@@ -713,9 +664,8 @@ class MaterializedViewRefreshTaskNotRunningException extends GlueServiceExceptio
|
|
|
713
664
|
Object.setPrototypeOf(this, MaterializedViewRefreshTaskNotRunningException.prototype);
|
|
714
665
|
this.Message = opts.Message;
|
|
715
666
|
}
|
|
716
|
-
}
|
|
717
|
-
exports.
|
|
718
|
-
class MaterializedViewRefreshTaskStoppingException extends GlueServiceException_1.GlueServiceException {
|
|
667
|
+
};
|
|
668
|
+
exports.MaterializedViewRefreshTaskStoppingException = class MaterializedViewRefreshTaskStoppingException extends __BaseException {
|
|
719
669
|
name = "MaterializedViewRefreshTaskStoppingException";
|
|
720
670
|
$fault = "client";
|
|
721
671
|
Message;
|
|
@@ -728,9 +678,8 @@ class MaterializedViewRefreshTaskStoppingException extends GlueServiceException_
|
|
|
728
678
|
Object.setPrototypeOf(this, MaterializedViewRefreshTaskStoppingException.prototype);
|
|
729
679
|
this.Message = opts.Message;
|
|
730
680
|
}
|
|
731
|
-
}
|
|
732
|
-
exports.
|
|
733
|
-
class VersionMismatchException extends GlueServiceException_1.GlueServiceException {
|
|
681
|
+
};
|
|
682
|
+
exports.VersionMismatchException = class VersionMismatchException extends __BaseException {
|
|
734
683
|
name = "VersionMismatchException";
|
|
735
684
|
$fault = "client";
|
|
736
685
|
Message;
|
|
@@ -743,5 +692,4 @@ class VersionMismatchException extends GlueServiceException_1.GlueServiceExcepti
|
|
|
743
692
|
Object.setPrototypeOf(this, VersionMismatchException.prototype);
|
|
744
693
|
this.Message = opts.Message;
|
|
745
694
|
}
|
|
746
|
-
}
|
|
747
|
-
exports.VersionMismatchException = VersionMismatchException;
|
|
695
|
+
};
|
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const retry_1 = require("@smithy/core/retry");
|
|
11
|
-
const serde_1 = require("@smithy/core/serde");
|
|
12
|
-
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
13
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
+
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
+
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
+
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
+
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
+
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
+
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
14
10
|
const getRuntimeConfig = (config) => {
|
|
15
|
-
const defaultsMode =
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
17
|
-
const clientSharedValues = (
|
|
11
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
14
|
return {
|
|
19
15
|
...clientSharedValues,
|
|
20
16
|
...config,
|
|
21
17
|
runtime: "browser",
|
|
22
18
|
defaultsMode,
|
|
23
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
19
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
20
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
26
|
-
maxAttempts: config?.maxAttempts ??
|
|
27
|
-
region: config?.region ??
|
|
28
|
-
requestHandler:
|
|
29
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
30
|
-
sha256: config?.sha256 ??
|
|
31
|
-
streamCollector: config?.streamCollector ??
|
|
32
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
33
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
21
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
+
sha256: config?.sha256 ?? Sha256,
|
|
27
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
30
|
};
|
|
35
31
|
};
|
|
36
32
|
exports.getRuntimeConfig = getRuntimeConfig;
|