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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbed6cfd275b1cb7e88d50aac17cebf94ba91faed5b71ca3c2348f1b3b23db75
4
- data.tar.gz: 1e461000730b75a9314e4183a1b68ec8d270fc6ab5970dc1cc82f26e1b0bdc53
3
+ metadata.gz: 323b531a78b994829bc88859bf4429530061e9ff02318b8fac25c4a844941b79
4
+ data.tar.gz: 1855aab61622164f5df3ff02a5f50fdb7d9889eae13f0f623418ec77f383fc81
5
5
  SHA512:
6
- metadata.gz: 3bcad2157bcd1995813b7dcb753bd1e9443020501bb94934558b6c666ec0f8e1f4e0ee7ed262ed68ee9a4e02b69e484faddd2a06e2bc5bf689019ce0d8f907cb
7
- data.tar.gz: 969cd56814817b07759be8ba0936ca79eba39ae1c07571c03bc22c340cbf0aadb3d53bd823a800636c6296d00eb8c1318922ec9bc1367f40dcfc4523c5721378
6
+ metadata.gz: f9c87541944e97dccd2c73db103199c4002781202987810c590e308e2e2280964c23290021f9ca8a1157459770ecb10dbb5802e0eb7f866e3d875b98121d882b
7
+ data.tar.gz: 19460e08d1f34a61b17f91073007b9a9703aea37e92de15aadb6afd2f5518dc8cdfbb0a4a1e39b197bf9876c68265dff2997b484f07ef7adc4996f2bd7a2a59a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.19.0 (2021-10-19)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for our public preview of AWS Data Exchange for Amazon Redshift. This enables data providers to list products including AWS Data Exchange datashares for Amazon Redshift, giving subscribers read-only access to provider data in Amazon Redshift.
13
+
14
+ 1.18.0 (2021-10-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.17.0 (2021-09-30)
20
+ ------------------
21
+
22
+ * Feature - This release enables subscribers to set up automatic exports of newly published revisions using the new EventAction API.
23
+
4
24
  1.16.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.20.0
@@ -275,6 +275,15 @@ module Aws::DataExchange
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -352,8 +361,7 @@ module Aws::DataExchange
352
361
  # This operation creates a data set.
353
362
  #
354
363
  # @option params [required, String] :asset_type
355
- # The type of file your data is stored in. Currently, the supported
356
- # asset type is S3\_SNAPSHOT.
364
+ # The type of asset that is added to a data set.
357
365
  #
358
366
  # @option params [required, String] :description
359
367
  # A description for the data set. This value can be up to 16,348
@@ -386,7 +394,7 @@ module Aws::DataExchange
386
394
  # @example Request syntax with placeholder values
387
395
  #
388
396
  # resp = client.create_data_set({
389
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
397
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
390
398
  # description: "Description", # required
391
399
  # name: "Name", # required
392
400
  # tags: {
@@ -397,7 +405,7 @@ module Aws::DataExchange
397
405
  # @example Response structure
398
406
  #
399
407
  # resp.arn #=> String
400
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
408
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
401
409
  # resp.created_at #=> Time
402
410
  # resp.description #=> String
403
411
  # resp.id #=> String
@@ -418,6 +426,66 @@ module Aws::DataExchange
418
426
  req.send_request(options)
419
427
  end
420
428
 
429
+ # This operation creates an event action.
430
+ #
431
+ # @option params [required, Types::Action] :action
432
+ # What occurs after a certain event.
433
+ #
434
+ # @option params [required, Types::Event] :event
435
+ # What occurs to start an action.
436
+ #
437
+ # @return [Types::CreateEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
438
+ #
439
+ # * {Types::CreateEventActionResponse#action #action} => Types::Action
440
+ # * {Types::CreateEventActionResponse#arn #arn} => String
441
+ # * {Types::CreateEventActionResponse#created_at #created_at} => Time
442
+ # * {Types::CreateEventActionResponse#event #event} => Types::Event
443
+ # * {Types::CreateEventActionResponse#id #id} => String
444
+ # * {Types::CreateEventActionResponse#updated_at #updated_at} => Time
445
+ #
446
+ # @example Request syntax with placeholder values
447
+ #
448
+ # resp = client.create_event_action({
449
+ # action: { # required
450
+ # export_revision_to_s3: {
451
+ # encryption: {
452
+ # kms_key_arn: "__string",
453
+ # type: "aws:kms", # required, accepts aws:kms, AES256
454
+ # },
455
+ # revision_destination: { # required
456
+ # bucket: "__string", # required
457
+ # key_pattern: "__string",
458
+ # },
459
+ # },
460
+ # },
461
+ # event: { # required
462
+ # revision_published: {
463
+ # data_set_id: "Id", # required
464
+ # },
465
+ # },
466
+ # })
467
+ #
468
+ # @example Response structure
469
+ #
470
+ # resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
471
+ # resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
472
+ # resp.action.export_revision_to_s3.revision_destination.bucket #=> String
473
+ # resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
474
+ # resp.arn #=> String
475
+ # resp.created_at #=> Time
476
+ # resp.event.revision_published.data_set_id #=> String
477
+ # resp.id #=> String
478
+ # resp.updated_at #=> Time
479
+ #
480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventAction AWS API Documentation
481
+ #
482
+ # @overload create_event_action(params = {})
483
+ # @param [Hash] params ({})
484
+ def create_event_action(params = {}, options = {})
485
+ req = build_request(:create_event_action, params)
486
+ req.send_request(options)
487
+ end
488
+
421
489
  # This operation creates a job.
422
490
  #
423
491
  # @option params [required, Types::RequestDetails] :details
@@ -491,8 +559,17 @@ module Aws::DataExchange
491
559
  # data_set_id: "Id", # required
492
560
  # revision_id: "Id", # required
493
561
  # },
562
+ # import_assets_from_redshift_data_shares: {
563
+ # asset_sources: [ # required
564
+ # {
565
+ # data_share_arn: "__string", # required
566
+ # },
567
+ # ],
568
+ # data_set_id: "Id", # required
569
+ # revision_id: "Id", # required
570
+ # },
494
571
  # },
495
- # 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
572
+ # 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
496
573
  # })
497
574
  #
498
575
  # @example Response structure
@@ -519,6 +596,7 @@ module Aws::DataExchange
519
596
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
520
597
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
521
598
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
599
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
522
600
  # resp.details.import_asset_from_signed_url.asset_name #=> String
523
601
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
524
602
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -530,20 +608,24 @@ module Aws::DataExchange
530
608
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
531
609
  # resp.details.import_assets_from_s3.data_set_id #=> String
532
610
  # resp.details.import_assets_from_s3.revision_id #=> String
611
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
612
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
613
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
614
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
533
615
  # resp.errors #=> Array
534
616
  # resp.errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
535
617
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
536
618
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
537
619
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
538
620
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
539
- # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
621
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
540
622
  # resp.errors[0].limit_value #=> Float
541
623
  # resp.errors[0].message #=> String
542
624
  # resp.errors[0].resource_id #=> String
543
- # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
625
+ # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
544
626
  # resp.id #=> String
545
627
  # resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
546
- # resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
628
+ # resp.type #=> String, one of "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"
547
629
  # resp.updated_at #=> Time
548
630
  #
549
631
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
@@ -661,6 +743,27 @@ module Aws::DataExchange
661
743
  req.send_request(options)
662
744
  end
663
745
 
746
+ # This operation deletes the event action.
747
+ #
748
+ # @option params [required, String] :event_action_id
749
+ #
750
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
751
+ #
752
+ # @example Request syntax with placeholder values
753
+ #
754
+ # resp = client.delete_event_action({
755
+ # event_action_id: "__string", # required
756
+ # })
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteEventAction AWS API Documentation
759
+ #
760
+ # @overload delete_event_action(params = {})
761
+ # @param [Hash] params ({})
762
+ def delete_event_action(params = {}, options = {})
763
+ req = build_request(:delete_event_action, params)
764
+ req.send_request(options)
765
+ end
766
+
664
767
  # This operation deletes a revision.
665
768
  #
666
769
  # @option params [required, String] :data_set_id
@@ -718,7 +821,8 @@ module Aws::DataExchange
718
821
  #
719
822
  # resp.arn #=> String
720
823
  # resp.asset_details.s3_snapshot_asset.size #=> Float
721
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
824
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
825
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
722
826
  # resp.created_at #=> Time
723
827
  # resp.data_set_id #=> String
724
828
  # resp.id #=> String
@@ -763,7 +867,7 @@ module Aws::DataExchange
763
867
  # @example Response structure
764
868
  #
765
869
  # resp.arn #=> String
766
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
870
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
767
871
  # resp.created_at #=> Time
768
872
  # resp.description #=> String
769
873
  # resp.id #=> String
@@ -784,6 +888,46 @@ module Aws::DataExchange
784
888
  req.send_request(options)
785
889
  end
786
890
 
891
+ # This operation retrieves information about an event action.
892
+ #
893
+ # @option params [required, String] :event_action_id
894
+ #
895
+ # @return [Types::GetEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
896
+ #
897
+ # * {Types::GetEventActionResponse#action #action} => Types::Action
898
+ # * {Types::GetEventActionResponse#arn #arn} => String
899
+ # * {Types::GetEventActionResponse#created_at #created_at} => Time
900
+ # * {Types::GetEventActionResponse#event #event} => Types::Event
901
+ # * {Types::GetEventActionResponse#id #id} => String
902
+ # * {Types::GetEventActionResponse#updated_at #updated_at} => Time
903
+ #
904
+ # @example Request syntax with placeholder values
905
+ #
906
+ # resp = client.get_event_action({
907
+ # event_action_id: "__string", # required
908
+ # })
909
+ #
910
+ # @example Response structure
911
+ #
912
+ # resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
913
+ # resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
914
+ # resp.action.export_revision_to_s3.revision_destination.bucket #=> String
915
+ # resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
916
+ # resp.arn #=> String
917
+ # resp.created_at #=> Time
918
+ # resp.event.revision_published.data_set_id #=> String
919
+ # resp.id #=> String
920
+ # resp.updated_at #=> Time
921
+ #
922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventAction AWS API Documentation
923
+ #
924
+ # @overload get_event_action(params = {})
925
+ # @param [Hash] params ({})
926
+ def get_event_action(params = {}, options = {})
927
+ req = build_request(:get_event_action, params)
928
+ req.send_request(options)
929
+ end
930
+
787
931
  # This operation returns information about a job.
788
932
  #
789
933
  # @option params [required, String] :job_id
@@ -829,6 +973,7 @@ module Aws::DataExchange
829
973
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
830
974
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
831
975
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
976
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
832
977
  # resp.details.import_asset_from_signed_url.asset_name #=> String
833
978
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
834
979
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -840,20 +985,24 @@ module Aws::DataExchange
840
985
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
841
986
  # resp.details.import_assets_from_s3.data_set_id #=> String
842
987
  # resp.details.import_assets_from_s3.revision_id #=> String
988
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
989
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
990
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
991
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
843
992
  # resp.errors #=> Array
844
993
  # resp.errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
845
994
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
846
995
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
847
996
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
848
997
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
849
- # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
998
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
850
999
  # resp.errors[0].limit_value #=> Float
851
1000
  # resp.errors[0].message #=> String
852
1001
  # resp.errors[0].resource_id #=> String
853
- # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
1002
+ # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
854
1003
  # resp.id #=> String
855
1004
  # resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
856
- # resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
1005
+ # resp.type #=> String, one of "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"
857
1006
  # resp.updated_at #=> Time
858
1007
  #
859
1008
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
@@ -988,7 +1137,7 @@ module Aws::DataExchange
988
1137
  #
989
1138
  # resp.data_sets #=> Array
990
1139
  # resp.data_sets[0].arn #=> String
991
- # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1140
+ # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
992
1141
  # resp.data_sets[0].created_at #=> Time
993
1142
  # resp.data_sets[0].description #=> String
994
1143
  # resp.data_sets[0].id #=> String
@@ -1008,6 +1157,52 @@ module Aws::DataExchange
1008
1157
  req.send_request(options)
1009
1158
  end
1010
1159
 
1160
+ # This operation lists your event actions.
1161
+ #
1162
+ # @option params [String] :event_source_id
1163
+ #
1164
+ # @option params [Integer] :max_results
1165
+ #
1166
+ # @option params [String] :next_token
1167
+ #
1168
+ # @return [Types::ListEventActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1169
+ #
1170
+ # * {Types::ListEventActionsResponse#event_actions #event_actions} => Array<Types::EventActionEntry>
1171
+ # * {Types::ListEventActionsResponse#next_token #next_token} => String
1172
+ #
1173
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1174
+ #
1175
+ # @example Request syntax with placeholder values
1176
+ #
1177
+ # resp = client.list_event_actions({
1178
+ # event_source_id: "__string",
1179
+ # max_results: 1,
1180
+ # next_token: "__string",
1181
+ # })
1182
+ #
1183
+ # @example Response structure
1184
+ #
1185
+ # resp.event_actions #=> Array
1186
+ # resp.event_actions[0].action.export_revision_to_s3.encryption.kms_key_arn #=> String
1187
+ # resp.event_actions[0].action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
1188
+ # resp.event_actions[0].action.export_revision_to_s3.revision_destination.bucket #=> String
1189
+ # resp.event_actions[0].action.export_revision_to_s3.revision_destination.key_pattern #=> String
1190
+ # resp.event_actions[0].arn #=> String
1191
+ # resp.event_actions[0].created_at #=> Time
1192
+ # resp.event_actions[0].event.revision_published.data_set_id #=> String
1193
+ # resp.event_actions[0].id #=> String
1194
+ # resp.event_actions[0].updated_at #=> Time
1195
+ # resp.next_token #=> String
1196
+ #
1197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActions AWS API Documentation
1198
+ #
1199
+ # @overload list_event_actions(params = {})
1200
+ # @param [Hash] params ({})
1201
+ def list_event_actions(params = {}, options = {})
1202
+ req = build_request(:list_event_actions, params)
1203
+ req.send_request(options)
1204
+ end
1205
+
1011
1206
  # This operation lists your jobs sorted by CreatedAt in descending
1012
1207
  # order.
1013
1208
  #
@@ -1060,6 +1255,7 @@ module Aws::DataExchange
1060
1255
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
1061
1256
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
1062
1257
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
1258
+ # resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
1063
1259
  # resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
1064
1260
  # resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
1065
1261
  # resp.jobs[0].details.import_asset_from_signed_url.md_5_hash #=> String
@@ -1071,20 +1267,24 @@ module Aws::DataExchange
1071
1267
  # resp.jobs[0].details.import_assets_from_s3.asset_sources[0].key #=> String
1072
1268
  # resp.jobs[0].details.import_assets_from_s3.data_set_id #=> String
1073
1269
  # resp.jobs[0].details.import_assets_from_s3.revision_id #=> String
1270
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources #=> Array
1271
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
1272
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.data_set_id #=> String
1273
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.revision_id #=> String
1074
1274
  # resp.jobs[0].errors #=> Array
1075
1275
  # resp.jobs[0].errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
1076
1276
  # resp.jobs[0].errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
1077
1277
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details #=> Array
1078
1278
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
1079
1279
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
1080
- # resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
1280
+ # resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
1081
1281
  # resp.jobs[0].errors[0].limit_value #=> Float
1082
1282
  # resp.jobs[0].errors[0].message #=> String
1083
1283
  # resp.jobs[0].errors[0].resource_id #=> String
1084
- # resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET"
1284
+ # resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
1085
1285
  # resp.jobs[0].id #=> String
1086
1286
  # resp.jobs[0].state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
1087
- # resp.jobs[0].type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
1287
+ # resp.jobs[0].type #=> String, one of "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"
1088
1288
  # resp.jobs[0].updated_at #=> Time
1089
1289
  # resp.next_token #=> String
1090
1290
  #
@@ -1129,7 +1329,8 @@ module Aws::DataExchange
1129
1329
  # resp.assets #=> Array
1130
1330
  # resp.assets[0].arn #=> String
1131
1331
  # resp.assets[0].asset_details.s3_snapshot_asset.size #=> Float
1132
- # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1332
+ # resp.assets[0].asset_details.redshift_data_share_asset.arn #=> String
1333
+ # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1133
1334
  # resp.assets[0].created_at #=> Time
1134
1335
  # resp.assets[0].data_set_id #=> String
1135
1336
  # resp.assets[0].id #=> String
@@ -1286,7 +1487,8 @@ module Aws::DataExchange
1286
1487
  #
1287
1488
  # resp.arn #=> String
1288
1489
  # resp.asset_details.s3_snapshot_asset.size #=> Float
1289
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1490
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
1491
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1290
1492
  # resp.created_at #=> Time
1291
1493
  # resp.data_set_id #=> String
1292
1494
  # resp.id #=> String
@@ -1338,7 +1540,7 @@ module Aws::DataExchange
1338
1540
  # @example Response structure
1339
1541
  #
1340
1542
  # resp.arn #=> String
1341
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1543
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1342
1544
  # resp.created_at #=> Time
1343
1545
  # resp.description #=> String
1344
1546
  # resp.id #=> String
@@ -1357,6 +1559,61 @@ module Aws::DataExchange
1357
1559
  req.send_request(options)
1358
1560
  end
1359
1561
 
1562
+ # This operation updates the event action.
1563
+ #
1564
+ # @option params [Types::Action] :action
1565
+ # What occurs after a certain event.
1566
+ #
1567
+ # @option params [required, String] :event_action_id
1568
+ #
1569
+ # @return [Types::UpdateEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1570
+ #
1571
+ # * {Types::UpdateEventActionResponse#action #action} => Types::Action
1572
+ # * {Types::UpdateEventActionResponse#arn #arn} => String
1573
+ # * {Types::UpdateEventActionResponse#created_at #created_at} => Time
1574
+ # * {Types::UpdateEventActionResponse#event #event} => Types::Event
1575
+ # * {Types::UpdateEventActionResponse#id #id} => String
1576
+ # * {Types::UpdateEventActionResponse#updated_at #updated_at} => Time
1577
+ #
1578
+ # @example Request syntax with placeholder values
1579
+ #
1580
+ # resp = client.update_event_action({
1581
+ # action: {
1582
+ # export_revision_to_s3: {
1583
+ # encryption: {
1584
+ # kms_key_arn: "__string",
1585
+ # type: "aws:kms", # required, accepts aws:kms, AES256
1586
+ # },
1587
+ # revision_destination: { # required
1588
+ # bucket: "__string", # required
1589
+ # key_pattern: "__string",
1590
+ # },
1591
+ # },
1592
+ # },
1593
+ # event_action_id: "__string", # required
1594
+ # })
1595
+ #
1596
+ # @example Response structure
1597
+ #
1598
+ # resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
1599
+ # resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
1600
+ # resp.action.export_revision_to_s3.revision_destination.bucket #=> String
1601
+ # resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
1602
+ # resp.arn #=> String
1603
+ # resp.created_at #=> Time
1604
+ # resp.event.revision_published.data_set_id #=> String
1605
+ # resp.id #=> String
1606
+ # resp.updated_at #=> Time
1607
+ #
1608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventAction AWS API Documentation
1609
+ #
1610
+ # @overload update_event_action(params = {})
1611
+ # @param [Hash] params ({})
1612
+ def update_event_action(params = {}, options = {})
1613
+ req = build_request(:update_event_action, params)
1614
+ req.send_request(options)
1615
+ end
1616
+
1360
1617
  # This operation updates a revision.
1361
1618
  #
1362
1619
  # @option params [String] :comment
@@ -1424,7 +1681,7 @@ module Aws::DataExchange
1424
1681
  params: params,
1425
1682
  config: config)
1426
1683
  context[:gem_name] = 'aws-sdk-dataexchange'
1427
- context[:gem_version] = '1.16.0'
1684
+ context[:gem_version] = '1.20.0'
1428
1685
  Seahorse::Client::Request.new(handlers, context)
1429
1686
  end
1430
1687