aws-sdk-dataexchange 1.16.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Aws::DataExchange
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ Action = Shapes::StructureShape.new(name: 'Action')
17
18
  Arn = Shapes::StringShape.new(name: 'Arn')
18
19
  AssetDestinationEntry = Shapes::StructureShape.new(name: 'AssetDestinationEntry')
19
20
  AssetDetails = Shapes::StructureShape.new(name: 'AssetDetails')
@@ -21,11 +22,15 @@ module Aws::DataExchange
21
22
  AssetName = Shapes::StringShape.new(name: 'AssetName')
22
23
  AssetSourceEntry = Shapes::StructureShape.new(name: 'AssetSourceEntry')
23
24
  AssetType = Shapes::StringShape.new(name: 'AssetType')
25
+ AutoExportRevisionDestinationEntry = Shapes::StructureShape.new(name: 'AutoExportRevisionDestinationEntry')
26
+ AutoExportRevisionToS3RequestDetails = Shapes::StructureShape.new(name: 'AutoExportRevisionToS3RequestDetails')
24
27
  CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
25
28
  Code = Shapes::StringShape.new(name: 'Code')
26
29
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
27
30
  CreateDataSetRequest = Shapes::StructureShape.new(name: 'CreateDataSetRequest')
28
31
  CreateDataSetResponse = Shapes::StructureShape.new(name: 'CreateDataSetResponse')
32
+ CreateEventActionRequest = Shapes::StructureShape.new(name: 'CreateEventActionRequest')
33
+ CreateEventActionResponse = Shapes::StructureShape.new(name: 'CreateEventActionResponse')
29
34
  CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
30
35
  CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
31
36
  CreateRevisionRequest = Shapes::StructureShape.new(name: 'CreateRevisionRequest')
@@ -33,9 +38,13 @@ module Aws::DataExchange
33
38
  DataSetEntry = Shapes::StructureShape.new(name: 'DataSetEntry')
34
39
  DeleteAssetRequest = Shapes::StructureShape.new(name: 'DeleteAssetRequest')
35
40
  DeleteDataSetRequest = Shapes::StructureShape.new(name: 'DeleteDataSetRequest')
41
+ DeleteEventActionRequest = Shapes::StructureShape.new(name: 'DeleteEventActionRequest')
36
42
  DeleteRevisionRequest = Shapes::StructureShape.new(name: 'DeleteRevisionRequest')
37
43
  Description = Shapes::StringShape.new(name: 'Description')
38
44
  Details = Shapes::StructureShape.new(name: 'Details')
45
+ Event = Shapes::StructureShape.new(name: 'Event')
46
+ EventActionEntry = Shapes::StructureShape.new(name: 'EventActionEntry')
47
+ ExceptionCause = Shapes::StringShape.new(name: 'ExceptionCause')
39
48
  ExportAssetToSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlRequestDetails')
40
49
  ExportAssetToSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlResponseDetails')
41
50
  ExportAssetsToS3RequestDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3RequestDetails')
@@ -47,6 +56,8 @@ module Aws::DataExchange
47
56
  GetAssetResponse = Shapes::StructureShape.new(name: 'GetAssetResponse')
48
57
  GetDataSetRequest = Shapes::StructureShape.new(name: 'GetDataSetRequest')
49
58
  GetDataSetResponse = Shapes::StructureShape.new(name: 'GetDataSetResponse')
59
+ GetEventActionRequest = Shapes::StructureShape.new(name: 'GetEventActionRequest')
60
+ GetEventActionResponse = Shapes::StructureShape.new(name: 'GetEventActionResponse')
50
61
  GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
51
62
  GetJobResponse = Shapes::StructureShape.new(name: 'GetJobResponse')
52
63
  GetRevisionRequest = Shapes::StructureShape.new(name: 'GetRevisionRequest')
@@ -55,6 +66,8 @@ module Aws::DataExchange
55
66
  ImportAssetFromSignedUrlJobErrorDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlJobErrorDetails')
56
67
  ImportAssetFromSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlRequestDetails')
57
68
  ImportAssetFromSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlResponseDetails')
69
+ ImportAssetsFromRedshiftDataSharesRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesRequestDetails')
70
+ ImportAssetsFromRedshiftDataSharesResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesResponseDetails')
58
71
  ImportAssetsFromS3RequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3RequestDetails')
59
72
  ImportAssetsFromS3ResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3ResponseDetails')
60
73
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -67,14 +80,18 @@ module Aws::DataExchange
67
80
  ListDataSetRevisionsResponse = Shapes::StructureShape.new(name: 'ListDataSetRevisionsResponse')
68
81
  ListDataSetsRequest = Shapes::StructureShape.new(name: 'ListDataSetsRequest')
69
82
  ListDataSetsResponse = Shapes::StructureShape.new(name: 'ListDataSetsResponse')
83
+ ListEventActionsRequest = Shapes::StructureShape.new(name: 'ListEventActionsRequest')
84
+ ListEventActionsResponse = Shapes::StructureShape.new(name: 'ListEventActionsResponse')
70
85
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
71
86
  ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
72
87
  ListOfAssetDestinationEntry = Shapes::ListShape.new(name: 'ListOfAssetDestinationEntry')
73
88
  ListOfAssetEntry = Shapes::ListShape.new(name: 'ListOfAssetEntry')
74
89
  ListOfAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfAssetSourceEntry')
75
90
  ListOfDataSetEntry = Shapes::ListShape.new(name: 'ListOfDataSetEntry')
91
+ ListOfEventActionEntry = Shapes::ListShape.new(name: 'ListOfEventActionEntry')
76
92
  ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
77
93
  ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
94
+ ListOfRedshiftDataShareAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfRedshiftDataShareAssetSourceEntry')
78
95
  ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
79
96
  ListOfRevisionEntry = Shapes::ListShape.new(name: 'ListOfRevisionEntry')
80
97
  ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
@@ -88,12 +105,15 @@ module Aws::DataExchange
88
105
  NextToken = Shapes::StringShape.new(name: 'NextToken')
89
106
  Origin = Shapes::StringShape.new(name: 'Origin')
90
107
  OriginDetails = Shapes::StructureShape.new(name: 'OriginDetails')
108
+ RedshiftDataShareAsset = Shapes::StructureShape.new(name: 'RedshiftDataShareAsset')
109
+ RedshiftDataShareAssetSourceEntry = Shapes::StructureShape.new(name: 'RedshiftDataShareAssetSourceEntry')
91
110
  RequestDetails = Shapes::StructureShape.new(name: 'RequestDetails')
92
111
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
93
112
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
94
113
  ResponseDetails = Shapes::StructureShape.new(name: 'ResponseDetails')
95
114
  RevisionDestinationEntry = Shapes::StructureShape.new(name: 'RevisionDestinationEntry')
96
115
  RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
116
+ RevisionPublished = Shapes::StructureShape.new(name: 'RevisionPublished')
97
117
  S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
98
118
  ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
99
119
  ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
@@ -109,6 +129,8 @@ module Aws::DataExchange
109
129
  UpdateAssetResponse = Shapes::StructureShape.new(name: 'UpdateAssetResponse')
110
130
  UpdateDataSetRequest = Shapes::StructureShape.new(name: 'UpdateDataSetRequest')
111
131
  UpdateDataSetResponse = Shapes::StructureShape.new(name: 'UpdateDataSetResponse')
132
+ UpdateEventActionRequest = Shapes::StructureShape.new(name: 'UpdateEventActionRequest')
133
+ UpdateEventActionResponse = Shapes::StructureShape.new(name: 'UpdateEventActionResponse')
112
134
  UpdateRevisionRequest = Shapes::StructureShape.new(name: 'UpdateRevisionRequest')
113
135
  UpdateRevisionResponse = Shapes::StructureShape.new(name: 'UpdateRevisionResponse')
114
136
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
@@ -122,12 +144,16 @@ module Aws::DataExchange
122
144
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
123
145
  AccessDeniedException.struct_class = Types::AccessDeniedException
124
146
 
147
+ Action.add_member(:export_revision_to_s3, Shapes::ShapeRef.new(shape: AutoExportRevisionToS3RequestDetails, location_name: "ExportRevisionToS3"))
148
+ Action.struct_class = Types::Action
149
+
125
150
  AssetDestinationEntry.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
126
151
  AssetDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
127
152
  AssetDestinationEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "Key"))
128
153
  AssetDestinationEntry.struct_class = Types::AssetDestinationEntry
129
154
 
130
155
  AssetDetails.add_member(:s3_snapshot_asset, Shapes::ShapeRef.new(shape: S3SnapshotAsset, location_name: "S3SnapshotAsset"))
156
+ AssetDetails.add_member(:redshift_data_share_asset, Shapes::ShapeRef.new(shape: RedshiftDataShareAsset, location_name: "RedshiftDataShareAsset"))
131
157
  AssetDetails.struct_class = Types::AssetDetails
132
158
 
133
159
  AssetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
@@ -146,6 +172,14 @@ module Aws::DataExchange
146
172
  AssetSourceEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Key"))
147
173
  AssetSourceEntry.struct_class = Types::AssetSourceEntry
148
174
 
175
+ AutoExportRevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
176
+ AutoExportRevisionDestinationEntry.add_member(:key_pattern, Shapes::ShapeRef.new(shape: __string, location_name: "KeyPattern"))
177
+ AutoExportRevisionDestinationEntry.struct_class = Types::AutoExportRevisionDestinationEntry
178
+
179
+ AutoExportRevisionToS3RequestDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
180
+ AutoExportRevisionToS3RequestDetails.add_member(:revision_destination, Shapes::ShapeRef.new(shape: AutoExportRevisionDestinationEntry, required: true, location_name: "RevisionDestination"))
181
+ AutoExportRevisionToS3RequestDetails.struct_class = Types::AutoExportRevisionToS3RequestDetails
182
+
149
183
  CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "JobId"))
150
184
  CancelJobRequest.struct_class = Types::CancelJobRequest
151
185
 
@@ -173,6 +207,18 @@ module Aws::DataExchange
173
207
  CreateDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
174
208
  CreateDataSetResponse.struct_class = Types::CreateDataSetResponse
175
209
 
210
+ CreateEventActionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
211
+ CreateEventActionRequest.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "Event"))
212
+ CreateEventActionRequest.struct_class = Types::CreateEventActionRequest
213
+
214
+ CreateEventActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
215
+ CreateEventActionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
216
+ CreateEventActionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
217
+ CreateEventActionResponse.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "Event"))
218
+ CreateEventActionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
219
+ CreateEventActionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
220
+ CreateEventActionResponse.struct_class = Types::CreateEventActionResponse
221
+
176
222
  CreateJobRequest.add_member(:details, Shapes::ShapeRef.new(shape: RequestDetails, required: true, location_name: "Details"))
177
223
  CreateJobRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
178
224
  CreateJobRequest.struct_class = Types::CreateJobRequest
@@ -223,6 +269,9 @@ module Aws::DataExchange
223
269
  DeleteDataSetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
224
270
  DeleteDataSetRequest.struct_class = Types::DeleteDataSetRequest
225
271
 
272
+ DeleteEventActionRequest.add_member(:event_action_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventActionId"))
273
+ DeleteEventActionRequest.struct_class = Types::DeleteEventActionRequest
274
+
226
275
  DeleteRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
227
276
  DeleteRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
228
277
  DeleteRevisionRequest.struct_class = Types::DeleteRevisionRequest
@@ -231,6 +280,17 @@ module Aws::DataExchange
231
280
  Details.add_member(:import_assets_from_s3_job_error_details, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, location_name: "ImportAssetsFromS3JobErrorDetails"))
232
281
  Details.struct_class = Types::Details
233
282
 
283
+ Event.add_member(:revision_published, Shapes::ShapeRef.new(shape: RevisionPublished, location_name: "RevisionPublished"))
284
+ Event.struct_class = Types::Event
285
+
286
+ EventActionEntry.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
287
+ EventActionEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
288
+ EventActionEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
289
+ EventActionEntry.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "Event"))
290
+ EventActionEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
291
+ EventActionEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
292
+ EventActionEntry.struct_class = Types::EventActionEntry
293
+
234
294
  ExportAssetToSignedUrlRequestDetails.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
235
295
  ExportAssetToSignedUrlRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
236
296
  ExportAssetToSignedUrlRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
@@ -263,6 +323,7 @@ module Aws::DataExchange
263
323
  ExportRevisionsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
264
324
  ExportRevisionsToS3ResponseDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
265
325
  ExportRevisionsToS3ResponseDetails.add_member(:revision_destinations, Shapes::ShapeRef.new(shape: ListOfRevisionDestinationEntry, required: true, location_name: "RevisionDestinations"))
326
+ ExportRevisionsToS3ResponseDetails.add_member(:event_action_arn, Shapes::ShapeRef.new(shape: __string, location_name: "EventActionArn"))
266
327
  ExportRevisionsToS3ResponseDetails.struct_class = Types::ExportRevisionsToS3ResponseDetails
267
328
 
268
329
  ExportServerSideEncryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: __string, location_name: "KmsKeyArn"))
@@ -302,6 +363,17 @@ module Aws::DataExchange
302
363
  GetDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
303
364
  GetDataSetResponse.struct_class = Types::GetDataSetResponse
304
365
 
366
+ GetEventActionRequest.add_member(:event_action_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventActionId"))
367
+ GetEventActionRequest.struct_class = Types::GetEventActionRequest
368
+
369
+ GetEventActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
370
+ GetEventActionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
371
+ GetEventActionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
372
+ GetEventActionResponse.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "Event"))
373
+ GetEventActionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
374
+ GetEventActionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
375
+ GetEventActionResponse.struct_class = Types::GetEventActionResponse
376
+
305
377
  GetJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "JobId"))
306
378
  GetJobRequest.struct_class = Types::GetJobRequest
307
379
 
@@ -347,6 +419,16 @@ module Aws::DataExchange
347
419
  ImportAssetFromSignedUrlResponseDetails.add_member(:signed_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SignedUrlExpiresAt"))
348
420
  ImportAssetFromSignedUrlResponseDetails.struct_class = Types::ImportAssetFromSignedUrlResponseDetails
349
421
 
422
+ ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShareAssetSourceEntry, required: true, location_name: "AssetSources"))
423
+ ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
424
+ ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
425
+ ImportAssetsFromRedshiftDataSharesRequestDetails.struct_class = Types::ImportAssetsFromRedshiftDataSharesRequestDetails
426
+
427
+ ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShareAssetSourceEntry, required: true, location_name: "AssetSources"))
428
+ ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
429
+ ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
430
+ ImportAssetsFromRedshiftDataSharesResponseDetails.struct_class = Types::ImportAssetsFromRedshiftDataSharesResponseDetails
431
+
350
432
  ImportAssetsFromS3RequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, required: true, location_name: "AssetSources"))
351
433
  ImportAssetsFromS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
352
434
  ImportAssetsFromS3RequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
@@ -397,6 +479,15 @@ module Aws::DataExchange
397
479
  ListDataSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
398
480
  ListDataSetsResponse.struct_class = Types::ListDataSetsResponse
399
481
 
482
+ ListEventActionsRequest.add_member(:event_source_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "eventSourceId"))
483
+ ListEventActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
484
+ ListEventActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
485
+ ListEventActionsRequest.struct_class = Types::ListEventActionsRequest
486
+
487
+ ListEventActionsResponse.add_member(:event_actions, Shapes::ShapeRef.new(shape: ListOfEventActionEntry, location_name: "EventActions"))
488
+ ListEventActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
489
+ ListEventActionsResponse.struct_class = Types::ListEventActionsResponse
490
+
400
491
  ListJobsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "dataSetId"))
401
492
  ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
402
493
  ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -415,10 +506,14 @@ module Aws::DataExchange
415
506
 
416
507
  ListOfDataSetEntry.member = Shapes::ShapeRef.new(shape: DataSetEntry)
417
508
 
509
+ ListOfEventActionEntry.member = Shapes::ShapeRef.new(shape: EventActionEntry)
510
+
418
511
  ListOfJobEntry.member = Shapes::ShapeRef.new(shape: JobEntry)
419
512
 
420
513
  ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
421
514
 
515
+ ListOfRedshiftDataShareAssetSourceEntry.member = Shapes::ShapeRef.new(shape: RedshiftDataShareAssetSourceEntry)
516
+
422
517
  ListOfRevisionDestinationEntry.member = Shapes::ShapeRef.new(shape: RevisionDestinationEntry)
423
518
 
424
519
  ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
@@ -447,11 +542,18 @@ module Aws::DataExchange
447
542
  OriginDetails.add_member(:product_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProductId"))
448
543
  OriginDetails.struct_class = Types::OriginDetails
449
544
 
545
+ RedshiftDataShareAsset.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
546
+ RedshiftDataShareAsset.struct_class = Types::RedshiftDataShareAsset
547
+
548
+ RedshiftDataShareAssetSourceEntry.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DataShareArn"))
549
+ RedshiftDataShareAssetSourceEntry.struct_class = Types::RedshiftDataShareAssetSourceEntry
550
+
450
551
  RequestDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlRequestDetails, location_name: "ExportAssetToSignedUrl"))
451
552
  RequestDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3RequestDetails, location_name: "ExportAssetsToS3"))
452
553
  RequestDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3RequestDetails, location_name: "ExportRevisionsToS3"))
453
554
  RequestDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlRequestDetails, location_name: "ImportAssetFromSignedUrl"))
454
555
  RequestDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3RequestDetails, location_name: "ImportAssetsFromS3"))
556
+ RequestDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesRequestDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
455
557
  RequestDetails.struct_class = Types::RequestDetails
456
558
 
457
559
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
@@ -464,6 +566,7 @@ module Aws::DataExchange
464
566
  ResponseDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3ResponseDetails, location_name: "ExportRevisionsToS3"))
465
567
  ResponseDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlResponseDetails, location_name: "ImportAssetFromSignedUrl"))
466
568
  ResponseDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3ResponseDetails, location_name: "ImportAssetsFromS3"))
569
+ ResponseDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesResponseDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
467
570
  ResponseDetails.struct_class = Types::ResponseDetails
468
571
 
469
572
  RevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
@@ -481,6 +584,9 @@ module Aws::DataExchange
481
584
  RevisionEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
482
585
  RevisionEntry.struct_class = Types::RevisionEntry
483
586
 
587
+ RevisionPublished.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
588
+ RevisionPublished.struct_class = Types::RevisionPublished
589
+
484
590
  S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
485
591
  S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
486
592
 
@@ -540,6 +646,18 @@ module Aws::DataExchange
540
646
  UpdateDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
541
647
  UpdateDataSetResponse.struct_class = Types::UpdateDataSetResponse
542
648
 
649
+ UpdateEventActionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
650
+ UpdateEventActionRequest.add_member(:event_action_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventActionId"))
651
+ UpdateEventActionRequest.struct_class = Types::UpdateEventActionRequest
652
+
653
+ UpdateEventActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
654
+ UpdateEventActionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
655
+ UpdateEventActionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
656
+ UpdateEventActionResponse.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "Event"))
657
+ UpdateEventActionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
658
+ UpdateEventActionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
659
+ UpdateEventActionResponse.struct_class = Types::UpdateEventActionResponse
660
+
543
661
  UpdateRevisionRequest.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
544
662
  UpdateRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
545
663
  UpdateRevisionRequest.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
@@ -557,6 +675,7 @@ module Aws::DataExchange
557
675
  UpdateRevisionResponse.struct_class = Types::UpdateRevisionResponse
558
676
 
559
677
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
678
+ ValidationException.add_member(:exception_cause, Shapes::ShapeRef.new(shape: ExceptionCause, location_name: "ExceptionCause"))
560
679
  ValidationException.struct_class = Types::ValidationException
561
680
 
562
681
 
@@ -603,6 +722,19 @@ module Aws::DataExchange
603
722
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
604
723
  end)
605
724
 
725
+ api.add_operation(:create_event_action, Seahorse::Model::Operation.new.tap do |o|
726
+ o.name = "CreateEventAction"
727
+ o.http_method = "POST"
728
+ o.http_request_uri = "/v1/event-actions"
729
+ o.input = Shapes::ShapeRef.new(shape: CreateEventActionRequest)
730
+ o.output = Shapes::ShapeRef.new(shape: CreateEventActionResponse)
731
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
733
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
735
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
736
+ end)
737
+
606
738
  api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
607
739
  o.name = "CreateJob"
608
740
  o.http_method = "POST"
@@ -657,6 +789,18 @@ module Aws::DataExchange
657
789
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
658
790
  end)
659
791
 
792
+ api.add_operation(:delete_event_action, Seahorse::Model::Operation.new.tap do |o|
793
+ o.name = "DeleteEventAction"
794
+ o.http_method = "DELETE"
795
+ o.http_request_uri = "/v1/event-actions/{EventActionId}"
796
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventActionRequest)
797
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
798
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
799
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
800
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
801
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
802
+ end)
803
+
660
804
  api.add_operation(:delete_revision, Seahorse::Model::Operation.new.tap do |o|
661
805
  o.name = "DeleteRevision"
662
806
  o.http_method = "DELETE"
@@ -695,6 +839,18 @@ module Aws::DataExchange
695
839
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
696
840
  end)
697
841
 
842
+ api.add_operation(:get_event_action, Seahorse::Model::Operation.new.tap do |o|
843
+ o.name = "GetEventAction"
844
+ o.http_method = "GET"
845
+ o.http_request_uri = "/v1/event-actions/{EventActionId}"
846
+ o.input = Shapes::ShapeRef.new(shape: GetEventActionRequest)
847
+ o.output = Shapes::ShapeRef.new(shape: GetEventActionResponse)
848
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
851
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
852
+ end)
853
+
698
854
  api.add_operation(:get_job, Seahorse::Model::Operation.new.tap do |o|
699
855
  o.name = "GetJob"
700
856
  o.http_method = "GET"
@@ -755,6 +911,24 @@ module Aws::DataExchange
755
911
  )
756
912
  end)
757
913
 
914
+ api.add_operation(:list_event_actions, Seahorse::Model::Operation.new.tap do |o|
915
+ o.name = "ListEventActions"
916
+ o.http_method = "GET"
917
+ o.http_request_uri = "/v1/event-actions"
918
+ o.input = Shapes::ShapeRef.new(shape: ListEventActionsRequest)
919
+ o.output = Shapes::ShapeRef.new(shape: ListEventActionsResponse)
920
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
921
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
922
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
923
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
924
+ o[:pager] = Aws::Pager.new(
925
+ limit_key: "max_results",
926
+ tokens: {
927
+ "next_token" => "next_token"
928
+ }
929
+ )
930
+ end)
931
+
758
932
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
759
933
  o.name = "ListJobs"
760
934
  o.http_method = "GET"
@@ -856,6 +1030,19 @@ module Aws::DataExchange
856
1030
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
857
1031
  end)
858
1032
 
1033
+ api.add_operation(:update_event_action, Seahorse::Model::Operation.new.tap do |o|
1034
+ o.name = "UpdateEventAction"
1035
+ o.http_method = "PATCH"
1036
+ o.http_request_uri = "/v1/event-actions/{EventActionId}"
1037
+ o.input = Shapes::ShapeRef.new(shape: UpdateEventActionRequest)
1038
+ o.output = Shapes::ShapeRef.new(shape: UpdateEventActionResponse)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1042
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1044
+ end)
1045
+
859
1046
  api.add_operation(:update_revision, Seahorse::Model::Operation.new.tap do |o|
860
1047
  o.name = "UpdateRevision"
861
1048
  o.http_method = "PATCH"
@@ -174,6 +174,11 @@ module Aws::DataExchange
174
174
  def message
175
175
  @message || @data[:message]
176
176
  end
177
+
178
+ # @return [String]
179
+ def exception_cause
180
+ @data[:exception_cause]
181
+ end
177
182
  end
178
183
 
179
184
  end