@aws-sdk/client-dataexchange 3.934.0 → 3.935.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/index.js +0 -165
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +113 -0
- package/dist-es/models/models_0.js +0 -113
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +159 -0
- package/dist-types/models/models_0.d.ts +0 -158
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +64 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -63
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,18 +117,6 @@ let DataExchangeServiceException$1 = class DataExchangeServiceException extends
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const AcceptanceStateFilterValue = {
|
|
121
|
-
ACCEPTED: "ACCEPTED",
|
|
122
|
-
PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE",
|
|
123
|
-
};
|
|
124
|
-
const DataGrantAcceptanceState = {
|
|
125
|
-
ACCEPTED: "ACCEPTED",
|
|
126
|
-
PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE",
|
|
127
|
-
};
|
|
128
|
-
const GrantDistributionScope = {
|
|
129
|
-
AWS_ORGANIZATION: "AWS_ORGANIZATION",
|
|
130
|
-
NONE: "NONE",
|
|
131
|
-
};
|
|
132
120
|
let AccessDeniedException$1 = class AccessDeniedException extends DataExchangeServiceException$1 {
|
|
133
121
|
name = "AccessDeniedException";
|
|
134
122
|
$fault = "client";
|
|
@@ -143,14 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends DataExchangeSe
|
|
|
143
131
|
this.Message = opts.Message;
|
|
144
132
|
}
|
|
145
133
|
};
|
|
146
|
-
const ResourceType = {
|
|
147
|
-
ASSET: "ASSET",
|
|
148
|
-
DATA_GRANT: "DATA_GRANT",
|
|
149
|
-
DATA_SET: "DATA_SET",
|
|
150
|
-
EVENT_ACTION: "EVENT_ACTION",
|
|
151
|
-
JOB: "JOB",
|
|
152
|
-
REVISION: "REVISION",
|
|
153
|
-
};
|
|
154
134
|
let ConflictException$1 = class ConflictException extends DataExchangeServiceException$1 {
|
|
155
135
|
name = "ConflictException";
|
|
156
136
|
$fault = "client";
|
|
@@ -215,10 +195,6 @@ let ThrottlingException$1 = class ThrottlingException extends DataExchangeServic
|
|
|
215
195
|
this.Message = opts.Message;
|
|
216
196
|
}
|
|
217
197
|
};
|
|
218
|
-
const ExceptionCause = {
|
|
219
|
-
InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy",
|
|
220
|
-
S3AccessDenied: "S3AccessDenied",
|
|
221
|
-
};
|
|
222
198
|
let ValidationException$1 = class ValidationException extends DataExchangeServiceException$1 {
|
|
223
199
|
name = "ValidationException";
|
|
224
200
|
$fault = "client";
|
|
@@ -235,72 +211,6 @@ let ValidationException$1 = class ValidationException extends DataExchangeServic
|
|
|
235
211
|
this.ExceptionCause = opts.ExceptionCause;
|
|
236
212
|
}
|
|
237
213
|
};
|
|
238
|
-
const ServerSideEncryptionTypes = {
|
|
239
|
-
AES256: "AES256",
|
|
240
|
-
aws_kms: "aws:kms",
|
|
241
|
-
};
|
|
242
|
-
const ProtocolType = {
|
|
243
|
-
REST: "REST",
|
|
244
|
-
};
|
|
245
|
-
const LFResourceType = {
|
|
246
|
-
DATABASE: "DATABASE",
|
|
247
|
-
TABLE: "TABLE",
|
|
248
|
-
};
|
|
249
|
-
const LakeFormationDataPermissionType = {
|
|
250
|
-
LFTagPolicy: "LFTagPolicy",
|
|
251
|
-
};
|
|
252
|
-
const LFPermission = {
|
|
253
|
-
DESCRIBE: "DESCRIBE",
|
|
254
|
-
SELECT: "SELECT",
|
|
255
|
-
};
|
|
256
|
-
const AssetType = {
|
|
257
|
-
API_GATEWAY_API: "API_GATEWAY_API",
|
|
258
|
-
LAKE_FORMATION_DATA_PERMISSION: "LAKE_FORMATION_DATA_PERMISSION",
|
|
259
|
-
REDSHIFT_DATA_SHARE: "REDSHIFT_DATA_SHARE",
|
|
260
|
-
S3_DATA_ACCESS: "S3_DATA_ACCESS",
|
|
261
|
-
S3_SNAPSHOT: "S3_SNAPSHOT",
|
|
262
|
-
};
|
|
263
|
-
const Code = {
|
|
264
|
-
ACCESS_DENIED_EXCEPTION: "ACCESS_DENIED_EXCEPTION",
|
|
265
|
-
INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
|
|
266
|
-
MALWARE_DETECTED: "MALWARE_DETECTED",
|
|
267
|
-
MALWARE_SCAN_ENCRYPTED_FILE: "MALWARE_SCAN_ENCRYPTED_FILE",
|
|
268
|
-
RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",
|
|
269
|
-
SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION",
|
|
270
|
-
VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
|
|
271
|
-
};
|
|
272
|
-
const LimitName = {
|
|
273
|
-
AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision",
|
|
274
|
-
Active_and_pending_data_grants: "Active and pending data grants",
|
|
275
|
-
Amazon_API_Gateway_API_assets_per_revision: "Amazon API Gateway API assets per revision",
|
|
276
|
-
Amazon_Redshift_datashare_assets_per_import_job_from_Redshift: "Amazon Redshift datashare assets per import job from Redshift",
|
|
277
|
-
Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision",
|
|
278
|
-
Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision",
|
|
279
|
-
Asset_per_export_job_from_Amazon_S3: "Asset per export job from Amazon S3",
|
|
280
|
-
Asset_size_in_GB: "Asset size in GB",
|
|
281
|
-
Assets_per_import_job_from_Amazon_S3: "Assets per import job from Amazon S3",
|
|
282
|
-
Assets_per_revision: "Assets per revision",
|
|
283
|
-
Auto_export_event_actions_per_data_set: "Auto export event actions per data set",
|
|
284
|
-
Concurrent_in_progress_jobs_to_create_Amazon_S3_data_access_assets_from_S3_buckets: "Concurrent in progress jobs to create Amazon S3 data access assets from S3 buckets",
|
|
285
|
-
Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3: "Concurrent in progress jobs to export assets to Amazon S3",
|
|
286
|
-
Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL: "Concurrent in progress jobs to export assets to a signed URL",
|
|
287
|
-
Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3: "Concurrent in progress jobs to export revisions to Amazon S3",
|
|
288
|
-
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares: "Concurrent in progress jobs to import assets from Amazon Redshift datashares",
|
|
289
|
-
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3: "Concurrent in progress jobs to import assets from Amazon S3",
|
|
290
|
-
Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL: "Concurrent in progress jobs to import assets from a signed URL",
|
|
291
|
-
Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API: "Concurrent in progress jobs to import assets from an API Gateway API",
|
|
292
|
-
Concurrent_in_progress_jobs_to_import_assets_from_an_AWS_Lake_Formation_tag_policy: "Concurrent in progress jobs to import assets from an AWS Lake Formation tag policy",
|
|
293
|
-
Data_sets_per_account: "Data sets per account",
|
|
294
|
-
Data_sets_per_product: "Data sets per product",
|
|
295
|
-
Event_actions_per_account: "Event actions per account",
|
|
296
|
-
Pending_data_grants_per_consumer: "Pending data grants per consumer",
|
|
297
|
-
Products_per_account: "Products per account",
|
|
298
|
-
Revisions_per_AWS_Lake_Formation_data_permission_data_set: "Revisions per AWS Lake Formation data permission data set",
|
|
299
|
-
Revisions_per_Amazon_API_Gateway_API_data_set: "Revisions per Amazon API Gateway API data set",
|
|
300
|
-
Revisions_per_Amazon_Redshift_datashare_data_set: "Revisions per Amazon Redshift datashare data set",
|
|
301
|
-
Revisions_per_Amazon_S3_data_access_data_set: "Revisions per Amazon S3 data access data set",
|
|
302
|
-
Revisions_per_data_set: "Revisions per data set",
|
|
303
|
-
};
|
|
304
214
|
let ServiceLimitExceededException$1 = class ServiceLimitExceededException extends DataExchangeServiceException$1 {
|
|
305
215
|
name = "ServiceLimitExceededException";
|
|
306
216
|
$fault = "client";
|
|
@@ -319,59 +229,6 @@ let ServiceLimitExceededException$1 = class ServiceLimitExceededException extend
|
|
|
319
229
|
this.Message = opts.Message;
|
|
320
230
|
}
|
|
321
231
|
};
|
|
322
|
-
const Origin = {
|
|
323
|
-
ENTITLED: "ENTITLED",
|
|
324
|
-
OWNED: "OWNED",
|
|
325
|
-
};
|
|
326
|
-
const DatabaseLFTagPolicyPermission = {
|
|
327
|
-
DESCRIBE: "DESCRIBE",
|
|
328
|
-
};
|
|
329
|
-
const TableTagPolicyLFPermission = {
|
|
330
|
-
DESCRIBE: "DESCRIBE",
|
|
331
|
-
SELECT: "SELECT",
|
|
332
|
-
};
|
|
333
|
-
const Type = {
|
|
334
|
-
CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET: "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET",
|
|
335
|
-
EXPORT_ASSETS_TO_S3: "EXPORT_ASSETS_TO_S3",
|
|
336
|
-
EXPORT_ASSET_TO_SIGNED_URL: "EXPORT_ASSET_TO_SIGNED_URL",
|
|
337
|
-
EXPORT_REVISIONS_TO_S3: "EXPORT_REVISIONS_TO_S3",
|
|
338
|
-
IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY: "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY",
|
|
339
|
-
IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES: "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES",
|
|
340
|
-
IMPORT_ASSETS_FROM_S3: "IMPORT_ASSETS_FROM_S3",
|
|
341
|
-
IMPORT_ASSET_FROM_API_GATEWAY_API: "IMPORT_ASSET_FROM_API_GATEWAY_API",
|
|
342
|
-
IMPORT_ASSET_FROM_SIGNED_URL: "IMPORT_ASSET_FROM_SIGNED_URL",
|
|
343
|
-
};
|
|
344
|
-
const JobErrorLimitName = {
|
|
345
|
-
AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision",
|
|
346
|
-
Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision",
|
|
347
|
-
Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision",
|
|
348
|
-
Asset_size_in_GB: "Asset size in GB",
|
|
349
|
-
Assets_per_revision: "Assets per revision",
|
|
350
|
-
};
|
|
351
|
-
const JobErrorResourceTypes = {
|
|
352
|
-
ASSET: "ASSET",
|
|
353
|
-
DATA_SET: "DATA_SET",
|
|
354
|
-
REVISION: "REVISION",
|
|
355
|
-
};
|
|
356
|
-
const State = {
|
|
357
|
-
CANCELLED: "CANCELLED",
|
|
358
|
-
COMPLETED: "COMPLETED",
|
|
359
|
-
ERROR: "ERROR",
|
|
360
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
361
|
-
TIMED_OUT: "TIMED_OUT",
|
|
362
|
-
WAITING: "WAITING",
|
|
363
|
-
};
|
|
364
|
-
const SchemaChangeType = {
|
|
365
|
-
ADD: "ADD",
|
|
366
|
-
MODIFY: "MODIFY",
|
|
367
|
-
REMOVE: "REMOVE",
|
|
368
|
-
};
|
|
369
|
-
const NotificationType = {
|
|
370
|
-
DATA_DELAY: "DATA_DELAY",
|
|
371
|
-
DATA_UPDATE: "DATA_UPDATE",
|
|
372
|
-
DEPRECATION: "DEPRECATION",
|
|
373
|
-
SCHEMA_CHANGE: "SCHEMA_CHANGE",
|
|
374
|
-
};
|
|
375
232
|
|
|
376
233
|
const _ = "";
|
|
377
234
|
const _A = "Arn";
|
|
@@ -2704,11 +2561,8 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2704
2561
|
get: function () { return smithyClient.Client; }
|
|
2705
2562
|
});
|
|
2706
2563
|
exports.AcceptDataGrantCommand = AcceptDataGrantCommand;
|
|
2707
|
-
exports.AcceptanceStateFilterValue = AcceptanceStateFilterValue;
|
|
2708
2564
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2709
|
-
exports.AssetType = AssetType;
|
|
2710
2565
|
exports.CancelJobCommand = CancelJobCommand;
|
|
2711
|
-
exports.Code = Code;
|
|
2712
2566
|
exports.ConflictException = ConflictException$1;
|
|
2713
2567
|
exports.CreateDataGrantCommand = CreateDataGrantCommand;
|
|
2714
2568
|
exports.CreateDataSetCommand = CreateDataSetCommand;
|
|
@@ -2718,14 +2572,11 @@ exports.CreateRevisionCommand = CreateRevisionCommand;
|
|
|
2718
2572
|
exports.DataExchange = DataExchange;
|
|
2719
2573
|
exports.DataExchangeClient = DataExchangeClient;
|
|
2720
2574
|
exports.DataExchangeServiceException = DataExchangeServiceException$1;
|
|
2721
|
-
exports.DataGrantAcceptanceState = DataGrantAcceptanceState;
|
|
2722
|
-
exports.DatabaseLFTagPolicyPermission = DatabaseLFTagPolicyPermission;
|
|
2723
2575
|
exports.DeleteAssetCommand = DeleteAssetCommand;
|
|
2724
2576
|
exports.DeleteDataGrantCommand = DeleteDataGrantCommand;
|
|
2725
2577
|
exports.DeleteDataSetCommand = DeleteDataSetCommand;
|
|
2726
2578
|
exports.DeleteEventActionCommand = DeleteEventActionCommand;
|
|
2727
2579
|
exports.DeleteRevisionCommand = DeleteRevisionCommand;
|
|
2728
|
-
exports.ExceptionCause = ExceptionCause;
|
|
2729
2580
|
exports.GetAssetCommand = GetAssetCommand;
|
|
2730
2581
|
exports.GetDataGrantCommand = GetDataGrantCommand;
|
|
2731
2582
|
exports.GetDataSetCommand = GetDataSetCommand;
|
|
@@ -2733,14 +2584,7 @@ exports.GetEventActionCommand = GetEventActionCommand;
|
|
|
2733
2584
|
exports.GetJobCommand = GetJobCommand;
|
|
2734
2585
|
exports.GetReceivedDataGrantCommand = GetReceivedDataGrantCommand;
|
|
2735
2586
|
exports.GetRevisionCommand = GetRevisionCommand;
|
|
2736
|
-
exports.GrantDistributionScope = GrantDistributionScope;
|
|
2737
2587
|
exports.InternalServerException = InternalServerException$1;
|
|
2738
|
-
exports.JobErrorLimitName = JobErrorLimitName;
|
|
2739
|
-
exports.JobErrorResourceTypes = JobErrorResourceTypes;
|
|
2740
|
-
exports.LFPermission = LFPermission;
|
|
2741
|
-
exports.LFResourceType = LFResourceType;
|
|
2742
|
-
exports.LakeFormationDataPermissionType = LakeFormationDataPermissionType;
|
|
2743
|
-
exports.LimitName = LimitName;
|
|
2744
2588
|
exports.ListDataGrantsCommand = ListDataGrantsCommand;
|
|
2745
2589
|
exports.ListDataSetRevisionsCommand = ListDataSetRevisionsCommand;
|
|
2746
2590
|
exports.ListDataSetsCommand = ListDataSetsCommand;
|
|
@@ -2749,23 +2593,14 @@ exports.ListJobsCommand = ListJobsCommand;
|
|
|
2749
2593
|
exports.ListReceivedDataGrantsCommand = ListReceivedDataGrantsCommand;
|
|
2750
2594
|
exports.ListRevisionAssetsCommand = ListRevisionAssetsCommand;
|
|
2751
2595
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2752
|
-
exports.NotificationType = NotificationType;
|
|
2753
|
-
exports.Origin = Origin;
|
|
2754
|
-
exports.ProtocolType = ProtocolType;
|
|
2755
2596
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2756
|
-
exports.ResourceType = ResourceType;
|
|
2757
2597
|
exports.RevokeRevisionCommand = RevokeRevisionCommand;
|
|
2758
|
-
exports.SchemaChangeType = SchemaChangeType;
|
|
2759
2598
|
exports.SendApiAssetCommand = SendApiAssetCommand;
|
|
2760
2599
|
exports.SendDataSetNotificationCommand = SendDataSetNotificationCommand;
|
|
2761
|
-
exports.ServerSideEncryptionTypes = ServerSideEncryptionTypes;
|
|
2762
2600
|
exports.ServiceLimitExceededException = ServiceLimitExceededException$1;
|
|
2763
2601
|
exports.StartJobCommand = StartJobCommand;
|
|
2764
|
-
exports.State = State;
|
|
2765
|
-
exports.TableTagPolicyLFPermission = TableTagPolicyLFPermission;
|
|
2766
2602
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2767
2603
|
exports.ThrottlingException = ThrottlingException$1;
|
|
2768
|
-
exports.Type = Type;
|
|
2769
2604
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2770
2605
|
exports.UpdateAssetCommand = UpdateAssetCommand;
|
|
2771
2606
|
exports.UpdateDataSetCommand = UpdateDataSetCommand;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./DataExchangeClient";
|
|
|
2
2
|
export * from "./DataExchange";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { DataExchangeServiceException } from "./models/DataExchangeServiceException";
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
ResourceId;
|
|
21
|
+
ResourceType;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "ConflictException",
|
|
25
|
+
$fault: "client",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
+
this.Message = opts.Message;
|
|
30
|
+
this.ResourceId = opts.ResourceId;
|
|
31
|
+
this.ResourceType = opts.ResourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class InternalServerException extends __BaseException {
|
|
35
|
+
name = "InternalServerException";
|
|
36
|
+
$fault = "server";
|
|
37
|
+
Message;
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "InternalServerException",
|
|
41
|
+
$fault: "server",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
45
|
+
this.Message = opts.Message;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
49
|
+
name = "ResourceNotFoundException";
|
|
50
|
+
$fault = "client";
|
|
51
|
+
Message;
|
|
52
|
+
ResourceId;
|
|
53
|
+
ResourceType;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ResourceNotFoundException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
this.ResourceId = opts.ResourceId;
|
|
63
|
+
this.ResourceType = opts.ResourceType;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ThrottlingException extends __BaseException {
|
|
67
|
+
name = "ThrottlingException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
Message;
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ThrottlingException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
77
|
+
this.Message = opts.Message;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export class ValidationException extends __BaseException {
|
|
81
|
+
name = "ValidationException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
ExceptionCause;
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ValidationException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
92
|
+
this.Message = opts.Message;
|
|
93
|
+
this.ExceptionCause = opts.ExceptionCause;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export class ServiceLimitExceededException extends __BaseException {
|
|
97
|
+
name = "ServiceLimitExceededException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
LimitName;
|
|
100
|
+
LimitValue;
|
|
101
|
+
Message;
|
|
102
|
+
constructor(opts) {
|
|
103
|
+
super({
|
|
104
|
+
name: "ServiceLimitExceededException",
|
|
105
|
+
$fault: "client",
|
|
106
|
+
...opts,
|
|
107
|
+
});
|
|
108
|
+
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
109
|
+
this.LimitName = opts.LimitName;
|
|
110
|
+
this.LimitValue = opts.LimitValue;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
2
1
|
export const AcceptanceStateFilterValue = {
|
|
3
2
|
ACCEPTED: "ACCEPTED",
|
|
4
3
|
PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE",
|
|
@@ -11,20 +10,6 @@ export const GrantDistributionScope = {
|
|
|
11
10
|
AWS_ORGANIZATION: "AWS_ORGANIZATION",
|
|
12
11
|
NONE: "NONE",
|
|
13
12
|
};
|
|
14
|
-
export class AccessDeniedException extends __BaseException {
|
|
15
|
-
name = "AccessDeniedException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
Message;
|
|
18
|
-
constructor(opts) {
|
|
19
|
-
super({
|
|
20
|
-
name: "AccessDeniedException",
|
|
21
|
-
$fault: "client",
|
|
22
|
-
...opts,
|
|
23
|
-
});
|
|
24
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
25
|
-
this.Message = opts.Message;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
13
|
export const ResourceType = {
|
|
29
14
|
ASSET: "ASSET",
|
|
30
15
|
DATA_GRANT: "DATA_GRANT",
|
|
@@ -33,90 +18,10 @@ export const ResourceType = {
|
|
|
33
18
|
JOB: "JOB",
|
|
34
19
|
REVISION: "REVISION",
|
|
35
20
|
};
|
|
36
|
-
export class ConflictException extends __BaseException {
|
|
37
|
-
name = "ConflictException";
|
|
38
|
-
$fault = "client";
|
|
39
|
-
Message;
|
|
40
|
-
ResourceId;
|
|
41
|
-
ResourceType;
|
|
42
|
-
constructor(opts) {
|
|
43
|
-
super({
|
|
44
|
-
name: "ConflictException",
|
|
45
|
-
$fault: "client",
|
|
46
|
-
...opts,
|
|
47
|
-
});
|
|
48
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
49
|
-
this.Message = opts.Message;
|
|
50
|
-
this.ResourceId = opts.ResourceId;
|
|
51
|
-
this.ResourceType = opts.ResourceType;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export class InternalServerException extends __BaseException {
|
|
55
|
-
name = "InternalServerException";
|
|
56
|
-
$fault = "server";
|
|
57
|
-
Message;
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "InternalServerException",
|
|
61
|
-
$fault: "server",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
65
|
-
this.Message = opts.Message;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
69
|
-
name = "ResourceNotFoundException";
|
|
70
|
-
$fault = "client";
|
|
71
|
-
Message;
|
|
72
|
-
ResourceId;
|
|
73
|
-
ResourceType;
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ResourceNotFoundException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
81
|
-
this.Message = opts.Message;
|
|
82
|
-
this.ResourceId = opts.ResourceId;
|
|
83
|
-
this.ResourceType = opts.ResourceType;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class ThrottlingException extends __BaseException {
|
|
87
|
-
name = "ThrottlingException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
Message;
|
|
90
|
-
constructor(opts) {
|
|
91
|
-
super({
|
|
92
|
-
name: "ThrottlingException",
|
|
93
|
-
$fault: "client",
|
|
94
|
-
...opts,
|
|
95
|
-
});
|
|
96
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
|
-
this.Message = opts.Message;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
21
|
export const ExceptionCause = {
|
|
101
22
|
InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy",
|
|
102
23
|
S3AccessDenied: "S3AccessDenied",
|
|
103
24
|
};
|
|
104
|
-
export class ValidationException extends __BaseException {
|
|
105
|
-
name = "ValidationException";
|
|
106
|
-
$fault = "client";
|
|
107
|
-
Message;
|
|
108
|
-
ExceptionCause;
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "ValidationException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
116
|
-
this.Message = opts.Message;
|
|
117
|
-
this.ExceptionCause = opts.ExceptionCause;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
25
|
export const ServerSideEncryptionTypes = {
|
|
121
26
|
AES256: "AES256",
|
|
122
27
|
aws_kms: "aws:kms",
|
|
@@ -183,24 +88,6 @@ export const LimitName = {
|
|
|
183
88
|
Revisions_per_Amazon_S3_data_access_data_set: "Revisions per Amazon S3 data access data set",
|
|
184
89
|
Revisions_per_data_set: "Revisions per data set",
|
|
185
90
|
};
|
|
186
|
-
export class ServiceLimitExceededException extends __BaseException {
|
|
187
|
-
name = "ServiceLimitExceededException";
|
|
188
|
-
$fault = "client";
|
|
189
|
-
LimitName;
|
|
190
|
-
LimitValue;
|
|
191
|
-
Message;
|
|
192
|
-
constructor(opts) {
|
|
193
|
-
super({
|
|
194
|
-
name: "ServiceLimitExceededException",
|
|
195
|
-
$fault: "client",
|
|
196
|
-
...opts,
|
|
197
|
-
});
|
|
198
|
-
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
199
|
-
this.LimitName = opts.LimitName;
|
|
200
|
-
this.LimitValue = opts.LimitValue;
|
|
201
|
-
this.Message = opts.Message;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
91
|
export const Origin = {
|
|
205
92
|
ENTITLED: "ENTITLED",
|
|
206
93
|
OWNED: "OWNED",
|
|
@@ -350,7 +350,7 @@ const _xadri = "x-amzn-dataexchange-revision-id";
|
|
|
350
350
|
const n0 = "com.amazonaws.dataexchange";
|
|
351
351
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
352
352
|
import { DataExchangeServiceException as __DataExchangeServiceException } from "../models/DataExchangeServiceException";
|
|
353
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceLimitExceededException as __ServiceLimitExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
353
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceLimitExceededException as __ServiceLimitExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
354
354
|
export var AcceptDataGrantRequest = [3, n0, _ADGR, 0, [_DGA], [[0, 1]]];
|
|
355
355
|
export var AcceptDataGrantResponse = [
|
|
356
356
|
3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -27,5 +27,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
27
27
|
export type { DataExchangeExtensionConfiguration } from "./extensionConfiguration";
|
|
28
28
|
export * from "./commands";
|
|
29
29
|
export * from "./pagination";
|
|
30
|
-
export * from "./models";
|
|
30
|
+
export * from "./models/errors";
|
|
31
|
+
export type * from "./models/models_0";
|
|
31
32
|
export { DataExchangeServiceException } from "./models/DataExchangeServiceException";
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
3
|
+
import { ExceptionCause, LimitName, ResourceType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Access to the resource is denied.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* <p>Access to the resource is denied.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Message: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
23
|
+
* resource.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export declare class ConflictException extends __BaseException {
|
|
27
|
+
readonly name: "ConflictException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
/**
|
|
30
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
31
|
+
* resource.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
Message: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The unique identifier for the resource with the conflict.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
ResourceId?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The type of the resource with the conflict.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
ResourceType?: ResourceType | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* <p>An exception occurred with the service.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export declare class InternalServerException extends __BaseException {
|
|
55
|
+
readonly name: "InternalServerException";
|
|
56
|
+
readonly $fault: "server";
|
|
57
|
+
/**
|
|
58
|
+
* <p>The message identifying the service exception that occurred.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
Message: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* <p>The resource couldn't be found.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
72
|
+
readonly name: "ResourceNotFoundException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
/**
|
|
75
|
+
* <p>The resource couldn't be found.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
Message: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The unique identifier for the resource that couldn't be found.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
ResourceId?: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The type of resource that couldn't be found.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
ResourceType?: ResourceType | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ThrottlingException extends __BaseException {
|
|
99
|
+
readonly name: "ThrottlingException";
|
|
100
|
+
readonly $fault: "client";
|
|
101
|
+
/**
|
|
102
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
Message: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* <p>The request was invalid.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class ValidationException extends __BaseException {
|
|
116
|
+
readonly name: "ValidationException";
|
|
117
|
+
readonly $fault: "client";
|
|
118
|
+
/**
|
|
119
|
+
* <p>The message that informs you about what was invalid about the request.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
Message: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The unique identifier for the resource that couldn't be found.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
ExceptionCause?: ExceptionCause | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* <p>The request has exceeded the quotas imposed by the service.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare class ServiceLimitExceededException extends __BaseException {
|
|
138
|
+
readonly name: "ServiceLimitExceededException";
|
|
139
|
+
readonly $fault: "client";
|
|
140
|
+
/**
|
|
141
|
+
* <p>The name of the limit that was reached.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
LimitName?: LimitName | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* <p>The value of the exceeded limit.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
LimitValue?: number | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The request has exceeded the quotas imposed by the service.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
Message: string | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
159
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
3
1
|
/**
|
|
4
2
|
* @public
|
|
5
3
|
* @enum
|
|
@@ -116,23 +114,6 @@ export interface AcceptDataGrantResponse {
|
|
|
116
114
|
*/
|
|
117
115
|
UpdatedAt: Date | undefined;
|
|
118
116
|
}
|
|
119
|
-
/**
|
|
120
|
-
* <p>Access to the resource is denied.</p>
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
124
|
-
readonly name: "AccessDeniedException";
|
|
125
|
-
readonly $fault: "client";
|
|
126
|
-
/**
|
|
127
|
-
* <p>Access to the resource is denied.</p>
|
|
128
|
-
* @public
|
|
129
|
-
*/
|
|
130
|
-
Message: string | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
135
|
-
}
|
|
136
117
|
/**
|
|
137
118
|
* @public
|
|
138
119
|
* @enum
|
|
@@ -149,96 +130,6 @@ export declare const ResourceType: {
|
|
|
149
130
|
* @public
|
|
150
131
|
*/
|
|
151
132
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
152
|
-
/**
|
|
153
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
154
|
-
* resource.</p>
|
|
155
|
-
* @public
|
|
156
|
-
*/
|
|
157
|
-
export declare class ConflictException extends __BaseException {
|
|
158
|
-
readonly name: "ConflictException";
|
|
159
|
-
readonly $fault: "client";
|
|
160
|
-
/**
|
|
161
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
162
|
-
* resource.</p>
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
Message: string | undefined;
|
|
166
|
-
/**
|
|
167
|
-
* <p>The unique identifier for the resource with the conflict.</p>
|
|
168
|
-
* @public
|
|
169
|
-
*/
|
|
170
|
-
ResourceId?: string | undefined;
|
|
171
|
-
/**
|
|
172
|
-
* <p>The type of the resource with the conflict.</p>
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
ResourceType?: ResourceType | undefined;
|
|
176
|
-
/**
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
179
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* <p>An exception occurred with the service.</p>
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
export declare class InternalServerException extends __BaseException {
|
|
186
|
-
readonly name: "InternalServerException";
|
|
187
|
-
readonly $fault: "server";
|
|
188
|
-
/**
|
|
189
|
-
* <p>The message identifying the service exception that occurred.</p>
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
Message: string | undefined;
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
*/
|
|
196
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* <p>The resource couldn't be found.</p>
|
|
200
|
-
* @public
|
|
201
|
-
*/
|
|
202
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
203
|
-
readonly name: "ResourceNotFoundException";
|
|
204
|
-
readonly $fault: "client";
|
|
205
|
-
/**
|
|
206
|
-
* <p>The resource couldn't be found.</p>
|
|
207
|
-
* @public
|
|
208
|
-
*/
|
|
209
|
-
Message: string | undefined;
|
|
210
|
-
/**
|
|
211
|
-
* <p>The unique identifier for the resource that couldn't be found.</p>
|
|
212
|
-
* @public
|
|
213
|
-
*/
|
|
214
|
-
ResourceId?: string | undefined;
|
|
215
|
-
/**
|
|
216
|
-
* <p>The type of resource that couldn't be found.</p>
|
|
217
|
-
* @public
|
|
218
|
-
*/
|
|
219
|
-
ResourceType?: ResourceType | undefined;
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
227
|
-
* @public
|
|
228
|
-
*/
|
|
229
|
-
export declare class ThrottlingException extends __BaseException {
|
|
230
|
-
readonly name: "ThrottlingException";
|
|
231
|
-
readonly $fault: "client";
|
|
232
|
-
/**
|
|
233
|
-
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
234
|
-
* @public
|
|
235
|
-
*/
|
|
236
|
-
Message: string | undefined;
|
|
237
|
-
/**
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
241
|
-
}
|
|
242
133
|
/**
|
|
243
134
|
* @public
|
|
244
135
|
* @enum
|
|
@@ -251,28 +142,6 @@ export declare const ExceptionCause: {
|
|
|
251
142
|
* @public
|
|
252
143
|
*/
|
|
253
144
|
export type ExceptionCause = (typeof ExceptionCause)[keyof typeof ExceptionCause];
|
|
254
|
-
/**
|
|
255
|
-
* <p>The request was invalid.</p>
|
|
256
|
-
* @public
|
|
257
|
-
*/
|
|
258
|
-
export declare class ValidationException extends __BaseException {
|
|
259
|
-
readonly name: "ValidationException";
|
|
260
|
-
readonly $fault: "client";
|
|
261
|
-
/**
|
|
262
|
-
* <p>The message that informs you about what was invalid about the request.</p>
|
|
263
|
-
* @public
|
|
264
|
-
*/
|
|
265
|
-
Message: string | undefined;
|
|
266
|
-
/**
|
|
267
|
-
* <p>The unique identifier for the resource that couldn't be found.</p>
|
|
268
|
-
* @public
|
|
269
|
-
*/
|
|
270
|
-
ExceptionCause?: ExceptionCause | undefined;
|
|
271
|
-
/**
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
275
|
-
}
|
|
276
145
|
/**
|
|
277
146
|
* @public
|
|
278
147
|
* @enum
|
|
@@ -980,33 +849,6 @@ export declare const LimitName: {
|
|
|
980
849
|
* @public
|
|
981
850
|
*/
|
|
982
851
|
export type LimitName = (typeof LimitName)[keyof typeof LimitName];
|
|
983
|
-
/**
|
|
984
|
-
* <p>The request has exceeded the quotas imposed by the service.</p>
|
|
985
|
-
* @public
|
|
986
|
-
*/
|
|
987
|
-
export declare class ServiceLimitExceededException extends __BaseException {
|
|
988
|
-
readonly name: "ServiceLimitExceededException";
|
|
989
|
-
readonly $fault: "client";
|
|
990
|
-
/**
|
|
991
|
-
* <p>The name of the limit that was reached.</p>
|
|
992
|
-
* @public
|
|
993
|
-
*/
|
|
994
|
-
LimitName?: LimitName | undefined;
|
|
995
|
-
/**
|
|
996
|
-
* <p>The value of the exceeded limit.</p>
|
|
997
|
-
* @public
|
|
998
|
-
*/
|
|
999
|
-
LimitValue?: number | undefined;
|
|
1000
|
-
/**
|
|
1001
|
-
* <p>The request has exceeded the quotas imposed by the service.</p>
|
|
1002
|
-
* @public
|
|
1003
|
-
*/
|
|
1004
|
-
Message: string | undefined;
|
|
1005
|
-
/**
|
|
1006
|
-
* @internal
|
|
1007
|
-
*/
|
|
1008
|
-
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
1009
|
-
}
|
|
1010
852
|
/**
|
|
1011
853
|
* @public
|
|
1012
854
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { DataExchangeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { DataExchangeServiceException } from "./models/DataExchangeServiceException";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
3
|
+
import { ExceptionCause, LimitName, ResourceType } from "./models_0";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Message: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class ConflictException extends __BaseException {
|
|
13
|
+
readonly name: "ConflictException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
Message: string | undefined;
|
|
16
|
+
ResourceId?: string | undefined;
|
|
17
|
+
ResourceType?: ResourceType | undefined;
|
|
18
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
|
+
}
|
|
20
|
+
export declare class InternalServerException extends __BaseException {
|
|
21
|
+
readonly name: "InternalServerException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
Message: string | undefined;
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
29
|
+
readonly name: "ResourceNotFoundException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
Message: string | undefined;
|
|
32
|
+
ResourceId?: string | undefined;
|
|
33
|
+
ResourceType?: ResourceType | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ThrottlingException extends __BaseException {
|
|
39
|
+
readonly name: "ThrottlingException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
Message: string | undefined;
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class ValidationException extends __BaseException {
|
|
47
|
+
readonly name: "ValidationException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message: string | undefined;
|
|
50
|
+
ExceptionCause?: ExceptionCause | undefined;
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export declare class ServiceLimitExceededException extends __BaseException {
|
|
56
|
+
readonly name: "ServiceLimitExceededException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
LimitName?: LimitName | undefined;
|
|
59
|
+
LimitValue?: number | undefined;
|
|
60
|
+
Message: string | undefined;
|
|
61
|
+
constructor(
|
|
62
|
+
opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
3
1
|
export declare const AcceptanceStateFilterValue: {
|
|
4
2
|
readonly ACCEPTED: "ACCEPTED";
|
|
5
3
|
readonly PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE";
|
|
@@ -36,14 +34,6 @@ export interface AcceptDataGrantResponse {
|
|
|
36
34
|
CreatedAt: Date | undefined;
|
|
37
35
|
UpdatedAt: Date | undefined;
|
|
38
36
|
}
|
|
39
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
40
|
-
readonly name: "AccessDeniedException";
|
|
41
|
-
readonly $fault: "client";
|
|
42
|
-
Message: string | undefined;
|
|
43
|
-
constructor(
|
|
44
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
37
|
export declare const ResourceType: {
|
|
48
38
|
readonly ASSET: "ASSET";
|
|
49
39
|
readonly DATA_GRANT: "DATA_GRANT";
|
|
@@ -53,55 +43,12 @@ export declare const ResourceType: {
|
|
|
53
43
|
readonly REVISION: "REVISION";
|
|
54
44
|
};
|
|
55
45
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
56
|
-
export declare class ConflictException extends __BaseException {
|
|
57
|
-
readonly name: "ConflictException";
|
|
58
|
-
readonly $fault: "client";
|
|
59
|
-
Message: string | undefined;
|
|
60
|
-
ResourceId?: string | undefined;
|
|
61
|
-
ResourceType?: ResourceType | undefined;
|
|
62
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
63
|
-
}
|
|
64
|
-
export declare class InternalServerException extends __BaseException {
|
|
65
|
-
readonly name: "InternalServerException";
|
|
66
|
-
readonly $fault: "server";
|
|
67
|
-
Message: string | undefined;
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
73
|
-
readonly name: "ResourceNotFoundException";
|
|
74
|
-
readonly $fault: "client";
|
|
75
|
-
Message: string | undefined;
|
|
76
|
-
ResourceId?: string | undefined;
|
|
77
|
-
ResourceType?: ResourceType | undefined;
|
|
78
|
-
constructor(
|
|
79
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
export declare class ThrottlingException extends __BaseException {
|
|
83
|
-
readonly name: "ThrottlingException";
|
|
84
|
-
readonly $fault: "client";
|
|
85
|
-
Message: string | undefined;
|
|
86
|
-
constructor(
|
|
87
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
46
|
export declare const ExceptionCause: {
|
|
91
47
|
readonly InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy";
|
|
92
48
|
readonly S3AccessDenied: "S3AccessDenied";
|
|
93
49
|
};
|
|
94
50
|
export type ExceptionCause =
|
|
95
51
|
(typeof ExceptionCause)[keyof typeof ExceptionCause];
|
|
96
|
-
export declare class ValidationException extends __BaseException {
|
|
97
|
-
readonly name: "ValidationException";
|
|
98
|
-
readonly $fault: "client";
|
|
99
|
-
Message: string | undefined;
|
|
100
|
-
ExceptionCause?: ExceptionCause | undefined;
|
|
101
|
-
constructor(
|
|
102
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
52
|
export declare const ServerSideEncryptionTypes: {
|
|
106
53
|
readonly AES256: "AES256";
|
|
107
54
|
readonly aws_kms: "aws:kms";
|
|
@@ -311,16 +258,6 @@ export declare const LimitName: {
|
|
|
311
258
|
readonly Revisions_per_data_set: "Revisions per data set";
|
|
312
259
|
};
|
|
313
260
|
export type LimitName = (typeof LimitName)[keyof typeof LimitName];
|
|
314
|
-
export declare class ServiceLimitExceededException extends __BaseException {
|
|
315
|
-
readonly name: "ServiceLimitExceededException";
|
|
316
|
-
readonly $fault: "client";
|
|
317
|
-
LimitName?: LimitName | undefined;
|
|
318
|
-
LimitValue?: number | undefined;
|
|
319
|
-
Message: string | undefined;
|
|
320
|
-
constructor(
|
|
321
|
-
opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>
|
|
322
|
-
);
|
|
323
|
-
}
|
|
324
261
|
export interface CreateDataSetRequest {
|
|
325
262
|
AssetType: AssetType | undefined;
|
|
326
263
|
Description: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dataexchange",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dataexchange Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dataexchange",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|