aws-sdk-dataexchange 1.45.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,696 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module DataExchange
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#cancel_job-instance_method
76
+ def cancel_job: (
77
+ job_id: ::String
78
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
79
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
80
+
81
+ interface _CreateDataSetResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataSetResponse]
83
+ def arn: () -> ::String
84
+ def asset_type: () -> ("S3_SNAPSHOT" | "REDSHIFT_DATA_SHARE" | "API_GATEWAY_API" | "S3_DATA_ACCESS" | "LAKE_FORMATION_DATA_PERMISSION")
85
+ def created_at: () -> ::Time
86
+ def description: () -> ::String
87
+ def id: () -> ::String
88
+ def name: () -> ::String
89
+ def origin: () -> ("OWNED" | "ENTITLED")
90
+ def origin_details: () -> Types::OriginDetails
91
+ def source_id: () -> ::String
92
+ def tags: () -> ::Hash[::String, ::String]
93
+ def updated_at: () -> ::Time
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#create_data_set-instance_method
96
+ def create_data_set: (
97
+ asset_type: ("S3_SNAPSHOT" | "REDSHIFT_DATA_SHARE" | "API_GATEWAY_API" | "S3_DATA_ACCESS" | "LAKE_FORMATION_DATA_PERMISSION"),
98
+ description: ::String,
99
+ name: ::String,
100
+ ?tags: Hash[::String, ::String]
101
+ ) -> _CreateDataSetResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSetResponseSuccess
103
+
104
+ interface _CreateEventActionResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventActionResponse]
106
+ def action: () -> Types::Action
107
+ def arn: () -> ::String
108
+ def created_at: () -> ::Time
109
+ def event: () -> Types::Event
110
+ def id: () -> ::String
111
+ def updated_at: () -> ::Time
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#create_event_action-instance_method
114
+ def create_event_action: (
115
+ action: {
116
+ export_revision_to_s3: {
117
+ encryption: {
118
+ kms_key_arn: ::String?,
119
+ type: ("aws:kms" | "AES256")
120
+ }?,
121
+ revision_destination: {
122
+ bucket: ::String,
123
+ key_pattern: ::String?
124
+ }
125
+ }?
126
+ },
127
+ event: {
128
+ revision_published: {
129
+ data_set_id: ::String
130
+ }?
131
+ }
132
+ ) -> _CreateEventActionResponseSuccess
133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventActionResponseSuccess
134
+
135
+ interface _CreateJobResponseSuccess
136
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateJobResponse]
137
+ def arn: () -> ::String
138
+ def created_at: () -> ::Time
139
+ def details: () -> Types::ResponseDetails
140
+ def errors: () -> ::Array[Types::JobError]
141
+ def id: () -> ::String
142
+ def state: () -> ("WAITING" | "IN_PROGRESS" | "ERROR" | "COMPLETED" | "CANCELLED" | "TIMED_OUT")
143
+ def type: () -> ("IMPORT_ASSETS_FROM_S3" | "IMPORT_ASSET_FROM_SIGNED_URL" | "EXPORT_ASSETS_TO_S3" | "EXPORT_ASSET_TO_SIGNED_URL" | "EXPORT_REVISIONS_TO_S3" | "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES" | "IMPORT_ASSET_FROM_API_GATEWAY_API" | "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET" | "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY")
144
+ def updated_at: () -> ::Time
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#create_job-instance_method
147
+ def create_job: (
148
+ details: {
149
+ export_asset_to_signed_url: {
150
+ asset_id: ::String,
151
+ data_set_id: ::String,
152
+ revision_id: ::String
153
+ }?,
154
+ export_assets_to_s3: {
155
+ asset_destinations: Array[
156
+ {
157
+ asset_id: ::String,
158
+ bucket: ::String,
159
+ key: ::String?
160
+ },
161
+ ],
162
+ data_set_id: ::String,
163
+ encryption: {
164
+ kms_key_arn: ::String?,
165
+ type: ("aws:kms" | "AES256")
166
+ }?,
167
+ revision_id: ::String
168
+ }?,
169
+ export_revisions_to_s3: {
170
+ data_set_id: ::String,
171
+ encryption: {
172
+ kms_key_arn: ::String?,
173
+ type: ("aws:kms" | "AES256")
174
+ }?,
175
+ revision_destinations: Array[
176
+ {
177
+ bucket: ::String,
178
+ key_pattern: ::String?,
179
+ revision_id: ::String
180
+ },
181
+ ]
182
+ }?,
183
+ import_asset_from_signed_url: {
184
+ asset_name: ::String,
185
+ data_set_id: ::String,
186
+ md_5_hash: ::String,
187
+ revision_id: ::String
188
+ }?,
189
+ import_assets_from_s3: {
190
+ asset_sources: Array[
191
+ {
192
+ bucket: ::String,
193
+ key: ::String
194
+ },
195
+ ],
196
+ data_set_id: ::String,
197
+ revision_id: ::String
198
+ }?,
199
+ import_assets_from_redshift_data_shares: {
200
+ asset_sources: Array[
201
+ {
202
+ data_share_arn: ::String
203
+ },
204
+ ],
205
+ data_set_id: ::String,
206
+ revision_id: ::String
207
+ }?,
208
+ import_asset_from_api_gateway_api: {
209
+ api_description: ::String?,
210
+ api_id: ::String,
211
+ api_key: ::String?,
212
+ api_name: ::String,
213
+ api_specification_md_5_hash: ::String,
214
+ data_set_id: ::String,
215
+ protocol_type: ("REST"),
216
+ revision_id: ::String,
217
+ stage: ::String
218
+ }?,
219
+ create_s3_data_access_from_s3_bucket: {
220
+ asset_source: {
221
+ bucket: ::String,
222
+ key_prefixes: Array[::String]?,
223
+ keys: Array[::String]?,
224
+ kms_keys_to_grant: Array[
225
+ {
226
+ kms_key_arn: ::String
227
+ },
228
+ ]?
229
+ },
230
+ data_set_id: ::String,
231
+ revision_id: ::String
232
+ }?,
233
+ import_assets_from_lake_formation_tag_policy: {
234
+ catalog_id: ::String,
235
+ database: {
236
+ expression: Array[
237
+ {
238
+ tag_key: ::String,
239
+ tag_values: Array[::String]
240
+ },
241
+ ],
242
+ permissions: Array[("DESCRIBE")]
243
+ }?,
244
+ table: {
245
+ expression: Array[
246
+ {
247
+ tag_key: ::String,
248
+ tag_values: Array[::String]
249
+ },
250
+ ],
251
+ permissions: Array[("DESCRIBE" | "SELECT")]
252
+ }?,
253
+ role_arn: ::String,
254
+ data_set_id: ::String,
255
+ revision_id: ::String
256
+ }?
257
+ },
258
+ type: ("IMPORT_ASSETS_FROM_S3" | "IMPORT_ASSET_FROM_SIGNED_URL" | "EXPORT_ASSETS_TO_S3" | "EXPORT_ASSET_TO_SIGNED_URL" | "EXPORT_REVISIONS_TO_S3" | "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES" | "IMPORT_ASSET_FROM_API_GATEWAY_API" | "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET" | "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY")
259
+ ) -> _CreateJobResponseSuccess
260
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateJobResponseSuccess
261
+
262
+ interface _CreateRevisionResponseSuccess
263
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRevisionResponse]
264
+ def arn: () -> ::String
265
+ def comment: () -> ::String
266
+ def created_at: () -> ::Time
267
+ def data_set_id: () -> ::String
268
+ def finalized: () -> bool
269
+ def id: () -> ::String
270
+ def source_id: () -> ::String
271
+ def tags: () -> ::Hash[::String, ::String]
272
+ def updated_at: () -> ::Time
273
+ def revocation_comment: () -> ::String
274
+ def revoked: () -> bool
275
+ def revoked_at: () -> ::Time
276
+ end
277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#create_revision-instance_method
278
+ def create_revision: (
279
+ ?comment: ::String,
280
+ data_set_id: ::String,
281
+ ?tags: Hash[::String, ::String]
282
+ ) -> _CreateRevisionResponseSuccess
283
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRevisionResponseSuccess
284
+
285
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#delete_asset-instance_method
286
+ def delete_asset: (
287
+ asset_id: ::String,
288
+ data_set_id: ::String,
289
+ revision_id: ::String
290
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
291
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
292
+
293
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#delete_data_set-instance_method
294
+ def delete_data_set: (
295
+ data_set_id: ::String
296
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
297
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
298
+
299
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#delete_event_action-instance_method
300
+ def delete_event_action: (
301
+ event_action_id: ::String
302
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
303
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
304
+
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#delete_revision-instance_method
306
+ def delete_revision: (
307
+ data_set_id: ::String,
308
+ revision_id: ::String
309
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
310
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
311
+
312
+ interface _GetAssetResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssetResponse]
314
+ def arn: () -> ::String
315
+ def asset_details: () -> Types::AssetDetails
316
+ def asset_type: () -> ("S3_SNAPSHOT" | "REDSHIFT_DATA_SHARE" | "API_GATEWAY_API" | "S3_DATA_ACCESS" | "LAKE_FORMATION_DATA_PERMISSION")
317
+ def created_at: () -> ::Time
318
+ def data_set_id: () -> ::String
319
+ def id: () -> ::String
320
+ def name: () -> ::String
321
+ def revision_id: () -> ::String
322
+ def source_id: () -> ::String
323
+ def updated_at: () -> ::Time
324
+ end
325
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#get_asset-instance_method
326
+ def get_asset: (
327
+ asset_id: ::String,
328
+ data_set_id: ::String,
329
+ revision_id: ::String
330
+ ) -> _GetAssetResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssetResponseSuccess
332
+
333
+ interface _GetDataSetResponseSuccess
334
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataSetResponse]
335
+ def arn: () -> ::String
336
+ def asset_type: () -> ("S3_SNAPSHOT" | "REDSHIFT_DATA_SHARE" | "API_GATEWAY_API" | "S3_DATA_ACCESS" | "LAKE_FORMATION_DATA_PERMISSION")
337
+ def created_at: () -> ::Time
338
+ def description: () -> ::String
339
+ def id: () -> ::String
340
+ def name: () -> ::String
341
+ def origin: () -> ("OWNED" | "ENTITLED")
342
+ def origin_details: () -> Types::OriginDetails
343
+ def source_id: () -> ::String
344
+ def tags: () -> ::Hash[::String, ::String]
345
+ def updated_at: () -> ::Time
346
+ end
347
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#get_data_set-instance_method
348
+ def get_data_set: (
349
+ data_set_id: ::String
350
+ ) -> _GetDataSetResponseSuccess
351
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataSetResponseSuccess
352
+
353
+ interface _GetEventActionResponseSuccess
354
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventActionResponse]
355
+ def action: () -> Types::Action
356
+ def arn: () -> ::String
357
+ def created_at: () -> ::Time
358
+ def event: () -> Types::Event
359
+ def id: () -> ::String
360
+ def updated_at: () -> ::Time
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#get_event_action-instance_method
363
+ def get_event_action: (
364
+ event_action_id: ::String
365
+ ) -> _GetEventActionResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventActionResponseSuccess
367
+
368
+ interface _GetJobResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobResponse]
370
+ def arn: () -> ::String
371
+ def created_at: () -> ::Time
372
+ def details: () -> Types::ResponseDetails
373
+ def errors: () -> ::Array[Types::JobError]
374
+ def id: () -> ::String
375
+ def state: () -> ("WAITING" | "IN_PROGRESS" | "ERROR" | "COMPLETED" | "CANCELLED" | "TIMED_OUT")
376
+ def type: () -> ("IMPORT_ASSETS_FROM_S3" | "IMPORT_ASSET_FROM_SIGNED_URL" | "EXPORT_ASSETS_TO_S3" | "EXPORT_ASSET_TO_SIGNED_URL" | "EXPORT_REVISIONS_TO_S3" | "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES" | "IMPORT_ASSET_FROM_API_GATEWAY_API" | "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET" | "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY")
377
+ def updated_at: () -> ::Time
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#get_job-instance_method
380
+ def get_job: (
381
+ job_id: ::String
382
+ ) -> _GetJobResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobResponseSuccess
384
+
385
+ interface _GetRevisionResponseSuccess
386
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRevisionResponse]
387
+ def arn: () -> ::String
388
+ def comment: () -> ::String
389
+ def created_at: () -> ::Time
390
+ def data_set_id: () -> ::String
391
+ def finalized: () -> bool
392
+ def id: () -> ::String
393
+ def source_id: () -> ::String
394
+ def tags: () -> ::Hash[::String, ::String]
395
+ def updated_at: () -> ::Time
396
+ def revocation_comment: () -> ::String
397
+ def revoked: () -> bool
398
+ def revoked_at: () -> ::Time
399
+ end
400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#get_revision-instance_method
401
+ def get_revision: (
402
+ data_set_id: ::String,
403
+ revision_id: ::String
404
+ ) -> _GetRevisionResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRevisionResponseSuccess
406
+
407
+ interface _ListDataSetRevisionsResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataSetRevisionsResponse]
409
+ def next_token: () -> ::String
410
+ def revisions: () -> ::Array[Types::RevisionEntry]
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#list_data_set_revisions-instance_method
413
+ def list_data_set_revisions: (
414
+ data_set_id: ::String,
415
+ ?max_results: ::Integer,
416
+ ?next_token: ::String
417
+ ) -> _ListDataSetRevisionsResponseSuccess
418
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataSetRevisionsResponseSuccess
419
+
420
+ interface _ListDataSetsResponseSuccess
421
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataSetsResponse]
422
+ def data_sets: () -> ::Array[Types::DataSetEntry]
423
+ def next_token: () -> ::String
424
+ end
425
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#list_data_sets-instance_method
426
+ def list_data_sets: (
427
+ ?max_results: ::Integer,
428
+ ?next_token: ::String,
429
+ ?origin: ::String
430
+ ) -> _ListDataSetsResponseSuccess
431
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataSetsResponseSuccess
432
+
433
+ interface _ListEventActionsResponseSuccess
434
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEventActionsResponse]
435
+ def event_actions: () -> ::Array[Types::EventActionEntry]
436
+ def next_token: () -> ::String
437
+ end
438
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#list_event_actions-instance_method
439
+ def list_event_actions: (
440
+ ?event_source_id: ::String,
441
+ ?max_results: ::Integer,
442
+ ?next_token: ::String
443
+ ) -> _ListEventActionsResponseSuccess
444
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventActionsResponseSuccess
445
+
446
+ interface _ListJobsResponseSuccess
447
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJobsResponse]
448
+ def jobs: () -> ::Array[Types::JobEntry]
449
+ def next_token: () -> ::String
450
+ end
451
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#list_jobs-instance_method
452
+ def list_jobs: (
453
+ ?data_set_id: ::String,
454
+ ?max_results: ::Integer,
455
+ ?next_token: ::String,
456
+ ?revision_id: ::String
457
+ ) -> _ListJobsResponseSuccess
458
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobsResponseSuccess
459
+
460
+ interface _ListRevisionAssetsResponseSuccess
461
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRevisionAssetsResponse]
462
+ def assets: () -> ::Array[Types::AssetEntry]
463
+ def next_token: () -> ::String
464
+ end
465
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#list_revision_assets-instance_method
466
+ def list_revision_assets: (
467
+ data_set_id: ::String,
468
+ ?max_results: ::Integer,
469
+ ?next_token: ::String,
470
+ revision_id: ::String
471
+ ) -> _ListRevisionAssetsResponseSuccess
472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRevisionAssetsResponseSuccess
473
+
474
+ interface _ListTagsForResourceResponseSuccess
475
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
476
+ def tags: () -> ::Hash[::String, ::String]
477
+ end
478
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#list_tags_for_resource-instance_method
479
+ def list_tags_for_resource: (
480
+ resource_arn: ::String
481
+ ) -> _ListTagsForResourceResponseSuccess
482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
483
+
484
+ interface _RevokeRevisionResponseSuccess
485
+ include ::Seahorse::Client::_ResponseSuccess[Types::RevokeRevisionResponse]
486
+ def arn: () -> ::String
487
+ def comment: () -> ::String
488
+ def created_at: () -> ::Time
489
+ def data_set_id: () -> ::String
490
+ def finalized: () -> bool
491
+ def id: () -> ::String
492
+ def source_id: () -> ::String
493
+ def updated_at: () -> ::Time
494
+ def revocation_comment: () -> ::String
495
+ def revoked: () -> bool
496
+ def revoked_at: () -> ::Time
497
+ end
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#revoke_revision-instance_method
499
+ def revoke_revision: (
500
+ data_set_id: ::String,
501
+ revision_id: ::String,
502
+ revocation_comment: ::String
503
+ ) -> _RevokeRevisionResponseSuccess
504
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RevokeRevisionResponseSuccess
505
+
506
+ interface _SendApiAssetResponseSuccess
507
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendApiAssetResponse]
508
+ def body: () -> ::String
509
+ def response_headers: () -> ::Hash[::String, ::String]
510
+ end
511
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#send_api_asset-instance_method
512
+ def send_api_asset: (
513
+ ?body: ::String,
514
+ ?query_string_parameters: Hash[::String, ::String],
515
+ asset_id: ::String,
516
+ data_set_id: ::String,
517
+ ?request_headers: Hash[::String, ::String],
518
+ ?method: ::String,
519
+ ?path: ::String,
520
+ revision_id: ::String
521
+ ) -> _SendApiAssetResponseSuccess
522
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendApiAssetResponseSuccess
523
+
524
+ interface _SendDataSetNotificationResponseSuccess
525
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendDataSetNotificationResponse]
526
+ end
527
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#send_data_set_notification-instance_method
528
+ def send_data_set_notification: (
529
+ ?scope: {
530
+ lake_formation_tag_policies: Array[
531
+ {
532
+ database: ::String?,
533
+ table: ::String?
534
+ },
535
+ ]?,
536
+ redshift_data_shares: Array[
537
+ {
538
+ arn: ::String,
539
+ database: ::String,
540
+ function: ::String?,
541
+ table: ::String?,
542
+ schema: ::String?,
543
+ view: ::String?
544
+ },
545
+ ]?,
546
+ s3_data_accesses: Array[
547
+ {
548
+ key_prefixes: Array[::String]?,
549
+ keys: Array[::String]?
550
+ },
551
+ ]?
552
+ },
553
+ ?client_token: ::String,
554
+ ?comment: ::String,
555
+ data_set_id: ::String,
556
+ ?details: {
557
+ data_update: {
558
+ data_updated_at: ::Time?
559
+ }?,
560
+ deprecation: {
561
+ deprecation_at: ::Time
562
+ }?,
563
+ schema_change: {
564
+ changes: Array[
565
+ {
566
+ name: ::String,
567
+ type: ("ADD" | "REMOVE" | "MODIFY"),
568
+ description: ::String?
569
+ },
570
+ ]?,
571
+ schema_change_at: ::Time
572
+ }?
573
+ },
574
+ type: ("DATA_DELAY" | "DATA_UPDATE" | "DEPRECATION" | "SCHEMA_CHANGE")
575
+ ) -> _SendDataSetNotificationResponseSuccess
576
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendDataSetNotificationResponseSuccess
577
+
578
+ interface _StartJobResponseSuccess
579
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartJobResponse]
580
+ end
581
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#start_job-instance_method
582
+ def start_job: (
583
+ job_id: ::String
584
+ ) -> _StartJobResponseSuccess
585
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartJobResponseSuccess
586
+
587
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#tag_resource-instance_method
588
+ def tag_resource: (
589
+ resource_arn: ::String,
590
+ tags: Hash[::String, ::String]
591
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
592
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
593
+
594
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#untag_resource-instance_method
595
+ def untag_resource: (
596
+ resource_arn: ::String,
597
+ tag_keys: Array[::String]
598
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
599
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
600
+
601
+ interface _UpdateAssetResponseSuccess
602
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAssetResponse]
603
+ def arn: () -> ::String
604
+ def asset_details: () -> Types::AssetDetails
605
+ def asset_type: () -> ("S3_SNAPSHOT" | "REDSHIFT_DATA_SHARE" | "API_GATEWAY_API" | "S3_DATA_ACCESS" | "LAKE_FORMATION_DATA_PERMISSION")
606
+ def created_at: () -> ::Time
607
+ def data_set_id: () -> ::String
608
+ def id: () -> ::String
609
+ def name: () -> ::String
610
+ def revision_id: () -> ::String
611
+ def source_id: () -> ::String
612
+ def updated_at: () -> ::Time
613
+ end
614
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#update_asset-instance_method
615
+ def update_asset: (
616
+ asset_id: ::String,
617
+ data_set_id: ::String,
618
+ name: ::String,
619
+ revision_id: ::String
620
+ ) -> _UpdateAssetResponseSuccess
621
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAssetResponseSuccess
622
+
623
+ interface _UpdateDataSetResponseSuccess
624
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataSetResponse]
625
+ def arn: () -> ::String
626
+ def asset_type: () -> ("S3_SNAPSHOT" | "REDSHIFT_DATA_SHARE" | "API_GATEWAY_API" | "S3_DATA_ACCESS" | "LAKE_FORMATION_DATA_PERMISSION")
627
+ def created_at: () -> ::Time
628
+ def description: () -> ::String
629
+ def id: () -> ::String
630
+ def name: () -> ::String
631
+ def origin: () -> ("OWNED" | "ENTITLED")
632
+ def origin_details: () -> Types::OriginDetails
633
+ def source_id: () -> ::String
634
+ def updated_at: () -> ::Time
635
+ end
636
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#update_data_set-instance_method
637
+ def update_data_set: (
638
+ data_set_id: ::String,
639
+ ?description: ::String,
640
+ ?name: ::String
641
+ ) -> _UpdateDataSetResponseSuccess
642
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSetResponseSuccess
643
+
644
+ interface _UpdateEventActionResponseSuccess
645
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventActionResponse]
646
+ def action: () -> Types::Action
647
+ def arn: () -> ::String
648
+ def created_at: () -> ::Time
649
+ def event: () -> Types::Event
650
+ def id: () -> ::String
651
+ def updated_at: () -> ::Time
652
+ end
653
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#update_event_action-instance_method
654
+ def update_event_action: (
655
+ ?action: {
656
+ export_revision_to_s3: {
657
+ encryption: {
658
+ kms_key_arn: ::String?,
659
+ type: ("aws:kms" | "AES256")
660
+ }?,
661
+ revision_destination: {
662
+ bucket: ::String,
663
+ key_pattern: ::String?
664
+ }
665
+ }?
666
+ },
667
+ event_action_id: ::String
668
+ ) -> _UpdateEventActionResponseSuccess
669
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventActionResponseSuccess
670
+
671
+ interface _UpdateRevisionResponseSuccess
672
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRevisionResponse]
673
+ def arn: () -> ::String
674
+ def comment: () -> ::String
675
+ def created_at: () -> ::Time
676
+ def data_set_id: () -> ::String
677
+ def finalized: () -> bool
678
+ def id: () -> ::String
679
+ def source_id: () -> ::String
680
+ def updated_at: () -> ::Time
681
+ def revocation_comment: () -> ::String
682
+ def revoked: () -> bool
683
+ def revoked_at: () -> ::Time
684
+ end
685
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataExchange/Client.html#update_revision-instance_method
686
+ def update_revision: (
687
+ ?comment: ::String,
688
+ data_set_id: ::String,
689
+ ?finalized: bool,
690
+ revision_id: ::String
691
+ ) -> _UpdateRevisionResponseSuccess
692
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRevisionResponseSuccess
693
+ end
694
+ end
695
+ end
696
+