@aws-sdk/client-dataexchange 3.670.0 → 3.674.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.
Files changed (65) hide show
  1. package/README.md +71 -13
  2. package/dist-cjs/index.js +467 -40
  3. package/dist-es/DataExchange.js +14 -0
  4. package/dist-es/commands/AcceptDataGrantCommand.js +22 -0
  5. package/dist-es/commands/CreateDataGrantCommand.js +22 -0
  6. package/dist-es/commands/DeleteDataGrantCommand.js +22 -0
  7. package/dist-es/commands/GetDataGrantCommand.js +22 -0
  8. package/dist-es/commands/GetReceivedDataGrantCommand.js +22 -0
  9. package/dist-es/commands/ListDataGrantsCommand.js +22 -0
  10. package/dist-es/commands/ListReceivedDataGrantsCommand.js +22 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +44 -29
  13. package/dist-es/pagination/ListDataGrantsPaginator.js +4 -0
  14. package/dist-es/pagination/ListReceivedDataGrantsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/protocols/Aws_restJson1.js +280 -3
  17. package/dist-types/DataExchange.d.ts +66 -13
  18. package/dist-types/DataExchangeClient.d.ts +24 -15
  19. package/dist-types/commands/AcceptDataGrantCommand.d.ts +102 -0
  20. package/dist-types/commands/CancelJobCommand.d.ts +4 -2
  21. package/dist-types/commands/CreateDataGrantCommand.d.ts +113 -0
  22. package/dist-types/commands/CreateDataSetCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateJobCommand.d.ts +2 -1
  24. package/dist-types/commands/DeleteAssetCommand.d.ts +2 -1
  25. package/dist-types/commands/DeleteDataGrantCommand.d.ts +84 -0
  26. package/dist-types/commands/DeleteDataSetCommand.d.ts +2 -1
  27. package/dist-types/commands/DeleteRevisionCommand.d.ts +2 -1
  28. package/dist-types/commands/GetDataGrantCommand.d.ts +102 -0
  29. package/dist-types/commands/GetDataSetCommand.d.ts +1 -0
  30. package/dist-types/commands/GetReceivedDataGrantCommand.d.ts +98 -0
  31. package/dist-types/commands/ListDataGrantsCommand.d.ts +103 -0
  32. package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +2 -1
  33. package/dist-types/commands/ListDataSetsCommand.d.ts +3 -1
  34. package/dist-types/commands/ListReceivedDataGrantsCommand.d.ts +105 -0
  35. package/dist-types/commands/ListRevisionAssetsCommand.d.ts +2 -1
  36. package/dist-types/commands/RevokeRevisionCommand.d.ts +2 -1
  37. package/dist-types/commands/SendApiAssetCommand.d.ts +2 -1
  38. package/dist-types/commands/SendDataSetNotificationCommand.d.ts +2 -1
  39. package/dist-types/commands/StartJobCommand.d.ts +2 -1
  40. package/dist-types/commands/UpdateAssetCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateDataSetCommand.d.ts +1 -0
  42. package/dist-types/commands/UpdateRevisionCommand.d.ts +2 -1
  43. package/dist-types/commands/index.d.ts +7 -0
  44. package/dist-types/index.d.ts +15 -13
  45. package/dist-types/models/models_0.d.ts +1016 -282
  46. package/dist-types/pagination/ListDataGrantsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/ListReceivedDataGrantsPaginator.d.ts +7 -0
  48. package/dist-types/pagination/index.d.ts +2 -0
  49. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  50. package/dist-types/ts3.4/DataExchange.d.ts +121 -0
  51. package/dist-types/ts3.4/DataExchangeClient.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/AcceptDataGrantCommand.d.ts +50 -0
  53. package/dist-types/ts3.4/commands/CreateDataGrantCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/DeleteDataGrantCommand.d.ts +45 -0
  55. package/dist-types/ts3.4/commands/GetDataGrantCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/GetReceivedDataGrantCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListDataGrantsCommand.d.ts +50 -0
  58. package/dist-types/ts3.4/commands/ListReceivedDataGrantsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +229 -78
  61. package/dist-types/ts3.4/pagination/ListDataGrantsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListReceivedDataGrantsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  65. package/package.json +2 -2
@@ -1,5 +1,121 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
3
+ /**
4
+ * @public
5
+ * @enum
6
+ */
7
+ export declare const AcceptanceStateFilterValue: {
8
+ readonly ACCEPTED: "ACCEPTED";
9
+ readonly PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type AcceptanceStateFilterValue = (typeof AcceptanceStateFilterValue)[keyof typeof AcceptanceStateFilterValue];
15
+ /**
16
+ * @public
17
+ */
18
+ export interface AcceptDataGrantRequest {
19
+ /**
20
+ * <p>The Amazon Resource Name (ARN) of the data grant to accept.</p>
21
+ * @public
22
+ */
23
+ DataGrantArn: string | undefined;
24
+ }
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const DataGrantAcceptanceState: {
30
+ readonly ACCEPTED: "ACCEPTED";
31
+ readonly PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type DataGrantAcceptanceState = (typeof DataGrantAcceptanceState)[keyof typeof DataGrantAcceptanceState];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const GrantDistributionScope: {
42
+ readonly AWS_ORGANIZATION: "AWS_ORGANIZATION";
43
+ readonly NONE: "NONE";
44
+ };
45
+ /**
46
+ * @public
47
+ */
48
+ export type GrantDistributionScope = (typeof GrantDistributionScope)[keyof typeof GrantDistributionScope];
49
+ /**
50
+ * @public
51
+ */
52
+ export interface AcceptDataGrantResponse {
53
+ /**
54
+ * <p>The name of the accepted data grant.</p>
55
+ * @public
56
+ */
57
+ Name: string | undefined;
58
+ /**
59
+ * <p>The Amazon Web Services account ID of the data grant sender.</p>
60
+ * @public
61
+ */
62
+ SenderPrincipal?: string;
63
+ /**
64
+ * <p>The Amazon Web Services account ID of the data grant receiver.</p>
65
+ * @public
66
+ */
67
+ ReceiverPrincipal: string | undefined;
68
+ /**
69
+ * <p>The description of the accepted data grant.</p>
70
+ * @public
71
+ */
72
+ Description?: string;
73
+ /**
74
+ * <p>The acceptance state of the data grant.</p>
75
+ * @public
76
+ */
77
+ AcceptanceState: DataGrantAcceptanceState | undefined;
78
+ /**
79
+ * <p>The timestamp of when the data grant was accepted.</p>
80
+ * @public
81
+ */
82
+ AcceptedAt?: Date;
83
+ /**
84
+ * <p>The timestamp of when access to the associated data set ends.</p>
85
+ * @public
86
+ */
87
+ EndsAt?: Date;
88
+ /**
89
+ * <p>The distribution scope for the data grant.</p>
90
+ * @public
91
+ */
92
+ GrantDistributionScope: GrantDistributionScope | undefined;
93
+ /**
94
+ * <p>The ID of the data set associated to the data grant.</p>
95
+ * @public
96
+ */
97
+ DataSetId: string | undefined;
98
+ /**
99
+ * <p>The ID of the data grant.</p>
100
+ * @public
101
+ */
102
+ Id: string | undefined;
103
+ /**
104
+ * <p>The Amazon Resource Name (ARN) of the accepted data grant.</p>
105
+ * @public
106
+ */
107
+ Arn: string | undefined;
108
+ /**
109
+ * <p>The timestamp of when the data grant was created.</p>
110
+ * @public
111
+ */
112
+ CreatedAt: Date | undefined;
113
+ /**
114
+ * <p>The timestamp of when the data grant was last updated.</p>
115
+ * @public
116
+ */
117
+ UpdatedAt: Date | undefined;
118
+ }
3
119
  /**
4
120
  * <p>Access to the resource is denied.</p>
5
121
  * @public
@@ -17,6 +133,146 @@ export declare class AccessDeniedException extends __BaseException {
17
133
  */
18
134
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
19
135
  }
136
+ /**
137
+ * @public
138
+ * @enum
139
+ */
140
+ export declare const ResourceType: {
141
+ readonly ASSET: "ASSET";
142
+ readonly DATA_GRANT: "DATA_GRANT";
143
+ readonly DATA_SET: "DATA_SET";
144
+ readonly EVENT_ACTION: "EVENT_ACTION";
145
+ readonly JOB: "JOB";
146
+ readonly REVISION: "REVISION";
147
+ };
148
+ /**
149
+ * @public
150
+ */
151
+ 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;
171
+ /**
172
+ * <p>The type of the resource with the conflict.</p>
173
+ * @public
174
+ */
175
+ ResourceType?: ResourceType;
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;
215
+ /**
216
+ * <p>The type of resource that couldn't be found.</p>
217
+ * @public
218
+ */
219
+ ResourceType?: ResourceType;
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
+ /**
243
+ * @public
244
+ * @enum
245
+ */
246
+ export declare const ExceptionCause: {
247
+ readonly InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy";
248
+ readonly S3AccessDenied: "S3AccessDenied";
249
+ };
250
+ /**
251
+ * @public
252
+ */
253
+ 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;
271
+ /**
272
+ * @internal
273
+ */
274
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
275
+ }
20
276
  /**
21
277
  * @public
22
278
  * @enum
@@ -30,12 +286,14 @@ export declare const ServerSideEncryptionTypes: {
30
286
  */
31
287
  export type ServerSideEncryptionTypes = (typeof ServerSideEncryptionTypes)[keyof typeof ServerSideEncryptionTypes];
32
288
  /**
33
- * <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>
289
+ * <p>Encryption configuration of the export job. Includes the encryption type in addition to
290
+ * the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption type.</p>
34
291
  * @public
35
292
  */
36
293
  export interface ExportServerSideEncryption {
37
294
  /**
38
- * <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>
295
+ * <p>The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon
296
+ * S3 objects. This parameter is required if you choose aws:kms as an encryption type.</p>
39
297
  * @public
40
298
  */
41
299
  KmsKeyArn?: string;
@@ -46,7 +304,8 @@ export interface ExportServerSideEncryption {
46
304
  Type: ServerSideEncryptionTypes | undefined;
47
305
  }
48
306
  /**
49
- * <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
307
+ * <p>A revision destination is the Amazon S3 bucket folder destination to where the export
308
+ * will be sent.</p>
50
309
  * @public
51
310
  */
52
311
  export interface AutoExportRevisionDestinationEntry {
@@ -56,7 +315,8 @@ export interface AutoExportRevisionDestinationEntry {
56
315
  */
57
316
  Bucket: string | undefined;
58
317
  /**
59
- * <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>
318
+ * <p>A string representing the pattern for generated names of the individual assets in the
319
+ * 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>
60
320
  * @public
61
321
  */
62
322
  KeyPattern?: string;
@@ -72,7 +332,8 @@ export interface AutoExportRevisionToS3RequestDetails {
72
332
  */
73
333
  Encryption?: ExportServerSideEncryption;
74
334
  /**
75
- * <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
335
+ * <p>A revision destination is the Amazon S3 bucket folder destination to where the export
336
+ * will be sent.</p>
76
337
  * @public
77
338
  */
78
339
  RevisionDestination: AutoExportRevisionDestinationEntry | undefined;
@@ -210,17 +471,20 @@ export interface TableLFTagPolicy {
210
471
  Expression: LFTag[] | undefined;
211
472
  }
212
473
  /**
213
- * <p>Details about the AWS Lake Formation resource (Table or Database) included in the AWS Lake Formation data permission.</p>
474
+ * <p>Details about the AWS Lake Formation resource (Table or Database) included in the AWS
475
+ * Lake Formation data permission.</p>
214
476
  * @public
215
477
  */
216
478
  export interface LFResourceDetails {
217
479
  /**
218
- * <p>Details about the database resource included in the AWS Lake Formation data permission.</p>
480
+ * <p>Details about the database resource included in the AWS Lake Formation data
481
+ * permission.</p>
219
482
  * @public
220
483
  */
221
484
  Database?: DatabaseLFTagPolicy;
222
485
  /**
223
- * <p>Details about the table resource included in the AWS Lake Formation data permission.</p>
486
+ * <p>Details about the table resource included in the AWS Lake Formation data
487
+ * permission.</p>
224
488
  * @public
225
489
  */
226
490
  Table?: TableLFTagPolicy;
@@ -313,7 +577,8 @@ export interface LakeFormationDataPermissionAsset {
313
577
  */
314
578
  Permissions: LFPermission[] | undefined;
315
579
  /**
316
- * <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>
580
+ * <p>The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke
581
+ * permissions to AWS Lake Formation data permissions.</p>
317
582
  * @public
318
583
  */
319
584
  RoleArn?: string;
@@ -365,12 +630,14 @@ export interface S3DataAccessAsset {
365
630
  */
366
631
  Keys?: string[];
367
632
  /**
368
- * <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>
633
+ * <p>The automatically-generated bucket-style alias for your Amazon S3 Access Point.
634
+ * Customers can access their entitled data using the S3 Access Point alias.</p>
369
635
  * @public
370
636
  */
371
637
  S3AccessPointAlias?: string;
372
638
  /**
373
- * <p>The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.</p>
639
+ * <p>The ARN for your Amazon S3 Access Point. Customers can also access their entitled data
640
+ * using the S3 Access Point ARN.</p>
374
641
  * @public
375
642
  */
376
643
  S3AccessPointArn?: string;
@@ -498,7 +765,9 @@ export interface AssetEntry {
498
765
  */
499
766
  RevisionId: string | undefined;
500
767
  /**
501
- * <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>
768
+ * <p>The asset ID of the owned asset corresponding to the entitled asset being viewed. This
769
+ * parameter is returned when an asset owner is viewing the entitled copy of its owned
770
+ * asset.</p>
502
771
  * @public
503
772
  */
504
773
  SourceId?: string;
@@ -538,156 +807,206 @@ export interface CancelJobRequest {
538
807
  * @public
539
808
  * @enum
540
809
  */
541
- export declare const ResourceType: {
542
- readonly ASSET: "ASSET";
543
- readonly DATA_SET: "DATA_SET";
544
- readonly EVENT_ACTION: "EVENT_ACTION";
545
- readonly JOB: "JOB";
546
- readonly REVISION: "REVISION";
810
+ export declare const Code: {
811
+ readonly ACCESS_DENIED_EXCEPTION: "ACCESS_DENIED_EXCEPTION";
812
+ readonly INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION";
813
+ readonly MALWARE_DETECTED: "MALWARE_DETECTED";
814
+ readonly MALWARE_SCAN_ENCRYPTED_FILE: "MALWARE_SCAN_ENCRYPTED_FILE";
815
+ readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
816
+ readonly SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION";
817
+ readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
547
818
  };
548
819
  /**
549
820
  * @public
550
821
  */
551
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
822
+ export type Code = (typeof Code)[keyof typeof Code];
552
823
  /**
553
- * <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
554
824
  * @public
555
825
  */
556
- export declare class ConflictException extends __BaseException {
557
- readonly name: "ConflictException";
558
- readonly $fault: "client";
826
+ export interface CreateDataGrantRequest {
559
827
  /**
560
- * <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
828
+ * <p>The name of the data grant.</p>
561
829
  * @public
562
830
  */
563
- Message: string | undefined;
831
+ Name: string | undefined;
564
832
  /**
565
- * <p>The unique identifier for the resource with the conflict.</p>
833
+ * <p>The distribution scope of the data grant.</p>
566
834
  * @public
567
835
  */
568
- ResourceId?: string;
836
+ GrantDistributionScope: GrantDistributionScope | undefined;
569
837
  /**
570
- * <p>The type of the resource with the conflict.</p>
838
+ * <p>The Amazon Web Services account ID of the data grant receiver.</p>
571
839
  * @public
572
840
  */
573
- ResourceType?: ResourceType;
841
+ ReceiverPrincipal: string | undefined;
574
842
  /**
575
- * @internal
843
+ * <p>The ID of the data set used to create the data grant.</p>
844
+ * @public
576
845
  */
577
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
578
- }
579
- /**
580
- * <p>An exception occurred with the service.</p>
581
- * @public
582
- */
583
- export declare class InternalServerException extends __BaseException {
584
- readonly name: "InternalServerException";
585
- readonly $fault: "server";
846
+ SourceDataSetId: string | undefined;
586
847
  /**
587
- * <p>The message identifying the service exception that occurred.</p>
848
+ * <p>The timestamp of when access to the associated data set ends.</p>
588
849
  * @public
589
850
  */
590
- Message: string | undefined;
851
+ EndsAt?: Date;
591
852
  /**
592
- * @internal
853
+ * <p>The description of the data grant.</p>
854
+ * @public
593
855
  */
594
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
856
+ Description?: string;
857
+ /**
858
+ * <p>The tags to add to the data grant. A tag is a key-value pair.</p>
859
+ * @public
860
+ */
861
+ Tags?: Record<string, string>;
595
862
  }
596
863
  /**
597
- * <p>The resource couldn't be found.</p>
598
864
  * @public
599
865
  */
600
- export declare class ResourceNotFoundException extends __BaseException {
601
- readonly name: "ResourceNotFoundException";
602
- readonly $fault: "client";
866
+ export interface CreateDataGrantResponse {
603
867
  /**
604
- * <p>The resource couldn't be found.</p>
868
+ * <p>The name of the data grant.</p>
605
869
  * @public
606
870
  */
607
- Message: string | undefined;
871
+ Name: string | undefined;
608
872
  /**
609
- * <p>The unique identifier for the resource that couldn't be found.</p>
873
+ * <p>The Amazon Web Services account ID of the data grant sender.</p>
610
874
  * @public
611
875
  */
612
- ResourceId?: string;
876
+ SenderPrincipal: string | undefined;
613
877
  /**
614
- * <p>The type of resource that couldn't be found.</p>
878
+ * <p>The Amazon Web Services account ID of the data grant receiver.</p>
615
879
  * @public
616
880
  */
617
- ResourceType?: ResourceType;
881
+ ReceiverPrincipal: string | undefined;
618
882
  /**
619
- * @internal
883
+ * <p>The description of the data grant.</p>
884
+ * @public
620
885
  */
621
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
622
- }
623
- /**
624
- * <p>The limit on the number of requests per second was exceeded.</p>
625
- * @public
626
- */
627
- export declare class ThrottlingException extends __BaseException {
628
- readonly name: "ThrottlingException";
629
- readonly $fault: "client";
886
+ Description?: string;
630
887
  /**
631
- * <p>The limit on the number of requests per second was exceeded.</p>
888
+ * <p>The acceptance state of the data grant.</p>
889
+ * @public
890
+ */
891
+ AcceptanceState: DataGrantAcceptanceState | undefined;
892
+ /**
893
+ * <p>The timestamp of when the data grant was accepted.</p>
894
+ * @public
895
+ */
896
+ AcceptedAt?: Date;
897
+ /**
898
+ * <p>The timestamp of when access to the associated data set ends.</p>
899
+ * @public
900
+ */
901
+ EndsAt?: Date;
902
+ /**
903
+ * <p>The distribution scope for the data grant.</p>
904
+ * @public
905
+ */
906
+ GrantDistributionScope: GrantDistributionScope | undefined;
907
+ /**
908
+ * <p>The ID of the data set associated to the data grant.</p>
909
+ * @public
910
+ */
911
+ DataSetId: string | undefined;
912
+ /**
913
+ * <p>The ID of the data set used to create the data grant.</p>
914
+ * @public
915
+ */
916
+ SourceDataSetId: string | undefined;
917
+ /**
918
+ * <p>The ID of the data grant.</p>
919
+ * @public
920
+ */
921
+ Id: string | undefined;
922
+ /**
923
+ * <p>The Amazon Resource Name (ARN) of the data grant.</p>
924
+ * @public
925
+ */
926
+ Arn: string | undefined;
927
+ /**
928
+ * <p>The timestamp of when the data grant was created.</p>
929
+ * @public
930
+ */
931
+ CreatedAt: Date | undefined;
932
+ /**
933
+ * <p>The timestamp of when the data grant was last updated.</p>
632
934
  * @public
633
935
  */
634
- Message: string | undefined;
936
+ UpdatedAt: Date | undefined;
635
937
  /**
636
- * @internal
938
+ * <p>The tags associated to the data grant. A tag is a key-value pair.</p>
939
+ * @public
637
940
  */
638
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
941
+ Tags?: Record<string, string>;
639
942
  }
640
943
  /**
641
944
  * @public
642
945
  * @enum
643
946
  */
644
- export declare const ExceptionCause: {
645
- readonly InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy";
646
- readonly S3AccessDenied: "S3AccessDenied";
947
+ export declare const LimitName: {
948
+ readonly AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision";
949
+ readonly Active_and_pending_data_grants: "Active and pending data grants";
950
+ readonly Amazon_API_Gateway_API_assets_per_revision: "Amazon API Gateway API assets per revision";
951
+ readonly Amazon_Redshift_datashare_assets_per_import_job_from_Redshift: "Amazon Redshift datashare assets per import job from Redshift";
952
+ readonly Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision";
953
+ readonly Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision";
954
+ readonly Asset_per_export_job_from_Amazon_S3: "Asset per export job from Amazon S3";
955
+ readonly Asset_size_in_GB: "Asset size in GB";
956
+ readonly Assets_per_import_job_from_Amazon_S3: "Assets per import job from Amazon S3";
957
+ readonly Assets_per_revision: "Assets per revision";
958
+ readonly Auto_export_event_actions_per_data_set: "Auto export event actions per data set";
959
+ readonly 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";
960
+ readonly Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3: "Concurrent in progress jobs to export assets to Amazon S3";
961
+ readonly Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL: "Concurrent in progress jobs to export assets to a signed URL";
962
+ readonly Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3: "Concurrent in progress jobs to export revisions to Amazon S3";
963
+ readonly Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares: "Concurrent in progress jobs to import assets from Amazon Redshift datashares";
964
+ readonly Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3: "Concurrent in progress jobs to import assets from Amazon S3";
965
+ readonly Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL: "Concurrent in progress jobs to import assets from a signed URL";
966
+ readonly Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API: "Concurrent in progress jobs to import assets from an API Gateway API";
967
+ readonly 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";
968
+ readonly Data_sets_per_account: "Data sets per account";
969
+ readonly Data_sets_per_product: "Data sets per product";
970
+ readonly Event_actions_per_account: "Event actions per account";
971
+ readonly Pending_data_grants_per_consumer: "Pending data grants per consumer";
972
+ readonly Products_per_account: "Products per account";
973
+ readonly Revisions_per_AWS_Lake_Formation_data_permission_data_set: "Revisions per AWS Lake Formation data permission data set";
974
+ readonly Revisions_per_Amazon_API_Gateway_API_data_set: "Revisions per Amazon API Gateway API data set";
975
+ readonly Revisions_per_Amazon_Redshift_datashare_data_set: "Revisions per Amazon Redshift datashare data set";
976
+ readonly Revisions_per_Amazon_S3_data_access_data_set: "Revisions per Amazon S3 data access data set";
977
+ readonly Revisions_per_data_set: "Revisions per data set";
647
978
  };
648
979
  /**
649
980
  * @public
650
981
  */
651
- export type ExceptionCause = (typeof ExceptionCause)[keyof typeof ExceptionCause];
982
+ export type LimitName = (typeof LimitName)[keyof typeof LimitName];
652
983
  /**
653
- * <p>The request was invalid.</p>
984
+ * <p>The request has exceeded the quotas imposed by the service.</p>
654
985
  * @public
655
986
  */
656
- export declare class ValidationException extends __BaseException {
657
- readonly name: "ValidationException";
987
+ export declare class ServiceLimitExceededException extends __BaseException {
988
+ readonly name: "ServiceLimitExceededException";
658
989
  readonly $fault: "client";
659
990
  /**
660
- * <p>The message that informs you about what was invalid about the request.</p>
991
+ * <p>The name of the limit that was reached.</p>
661
992
  * @public
662
993
  */
663
- Message: string | undefined;
994
+ LimitName?: LimitName;
664
995
  /**
665
- * <p>The unique identifier for the resource that couldn't be found.</p>
996
+ * <p>The value of the exceeded limit.</p>
666
997
  * @public
667
998
  */
668
- ExceptionCause?: ExceptionCause;
999
+ LimitValue?: number;
1000
+ /**
1001
+ * <p>The request has exceeded the quotas imposed by the service.</p>
1002
+ * @public
1003
+ */
1004
+ Message: string | undefined;
669
1005
  /**
670
1006
  * @internal
671
1007
  */
672
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
1008
+ constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
673
1009
  }
674
- /**
675
- * @public
676
- * @enum
677
- */
678
- export declare const Code: {
679
- readonly ACCESS_DENIED_EXCEPTION: "ACCESS_DENIED_EXCEPTION";
680
- readonly INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION";
681
- readonly MALWARE_DETECTED: "MALWARE_DETECTED";
682
- readonly MALWARE_SCAN_ENCRYPTED_FILE: "MALWARE_SCAN_ENCRYPTED_FILE";
683
- readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
684
- readonly SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION";
685
- readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
686
- };
687
- /**
688
- * @public
689
- */
690
- export type Code = (typeof Code)[keyof typeof Code];
691
1010
  /**
692
1011
  * @public
693
1012
  */
@@ -708,7 +1027,10 @@ export interface CreateDataSetRequest {
708
1027
  */
709
1028
  Name: string | undefined;
710
1029
  /**
711
- * <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>
1030
+ * <p>A data set tag is an optional label that you can assign to a data set when you create
1031
+ * it. Each tag consists of a key and an optional value, both of which you define. When you
1032
+ * use tagging, you can also use tag-based access control in IAM policies to control access to
1033
+ * these data sets and revisions.</p>
712
1034
  * @public
713
1035
  */
714
1036
  Tags?: Record<string, string>;
@@ -735,6 +1057,11 @@ export interface OriginDetails {
735
1057
  * @public
736
1058
  */
737
1059
  ProductId?: string;
1060
+ /**
1061
+ * <p>The ID of the data grant.</p>
1062
+ * @public
1063
+ */
1064
+ DataGrantId?: string;
738
1065
  }
739
1066
  /**
740
1067
  * @public
@@ -771,17 +1098,21 @@ export interface CreateDataSetResponse {
771
1098
  */
772
1099
  Name?: string;
773
1100
  /**
774
- * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).</p>
1101
+ * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED
1102
+ * to the account (for subscribers).</p>
775
1103
  * @public
776
1104
  */
777
1105
  Origin?: Origin;
778
1106
  /**
779
- * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.</p>
1107
+ * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS
1108
+ * Marketplace.</p>
780
1109
  * @public
781
1110
  */
782
1111
  OriginDetails?: OriginDetails;
783
1112
  /**
784
- * <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>
1113
+ * <p>The data set ID of the owned data set corresponding to the entitled data set being
1114
+ * viewed. This parameter is returned when a data set owner is viewing the entitled copy of
1115
+ * its owned data set.</p>
785
1116
  * @public
786
1117
  */
787
1118
  SourceId?: string;
@@ -796,71 +1127,6 @@ export interface CreateDataSetResponse {
796
1127
  */
797
1128
  UpdatedAt?: Date;
798
1129
  }
799
- /**
800
- * @public
801
- * @enum
802
- */
803
- export declare const LimitName: {
804
- readonly AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision";
805
- readonly Amazon_API_Gateway_API_assets_per_revision: "Amazon API Gateway API assets per revision";
806
- readonly Amazon_Redshift_datashare_assets_per_import_job_from_Redshift: "Amazon Redshift datashare assets per import job from Redshift";
807
- readonly Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision";
808
- readonly Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision";
809
- readonly Asset_per_export_job_from_Amazon_S3: "Asset per export job from Amazon S3";
810
- readonly Asset_size_in_GB: "Asset size in GB";
811
- readonly Assets_per_import_job_from_Amazon_S3: "Assets per import job from Amazon S3";
812
- readonly Assets_per_revision: "Assets per revision";
813
- readonly Auto_export_event_actions_per_data_set: "Auto export event actions per data set";
814
- readonly 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";
815
- readonly Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3: "Concurrent in progress jobs to export assets to Amazon S3";
816
- readonly Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL: "Concurrent in progress jobs to export assets to a signed URL";
817
- readonly Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3: "Concurrent in progress jobs to export revisions to Amazon S3";
818
- readonly Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares: "Concurrent in progress jobs to import assets from Amazon Redshift datashares";
819
- readonly Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3: "Concurrent in progress jobs to import assets from Amazon S3";
820
- readonly Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL: "Concurrent in progress jobs to import assets from a signed URL";
821
- readonly Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API: "Concurrent in progress jobs to import assets from an API Gateway API";
822
- readonly 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";
823
- readonly Data_sets_per_account: "Data sets per account";
824
- readonly Data_sets_per_product: "Data sets per product";
825
- readonly Event_actions_per_account: "Event actions per account";
826
- readonly Products_per_account: "Products per account";
827
- readonly Revisions_per_AWS_Lake_Formation_data_permission_data_set: "Revisions per AWS Lake Formation data permission data set";
828
- readonly Revisions_per_Amazon_API_Gateway_API_data_set: "Revisions per Amazon API Gateway API data set";
829
- readonly Revisions_per_Amazon_Redshift_datashare_data_set: "Revisions per Amazon Redshift datashare data set";
830
- readonly Revisions_per_Amazon_S3_data_access_data_set: "Revisions per Amazon S3 data access data set";
831
- readonly Revisions_per_data_set: "Revisions per data set";
832
- };
833
- /**
834
- * @public
835
- */
836
- export type LimitName = (typeof LimitName)[keyof typeof LimitName];
837
- /**
838
- * <p>The request has exceeded the quotas imposed by the service.</p>
839
- * @public
840
- */
841
- export declare class ServiceLimitExceededException extends __BaseException {
842
- readonly name: "ServiceLimitExceededException";
843
- readonly $fault: "client";
844
- /**
845
- * <p>The name of the limit that was reached.</p>
846
- * @public
847
- */
848
- LimitName?: LimitName;
849
- /**
850
- * <p>The value of the exceeded limit.</p>
851
- * @public
852
- */
853
- LimitValue?: number;
854
- /**
855
- * <p>The request has exceeded the quotas imposed by the service.</p>
856
- * @public
857
- */
858
- Message: string | undefined;
859
- /**
860
- * @internal
861
- */
862
- constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
863
- }
864
1130
  /**
865
1131
  * <p>Information about the published revision.</p>
866
1132
  * @public
@@ -971,7 +1237,8 @@ export interface CreateS3DataAccessFromS3BucketRequestDetails {
971
1237
  */
972
1238
  AssetSource: S3DataAccessAssetSourceEntry | undefined;
973
1239
  /**
974
- * <p>The unique identifier for the data set associated with the creation of this Amazon S3 data access.</p>
1240
+ * <p>The unique identifier for the data set associated with the creation of this Amazon S3
1241
+ * data access.</p>
975
1242
  * @public
976
1243
  */
977
1244
  DataSetId: string | undefined;
@@ -1039,7 +1306,8 @@ export interface RevisionDestinationEntry {
1039
1306
  */
1040
1307
  Bucket: string | undefined;
1041
1308
  /**
1042
- * <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>
1309
+ * <p>A string representing the pattern for generated names of the individual assets in the
1310
+ * 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>
1043
1311
  * @public
1044
1312
  */
1045
1313
  KeyPattern?: string;
@@ -1096,7 +1364,8 @@ export interface ImportAssetFromApiGatewayApiRequestDetails {
1096
1364
  */
1097
1365
  ApiName: string | undefined;
1098
1366
  /**
1099
- * <p>The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. It is used to ensure the integrity of the file.</p>
1367
+ * <p>The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. It is used
1368
+ * to ensure the integrity of the file.</p>
1100
1369
  * @public
1101
1370
  */
1102
1371
  ApiSpecificationMd5Hash: string | undefined;
@@ -1127,7 +1396,8 @@ export interface ImportAssetFromApiGatewayApiRequestDetails {
1127
1396
  */
1128
1397
  export interface ImportAssetFromSignedUrlRequestDetails {
1129
1398
  /**
1130
- * <p>The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name.</p>
1399
+ * <p>The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used
1400
+ * as the asset name.</p>
1131
1401
  * @public
1132
1402
  */
1133
1403
  AssetName: string | undefined;
@@ -1137,7 +1407,8 @@ export interface ImportAssetFromSignedUrlRequestDetails {
1137
1407
  */
1138
1408
  DataSetId: string | undefined;
1139
1409
  /**
1140
- * <p>The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at that location.</p>
1410
+ * <p>The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at
1411
+ * that location.</p>
1141
1412
  * @public
1142
1413
  */
1143
1414
  Md5Hash: string | undefined;
@@ -1223,7 +1494,8 @@ export interface ImportAssetsFromLakeFormationTagPolicyRequestDetails {
1223
1494
  */
1224
1495
  Table?: TableLFTagPolicyAndPermissions;
1225
1496
  /**
1226
- * <p>The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke permissions of subscribers to AWS Lake Formation data permissions.</p>
1497
+ * <p>The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke
1498
+ * permissions of subscribers to AWS Lake Formation data permissions.</p>
1227
1499
  * @public
1228
1500
  */
1229
1501
  RoleArn: string | undefined;
@@ -1377,7 +1649,8 @@ export interface CreateJobRequest {
1377
1649
  Type: Type | undefined;
1378
1650
  }
1379
1651
  /**
1380
- * <p>Details about the response of the operation to create an S3 data access from an S3 bucket.</p>
1652
+ * <p>Details about the response of the operation to create an S3 data access from an S3
1653
+ * bucket.</p>
1381
1654
  * @public
1382
1655
  */
1383
1656
  export interface CreateS3DataAccessFromS3BucketResponseDetails {
@@ -1506,7 +1779,8 @@ export interface ImportAssetFromApiGatewayApiResponseDetails {
1506
1779
  */
1507
1780
  ApiName: string | undefined;
1508
1781
  /**
1509
- * <p>The Base64-encoded Md5 hash for the API asset, used to ensure the integrity of the API at that location.</p>
1782
+ * <p>The Base64-encoded Md5 hash for the API asset, used to ensure the integrity of the API
1783
+ * at that location.</p>
1510
1784
  * @public
1511
1785
  */
1512
1786
  ApiSpecificationMd5Hash: string | undefined;
@@ -1542,7 +1816,8 @@ export interface ImportAssetFromApiGatewayApiResponseDetails {
1542
1816
  Stage: string | undefined;
1543
1817
  }
1544
1818
  /**
1545
- * <p>The details in the response for an import request, including the signed URL and other information.</p>
1819
+ * <p>The details in the response for an import request, including the signed URL and other
1820
+ * information.</p>
1546
1821
  * @public
1547
1822
  */
1548
1823
  export interface ImportAssetFromSignedUrlResponseDetails {
@@ -1557,7 +1832,8 @@ export interface ImportAssetFromSignedUrlResponseDetails {
1557
1832
  */
1558
1833
  DataSetId: string | undefined;
1559
1834
  /**
1560
- * <p>The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at that location.</p>
1835
+ * <p>The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at
1836
+ * that location.</p>
1561
1837
  * @public
1562
1838
  */
1563
1839
  Md5Hash?: string;
@@ -1598,7 +1874,8 @@ export interface ImportAssetsFromLakeFormationTagPolicyResponseDetails {
1598
1874
  */
1599
1875
  Table?: TableLFTagPolicyAndPermissions;
1600
1876
  /**
1601
- * <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>
1877
+ * <p>The IAM role's ARN that allows AWS Data Exchange to assume the role and grant and revoke
1878
+ * permissions to AWS Lake Formation data permissions.</p>
1602
1879
  * @public
1603
1880
  */
1604
1881
  RoleArn: string | undefined;
@@ -1878,7 +2155,10 @@ export interface CreateRevisionRequest {
1878
2155
  */
1879
2156
  DataSetId: string | undefined;
1880
2157
  /**
1881
- * <p>A revision tag is an optional label that you can assign to a revision 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>
2158
+ * <p>A revision tag is an optional label that you can assign to a revision when you create
2159
+ * it. Each tag consists of a key and an optional value, both of which you define. When you
2160
+ * use tagging, you can also use tag-based access control in IAM policies to control access to
2161
+ * these data sets and revisions.</p>
1882
2162
  * @public
1883
2163
  */
1884
2164
  Tags?: Record<string, string>;
@@ -1908,7 +2188,12 @@ export interface CreateRevisionResponse {
1908
2188
  */
1909
2189
  DataSetId?: string;
1910
2190
  /**
1911
- * <p>To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.</p>
2191
+ * <p>To publish a revision to a data set in a product, the revision must first be finalized.
2192
+ * Finalizing a revision tells AWS Data Exchange that your changes to the assets in the
2193
+ * revision are complete. After it's in this read-only state, you can publish the revision to
2194
+ * your products. Finalized revisions can be published through the AWS Data Exchange console
2195
+ * or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API
2196
+ * action. When using the API, revisions are uniquely identified by their ARN.</p>
1912
2197
  * @public
1913
2198
  */
1914
2199
  Finalized?: boolean;
@@ -1918,7 +2203,9 @@ export interface CreateRevisionResponse {
1918
2203
  */
1919
2204
  Id?: string;
1920
2205
  /**
1921
- * <p>The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.</p>
2206
+ * <p>The revision ID of the owned revision corresponding to the entitled revision being
2207
+ * viewed. This parameter is returned when a revision owner is viewing the entitled copy of
2208
+ * its owned revision.</p>
1922
2209
  * @public
1923
2210
  */
1924
2211
  SourceId?: string;
@@ -1933,7 +2220,8 @@ export interface CreateRevisionResponse {
1933
2220
  */
1934
2221
  UpdatedAt?: Date;
1935
2222
  /**
1936
- * <p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>
2223
+ * <p>A required comment to inform subscribers of the reason their access to the revision was
2224
+ * revoked.</p>
1937
2225
  * @public
1938
2226
  */
1939
2227
  RevocationComment?: string;
@@ -1968,121 +2256,223 @@ export interface DeleteAssetRequest {
1968
2256
  */
1969
2257
  RevisionId: string | undefined;
1970
2258
  }
2259
+ /**
2260
+ * @public
2261
+ */
2262
+ export interface DeleteDataGrantRequest {
2263
+ /**
2264
+ * <p>The ID of the data grant to delete.</p>
2265
+ * @public
2266
+ */
2267
+ DataGrantId: string | undefined;
2268
+ }
1971
2269
  /**
1972
2270
  * @public
1973
2271
  */
1974
2272
  export interface DeleteDataSetRequest {
1975
2273
  /**
1976
- * <p>The unique identifier for a data set.</p>
2274
+ * <p>The unique identifier for a data set.</p>
2275
+ * @public
2276
+ */
2277
+ DataSetId: string | undefined;
2278
+ }
2279
+ /**
2280
+ * @public
2281
+ */
2282
+ export interface DeleteEventActionRequest {
2283
+ /**
2284
+ * <p>The unique identifier for the event action.</p>
2285
+ * @public
2286
+ */
2287
+ EventActionId: string | undefined;
2288
+ }
2289
+ /**
2290
+ * @public
2291
+ */
2292
+ export interface DeleteRevisionRequest {
2293
+ /**
2294
+ * <p>The unique identifier for a data set.</p>
2295
+ * @public
2296
+ */
2297
+ DataSetId: string | undefined;
2298
+ /**
2299
+ * <p>The unique identifier for a revision.</p>
2300
+ * @public
2301
+ */
2302
+ RevisionId: string | undefined;
2303
+ }
2304
+ /**
2305
+ * @public
2306
+ */
2307
+ export interface GetAssetRequest {
2308
+ /**
2309
+ * <p>The unique identifier for an asset.</p>
2310
+ * @public
2311
+ */
2312
+ AssetId: string | undefined;
2313
+ /**
2314
+ * <p>The unique identifier for a data set.</p>
2315
+ * @public
2316
+ */
2317
+ DataSetId: string | undefined;
2318
+ /**
2319
+ * <p>The unique identifier for a revision.</p>
2320
+ * @public
2321
+ */
2322
+ RevisionId: string | undefined;
2323
+ }
2324
+ /**
2325
+ * @public
2326
+ */
2327
+ export interface GetAssetResponse {
2328
+ /**
2329
+ * <p>The ARN for the asset.</p>
2330
+ * @public
2331
+ */
2332
+ Arn?: string;
2333
+ /**
2334
+ * <p>Details about the asset.</p>
2335
+ * @public
2336
+ */
2337
+ AssetDetails?: AssetDetails;
2338
+ /**
2339
+ * <p>The type of asset that is added to a data set.</p>
2340
+ * @public
2341
+ */
2342
+ AssetType?: AssetType;
2343
+ /**
2344
+ * <p>The date and time that the asset was created, in ISO 8601 format.</p>
2345
+ * @public
2346
+ */
2347
+ CreatedAt?: Date;
2348
+ /**
2349
+ * <p>The unique identifier for the data set associated with this asset.</p>
2350
+ * @public
2351
+ */
2352
+ DataSetId?: string;
2353
+ /**
2354
+ * <p>The unique identifier for the asset.</p>
2355
+ * @public
2356
+ */
2357
+ Id?: string;
2358
+ /**
2359
+ * <p>The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used
2360
+ * as the asset name. When exporting to Amazon S3, the asset name is used as default target
2361
+ * Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as
2362
+ * the asset name. When importing from Amazon Redshift, the datashare name is used as the
2363
+ * asset name. When importing from AWS Lake Formation, the static values of "Database(s)
2364
+ * included in the LF-tag policy" or "Table(s) included in the LF-tag policy" are used as the
2365
+ * asset name.</p>
2366
+ * @public
2367
+ */
2368
+ Name?: string;
2369
+ /**
2370
+ * <p>The unique identifier for the revision associated with this asset.</p>
2371
+ * @public
2372
+ */
2373
+ RevisionId?: string;
2374
+ /**
2375
+ * <p>The asset ID of the owned asset corresponding to the entitled asset being viewed. This
2376
+ * parameter is returned when an asset owner is viewing the entitled copy of its owned
2377
+ * asset.</p>
2378
+ * @public
2379
+ */
2380
+ SourceId?: string;
2381
+ /**
2382
+ * <p>The date and time that the asset was last updated, in ISO 8601 format.</p>
1977
2383
  * @public
1978
2384
  */
1979
- DataSetId: string | undefined;
2385
+ UpdatedAt?: Date;
1980
2386
  }
1981
2387
  /**
1982
2388
  * @public
1983
2389
  */
1984
- export interface DeleteEventActionRequest {
2390
+ export interface GetDataGrantRequest {
1985
2391
  /**
1986
- * <p>The unique identifier for the event action.</p>
2392
+ * <p>The ID of the data grant.</p>
1987
2393
  * @public
1988
2394
  */
1989
- EventActionId: string | undefined;
2395
+ DataGrantId: string | undefined;
1990
2396
  }
1991
2397
  /**
1992
2398
  * @public
1993
2399
  */
1994
- export interface DeleteRevisionRequest {
2400
+ export interface GetDataGrantResponse {
1995
2401
  /**
1996
- * <p>The unique identifier for a data set.</p>
2402
+ * <p>The name of the data grant.</p>
1997
2403
  * @public
1998
2404
  */
1999
- DataSetId: string | undefined;
2405
+ Name: string | undefined;
2000
2406
  /**
2001
- * <p>The unique identifier for a revision.</p>
2407
+ * <p>The Amazon Web Services account ID of the data grant sender.</p>
2002
2408
  * @public
2003
2409
  */
2004
- RevisionId: string | undefined;
2005
- }
2006
- /**
2007
- * @public
2008
- */
2009
- export interface GetAssetRequest {
2410
+ SenderPrincipal: string | undefined;
2010
2411
  /**
2011
- * <p>The unique identifier for an asset.</p>
2412
+ * <p>The Amazon Web Services account ID of the data grant receiver.</p>
2012
2413
  * @public
2013
2414
  */
2014
- AssetId: string | undefined;
2415
+ ReceiverPrincipal: string | undefined;
2015
2416
  /**
2016
- * <p>The unique identifier for a data set.</p>
2417
+ * <p>The description of the data grant.</p>
2017
2418
  * @public
2018
2419
  */
2019
- DataSetId: string | undefined;
2420
+ Description?: string;
2020
2421
  /**
2021
- * <p>The unique identifier for a revision.</p>
2422
+ * <p>The acceptance state of the data grant.</p>
2022
2423
  * @public
2023
2424
  */
2024
- RevisionId: string | undefined;
2025
- }
2026
- /**
2027
- * @public
2028
- */
2029
- export interface GetAssetResponse {
2425
+ AcceptanceState: DataGrantAcceptanceState | undefined;
2030
2426
  /**
2031
- * <p>The ARN for the asset.</p>
2427
+ * <p>The timestamp of when the data grant was accepted.</p>
2032
2428
  * @public
2033
2429
  */
2034
- Arn?: string;
2430
+ AcceptedAt?: Date;
2035
2431
  /**
2036
- * <p>Details about the asset.</p>
2432
+ * <p>The timestamp of when access to the associated data set ends.</p>
2037
2433
  * @public
2038
2434
  */
2039
- AssetDetails?: AssetDetails;
2435
+ EndsAt?: Date;
2040
2436
  /**
2041
- * <p>The type of asset that is added to a data set.</p>
2437
+ * <p>The distribution scope for the data grant.</p>
2042
2438
  * @public
2043
2439
  */
2044
- AssetType?: AssetType;
2440
+ GrantDistributionScope: GrantDistributionScope | undefined;
2045
2441
  /**
2046
- * <p>The date and time that the asset was created, in ISO 8601 format.</p>
2442
+ * <p>The ID of the data set associated to the data grant.</p>
2047
2443
  * @public
2048
2444
  */
2049
- CreatedAt?: Date;
2445
+ DataSetId: string | undefined;
2050
2446
  /**
2051
- * <p>The unique identifier for the data set associated with this asset.</p>
2447
+ * <p>The ID of the data set used to create the data grant.</p>
2052
2448
  * @public
2053
2449
  */
2054
- DataSetId?: string;
2450
+ SourceDataSetId: string | undefined;
2055
2451
  /**
2056
- * <p>The unique identifier for the asset.</p>
2452
+ * <p>The ID of the data grant.</p>
2057
2453
  * @public
2058
2454
  */
2059
- Id?: string;
2455
+ Id: string | undefined;
2060
2456
  /**
2061
- * <p>The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used
2062
- * as the asset name. When exporting to Amazon S3, the asset name is used as default target
2063
- * Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as
2064
- * the asset name. When importing from Amazon Redshift, the datashare name is used as the
2065
- * asset name. When importing from AWS Lake Formation, the static values of "Database(s) included
2066
- * in the LF-tag policy" or "Table(s) included in the LF-tag policy" are used as the asset
2067
- * name.</p>
2457
+ * <p>The Amazon Resource Name (ARN) of the data grant.</p>
2068
2458
  * @public
2069
2459
  */
2070
- Name?: string;
2460
+ Arn: string | undefined;
2071
2461
  /**
2072
- * <p>The unique identifier for the revision associated with this asset.</p>
2462
+ * <p>The timestamp of when the data grant was created.</p>
2073
2463
  * @public
2074
2464
  */
2075
- RevisionId?: string;
2465
+ CreatedAt: Date | undefined;
2076
2466
  /**
2077
- * <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>
2467
+ * <p>The timestamp of when the data grant was last updated.</p>
2078
2468
  * @public
2079
2469
  */
2080
- SourceId?: string;
2470
+ UpdatedAt: Date | undefined;
2081
2471
  /**
2082
- * <p>The date and time that the asset was last updated, in ISO 8601 format.</p>
2472
+ * <p>The tags associated to the data grant. A tag is a key-value pair.</p>
2083
2473
  * @public
2084
2474
  */
2085
- UpdatedAt?: Date;
2475
+ Tags?: Record<string, string>;
2086
2476
  }
2087
2477
  /**
2088
2478
  * @public
@@ -2129,17 +2519,21 @@ export interface GetDataSetResponse {
2129
2519
  */
2130
2520
  Name?: string;
2131
2521
  /**
2132
- * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).</p>
2522
+ * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED
2523
+ * to the account (for subscribers).</p>
2133
2524
  * @public
2134
2525
  */
2135
2526
  Origin?: Origin;
2136
2527
  /**
2137
- * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.</p>
2528
+ * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS
2529
+ * Marketplace.</p>
2138
2530
  * @public
2139
2531
  */
2140
2532
  OriginDetails?: OriginDetails;
2141
2533
  /**
2142
- * <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>
2534
+ * <p>The data set ID of the owned data set corresponding to the entitled data set being
2535
+ * viewed. This parameter is returned when a data set owner is viewing the entitled copy of
2536
+ * its owned data set.</p>
2143
2537
  * @public
2144
2538
  */
2145
2539
  SourceId?: string;
@@ -2254,6 +2648,86 @@ export interface GetJobResponse {
2254
2648
  */
2255
2649
  UpdatedAt?: Date;
2256
2650
  }
2651
+ /**
2652
+ * @public
2653
+ */
2654
+ export interface GetReceivedDataGrantRequest {
2655
+ /**
2656
+ * <p>The Amazon Resource Name (ARN) of the data grant.</p>
2657
+ * @public
2658
+ */
2659
+ DataGrantArn: string | undefined;
2660
+ }
2661
+ /**
2662
+ * @public
2663
+ */
2664
+ export interface GetReceivedDataGrantResponse {
2665
+ /**
2666
+ * <p>The name of the data grant.</p>
2667
+ * @public
2668
+ */
2669
+ Name: string | undefined;
2670
+ /**
2671
+ * <p>The Amazon Web Services account ID of the data grant sender.</p>
2672
+ * @public
2673
+ */
2674
+ SenderPrincipal?: string;
2675
+ /**
2676
+ * <p>The Amazon Web Services account ID of the data grant receiver.</p>
2677
+ * @public
2678
+ */
2679
+ ReceiverPrincipal: string | undefined;
2680
+ /**
2681
+ * <p>The description of the data grant.</p>
2682
+ * @public
2683
+ */
2684
+ Description?: string;
2685
+ /**
2686
+ * <p>The acceptance state of the data grant.</p>
2687
+ * @public
2688
+ */
2689
+ AcceptanceState: DataGrantAcceptanceState | undefined;
2690
+ /**
2691
+ * <p>The timestamp of when the data grant was accepted.</p>
2692
+ * @public
2693
+ */
2694
+ AcceptedAt?: Date;
2695
+ /**
2696
+ * <p>The timestamp of when access to the associated data set ends.</p>
2697
+ * @public
2698
+ */
2699
+ EndsAt?: Date;
2700
+ /**
2701
+ * <p>The distribution scope for the data grant.</p>
2702
+ * @public
2703
+ */
2704
+ GrantDistributionScope: GrantDistributionScope | undefined;
2705
+ /**
2706
+ * <p>The ID of the data set associated to the data grant.</p>
2707
+ * @public
2708
+ */
2709
+ DataSetId: string | undefined;
2710
+ /**
2711
+ * <p>The ID of the data grant.</p>
2712
+ * @public
2713
+ */
2714
+ Id: string | undefined;
2715
+ /**
2716
+ * <p>The Amazon Resource Name (ARN) of the data grant.</p>
2717
+ * @public
2718
+ */
2719
+ Arn: string | undefined;
2720
+ /**
2721
+ * <p>The timestamp of when the data grant was created.</p>
2722
+ * @public
2723
+ */
2724
+ CreatedAt: Date | undefined;
2725
+ /**
2726
+ * <p>The timestamp of when the data grant was last updated.</p>
2727
+ * @public
2728
+ */
2729
+ UpdatedAt: Date | undefined;
2730
+ }
2257
2731
  /**
2258
2732
  * @public
2259
2733
  */
@@ -2294,7 +2768,12 @@ export interface GetRevisionResponse {
2294
2768
  */
2295
2769
  DataSetId?: string;
2296
2770
  /**
2297
- * <p>To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.</p>
2771
+ * <p>To publish a revision to a data set in a product, the revision must first be finalized.
2772
+ * Finalizing a revision tells AWS Data Exchange that your changes to the assets in the
2773
+ * revision are complete. After it's in this read-only state, you can publish the revision to
2774
+ * your products. Finalized revisions can be published through the AWS Data Exchange console
2775
+ * or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API
2776
+ * action. When using the API, revisions are uniquely identified by their ARN.</p>
2298
2777
  * @public
2299
2778
  */
2300
2779
  Finalized?: boolean;
@@ -2304,7 +2783,9 @@ export interface GetRevisionResponse {
2304
2783
  */
2305
2784
  Id?: string;
2306
2785
  /**
2307
- * <p>The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.</p>
2786
+ * <p>The revision ID of the owned revision corresponding to the entitled revision being
2787
+ * viewed. This parameter is returned when a revision owner is viewing the entitled copy of
2788
+ * its owned revision.</p>
2308
2789
  * @public
2309
2790
  */
2310
2791
  SourceId?: string;
@@ -2319,7 +2800,8 @@ export interface GetRevisionResponse {
2319
2800
  */
2320
2801
  UpdatedAt?: Date;
2321
2802
  /**
2322
- * <p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>
2803
+ * <p>A required comment to inform subscribers of the reason their access to the revision was
2804
+ * revoked.</p>
2323
2805
  * @public
2324
2806
  */
2325
2807
  RevocationComment?: string;
@@ -2334,6 +2816,104 @@ export interface GetRevisionResponse {
2334
2816
  */
2335
2817
  RevokedAt?: Date;
2336
2818
  }
2819
+ /**
2820
+ * @public
2821
+ */
2822
+ export interface ListDataGrantsRequest {
2823
+ /**
2824
+ * <p>The maximum number of results to be included in the next page.</p>
2825
+ * @public
2826
+ */
2827
+ MaxResults?: number;
2828
+ /**
2829
+ * <p>The pagination token used to retrieve the next page of results for this
2830
+ * operation.</p>
2831
+ * @public
2832
+ */
2833
+ NextToken?: string;
2834
+ }
2835
+ /**
2836
+ * <p>Information about a data grant.</p>
2837
+ * @public
2838
+ */
2839
+ export interface DataGrantSummaryEntry {
2840
+ /**
2841
+ * <p>The name of the data grant.</p>
2842
+ * @public
2843
+ */
2844
+ Name: string | undefined;
2845
+ /**
2846
+ * <p>The Amazon Web Services account ID of the data grant sender.</p>
2847
+ * @public
2848
+ */
2849
+ SenderPrincipal: string | undefined;
2850
+ /**
2851
+ * <p>The Amazon Web Services account ID of the data grant receiver.</p>
2852
+ * @public
2853
+ */
2854
+ ReceiverPrincipal: string | undefined;
2855
+ /**
2856
+ * <p>The acceptance state of the data grant.</p>
2857
+ * @public
2858
+ */
2859
+ AcceptanceState: DataGrantAcceptanceState | undefined;
2860
+ /**
2861
+ * <p>The timestamp of when the data grant was accepted.</p>
2862
+ * @public
2863
+ */
2864
+ AcceptedAt?: Date;
2865
+ /**
2866
+ * <p>The timestamp of when access to the associated data set ends.</p>
2867
+ * @public
2868
+ */
2869
+ EndsAt?: Date;
2870
+ /**
2871
+ * <p>The ID of the data set associated to the data grant.</p>
2872
+ * @public
2873
+ */
2874
+ DataSetId: string | undefined;
2875
+ /**
2876
+ * <p>The ID of the data set used to create the data grant.</p>
2877
+ * @public
2878
+ */
2879
+ SourceDataSetId: string | undefined;
2880
+ /**
2881
+ * <p>The ID of the data grant.</p>
2882
+ * @public
2883
+ */
2884
+ Id: string | undefined;
2885
+ /**
2886
+ * <p>The Amazon Resource Name (ARN) of the data grant.</p>
2887
+ * @public
2888
+ */
2889
+ Arn: string | undefined;
2890
+ /**
2891
+ * <p>The timestamp of when the data grant was created.</p>
2892
+ * @public
2893
+ */
2894
+ CreatedAt: Date | undefined;
2895
+ /**
2896
+ * <p>The timestamp of when the data grant was last updated.</p>
2897
+ * @public
2898
+ */
2899
+ UpdatedAt: Date | undefined;
2900
+ }
2901
+ /**
2902
+ * @public
2903
+ */
2904
+ export interface ListDataGrantsResponse {
2905
+ /**
2906
+ * <p>An object that contains a list of data grant information.</p>
2907
+ * @public
2908
+ */
2909
+ DataGrantSummaries?: DataGrantSummaryEntry[];
2910
+ /**
2911
+ * <p>The pagination token used to retrieve the next page of results for this
2912
+ * operation.</p>
2913
+ * @public
2914
+ */
2915
+ NextToken?: string;
2916
+ }
2337
2917
  /**
2338
2918
  * @public
2339
2919
  */
@@ -2349,7 +2929,8 @@ export interface ListDataSetRevisionsRequest {
2349
2929
  */
2350
2930
  MaxResults?: number;
2351
2931
  /**
2352
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
2932
+ * <p>The token value retrieved from a previous call to access the next page of
2933
+ * results.</p>
2353
2934
  * @public
2354
2935
  */
2355
2936
  NextToken?: string;
@@ -2380,7 +2961,12 @@ export interface RevisionEntry {
2380
2961
  */
2381
2962
  DataSetId: string | undefined;
2382
2963
  /**
2383
- * <p>To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.</p>
2964
+ * <p>To publish a revision to a data set in a product, the revision must first be finalized.
2965
+ * Finalizing a revision tells AWS Data Exchange that your changes to the assets in the
2966
+ * revision are complete. After it's in this read-only state, you can publish the revision to
2967
+ * your products. Finalized revisions can be published through the AWS Data Exchange console
2968
+ * or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API
2969
+ * action. When using the API, revisions are uniquely identified by their ARN.</p>
2384
2970
  * @public
2385
2971
  */
2386
2972
  Finalized?: boolean;
@@ -2390,7 +2976,9 @@ export interface RevisionEntry {
2390
2976
  */
2391
2977
  Id: string | undefined;
2392
2978
  /**
2393
- * <p>The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.</p>
2979
+ * <p>The revision ID of the owned revision corresponding to the entitled revision being
2980
+ * viewed. This parameter is returned when a revision owner is viewing the entitled copy of
2981
+ * its owned revision.</p>
2394
2982
  * @public
2395
2983
  */
2396
2984
  SourceId?: string;
@@ -2400,7 +2988,8 @@ export interface RevisionEntry {
2400
2988
  */
2401
2989
  UpdatedAt: Date | undefined;
2402
2990
  /**
2403
- * <p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>
2991
+ * <p>A required comment to inform subscribers of the reason their access to the revision was
2992
+ * revoked.</p>
2404
2993
  * @public
2405
2994
  */
2406
2995
  RevocationComment?: string;
@@ -2420,7 +3009,8 @@ export interface RevisionEntry {
2420
3009
  */
2421
3010
  export interface ListDataSetRevisionsResponse {
2422
3011
  /**
2423
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3012
+ * <p>The token value retrieved from a previous call to access the next page of
3013
+ * results.</p>
2424
3014
  * @public
2425
3015
  */
2426
3016
  NextToken?: string;
@@ -2440,12 +3030,14 @@ export interface ListDataSetsRequest {
2440
3030
  */
2441
3031
  MaxResults?: number;
2442
3032
  /**
2443
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3033
+ * <p>The token value retrieved from a previous call to access the next page of
3034
+ * results.</p>
2444
3035
  * @public
2445
3036
  */
2446
3037
  NextToken?: string;
2447
3038
  /**
2448
- * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).</p>
3039
+ * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED
3040
+ * to the account (for subscribers).</p>
2449
3041
  * @public
2450
3042
  */
2451
3043
  Origin?: string;
@@ -2486,17 +3078,21 @@ export interface DataSetEntry {
2486
3078
  */
2487
3079
  Name: string | undefined;
2488
3080
  /**
2489
- * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).</p>
3081
+ * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED
3082
+ * to the account (for subscribers).</p>
2490
3083
  * @public
2491
3084
  */
2492
3085
  Origin: Origin | undefined;
2493
3086
  /**
2494
- * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.</p>
3087
+ * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS
3088
+ * Marketplace.</p>
2495
3089
  * @public
2496
3090
  */
2497
3091
  OriginDetails?: OriginDetails;
2498
3092
  /**
2499
- * <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>
3093
+ * <p>The data set ID of the owned data set corresponding to the entitled data set being
3094
+ * viewed. This parameter is returned when a data set owner is viewing the entitled copy of
3095
+ * its owned data set.</p>
2500
3096
  * @public
2501
3097
  */
2502
3098
  SourceId?: string;
@@ -2516,7 +3112,8 @@ export interface ListDataSetsResponse {
2516
3112
  */
2517
3113
  DataSets?: DataSetEntry[];
2518
3114
  /**
2519
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3115
+ * <p>The token value retrieved from a previous call to access the next page of
3116
+ * results.</p>
2520
3117
  * @public
2521
3118
  */
2522
3119
  NextToken?: string;
@@ -2536,13 +3133,15 @@ export interface ListEventActionsRequest {
2536
3133
  */
2537
3134
  MaxResults?: number;
2538
3135
  /**
2539
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3136
+ * <p>The token value retrieved from a previous call to access the next page of
3137
+ * results.</p>
2540
3138
  * @public
2541
3139
  */
2542
3140
  NextToken?: string;
2543
3141
  }
2544
3142
  /**
2545
- * <p>An event action is an object that defines the relationship between a specific event and an automated action that will be taken on behalf of the customer.</p>
3143
+ * <p>An event action is an object that defines the relationship between a specific event and
3144
+ * an automated action that will be taken on behalf of the customer.</p>
2546
3145
  * @public
2547
3146
  */
2548
3147
  export interface EventActionEntry {
@@ -2587,7 +3186,8 @@ export interface ListEventActionsResponse {
2587
3186
  */
2588
3187
  EventActions?: EventActionEntry[];
2589
3188
  /**
2590
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3189
+ * <p>The token value retrieved from a previous call to access the next page of
3190
+ * results.</p>
2591
3191
  * @public
2592
3192
  */
2593
3193
  NextToken?: string;
@@ -2607,7 +3207,8 @@ export interface ListJobsRequest {
2607
3207
  */
2608
3208
  MaxResults?: number;
2609
3209
  /**
2610
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3210
+ * <p>The token value retrieved from a previous call to access the next page of
3211
+ * results.</p>
2611
3212
  * @public
2612
3213
  */
2613
3214
  NextToken?: string;
@@ -2618,7 +3219,10 @@ export interface ListJobsRequest {
2618
3219
  RevisionId?: string;
2619
3220
  }
2620
3221
  /**
2621
- * <p>AWS Data Exchange Jobs are asynchronous import or export operations used to create or copy assets. A data set owner can both import and export as they see fit. Someone with an entitlement to a data set can only export. Jobs are deleted 90 days after they are created.</p>
3222
+ * <p>AWS Data Exchange Jobs are asynchronous import or export operations used to create or
3223
+ * copy assets. A data set owner can both import and export as they see fit. Someone with an
3224
+ * entitlement to a data set can only export. Jobs are deleted 90 days after they are
3225
+ * created.</p>
2622
3226
  * @public
2623
3227
  */
2624
3228
  export interface JobEntry {
@@ -2633,7 +3237,8 @@ export interface JobEntry {
2633
3237
  */
2634
3238
  CreatedAt: Date | undefined;
2635
3239
  /**
2636
- * <p>Details of the operation to be performed by the job, such as export destination details or import source details.</p>
3240
+ * <p>Details of the operation to be performed by the job, such as export destination details
3241
+ * or import source details.</p>
2637
3242
  * @public
2638
3243
  */
2639
3244
  Details: ResponseDetails | undefined;
@@ -2673,7 +3278,106 @@ export interface ListJobsResponse {
2673
3278
  */
2674
3279
  Jobs?: JobEntry[];
2675
3280
  /**
2676
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3281
+ * <p>The token value retrieved from a previous call to access the next page of
3282
+ * results.</p>
3283
+ * @public
3284
+ */
3285
+ NextToken?: string;
3286
+ }
3287
+ /**
3288
+ * @public
3289
+ */
3290
+ export interface ListReceivedDataGrantsRequest {
3291
+ /**
3292
+ * <p>The maximum number of results to be included in the next page.</p>
3293
+ * @public
3294
+ */
3295
+ MaxResults?: number;
3296
+ /**
3297
+ * <p>The pagination token used to retrieve the next page of results for this
3298
+ * operation.</p>
3299
+ * @public
3300
+ */
3301
+ NextToken?: string;
3302
+ /**
3303
+ * <p>The acceptance state of the data grants to list.</p>
3304
+ * @public
3305
+ */
3306
+ AcceptanceState?: AcceptanceStateFilterValue[];
3307
+ }
3308
+ /**
3309
+ * <p>Information about a received data grant.</p>
3310
+ * @public
3311
+ */
3312
+ export interface ReceivedDataGrantSummariesEntry {
3313
+ /**
3314
+ * <p>The name of the data grant.</p>
3315
+ * @public
3316
+ */
3317
+ Name: string | undefined;
3318
+ /**
3319
+ * <p>The Amazon Web Services account ID of the data grant sender.</p>
3320
+ * @public
3321
+ */
3322
+ SenderPrincipal: string | undefined;
3323
+ /**
3324
+ * <p>The Amazon Web Services account ID of the data grant receiver.</p>
3325
+ * @public
3326
+ */
3327
+ ReceiverPrincipal: string | undefined;
3328
+ /**
3329
+ * <p>The acceptance state of the data grant.</p>
3330
+ * @public
3331
+ */
3332
+ AcceptanceState: DataGrantAcceptanceState | undefined;
3333
+ /**
3334
+ * <p>The timestamp of when the data grant was accepted.</p>
3335
+ * @public
3336
+ */
3337
+ AcceptedAt?: Date;
3338
+ /**
3339
+ * <p>The timestamp of when access to the associated data set ends.</p>
3340
+ * @public
3341
+ */
3342
+ EndsAt?: Date;
3343
+ /**
3344
+ * <p>The ID of the data set associated to the data grant.</p>
3345
+ * @public
3346
+ */
3347
+ DataSetId: string | undefined;
3348
+ /**
3349
+ * <p>The ID of the data grant.</p>
3350
+ * @public
3351
+ */
3352
+ Id: string | undefined;
3353
+ /**
3354
+ * <p>The Amazon Resource Name (ARN) of the data grant.</p>
3355
+ * @public
3356
+ */
3357
+ Arn: string | undefined;
3358
+ /**
3359
+ * <p>The timestamp of when the data grant was created.</p>
3360
+ * @public
3361
+ */
3362
+ CreatedAt: Date | undefined;
3363
+ /**
3364
+ * <p>The timestamp of when the data grant was last updated.</p>
3365
+ * @public
3366
+ */
3367
+ UpdatedAt: Date | undefined;
3368
+ }
3369
+ /**
3370
+ * @public
3371
+ */
3372
+ export interface ListReceivedDataGrantsResponse {
3373
+ /**
3374
+ * <p>An object that contains a list of received data grant information.</p>
3375
+ * @public
3376
+ */
3377
+ DataGrantSummaries?: ReceivedDataGrantSummariesEntry[];
3378
+ /**
3379
+ * <p>The pagination token used to retrieve the next page of results for this
3380
+ * operation.</p>
2677
3381
  * @public
2678
3382
  */
2679
3383
  NextToken?: string;
@@ -2693,7 +3397,8 @@ export interface ListRevisionAssetsRequest {
2693
3397
  */
2694
3398
  MaxResults?: number;
2695
3399
  /**
2696
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3400
+ * <p>The token value retrieved from a previous call to access the next page of
3401
+ * results.</p>
2697
3402
  * @public
2698
3403
  */
2699
3404
  NextToken?: string;
@@ -2713,7 +3418,8 @@ export interface ListRevisionAssetsResponse {
2713
3418
  */
2714
3419
  Assets?: AssetEntry[];
2715
3420
  /**
2716
- * <p>The token value retrieved from a previous call to access the next page of results.</p>
3421
+ * <p>The token value retrieved from a previous call to access the next page of
3422
+ * results.</p>
2717
3423
  * @public
2718
3424
  */
2719
3425
  NextToken?: string;
@@ -2753,7 +3459,8 @@ export interface RevokeRevisionRequest {
2753
3459
  */
2754
3460
  RevisionId: string | undefined;
2755
3461
  /**
2756
- * <p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>
3462
+ * <p>A required comment to inform subscribers of the reason their access to the revision was
3463
+ * revoked.</p>
2757
3464
  * @public
2758
3465
  */
2759
3466
  RevocationComment: string | undefined;
@@ -2783,7 +3490,12 @@ export interface RevokeRevisionResponse {
2783
3490
  */
2784
3491
  DataSetId?: string;
2785
3492
  /**
2786
- * <p>To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.</p>
3493
+ * <p>To publish a revision to a data set in a product, the revision must first be finalized.
3494
+ * Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision
3495
+ * are complete. After it's in this read-only state, you can publish the revision to your
3496
+ * products. Finalized revisions can be published through the AWS Data Exchange console or the
3497
+ * AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action.
3498
+ * When using the API, revisions are uniquely identified by their ARN.</p>
2787
3499
  * @public
2788
3500
  */
2789
3501
  Finalized?: boolean;
@@ -2793,7 +3505,9 @@ export interface RevokeRevisionResponse {
2793
3505
  */
2794
3506
  Id?: string;
2795
3507
  /**
2796
- * <p>The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.</p>
3508
+ * <p>The revision ID of the owned revision corresponding to the entitled revision being
3509
+ * viewed. This parameter is returned when a revision owner is viewing the entitled copy of
3510
+ * its owned revision.</p>
2797
3511
  * @public
2798
3512
  */
2799
3513
  SourceId?: string;
@@ -2803,7 +3517,8 @@ export interface RevokeRevisionResponse {
2803
3517
  */
2804
3518
  UpdatedAt?: Date;
2805
3519
  /**
2806
- * <p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>
3520
+ * <p>A required comment to inform subscribers of the reason their access to the revision was
3521
+ * revoked.</p>
2807
3522
  * @public
2808
3523
  */
2809
3524
  RevocationComment?: string;
@@ -2828,7 +3543,8 @@ export interface SendApiAssetRequest {
2828
3543
  */
2829
3544
  Body?: string;
2830
3545
  /**
2831
- * <p>Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).</p>
3546
+ * <p>Attach query string parameters to the end of the URI (for example,
3547
+ * /v1/examplePath?exampleParam=exampleValue).</p>
2832
3548
  * @public
2833
3549
  */
2834
3550
  QueryStringParameters?: Record<string, string>;
@@ -2843,17 +3559,22 @@ export interface SendApiAssetRequest {
2843
3559
  */
2844
3560
  DataSetId: string | undefined;
2845
3561
  /**
2846
- * <p>Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.</p>
3562
+ * <p>Any header value prefixed with x-amzn-dataexchange-header- will have that stripped
3563
+ * before sending the Asset API request. Use this when you want to override a header that AWS
3564
+ * Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP
3565
+ * request.</p>
2847
3566
  * @public
2848
3567
  */
2849
3568
  RequestHeaders?: Record<string, string>;
2850
3569
  /**
2851
- * <p>HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.</p>
3570
+ * <p>HTTP method value for the API request. Alternatively, you can use the appropriate verb
3571
+ * in your request.</p>
2852
3572
  * @public
2853
3573
  */
2854
3574
  Method?: string;
2855
3575
  /**
2856
- * <p>URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/\{pathValue\}.</p>
3576
+ * <p>URI path value for the API request. Alternatively, you can set the URI path directly by
3577
+ * invoking /v1/\{pathValue\}.</p>
2857
3578
  * @public
2858
3579
  */
2859
3580
  Path?: string;
@@ -2917,8 +3638,8 @@ export declare const SchemaChangeType: {
2917
3638
  */
2918
3639
  export type SchemaChangeType = (typeof SchemaChangeType)[keyof typeof SchemaChangeType];
2919
3640
  /**
2920
- * <p>Object encompassing information about a schema change to a single, particular field,
2921
- * a notification can have up to 100 of these.</p>
3641
+ * <p>Object encompassing information about a schema change to a single, particular field, a
3642
+ * notification can have up to 100 of these.</p>
2922
3643
  * @public
2923
3644
  */
2924
3645
  export interface SchemaChangeDetails {
@@ -2990,8 +3711,7 @@ export interface NotificationDetails {
2990
3711
  SchemaChange?: SchemaChangeRequestDetails;
2991
3712
  }
2992
3713
  /**
2993
- * <p>Extra details specific to the affected scope in
2994
- * this LF data set.</p>
3714
+ * <p>Extra details specific to the affected scope in this LF data set.</p>
2995
3715
  * @public
2996
3716
  */
2997
3717
  export interface LakeFormationTagPolicyDetails {
@@ -3009,8 +3729,7 @@ export interface LakeFormationTagPolicyDetails {
3009
3729
  Table?: string;
3010
3730
  }
3011
3731
  /**
3012
- * <p>Extra details specific to the affected scope
3013
- * in this Redshift data set.</p>
3732
+ * <p>Extra details specific to the affected scope in this Redshift data set.</p>
3014
3733
  * @public
3015
3734
  */
3016
3735
  export interface RedshiftDataShareDetails {
@@ -3054,8 +3773,7 @@ export interface RedshiftDataShareDetails {
3054
3773
  View?: string;
3055
3774
  }
3056
3775
  /**
3057
- * <p>Extra details specific to the affected scope in this S3 Data
3058
- * Access data set.</p>
3776
+ * <p>Extra details specific to the affected scope in this S3 Data Access data set.</p>
3059
3777
  * @public
3060
3778
  */
3061
3779
  export interface S3DataAccessDetails {
@@ -3290,7 +4008,9 @@ export interface UpdateAssetResponse {
3290
4008
  */
3291
4009
  RevisionId?: string;
3292
4010
  /**
3293
- * <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>
4011
+ * <p>The asset ID of the owned asset corresponding to the entitled asset being viewed. This
4012
+ * parameter is returned when an asset owner is viewing the entitled copy of its owned
4013
+ * asset.</p>
3294
4014
  * @public
3295
4015
  */
3296
4016
  SourceId?: string;
@@ -3355,17 +4075,21 @@ export interface UpdateDataSetResponse {
3355
4075
  */
3356
4076
  Name?: string;
3357
4077
  /**
3358
- * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).</p>
4078
+ * <p>A property that defines the data set as OWNED by the account (for providers) or ENTITLED
4079
+ * to the account (for subscribers).</p>
3359
4080
  * @public
3360
4081
  */
3361
4082
  Origin?: Origin;
3362
4083
  /**
3363
- * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.</p>
4084
+ * <p>If the origin of this data set is ENTITLED, includes the details for the product on AWS
4085
+ * Marketplace.</p>
3364
4086
  * @public
3365
4087
  */
3366
4088
  OriginDetails?: OriginDetails;
3367
4089
  /**
3368
- * <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>
4090
+ * <p>The data set ID of the owned data set corresponding to the entitled data set being
4091
+ * viewed. This parameter is returned when a data set owner is viewing the entitled copy of
4092
+ * its owned data set.</p>
3369
4093
  * @public
3370
4094
  */
3371
4095
  SourceId?: string;
@@ -3440,7 +4164,9 @@ export interface UpdateRevisionRequest {
3440
4164
  */
3441
4165
  DataSetId: string | undefined;
3442
4166
  /**
3443
- * <p>Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.</p>
4167
+ * <p>Finalizing a revision tells AWS Data Exchange that your changes to the assets in the
4168
+ * revision are complete. After it's in this read-only state, you can publish the revision to
4169
+ * your products.</p>
3444
4170
  * @public
3445
4171
  */
3446
4172
  Finalized?: boolean;
@@ -3475,7 +4201,12 @@ export interface UpdateRevisionResponse {
3475
4201
  */
3476
4202
  DataSetId?: string;
3477
4203
  /**
3478
- * <p>To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.</p>
4204
+ * <p>To publish a revision to a data set in a product, the revision must first be finalized.
4205
+ * Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision
4206
+ * are complete. After it's in this read-only state, you can publish the revision to your
4207
+ * products. Finalized revisions can be published through the AWS Data Exchange console or the
4208
+ * AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action.
4209
+ * When using the API, revisions are uniquely identified by their ARN.</p>
3479
4210
  * @public
3480
4211
  */
3481
4212
  Finalized?: boolean;
@@ -3485,7 +4216,9 @@ export interface UpdateRevisionResponse {
3485
4216
  */
3486
4217
  Id?: string;
3487
4218
  /**
3488
- * <p>The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.</p>
4219
+ * <p>The revision ID of the owned revision corresponding to the entitled revision being
4220
+ * viewed. This parameter is returned when a revision owner is viewing the entitled copy of
4221
+ * its owned revision.</p>
3489
4222
  * @public
3490
4223
  */
3491
4224
  SourceId?: string;
@@ -3495,7 +4228,8 @@ export interface UpdateRevisionResponse {
3495
4228
  */
3496
4229
  UpdatedAt?: Date;
3497
4230
  /**
3498
- * <p>A required comment to inform subscribers of the reason their access to the revision was revoked.</p>
4231
+ * <p>A required comment to inform subscribers of the reason their access to the revision was
4232
+ * revoked.</p>
3499
4233
  * @public
3500
4234
  */
3501
4235
  RevocationComment?: string;