aws-sdk-dataexchange 1.14.0 → 1.18.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 +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f9aa926723ecb720fc09b5449ca04dad6fbbb20f91eb3962a34fa3635329205
|
4
|
+
data.tar.gz: 774006fa4bd9e914db15b21dcc6c6a17bf48fcf7122e6da65c23e15fed8ae813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dc3ca5d6275a5e92339fee6df067206f560f532961621392593ea4e0686409164d55c88cc000f1457977e17e9a770f803f20bff1ab2129f5471e2bc744cdcc2
|
7
|
+
data.tar.gz: 410e6240f092b6d2e2c8117421135c592cf5dc053fa4c7228f6a514b1df0cecf33d26cff0ff66cadbb9ae94a12778d6e0e950567a4c15caba045c10562822156
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.17.0 (2021-09-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release enables subscribers to set up automatic exports of newly published revisions using the new EventAction API.
|
13
|
+
|
14
|
+
1.16.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.15.0 (2021-07-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.14.0 (2021-07-28)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.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.18.0'
|
1428
1653
|
Seahorse::Client::Request.new(handlers, context)
|
1429
1654
|
end
|
1430
1655
|
|
@@ -14,6 +14,7 @@ module Aws::DataExchange
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
Action = Shapes::StructureShape.new(name: 'Action')
|
17
18
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
19
|
AssetDestinationEntry = Shapes::StructureShape.new(name: 'AssetDestinationEntry')
|
19
20
|
AssetDetails = Shapes::StructureShape.new(name: 'AssetDetails')
|
@@ -21,11 +22,15 @@ module Aws::DataExchange
|
|
21
22
|
AssetName = Shapes::StringShape.new(name: 'AssetName')
|
22
23
|
AssetSourceEntry = Shapes::StructureShape.new(name: 'AssetSourceEntry')
|
23
24
|
AssetType = Shapes::StringShape.new(name: 'AssetType')
|
25
|
+
AutoExportRevisionDestinationEntry = Shapes::StructureShape.new(name: 'AutoExportRevisionDestinationEntry')
|
26
|
+
AutoExportRevisionToS3RequestDetails = Shapes::StructureShape.new(name: 'AutoExportRevisionToS3RequestDetails')
|
24
27
|
CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
|
25
28
|
Code = Shapes::StringShape.new(name: 'Code')
|
26
29
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
27
30
|
CreateDataSetRequest = Shapes::StructureShape.new(name: 'CreateDataSetRequest')
|
28
31
|
CreateDataSetResponse = Shapes::StructureShape.new(name: 'CreateDataSetResponse')
|
32
|
+
CreateEventActionRequest = Shapes::StructureShape.new(name: 'CreateEventActionRequest')
|
33
|
+
CreateEventActionResponse = Shapes::StructureShape.new(name: 'CreateEventActionResponse')
|
29
34
|
CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
|
30
35
|
CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
|
31
36
|
CreateRevisionRequest = Shapes::StructureShape.new(name: 'CreateRevisionRequest')
|
@@ -33,9 +38,13 @@ module Aws::DataExchange
|
|
33
38
|
DataSetEntry = Shapes::StructureShape.new(name: 'DataSetEntry')
|
34
39
|
DeleteAssetRequest = Shapes::StructureShape.new(name: 'DeleteAssetRequest')
|
35
40
|
DeleteDataSetRequest = Shapes::StructureShape.new(name: 'DeleteDataSetRequest')
|
41
|
+
DeleteEventActionRequest = Shapes::StructureShape.new(name: 'DeleteEventActionRequest')
|
36
42
|
DeleteRevisionRequest = Shapes::StructureShape.new(name: 'DeleteRevisionRequest')
|
37
43
|
Description = Shapes::StringShape.new(name: 'Description')
|
38
44
|
Details = Shapes::StructureShape.new(name: 'Details')
|
45
|
+
Event = Shapes::StructureShape.new(name: 'Event')
|
46
|
+
EventActionEntry = Shapes::StructureShape.new(name: 'EventActionEntry')
|
47
|
+
ExceptionCause = Shapes::StringShape.new(name: 'ExceptionCause')
|
39
48
|
ExportAssetToSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlRequestDetails')
|
40
49
|
ExportAssetToSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlResponseDetails')
|
41
50
|
ExportAssetsToS3RequestDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3RequestDetails')
|
@@ -47,6 +56,8 @@ module Aws::DataExchange
|
|
47
56
|
GetAssetResponse = Shapes::StructureShape.new(name: 'GetAssetResponse')
|
48
57
|
GetDataSetRequest = Shapes::StructureShape.new(name: 'GetDataSetRequest')
|
49
58
|
GetDataSetResponse = Shapes::StructureShape.new(name: 'GetDataSetResponse')
|
59
|
+
GetEventActionRequest = Shapes::StructureShape.new(name: 'GetEventActionRequest')
|
60
|
+
GetEventActionResponse = Shapes::StructureShape.new(name: 'GetEventActionResponse')
|
50
61
|
GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
|
51
62
|
GetJobResponse = Shapes::StructureShape.new(name: 'GetJobResponse')
|
52
63
|
GetRevisionRequest = Shapes::StructureShape.new(name: 'GetRevisionRequest')
|
@@ -67,12 +78,15 @@ module Aws::DataExchange
|
|
67
78
|
ListDataSetRevisionsResponse = Shapes::StructureShape.new(name: 'ListDataSetRevisionsResponse')
|
68
79
|
ListDataSetsRequest = Shapes::StructureShape.new(name: 'ListDataSetsRequest')
|
69
80
|
ListDataSetsResponse = Shapes::StructureShape.new(name: 'ListDataSetsResponse')
|
81
|
+
ListEventActionsRequest = Shapes::StructureShape.new(name: 'ListEventActionsRequest')
|
82
|
+
ListEventActionsResponse = Shapes::StructureShape.new(name: 'ListEventActionsResponse')
|
70
83
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
71
84
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
72
85
|
ListOfAssetDestinationEntry = Shapes::ListShape.new(name: 'ListOfAssetDestinationEntry')
|
73
86
|
ListOfAssetEntry = Shapes::ListShape.new(name: 'ListOfAssetEntry')
|
74
87
|
ListOfAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfAssetSourceEntry')
|
75
88
|
ListOfDataSetEntry = Shapes::ListShape.new(name: 'ListOfDataSetEntry')
|
89
|
+
ListOfEventActionEntry = Shapes::ListShape.new(name: 'ListOfEventActionEntry')
|
76
90
|
ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
|
77
91
|
ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
|
78
92
|
ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
|
@@ -94,6 +108,7 @@ module Aws::DataExchange
|
|
94
108
|
ResponseDetails = Shapes::StructureShape.new(name: 'ResponseDetails')
|
95
109
|
RevisionDestinationEntry = Shapes::StructureShape.new(name: 'RevisionDestinationEntry')
|
96
110
|
RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
|
111
|
+
RevisionPublished = Shapes::StructureShape.new(name: 'RevisionPublished')
|
97
112
|
S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
|
98
113
|
ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
|
99
114
|
ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
|
@@ -109,6 +124,8 @@ module Aws::DataExchange
|
|
109
124
|
UpdateAssetResponse = Shapes::StructureShape.new(name: 'UpdateAssetResponse')
|
110
125
|
UpdateDataSetRequest = Shapes::StructureShape.new(name: 'UpdateDataSetRequest')
|
111
126
|
UpdateDataSetResponse = Shapes::StructureShape.new(name: 'UpdateDataSetResponse')
|
127
|
+
UpdateEventActionRequest = Shapes::StructureShape.new(name: 'UpdateEventActionRequest')
|
128
|
+
UpdateEventActionResponse = Shapes::StructureShape.new(name: 'UpdateEventActionResponse')
|
112
129
|
UpdateRevisionRequest = Shapes::StructureShape.new(name: 'UpdateRevisionRequest')
|
113
130
|
UpdateRevisionResponse = Shapes::StructureShape.new(name: 'UpdateRevisionResponse')
|
114
131
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
@@ -122,6 +139,9 @@ module Aws::DataExchange
|
|
122
139
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
123
140
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
124
141
|
|
142
|
+
Action.add_member(:export_revision_to_s3, Shapes::ShapeRef.new(shape: AutoExportRevisionToS3RequestDetails, location_name: "ExportRevisionToS3"))
|
143
|
+
Action.struct_class = Types::Action
|
144
|
+
|
125
145
|
AssetDestinationEntry.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
|
126
146
|
AssetDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
127
147
|
AssetDestinationEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "Key"))
|
@@ -146,6 +166,14 @@ module Aws::DataExchange
|
|
146
166
|
AssetSourceEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Key"))
|
147
167
|
AssetSourceEntry.struct_class = Types::AssetSourceEntry
|
148
168
|
|
169
|
+
AutoExportRevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
170
|
+
AutoExportRevisionDestinationEntry.add_member(:key_pattern, Shapes::ShapeRef.new(shape: __string, location_name: "KeyPattern"))
|
171
|
+
AutoExportRevisionDestinationEntry.struct_class = Types::AutoExportRevisionDestinationEntry
|
172
|
+
|
173
|
+
AutoExportRevisionToS3RequestDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
174
|
+
AutoExportRevisionToS3RequestDetails.add_member(:revision_destination, Shapes::ShapeRef.new(shape: AutoExportRevisionDestinationEntry, required: true, location_name: "RevisionDestination"))
|
175
|
+
AutoExportRevisionToS3RequestDetails.struct_class = Types::AutoExportRevisionToS3RequestDetails
|
176
|
+
|
149
177
|
CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "JobId"))
|
150
178
|
CancelJobRequest.struct_class = Types::CancelJobRequest
|
151
179
|
|
@@ -173,6 +201,18 @@ module Aws::DataExchange
|
|
173
201
|
CreateDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
174
202
|
CreateDataSetResponse.struct_class = Types::CreateDataSetResponse
|
175
203
|
|
204
|
+
CreateEventActionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
|
205
|
+
CreateEventActionRequest.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "Event"))
|
206
|
+
CreateEventActionRequest.struct_class = Types::CreateEventActionRequest
|
207
|
+
|
208
|
+
CreateEventActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
209
|
+
CreateEventActionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
210
|
+
CreateEventActionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
211
|
+
CreateEventActionResponse.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "Event"))
|
212
|
+
CreateEventActionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
213
|
+
CreateEventActionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
214
|
+
CreateEventActionResponse.struct_class = Types::CreateEventActionResponse
|
215
|
+
|
176
216
|
CreateJobRequest.add_member(:details, Shapes::ShapeRef.new(shape: RequestDetails, required: true, location_name: "Details"))
|
177
217
|
CreateJobRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
|
178
218
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
@@ -223,6 +263,9 @@ module Aws::DataExchange
|
|
223
263
|
DeleteDataSetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
224
264
|
DeleteDataSetRequest.struct_class = Types::DeleteDataSetRequest
|
225
265
|
|
266
|
+
DeleteEventActionRequest.add_member(:event_action_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventActionId"))
|
267
|
+
DeleteEventActionRequest.struct_class = Types::DeleteEventActionRequest
|
268
|
+
|
226
269
|
DeleteRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
227
270
|
DeleteRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
|
228
271
|
DeleteRevisionRequest.struct_class = Types::DeleteRevisionRequest
|
@@ -231,6 +274,17 @@ module Aws::DataExchange
|
|
231
274
|
Details.add_member(:import_assets_from_s3_job_error_details, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, location_name: "ImportAssetsFromS3JobErrorDetails"))
|
232
275
|
Details.struct_class = Types::Details
|
233
276
|
|
277
|
+
Event.add_member(:revision_published, Shapes::ShapeRef.new(shape: RevisionPublished, location_name: "RevisionPublished"))
|
278
|
+
Event.struct_class = Types::Event
|
279
|
+
|
280
|
+
EventActionEntry.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
|
281
|
+
EventActionEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
282
|
+
EventActionEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
283
|
+
EventActionEntry.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "Event"))
|
284
|
+
EventActionEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
285
|
+
EventActionEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
286
|
+
EventActionEntry.struct_class = Types::EventActionEntry
|
287
|
+
|
234
288
|
ExportAssetToSignedUrlRequestDetails.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
|
235
289
|
ExportAssetToSignedUrlRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
236
290
|
ExportAssetToSignedUrlRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
@@ -262,6 +316,7 @@ module Aws::DataExchange
|
|
262
316
|
|
263
317
|
ExportRevisionsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
264
318
|
ExportRevisionsToS3ResponseDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
319
|
+
ExportRevisionsToS3ResponseDetails.add_member(:event_action_arn, Shapes::ShapeRef.new(shape: __string, location_name: "EventActionArn"))
|
265
320
|
ExportRevisionsToS3ResponseDetails.add_member(:revision_destinations, Shapes::ShapeRef.new(shape: ListOfRevisionDestinationEntry, required: true, location_name: "RevisionDestinations"))
|
266
321
|
ExportRevisionsToS3ResponseDetails.struct_class = Types::ExportRevisionsToS3ResponseDetails
|
267
322
|
|
@@ -302,6 +357,17 @@ module Aws::DataExchange
|
|
302
357
|
GetDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
303
358
|
GetDataSetResponse.struct_class = Types::GetDataSetResponse
|
304
359
|
|
360
|
+
GetEventActionRequest.add_member(:event_action_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventActionId"))
|
361
|
+
GetEventActionRequest.struct_class = Types::GetEventActionRequest
|
362
|
+
|
363
|
+
GetEventActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
364
|
+
GetEventActionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
365
|
+
GetEventActionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
366
|
+
GetEventActionResponse.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "Event"))
|
367
|
+
GetEventActionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
368
|
+
GetEventActionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
369
|
+
GetEventActionResponse.struct_class = Types::GetEventActionResponse
|
370
|
+
|
305
371
|
GetJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "JobId"))
|
306
372
|
GetJobRequest.struct_class = Types::GetJobRequest
|
307
373
|
|
@@ -397,6 +463,15 @@ module Aws::DataExchange
|
|
397
463
|
ListDataSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
398
464
|
ListDataSetsResponse.struct_class = Types::ListDataSetsResponse
|
399
465
|
|
466
|
+
ListEventActionsRequest.add_member(:event_source_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "eventSourceId"))
|
467
|
+
ListEventActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
468
|
+
ListEventActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
469
|
+
ListEventActionsRequest.struct_class = Types::ListEventActionsRequest
|
470
|
+
|
471
|
+
ListEventActionsResponse.add_member(:event_actions, Shapes::ShapeRef.new(shape: ListOfEventActionEntry, location_name: "EventActions"))
|
472
|
+
ListEventActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
473
|
+
ListEventActionsResponse.struct_class = Types::ListEventActionsResponse
|
474
|
+
|
400
475
|
ListJobsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "dataSetId"))
|
401
476
|
ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
402
477
|
ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -415,6 +490,8 @@ module Aws::DataExchange
|
|
415
490
|
|
416
491
|
ListOfDataSetEntry.member = Shapes::ShapeRef.new(shape: DataSetEntry)
|
417
492
|
|
493
|
+
ListOfEventActionEntry.member = Shapes::ShapeRef.new(shape: EventActionEntry)
|
494
|
+
|
418
495
|
ListOfJobEntry.member = Shapes::ShapeRef.new(shape: JobEntry)
|
419
496
|
|
420
497
|
ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
|
@@ -481,6 +558,9 @@ module Aws::DataExchange
|
|
481
558
|
RevisionEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
482
559
|
RevisionEntry.struct_class = Types::RevisionEntry
|
483
560
|
|
561
|
+
RevisionPublished.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
562
|
+
RevisionPublished.struct_class = Types::RevisionPublished
|
563
|
+
|
484
564
|
S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
|
485
565
|
S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
|
486
566
|
|
@@ -540,6 +620,18 @@ module Aws::DataExchange
|
|
540
620
|
UpdateDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
541
621
|
UpdateDataSetResponse.struct_class = Types::UpdateDataSetResponse
|
542
622
|
|
623
|
+
UpdateEventActionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
624
|
+
UpdateEventActionRequest.add_member(:event_action_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventActionId"))
|
625
|
+
UpdateEventActionRequest.struct_class = Types::UpdateEventActionRequest
|
626
|
+
|
627
|
+
UpdateEventActionResponse.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
628
|
+
UpdateEventActionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
629
|
+
UpdateEventActionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
630
|
+
UpdateEventActionResponse.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "Event"))
|
631
|
+
UpdateEventActionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
632
|
+
UpdateEventActionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
633
|
+
UpdateEventActionResponse.struct_class = Types::UpdateEventActionResponse
|
634
|
+
|
543
635
|
UpdateRevisionRequest.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
|
544
636
|
UpdateRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
545
637
|
UpdateRevisionRequest.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
|
@@ -557,6 +649,7 @@ module Aws::DataExchange
|
|
557
649
|
UpdateRevisionResponse.struct_class = Types::UpdateRevisionResponse
|
558
650
|
|
559
651
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
652
|
+
ValidationException.add_member(:exception_cause, Shapes::ShapeRef.new(shape: ExceptionCause, location_name: "ExceptionCause"))
|
560
653
|
ValidationException.struct_class = Types::ValidationException
|
561
654
|
|
562
655
|
|
@@ -603,17 +696,30 @@ module Aws::DataExchange
|
|
603
696
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
604
697
|
end)
|
605
698
|
|
699
|
+
api.add_operation(:create_event_action, Seahorse::Model::Operation.new.tap do |o|
|
700
|
+
o.name = "CreateEventAction"
|
701
|
+
o.http_method = "POST"
|
702
|
+
o.http_request_uri = "/v1/event-actions"
|
703
|
+
o.input = Shapes::ShapeRef.new(shape: CreateEventActionRequest)
|
704
|
+
o.output = Shapes::ShapeRef.new(shape: CreateEventActionResponse)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
710
|
+
end)
|
711
|
+
|
606
712
|
api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
|
607
713
|
o.name = "CreateJob"
|
608
714
|
o.http_method = "POST"
|
609
715
|
o.http_request_uri = "/v1/jobs"
|
610
716
|
o.input = Shapes::ShapeRef.new(shape: CreateJobRequest)
|
611
717
|
o.output = Shapes::ShapeRef.new(shape: CreateJobResponse)
|
612
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
613
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
614
718
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
615
719
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
616
720
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
617
723
|
end)
|
618
724
|
|
619
725
|
api.add_operation(:create_revision, Seahorse::Model::Operation.new.tap do |o|
|
@@ -657,6 +763,18 @@ module Aws::DataExchange
|
|
657
763
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
658
764
|
end)
|
659
765
|
|
766
|
+
api.add_operation(:delete_event_action, Seahorse::Model::Operation.new.tap do |o|
|
767
|
+
o.name = "DeleteEventAction"
|
768
|
+
o.http_method = "DELETE"
|
769
|
+
o.http_request_uri = "/v1/event-actions/{EventActionId}"
|
770
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEventActionRequest)
|
771
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
772
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
773
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
774
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
776
|
+
end)
|
777
|
+
|
660
778
|
api.add_operation(:delete_revision, Seahorse::Model::Operation.new.tap do |o|
|
661
779
|
o.name = "DeleteRevision"
|
662
780
|
o.http_method = "DELETE"
|
@@ -695,6 +813,18 @@ module Aws::DataExchange
|
|
695
813
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
696
814
|
end)
|
697
815
|
|
816
|
+
api.add_operation(:get_event_action, Seahorse::Model::Operation.new.tap do |o|
|
817
|
+
o.name = "GetEventAction"
|
818
|
+
o.http_method = "GET"
|
819
|
+
o.http_request_uri = "/v1/event-actions/{EventActionId}"
|
820
|
+
o.input = Shapes::ShapeRef.new(shape: GetEventActionRequest)
|
821
|
+
o.output = Shapes::ShapeRef.new(shape: GetEventActionResponse)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
826
|
+
end)
|
827
|
+
|
698
828
|
api.add_operation(:get_job, Seahorse::Model::Operation.new.tap do |o|
|
699
829
|
o.name = "GetJob"
|
700
830
|
o.http_method = "GET"
|
@@ -755,6 +885,24 @@ module Aws::DataExchange
|
|
755
885
|
)
|
756
886
|
end)
|
757
887
|
|
888
|
+
api.add_operation(:list_event_actions, Seahorse::Model::Operation.new.tap do |o|
|
889
|
+
o.name = "ListEventActions"
|
890
|
+
o.http_method = "GET"
|
891
|
+
o.http_request_uri = "/v1/event-actions"
|
892
|
+
o.input = Shapes::ShapeRef.new(shape: ListEventActionsRequest)
|
893
|
+
o.output = Shapes::ShapeRef.new(shape: ListEventActionsResponse)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
897
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
898
|
+
o[:pager] = Aws::Pager.new(
|
899
|
+
limit_key: "max_results",
|
900
|
+
tokens: {
|
901
|
+
"next_token" => "next_token"
|
902
|
+
}
|
903
|
+
)
|
904
|
+
end)
|
905
|
+
|
758
906
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
759
907
|
o.name = "ListJobs"
|
760
908
|
o.http_method = "GET"
|
@@ -856,6 +1004,19 @@ module Aws::DataExchange
|
|
856
1004
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
857
1005
|
end)
|
858
1006
|
|
1007
|
+
api.add_operation(:update_event_action, Seahorse::Model::Operation.new.tap do |o|
|
1008
|
+
o.name = "UpdateEventAction"
|
1009
|
+
o.http_method = "PATCH"
|
1010
|
+
o.http_request_uri = "/v1/event-actions/{EventActionId}"
|
1011
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEventActionRequest)
|
1012
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateEventActionResponse)
|
1013
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1018
|
+
end)
|
1019
|
+
|
859
1020
|
api.add_operation(:update_revision, Seahorse::Model::Operation.new.tap do |o|
|
860
1021
|
o.name = "UpdateRevision"
|
861
1022
|
o.http_method = "PATCH"
|
@@ -24,6 +24,34 @@ module Aws::DataExchange
|
|
24
24
|
include Aws::Structure
|
25
25
|
end
|
26
26
|
|
27
|
+
# @note When making an API call, you may pass Action
|
28
|
+
# data as a hash:
|
29
|
+
#
|
30
|
+
# {
|
31
|
+
# export_revision_to_s3: {
|
32
|
+
# encryption: {
|
33
|
+
# kms_key_arn: "__string",
|
34
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
35
|
+
# },
|
36
|
+
# revision_destination: { # required
|
37
|
+
# bucket: "__string", # required
|
38
|
+
# key_pattern: "__string",
|
39
|
+
# },
|
40
|
+
# },
|
41
|
+
# }
|
42
|
+
#
|
43
|
+
# @!attribute [rw] export_revision_to_s3
|
44
|
+
# Details of the operation to be performed by the job.
|
45
|
+
# @return [Types::AutoExportRevisionToS3RequestDetails]
|
46
|
+
#
|
47
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Action AWS API Documentation
|
48
|
+
#
|
49
|
+
class Action < Struct.new(
|
50
|
+
:export_revision_to_s3)
|
51
|
+
SENSITIVE = []
|
52
|
+
include Aws::Structure
|
53
|
+
end
|
54
|
+
|
27
55
|
# The destination for the asset.
|
28
56
|
#
|
29
57
|
# @note When making an API call, you may pass AssetDestinationEntry
|
@@ -164,6 +192,76 @@ module Aws::DataExchange
|
|
164
192
|
include Aws::Structure
|
165
193
|
end
|
166
194
|
|
195
|
+
# A revision destination is the Amazon S3 bucket folder destination to
|
196
|
+
# where the export will be sent.
|
197
|
+
#
|
198
|
+
# @note When making an API call, you may pass AutoExportRevisionDestinationEntry
|
199
|
+
# data as a hash:
|
200
|
+
#
|
201
|
+
# {
|
202
|
+
# bucket: "__string", # required
|
203
|
+
# key_pattern: "__string",
|
204
|
+
# }
|
205
|
+
#
|
206
|
+
# @!attribute [rw] bucket
|
207
|
+
# The S3 bucket that is the destination for the event action.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
# @!attribute [rw] key_pattern
|
211
|
+
# A string representing the pattern for generated names of the
|
212
|
+
# individual assets in the revision. For more information about key
|
213
|
+
# patterns, see [Key patterns when exporting revisions][1].
|
214
|
+
#
|
215
|
+
#
|
216
|
+
#
|
217
|
+
# [1]: https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns
|
218
|
+
# @return [String]
|
219
|
+
#
|
220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AutoExportRevisionDestinationEntry AWS API Documentation
|
221
|
+
#
|
222
|
+
class AutoExportRevisionDestinationEntry < Struct.new(
|
223
|
+
:bucket,
|
224
|
+
:key_pattern)
|
225
|
+
SENSITIVE = []
|
226
|
+
include Aws::Structure
|
227
|
+
end
|
228
|
+
|
229
|
+
# Details of the operation to be performed by the job.
|
230
|
+
#
|
231
|
+
# @note When making an API call, you may pass AutoExportRevisionToS3RequestDetails
|
232
|
+
# data as a hash:
|
233
|
+
#
|
234
|
+
# {
|
235
|
+
# encryption: {
|
236
|
+
# kms_key_arn: "__string",
|
237
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
238
|
+
# },
|
239
|
+
# revision_destination: { # required
|
240
|
+
# bucket: "__string", # required
|
241
|
+
# key_pattern: "__string",
|
242
|
+
# },
|
243
|
+
# }
|
244
|
+
#
|
245
|
+
# @!attribute [rw] encryption
|
246
|
+
# Encryption configuration of the export job. Includes the encryption
|
247
|
+
# type in addition to the AWS KMS key. The KMS key is only necessary
|
248
|
+
# if you chose the KMS encryption. type.
|
249
|
+
# @return [Types::ExportServerSideEncryption]
|
250
|
+
#
|
251
|
+
# @!attribute [rw] revision_destination
|
252
|
+
# A revision destination is the Amazon S3 bucket folder destination to
|
253
|
+
# where the export will be sent.
|
254
|
+
# @return [Types::AutoExportRevisionDestinationEntry]
|
255
|
+
#
|
256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AutoExportRevisionToS3RequestDetails AWS API Documentation
|
257
|
+
#
|
258
|
+
class AutoExportRevisionToS3RequestDetails < Struct.new(
|
259
|
+
:encryption,
|
260
|
+
:revision_destination)
|
261
|
+
SENSITIVE = []
|
262
|
+
include Aws::Structure
|
263
|
+
end
|
264
|
+
|
167
265
|
# @note When making an API call, you may pass CancelJobRequest
|
168
266
|
# data as a hash:
|
169
267
|
#
|
@@ -323,6 +421,86 @@ module Aws::DataExchange
|
|
323
421
|
include Aws::Structure
|
324
422
|
end
|
325
423
|
|
424
|
+
# A request to create an event action.
|
425
|
+
#
|
426
|
+
# @note When making an API call, you may pass CreateEventActionRequest
|
427
|
+
# data as a hash:
|
428
|
+
#
|
429
|
+
# {
|
430
|
+
# action: { # required
|
431
|
+
# export_revision_to_s3: {
|
432
|
+
# encryption: {
|
433
|
+
# kms_key_arn: "__string",
|
434
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
435
|
+
# },
|
436
|
+
# revision_destination: { # required
|
437
|
+
# bucket: "__string", # required
|
438
|
+
# key_pattern: "__string",
|
439
|
+
# },
|
440
|
+
# },
|
441
|
+
# },
|
442
|
+
# event: { # required
|
443
|
+
# revision_published: {
|
444
|
+
# data_set_id: "Id", # required
|
445
|
+
# },
|
446
|
+
# },
|
447
|
+
# }
|
448
|
+
#
|
449
|
+
# @!attribute [rw] action
|
450
|
+
# What occurs after a certain event.
|
451
|
+
# @return [Types::Action]
|
452
|
+
#
|
453
|
+
# @!attribute [rw] event
|
454
|
+
# What occurs to start an action.
|
455
|
+
# @return [Types::Event]
|
456
|
+
#
|
457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventActionRequest AWS API Documentation
|
458
|
+
#
|
459
|
+
class CreateEventActionRequest < Struct.new(
|
460
|
+
:action,
|
461
|
+
:event)
|
462
|
+
SENSITIVE = []
|
463
|
+
include Aws::Structure
|
464
|
+
end
|
465
|
+
|
466
|
+
# @!attribute [rw] action
|
467
|
+
# @return [Types::Action]
|
468
|
+
#
|
469
|
+
# @!attribute [rw] arn
|
470
|
+
# An Amazon Resource Name (ARN) that uniquely identifies an AWS
|
471
|
+
# resource.
|
472
|
+
# @return [String]
|
473
|
+
#
|
474
|
+
# @!attribute [rw] created_at
|
475
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
476
|
+
# format.
|
477
|
+
# @return [Time]
|
478
|
+
#
|
479
|
+
# @!attribute [rw] event
|
480
|
+
# @return [Types::Event]
|
481
|
+
#
|
482
|
+
# @!attribute [rw] id
|
483
|
+
# A unique identifier.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @!attribute [rw] updated_at
|
487
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
488
|
+
# format.
|
489
|
+
# @return [Time]
|
490
|
+
#
|
491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventActionResponse AWS API Documentation
|
492
|
+
#
|
493
|
+
class CreateEventActionResponse < Struct.new(
|
494
|
+
:action,
|
495
|
+
:arn,
|
496
|
+
:created_at,
|
497
|
+
:event,
|
498
|
+
:id,
|
499
|
+
:updated_at)
|
500
|
+
SENSITIVE = []
|
501
|
+
include Aws::Structure
|
502
|
+
end
|
503
|
+
|
326
504
|
# The CreateJob request. AWS Data Exchange Jobs are asynchronous import
|
327
505
|
# or export operations used to create or copy assets. A data set owner
|
328
506
|
# can both import and export assets. A subscriber with an entitlement to
|
@@ -656,6 +834,24 @@ module Aws::DataExchange
|
|
656
834
|
include Aws::Structure
|
657
835
|
end
|
658
836
|
|
837
|
+
# @note When making an API call, you may pass DeleteEventActionRequest
|
838
|
+
# data as a hash:
|
839
|
+
#
|
840
|
+
# {
|
841
|
+
# event_action_id: "__string", # required
|
842
|
+
# }
|
843
|
+
#
|
844
|
+
# @!attribute [rw] event_action_id
|
845
|
+
# @return [String]
|
846
|
+
#
|
847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteEventActionRequest AWS API Documentation
|
848
|
+
#
|
849
|
+
class DeleteEventActionRequest < Struct.new(
|
850
|
+
:event_action_id)
|
851
|
+
SENSITIVE = []
|
852
|
+
include Aws::Structure
|
853
|
+
end
|
854
|
+
|
659
855
|
# @note When making an API call, you may pass DeleteRevisionRequest
|
660
856
|
# data as a hash:
|
661
857
|
#
|
@@ -695,6 +891,69 @@ module Aws::DataExchange
|
|
695
891
|
include Aws::Structure
|
696
892
|
end
|
697
893
|
|
894
|
+
# @note When making an API call, you may pass Event
|
895
|
+
# data as a hash:
|
896
|
+
#
|
897
|
+
# {
|
898
|
+
# revision_published: {
|
899
|
+
# data_set_id: "Id", # required
|
900
|
+
# },
|
901
|
+
# }
|
902
|
+
#
|
903
|
+
# @!attribute [rw] revision_published
|
904
|
+
# @return [Types::RevisionPublished]
|
905
|
+
#
|
906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Event AWS API Documentation
|
907
|
+
#
|
908
|
+
class Event < Struct.new(
|
909
|
+
:revision_published)
|
910
|
+
SENSITIVE = []
|
911
|
+
include Aws::Structure
|
912
|
+
end
|
913
|
+
|
914
|
+
# An event action is an object that defines the relationship between a
|
915
|
+
# specific event and an automated action that will be taken on behalf of
|
916
|
+
# the customer.
|
917
|
+
#
|
918
|
+
# @!attribute [rw] action
|
919
|
+
# What occurs after a certain event.
|
920
|
+
# @return [Types::Action]
|
921
|
+
#
|
922
|
+
# @!attribute [rw] arn
|
923
|
+
# The ARN for the event action.
|
924
|
+
# @return [String]
|
925
|
+
#
|
926
|
+
# @!attribute [rw] created_at
|
927
|
+
# The date and time that the event action was created, in ISO 8601
|
928
|
+
# format.
|
929
|
+
# @return [Time]
|
930
|
+
#
|
931
|
+
# @!attribute [rw] event
|
932
|
+
# What occurs to start an action.
|
933
|
+
# @return [Types::Event]
|
934
|
+
#
|
935
|
+
# @!attribute [rw] id
|
936
|
+
# The unique identifier for the event action.
|
937
|
+
# @return [String]
|
938
|
+
#
|
939
|
+
# @!attribute [rw] updated_at
|
940
|
+
# The date and time that the event action was last updated, in ISO
|
941
|
+
# 8601 format.
|
942
|
+
# @return [Time]
|
943
|
+
#
|
944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/EventActionEntry AWS API Documentation
|
945
|
+
#
|
946
|
+
class EventActionEntry < Struct.new(
|
947
|
+
:action,
|
948
|
+
:arn,
|
949
|
+
:created_at,
|
950
|
+
:event,
|
951
|
+
:id,
|
952
|
+
:updated_at)
|
953
|
+
SENSITIVE = []
|
954
|
+
include Aws::Structure
|
955
|
+
end
|
956
|
+
|
698
957
|
# Details of the operation to be performed by the job.
|
699
958
|
#
|
700
959
|
# @note When making an API call, you may pass ExportAssetToSignedUrlRequestDetails
|
@@ -902,6 +1161,10 @@ module Aws::DataExchange
|
|
902
1161
|
# Encryption configuration of the export job.
|
903
1162
|
# @return [Types::ExportServerSideEncryption]
|
904
1163
|
#
|
1164
|
+
# @!attribute [rw] event_action_arn
|
1165
|
+
# The ARN for the event action.
|
1166
|
+
# @return [String]
|
1167
|
+
#
|
905
1168
|
# @!attribute [rw] revision_destinations
|
906
1169
|
# The destination in Amazon S3 where the revision is exported.
|
907
1170
|
# @return [Array<Types::RevisionDestinationEntry>]
|
@@ -911,14 +1174,15 @@ module Aws::DataExchange
|
|
911
1174
|
class ExportRevisionsToS3ResponseDetails < Struct.new(
|
912
1175
|
:data_set_id,
|
913
1176
|
:encryption,
|
1177
|
+
:event_action_arn,
|
914
1178
|
:revision_destinations)
|
915
1179
|
SENSITIVE = []
|
916
1180
|
include Aws::Structure
|
917
1181
|
end
|
918
1182
|
|
919
1183
|
# Encryption configuration of the export job. Includes the encryption
|
920
|
-
# type
|
921
|
-
# chose the KMS encryption type.
|
1184
|
+
# type in addition to the AWS KMS key. The KMS key is only necessary if
|
1185
|
+
# you chose the KMS encryption. type.
|
922
1186
|
#
|
923
1187
|
# @note When making an API call, you may pass ExportServerSideEncryption
|
924
1188
|
# data as a hash:
|
@@ -929,9 +1193,9 @@ module Aws::DataExchange
|
|
929
1193
|
# }
|
930
1194
|
#
|
931
1195
|
# @!attribute [rw] kms_key_arn
|
932
|
-
# The Amazon Resource Name (ARN) of the
|
933
|
-
#
|
934
|
-
#
|
1196
|
+
# The Amazon Resource Name (ARN) of the AWS KMS key you want to use to
|
1197
|
+
# encrypt the Amazon S3 objects. This parameter is required if you
|
1198
|
+
# choose aws:kms as an encryption type.
|
935
1199
|
# @return [String]
|
936
1200
|
#
|
937
1201
|
# @!attribute [rw] type
|
@@ -1124,6 +1388,62 @@ module Aws::DataExchange
|
|
1124
1388
|
include Aws::Structure
|
1125
1389
|
end
|
1126
1390
|
|
1391
|
+
# @note When making an API call, you may pass GetEventActionRequest
|
1392
|
+
# data as a hash:
|
1393
|
+
#
|
1394
|
+
# {
|
1395
|
+
# event_action_id: "__string", # required
|
1396
|
+
# }
|
1397
|
+
#
|
1398
|
+
# @!attribute [rw] event_action_id
|
1399
|
+
# @return [String]
|
1400
|
+
#
|
1401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventActionRequest AWS API Documentation
|
1402
|
+
#
|
1403
|
+
class GetEventActionRequest < Struct.new(
|
1404
|
+
:event_action_id)
|
1405
|
+
SENSITIVE = []
|
1406
|
+
include Aws::Structure
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
# @!attribute [rw] action
|
1410
|
+
# @return [Types::Action]
|
1411
|
+
#
|
1412
|
+
# @!attribute [rw] arn
|
1413
|
+
# An Amazon Resource Name (ARN) that uniquely identifies an AWS
|
1414
|
+
# resource.
|
1415
|
+
# @return [String]
|
1416
|
+
#
|
1417
|
+
# @!attribute [rw] created_at
|
1418
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
1419
|
+
# format.
|
1420
|
+
# @return [Time]
|
1421
|
+
#
|
1422
|
+
# @!attribute [rw] event
|
1423
|
+
# @return [Types::Event]
|
1424
|
+
#
|
1425
|
+
# @!attribute [rw] id
|
1426
|
+
# A unique identifier.
|
1427
|
+
# @return [String]
|
1428
|
+
#
|
1429
|
+
# @!attribute [rw] updated_at
|
1430
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
1431
|
+
# format.
|
1432
|
+
# @return [Time]
|
1433
|
+
#
|
1434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventActionResponse AWS API Documentation
|
1435
|
+
#
|
1436
|
+
class GetEventActionResponse < Struct.new(
|
1437
|
+
:action,
|
1438
|
+
:arn,
|
1439
|
+
:created_at,
|
1440
|
+
:event,
|
1441
|
+
:id,
|
1442
|
+
:updated_at)
|
1443
|
+
SENSITIVE = []
|
1444
|
+
include Aws::Structure
|
1445
|
+
end
|
1446
|
+
|
1127
1447
|
# @note When making an API call, you may pass GetJobRequest
|
1128
1448
|
# data as a hash:
|
1129
1449
|
#
|
@@ -1631,6 +1951,51 @@ module Aws::DataExchange
|
|
1631
1951
|
include Aws::Structure
|
1632
1952
|
end
|
1633
1953
|
|
1954
|
+
# @note When making an API call, you may pass ListEventActionsRequest
|
1955
|
+
# data as a hash:
|
1956
|
+
#
|
1957
|
+
# {
|
1958
|
+
# event_source_id: "__string",
|
1959
|
+
# max_results: 1,
|
1960
|
+
# next_token: "__string",
|
1961
|
+
# }
|
1962
|
+
#
|
1963
|
+
# @!attribute [rw] event_source_id
|
1964
|
+
# @return [String]
|
1965
|
+
#
|
1966
|
+
# @!attribute [rw] max_results
|
1967
|
+
# @return [Integer]
|
1968
|
+
#
|
1969
|
+
# @!attribute [rw] next_token
|
1970
|
+
# @return [String]
|
1971
|
+
#
|
1972
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActionsRequest AWS API Documentation
|
1973
|
+
#
|
1974
|
+
class ListEventActionsRequest < Struct.new(
|
1975
|
+
:event_source_id,
|
1976
|
+
:max_results,
|
1977
|
+
:next_token)
|
1978
|
+
SENSITIVE = []
|
1979
|
+
include Aws::Structure
|
1980
|
+
end
|
1981
|
+
|
1982
|
+
# @!attribute [rw] event_actions
|
1983
|
+
# @return [Array<Types::EventActionEntry>]
|
1984
|
+
#
|
1985
|
+
# @!attribute [rw] next_token
|
1986
|
+
# The token value retrieved from a previous call to access the next
|
1987
|
+
# page of results.
|
1988
|
+
# @return [String]
|
1989
|
+
#
|
1990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActionsResponse AWS API Documentation
|
1991
|
+
#
|
1992
|
+
class ListEventActionsResponse < Struct.new(
|
1993
|
+
:event_actions,
|
1994
|
+
:next_token)
|
1995
|
+
SENSITIVE = []
|
1996
|
+
include Aws::Structure
|
1997
|
+
end
|
1998
|
+
|
1634
1999
|
# @note When making an API call, you may pass ListJobsRequest
|
1635
2000
|
# data as a hash:
|
1636
2001
|
#
|
@@ -2021,6 +2386,25 @@ module Aws::DataExchange
|
|
2021
2386
|
include Aws::Structure
|
2022
2387
|
end
|
2023
2388
|
|
2389
|
+
# @note When making an API call, you may pass RevisionPublished
|
2390
|
+
# data as a hash:
|
2391
|
+
#
|
2392
|
+
# {
|
2393
|
+
# data_set_id: "Id", # required
|
2394
|
+
# }
|
2395
|
+
#
|
2396
|
+
# @!attribute [rw] data_set_id
|
2397
|
+
# A unique identifier.
|
2398
|
+
# @return [String]
|
2399
|
+
#
|
2400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevisionPublished AWS API Documentation
|
2401
|
+
#
|
2402
|
+
class RevisionPublished < Struct.new(
|
2403
|
+
:data_set_id)
|
2404
|
+
SENSITIVE = []
|
2405
|
+
include Aws::Structure
|
2406
|
+
end
|
2407
|
+
|
2024
2408
|
# The S3 object that is the asset.
|
2025
2409
|
#
|
2026
2410
|
# @!attribute [rw] size
|
@@ -2336,6 +2720,81 @@ module Aws::DataExchange
|
|
2336
2720
|
include Aws::Structure
|
2337
2721
|
end
|
2338
2722
|
|
2723
|
+
# The request to update an event action.
|
2724
|
+
#
|
2725
|
+
# @note When making an API call, you may pass UpdateEventActionRequest
|
2726
|
+
# data as a hash:
|
2727
|
+
#
|
2728
|
+
# {
|
2729
|
+
# action: {
|
2730
|
+
# export_revision_to_s3: {
|
2731
|
+
# encryption: {
|
2732
|
+
# kms_key_arn: "__string",
|
2733
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
2734
|
+
# },
|
2735
|
+
# revision_destination: { # required
|
2736
|
+
# bucket: "__string", # required
|
2737
|
+
# key_pattern: "__string",
|
2738
|
+
# },
|
2739
|
+
# },
|
2740
|
+
# },
|
2741
|
+
# event_action_id: "__string", # required
|
2742
|
+
# }
|
2743
|
+
#
|
2744
|
+
# @!attribute [rw] action
|
2745
|
+
# What occurs after a certain event.
|
2746
|
+
# @return [Types::Action]
|
2747
|
+
#
|
2748
|
+
# @!attribute [rw] event_action_id
|
2749
|
+
# @return [String]
|
2750
|
+
#
|
2751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventActionRequest AWS API Documentation
|
2752
|
+
#
|
2753
|
+
class UpdateEventActionRequest < Struct.new(
|
2754
|
+
:action,
|
2755
|
+
:event_action_id)
|
2756
|
+
SENSITIVE = []
|
2757
|
+
include Aws::Structure
|
2758
|
+
end
|
2759
|
+
|
2760
|
+
# @!attribute [rw] action
|
2761
|
+
# @return [Types::Action]
|
2762
|
+
#
|
2763
|
+
# @!attribute [rw] arn
|
2764
|
+
# An Amazon Resource Name (ARN) that uniquely identifies an AWS
|
2765
|
+
# resource.
|
2766
|
+
# @return [String]
|
2767
|
+
#
|
2768
|
+
# @!attribute [rw] created_at
|
2769
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
2770
|
+
# format.
|
2771
|
+
# @return [Time]
|
2772
|
+
#
|
2773
|
+
# @!attribute [rw] event
|
2774
|
+
# @return [Types::Event]
|
2775
|
+
#
|
2776
|
+
# @!attribute [rw] id
|
2777
|
+
# A unique identifier.
|
2778
|
+
# @return [String]
|
2779
|
+
#
|
2780
|
+
# @!attribute [rw] updated_at
|
2781
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
2782
|
+
# format.
|
2783
|
+
# @return [Time]
|
2784
|
+
#
|
2785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventActionResponse AWS API Documentation
|
2786
|
+
#
|
2787
|
+
class UpdateEventActionResponse < Struct.new(
|
2788
|
+
:action,
|
2789
|
+
:arn,
|
2790
|
+
:created_at,
|
2791
|
+
:event,
|
2792
|
+
:id,
|
2793
|
+
:updated_at)
|
2794
|
+
SENSITIVE = []
|
2795
|
+
include Aws::Structure
|
2796
|
+
end
|
2797
|
+
|
2339
2798
|
# The request to update a revision.
|
2340
2799
|
#
|
2341
2800
|
# @note When making an API call, you may pass UpdateRevisionRequest
|
@@ -2430,10 +2889,15 @@ module Aws::DataExchange
|
|
2430
2889
|
# request.
|
2431
2890
|
# @return [String]
|
2432
2891
|
#
|
2892
|
+
# @!attribute [rw] exception_cause
|
2893
|
+
# The message that informs you about what the exception was.
|
2894
|
+
# @return [String]
|
2895
|
+
#
|
2433
2896
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ValidationException AWS API Documentation
|
2434
2897
|
#
|
2435
2898
|
class ValidationException < Struct.new(
|
2436
|
-
:message
|
2899
|
+
:message,
|
2900
|
+
:exception_cause)
|
2437
2901
|
SENSITIVE = []
|
2438
2902
|
include Aws::Structure
|
2439
2903
|
end
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dataexchange
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.121.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|