aws-sdk-dataexchange 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,156 @@
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/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::DataExchange
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::DataExchange::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class ConflictException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::DataExchange::Types::ConflictException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ # @return [String]
44
+ def resource_id
45
+ @data[:resource_id]
46
+ end
47
+
48
+ # @return [String]
49
+ def resource_type
50
+ @data[:resource_type]
51
+ end
52
+
53
+ end
54
+
55
+ class InternalServerException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::DataExchange::Types::InternalServerException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def message
66
+ @message || @data[:message]
67
+ end
68
+
69
+ end
70
+
71
+ class ResourceNotFoundException < ServiceError
72
+
73
+ # @param [Seahorse::Client::RequestContext] context
74
+ # @param [String] message
75
+ # @param [Aws::DataExchange::Types::ResourceNotFoundException] data
76
+ def initialize(context, message, data = Aws::EmptyStructure.new)
77
+ super(context, message, data)
78
+ end
79
+
80
+ # @return [String]
81
+ def message
82
+ @message || @data[:message]
83
+ end
84
+
85
+ # @return [String]
86
+ def resource_id
87
+ @data[:resource_id]
88
+ end
89
+
90
+ # @return [String]
91
+ def resource_type
92
+ @data[:resource_type]
93
+ end
94
+
95
+ end
96
+
97
+ class ServiceLimitExceededException < ServiceError
98
+
99
+ # @param [Seahorse::Client::RequestContext] context
100
+ # @param [String] message
101
+ # @param [Aws::DataExchange::Types::ServiceLimitExceededException] data
102
+ def initialize(context, message, data = Aws::EmptyStructure.new)
103
+ super(context, message, data)
104
+ end
105
+
106
+ # @return [String]
107
+ def limit_name
108
+ @data[:limit_name]
109
+ end
110
+
111
+ # @return [String]
112
+ def limit_value
113
+ @data[:limit_value]
114
+ end
115
+
116
+ # @return [String]
117
+ def message
118
+ @message || @data[:message]
119
+ end
120
+
121
+ end
122
+
123
+ class ThrottlingException < ServiceError
124
+
125
+ # @param [Seahorse::Client::RequestContext] context
126
+ # @param [String] message
127
+ # @param [Aws::DataExchange::Types::ThrottlingException] data
128
+ def initialize(context, message, data = Aws::EmptyStructure.new)
129
+ super(context, message, data)
130
+ end
131
+
132
+ # @return [String]
133
+ def message
134
+ @message || @data[:message]
135
+ end
136
+
137
+ end
138
+
139
+ class ValidationException < ServiceError
140
+
141
+ # @param [Seahorse::Client::RequestContext] context
142
+ # @param [String] message
143
+ # @param [Aws::DataExchange::Types::ValidationException] data
144
+ def initialize(context, message, data = Aws::EmptyStructure.new)
145
+ super(context, message, data)
146
+ end
147
+
148
+ # @return [String]
149
+ def message
150
+ @message || @data[:message]
151
+ end
152
+
153
+ end
154
+
155
+ end
156
+ end
@@ -0,0 +1,23 @@
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/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::DataExchange
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,2175 @@
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/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::DataExchange
9
+ module Types
10
+
11
+ # Access to the resource is denied.
12
+ #
13
+ # @!attribute [rw] message
14
+ # Access to the resource is denied.
15
+ # @return [String]
16
+ #
17
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AccessDeniedException AWS API Documentation
18
+ #
19
+ class AccessDeniedException < Struct.new(
20
+ :message)
21
+ include Aws::Structure
22
+ end
23
+
24
+ # The destination for the asset.
25
+ #
26
+ # @note When making an API call, you may pass AssetDestinationEntry
27
+ # data as a hash:
28
+ #
29
+ # {
30
+ # asset_id: "Id", # required
31
+ # bucket: "__string", # required
32
+ # key: "__string",
33
+ # }
34
+ #
35
+ # @!attribute [rw] asset_id
36
+ # The unique identifier for the asset.
37
+ # @return [String]
38
+ #
39
+ # @!attribute [rw] bucket
40
+ # The S3 bucket that is the destination for the asset.
41
+ # @return [String]
42
+ #
43
+ # @!attribute [rw] key
44
+ # The name of the object in Amazon S3 for the asset.
45
+ # @return [String]
46
+ #
47
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetDestinationEntry AWS API Documentation
48
+ #
49
+ class AssetDestinationEntry < Struct.new(
50
+ :asset_id,
51
+ :bucket,
52
+ :key)
53
+ include Aws::Structure
54
+ end
55
+
56
+ # @!attribute [rw] s3_snapshot_asset
57
+ # The S3 object that is the asset.
58
+ # @return [Types::S3SnapshotAsset]
59
+ #
60
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetDetails AWS API Documentation
61
+ #
62
+ class AssetDetails < Struct.new(
63
+ :s3_snapshot_asset)
64
+ include Aws::Structure
65
+ end
66
+
67
+ # An asset in AWS Data Exchange is a piece of data that can be stored as
68
+ # an S3 object. The asset can be a structured data file, an image file,
69
+ # or some other data file. When you create an import job for your files,
70
+ # you create an asset in AWS Data Exchange for each of those files.
71
+ #
72
+ # @!attribute [rw] arn
73
+ # The ARN for the asset.
74
+ # @return [String]
75
+ #
76
+ # @!attribute [rw] asset_details
77
+ # Information about the asset, including its size.
78
+ # @return [Types::AssetDetails]
79
+ #
80
+ # @!attribute [rw] asset_type
81
+ # The type of file your data is stored in. Currently, the supported
82
+ # asset type is S3\_SNAPSHOT.
83
+ # @return [String]
84
+ #
85
+ # @!attribute [rw] created_at
86
+ # The date and time that the asset was created, in ISO 8601 format.
87
+ # @return [Time]
88
+ #
89
+ # @!attribute [rw] data_set_id
90
+ # The unique identifier for the data set associated with this asset.
91
+ # @return [String]
92
+ #
93
+ # @!attribute [rw] id
94
+ # The unique identifier for the asset.
95
+ # @return [String]
96
+ #
97
+ # @!attribute [rw] name
98
+ # The name of the asset. When importing from Amazon S3, the S3 object
99
+ # key is used as the asset name. When exporting to Amazon S3, the
100
+ # asset name is used as default target S3 object key.
101
+ # @return [String]
102
+ #
103
+ # @!attribute [rw] revision_id
104
+ # The unique identifier for the revision associated with this asset.
105
+ # @return [String]
106
+ #
107
+ # @!attribute [rw] source_id
108
+ # The asset ID of the owned asset corresponding to the entitled asset
109
+ # being viewed. This parameter is returned when an asset owner is
110
+ # viewing the entitled copy of its owned asset.
111
+ # @return [String]
112
+ #
113
+ # @!attribute [rw] updated_at
114
+ # The date and time that the asset was last updated, in ISO 8601
115
+ # format.
116
+ # @return [Time]
117
+ #
118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetEntry AWS API Documentation
119
+ #
120
+ class AssetEntry < Struct.new(
121
+ :arn,
122
+ :asset_details,
123
+ :asset_type,
124
+ :created_at,
125
+ :data_set_id,
126
+ :id,
127
+ :name,
128
+ :revision_id,
129
+ :source_id,
130
+ :updated_at)
131
+ include Aws::Structure
132
+ end
133
+
134
+ # The source of the assets.
135
+ #
136
+ # @note When making an API call, you may pass AssetSourceEntry
137
+ # data as a hash:
138
+ #
139
+ # {
140
+ # bucket: "__string", # required
141
+ # key: "__string", # required
142
+ # }
143
+ #
144
+ # @!attribute [rw] bucket
145
+ # The S3 bucket that's part of the source of the asset.
146
+ # @return [String]
147
+ #
148
+ # @!attribute [rw] key
149
+ # The name of the object in Amazon S3 for the asset.
150
+ # @return [String]
151
+ #
152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetSourceEntry AWS API Documentation
153
+ #
154
+ class AssetSourceEntry < Struct.new(
155
+ :bucket,
156
+ :key)
157
+ include Aws::Structure
158
+ end
159
+
160
+ # @note When making an API call, you may pass CancelJobRequest
161
+ # data as a hash:
162
+ #
163
+ # {
164
+ # job_id: "__string", # required
165
+ # }
166
+ #
167
+ # @!attribute [rw] job_id
168
+ # @return [String]
169
+ #
170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CancelJobRequest AWS API Documentation
171
+ #
172
+ class CancelJobRequest < Struct.new(
173
+ :job_id)
174
+ include Aws::Structure
175
+ end
176
+
177
+ # The request couldn't be completed because it conflicted with the
178
+ # current state of the resource.
179
+ #
180
+ # @!attribute [rw] message
181
+ # The request couldn't be completed because it conflicted with the
182
+ # current state of the resource.
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] resource_id
186
+ # The unique identifier for the resource with the conflict.
187
+ # @return [String]
188
+ #
189
+ # @!attribute [rw] resource_type
190
+ # The type of the resource with the conflict.
191
+ # @return [String]
192
+ #
193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ConflictException AWS API Documentation
194
+ #
195
+ class ConflictException < Struct.new(
196
+ :message,
197
+ :resource_id,
198
+ :resource_type)
199
+ include Aws::Structure
200
+ end
201
+
202
+ # A request to create a data set that contains one or more revisions.
203
+ #
204
+ # @note When making an API call, you may pass CreateDataSetRequest
205
+ # data as a hash:
206
+ #
207
+ # {
208
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
209
+ # description: "Description", # required
210
+ # name: "Name", # required
211
+ # tags: {
212
+ # "__string" => "__string",
213
+ # },
214
+ # }
215
+ #
216
+ # @!attribute [rw] asset_type
217
+ # The type of file your data is stored in. Currently, the supported
218
+ # asset type is S3\_SNAPSHOT.
219
+ # @return [String]
220
+ #
221
+ # @!attribute [rw] description
222
+ # A description for the data set. This value can be up to 16,348
223
+ # characters long.
224
+ # @return [String]
225
+ #
226
+ # @!attribute [rw] name
227
+ # The name of the data set.
228
+ # @return [String]
229
+ #
230
+ # @!attribute [rw] tags
231
+ # A data set tag is an optional label that you can assign to a data
232
+ # set when you create it. Each tag consists of a key and an optional
233
+ # value, both of which you define. When you use tagging, you can also
234
+ # use tag-based access control in IAM policies to control access to
235
+ # these data sets and revisions.
236
+ # @return [Hash<String,String>]
237
+ #
238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataSetRequest AWS API Documentation
239
+ #
240
+ class CreateDataSetRequest < Struct.new(
241
+ :asset_type,
242
+ :description,
243
+ :name,
244
+ :tags)
245
+ include Aws::Structure
246
+ end
247
+
248
+ # @!attribute [rw] arn
249
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
250
+ # resource.
251
+ # @return [String]
252
+ #
253
+ # @!attribute [rw] asset_type
254
+ # The type of file your data is stored in. Currently, the supported
255
+ # asset type is S3\_SNAPSHOT.
256
+ # @return [String]
257
+ #
258
+ # @!attribute [rw] created_at
259
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
260
+ # format.
261
+ # @return [Time]
262
+ #
263
+ # @!attribute [rw] description
264
+ # A description of a resource.
265
+ # @return [String]
266
+ #
267
+ # @!attribute [rw] id
268
+ # A unique identifier.
269
+ # @return [String]
270
+ #
271
+ # @!attribute [rw] name
272
+ # The name of the model.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] origin
276
+ # A property that defines the data set as OWNED by the account (for
277
+ # providers) or ENTITLED to the account (for subscribers). When an
278
+ # owned data set is published in a product, AWS Data Exchange creates
279
+ # a copy of the data set. Subscribers can access that copy of the data
280
+ # set as an entitled data set.
281
+ # @return [String]
282
+ #
283
+ # @!attribute [rw] origin_details
284
+ # @return [Types::OriginDetails]
285
+ #
286
+ # @!attribute [rw] source_id
287
+ # A unique identifier.
288
+ # @return [String]
289
+ #
290
+ # @!attribute [rw] tags
291
+ # @return [Hash<String,String>]
292
+ #
293
+ # @!attribute [rw] updated_at
294
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
295
+ # format.
296
+ # @return [Time]
297
+ #
298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataSetResponse AWS API Documentation
299
+ #
300
+ class CreateDataSetResponse < Struct.new(
301
+ :arn,
302
+ :asset_type,
303
+ :created_at,
304
+ :description,
305
+ :id,
306
+ :name,
307
+ :origin,
308
+ :origin_details,
309
+ :source_id,
310
+ :tags,
311
+ :updated_at)
312
+ include Aws::Structure
313
+ end
314
+
315
+ # The CreateJob request. AWS Data Exchange Jobs are asynchronous import
316
+ # or export operations used to create or copy assets. A data set owner
317
+ # can both import and export as they see fit. Someone with an
318
+ # entitlement to a data set can only export. Jobs are deleted 90 days
319
+ # after they are created. Created jobs must be started with the StartJob
320
+ # operation.
321
+ #
322
+ # @note When making an API call, you may pass CreateJobRequest
323
+ # data as a hash:
324
+ #
325
+ # {
326
+ # details: { # required
327
+ # export_asset_to_signed_url: {
328
+ # asset_id: "Id", # required
329
+ # data_set_id: "Id", # required
330
+ # revision_id: "Id", # required
331
+ # },
332
+ # export_assets_to_s3: {
333
+ # asset_destinations: [ # required
334
+ # {
335
+ # asset_id: "Id", # required
336
+ # bucket: "__string", # required
337
+ # key: "__string",
338
+ # },
339
+ # ],
340
+ # data_set_id: "Id", # required
341
+ # revision_id: "Id", # required
342
+ # },
343
+ # import_asset_from_signed_url: {
344
+ # asset_name: "AssetName", # required
345
+ # data_set_id: "Id", # required
346
+ # md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
347
+ # revision_id: "Id", # required
348
+ # },
349
+ # import_assets_from_s3: {
350
+ # asset_sources: [ # required
351
+ # {
352
+ # bucket: "__string", # required
353
+ # key: "__string", # required
354
+ # },
355
+ # ],
356
+ # data_set_id: "Id", # required
357
+ # revision_id: "Id", # required
358
+ # },
359
+ # },
360
+ # type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL
361
+ # }
362
+ #
363
+ # @!attribute [rw] details
364
+ # The details for the CreateJob request.
365
+ # @return [Types::RequestDetails]
366
+ #
367
+ # @!attribute [rw] type
368
+ # The type of job to be created.
369
+ # @return [String]
370
+ #
371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJobRequest AWS API Documentation
372
+ #
373
+ class CreateJobRequest < Struct.new(
374
+ :details,
375
+ :type)
376
+ include Aws::Structure
377
+ end
378
+
379
+ # @!attribute [rw] arn
380
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
381
+ # resource.
382
+ # @return [String]
383
+ #
384
+ # @!attribute [rw] created_at
385
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
386
+ # format.
387
+ # @return [Time]
388
+ #
389
+ # @!attribute [rw] details
390
+ # Details for the response.
391
+ # @return [Types::ResponseDetails]
392
+ #
393
+ # @!attribute [rw] errors
394
+ # @return [Array<Types::JobError>]
395
+ #
396
+ # @!attribute [rw] id
397
+ # A unique identifier.
398
+ # @return [String]
399
+ #
400
+ # @!attribute [rw] state
401
+ # @return [String]
402
+ #
403
+ # @!attribute [rw] type
404
+ # @return [String]
405
+ #
406
+ # @!attribute [rw] updated_at
407
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
408
+ # format.
409
+ # @return [Time]
410
+ #
411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJobResponse AWS API Documentation
412
+ #
413
+ class CreateJobResponse < Struct.new(
414
+ :arn,
415
+ :created_at,
416
+ :details,
417
+ :errors,
418
+ :id,
419
+ :state,
420
+ :type,
421
+ :updated_at)
422
+ include Aws::Structure
423
+ end
424
+
425
+ # Creates a revision for a data set. When they're created, revisions
426
+ # are not published to products, and therefore are not available to
427
+ # subscribers. To publish a revision to a data set in a product, the
428
+ # revision must first be finalized.
429
+ #
430
+ # @note When making an API call, you may pass CreateRevisionRequest
431
+ # data as a hash:
432
+ #
433
+ # {
434
+ # comment: "__stringMin0Max16384",
435
+ # data_set_id: "__string", # required
436
+ # tags: {
437
+ # "__string" => "__string",
438
+ # },
439
+ # }
440
+ #
441
+ # @!attribute [rw] comment
442
+ # An optional comment about the revision.
443
+ # @return [String]
444
+ #
445
+ # @!attribute [rw] data_set_id
446
+ # @return [String]
447
+ #
448
+ # @!attribute [rw] tags
449
+ # A revision tag is an optional label that you can assign to a
450
+ # revision when you create it. Each tag consists of a key and an
451
+ # optional value, both of which you define. When you use tagging, you
452
+ # can also use tag-based access control in IAM policies to control
453
+ # access to these data sets and revisions.
454
+ # @return [Hash<String,String>]
455
+ #
456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevisionRequest AWS API Documentation
457
+ #
458
+ class CreateRevisionRequest < Struct.new(
459
+ :comment,
460
+ :data_set_id,
461
+ :tags)
462
+ include Aws::Structure
463
+ end
464
+
465
+ # @!attribute [rw] arn
466
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
467
+ # resource.
468
+ # @return [String]
469
+ #
470
+ # @!attribute [rw] comment
471
+ # @return [String]
472
+ #
473
+ # @!attribute [rw] created_at
474
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
475
+ # format.
476
+ # @return [Time]
477
+ #
478
+ # @!attribute [rw] data_set_id
479
+ # A unique identifier.
480
+ # @return [String]
481
+ #
482
+ # @!attribute [rw] finalized
483
+ # @return [Boolean]
484
+ #
485
+ # @!attribute [rw] id
486
+ # A unique identifier.
487
+ # @return [String]
488
+ #
489
+ # @!attribute [rw] source_id
490
+ # A unique identifier.
491
+ # @return [String]
492
+ #
493
+ # @!attribute [rw] tags
494
+ # @return [Hash<String,String>]
495
+ #
496
+ # @!attribute [rw] updated_at
497
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
498
+ # format.
499
+ # @return [Time]
500
+ #
501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevisionResponse AWS API Documentation
502
+ #
503
+ class CreateRevisionResponse < Struct.new(
504
+ :arn,
505
+ :comment,
506
+ :created_at,
507
+ :data_set_id,
508
+ :finalized,
509
+ :id,
510
+ :source_id,
511
+ :tags,
512
+ :updated_at)
513
+ include Aws::Structure
514
+ end
515
+
516
+ # A data set is an AWS resource with one or more revisions.
517
+ #
518
+ # @!attribute [rw] arn
519
+ # The ARN for the data set.
520
+ # @return [String]
521
+ #
522
+ # @!attribute [rw] asset_type
523
+ # The type of file your data is stored in. Currently, the supported
524
+ # asset type is S3\_SNAPSHOT.
525
+ # @return [String]
526
+ #
527
+ # @!attribute [rw] created_at
528
+ # The date and time that the data set was created, in ISO 8601 format.
529
+ # @return [Time]
530
+ #
531
+ # @!attribute [rw] description
532
+ # The description for the data set.
533
+ # @return [String]
534
+ #
535
+ # @!attribute [rw] id
536
+ # The unique identifier for the data set.
537
+ # @return [String]
538
+ #
539
+ # @!attribute [rw] name
540
+ # The name of the data set.
541
+ # @return [String]
542
+ #
543
+ # @!attribute [rw] origin
544
+ # A property that defines the data set as OWNED by the account (for
545
+ # providers) or ENTITLED to the account (for subscribers).
546
+ # @return [String]
547
+ #
548
+ # @!attribute [rw] origin_details
549
+ # If the origin of this data set is ENTITLED, includes the details for
550
+ # the product on AWS Marketplace.
551
+ # @return [Types::OriginDetails]
552
+ #
553
+ # @!attribute [rw] source_id
554
+ # The data set ID of the owned data set corresponding to the entitled
555
+ # data set being viewed. This parameter is returned when a data set
556
+ # owner is viewing the entitled copy of its owned data set.
557
+ # @return [String]
558
+ #
559
+ # @!attribute [rw] updated_at
560
+ # The date and time that the data set was last updated, in ISO 8601
561
+ # format.
562
+ # @return [Time]
563
+ #
564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DataSetEntry AWS API Documentation
565
+ #
566
+ class DataSetEntry < Struct.new(
567
+ :arn,
568
+ :asset_type,
569
+ :created_at,
570
+ :description,
571
+ :id,
572
+ :name,
573
+ :origin,
574
+ :origin_details,
575
+ :source_id,
576
+ :updated_at)
577
+ include Aws::Structure
578
+ end
579
+
580
+ # @note When making an API call, you may pass DeleteAssetRequest
581
+ # data as a hash:
582
+ #
583
+ # {
584
+ # asset_id: "__string", # required
585
+ # data_set_id: "__string", # required
586
+ # revision_id: "__string", # required
587
+ # }
588
+ #
589
+ # @!attribute [rw] asset_id
590
+ # @return [String]
591
+ #
592
+ # @!attribute [rw] data_set_id
593
+ # @return [String]
594
+ #
595
+ # @!attribute [rw] revision_id
596
+ # @return [String]
597
+ #
598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteAssetRequest AWS API Documentation
599
+ #
600
+ class DeleteAssetRequest < Struct.new(
601
+ :asset_id,
602
+ :data_set_id,
603
+ :revision_id)
604
+ include Aws::Structure
605
+ end
606
+
607
+ # @note When making an API call, you may pass DeleteDataSetRequest
608
+ # data as a hash:
609
+ #
610
+ # {
611
+ # data_set_id: "__string", # required
612
+ # }
613
+ #
614
+ # @!attribute [rw] data_set_id
615
+ # @return [String]
616
+ #
617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataSetRequest AWS API Documentation
618
+ #
619
+ class DeleteDataSetRequest < Struct.new(
620
+ :data_set_id)
621
+ include Aws::Structure
622
+ end
623
+
624
+ # @note When making an API call, you may pass DeleteRevisionRequest
625
+ # data as a hash:
626
+ #
627
+ # {
628
+ # data_set_id: "__string", # required
629
+ # revision_id: "__string", # required
630
+ # }
631
+ #
632
+ # @!attribute [rw] data_set_id
633
+ # @return [String]
634
+ #
635
+ # @!attribute [rw] revision_id
636
+ # @return [String]
637
+ #
638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteRevisionRequest AWS API Documentation
639
+ #
640
+ class DeleteRevisionRequest < Struct.new(
641
+ :data_set_id,
642
+ :revision_id)
643
+ include Aws::Structure
644
+ end
645
+
646
+ # @!attribute [rw] import_asset_from_signed_url_job_error_details
647
+ # @return [Types::ImportAssetFromSignedUrlJobErrorDetails]
648
+ #
649
+ # @!attribute [rw] import_assets_from_s3_job_error_details
650
+ # The list of sources for the assets.
651
+ # @return [Array<Types::AssetSourceEntry>]
652
+ #
653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Details AWS API Documentation
654
+ #
655
+ class Details < Struct.new(
656
+ :import_asset_from_signed_url_job_error_details,
657
+ :import_assets_from_s3_job_error_details)
658
+ include Aws::Structure
659
+ end
660
+
661
+ # Details of the operation to be performed by the job.
662
+ #
663
+ # @note When making an API call, you may pass ExportAssetToSignedUrlRequestDetails
664
+ # data as a hash:
665
+ #
666
+ # {
667
+ # asset_id: "Id", # required
668
+ # data_set_id: "Id", # required
669
+ # revision_id: "Id", # required
670
+ # }
671
+ #
672
+ # @!attribute [rw] asset_id
673
+ # The unique identifier for the asset that is exported to a signed
674
+ # URL.
675
+ # @return [String]
676
+ #
677
+ # @!attribute [rw] data_set_id
678
+ # The unique identifier for the data set associated with this export
679
+ # job.
680
+ # @return [String]
681
+ #
682
+ # @!attribute [rw] revision_id
683
+ # The unique identifier for the revision associated with this export
684
+ # request.
685
+ # @return [String]
686
+ #
687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportAssetToSignedUrlRequestDetails AWS API Documentation
688
+ #
689
+ class ExportAssetToSignedUrlRequestDetails < Struct.new(
690
+ :asset_id,
691
+ :data_set_id,
692
+ :revision_id)
693
+ include Aws::Structure
694
+ end
695
+
696
+ # The details of the export to signed URL response.
697
+ #
698
+ # @!attribute [rw] asset_id
699
+ # The unique identifier for the asset associated with this export job.
700
+ # @return [String]
701
+ #
702
+ # @!attribute [rw] data_set_id
703
+ # The unique identifier for the data set associated with this export
704
+ # job.
705
+ # @return [String]
706
+ #
707
+ # @!attribute [rw] revision_id
708
+ # The unique identifier for the revision associated with this export
709
+ # response.
710
+ # @return [String]
711
+ #
712
+ # @!attribute [rw] signed_url
713
+ # The signed URL for the export request.
714
+ # @return [String]
715
+ #
716
+ # @!attribute [rw] signed_url_expires_at
717
+ # The date and time that the signed URL expires, in ISO 8601 format.
718
+ # @return [Time]
719
+ #
720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportAssetToSignedUrlResponseDetails AWS API Documentation
721
+ #
722
+ class ExportAssetToSignedUrlResponseDetails < Struct.new(
723
+ :asset_id,
724
+ :data_set_id,
725
+ :revision_id,
726
+ :signed_url,
727
+ :signed_url_expires_at)
728
+ include Aws::Structure
729
+ end
730
+
731
+ # Details of the operation to be performed by the job.
732
+ #
733
+ # @note When making an API call, you may pass ExportAssetsToS3RequestDetails
734
+ # data as a hash:
735
+ #
736
+ # {
737
+ # asset_destinations: [ # required
738
+ # {
739
+ # asset_id: "Id", # required
740
+ # bucket: "__string", # required
741
+ # key: "__string",
742
+ # },
743
+ # ],
744
+ # data_set_id: "Id", # required
745
+ # revision_id: "Id", # required
746
+ # }
747
+ #
748
+ # @!attribute [rw] asset_destinations
749
+ # The destination for the asset.
750
+ # @return [Array<Types::AssetDestinationEntry>]
751
+ #
752
+ # @!attribute [rw] data_set_id
753
+ # The unique identifier for the data set associated with this export
754
+ # job.
755
+ # @return [String]
756
+ #
757
+ # @!attribute [rw] revision_id
758
+ # The unique identifier for the revision associated with this export
759
+ # request.
760
+ # @return [String]
761
+ #
762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportAssetsToS3RequestDetails AWS API Documentation
763
+ #
764
+ class ExportAssetsToS3RequestDetails < Struct.new(
765
+ :asset_destinations,
766
+ :data_set_id,
767
+ :revision_id)
768
+ include Aws::Structure
769
+ end
770
+
771
+ # Details about the export to Amazon S3 response.
772
+ #
773
+ # @!attribute [rw] asset_destinations
774
+ # The destination in Amazon S3 where the asset is exported.
775
+ # @return [Array<Types::AssetDestinationEntry>]
776
+ #
777
+ # @!attribute [rw] data_set_id
778
+ # The unique identifier for the data set associated with this export
779
+ # job.
780
+ # @return [String]
781
+ #
782
+ # @!attribute [rw] revision_id
783
+ # The unique identifier for the revision associated with this export
784
+ # response.
785
+ # @return [String]
786
+ #
787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportAssetsToS3ResponseDetails AWS API Documentation
788
+ #
789
+ class ExportAssetsToS3ResponseDetails < Struct.new(
790
+ :asset_destinations,
791
+ :data_set_id,
792
+ :revision_id)
793
+ include Aws::Structure
794
+ end
795
+
796
+ # @note When making an API call, you may pass GetAssetRequest
797
+ # data as a hash:
798
+ #
799
+ # {
800
+ # asset_id: "__string", # required
801
+ # data_set_id: "__string", # required
802
+ # revision_id: "__string", # required
803
+ # }
804
+ #
805
+ # @!attribute [rw] asset_id
806
+ # @return [String]
807
+ #
808
+ # @!attribute [rw] data_set_id
809
+ # @return [String]
810
+ #
811
+ # @!attribute [rw] revision_id
812
+ # @return [String]
813
+ #
814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetAssetRequest AWS API Documentation
815
+ #
816
+ class GetAssetRequest < Struct.new(
817
+ :asset_id,
818
+ :data_set_id,
819
+ :revision_id)
820
+ include Aws::Structure
821
+ end
822
+
823
+ # @!attribute [rw] arn
824
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
825
+ # resource.
826
+ # @return [String]
827
+ #
828
+ # @!attribute [rw] asset_details
829
+ # @return [Types::AssetDetails]
830
+ #
831
+ # @!attribute [rw] asset_type
832
+ # The type of file your data is stored in. Currently, the supported
833
+ # asset type is S3\_SNAPSHOT.
834
+ # @return [String]
835
+ #
836
+ # @!attribute [rw] created_at
837
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
838
+ # format.
839
+ # @return [Time]
840
+ #
841
+ # @!attribute [rw] data_set_id
842
+ # A unique identifier.
843
+ # @return [String]
844
+ #
845
+ # @!attribute [rw] id
846
+ # A unique identifier.
847
+ # @return [String]
848
+ #
849
+ # @!attribute [rw] name
850
+ # The name of the asset. When importing from Amazon S3, the S3 object
851
+ # key is used as the asset name. When exporting to Amazon S3, the
852
+ # asset name is used as default target S3 object key.
853
+ # @return [String]
854
+ #
855
+ # @!attribute [rw] revision_id
856
+ # A unique identifier.
857
+ # @return [String]
858
+ #
859
+ # @!attribute [rw] source_id
860
+ # A unique identifier.
861
+ # @return [String]
862
+ #
863
+ # @!attribute [rw] updated_at
864
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
865
+ # format.
866
+ # @return [Time]
867
+ #
868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetAssetResponse AWS API Documentation
869
+ #
870
+ class GetAssetResponse < Struct.new(
871
+ :arn,
872
+ :asset_details,
873
+ :asset_type,
874
+ :created_at,
875
+ :data_set_id,
876
+ :id,
877
+ :name,
878
+ :revision_id,
879
+ :source_id,
880
+ :updated_at)
881
+ include Aws::Structure
882
+ end
883
+
884
+ # @note When making an API call, you may pass GetDataSetRequest
885
+ # data as a hash:
886
+ #
887
+ # {
888
+ # data_set_id: "__string", # required
889
+ # }
890
+ #
891
+ # @!attribute [rw] data_set_id
892
+ # @return [String]
893
+ #
894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataSetRequest AWS API Documentation
895
+ #
896
+ class GetDataSetRequest < Struct.new(
897
+ :data_set_id)
898
+ include Aws::Structure
899
+ end
900
+
901
+ # @!attribute [rw] arn
902
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
903
+ # resource.
904
+ # @return [String]
905
+ #
906
+ # @!attribute [rw] asset_type
907
+ # The type of file your data is stored in. Currently, the supported
908
+ # asset type is S3\_SNAPSHOT.
909
+ # @return [String]
910
+ #
911
+ # @!attribute [rw] created_at
912
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
913
+ # format.
914
+ # @return [Time]
915
+ #
916
+ # @!attribute [rw] description
917
+ # A description of a resource.
918
+ # @return [String]
919
+ #
920
+ # @!attribute [rw] id
921
+ # A unique identifier.
922
+ # @return [String]
923
+ #
924
+ # @!attribute [rw] name
925
+ # The name of the model.
926
+ # @return [String]
927
+ #
928
+ # @!attribute [rw] origin
929
+ # A property that defines the data set as OWNED by the account (for
930
+ # providers) or ENTITLED to the account (for subscribers). When an
931
+ # owned data set is published in a product, AWS Data Exchange creates
932
+ # a copy of the data set. Subscribers can access that copy of the data
933
+ # set as an entitled data set.
934
+ # @return [String]
935
+ #
936
+ # @!attribute [rw] origin_details
937
+ # @return [Types::OriginDetails]
938
+ #
939
+ # @!attribute [rw] source_id
940
+ # A unique identifier.
941
+ # @return [String]
942
+ #
943
+ # @!attribute [rw] tags
944
+ # @return [Hash<String,String>]
945
+ #
946
+ # @!attribute [rw] updated_at
947
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
948
+ # format.
949
+ # @return [Time]
950
+ #
951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataSetResponse AWS API Documentation
952
+ #
953
+ class GetDataSetResponse < Struct.new(
954
+ :arn,
955
+ :asset_type,
956
+ :created_at,
957
+ :description,
958
+ :id,
959
+ :name,
960
+ :origin,
961
+ :origin_details,
962
+ :source_id,
963
+ :tags,
964
+ :updated_at)
965
+ include Aws::Structure
966
+ end
967
+
968
+ # @note When making an API call, you may pass GetJobRequest
969
+ # data as a hash:
970
+ #
971
+ # {
972
+ # job_id: "__string", # required
973
+ # }
974
+ #
975
+ # @!attribute [rw] job_id
976
+ # @return [String]
977
+ #
978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJobRequest AWS API Documentation
979
+ #
980
+ class GetJobRequest < Struct.new(
981
+ :job_id)
982
+ include Aws::Structure
983
+ end
984
+
985
+ # @!attribute [rw] arn
986
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
987
+ # resource.
988
+ # @return [String]
989
+ #
990
+ # @!attribute [rw] created_at
991
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
992
+ # format.
993
+ # @return [Time]
994
+ #
995
+ # @!attribute [rw] details
996
+ # Details for the response.
997
+ # @return [Types::ResponseDetails]
998
+ #
999
+ # @!attribute [rw] errors
1000
+ # @return [Array<Types::JobError>]
1001
+ #
1002
+ # @!attribute [rw] id
1003
+ # A unique identifier.
1004
+ # @return [String]
1005
+ #
1006
+ # @!attribute [rw] state
1007
+ # @return [String]
1008
+ #
1009
+ # @!attribute [rw] type
1010
+ # @return [String]
1011
+ #
1012
+ # @!attribute [rw] updated_at
1013
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
1014
+ # format.
1015
+ # @return [Time]
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJobResponse AWS API Documentation
1018
+ #
1019
+ class GetJobResponse < Struct.new(
1020
+ :arn,
1021
+ :created_at,
1022
+ :details,
1023
+ :errors,
1024
+ :id,
1025
+ :state,
1026
+ :type,
1027
+ :updated_at)
1028
+ include Aws::Structure
1029
+ end
1030
+
1031
+ # @note When making an API call, you may pass GetRevisionRequest
1032
+ # data as a hash:
1033
+ #
1034
+ # {
1035
+ # data_set_id: "__string", # required
1036
+ # revision_id: "__string", # required
1037
+ # }
1038
+ #
1039
+ # @!attribute [rw] data_set_id
1040
+ # @return [String]
1041
+ #
1042
+ # @!attribute [rw] revision_id
1043
+ # @return [String]
1044
+ #
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevisionRequest AWS API Documentation
1046
+ #
1047
+ class GetRevisionRequest < Struct.new(
1048
+ :data_set_id,
1049
+ :revision_id)
1050
+ include Aws::Structure
1051
+ end
1052
+
1053
+ # @!attribute [rw] arn
1054
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
1055
+ # resource.
1056
+ # @return [String]
1057
+ #
1058
+ # @!attribute [rw] comment
1059
+ # @return [String]
1060
+ #
1061
+ # @!attribute [rw] created_at
1062
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
1063
+ # format.
1064
+ # @return [Time]
1065
+ #
1066
+ # @!attribute [rw] data_set_id
1067
+ # A unique identifier.
1068
+ # @return [String]
1069
+ #
1070
+ # @!attribute [rw] finalized
1071
+ # @return [Boolean]
1072
+ #
1073
+ # @!attribute [rw] id
1074
+ # A unique identifier.
1075
+ # @return [String]
1076
+ #
1077
+ # @!attribute [rw] source_id
1078
+ # A unique identifier.
1079
+ # @return [String]
1080
+ #
1081
+ # @!attribute [rw] tags
1082
+ # @return [Hash<String,String>]
1083
+ #
1084
+ # @!attribute [rw] updated_at
1085
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
1086
+ # format.
1087
+ # @return [Time]
1088
+ #
1089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevisionResponse AWS API Documentation
1090
+ #
1091
+ class GetRevisionResponse < Struct.new(
1092
+ :arn,
1093
+ :comment,
1094
+ :created_at,
1095
+ :data_set_id,
1096
+ :finalized,
1097
+ :id,
1098
+ :source_id,
1099
+ :tags,
1100
+ :updated_at)
1101
+ include Aws::Structure
1102
+ end
1103
+
1104
+ # @!attribute [rw] asset_name
1105
+ # The name of the asset. When importing from Amazon S3, the S3 object
1106
+ # key is used as the asset name. When exporting to Amazon S3, the
1107
+ # asset name is used as default target S3 object key.
1108
+ # @return [String]
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromSignedUrlJobErrorDetails AWS API Documentation
1111
+ #
1112
+ class ImportAssetFromSignedUrlJobErrorDetails < Struct.new(
1113
+ :asset_name)
1114
+ include Aws::Structure
1115
+ end
1116
+
1117
+ # Details of the operation to be performed by the job.
1118
+ #
1119
+ # @note When making an API call, you may pass ImportAssetFromSignedUrlRequestDetails
1120
+ # data as a hash:
1121
+ #
1122
+ # {
1123
+ # asset_name: "AssetName", # required
1124
+ # data_set_id: "Id", # required
1125
+ # md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
1126
+ # revision_id: "Id", # required
1127
+ # }
1128
+ #
1129
+ # @!attribute [rw] asset_name
1130
+ # The name of the asset. When importing from Amazon S3, the S3 object
1131
+ # key is used as the asset name.
1132
+ # @return [String]
1133
+ #
1134
+ # @!attribute [rw] data_set_id
1135
+ # The unique identifier for the data set associated with this import
1136
+ # job.
1137
+ # @return [String]
1138
+ #
1139
+ # @!attribute [rw] md_5_hash
1140
+ # The Base64-encoded Md5 hash for the asset, used to ensure the
1141
+ # integrity of the file at that location.
1142
+ # @return [String]
1143
+ #
1144
+ # @!attribute [rw] revision_id
1145
+ # The unique identifier for the revision associated with this import
1146
+ # request.
1147
+ # @return [String]
1148
+ #
1149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromSignedUrlRequestDetails AWS API Documentation
1150
+ #
1151
+ class ImportAssetFromSignedUrlRequestDetails < Struct.new(
1152
+ :asset_name,
1153
+ :data_set_id,
1154
+ :md_5_hash,
1155
+ :revision_id)
1156
+ include Aws::Structure
1157
+ end
1158
+
1159
+ # The details in the response for an import request, including the
1160
+ # signed URL and other information.
1161
+ #
1162
+ # @!attribute [rw] asset_name
1163
+ # The name for the asset associated with this import response.
1164
+ # @return [String]
1165
+ #
1166
+ # @!attribute [rw] data_set_id
1167
+ # The unique identifier for the data set associated with this import
1168
+ # job.
1169
+ # @return [String]
1170
+ #
1171
+ # @!attribute [rw] md_5_hash
1172
+ # The Base64-encoded Md5 hash for the asset, used to ensure the
1173
+ # integrity of the file at that location.
1174
+ # @return [String]
1175
+ #
1176
+ # @!attribute [rw] revision_id
1177
+ # The unique identifier for the revision associated with this import
1178
+ # response.
1179
+ # @return [String]
1180
+ #
1181
+ # @!attribute [rw] signed_url
1182
+ # The signed URL.
1183
+ # @return [String]
1184
+ #
1185
+ # @!attribute [rw] signed_url_expires_at
1186
+ # The time and date at which the signed URL expires, in ISO 8601
1187
+ # format.
1188
+ # @return [Time]
1189
+ #
1190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromSignedUrlResponseDetails AWS API Documentation
1191
+ #
1192
+ class ImportAssetFromSignedUrlResponseDetails < Struct.new(
1193
+ :asset_name,
1194
+ :data_set_id,
1195
+ :md_5_hash,
1196
+ :revision_id,
1197
+ :signed_url,
1198
+ :signed_url_expires_at)
1199
+ include Aws::Structure
1200
+ end
1201
+
1202
+ # Details of the operation to be performed by the job.
1203
+ #
1204
+ # @note When making an API call, you may pass ImportAssetsFromS3RequestDetails
1205
+ # data as a hash:
1206
+ #
1207
+ # {
1208
+ # asset_sources: [ # required
1209
+ # {
1210
+ # bucket: "__string", # required
1211
+ # key: "__string", # required
1212
+ # },
1213
+ # ],
1214
+ # data_set_id: "Id", # required
1215
+ # revision_id: "Id", # required
1216
+ # }
1217
+ #
1218
+ # @!attribute [rw] asset_sources
1219
+ # Is a list of S3 bucket and object key pairs.
1220
+ # @return [Array<Types::AssetSourceEntry>]
1221
+ #
1222
+ # @!attribute [rw] data_set_id
1223
+ # The unique identifier for the data set associated with this import
1224
+ # job.
1225
+ # @return [String]
1226
+ #
1227
+ # @!attribute [rw] revision_id
1228
+ # The unique identifier for the revision associated with this import
1229
+ # request.
1230
+ # @return [String]
1231
+ #
1232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromS3RequestDetails AWS API Documentation
1233
+ #
1234
+ class ImportAssetsFromS3RequestDetails < Struct.new(
1235
+ :asset_sources,
1236
+ :data_set_id,
1237
+ :revision_id)
1238
+ include Aws::Structure
1239
+ end
1240
+
1241
+ # Details from an import from Amazon S3 response.
1242
+ #
1243
+ # @!attribute [rw] asset_sources
1244
+ # Is a list of Amazon S3 bucket and object key pairs.
1245
+ # @return [Array<Types::AssetSourceEntry>]
1246
+ #
1247
+ # @!attribute [rw] data_set_id
1248
+ # The unique identifier for the data set associated with this import
1249
+ # job.
1250
+ # @return [String]
1251
+ #
1252
+ # @!attribute [rw] revision_id
1253
+ # The unique identifier for the revision associated with this import
1254
+ # response.
1255
+ # @return [String]
1256
+ #
1257
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromS3ResponseDetails AWS API Documentation
1258
+ #
1259
+ class ImportAssetsFromS3ResponseDetails < Struct.new(
1260
+ :asset_sources,
1261
+ :data_set_id,
1262
+ :revision_id)
1263
+ include Aws::Structure
1264
+ end
1265
+
1266
+ # An exception occurred with the service.
1267
+ #
1268
+ # @!attribute [rw] message
1269
+ # The message identifying the service exception that occurred.
1270
+ # @return [String]
1271
+ #
1272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/InternalServerException AWS API Documentation
1273
+ #
1274
+ class InternalServerException < Struct.new(
1275
+ :message)
1276
+ include Aws::Structure
1277
+ end
1278
+
1279
+ # AWS Data Exchange Jobs are asynchronous import or export operations
1280
+ # used to create or copy assets. A data set owner can both import and
1281
+ # export as they see fit. Someone with an entitlement to a data set can
1282
+ # only export. Jobs are deleted 90 days after they are created.
1283
+ #
1284
+ # @!attribute [rw] arn
1285
+ # The ARN for the job.
1286
+ # @return [String]
1287
+ #
1288
+ # @!attribute [rw] created_at
1289
+ # The date and time that the job was created, in ISO 8601 format.
1290
+ # @return [Time]
1291
+ #
1292
+ # @!attribute [rw] details
1293
+ # Details of the operation to be performed by the job, such as export
1294
+ # destination details or import source details.
1295
+ # @return [Types::ResponseDetails]
1296
+ #
1297
+ # @!attribute [rw] errors
1298
+ # Errors for jobs.
1299
+ # @return [Array<Types::JobError>]
1300
+ #
1301
+ # @!attribute [rw] id
1302
+ # The unique identifier for the job.
1303
+ # @return [String]
1304
+ #
1305
+ # @!attribute [rw] state
1306
+ # The state of the job.
1307
+ # @return [String]
1308
+ #
1309
+ # @!attribute [rw] type
1310
+ # The job type.
1311
+ # @return [String]
1312
+ #
1313
+ # @!attribute [rw] updated_at
1314
+ # The date and time that the job was last updated, in ISO 8601 format.
1315
+ # @return [Time]
1316
+ #
1317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/JobEntry AWS API Documentation
1318
+ #
1319
+ class JobEntry < Struct.new(
1320
+ :arn,
1321
+ :created_at,
1322
+ :details,
1323
+ :errors,
1324
+ :id,
1325
+ :state,
1326
+ :type,
1327
+ :updated_at)
1328
+ include Aws::Structure
1329
+ end
1330
+
1331
+ # An error that occurred with the job request.
1332
+ #
1333
+ # @!attribute [rw] code
1334
+ # The code for the job error.
1335
+ # @return [String]
1336
+ #
1337
+ # @!attribute [rw] details
1338
+ # @return [Types::Details]
1339
+ #
1340
+ # @!attribute [rw] limit_name
1341
+ # The name of the limit that was reached.
1342
+ # @return [String]
1343
+ #
1344
+ # @!attribute [rw] limit_value
1345
+ # The value of the exceeded limit.
1346
+ # @return [Float]
1347
+ #
1348
+ # @!attribute [rw] message
1349
+ # The message related to the job error.
1350
+ # @return [String]
1351
+ #
1352
+ # @!attribute [rw] resource_id
1353
+ # The unqiue identifier for the resource related to the error.
1354
+ # @return [String]
1355
+ #
1356
+ # @!attribute [rw] resource_type
1357
+ # The type of resource related to the error.
1358
+ # @return [String]
1359
+ #
1360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/JobError AWS API Documentation
1361
+ #
1362
+ class JobError < Struct.new(
1363
+ :code,
1364
+ :details,
1365
+ :limit_name,
1366
+ :limit_value,
1367
+ :message,
1368
+ :resource_id,
1369
+ :resource_type)
1370
+ include Aws::Structure
1371
+ end
1372
+
1373
+ # @note When making an API call, you may pass ListDataSetRevisionsRequest
1374
+ # data as a hash:
1375
+ #
1376
+ # {
1377
+ # data_set_id: "__string", # required
1378
+ # max_results: 1,
1379
+ # next_token: "__string",
1380
+ # }
1381
+ #
1382
+ # @!attribute [rw] data_set_id
1383
+ # @return [String]
1384
+ #
1385
+ # @!attribute [rw] max_results
1386
+ # @return [Integer]
1387
+ #
1388
+ # @!attribute [rw] next_token
1389
+ # @return [String]
1390
+ #
1391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetRevisionsRequest AWS API Documentation
1392
+ #
1393
+ class ListDataSetRevisionsRequest < Struct.new(
1394
+ :data_set_id,
1395
+ :max_results,
1396
+ :next_token)
1397
+ include Aws::Structure
1398
+ end
1399
+
1400
+ # @!attribute [rw] next_token
1401
+ # The token value retrieved from a previous call to access the next
1402
+ # page of results.
1403
+ # @return [String]
1404
+ #
1405
+ # @!attribute [rw] revisions
1406
+ # @return [Array<Types::RevisionEntry>]
1407
+ #
1408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetRevisionsResponse AWS API Documentation
1409
+ #
1410
+ class ListDataSetRevisionsResponse < Struct.new(
1411
+ :next_token,
1412
+ :revisions)
1413
+ include Aws::Structure
1414
+ end
1415
+
1416
+ # @note When making an API call, you may pass ListDataSetsRequest
1417
+ # data as a hash:
1418
+ #
1419
+ # {
1420
+ # max_results: 1,
1421
+ # next_token: "__string",
1422
+ # origin: "__string",
1423
+ # }
1424
+ #
1425
+ # @!attribute [rw] max_results
1426
+ # @return [Integer]
1427
+ #
1428
+ # @!attribute [rw] next_token
1429
+ # @return [String]
1430
+ #
1431
+ # @!attribute [rw] origin
1432
+ # @return [String]
1433
+ #
1434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetsRequest AWS API Documentation
1435
+ #
1436
+ class ListDataSetsRequest < Struct.new(
1437
+ :max_results,
1438
+ :next_token,
1439
+ :origin)
1440
+ include Aws::Structure
1441
+ end
1442
+
1443
+ # @!attribute [rw] data_sets
1444
+ # @return [Array<Types::DataSetEntry>]
1445
+ #
1446
+ # @!attribute [rw] next_token
1447
+ # The token value retrieved from a previous call to access the next
1448
+ # page of results.
1449
+ # @return [String]
1450
+ #
1451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetsResponse AWS API Documentation
1452
+ #
1453
+ class ListDataSetsResponse < Struct.new(
1454
+ :data_sets,
1455
+ :next_token)
1456
+ include Aws::Structure
1457
+ end
1458
+
1459
+ # @note When making an API call, you may pass ListJobsRequest
1460
+ # data as a hash:
1461
+ #
1462
+ # {
1463
+ # data_set_id: "__string",
1464
+ # max_results: 1,
1465
+ # next_token: "__string",
1466
+ # revision_id: "__string",
1467
+ # }
1468
+ #
1469
+ # @!attribute [rw] data_set_id
1470
+ # @return [String]
1471
+ #
1472
+ # @!attribute [rw] max_results
1473
+ # @return [Integer]
1474
+ #
1475
+ # @!attribute [rw] next_token
1476
+ # @return [String]
1477
+ #
1478
+ # @!attribute [rw] revision_id
1479
+ # @return [String]
1480
+ #
1481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListJobsRequest AWS API Documentation
1482
+ #
1483
+ class ListJobsRequest < Struct.new(
1484
+ :data_set_id,
1485
+ :max_results,
1486
+ :next_token,
1487
+ :revision_id)
1488
+ include Aws::Structure
1489
+ end
1490
+
1491
+ # @!attribute [rw] jobs
1492
+ # @return [Array<Types::JobEntry>]
1493
+ #
1494
+ # @!attribute [rw] next_token
1495
+ # The token value retrieved from a previous call to access the next
1496
+ # page of results.
1497
+ # @return [String]
1498
+ #
1499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListJobsResponse AWS API Documentation
1500
+ #
1501
+ class ListJobsResponse < Struct.new(
1502
+ :jobs,
1503
+ :next_token)
1504
+ include Aws::Structure
1505
+ end
1506
+
1507
+ # @note When making an API call, you may pass ListRevisionAssetsRequest
1508
+ # data as a hash:
1509
+ #
1510
+ # {
1511
+ # data_set_id: "__string", # required
1512
+ # max_results: 1,
1513
+ # next_token: "__string",
1514
+ # revision_id: "__string", # required
1515
+ # }
1516
+ #
1517
+ # @!attribute [rw] data_set_id
1518
+ # @return [String]
1519
+ #
1520
+ # @!attribute [rw] max_results
1521
+ # @return [Integer]
1522
+ #
1523
+ # @!attribute [rw] next_token
1524
+ # @return [String]
1525
+ #
1526
+ # @!attribute [rw] revision_id
1527
+ # @return [String]
1528
+ #
1529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListRevisionAssetsRequest AWS API Documentation
1530
+ #
1531
+ class ListRevisionAssetsRequest < Struct.new(
1532
+ :data_set_id,
1533
+ :max_results,
1534
+ :next_token,
1535
+ :revision_id)
1536
+ include Aws::Structure
1537
+ end
1538
+
1539
+ # @!attribute [rw] assets
1540
+ # @return [Array<Types::AssetEntry>]
1541
+ #
1542
+ # @!attribute [rw] next_token
1543
+ # The token value retrieved from a previous call to access the next
1544
+ # page of results.
1545
+ # @return [String]
1546
+ #
1547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListRevisionAssetsResponse AWS API Documentation
1548
+ #
1549
+ class ListRevisionAssetsResponse < Struct.new(
1550
+ :assets,
1551
+ :next_token)
1552
+ include Aws::Structure
1553
+ end
1554
+
1555
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1556
+ # data as a hash:
1557
+ #
1558
+ # {
1559
+ # resource_arn: "__string", # required
1560
+ # }
1561
+ #
1562
+ # @!attribute [rw] resource_arn
1563
+ # @return [String]
1564
+ #
1565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListTagsForResourceRequest AWS API Documentation
1566
+ #
1567
+ class ListTagsForResourceRequest < Struct.new(
1568
+ :resource_arn)
1569
+ include Aws::Structure
1570
+ end
1571
+
1572
+ # @!attribute [rw] tags
1573
+ # @return [Hash<String,String>]
1574
+ #
1575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListTagsForResourceResponse AWS API Documentation
1576
+ #
1577
+ class ListTagsForResourceResponse < Struct.new(
1578
+ :tags)
1579
+ include Aws::Structure
1580
+ end
1581
+
1582
+ # @!attribute [rw] product_id
1583
+ # @return [String]
1584
+ #
1585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/OriginDetails AWS API Documentation
1586
+ #
1587
+ class OriginDetails < Struct.new(
1588
+ :product_id)
1589
+ include Aws::Structure
1590
+ end
1591
+
1592
+ # The details for the request.
1593
+ #
1594
+ # @note When making an API call, you may pass RequestDetails
1595
+ # data as a hash:
1596
+ #
1597
+ # {
1598
+ # export_asset_to_signed_url: {
1599
+ # asset_id: "Id", # required
1600
+ # data_set_id: "Id", # required
1601
+ # revision_id: "Id", # required
1602
+ # },
1603
+ # export_assets_to_s3: {
1604
+ # asset_destinations: [ # required
1605
+ # {
1606
+ # asset_id: "Id", # required
1607
+ # bucket: "__string", # required
1608
+ # key: "__string",
1609
+ # },
1610
+ # ],
1611
+ # data_set_id: "Id", # required
1612
+ # revision_id: "Id", # required
1613
+ # },
1614
+ # import_asset_from_signed_url: {
1615
+ # asset_name: "AssetName", # required
1616
+ # data_set_id: "Id", # required
1617
+ # md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
1618
+ # revision_id: "Id", # required
1619
+ # },
1620
+ # import_assets_from_s3: {
1621
+ # asset_sources: [ # required
1622
+ # {
1623
+ # bucket: "__string", # required
1624
+ # key: "__string", # required
1625
+ # },
1626
+ # ],
1627
+ # data_set_id: "Id", # required
1628
+ # revision_id: "Id", # required
1629
+ # },
1630
+ # }
1631
+ #
1632
+ # @!attribute [rw] export_asset_to_signed_url
1633
+ # Details about the export to signed URL request.
1634
+ # @return [Types::ExportAssetToSignedUrlRequestDetails]
1635
+ #
1636
+ # @!attribute [rw] export_assets_to_s3
1637
+ # Details about the export to Amazon S3 request.
1638
+ # @return [Types::ExportAssetsToS3RequestDetails]
1639
+ #
1640
+ # @!attribute [rw] import_asset_from_signed_url
1641
+ # Details about the import from signed URL request.
1642
+ # @return [Types::ImportAssetFromSignedUrlRequestDetails]
1643
+ #
1644
+ # @!attribute [rw] import_assets_from_s3
1645
+ # Details about the import from Amazon S3 request.
1646
+ # @return [Types::ImportAssetsFromS3RequestDetails]
1647
+ #
1648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RequestDetails AWS API Documentation
1649
+ #
1650
+ class RequestDetails < Struct.new(
1651
+ :export_asset_to_signed_url,
1652
+ :export_assets_to_s3,
1653
+ :import_asset_from_signed_url,
1654
+ :import_assets_from_s3)
1655
+ include Aws::Structure
1656
+ end
1657
+
1658
+ # The resource couldn't be found.
1659
+ #
1660
+ # @!attribute [rw] message
1661
+ # The resource couldn't be found.
1662
+ # @return [String]
1663
+ #
1664
+ # @!attribute [rw] resource_id
1665
+ # The unique identifier for the resource that couldn't be found.
1666
+ # @return [String]
1667
+ #
1668
+ # @!attribute [rw] resource_type
1669
+ # The type of resource that couldn't be found.
1670
+ # @return [String]
1671
+ #
1672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ResourceNotFoundException AWS API Documentation
1673
+ #
1674
+ class ResourceNotFoundException < Struct.new(
1675
+ :message,
1676
+ :resource_id,
1677
+ :resource_type)
1678
+ include Aws::Structure
1679
+ end
1680
+
1681
+ # Details for the response.
1682
+ #
1683
+ # @!attribute [rw] export_asset_to_signed_url
1684
+ # Details for the export to signed URL response.
1685
+ # @return [Types::ExportAssetToSignedUrlResponseDetails]
1686
+ #
1687
+ # @!attribute [rw] export_assets_to_s3
1688
+ # Details for the export to Amazon S3 response.
1689
+ # @return [Types::ExportAssetsToS3ResponseDetails]
1690
+ #
1691
+ # @!attribute [rw] import_asset_from_signed_url
1692
+ # Details for the import from signed URL response.
1693
+ # @return [Types::ImportAssetFromSignedUrlResponseDetails]
1694
+ #
1695
+ # @!attribute [rw] import_assets_from_s3
1696
+ # Details for the import from Amazon S3 response.
1697
+ # @return [Types::ImportAssetsFromS3ResponseDetails]
1698
+ #
1699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ResponseDetails AWS API Documentation
1700
+ #
1701
+ class ResponseDetails < Struct.new(
1702
+ :export_asset_to_signed_url,
1703
+ :export_assets_to_s3,
1704
+ :import_asset_from_signed_url,
1705
+ :import_assets_from_s3)
1706
+ include Aws::Structure
1707
+ end
1708
+
1709
+ # A revision is a container for one or more assets.
1710
+ #
1711
+ # @!attribute [rw] arn
1712
+ # The ARN for the revision.
1713
+ # @return [String]
1714
+ #
1715
+ # @!attribute [rw] comment
1716
+ # An optional comment about the revision.
1717
+ # @return [String]
1718
+ #
1719
+ # @!attribute [rw] created_at
1720
+ # The date and time that the revision was created, in ISO 8601 format.
1721
+ # @return [Time]
1722
+ #
1723
+ # @!attribute [rw] data_set_id
1724
+ # The unique identifier for the data set associated with this
1725
+ # revision.
1726
+ # @return [String]
1727
+ #
1728
+ # @!attribute [rw] finalized
1729
+ # To publish a revision to a data set in a product, the revision must
1730
+ # first be finalized. Finalizing a revision tells AWS Data Exchange
1731
+ # that your changes to the assets in the revision are complete. After
1732
+ # it's in this read-only state, you can publish the revision to your
1733
+ # products.
1734
+ #
1735
+ # Finalized revisions can be published through the AWS Data Exchange
1736
+ # console or the AWS Marketplace Catalog API, using the StartChangeSet
1737
+ # AWS Marketplace Catalog API action. When using the API, revisions
1738
+ # are uniquely identified by their ARN.
1739
+ # @return [Boolean]
1740
+ #
1741
+ # @!attribute [rw] id
1742
+ # The unique identifier for the revision.
1743
+ # @return [String]
1744
+ #
1745
+ # @!attribute [rw] source_id
1746
+ # The revision ID of the owned revision corresponding to the entitled
1747
+ # revision being viewed. This parameter is returned when a revision
1748
+ # owner is viewing the entitled copy of its owned revision.
1749
+ # @return [String]
1750
+ #
1751
+ # @!attribute [rw] updated_at
1752
+ # The date and time that the revision was last updated, in ISO 8601
1753
+ # format.
1754
+ # @return [Time]
1755
+ #
1756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevisionEntry AWS API Documentation
1757
+ #
1758
+ class RevisionEntry < Struct.new(
1759
+ :arn,
1760
+ :comment,
1761
+ :created_at,
1762
+ :data_set_id,
1763
+ :finalized,
1764
+ :id,
1765
+ :source_id,
1766
+ :updated_at)
1767
+ include Aws::Structure
1768
+ end
1769
+
1770
+ # The S3 object that is the asset.
1771
+ #
1772
+ # @!attribute [rw] size
1773
+ # The size of the S3 object that is the object.
1774
+ # @return [Float]
1775
+ #
1776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/S3SnapshotAsset AWS API Documentation
1777
+ #
1778
+ class S3SnapshotAsset < Struct.new(
1779
+ :size)
1780
+ include Aws::Structure
1781
+ end
1782
+
1783
+ # The request has exceeded the quotas imposed by the service.
1784
+ #
1785
+ # @!attribute [rw] limit_name
1786
+ # @return [String]
1787
+ #
1788
+ # @!attribute [rw] limit_value
1789
+ # @return [Float]
1790
+ #
1791
+ # @!attribute [rw] message
1792
+ # @return [String]
1793
+ #
1794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ServiceLimitExceededException AWS API Documentation
1795
+ #
1796
+ class ServiceLimitExceededException < Struct.new(
1797
+ :limit_name,
1798
+ :limit_value,
1799
+ :message)
1800
+ include Aws::Structure
1801
+ end
1802
+
1803
+ # @note When making an API call, you may pass StartJobRequest
1804
+ # data as a hash:
1805
+ #
1806
+ # {
1807
+ # job_id: "__string", # required
1808
+ # }
1809
+ #
1810
+ # @!attribute [rw] job_id
1811
+ # @return [String]
1812
+ #
1813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/StartJobRequest AWS API Documentation
1814
+ #
1815
+ class StartJobRequest < Struct.new(
1816
+ :job_id)
1817
+ include Aws::Structure
1818
+ end
1819
+
1820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/StartJobResponse AWS API Documentation
1821
+ #
1822
+ class StartJobResponse < Aws::EmptyStructure; end
1823
+
1824
+ # @note When making an API call, you may pass TagResourceRequest
1825
+ # data as a hash:
1826
+ #
1827
+ # {
1828
+ # resource_arn: "__string", # required
1829
+ # tags: { # required
1830
+ # "__string" => "__string",
1831
+ # },
1832
+ # }
1833
+ #
1834
+ # @!attribute [rw] resource_arn
1835
+ # @return [String]
1836
+ #
1837
+ # @!attribute [rw] tags
1838
+ # @return [Hash<String,String>]
1839
+ #
1840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/TagResourceRequest AWS API Documentation
1841
+ #
1842
+ class TagResourceRequest < Struct.new(
1843
+ :resource_arn,
1844
+ :tags)
1845
+ include Aws::Structure
1846
+ end
1847
+
1848
+ # The limit on the number of requests per second was exceeded.
1849
+ #
1850
+ # @!attribute [rw] message
1851
+ # The limit on the number of requests per second was exceeded.
1852
+ # @return [String]
1853
+ #
1854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ThrottlingException AWS API Documentation
1855
+ #
1856
+ class ThrottlingException < Struct.new(
1857
+ :message)
1858
+ include Aws::Structure
1859
+ end
1860
+
1861
+ # @note When making an API call, you may pass UntagResourceRequest
1862
+ # data as a hash:
1863
+ #
1864
+ # {
1865
+ # resource_arn: "__string", # required
1866
+ # tag_keys: ["__string"], # required
1867
+ # }
1868
+ #
1869
+ # @!attribute [rw] resource_arn
1870
+ # @return [String]
1871
+ #
1872
+ # @!attribute [rw] tag_keys
1873
+ # @return [Array<String>]
1874
+ #
1875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UntagResourceRequest AWS API Documentation
1876
+ #
1877
+ class UntagResourceRequest < Struct.new(
1878
+ :resource_arn,
1879
+ :tag_keys)
1880
+ include Aws::Structure
1881
+ end
1882
+
1883
+ # The request to update an asset.
1884
+ #
1885
+ # @note When making an API call, you may pass UpdateAssetRequest
1886
+ # data as a hash:
1887
+ #
1888
+ # {
1889
+ # asset_id: "__string", # required
1890
+ # data_set_id: "__string", # required
1891
+ # name: "AssetName", # required
1892
+ # revision_id: "__string", # required
1893
+ # }
1894
+ #
1895
+ # @!attribute [rw] asset_id
1896
+ # @return [String]
1897
+ #
1898
+ # @!attribute [rw] data_set_id
1899
+ # @return [String]
1900
+ #
1901
+ # @!attribute [rw] name
1902
+ # The name of the asset. When importing from Amazon S3, the S3 object
1903
+ # key is used as the asset name. When exporting to Amazon S3, the
1904
+ # asset name is used as default target S3 object key.
1905
+ # @return [String]
1906
+ #
1907
+ # @!attribute [rw] revision_id
1908
+ # @return [String]
1909
+ #
1910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateAssetRequest AWS API Documentation
1911
+ #
1912
+ class UpdateAssetRequest < Struct.new(
1913
+ :asset_id,
1914
+ :data_set_id,
1915
+ :name,
1916
+ :revision_id)
1917
+ include Aws::Structure
1918
+ end
1919
+
1920
+ # @!attribute [rw] arn
1921
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
1922
+ # resource.
1923
+ # @return [String]
1924
+ #
1925
+ # @!attribute [rw] asset_details
1926
+ # @return [Types::AssetDetails]
1927
+ #
1928
+ # @!attribute [rw] asset_type
1929
+ # The type of file your data is stored in. Currently, the supported
1930
+ # asset type is S3\_SNAPSHOT.
1931
+ # @return [String]
1932
+ #
1933
+ # @!attribute [rw] created_at
1934
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
1935
+ # format.
1936
+ # @return [Time]
1937
+ #
1938
+ # @!attribute [rw] data_set_id
1939
+ # A unique identifier.
1940
+ # @return [String]
1941
+ #
1942
+ # @!attribute [rw] id
1943
+ # A unique identifier.
1944
+ # @return [String]
1945
+ #
1946
+ # @!attribute [rw] name
1947
+ # The name of the asset. When importing from Amazon S3, the S3 object
1948
+ # key is used as the asset name. When exporting to Amazon S3, the
1949
+ # asset name is used as default target S3 object key.
1950
+ # @return [String]
1951
+ #
1952
+ # @!attribute [rw] revision_id
1953
+ # A unique identifier.
1954
+ # @return [String]
1955
+ #
1956
+ # @!attribute [rw] source_id
1957
+ # A unique identifier.
1958
+ # @return [String]
1959
+ #
1960
+ # @!attribute [rw] updated_at
1961
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
1962
+ # format.
1963
+ # @return [Time]
1964
+ #
1965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateAssetResponse AWS API Documentation
1966
+ #
1967
+ class UpdateAssetResponse < Struct.new(
1968
+ :arn,
1969
+ :asset_details,
1970
+ :asset_type,
1971
+ :created_at,
1972
+ :data_set_id,
1973
+ :id,
1974
+ :name,
1975
+ :revision_id,
1976
+ :source_id,
1977
+ :updated_at)
1978
+ include Aws::Structure
1979
+ end
1980
+
1981
+ # The request to update a data set.
1982
+ #
1983
+ # @note When making an API call, you may pass UpdateDataSetRequest
1984
+ # data as a hash:
1985
+ #
1986
+ # {
1987
+ # data_set_id: "__string", # required
1988
+ # description: "Description",
1989
+ # name: "Name",
1990
+ # }
1991
+ #
1992
+ # @!attribute [rw] data_set_id
1993
+ # @return [String]
1994
+ #
1995
+ # @!attribute [rw] description
1996
+ # The description for the data set.
1997
+ # @return [String]
1998
+ #
1999
+ # @!attribute [rw] name
2000
+ # The name of the data set.
2001
+ # @return [String]
2002
+ #
2003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateDataSetRequest AWS API Documentation
2004
+ #
2005
+ class UpdateDataSetRequest < Struct.new(
2006
+ :data_set_id,
2007
+ :description,
2008
+ :name)
2009
+ include Aws::Structure
2010
+ end
2011
+
2012
+ # @!attribute [rw] arn
2013
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
2014
+ # resource.
2015
+ # @return [String]
2016
+ #
2017
+ # @!attribute [rw] asset_type
2018
+ # The type of file your data is stored in. Currently, the supported
2019
+ # asset type is S3\_SNAPSHOT.
2020
+ # @return [String]
2021
+ #
2022
+ # @!attribute [rw] created_at
2023
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
2024
+ # format.
2025
+ # @return [Time]
2026
+ #
2027
+ # @!attribute [rw] description
2028
+ # A description of a resource.
2029
+ # @return [String]
2030
+ #
2031
+ # @!attribute [rw] id
2032
+ # A unique identifier.
2033
+ # @return [String]
2034
+ #
2035
+ # @!attribute [rw] name
2036
+ # The name of the model.
2037
+ # @return [String]
2038
+ #
2039
+ # @!attribute [rw] origin
2040
+ # A property that defines the data set as OWNED by the account (for
2041
+ # providers) or ENTITLED to the account (for subscribers). When an
2042
+ # owned data set is published in a product, AWS Data Exchange creates
2043
+ # a copy of the data set. Subscribers can access that copy of the data
2044
+ # set as an entitled data set.
2045
+ # @return [String]
2046
+ #
2047
+ # @!attribute [rw] origin_details
2048
+ # @return [Types::OriginDetails]
2049
+ #
2050
+ # @!attribute [rw] source_id
2051
+ # A unique identifier.
2052
+ # @return [String]
2053
+ #
2054
+ # @!attribute [rw] updated_at
2055
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
2056
+ # format.
2057
+ # @return [Time]
2058
+ #
2059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateDataSetResponse AWS API Documentation
2060
+ #
2061
+ class UpdateDataSetResponse < Struct.new(
2062
+ :arn,
2063
+ :asset_type,
2064
+ :created_at,
2065
+ :description,
2066
+ :id,
2067
+ :name,
2068
+ :origin,
2069
+ :origin_details,
2070
+ :source_id,
2071
+ :updated_at)
2072
+ include Aws::Structure
2073
+ end
2074
+
2075
+ # The request to update a revision.
2076
+ #
2077
+ # @note When making an API call, you may pass UpdateRevisionRequest
2078
+ # data as a hash:
2079
+ #
2080
+ # {
2081
+ # comment: "__stringMin0Max16384",
2082
+ # data_set_id: "__string", # required
2083
+ # finalized: false,
2084
+ # revision_id: "__string", # required
2085
+ # }
2086
+ #
2087
+ # @!attribute [rw] comment
2088
+ # An optional comment about the revision.
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] data_set_id
2092
+ # @return [String]
2093
+ #
2094
+ # @!attribute [rw] finalized
2095
+ # Finalizing a revision tells AWS Data Exchange that your changes to
2096
+ # the assets in the revision are complete. After it's in this
2097
+ # read-only state, you can publish the revision to your products.
2098
+ # @return [Boolean]
2099
+ #
2100
+ # @!attribute [rw] revision_id
2101
+ # @return [String]
2102
+ #
2103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevisionRequest AWS API Documentation
2104
+ #
2105
+ class UpdateRevisionRequest < Struct.new(
2106
+ :comment,
2107
+ :data_set_id,
2108
+ :finalized,
2109
+ :revision_id)
2110
+ include Aws::Structure
2111
+ end
2112
+
2113
+ # @!attribute [rw] arn
2114
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS
2115
+ # resource.
2116
+ # @return [String]
2117
+ #
2118
+ # @!attribute [rw] comment
2119
+ # @return [String]
2120
+ #
2121
+ # @!attribute [rw] created_at
2122
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
2123
+ # format.
2124
+ # @return [Time]
2125
+ #
2126
+ # @!attribute [rw] data_set_id
2127
+ # A unique identifier.
2128
+ # @return [String]
2129
+ #
2130
+ # @!attribute [rw] finalized
2131
+ # @return [Boolean]
2132
+ #
2133
+ # @!attribute [rw] id
2134
+ # A unique identifier.
2135
+ # @return [String]
2136
+ #
2137
+ # @!attribute [rw] source_id
2138
+ # A unique identifier.
2139
+ # @return [String]
2140
+ #
2141
+ # @!attribute [rw] updated_at
2142
+ # Dates and times in AWS Data Exchange are recorded in ISO 8601
2143
+ # format.
2144
+ # @return [Time]
2145
+ #
2146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevisionResponse AWS API Documentation
2147
+ #
2148
+ class UpdateRevisionResponse < Struct.new(
2149
+ :arn,
2150
+ :comment,
2151
+ :created_at,
2152
+ :data_set_id,
2153
+ :finalized,
2154
+ :id,
2155
+ :source_id,
2156
+ :updated_at)
2157
+ include Aws::Structure
2158
+ end
2159
+
2160
+ # The request was invalid.
2161
+ #
2162
+ # @!attribute [rw] message
2163
+ # The message that informs you about what was invalid about the
2164
+ # request.
2165
+ # @return [String]
2166
+ #
2167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ValidationException AWS API Documentation
2168
+ #
2169
+ class ValidationException < Struct.new(
2170
+ :message)
2171
+ include Aws::Structure
2172
+ end
2173
+
2174
+ end
2175
+ end