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.
@@ -24,6 +24,36 @@ module Aws::DataExchange
24
24
  include Aws::Structure
25
25
  end
26
26
 
27
+ # What occurs after a certain event.
28
+ #
29
+ # @note When making an API call, you may pass Action
30
+ # data as a hash:
31
+ #
32
+ # {
33
+ # export_revision_to_s3: {
34
+ # encryption: {
35
+ # kms_key_arn: "__string",
36
+ # type: "aws:kms", # required, accepts aws:kms, AES256
37
+ # },
38
+ # revision_destination: { # required
39
+ # bucket: "__string", # required
40
+ # key_pattern: "__string",
41
+ # },
42
+ # },
43
+ # }
44
+ #
45
+ # @!attribute [rw] export_revision_to_s3
46
+ # Details for the export revision to Amazon S3 action.
47
+ # @return [Types::AutoExportRevisionToS3RequestDetails]
48
+ #
49
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Action AWS API Documentation
50
+ #
51
+ class Action < Struct.new(
52
+ :export_revision_to_s3)
53
+ SENSITIVE = []
54
+ include Aws::Structure
55
+ end
56
+
27
57
  # The destination for the asset.
28
58
  #
29
59
  # @note When making an API call, you may pass AssetDestinationEntry
@@ -57,34 +87,41 @@ module Aws::DataExchange
57
87
  include Aws::Structure
58
88
  end
59
89
 
90
+ # Information about the asset.
91
+ #
60
92
  # @!attribute [rw] s3_snapshot_asset
61
93
  # The S3 object that is the asset.
62
94
  # @return [Types::S3SnapshotAsset]
63
95
  #
96
+ # @!attribute [rw] redshift_data_share_asset
97
+ # The Amazon Redshift datashare that is the asset.
98
+ # @return [Types::RedshiftDataShareAsset]
99
+ #
64
100
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetDetails AWS API Documentation
65
101
  #
66
102
  class AssetDetails < Struct.new(
67
- :s3_snapshot_asset)
103
+ :s3_snapshot_asset,
104
+ :redshift_data_share_asset)
68
105
  SENSITIVE = []
69
106
  include Aws::Structure
70
107
  end
71
108
 
72
- # An asset in AWS Data Exchange is a piece of data that can be stored as
73
- # an S3 object. The asset can be a structured data file, an image file,
74
- # or some other data file. When you create an import job for your files,
75
- # you create an asset in AWS Data Exchange for each of those files.
109
+ # An asset in AWS Data Exchange is a piece of data. The asset can be a
110
+ # structured data file, an image file, or some other data file that can
111
+ # be stored as an S3 object, or an Amazon Redshift datashare (Preview).
112
+ # When you create an import job for your files, you create an asset in
113
+ # AWS Data Exchange for each of those files.
76
114
  #
77
115
  # @!attribute [rw] arn
78
116
  # The ARN for the asset.
79
117
  # @return [String]
80
118
  #
81
119
  # @!attribute [rw] asset_details
82
- # Information about the asset, including its size.
120
+ # Information about the asset.
83
121
  # @return [Types::AssetDetails]
84
122
  #
85
123
  # @!attribute [rw] asset_type
86
- # The type of file your data is stored in. Currently, the supported
87
- # asset type is S3\_SNAPSHOT.
124
+ # The type of asset that is added to a data set.
88
125
  # @return [String]
89
126
  #
90
127
  # @!attribute [rw] created_at
@@ -164,6 +201,74 @@ module Aws::DataExchange
164
201
  include Aws::Structure
165
202
  end
166
203
 
204
+ # A revision destination is the Amazon S3 bucket folder destination to
205
+ # where the export will be sent.
206
+ #
207
+ # @note When making an API call, you may pass AutoExportRevisionDestinationEntry
208
+ # data as a hash:
209
+ #
210
+ # {
211
+ # bucket: "__string", # required
212
+ # key_pattern: "__string",
213
+ # }
214
+ #
215
+ # @!attribute [rw] bucket
216
+ # The S3 bucket that is the destination for the event action.
217
+ # @return [String]
218
+ #
219
+ # @!attribute [rw] key_pattern
220
+ # A string representing the pattern for generated names of the
221
+ # individual assets in the revision. For more information about key
222
+ # patterns, see [Key patterns when exporting revisions][1].
223
+ #
224
+ #
225
+ #
226
+ # [1]: https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns
227
+ # @return [String]
228
+ #
229
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AutoExportRevisionDestinationEntry AWS API Documentation
230
+ #
231
+ class AutoExportRevisionDestinationEntry < Struct.new(
232
+ :bucket,
233
+ :key_pattern)
234
+ SENSITIVE = []
235
+ include Aws::Structure
236
+ end
237
+
238
+ # Details of the operation to be performed by the job.
239
+ #
240
+ # @note When making an API call, you may pass AutoExportRevisionToS3RequestDetails
241
+ # data as a hash:
242
+ #
243
+ # {
244
+ # encryption: {
245
+ # kms_key_arn: "__string",
246
+ # type: "aws:kms", # required, accepts aws:kms, AES256
247
+ # },
248
+ # revision_destination: { # required
249
+ # bucket: "__string", # required
250
+ # key_pattern: "__string",
251
+ # },
252
+ # }
253
+ #
254
+ # @!attribute [rw] encryption
255
+ # Encryption configuration for the auto export job.
256
+ # @return [Types::ExportServerSideEncryption]
257
+ #
258
+ # @!attribute [rw] revision_destination
259
+ # A revision destination is the Amazon S3 bucket folder destination to
260
+ # where the export will be sent.
261
+ # @return [Types::AutoExportRevisionDestinationEntry]
262
+ #
263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AutoExportRevisionToS3RequestDetails AWS API Documentation
264
+ #
265
+ class AutoExportRevisionToS3RequestDetails < Struct.new(
266
+ :encryption,
267
+ :revision_destination)
268
+ SENSITIVE = []
269
+ include Aws::Structure
270
+ end
271
+
167
272
  # @note When making an API call, you may pass CancelJobRequest
168
273
  # data as a hash:
169
274
  #
@@ -214,7 +319,7 @@ module Aws::DataExchange
214
319
  # data as a hash:
215
320
  #
216
321
  # {
217
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
322
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
218
323
  # description: "Description", # required
219
324
  # name: "Name", # required
220
325
  # tags: {
@@ -223,8 +328,7 @@ module Aws::DataExchange
223
328
  # }
224
329
  #
225
330
  # @!attribute [rw] asset_type
226
- # The type of file your data is stored in. Currently, the supported
227
- # asset type is S3\_SNAPSHOT.
331
+ # The type of asset that is added to a data set.
228
332
  # @return [String]
229
333
  #
230
334
  # @!attribute [rw] description
@@ -261,8 +365,7 @@ module Aws::DataExchange
261
365
  # @return [String]
262
366
  #
263
367
  # @!attribute [rw] asset_type
264
- # The type of file your data is stored in. Currently, the supported
265
- # asset type is S3\_SNAPSHOT.
368
+ # The type of asset that is added to a data set.
266
369
  # @return [String]
267
370
  #
268
371
  # @!attribute [rw] created_at
@@ -291,6 +394,7 @@ module Aws::DataExchange
291
394
  # @return [String]
292
395
  #
293
396
  # @!attribute [rw] origin_details
397
+ # Information about the origin of the data set.
294
398
  # @return [Types::OriginDetails]
295
399
  #
296
400
  # @!attribute [rw] source_id
@@ -323,6 +427,88 @@ module Aws::DataExchange
323
427
  include Aws::Structure
324
428
  end
325
429
 
430
+ # A request to create an event action.
431
+ #
432
+ # @note When making an API call, you may pass CreateEventActionRequest
433
+ # data as a hash:
434
+ #
435
+ # {
436
+ # action: { # required
437
+ # export_revision_to_s3: {
438
+ # encryption: {
439
+ # kms_key_arn: "__string",
440
+ # type: "aws:kms", # required, accepts aws:kms, AES256
441
+ # },
442
+ # revision_destination: { # required
443
+ # bucket: "__string", # required
444
+ # key_pattern: "__string",
445
+ # },
446
+ # },
447
+ # },
448
+ # event: { # required
449
+ # revision_published: {
450
+ # data_set_id: "Id", # required
451
+ # },
452
+ # },
453
+ # }
454
+ #
455
+ # @!attribute [rw] action
456
+ # What occurs after a certain event.
457
+ # @return [Types::Action]
458
+ #
459
+ # @!attribute [rw] event
460
+ # What occurs to start an action.
461
+ # @return [Types::Event]
462
+ #
463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventActionRequest AWS API Documentation
464
+ #
465
+ class CreateEventActionRequest < Struct.new(
466
+ :action,
467
+ :event)
468
+ SENSITIVE = []
469
+ include Aws::Structure
470
+ end
471
+
472
+ # @!attribute [rw] action
473
+ # What occurs after a certain event.
474
+ # @return [Types::Action]
475
+ #
476
+ # @!attribute [rw] arn
477
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
478
+ # resource.
479
+ # @return [String]
480
+ #
481
+ # @!attribute [rw] created_at
482
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
483
+ # format.
484
+ # @return [Time]
485
+ #
486
+ # @!attribute [rw] event
487
+ # What occurs to start an action.
488
+ # @return [Types::Event]
489
+ #
490
+ # @!attribute [rw] id
491
+ # A unique identifier.
492
+ # @return [String]
493
+ #
494
+ # @!attribute [rw] updated_at
495
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
496
+ # format.
497
+ # @return [Time]
498
+ #
499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventActionResponse AWS API Documentation
500
+ #
501
+ class CreateEventActionResponse < Struct.new(
502
+ :action,
503
+ :arn,
504
+ :created_at,
505
+ :event,
506
+ :id,
507
+ :updated_at)
508
+ SENSITIVE = []
509
+ include Aws::Structure
510
+ end
511
+
326
512
  # The CreateJob request. AWS Data Exchange Jobs are asynchronous import
327
513
  # or export operations used to create or copy assets. A data set owner
328
514
  # can both import and export assets. A subscriber with an entitlement to
@@ -384,8 +570,17 @@ module Aws::DataExchange
384
570
  # data_set_id: "Id", # required
385
571
  # revision_id: "Id", # required
386
572
  # },
573
+ # import_assets_from_redshift_data_shares: {
574
+ # asset_sources: [ # required
575
+ # {
576
+ # data_share_arn: "__string", # required
577
+ # },
578
+ # ],
579
+ # data_set_id: "Id", # required
580
+ # revision_id: "Id", # required
581
+ # },
387
582
  # },
388
- # type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3
583
+ # type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3, IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES
389
584
  # }
390
585
  #
391
586
  # @!attribute [rw] details
@@ -552,8 +747,7 @@ module Aws::DataExchange
552
747
  # @return [String]
553
748
  #
554
749
  # @!attribute [rw] asset_type
555
- # The type of file your data is stored in. Currently, the supported
556
- # asset type is S3\_SNAPSHOT.
750
+ # The type of asset that is added to a data set.
557
751
  # @return [String]
558
752
  #
559
753
  # @!attribute [rw] created_at
@@ -656,6 +850,24 @@ module Aws::DataExchange
656
850
  include Aws::Structure
657
851
  end
658
852
 
853
+ # @note When making an API call, you may pass DeleteEventActionRequest
854
+ # data as a hash:
855
+ #
856
+ # {
857
+ # event_action_id: "__string", # required
858
+ # }
859
+ #
860
+ # @!attribute [rw] event_action_id
861
+ # @return [String]
862
+ #
863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteEventActionRequest AWS API Documentation
864
+ #
865
+ class DeleteEventActionRequest < Struct.new(
866
+ :event_action_id)
867
+ SENSITIVE = []
868
+ include Aws::Structure
869
+ end
870
+
659
871
  # @note When making an API call, you may pass DeleteRevisionRequest
660
872
  # data as a hash:
661
873
  #
@@ -679,11 +891,14 @@ module Aws::DataExchange
679
891
  include Aws::Structure
680
892
  end
681
893
 
894
+ # Information about the job error.
895
+ #
682
896
  # @!attribute [rw] import_asset_from_signed_url_job_error_details
897
+ # Information about the job error.
683
898
  # @return [Types::ImportAssetFromSignedUrlJobErrorDetails]
684
899
  #
685
900
  # @!attribute [rw] import_assets_from_s3_job_error_details
686
- # The list of sources for the assets.
901
+ # Information about the job error.
687
902
  # @return [Array<Types::AssetSourceEntry>]
688
903
  #
689
904
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Details AWS API Documentation
@@ -695,6 +910,72 @@ module Aws::DataExchange
695
910
  include Aws::Structure
696
911
  end
697
912
 
913
+ # What occurs to start an action.
914
+ #
915
+ # @note When making an API call, you may pass Event
916
+ # data as a hash:
917
+ #
918
+ # {
919
+ # revision_published: {
920
+ # data_set_id: "Id", # required
921
+ # },
922
+ # }
923
+ #
924
+ # @!attribute [rw] revision_published
925
+ # What occurs to start the revision publish action.
926
+ # @return [Types::RevisionPublished]
927
+ #
928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Event AWS API Documentation
929
+ #
930
+ class Event < Struct.new(
931
+ :revision_published)
932
+ SENSITIVE = []
933
+ include Aws::Structure
934
+ end
935
+
936
+ # An event action is an object that defines the relationship between a
937
+ # specific event and an automated action that will be taken on behalf of
938
+ # the customer.
939
+ #
940
+ # @!attribute [rw] action
941
+ # What occurs after a certain event.
942
+ # @return [Types::Action]
943
+ #
944
+ # @!attribute [rw] arn
945
+ # The Amazon Resource Name (ARN) for the event action.
946
+ # @return [String]
947
+ #
948
+ # @!attribute [rw] created_at
949
+ # The date and time that the event action was created, in ISO 8601
950
+ # format.
951
+ # @return [Time]
952
+ #
953
+ # @!attribute [rw] event
954
+ # What occurs to start an action.
955
+ # @return [Types::Event]
956
+ #
957
+ # @!attribute [rw] id
958
+ # The unique identifier for the event action.
959
+ # @return [String]
960
+ #
961
+ # @!attribute [rw] updated_at
962
+ # The date and time that the event action was last updated, in ISO
963
+ # 8601 format.
964
+ # @return [Time]
965
+ #
966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/EventActionEntry AWS API Documentation
967
+ #
968
+ class EventActionEntry < Struct.new(
969
+ :action,
970
+ :arn,
971
+ :created_at,
972
+ :event,
973
+ :id,
974
+ :updated_at)
975
+ SENSITIVE = []
976
+ include Aws::Structure
977
+ end
978
+
698
979
  # Details of the operation to be performed by the job.
699
980
  #
700
981
  # @note When making an API call, you may pass ExportAssetToSignedUrlRequestDetails
@@ -906,19 +1187,24 @@ module Aws::DataExchange
906
1187
  # The destination in Amazon S3 where the revision is exported.
907
1188
  # @return [Array<Types::RevisionDestinationEntry>]
908
1189
  #
1190
+ # @!attribute [rw] event_action_arn
1191
+ # The Amazon Resource Name (ARN) of the event action.
1192
+ # @return [String]
1193
+ #
909
1194
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportRevisionsToS3ResponseDetails AWS API Documentation
910
1195
  #
911
1196
  class ExportRevisionsToS3ResponseDetails < Struct.new(
912
1197
  :data_set_id,
913
1198
  :encryption,
914
- :revision_destinations)
1199
+ :revision_destinations,
1200
+ :event_action_arn)
915
1201
  SENSITIVE = []
916
1202
  include Aws::Structure
917
1203
  end
918
1204
 
919
1205
  # Encryption configuration of the export job. Includes the encryption
920
- # type as well as the AWS KMS key. The KMS key is only necessary if you
921
- # chose the KMS encryption type.
1206
+ # type in addition to the AWS KMS key. The KMS key is only necessary if
1207
+ # you chose the KMS encryption. type.
922
1208
  #
923
1209
  # @note When making an API call, you may pass ExportServerSideEncryption
924
1210
  # data as a hash:
@@ -929,9 +1215,9 @@ module Aws::DataExchange
929
1215
  # }
930
1216
  #
931
1217
  # @!attribute [rw] kms_key_arn
932
- # The Amazon Resource Name (ARN) of the the AWS KMS key you want to
933
- # use to encrypt the Amazon S3 objects. This parameter is required if
934
- # you choose aws:kms as an encryption type.
1218
+ # The Amazon Resource Name (ARN) of the AWS KMS key you want to use to
1219
+ # encrypt the Amazon S3 objects. This parameter is required if you
1220
+ # choose aws:kms as an encryption type.
935
1221
  # @return [String]
936
1222
  #
937
1223
  # @!attribute [rw] type
@@ -982,11 +1268,11 @@ module Aws::DataExchange
982
1268
  # @return [String]
983
1269
  #
984
1270
  # @!attribute [rw] asset_details
1271
+ # Information about the asset.
985
1272
  # @return [Types::AssetDetails]
986
1273
  #
987
1274
  # @!attribute [rw] asset_type
988
- # The type of file your data is stored in. Currently, the supported
989
- # asset type is S3\_SNAPSHOT.
1275
+ # The type of asset that is added to a data set.
990
1276
  # @return [String]
991
1277
  #
992
1278
  # @!attribute [rw] created_at
@@ -1062,8 +1348,7 @@ module Aws::DataExchange
1062
1348
  # @return [String]
1063
1349
  #
1064
1350
  # @!attribute [rw] asset_type
1065
- # The type of file your data is stored in. Currently, the supported
1066
- # asset type is S3\_SNAPSHOT.
1351
+ # The type of asset that is added to a data set.
1067
1352
  # @return [String]
1068
1353
  #
1069
1354
  # @!attribute [rw] created_at
@@ -1092,6 +1377,7 @@ module Aws::DataExchange
1092
1377
  # @return [String]
1093
1378
  #
1094
1379
  # @!attribute [rw] origin_details
1380
+ # Information about the origin of the data set.
1095
1381
  # @return [Types::OriginDetails]
1096
1382
  #
1097
1383
  # @!attribute [rw] source_id
@@ -1124,6 +1410,64 @@ module Aws::DataExchange
1124
1410
  include Aws::Structure
1125
1411
  end
1126
1412
 
1413
+ # @note When making an API call, you may pass GetEventActionRequest
1414
+ # data as a hash:
1415
+ #
1416
+ # {
1417
+ # event_action_id: "__string", # required
1418
+ # }
1419
+ #
1420
+ # @!attribute [rw] event_action_id
1421
+ # @return [String]
1422
+ #
1423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventActionRequest AWS API Documentation
1424
+ #
1425
+ class GetEventActionRequest < Struct.new(
1426
+ :event_action_id)
1427
+ SENSITIVE = []
1428
+ include Aws::Structure
1429
+ end
1430
+
1431
+ # @!attribute [rw] action
1432
+ # What occurs after a certain event.
1433
+ # @return [Types::Action]
1434
+ #
1435
+ # @!attribute [rw] arn
1436
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
1437
+ # resource.
1438
+ # @return [String]
1439
+ #
1440
+ # @!attribute [rw] created_at
1441
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
1442
+ # format.
1443
+ # @return [Time]
1444
+ #
1445
+ # @!attribute [rw] event
1446
+ # What occurs to start an action.
1447
+ # @return [Types::Event]
1448
+ #
1449
+ # @!attribute [rw] id
1450
+ # A unique identifier.
1451
+ # @return [String]
1452
+ #
1453
+ # @!attribute [rw] updated_at
1454
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
1455
+ # format.
1456
+ # @return [Time]
1457
+ #
1458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventActionResponse AWS API Documentation
1459
+ #
1460
+ class GetEventActionResponse < Struct.new(
1461
+ :action,
1462
+ :arn,
1463
+ :created_at,
1464
+ :event,
1465
+ :id,
1466
+ :updated_at)
1467
+ SENSITIVE = []
1468
+ include Aws::Structure
1469
+ end
1470
+
1127
1471
  # @note When making an API call, you may pass GetJobRequest
1128
1472
  # data as a hash:
1129
1473
  #
@@ -1264,10 +1608,10 @@ module Aws::DataExchange
1264
1608
  include Aws::Structure
1265
1609
  end
1266
1610
 
1611
+ # Information about the job error.
1612
+ #
1267
1613
  # @!attribute [rw] asset_name
1268
- # The name of the asset. When importing from Amazon S3, the S3 object
1269
- # key is used as the asset name. When exporting to Amazon S3, the
1270
- # asset name is used as default target S3 object key.
1614
+ # Information about the job error.
1271
1615
  # @return [String]
1272
1616
  #
1273
1617
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromSignedUrlJobErrorDetails AWS API Documentation
@@ -1325,7 +1669,7 @@ module Aws::DataExchange
1325
1669
  # signed URL and other information.
1326
1670
  #
1327
1671
  # @!attribute [rw] asset_name
1328
- # The name for the asset associated with this import response.
1672
+ # The name for the asset associated with this import job.
1329
1673
  # @return [String]
1330
1674
  #
1331
1675
  # @!attribute [rw] data_set_id
@@ -1365,6 +1709,71 @@ module Aws::DataExchange
1365
1709
  include Aws::Structure
1366
1710
  end
1367
1711
 
1712
+ # Details from an import from Amazon Redshift datashare request.
1713
+ #
1714
+ # @note When making an API call, you may pass ImportAssetsFromRedshiftDataSharesRequestDetails
1715
+ # data as a hash:
1716
+ #
1717
+ # {
1718
+ # asset_sources: [ # required
1719
+ # {
1720
+ # data_share_arn: "__string", # required
1721
+ # },
1722
+ # ],
1723
+ # data_set_id: "Id", # required
1724
+ # revision_id: "Id", # required
1725
+ # }
1726
+ #
1727
+ # @!attribute [rw] asset_sources
1728
+ # A list of Amazon Redshift datashare assets.
1729
+ # @return [Array<Types::RedshiftDataShareAssetSourceEntry>]
1730
+ #
1731
+ # @!attribute [rw] data_set_id
1732
+ # The unique identifier for the data set associated with this import
1733
+ # job.
1734
+ # @return [String]
1735
+ #
1736
+ # @!attribute [rw] revision_id
1737
+ # The unique identifier for the revision associated with this import
1738
+ # job.
1739
+ # @return [String]
1740
+ #
1741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromRedshiftDataSharesRequestDetails AWS API Documentation
1742
+ #
1743
+ class ImportAssetsFromRedshiftDataSharesRequestDetails < Struct.new(
1744
+ :asset_sources,
1745
+ :data_set_id,
1746
+ :revision_id)
1747
+ SENSITIVE = []
1748
+ include Aws::Structure
1749
+ end
1750
+
1751
+ # Details from an import from Amazon Redshift datashare response.
1752
+ #
1753
+ # @!attribute [rw] asset_sources
1754
+ # A list of Amazon Redshift datashare asset sources.
1755
+ # @return [Array<Types::RedshiftDataShareAssetSourceEntry>]
1756
+ #
1757
+ # @!attribute [rw] data_set_id
1758
+ # The unique identifier for the data set associated with this import
1759
+ # job.
1760
+ # @return [String]
1761
+ #
1762
+ # @!attribute [rw] revision_id
1763
+ # The unique identifier for the revision associated with this import
1764
+ # job.
1765
+ # @return [String]
1766
+ #
1767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromRedshiftDataSharesResponseDetails AWS API Documentation
1768
+ #
1769
+ class ImportAssetsFromRedshiftDataSharesResponseDetails < Struct.new(
1770
+ :asset_sources,
1771
+ :data_set_id,
1772
+ :revision_id)
1773
+ SENSITIVE = []
1774
+ include Aws::Structure
1775
+ end
1776
+
1368
1777
  # Details of the operation to be performed by the job.
1369
1778
  #
1370
1779
  # @note When making an API call, you may pass ImportAssetsFromS3RequestDetails
@@ -1505,6 +1914,7 @@ module Aws::DataExchange
1505
1914
  # @return [String]
1506
1915
  #
1507
1916
  # @!attribute [rw] details
1917
+ # The details about the job error.
1508
1918
  # @return [Types::Details]
1509
1919
  #
1510
1920
  # @!attribute [rw] limit_name
@@ -1631,6 +2041,51 @@ module Aws::DataExchange
1631
2041
  include Aws::Structure
1632
2042
  end
1633
2043
 
2044
+ # @note When making an API call, you may pass ListEventActionsRequest
2045
+ # data as a hash:
2046
+ #
2047
+ # {
2048
+ # event_source_id: "__string",
2049
+ # max_results: 1,
2050
+ # next_token: "__string",
2051
+ # }
2052
+ #
2053
+ # @!attribute [rw] event_source_id
2054
+ # @return [String]
2055
+ #
2056
+ # @!attribute [rw] max_results
2057
+ # @return [Integer]
2058
+ #
2059
+ # @!attribute [rw] next_token
2060
+ # @return [String]
2061
+ #
2062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActionsRequest AWS API Documentation
2063
+ #
2064
+ class ListEventActionsRequest < Struct.new(
2065
+ :event_source_id,
2066
+ :max_results,
2067
+ :next_token)
2068
+ SENSITIVE = []
2069
+ include Aws::Structure
2070
+ end
2071
+
2072
+ # @!attribute [rw] event_actions
2073
+ # @return [Array<Types::EventActionEntry>]
2074
+ #
2075
+ # @!attribute [rw] next_token
2076
+ # The token value retrieved from a previous call to access the next
2077
+ # page of results.
2078
+ # @return [String]
2079
+ #
2080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActionsResponse AWS API Documentation
2081
+ #
2082
+ class ListEventActionsResponse < Struct.new(
2083
+ :event_actions,
2084
+ :next_token)
2085
+ SENSITIVE = []
2086
+ include Aws::Structure
2087
+ end
2088
+
1634
2089
  # @note When making an API call, you may pass ListJobsRequest
1635
2090
  # data as a hash:
1636
2091
  #
@@ -1760,7 +2215,10 @@ module Aws::DataExchange
1760
2215
  include Aws::Structure
1761
2216
  end
1762
2217
 
2218
+ # Information about the origin of the data set.
2219
+ #
1763
2220
  # @!attribute [rw] product_id
2221
+ # The product ID of the origin of the data set.
1764
2222
  # @return [String]
1765
2223
  #
1766
2224
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/OriginDetails AWS API Documentation
@@ -1771,6 +2229,41 @@ module Aws::DataExchange
1771
2229
  include Aws::Structure
1772
2230
  end
1773
2231
 
2232
+ # The Amazon Redshift datashare asset.
2233
+ #
2234
+ # @!attribute [rw] arn
2235
+ # The Amazon Resource Name (ARN) of the datashare asset.
2236
+ # @return [String]
2237
+ #
2238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RedshiftDataShareAsset AWS API Documentation
2239
+ #
2240
+ class RedshiftDataShareAsset < Struct.new(
2241
+ :arn)
2242
+ SENSITIVE = []
2243
+ include Aws::Structure
2244
+ end
2245
+
2246
+ # The source of the Amazon Redshift datashare asset.
2247
+ #
2248
+ # @note When making an API call, you may pass RedshiftDataShareAssetSourceEntry
2249
+ # data as a hash:
2250
+ #
2251
+ # {
2252
+ # data_share_arn: "__string", # required
2253
+ # }
2254
+ #
2255
+ # @!attribute [rw] data_share_arn
2256
+ # The Amazon Resource Name (ARN) of the datashare asset.
2257
+ # @return [String]
2258
+ #
2259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RedshiftDataShareAssetSourceEntry AWS API Documentation
2260
+ #
2261
+ class RedshiftDataShareAssetSourceEntry < Struct.new(
2262
+ :data_share_arn)
2263
+ SENSITIVE = []
2264
+ include Aws::Structure
2265
+ end
2266
+
1774
2267
  # The details for the request.
1775
2268
  #
1776
2269
  # @note When making an API call, you may pass RequestDetails
@@ -1827,6 +2320,15 @@ module Aws::DataExchange
1827
2320
  # data_set_id: "Id", # required
1828
2321
  # revision_id: "Id", # required
1829
2322
  # },
2323
+ # import_assets_from_redshift_data_shares: {
2324
+ # asset_sources: [ # required
2325
+ # {
2326
+ # data_share_arn: "__string", # required
2327
+ # },
2328
+ # ],
2329
+ # data_set_id: "Id", # required
2330
+ # revision_id: "Id", # required
2331
+ # },
1830
2332
  # }
1831
2333
  #
1832
2334
  # @!attribute [rw] export_asset_to_signed_url
@@ -1849,6 +2351,10 @@ module Aws::DataExchange
1849
2351
  # Details about the import from Amazon S3 request.
1850
2352
  # @return [Types::ImportAssetsFromS3RequestDetails]
1851
2353
  #
2354
+ # @!attribute [rw] import_assets_from_redshift_data_shares
2355
+ # Details from an import from Amazon Redshift datashare request.
2356
+ # @return [Types::ImportAssetsFromRedshiftDataSharesRequestDetails]
2357
+ #
1852
2358
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RequestDetails AWS API Documentation
1853
2359
  #
1854
2360
  class RequestDetails < Struct.new(
@@ -1856,7 +2362,8 @@ module Aws::DataExchange
1856
2362
  :export_assets_to_s3,
1857
2363
  :export_revisions_to_s3,
1858
2364
  :import_asset_from_signed_url,
1859
- :import_assets_from_s3)
2365
+ :import_assets_from_s3,
2366
+ :import_assets_from_redshift_data_shares)
1860
2367
  SENSITIVE = []
1861
2368
  include Aws::Structure
1862
2369
  end
@@ -1907,6 +2414,10 @@ module Aws::DataExchange
1907
2414
  # Details for the import from Amazon S3 response.
1908
2415
  # @return [Types::ImportAssetsFromS3ResponseDetails]
1909
2416
  #
2417
+ # @!attribute [rw] import_assets_from_redshift_data_shares
2418
+ # Details from an import from Amazon Redshift datashare response.
2419
+ # @return [Types::ImportAssetsFromRedshiftDataSharesResponseDetails]
2420
+ #
1910
2421
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ResponseDetails AWS API Documentation
1911
2422
  #
1912
2423
  class ResponseDetails < Struct.new(
@@ -1914,7 +2425,8 @@ module Aws::DataExchange
1914
2425
  :export_assets_to_s3,
1915
2426
  :export_revisions_to_s3,
1916
2427
  :import_asset_from_signed_url,
1917
- :import_assets_from_s3)
2428
+ :import_assets_from_s3,
2429
+ :import_assets_from_redshift_data_shares)
1918
2430
  SENSITIVE = []
1919
2431
  include Aws::Structure
1920
2432
  end
@@ -2021,6 +2533,27 @@ module Aws::DataExchange
2021
2533
  include Aws::Structure
2022
2534
  end
2023
2535
 
2536
+ # Information about the published revision.
2537
+ #
2538
+ # @note When making an API call, you may pass RevisionPublished
2539
+ # data as a hash:
2540
+ #
2541
+ # {
2542
+ # data_set_id: "Id", # required
2543
+ # }
2544
+ #
2545
+ # @!attribute [rw] data_set_id
2546
+ # The data set ID of the published revision.
2547
+ # @return [String]
2548
+ #
2549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevisionPublished AWS API Documentation
2550
+ #
2551
+ class RevisionPublished < Struct.new(
2552
+ :data_set_id)
2553
+ SENSITIVE = []
2554
+ include Aws::Structure
2555
+ end
2556
+
2024
2557
  # The S3 object that is the asset.
2025
2558
  #
2026
2559
  # @!attribute [rw] size
@@ -2184,11 +2717,11 @@ module Aws::DataExchange
2184
2717
  # @return [String]
2185
2718
  #
2186
2719
  # @!attribute [rw] asset_details
2720
+ # Information about the asset.
2187
2721
  # @return [Types::AssetDetails]
2188
2722
  #
2189
2723
  # @!attribute [rw] asset_type
2190
- # The type of file your data is stored in. Currently, the supported
2191
- # asset type is S3\_SNAPSHOT.
2724
+ # The type of asset that is added to a data set.
2192
2725
  # @return [String]
2193
2726
  #
2194
2727
  # @!attribute [rw] created_at
@@ -2278,8 +2811,7 @@ module Aws::DataExchange
2278
2811
  # @return [String]
2279
2812
  #
2280
2813
  # @!attribute [rw] asset_type
2281
- # The type of file your data is stored in. Currently, the supported
2282
- # asset type is S3\_SNAPSHOT.
2814
+ # The type of asset that is added to a data set.
2283
2815
  # @return [String]
2284
2816
  #
2285
2817
  # @!attribute [rw] created_at
@@ -2308,6 +2840,7 @@ module Aws::DataExchange
2308
2840
  # @return [String]
2309
2841
  #
2310
2842
  # @!attribute [rw] origin_details
2843
+ # Information about the origin of the data set.
2311
2844
  # @return [Types::OriginDetails]
2312
2845
  #
2313
2846
  # @!attribute [rw] source_id
@@ -2336,6 +2869,83 @@ module Aws::DataExchange
2336
2869
  include Aws::Structure
2337
2870
  end
2338
2871
 
2872
+ # The request to update an event action.
2873
+ #
2874
+ # @note When making an API call, you may pass UpdateEventActionRequest
2875
+ # data as a hash:
2876
+ #
2877
+ # {
2878
+ # action: {
2879
+ # export_revision_to_s3: {
2880
+ # encryption: {
2881
+ # kms_key_arn: "__string",
2882
+ # type: "aws:kms", # required, accepts aws:kms, AES256
2883
+ # },
2884
+ # revision_destination: { # required
2885
+ # bucket: "__string", # required
2886
+ # key_pattern: "__string",
2887
+ # },
2888
+ # },
2889
+ # },
2890
+ # event_action_id: "__string", # required
2891
+ # }
2892
+ #
2893
+ # @!attribute [rw] action
2894
+ # What occurs after a certain event.
2895
+ # @return [Types::Action]
2896
+ #
2897
+ # @!attribute [rw] event_action_id
2898
+ # @return [String]
2899
+ #
2900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventActionRequest AWS API Documentation
2901
+ #
2902
+ class UpdateEventActionRequest < Struct.new(
2903
+ :action,
2904
+ :event_action_id)
2905
+ SENSITIVE = []
2906
+ include Aws::Structure
2907
+ end
2908
+
2909
+ # @!attribute [rw] action
2910
+ # What occurs after a certain event.
2911
+ # @return [Types::Action]
2912
+ #
2913
+ # @!attribute [rw] arn
2914
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
2915
+ # resource.
2916
+ # @return [String]
2917
+ #
2918
+ # @!attribute [rw] created_at
2919
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
2920
+ # format.
2921
+ # @return [Time]
2922
+ #
2923
+ # @!attribute [rw] event
2924
+ # What occurs to start an action.
2925
+ # @return [Types::Event]
2926
+ #
2927
+ # @!attribute [rw] id
2928
+ # A unique identifier.
2929
+ # @return [String]
2930
+ #
2931
+ # @!attribute [rw] updated_at
2932
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
2933
+ # format.
2934
+ # @return [Time]
2935
+ #
2936
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventActionResponse AWS API Documentation
2937
+ #
2938
+ class UpdateEventActionResponse < Struct.new(
2939
+ :action,
2940
+ :arn,
2941
+ :created_at,
2942
+ :event,
2943
+ :id,
2944
+ :updated_at)
2945
+ SENSITIVE = []
2946
+ include Aws::Structure
2947
+ end
2948
+
2339
2949
  # The request to update a revision.
2340
2950
  #
2341
2951
  # @note When making an API call, you may pass UpdateRevisionRequest
@@ -2430,10 +3040,15 @@ module Aws::DataExchange
2430
3040
  # request.
2431
3041
  # @return [String]
2432
3042
  #
3043
+ # @!attribute [rw] exception_cause
3044
+ # The message that informs you about what the exception was.
3045
+ # @return [String]
3046
+ #
2433
3047
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ValidationException AWS API Documentation
2434
3048
  #
2435
3049
  class ValidationException < Struct.new(
2436
- :message)
3050
+ :message,
3051
+ :exception_cause)
2437
3052
  SENSITIVE = []
2438
3053
  include Aws::Structure
2439
3054
  end