-
Notifications
You must be signed in to change notification settings - Fork 570
/
models_0.ts
3694 lines (3120 loc) · 89.4 KB
/
models_0.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// smithy-typescript generated code
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
/**
* <p>Access to the resource is denied.</p>
*/
export class AccessDeniedException extends __BaseException {
readonly name: "AccessDeniedException" = "AccessDeniedException";
readonly $fault: "client" = "client";
/**
* <p>Access to the resource is denied.</p>
*/
Message: string | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>) {
super({
name: "AccessDeniedException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, AccessDeniedException.prototype);
this.Message = opts.Message;
}
}
export enum ServerSideEncryptionTypes {
AES256 = "AES256",
aws_kms = "aws:kms",
}
/**
* <p>Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption type.</p>
*/
export interface ExportServerSideEncryption {
/**
* <p>The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.</p>
*/
KmsKeyArn?: string;
/**
* <p>The type of server side encryption used for encrypting the objects in Amazon S3.</p>
*/
Type: ServerSideEncryptionTypes | string | undefined;
}
/**
* <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
*/
export interface AutoExportRevisionDestinationEntry {
/**
* <p>The Amazon S3 bucket that is the destination for the event action.</p>
*/
Bucket: string | undefined;
/**
* <p>A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see <a href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns">Key patterns when exporting revisions</a>.</p>
*/
KeyPattern?: string;
}
/**
* <p>Details of the operation to be performed by the job.</p>
*/
export interface AutoExportRevisionToS3RequestDetails {
/**
* <p>Encryption configuration for the auto export job.</p>
*/
Encryption?: ExportServerSideEncryption;
/**
* <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
*/
RevisionDestination: AutoExportRevisionDestinationEntry | undefined;
}
/**
* <p>What occurs after a certain event.</p>
*/
export interface Action {
/**
* <p>Details for the export revision to Amazon S3 action.</p>
*/
ExportRevisionToS3?: AutoExportRevisionToS3RequestDetails;
}
export enum ProtocolType {
REST = "REST",
}
/**
* <p>The API Gateway API that is the asset.</p>
*/
export interface ApiGatewayApiAsset {
/**
* <p>The API description of the API asset.</p>
*/
ApiDescription?: string;
/**
* <p>The API endpoint of the API asset.</p>
*/
ApiEndpoint?: string;
/**
* <p>The unique identifier of the API asset.</p>
*/
ApiId?: string;
/**
* <p>The API key of the API asset.</p>
*/
ApiKey?: string;
/**
* <p>The API name of the API asset.</p>
*/
ApiName?: string;
/**
* <p>The download URL of the API specification of the API asset.</p>
*/
ApiSpecificationDownloadUrl?: string;
/**
* <p>The date and time that the upload URL expires, in ISO 8601 format.</p>
*/
ApiSpecificationDownloadUrlExpiresAt?: Date;
/**
* <p>The protocol type of the API asset.</p>
*/
ProtocolType?: ProtocolType | string;
/**
* <p>The stage of the API asset.</p>
*/
Stage?: string;
}
/**
* <p>The destination for the asset.</p>
*/
export interface AssetDestinationEntry {
/**
* <p>The unique identifier for the asset.</p>
*/
AssetId: string | undefined;
/**
* <p>The Amazon S3 bucket that is the destination for the asset.</p>
*/
Bucket: string | undefined;
/**
* <p>The name of the object in Amazon S3 for the asset.</p>
*/
Key?: string;
}
/**
* <p>A structure that allows an LF-admin to grant permissions on certain conditions.</p>
*/
export interface LFTag {
/**
* <p>The key name for the LF-tag.</p>
*/
TagKey: string | undefined;
/**
* <p>A list of LF-tag values.</p>
*/
TagValues: string[] | undefined;
}
/**
* <p>The LF-tag policy for database resources.</p>
*/
export interface DatabaseLFTagPolicy {
/**
* <p>A list of LF-tag conditions that apply to database resources.</p>
*/
Expression: LFTag[] | undefined;
}
/**
* <p>The LF-tag policy for a table resource.</p>
*/
export interface TableLFTagPolicy {
/**
* <p>A list of LF-tag conditions that apply to table resources.</p>
*/
Expression: LFTag[] | undefined;
}
/**
* <p>Details about the AWS Lake Formation resource (Table or Database) included in the AWS Lake Formation data permission.</p>
*/
export interface LFResourceDetails {
/**
* <p>Details about the database resource included in the AWS Lake Formation data permission.</p>
*/
Database?: DatabaseLFTagPolicy;
/**
* <p>Details about the table resource included in the AWS Lake Formation data permission.</p>
*/
Table?: TableLFTagPolicy;
}
export enum LFResourceType {
DATABASE = "DATABASE",
TABLE = "TABLE",
}
/**
* <p>Details about the LF-tag policy.</p>
*/
export interface LFTagPolicyDetails {
/**
* <p>The identifier for the AWS Glue Data Catalog.</p>
*/
CatalogId: string | undefined;
/**
* <p>The resource type for which the LF-tag policy applies.</p>
*/
ResourceType: LFResourceType | string | undefined;
/**
* <p>Details for the Lake Formation Resources included in the LF-tag policy.</p>
*/
ResourceDetails: LFResourceDetails | undefined;
}
/**
* <p>Details about the AWS Lake Formation data permission.</p>
*/
export interface LakeFormationDataPermissionDetails {
/**
* <p>Details about the LF-tag policy.</p>
*/
LFTagPolicy?: LFTagPolicyDetails;
}
export enum LakeFormationDataPermissionType {
LFTagPolicy = "LFTagPolicy",
}
export enum LFPermission {
DESCRIBE = "DESCRIBE",
SELECT = "SELECT",
}
/**
* <p>The AWS Lake Formation data permission asset.</p>
*/
export interface LakeFormationDataPermissionAsset {
/**
* <p>Details about the AWS Lake Formation data permission.</p>
*/
LakeFormationDataPermissionDetails: LakeFormationDataPermissionDetails | undefined;
/**
* <p>The data permission type.</p>
*/
LakeFormationDataPermissionType: LakeFormationDataPermissionType | string | undefined;
/**
* <p>The permissions granted to the subscribers on the resource.</p>
*/
Permissions: (LFPermission | string)[] | undefined;
/**
* <p>The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions to AWS Lake Formation data permissions.</p>
*/
RoleArn?: string;
}
/**
* <p>The Amazon Redshift datashare asset.</p>
*/
export interface RedshiftDataShareAsset {
/**
* <p>The Amazon Resource Name (ARN) of the datashare asset.</p>
*/
Arn: string | undefined;
}
/**
* <p>The Amazon S3 data access that is the asset.</p>
*/
export interface S3DataAccessAsset {
/**
* <p>The Amazon S3 bucket hosting data to be shared in the S3 data access.</p>
*/
Bucket: string | undefined;
/**
* <p>The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.</p>
*/
KeyPrefixes?: string[];
/**
* <p>S3 keys made available using this asset.</p>
*/
Keys?: string[];
/**
* <p>The automatically-generated bucket-style alias for your Amazon S3 Access Point. Customers can access their entitled data using the S3 Access Point alias.</p>
*/
S3AccessPointAlias?: string;
/**
* <p>The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.</p>
*/
S3AccessPointArn?: string;
}
/**
* <p>The Amazon S3 object that is the asset.</p>
*/
export interface S3SnapshotAsset {
/**
* <p>The size of the Amazon S3 object that is the object.</p>
*/
Size: number | undefined;
}
/**
* <p>Details about the asset.</p>
*/
export interface AssetDetails {
/**
* <p>The Amazon S3 object that is the asset.</p>
*/
S3SnapshotAsset?: S3SnapshotAsset;
/**
* <p>The Amazon Redshift datashare that is the asset.</p>
*/
RedshiftDataShareAsset?: RedshiftDataShareAsset;
/**
* <p>Information about the API Gateway API asset.</p>
*/
ApiGatewayApiAsset?: ApiGatewayApiAsset;
/**
* <p>The Amazon S3 data access that is the asset.</p>
*/
S3DataAccessAsset?: S3DataAccessAsset;
/**
* <p>The AWS Lake Formation data permission that is the asset.</p>
*/
LakeFormationDataPermissionAsset?: LakeFormationDataPermissionAsset;
}
export enum AssetType {
API_GATEWAY_API = "API_GATEWAY_API",
LAKE_FORMATION_DATA_PERMISSION = "LAKE_FORMATION_DATA_PERMISSION",
REDSHIFT_DATA_SHARE = "REDSHIFT_DATA_SHARE",
S3_DATA_ACCESS = "S3_DATA_ACCESS",
S3_SNAPSHOT = "S3_SNAPSHOT",
}
/**
* <p>An asset in AWS Data Exchange is a piece of data (Amazon S3 object) or a means of
* fulfilling data (Amazon Redshift datashare or Amazon API Gateway API, AWS Lake Formation
* data permission, or Amazon S3 data access). The asset can be a structured data file, an
* image file, or some other data file that can be stored as an Amazon S3 object, an Amazon
* API Gateway API, or an Amazon Redshift datashare, an AWS Lake Formation data permission, or
* an Amazon S3 data access. When you create an import job for your files, API Gateway APIs,
* Amazon Redshift datashares, AWS Lake Formation data permission, or Amazon S3 data access,
* you create an asset in AWS Data Exchange.</p>
*/
export interface AssetEntry {
/**
* <p>The ARN for the asset.</p>
*/
Arn: string | undefined;
/**
* <p>Details about the asset.</p>
*/
AssetDetails: AssetDetails | undefined;
/**
* <p>The type of asset that is added to a data set.</p>
*/
AssetType: AssetType | string | undefined;
/**
* <p>The date and time that the asset was created, in ISO 8601 format.</p>
*/
CreatedAt: Date | undefined;
/**
* <p>The unique identifier for the data set associated with this asset.</p>
*/
DataSetId: string | undefined;
/**
* <p>The unique identifier for the asset.</p>
*/
Id: string | undefined;
/**
* <p>The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used
* as the asset name. When exporting to Amazon S3, the asset name is used as default target
* Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as
* the asset name. When importing from Amazon Redshift, the datashare name is used as the
* asset name. When importing from AWS Lake Formation, the static values of "Database(s)
* included in LF-tag policy" or "Table(s) included in LF-tag policy" are used as the asset
* name.</p>
*/
Name: string | undefined;
/**
* <p>The unique identifier for the revision associated with this asset.</p>
*/
RevisionId: string | undefined;
/**
* <p>The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.</p>
*/
SourceId?: string;
/**
* <p>The date and time that the asset was last updated, in ISO 8601 format.</p>
*/
UpdatedAt: Date | undefined;
}
/**
* <p>The source of the assets.</p>
*/
export interface AssetSourceEntry {
/**
* <p>The Amazon S3 bucket that's part of the source of the asset.</p>
*/
Bucket: string | undefined;
/**
* <p>The name of the object in Amazon S3 for the asset.</p>
*/
Key: string | undefined;
}
export interface CancelJobRequest {
/**
* <p>The unique identifier for a job.</p>
*/
JobId: string | undefined;
}
export enum ResourceType {
ASSET = "ASSET",
DATA_SET = "DATA_SET",
EVENT_ACTION = "EVENT_ACTION",
JOB = "JOB",
REVISION = "REVISION",
}
/**
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
*/
export class ConflictException extends __BaseException {
readonly name: "ConflictException" = "ConflictException";
readonly $fault: "client" = "client";
/**
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
*/
Message: string | undefined;
/**
* <p>The unique identifier for the resource with the conflict.</p>
*/
ResourceId?: string;
/**
* <p>The type of the resource with the conflict.</p>
*/
ResourceType?: ResourceType | string;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>) {
super({
name: "ConflictException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ConflictException.prototype);
this.Message = opts.Message;
this.ResourceId = opts.ResourceId;
this.ResourceType = opts.ResourceType;
}
}
/**
* <p>An exception occurred with the service.</p>
*/
export class InternalServerException extends __BaseException {
readonly name: "InternalServerException" = "InternalServerException";
readonly $fault: "server" = "server";
/**
* <p>The message identifying the service exception that occurred.</p>
*/
Message: string | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>) {
super({
name: "InternalServerException",
$fault: "server",
...opts,
});
Object.setPrototypeOf(this, InternalServerException.prototype);
this.Message = opts.Message;
}
}
/**
* <p>The resource couldn't be found.</p>
*/
export class ResourceNotFoundException extends __BaseException {
readonly name: "ResourceNotFoundException" = "ResourceNotFoundException";
readonly $fault: "client" = "client";
/**
* <p>The resource couldn't be found.</p>
*/
Message: string | undefined;
/**
* <p>The unique identifier for the resource that couldn't be found.</p>
*/
ResourceId?: string;
/**
* <p>The type of resource that couldn't be found.</p>
*/
ResourceType?: ResourceType | string;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>) {
super({
name: "ResourceNotFoundException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
this.Message = opts.Message;
this.ResourceId = opts.ResourceId;
this.ResourceType = opts.ResourceType;
}
}
/**
* <p>The limit on the number of requests per second was exceeded.</p>
*/
export class ThrottlingException extends __BaseException {
readonly name: "ThrottlingException" = "ThrottlingException";
readonly $fault: "client" = "client";
/**
* <p>The limit on the number of requests per second was exceeded.</p>
*/
Message: string | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>) {
super({
name: "ThrottlingException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ThrottlingException.prototype);
this.Message = opts.Message;
}
}
export enum ExceptionCause {
InsufficientS3BucketPolicy = "InsufficientS3BucketPolicy",
S3AccessDenied = "S3AccessDenied",
}
/**
* <p>The request was invalid.</p>
*/
export class ValidationException extends __BaseException {
readonly name: "ValidationException" = "ValidationException";
readonly $fault: "client" = "client";
/**
* <p>The message that informs you about what was invalid about the request.</p>
*/
Message: string | undefined;
/**
* <p>The unique identifier for the resource that couldn't be found.</p>
*/
ExceptionCause?: ExceptionCause | string;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>) {
super({
name: "ValidationException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ValidationException.prototype);
this.Message = opts.Message;
this.ExceptionCause = opts.ExceptionCause;
}
}
export enum Code {
ACCESS_DENIED_EXCEPTION = "ACCESS_DENIED_EXCEPTION",
INTERNAL_SERVER_EXCEPTION = "INTERNAL_SERVER_EXCEPTION",
MALWARE_DETECTED = "MALWARE_DETECTED",
MALWARE_SCAN_ENCRYPTED_FILE = "MALWARE_SCAN_ENCRYPTED_FILE",
RESOURCE_NOT_FOUND_EXCEPTION = "RESOURCE_NOT_FOUND_EXCEPTION",
SERVICE_QUOTA_EXCEEDED_EXCEPTION = "SERVICE_QUOTA_EXCEEDED_EXCEPTION",
VALIDATION_EXCEPTION = "VALIDATION_EXCEPTION",
}
export interface CreateDataSetRequest {
/**
* <p>The type of asset that is added to a data set.</p>
*/
AssetType: AssetType | string | undefined;
/**
* <p>A description for the data set. This value can be up to 16,348 characters long.</p>
*/
Description: string | undefined;
/**
* <p>The name of the data set.</p>
*/
Name: string | undefined;
/**
* <p>A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.</p>
*/
Tags?: Record<string, string>;
}
export enum Origin {
ENTITLED = "ENTITLED",
OWNED = "OWNED",
}
/**
* <p>Details about the origin of the data set.</p>
*/
export interface OriginDetails {
/**
* <p>The product ID of the origin of the data set.</p>
*/
ProductId: string | undefined;
}
export interface CreateDataSetResponse {
/**
* <p>The ARN for the data set.</p>
*/
Arn?: string;
/**
* <p>The type of asset that is added to a data set.</p>
*/
AssetType?: AssetType | string;
/**
* <p>The date and time that the data set was created, in ISO 8601 format.</p>
*/
CreatedAt?: Date;
/**
* <p>The description for the data set.</p>
*/
Description?: string;
/**
* <p>The unique identifier for the data set.</p>
*/
Id?: string;
/**
* <p>The name of the data set.</p>
*/
Name?: string;
/**
* <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).</p>
*/
Origin?: Origin | string;
/**
* <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.</p>
*/
OriginDetails?: OriginDetails;
/**
* <p>The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.</p>
*/
SourceId?: string;
/**
* <p>The tags for the data set.</p>
*/
Tags?: Record<string, string>;
/**
* <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
*/
UpdatedAt?: Date;
}
export enum LimitName {
AWS_Lake_Formation_data_permission_assets_per_revision = "AWS Lake Formation data permission assets per revision",
Amazon_API_Gateway_API_assets_per_revision = "Amazon API Gateway API assets per revision",
Amazon_Redshift_datashare_assets_per_import_job_from_Redshift = "Amazon Redshift datashare assets per import job from Redshift",
Amazon_Redshift_datashare_assets_per_revision = "Amazon Redshift datashare assets per revision",
Amazon_S3_data_access_assets_per_revision = "Amazon S3 data access assets per revision",
Asset_per_export_job_from_Amazon_S3 = "Asset per export job from Amazon S3",
Asset_size_in_GB = "Asset size in GB",
Assets_per_import_job_from_Amazon_S3 = "Assets per import job from Amazon S3",
Assets_per_revision = "Assets per revision",
Auto_export_event_actions_per_data_set = "Auto export event actions per data set",
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",
Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3 = "Concurrent in progress jobs to export assets to Amazon S3",
Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL = "Concurrent in progress jobs to export assets to a signed URL",
Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3 = "Concurrent in progress jobs to export revisions to Amazon S3",
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares = "Concurrent in progress jobs to import assets from Amazon Redshift datashares",
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3 = "Concurrent in progress jobs to import assets from Amazon S3",
Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL = "Concurrent in progress jobs to import assets from a signed URL",
Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API = "Concurrent in progress jobs to import assets from an API Gateway API",
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",
Data_sets_per_account = "Data sets per account",
Data_sets_per_product = "Data sets per product",
Event_actions_per_account = "Event actions per account",
Products_per_account = "Products per account",
Revisions_per_AWS_Lake_Formation_data_permission_data_set = "Revisions per AWS Lake Formation data permission data set",
Revisions_per_Amazon_API_Gateway_API_data_set = "Revisions per Amazon API Gateway API data set",
Revisions_per_Amazon_Redshift_datashare_data_set = "Revisions per Amazon Redshift datashare data set",
Revisions_per_Amazon_S3_data_access_data_set = "Revisions per Amazon S3 data access data set",
Revisions_per_data_set = "Revisions per data set",
}
/**
* <p>The request has exceeded the quotas imposed by the service.</p>
*/
export class ServiceLimitExceededException extends __BaseException {
readonly name: "ServiceLimitExceededException" = "ServiceLimitExceededException";
readonly $fault: "client" = "client";
/**
* <p>The name of the limit that was reached.</p>
*/
LimitName?: LimitName | string;
/**
* <p>The value of the exceeded limit.</p>
*/
LimitValue?: number;
/**
* <p>The request has exceeded the quotas imposed by the service.</p>
*/
Message: string | undefined;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>) {
super({
name: "ServiceLimitExceededException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
this.LimitName = opts.LimitName;
this.LimitValue = opts.LimitValue;
this.Message = opts.Message;
}
}
/**
* <p>Information about the published revision.</p>
*/
export interface RevisionPublished {
/**
* <p>The data set ID of the published revision.</p>
*/
DataSetId: string | undefined;
}
/**
* <p>What occurs to start an action.</p>
*/
export interface Event {
/**
* <p>What occurs to start the revision publish action.</p>
*/
RevisionPublished?: RevisionPublished;
}
export interface CreateEventActionRequest {
/**
* <p>What occurs after a certain event.</p>
*/
Action: Action | undefined;
/**
* <p>What occurs to start an action.</p>
*/
Event: Event | undefined;
}
export interface CreateEventActionResponse {
/**
* <p>What occurs after a certain event.</p>
*/
Action?: Action;
/**
* <p>The ARN for the event action.</p>
*/
Arn?: string;
/**
* <p>The date and time that the event action was created, in ISO 8601 format.</p>
*/
CreatedAt?: Date;
/**
* <p>What occurs to start an action.</p>
*/
Event?: Event;
/**
* <p>The unique identifier for the event action.</p>
*/
Id?: string;
/**
* <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
*/
UpdatedAt?: Date;
}
/**
* <p>Source details for an Amazon S3 data access asset.</p>
*/
export interface S3DataAccessAssetSourceEntry {
/**
* <p>The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.</p>
*/
Bucket: string | undefined;
/**
* <p>Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.</p>
*/
KeyPrefixes?: string[];
/**
* <p>The keys used to create the Amazon S3 data access.</p>
*/
Keys?: string[];
}
/**
* <p>Details of the operation to create an Amazon S3 data access from an S3 bucket.</p>
*/
export interface CreateS3DataAccessFromS3BucketRequestDetails {
/**
* <p>Details about the S3 data access source asset.</p>
*/
AssetSource: S3DataAccessAssetSourceEntry | undefined;
/**
* <p>The unique identifier for the data set associated with the creation of this Amazon S3 data access.</p>
*/
DataSetId: string | undefined;
/**
* <p>The unique identifier for a revision.</p>
*/
RevisionId: string | undefined;
}
/**
* <p>Details of the operation to be performed by the job.</p>
*/
export interface ExportAssetsToS3RequestDetails {
/**
* <p>The destination for the asset.</p>
*/
AssetDestinations: AssetDestinationEntry[] | undefined;
/**
* <p>The unique identifier for the data set associated with this export job.</p>
*/
DataSetId: string | undefined;
/**
* <p>Encryption configuration for the export job.</p>
*/
Encryption?: ExportServerSideEncryption;
/**
* <p>The unique identifier for the revision associated with this export request.</p>
*/
RevisionId: string | undefined;
}
/**
* <p>Details of the operation to be performed by the job.</p>
*/
export interface ExportAssetToSignedUrlRequestDetails {
/**
* <p>The unique identifier for the asset that is exported to a signed URL.</p>
*/
AssetId: string | undefined;
/**
* <p>The unique identifier for the data set associated with this export job.</p>
*/
DataSetId: string | undefined;
/**
* <p>The unique identifier for the revision associated with this export request.</p>
*/
RevisionId: string | undefined;
}
/**
* <p>The destination where the assets in the revision will be exported.</p>
*/
export interface RevisionDestinationEntry {
/**
* <p>The Amazon S3 bucket that is the destination for the assets in the revision.</p>
*/
Bucket: string | undefined;
/**
* <p>A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see <a href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns">Key patterns when exporting revisions</a>.</p>
*/
KeyPattern?: string;
/**
* <p>The unique identifier for the revision.</p>
*/
RevisionId: string | undefined;
}
/**
* <p>Details of the operation to be performed by the job.</p>
*/
export interface ExportRevisionsToS3RequestDetails {
/**
* <p>The unique identifier for the data set associated with this export job.</p>
*/
DataSetId: string | undefined;
/**
* <p>Encryption configuration for the export job.</p>
*/
Encryption?: ExportServerSideEncryption;
/**
* <p>The destination for the revision.</p>
*/
RevisionDestinations: RevisionDestinationEntry[] | undefined;
}
/**
* <p>The request details.</p>
*/
export interface ImportAssetFromApiGatewayApiRequestDetails {
/**
* <p>The API description. Markdown supported.</p>
*/
ApiDescription?: string;
/**
* <p>The API Gateway API ID.</p>
*/
ApiId: string | undefined;
/**
* <p>The API Gateway API key.</p>
*/