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
@@ -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"
|