aws-sdk-dataexchange 1.13.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +229 -4
- data/lib/aws-sdk-dataexchange/client_api.rb +163 -2
- data/lib/aws-sdk-dataexchange/errors.rb +5 -0
- data/lib/aws-sdk-dataexchange/types.rb +470 -6
- data/lib/aws-sdk-dataexchange.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fc5934fd71860600e29caf47c90d0bb906781e46d1bf33415921d5d0866e388
|
4
|
+
data.tar.gz: 509a132c0229583957af4ea8b8772d1f0e88a5bea9c795637744fd96724597fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26ffe03f8077c3e0dfbbc07fefcd81f60157d2c30468669a75bbfb38c3d89d12e953f7bda77e0dfe6fc1724d6020b52ee08ac9870adda0ec8d72b77e924dbf1f
|
7
|
+
data.tar.gz: f0afb953e5c281fcfeab1ab7a15a10d14d9946af2085181949b48c04e4dc8016a679b926c2afe3a4e8f25881c049ea38fc4baa5516587086b45794d1cf60ebeb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2021-09-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables subscribers to set up automatic exports of newly published revisions using the new EventAction API.
|
8
|
+
|
9
|
+
1.16.0 (2021-09-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.15.0 (2021-07-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.14.0 (2021-07-28)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.13.0 (2021-03-10)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -418,6 +418,66 @@ module Aws::DataExchange
|
|
418
418
|
req.send_request(options)
|
419
419
|
end
|
420
420
|
|
421
|
+
# This operation creates an event action.
|
422
|
+
#
|
423
|
+
# @option params [required, Types::Action] :action
|
424
|
+
# What occurs after a certain event.
|
425
|
+
#
|
426
|
+
# @option params [required, Types::Event] :event
|
427
|
+
# What occurs to start an action.
|
428
|
+
#
|
429
|
+
# @return [Types::CreateEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
430
|
+
#
|
431
|
+
# * {Types::CreateEventActionResponse#action #action} => Types::Action
|
432
|
+
# * {Types::CreateEventActionResponse#arn #arn} => String
|
433
|
+
# * {Types::CreateEventActionResponse#created_at #created_at} => Time
|
434
|
+
# * {Types::CreateEventActionResponse#event #event} => Types::Event
|
435
|
+
# * {Types::CreateEventActionResponse#id #id} => String
|
436
|
+
# * {Types::CreateEventActionResponse#updated_at #updated_at} => Time
|
437
|
+
#
|
438
|
+
# @example Request syntax with placeholder values
|
439
|
+
#
|
440
|
+
# resp = client.create_event_action({
|
441
|
+
# action: { # required
|
442
|
+
# export_revision_to_s3: {
|
443
|
+
# encryption: {
|
444
|
+
# kms_key_arn: "__string",
|
445
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
446
|
+
# },
|
447
|
+
# revision_destination: { # required
|
448
|
+
# bucket: "__string", # required
|
449
|
+
# key_pattern: "__string",
|
450
|
+
# },
|
451
|
+
# },
|
452
|
+
# },
|
453
|
+
# event: { # required
|
454
|
+
# revision_published: {
|
455
|
+
# data_set_id: "Id", # required
|
456
|
+
# },
|
457
|
+
# },
|
458
|
+
# })
|
459
|
+
#
|
460
|
+
# @example Response structure
|
461
|
+
#
|
462
|
+
# resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
|
463
|
+
# resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
464
|
+
# resp.action.export_revision_to_s3.revision_destination.bucket #=> String
|
465
|
+
# resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
|
466
|
+
# resp.arn #=> String
|
467
|
+
# resp.created_at #=> Time
|
468
|
+
# resp.event.revision_published.data_set_id #=> String
|
469
|
+
# resp.id #=> String
|
470
|
+
# resp.updated_at #=> Time
|
471
|
+
#
|
472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventAction AWS API Documentation
|
473
|
+
#
|
474
|
+
# @overload create_event_action(params = {})
|
475
|
+
# @param [Hash] params ({})
|
476
|
+
def create_event_action(params = {}, options = {})
|
477
|
+
req = build_request(:create_event_action, params)
|
478
|
+
req.send_request(options)
|
479
|
+
end
|
480
|
+
|
421
481
|
# This operation creates a job.
|
422
482
|
#
|
423
483
|
# @option params [required, Types::RequestDetails] :details
|
@@ -515,6 +575,7 @@ module Aws::DataExchange
|
|
515
575
|
# resp.details.export_revisions_to_s3.data_set_id #=> String
|
516
576
|
# resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
517
577
|
# resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
578
|
+
# resp.details.export_revisions_to_s3.event_action_arn #=> String
|
518
579
|
# resp.details.export_revisions_to_s3.revision_destinations #=> Array
|
519
580
|
# resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
520
581
|
# resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
@@ -540,7 +601,7 @@ module Aws::DataExchange
|
|
540
601
|
# resp.errors[0].limit_value #=> Float
|
541
602
|
# resp.errors[0].message #=> String
|
542
603
|
# resp.errors[0].resource_id #=> String
|
543
|
-
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
|
604
|
+
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
544
605
|
# resp.id #=> String
|
545
606
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
546
607
|
# 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"
|
@@ -661,6 +722,27 @@ module Aws::DataExchange
|
|
661
722
|
req.send_request(options)
|
662
723
|
end
|
663
724
|
|
725
|
+
# This operation deletes the event action.
|
726
|
+
#
|
727
|
+
# @option params [required, String] :event_action_id
|
728
|
+
#
|
729
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
730
|
+
#
|
731
|
+
# @example Request syntax with placeholder values
|
732
|
+
#
|
733
|
+
# resp = client.delete_event_action({
|
734
|
+
# event_action_id: "__string", # required
|
735
|
+
# })
|
736
|
+
#
|
737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteEventAction AWS API Documentation
|
738
|
+
#
|
739
|
+
# @overload delete_event_action(params = {})
|
740
|
+
# @param [Hash] params ({})
|
741
|
+
def delete_event_action(params = {}, options = {})
|
742
|
+
req = build_request(:delete_event_action, params)
|
743
|
+
req.send_request(options)
|
744
|
+
end
|
745
|
+
|
664
746
|
# This operation deletes a revision.
|
665
747
|
#
|
666
748
|
# @option params [required, String] :data_set_id
|
@@ -784,6 +866,46 @@ module Aws::DataExchange
|
|
784
866
|
req.send_request(options)
|
785
867
|
end
|
786
868
|
|
869
|
+
# This operation retrieves information about an event action.
|
870
|
+
#
|
871
|
+
# @option params [required, String] :event_action_id
|
872
|
+
#
|
873
|
+
# @return [Types::GetEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
874
|
+
#
|
875
|
+
# * {Types::GetEventActionResponse#action #action} => Types::Action
|
876
|
+
# * {Types::GetEventActionResponse#arn #arn} => String
|
877
|
+
# * {Types::GetEventActionResponse#created_at #created_at} => Time
|
878
|
+
# * {Types::GetEventActionResponse#event #event} => Types::Event
|
879
|
+
# * {Types::GetEventActionResponse#id #id} => String
|
880
|
+
# * {Types::GetEventActionResponse#updated_at #updated_at} => Time
|
881
|
+
#
|
882
|
+
# @example Request syntax with placeholder values
|
883
|
+
#
|
884
|
+
# resp = client.get_event_action({
|
885
|
+
# event_action_id: "__string", # required
|
886
|
+
# })
|
887
|
+
#
|
888
|
+
# @example Response structure
|
889
|
+
#
|
890
|
+
# resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
|
891
|
+
# resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
892
|
+
# resp.action.export_revision_to_s3.revision_destination.bucket #=> String
|
893
|
+
# resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
|
894
|
+
# resp.arn #=> String
|
895
|
+
# resp.created_at #=> Time
|
896
|
+
# resp.event.revision_published.data_set_id #=> String
|
897
|
+
# resp.id #=> String
|
898
|
+
# resp.updated_at #=> Time
|
899
|
+
#
|
900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventAction AWS API Documentation
|
901
|
+
#
|
902
|
+
# @overload get_event_action(params = {})
|
903
|
+
# @param [Hash] params ({})
|
904
|
+
def get_event_action(params = {}, options = {})
|
905
|
+
req = build_request(:get_event_action, params)
|
906
|
+
req.send_request(options)
|
907
|
+
end
|
908
|
+
|
787
909
|
# This operation returns information about a job.
|
788
910
|
#
|
789
911
|
# @option params [required, String] :job_id
|
@@ -825,6 +947,7 @@ module Aws::DataExchange
|
|
825
947
|
# resp.details.export_revisions_to_s3.data_set_id #=> String
|
826
948
|
# resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
827
949
|
# resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
950
|
+
# resp.details.export_revisions_to_s3.event_action_arn #=> String
|
828
951
|
# resp.details.export_revisions_to_s3.revision_destinations #=> Array
|
829
952
|
# resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
830
953
|
# resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
@@ -850,7 +973,7 @@ module Aws::DataExchange
|
|
850
973
|
# resp.errors[0].limit_value #=> Float
|
851
974
|
# resp.errors[0].message #=> String
|
852
975
|
# resp.errors[0].resource_id #=> String
|
853
|
-
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
|
976
|
+
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
854
977
|
# resp.id #=> String
|
855
978
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
856
979
|
# 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"
|
@@ -1008,6 +1131,52 @@ module Aws::DataExchange
|
|
1008
1131
|
req.send_request(options)
|
1009
1132
|
end
|
1010
1133
|
|
1134
|
+
# This operation lists your event actions.
|
1135
|
+
#
|
1136
|
+
# @option params [String] :event_source_id
|
1137
|
+
#
|
1138
|
+
# @option params [Integer] :max_results
|
1139
|
+
#
|
1140
|
+
# @option params [String] :next_token
|
1141
|
+
#
|
1142
|
+
# @return [Types::ListEventActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1143
|
+
#
|
1144
|
+
# * {Types::ListEventActionsResponse#event_actions #event_actions} => Array<Types::EventActionEntry>
|
1145
|
+
# * {Types::ListEventActionsResponse#next_token #next_token} => String
|
1146
|
+
#
|
1147
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1148
|
+
#
|
1149
|
+
# @example Request syntax with placeholder values
|
1150
|
+
#
|
1151
|
+
# resp = client.list_event_actions({
|
1152
|
+
# event_source_id: "__string",
|
1153
|
+
# max_results: 1,
|
1154
|
+
# next_token: "__string",
|
1155
|
+
# })
|
1156
|
+
#
|
1157
|
+
# @example Response structure
|
1158
|
+
#
|
1159
|
+
# resp.event_actions #=> Array
|
1160
|
+
# resp.event_actions[0].action.export_revision_to_s3.encryption.kms_key_arn #=> String
|
1161
|
+
# resp.event_actions[0].action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
1162
|
+
# resp.event_actions[0].action.export_revision_to_s3.revision_destination.bucket #=> String
|
1163
|
+
# resp.event_actions[0].action.export_revision_to_s3.revision_destination.key_pattern #=> String
|
1164
|
+
# resp.event_actions[0].arn #=> String
|
1165
|
+
# resp.event_actions[0].created_at #=> Time
|
1166
|
+
# resp.event_actions[0].event.revision_published.data_set_id #=> String
|
1167
|
+
# resp.event_actions[0].id #=> String
|
1168
|
+
# resp.event_actions[0].updated_at #=> Time
|
1169
|
+
# resp.next_token #=> String
|
1170
|
+
#
|
1171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActions AWS API Documentation
|
1172
|
+
#
|
1173
|
+
# @overload list_event_actions(params = {})
|
1174
|
+
# @param [Hash] params ({})
|
1175
|
+
def list_event_actions(params = {}, options = {})
|
1176
|
+
req = build_request(:list_event_actions, params)
|
1177
|
+
req.send_request(options)
|
1178
|
+
end
|
1179
|
+
|
1011
1180
|
# This operation lists your jobs sorted by CreatedAt in descending
|
1012
1181
|
# order.
|
1013
1182
|
#
|
@@ -1056,6 +1225,7 @@ module Aws::DataExchange
|
|
1056
1225
|
# resp.jobs[0].details.export_revisions_to_s3.data_set_id #=> String
|
1057
1226
|
# resp.jobs[0].details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
1058
1227
|
# resp.jobs[0].details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
1228
|
+
# resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
|
1059
1229
|
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations #=> Array
|
1060
1230
|
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
1061
1231
|
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
@@ -1081,7 +1251,7 @@ module Aws::DataExchange
|
|
1081
1251
|
# resp.jobs[0].errors[0].limit_value #=> Float
|
1082
1252
|
# resp.jobs[0].errors[0].message #=> String
|
1083
1253
|
# resp.jobs[0].errors[0].resource_id #=> String
|
1084
|
-
# resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET"
|
1254
|
+
# resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
1085
1255
|
# resp.jobs[0].id #=> String
|
1086
1256
|
# resp.jobs[0].state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
1087
1257
|
# 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"
|
@@ -1357,6 +1527,61 @@ module Aws::DataExchange
|
|
1357
1527
|
req.send_request(options)
|
1358
1528
|
end
|
1359
1529
|
|
1530
|
+
# This operation updates the event action.
|
1531
|
+
#
|
1532
|
+
# @option params [Types::Action] :action
|
1533
|
+
# What occurs after a certain event.
|
1534
|
+
#
|
1535
|
+
# @option params [required, String] :event_action_id
|
1536
|
+
#
|
1537
|
+
# @return [Types::UpdateEventActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1538
|
+
#
|
1539
|
+
# * {Types::UpdateEventActionResponse#action #action} => Types::Action
|
1540
|
+
# * {Types::UpdateEventActionResponse#arn #arn} => String
|
1541
|
+
# * {Types::UpdateEventActionResponse#created_at #created_at} => Time
|
1542
|
+
# * {Types::UpdateEventActionResponse#event #event} => Types::Event
|
1543
|
+
# * {Types::UpdateEventActionResponse#id #id} => String
|
1544
|
+
# * {Types::UpdateEventActionResponse#updated_at #updated_at} => Time
|
1545
|
+
#
|
1546
|
+
# @example Request syntax with placeholder values
|
1547
|
+
#
|
1548
|
+
# resp = client.update_event_action({
|
1549
|
+
# action: {
|
1550
|
+
# export_revision_to_s3: {
|
1551
|
+
# encryption: {
|
1552
|
+
# kms_key_arn: "__string",
|
1553
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
1554
|
+
# },
|
1555
|
+
# revision_destination: { # required
|
1556
|
+
# bucket: "__string", # required
|
1557
|
+
# key_pattern: "__string",
|
1558
|
+
# },
|
1559
|
+
# },
|
1560
|
+
# },
|
1561
|
+
# event_action_id: "__string", # required
|
1562
|
+
# })
|
1563
|
+
#
|
1564
|
+
# @example Response structure
|
1565
|
+
#
|
1566
|
+
# resp.action.export_revision_to_s3.encryption.kms_key_arn #=> String
|
1567
|
+
# resp.action.export_revision_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
1568
|
+
# resp.action.export_revision_to_s3.revision_destination.bucket #=> String
|
1569
|
+
# resp.action.export_revision_to_s3.revision_destination.key_pattern #=> String
|
1570
|
+
# resp.arn #=> String
|
1571
|
+
# resp.created_at #=> Time
|
1572
|
+
# resp.event.revision_published.data_set_id #=> String
|
1573
|
+
# resp.id #=> String
|
1574
|
+
# resp.updated_at #=> Time
|
1575
|
+
#
|
1576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventAction AWS API Documentation
|
1577
|
+
#
|
1578
|
+
# @overload update_event_action(params = {})
|
1579
|
+
# @param [Hash] params ({})
|
1580
|
+
def update_event_action(params = {}, options = {})
|
1581
|
+
req = build_request(:update_event_action, params)
|
1582
|
+
req.send_request(options)
|
1583
|
+
end
|
1584
|
+
|
1360
1585
|
# This operation updates a revision.
|
1361
1586
|
#
|
1362
1587
|
# @option params [String] :comment
|
@@ -1424,7 +1649,7 @@ module Aws::DataExchange
|
|
1424
1649
|
params: params,
|
1425
1650
|
config: config)
|
1426
1651
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
1427
|
-
context[:gem_version] = '1.
|
1652
|
+
context[:gem_version] = '1.17.0'
|
1428
1653
|
Seahorse::Client::Request.new(handlers, context)
|
1429
1654
|
end
|
1430
1655
|
|