aws-sdk-dataexchange 1.15.0 → 1.19.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: c28e90f26fde16e6883adcbeda1eb3a5d60ee35a01d2bd463b30bba7b0248e3d
4
- data.tar.gz: e154bc583d27f7ef0e5d599d4ff3556cadf7ea2571444df364bbfd256475da59
3
+ metadata.gz: 5164e756626a45f98a9ad33d425c8277b4077e2bcd5b6e68d798dbf3df98855e
4
+ data.tar.gz: cb79bf519b75c6451d93747c4ea812005b2b8a6fb67ffbe17f60674b762457c3
5
5
  SHA512:
6
- metadata.gz: 520e1c16c6e075774f13958815f7a6c8b1b97b88a7ba96b56321c656fb351e1b34704f20b2fa8d1fe8b52a5ac9048639fac4e894174646f330f2e3db99dcff9a
7
- data.tar.gz: 4a4d209f35758aa5270501ade0cbf8ca934e015c56926a2d11dbb18e38e68f8f253afdd6d50d6c97fa67edbcc840a0ff7b4a84f87651a23a58247910cdcd02a7
6
+ metadata.gz: 2b601a2abb87455d8e35ecc81d722d0d2688b1317f4ba8542992ba63c923c5da433091177db368c9bd3932ac08a92910476dae6997ed857b01b32977956d4292
7
+ data.tar.gz: 4341c360985c54db45c614640e86f9719075207550873a2248f61bf56abff1f90c176dfd6ba3a557bb17d55ea14b1fb557ac22262c283c29bfe0f16da3cf9b57
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2021-10-19)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.18.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.17.0 (2021-09-30)
15
+ ------------------
16
+
17
+ * Feature - This release enables subscribers to set up automatic exports of newly published revisions using the new EventAction API.
18
+
19
+ 1.16.0 (2021-09-01)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.15.0 (2021-07-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.19.0
@@ -352,8 +352,7 @@ module Aws::DataExchange
352
352
  # This operation creates a data set.
353
353
  #
354
354
  # @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.
355
+ # The type of asset that is added to a data set.
357
356
  #
358
357
  # @option params [required, String] :description
359
358
  # A description for the data set. This value can be up to 16,348
@@ -386,7 +385,7 @@ module Aws::DataExchange
386
385
  # @example Request syntax with placeholder values
387
386
  #
388
387
  # resp = client.create_data_set({
389
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
388
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
390
389
  # description: "Description", # required
391
390
  # name: "Name", # required
392
391
  # tags: {
@@ -397,7 +396,7 @@ module Aws::DataExchange
397
396
  # @example Response structure
398
397
  #
399
398
  # resp.arn #=> String
400
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
399
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
401
400
  # resp.created_at #=> Time
402
401
  # resp.description #=> String
403
402
  # resp.id #=> String
@@ -418,6 +417,66 @@ module Aws::DataExchange
418
417
  req.send_request(options)
419
418
  end
420
419
 
420
+ # This operation creates an event action.
421
+ #
422
+ # @option params [required, Types::Action] :action
423
+ # What occurs after a certain event.
424
+ #
425
+ # @option params [required, Types::Event] :event
426
+ # What occurs to start an action.
427
+ #
428
+ # @return [Types::CreateEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
429
+ #
430
+ # * {Types::CreateEventActionResponse#action #action} => Types::Action
431
+ # * {Types::CreateEventActionResponse#arn #arn} => String
432
+ # * {Types::CreateEventActionResponse#created_at #created_at} => Time
433
+ # * {Types::CreateEventActionResponse#event #event} => Types::Event
434
+ # * {Types::CreateEventActionResponse#id #id} => String
435
+ # * {Types::CreateEventActionResponse#updated_at #updated_at} => Time
436
+ #
437
+ # @example Request syntax with placeholder values
438
+ #
439
+ # resp = client.create_event_action({
440
+ # action: { # required
441
+ # export_revision_to_s3: {
442
+ # encryption: {
443
+ # kms_key_arn: "__string",
444
+ # type: "aws:kms", # required, accepts aws:kms, AES256
445
+ # },
446
+ # revision_destination: { # required
447
+ # bucket: "__string", # required
448
+ # key_pattern: "__string",
449
+ # },
450
+ # },
451
+ # },
452
+ # event: { # required
453
+ # revision_published: {
454
+ # data_set_id: "Id", # required
455
+ # },
456
+ # },
457
+ # })
458
+ #
459
+ # @example Response structure
460
+ #
461
+ # resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
462
+ # resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
463
+ # resp.action.export_revision_to_s3.revision_destination.bucket #=> String
464
+ # resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
465
+ # resp.arn #=> String
466
+ # resp.created_at #=> Time
467
+ # resp.event.revision_published.data_set_id #=> String
468
+ # resp.id #=> String
469
+ # resp.updated_at #=> Time
470
+ #
471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventAction AWS API Documentation
472
+ #
473
+ # @overload create_event_action(params = {})
474
+ # @param [Hash] params ({})
475
+ def create_event_action(params = {}, options = {})
476
+ req = build_request(:create_event_action, params)
477
+ req.send_request(options)
478
+ end
479
+
421
480
  # This operation creates a job.
422
481
  #
423
482
  # @option params [required, Types::RequestDetails] :details
@@ -491,8 +550,17 @@ module Aws::DataExchange
491
550
  # data_set_id: "Id", # required
492
551
  # revision_id: "Id", # required
493
552
  # },
553
+ # import_assets_from_redshift_data_shares: {
554
+ # asset_sources: [ # required
555
+ # {
556
+ # data_share_arn: "__string", # required
557
+ # },
558
+ # ],
559
+ # data_set_id: "Id", # required
560
+ # revision_id: "Id", # required
561
+ # },
494
562
  # },
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
563
+ # 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
564
  # })
497
565
  #
498
566
  # @example Response structure
@@ -519,6 +587,7 @@ module Aws::DataExchange
519
587
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
520
588
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
521
589
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
590
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
522
591
  # resp.details.import_asset_from_signed_url.asset_name #=> String
523
592
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
524
593
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -530,20 +599,24 @@ module Aws::DataExchange
530
599
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
531
600
  # resp.details.import_assets_from_s3.data_set_id #=> String
532
601
  # resp.details.import_assets_from_s3.revision_id #=> String
602
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
603
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
604
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
605
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
533
606
  # resp.errors #=> Array
534
607
  # 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
608
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
536
609
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
537
610
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
538
611
  # 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"
612
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
540
613
  # resp.errors[0].limit_value #=> Float
541
614
  # resp.errors[0].message #=> String
542
615
  # resp.errors[0].resource_id #=> String
543
- # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
616
+ # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
544
617
  # resp.id #=> String
545
618
  # 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"
619
+ # 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
620
  # resp.updated_at #=> Time
548
621
  #
549
622
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
@@ -661,6 +734,27 @@ module Aws::DataExchange
661
734
  req.send_request(options)
662
735
  end
663
736
 
737
+ # This operation deletes the event action.
738
+ #
739
+ # @option params [required, String] :event_action_id
740
+ #
741
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
742
+ #
743
+ # @example Request syntax with placeholder values
744
+ #
745
+ # resp = client.delete_event_action({
746
+ # event_action_id: "__string", # required
747
+ # })
748
+ #
749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteEventAction AWS API Documentation
750
+ #
751
+ # @overload delete_event_action(params = {})
752
+ # @param [Hash] params ({})
753
+ def delete_event_action(params = {}, options = {})
754
+ req = build_request(:delete_event_action, params)
755
+ req.send_request(options)
756
+ end
757
+
664
758
  # This operation deletes a revision.
665
759
  #
666
760
  # @option params [required, String] :data_set_id
@@ -718,7 +812,8 @@ module Aws::DataExchange
718
812
  #
719
813
  # resp.arn #=> String
720
814
  # resp.asset_details.s3_snapshot_asset.size #=> Float
721
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
815
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
816
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
722
817
  # resp.created_at #=> Time
723
818
  # resp.data_set_id #=> String
724
819
  # resp.id #=> String
@@ -763,7 +858,7 @@ module Aws::DataExchange
763
858
  # @example Response structure
764
859
  #
765
860
  # resp.arn #=> String
766
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
861
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
767
862
  # resp.created_at #=> Time
768
863
  # resp.description #=> String
769
864
  # resp.id #=> String
@@ -784,6 +879,46 @@ module Aws::DataExchange
784
879
  req.send_request(options)
785
880
  end
786
881
 
882
+ # This operation retrieves information about an event action.
883
+ #
884
+ # @option params [required, String] :event_action_id
885
+ #
886
+ # @return [Types::GetEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
887
+ #
888
+ # * {Types::GetEventActionResponse#action #action} => Types::Action
889
+ # * {Types::GetEventActionResponse#arn #arn} => String
890
+ # * {Types::GetEventActionResponse#created_at #created_at} => Time
891
+ # * {Types::GetEventActionResponse#event #event} => Types::Event
892
+ # * {Types::GetEventActionResponse#id #id} => String
893
+ # * {Types::GetEventActionResponse#updated_at #updated_at} => Time
894
+ #
895
+ # @example Request syntax with placeholder values
896
+ #
897
+ # resp = client.get_event_action({
898
+ # event_action_id: "__string", # required
899
+ # })
900
+ #
901
+ # @example Response structure
902
+ #
903
+ # resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
904
+ # resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
905
+ # resp.action.export_revision_to_s3.revision_destination.bucket #=> String
906
+ # resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
907
+ # resp.arn #=> String
908
+ # resp.created_at #=> Time
909
+ # resp.event.revision_published.data_set_id #=> String
910
+ # resp.id #=> String
911
+ # resp.updated_at #=> Time
912
+ #
913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventAction AWS API Documentation
914
+ #
915
+ # @overload get_event_action(params = {})
916
+ # @param [Hash] params ({})
917
+ def get_event_action(params = {}, options = {})
918
+ req = build_request(:get_event_action, params)
919
+ req.send_request(options)
920
+ end
921
+
787
922
  # This operation returns information about a job.
788
923
  #
789
924
  # @option params [required, String] :job_id
@@ -829,6 +964,7 @@ module Aws::DataExchange
829
964
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
830
965
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
831
966
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
967
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
832
968
  # resp.details.import_asset_from_signed_url.asset_name #=> String
833
969
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
834
970
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -840,20 +976,24 @@ module Aws::DataExchange
840
976
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
841
977
  # resp.details.import_assets_from_s3.data_set_id #=> String
842
978
  # resp.details.import_assets_from_s3.revision_id #=> String
979
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
980
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
981
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
982
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
843
983
  # resp.errors #=> Array
844
984
  # 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
985
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
846
986
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
847
987
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
848
988
  # 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"
989
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
850
990
  # resp.errors[0].limit_value #=> Float
851
991
  # resp.errors[0].message #=> String
852
992
  # resp.errors[0].resource_id #=> String
853
- # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
993
+ # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
854
994
  # resp.id #=> String
855
995
  # 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"
996
+ # 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
997
  # resp.updated_at #=> Time
858
998
  #
859
999
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
@@ -988,7 +1128,7 @@ module Aws::DataExchange
988
1128
  #
989
1129
  # resp.data_sets #=> Array
990
1130
  # resp.data_sets[0].arn #=> String
991
- # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1131
+ # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
992
1132
  # resp.data_sets[0].created_at #=> Time
993
1133
  # resp.data_sets[0].description #=> String
994
1134
  # resp.data_sets[0].id #=> String
@@ -1008,6 +1148,52 @@ module Aws::DataExchange
1008
1148
  req.send_request(options)
1009
1149
  end
1010
1150
 
1151
+ # This operation lists your event actions.
1152
+ #
1153
+ # @option params [String] :event_source_id
1154
+ #
1155
+ # @option params [Integer] :max_results
1156
+ #
1157
+ # @option params [String] :next_token
1158
+ #
1159
+ # @return [Types::ListEventActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1160
+ #
1161
+ # * {Types::ListEventActionsResponse#event_actions #event_actions} => Array<Types::EventActionEntry>
1162
+ # * {Types::ListEventActionsResponse#next_token #next_token} => String
1163
+ #
1164
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1165
+ #
1166
+ # @example Request syntax with placeholder values
1167
+ #
1168
+ # resp = client.list_event_actions({
1169
+ # event_source_id: "__string",
1170
+ # max_results: 1,
1171
+ # next_token: "__string",
1172
+ # })
1173
+ #
1174
+ # @example Response structure
1175
+ #
1176
+ # resp.event_actions #=> Array
1177
+ # resp.event_actions[0].action.export_revision_to_s3.encryption.kms_key_arn #=> String
1178
+ # resp.event_actions[0].action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
1179
+ # resp.event_actions[0].action.export_revision_to_s3.revision_destination.bucket #=> String
1180
+ # resp.event_actions[0].action.export_revision_to_s3.revision_destination.key_pattern #=> String
1181
+ # resp.event_actions[0].arn #=> String
1182
+ # resp.event_actions[0].created_at #=> Time
1183
+ # resp.event_actions[0].event.revision_published.data_set_id #=> String
1184
+ # resp.event_actions[0].id #=> String
1185
+ # resp.event_actions[0].updated_at #=> Time
1186
+ # resp.next_token #=> String
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActions AWS API Documentation
1189
+ #
1190
+ # @overload list_event_actions(params = {})
1191
+ # @param [Hash] params ({})
1192
+ def list_event_actions(params = {}, options = {})
1193
+ req = build_request(:list_event_actions, params)
1194
+ req.send_request(options)
1195
+ end
1196
+
1011
1197
  # This operation lists your jobs sorted by CreatedAt in descending
1012
1198
  # order.
1013
1199
  #
@@ -1060,6 +1246,7 @@ module Aws::DataExchange
1060
1246
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
1061
1247
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
1062
1248
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
1249
+ # resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
1063
1250
  # resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
1064
1251
  # resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
1065
1252
  # resp.jobs[0].details.import_asset_from_signed_url.md_5_hash #=> String
@@ -1071,20 +1258,24 @@ module Aws::DataExchange
1071
1258
  # resp.jobs[0].details.import_assets_from_s3.asset_sources[0].key #=> String
1072
1259
  # resp.jobs[0].details.import_assets_from_s3.data_set_id #=> String
1073
1260
  # resp.jobs[0].details.import_assets_from_s3.revision_id #=> String
1261
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources #=> Array
1262
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
1263
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.data_set_id #=> String
1264
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.revision_id #=> String
1074
1265
  # resp.jobs[0].errors #=> Array
1075
1266
  # 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
1267
  # resp.jobs[0].errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
1077
1268
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details #=> Array
1078
1269
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
1079
1270
  # 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"
1271
+ # resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
1081
1272
  # resp.jobs[0].errors[0].limit_value #=> Float
1082
1273
  # resp.jobs[0].errors[0].message #=> String
1083
1274
  # resp.jobs[0].errors[0].resource_id #=> String
1084
- # resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET"
1275
+ # resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
1085
1276
  # resp.jobs[0].id #=> String
1086
1277
  # 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"
1278
+ # 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
1279
  # resp.jobs[0].updated_at #=> Time
1089
1280
  # resp.next_token #=> String
1090
1281
  #
@@ -1129,7 +1320,8 @@ module Aws::DataExchange
1129
1320
  # resp.assets #=> Array
1130
1321
  # resp.assets[0].arn #=> String
1131
1322
  # resp.assets[0].asset_details.s3_snapshot_asset.size #=> Float
1132
- # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1323
+ # resp.assets[0].asset_details.redshift_data_share_asset.arn #=> String
1324
+ # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1133
1325
  # resp.assets[0].created_at #=> Time
1134
1326
  # resp.assets[0].data_set_id #=> String
1135
1327
  # resp.assets[0].id #=> String
@@ -1286,7 +1478,8 @@ module Aws::DataExchange
1286
1478
  #
1287
1479
  # resp.arn #=> String
1288
1480
  # resp.asset_details.s3_snapshot_asset.size #=> Float
1289
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1481
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
1482
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1290
1483
  # resp.created_at #=> Time
1291
1484
  # resp.data_set_id #=> String
1292
1485
  # resp.id #=> String
@@ -1338,7 +1531,7 @@ module Aws::DataExchange
1338
1531
  # @example Response structure
1339
1532
  #
1340
1533
  # resp.arn #=> String
1341
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1534
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1342
1535
  # resp.created_at #=> Time
1343
1536
  # resp.description #=> String
1344
1537
  # resp.id #=> String
@@ -1357,6 +1550,61 @@ module Aws::DataExchange
1357
1550
  req.send_request(options)
1358
1551
  end
1359
1552
 
1553
+ # This operation updates the event action.
1554
+ #
1555
+ # @option params [Types::Action] :action
1556
+ # What occurs after a certain event.
1557
+ #
1558
+ # @option params [required, String] :event_action_id
1559
+ #
1560
+ # @return [Types::UpdateEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1561
+ #
1562
+ # * {Types::UpdateEventActionResponse#action #action} => Types::Action
1563
+ # * {Types::UpdateEventActionResponse#arn #arn} => String
1564
+ # * {Types::UpdateEventActionResponse#created_at #created_at} => Time
1565
+ # * {Types::UpdateEventActionResponse#event #event} => Types::Event
1566
+ # * {Types::UpdateEventActionResponse#id #id} => String
1567
+ # * {Types::UpdateEventActionResponse#updated_at #updated_at} => Time
1568
+ #
1569
+ # @example Request syntax with placeholder values
1570
+ #
1571
+ # resp = client.update_event_action({
1572
+ # action: {
1573
+ # export_revision_to_s3: {
1574
+ # encryption: {
1575
+ # kms_key_arn: "__string",
1576
+ # type: "aws:kms", # required, accepts aws:kms, AES256
1577
+ # },
1578
+ # revision_destination: { # required
1579
+ # bucket: "__string", # required
1580
+ # key_pattern: "__string",
1581
+ # },
1582
+ # },
1583
+ # },
1584
+ # event_action_id: "__string", # required
1585
+ # })
1586
+ #
1587
+ # @example Response structure
1588
+ #
1589
+ # resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
1590
+ # resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
1591
+ # resp.action.export_revision_to_s3.revision_destination.bucket #=> String
1592
+ # resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
1593
+ # resp.arn #=> String
1594
+ # resp.created_at #=> Time
1595
+ # resp.event.revision_published.data_set_id #=> String
1596
+ # resp.id #=> String
1597
+ # resp.updated_at #=> Time
1598
+ #
1599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventAction AWS API Documentation
1600
+ #
1601
+ # @overload update_event_action(params = {})
1602
+ # @param [Hash] params ({})
1603
+ def update_event_action(params = {}, options = {})
1604
+ req = build_request(:update_event_action, params)
1605
+ req.send_request(options)
1606
+ end
1607
+
1360
1608
  # This operation updates a revision.
1361
1609
  #
1362
1610
  # @option params [String] :comment
@@ -1424,7 +1672,7 @@ module Aws::DataExchange
1424
1672
  params: params,
1425
1673
  config: config)
1426
1674
  context[:gem_name] = 'aws-sdk-dataexchange'
1427
- context[:gem_version] = '1.15.0'
1675
+ context[:gem_version] = '1.19.0'
1428
1676
  Seahorse::Client::Request.new(handlers, context)
1429
1677
  end
1430
1678