aws-sdk-dataexchange 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dataexchange.rb +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +40 -5
- data/lib/aws-sdk-dataexchange/client_api.rb +23 -0
- data/lib/aws-sdk-dataexchange/types.rb +150 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c52080d9916fc9726e27a6b54feb31f809aed658e3cf28891b4892a2f175bfe
|
|
4
|
+
data.tar.gz: dc45f66293da6afd47bda7a36f0e61a337929a1c3e93951cb09d7888489050c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: deaf3cd2cd305e39662d1cfec8b6e326736dabcb9726a95abb467aa965f887d86f1e1a1d2b19f4482077b3137ecdf8ce9af1c100f91b303dca527d8bd4aa6065
|
|
7
|
+
data.tar.gz: de7f9a5b666337779d455efe79ddef791d83bd9e420cd4b20157c8c70c11b43a85e3ea1e93d74a3af5b94630b97f87b719d78606f123363491394c44363a179e
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
|
@@ -461,6 +461,20 @@ module Aws::DataExchange
|
|
|
461
461
|
# },
|
|
462
462
|
# revision_id: "Id", # required
|
|
463
463
|
# },
|
|
464
|
+
# export_revisions_to_s3: {
|
|
465
|
+
# data_set_id: "Id", # required
|
|
466
|
+
# encryption: {
|
|
467
|
+
# kms_key_arn: "__string",
|
|
468
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
|
469
|
+
# },
|
|
470
|
+
# revision_destinations: [ # required
|
|
471
|
+
# {
|
|
472
|
+
# bucket: "__string", # required
|
|
473
|
+
# key_pattern: "__string",
|
|
474
|
+
# revision_id: "Id", # required
|
|
475
|
+
# },
|
|
476
|
+
# ],
|
|
477
|
+
# },
|
|
464
478
|
# import_asset_from_signed_url: {
|
|
465
479
|
# asset_name: "AssetName", # required
|
|
466
480
|
# data_set_id: "Id", # required
|
|
@@ -478,7 +492,7 @@ module Aws::DataExchange
|
|
|
478
492
|
# revision_id: "Id", # required
|
|
479
493
|
# },
|
|
480
494
|
# },
|
|
481
|
-
# 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
|
|
495
|
+
# 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, EXPORT_REVISIONS_TO_S3
|
|
482
496
|
# })
|
|
483
497
|
#
|
|
484
498
|
# @example Response structure
|
|
@@ -498,6 +512,13 @@ module Aws::DataExchange
|
|
|
498
512
|
# resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
|
499
513
|
# resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
|
500
514
|
# resp.details.export_assets_to_s3.revision_id #=> String
|
|
515
|
+
# resp.details.export_revisions_to_s3.data_set_id #=> String
|
|
516
|
+
# resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
|
517
|
+
# resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
|
518
|
+
# resp.details.export_revisions_to_s3.revision_destinations #=> Array
|
|
519
|
+
# resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
|
520
|
+
# resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
|
521
|
+
# resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
|
|
501
522
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
|
502
523
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
|
503
524
|
# resp.details.import_asset_from_signed_url.md_5_hash #=> String
|
|
@@ -522,7 +543,7 @@ module Aws::DataExchange
|
|
|
522
543
|
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
|
|
523
544
|
# resp.id #=> String
|
|
524
545
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
|
525
|
-
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL"
|
|
546
|
+
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
|
|
526
547
|
# resp.updated_at #=> Time
|
|
527
548
|
#
|
|
528
549
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
|
|
@@ -801,6 +822,13 @@ module Aws::DataExchange
|
|
|
801
822
|
# resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
|
802
823
|
# resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
|
803
824
|
# resp.details.export_assets_to_s3.revision_id #=> String
|
|
825
|
+
# resp.details.export_revisions_to_s3.data_set_id #=> String
|
|
826
|
+
# resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
|
827
|
+
# resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
|
828
|
+
# resp.details.export_revisions_to_s3.revision_destinations #=> Array
|
|
829
|
+
# resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
|
830
|
+
# resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
|
831
|
+
# resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
|
|
804
832
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
|
805
833
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
|
806
834
|
# resp.details.import_asset_from_signed_url.md_5_hash #=> String
|
|
@@ -825,7 +853,7 @@ module Aws::DataExchange
|
|
|
825
853
|
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
|
|
826
854
|
# resp.id #=> String
|
|
827
855
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
|
828
|
-
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL"
|
|
856
|
+
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
|
|
829
857
|
# resp.updated_at #=> Time
|
|
830
858
|
#
|
|
831
859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
|
|
@@ -1025,6 +1053,13 @@ module Aws::DataExchange
|
|
|
1025
1053
|
# resp.jobs[0].details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
|
1026
1054
|
# resp.jobs[0].details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
|
1027
1055
|
# resp.jobs[0].details.export_assets_to_s3.revision_id #=> String
|
|
1056
|
+
# resp.jobs[0].details.export_revisions_to_s3.data_set_id #=> String
|
|
1057
|
+
# resp.jobs[0].details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
|
1058
|
+
# resp.jobs[0].details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
|
1059
|
+
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations #=> Array
|
|
1060
|
+
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
|
1061
|
+
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
|
1062
|
+
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
|
|
1028
1063
|
# resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
|
|
1029
1064
|
# resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
|
|
1030
1065
|
# resp.jobs[0].details.import_asset_from_signed_url.md_5_hash #=> String
|
|
@@ -1049,7 +1084,7 @@ module Aws::DataExchange
|
|
|
1049
1084
|
# resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET"
|
|
1050
1085
|
# resp.jobs[0].id #=> String
|
|
1051
1086
|
# resp.jobs[0].state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
|
1052
|
-
# resp.jobs[0].type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL"
|
|
1087
|
+
# resp.jobs[0].type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
|
|
1053
1088
|
# resp.jobs[0].updated_at #=> Time
|
|
1054
1089
|
# resp.next_token #=> String
|
|
1055
1090
|
#
|
|
@@ -1389,7 +1424,7 @@ module Aws::DataExchange
|
|
|
1389
1424
|
params: params,
|
|
1390
1425
|
config: config)
|
|
1391
1426
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
|
1392
|
-
context[:gem_version] = '1.
|
|
1427
|
+
context[:gem_version] = '1.12.0'
|
|
1393
1428
|
Seahorse::Client::Request.new(handlers, context)
|
|
1394
1429
|
end
|
|
1395
1430
|
|
|
@@ -40,6 +40,8 @@ module Aws::DataExchange
|
|
|
40
40
|
ExportAssetToSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlResponseDetails')
|
|
41
41
|
ExportAssetsToS3RequestDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3RequestDetails')
|
|
42
42
|
ExportAssetsToS3ResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3ResponseDetails')
|
|
43
|
+
ExportRevisionsToS3RequestDetails = Shapes::StructureShape.new(name: 'ExportRevisionsToS3RequestDetails')
|
|
44
|
+
ExportRevisionsToS3ResponseDetails = Shapes::StructureShape.new(name: 'ExportRevisionsToS3ResponseDetails')
|
|
43
45
|
ExportServerSideEncryption = Shapes::StructureShape.new(name: 'ExportServerSideEncryption')
|
|
44
46
|
GetAssetRequest = Shapes::StructureShape.new(name: 'GetAssetRequest')
|
|
45
47
|
GetAssetResponse = Shapes::StructureShape.new(name: 'GetAssetResponse')
|
|
@@ -73,6 +75,7 @@ module Aws::DataExchange
|
|
|
73
75
|
ListOfDataSetEntry = Shapes::ListShape.new(name: 'ListOfDataSetEntry')
|
|
74
76
|
ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
|
|
75
77
|
ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
|
|
78
|
+
ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
|
|
76
79
|
ListOfRevisionEntry = Shapes::ListShape.new(name: 'ListOfRevisionEntry')
|
|
77
80
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
|
78
81
|
ListRevisionAssetsRequest = Shapes::StructureShape.new(name: 'ListRevisionAssetsRequest')
|
|
@@ -89,6 +92,7 @@ module Aws::DataExchange
|
|
|
89
92
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
90
93
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
91
94
|
ResponseDetails = Shapes::StructureShape.new(name: 'ResponseDetails')
|
|
95
|
+
RevisionDestinationEntry = Shapes::StructureShape.new(name: 'RevisionDestinationEntry')
|
|
92
96
|
RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
|
|
93
97
|
S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
|
|
94
98
|
ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
|
|
@@ -251,6 +255,16 @@ module Aws::DataExchange
|
|
|
251
255
|
ExportAssetsToS3ResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
|
252
256
|
ExportAssetsToS3ResponseDetails.struct_class = Types::ExportAssetsToS3ResponseDetails
|
|
253
257
|
|
|
258
|
+
ExportRevisionsToS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
|
259
|
+
ExportRevisionsToS3RequestDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
|
260
|
+
ExportRevisionsToS3RequestDetails.add_member(:revision_destinations, Shapes::ShapeRef.new(shape: ListOfRevisionDestinationEntry, required: true, location_name: "RevisionDestinations"))
|
|
261
|
+
ExportRevisionsToS3RequestDetails.struct_class = Types::ExportRevisionsToS3RequestDetails
|
|
262
|
+
|
|
263
|
+
ExportRevisionsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
|
264
|
+
ExportRevisionsToS3ResponseDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
|
265
|
+
ExportRevisionsToS3ResponseDetails.add_member(:revision_destinations, Shapes::ShapeRef.new(shape: ListOfRevisionDestinationEntry, required: true, location_name: "RevisionDestinations"))
|
|
266
|
+
ExportRevisionsToS3ResponseDetails.struct_class = Types::ExportRevisionsToS3ResponseDetails
|
|
267
|
+
|
|
254
268
|
ExportServerSideEncryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: __string, location_name: "KmsKeyArn"))
|
|
255
269
|
ExportServerSideEncryption.add_member(:type, Shapes::ShapeRef.new(shape: ServerSideEncryptionTypes, required: true, location_name: "Type"))
|
|
256
270
|
ExportServerSideEncryption.struct_class = Types::ExportServerSideEncryption
|
|
@@ -405,6 +419,8 @@ module Aws::DataExchange
|
|
|
405
419
|
|
|
406
420
|
ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
|
|
407
421
|
|
|
422
|
+
ListOfRevisionDestinationEntry.member = Shapes::ShapeRef.new(shape: RevisionDestinationEntry)
|
|
423
|
+
|
|
408
424
|
ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
|
|
409
425
|
|
|
410
426
|
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
|
@@ -433,6 +449,7 @@ module Aws::DataExchange
|
|
|
433
449
|
|
|
434
450
|
RequestDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlRequestDetails, location_name: "ExportAssetToSignedUrl"))
|
|
435
451
|
RequestDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3RequestDetails, location_name: "ExportAssetsToS3"))
|
|
452
|
+
RequestDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3RequestDetails, location_name: "ExportRevisionsToS3"))
|
|
436
453
|
RequestDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlRequestDetails, location_name: "ImportAssetFromSignedUrl"))
|
|
437
454
|
RequestDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3RequestDetails, location_name: "ImportAssetsFromS3"))
|
|
438
455
|
RequestDetails.struct_class = Types::RequestDetails
|
|
@@ -444,10 +461,16 @@ module Aws::DataExchange
|
|
|
444
461
|
|
|
445
462
|
ResponseDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlResponseDetails, location_name: "ExportAssetToSignedUrl"))
|
|
446
463
|
ResponseDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3ResponseDetails, location_name: "ExportAssetsToS3"))
|
|
464
|
+
ResponseDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3ResponseDetails, location_name: "ExportRevisionsToS3"))
|
|
447
465
|
ResponseDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlResponseDetails, location_name: "ImportAssetFromSignedUrl"))
|
|
448
466
|
ResponseDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3ResponseDetails, location_name: "ImportAssetsFromS3"))
|
|
449
467
|
ResponseDetails.struct_class = Types::ResponseDetails
|
|
450
468
|
|
|
469
|
+
RevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
|
470
|
+
RevisionDestinationEntry.add_member(:key_pattern, Shapes::ShapeRef.new(shape: __string, location_name: "KeyPattern"))
|
|
471
|
+
RevisionDestinationEntry.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
|
472
|
+
RevisionDestinationEntry.struct_class = Types::RevisionDestinationEntry
|
|
473
|
+
|
|
451
474
|
RevisionEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
|
452
475
|
RevisionEntry.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
|
|
453
476
|
RevisionEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
|
@@ -325,10 +325,9 @@ module Aws::DataExchange
|
|
|
325
325
|
|
|
326
326
|
# The CreateJob request. AWS Data Exchange Jobs are asynchronous import
|
|
327
327
|
# or export operations used to create or copy assets. A data set owner
|
|
328
|
-
# can both import and export
|
|
329
|
-
#
|
|
330
|
-
#
|
|
331
|
-
# operation.
|
|
328
|
+
# can both import and export assets. A subscriber with an entitlement to
|
|
329
|
+
# a data set can only export. Jobs are deleted 90 days after they are
|
|
330
|
+
# created. Created jobs must be started with the StartJob operation.
|
|
332
331
|
#
|
|
333
332
|
# @note When making an API call, you may pass CreateJobRequest
|
|
334
333
|
# data as a hash:
|
|
@@ -355,6 +354,20 @@ module Aws::DataExchange
|
|
|
355
354
|
# },
|
|
356
355
|
# revision_id: "Id", # required
|
|
357
356
|
# },
|
|
357
|
+
# export_revisions_to_s3: {
|
|
358
|
+
# data_set_id: "Id", # required
|
|
359
|
+
# encryption: {
|
|
360
|
+
# kms_key_arn: "__string",
|
|
361
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
|
362
|
+
# },
|
|
363
|
+
# revision_destinations: [ # required
|
|
364
|
+
# {
|
|
365
|
+
# bucket: "__string", # required
|
|
366
|
+
# key_pattern: "__string",
|
|
367
|
+
# revision_id: "Id", # required
|
|
368
|
+
# },
|
|
369
|
+
# ],
|
|
370
|
+
# },
|
|
358
371
|
# import_asset_from_signed_url: {
|
|
359
372
|
# asset_name: "AssetName", # required
|
|
360
373
|
# data_set_id: "Id", # required
|
|
@@ -372,7 +385,7 @@ module Aws::DataExchange
|
|
|
372
385
|
# revision_id: "Id", # required
|
|
373
386
|
# },
|
|
374
387
|
# },
|
|
375
|
-
# 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
|
|
388
|
+
# 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, EXPORT_REVISIONS_TO_S3
|
|
376
389
|
# }
|
|
377
390
|
#
|
|
378
391
|
# @!attribute [rw] details
|
|
@@ -835,6 +848,74 @@ module Aws::DataExchange
|
|
|
835
848
|
include Aws::Structure
|
|
836
849
|
end
|
|
837
850
|
|
|
851
|
+
# Details of the operation to be performed by the job.
|
|
852
|
+
#
|
|
853
|
+
# @note When making an API call, you may pass ExportRevisionsToS3RequestDetails
|
|
854
|
+
# data as a hash:
|
|
855
|
+
#
|
|
856
|
+
# {
|
|
857
|
+
# data_set_id: "Id", # required
|
|
858
|
+
# encryption: {
|
|
859
|
+
# kms_key_arn: "__string",
|
|
860
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
|
861
|
+
# },
|
|
862
|
+
# revision_destinations: [ # required
|
|
863
|
+
# {
|
|
864
|
+
# bucket: "__string", # required
|
|
865
|
+
# key_pattern: "__string",
|
|
866
|
+
# revision_id: "Id", # required
|
|
867
|
+
# },
|
|
868
|
+
# ],
|
|
869
|
+
# }
|
|
870
|
+
#
|
|
871
|
+
# @!attribute [rw] data_set_id
|
|
872
|
+
# The unique identifier for the data set associated with this export
|
|
873
|
+
# job.
|
|
874
|
+
# @return [String]
|
|
875
|
+
#
|
|
876
|
+
# @!attribute [rw] encryption
|
|
877
|
+
# Encryption configuration for the export job.
|
|
878
|
+
# @return [Types::ExportServerSideEncryption]
|
|
879
|
+
#
|
|
880
|
+
# @!attribute [rw] revision_destinations
|
|
881
|
+
# The destination for the revision.
|
|
882
|
+
# @return [Array<Types::RevisionDestinationEntry>]
|
|
883
|
+
#
|
|
884
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportRevisionsToS3RequestDetails AWS API Documentation
|
|
885
|
+
#
|
|
886
|
+
class ExportRevisionsToS3RequestDetails < Struct.new(
|
|
887
|
+
:data_set_id,
|
|
888
|
+
:encryption,
|
|
889
|
+
:revision_destinations)
|
|
890
|
+
SENSITIVE = []
|
|
891
|
+
include Aws::Structure
|
|
892
|
+
end
|
|
893
|
+
|
|
894
|
+
# Details about the export revisions to Amazon S3 response.
|
|
895
|
+
#
|
|
896
|
+
# @!attribute [rw] data_set_id
|
|
897
|
+
# The unique identifier for the data set associated with this export
|
|
898
|
+
# job.
|
|
899
|
+
# @return [String]
|
|
900
|
+
#
|
|
901
|
+
# @!attribute [rw] encryption
|
|
902
|
+
# Encryption configuration of the export job.
|
|
903
|
+
# @return [Types::ExportServerSideEncryption]
|
|
904
|
+
#
|
|
905
|
+
# @!attribute [rw] revision_destinations
|
|
906
|
+
# The destination in Amazon S3 where the revision is exported.
|
|
907
|
+
# @return [Array<Types::RevisionDestinationEntry>]
|
|
908
|
+
#
|
|
909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportRevisionsToS3ResponseDetails AWS API Documentation
|
|
910
|
+
#
|
|
911
|
+
class ExportRevisionsToS3ResponseDetails < Struct.new(
|
|
912
|
+
:data_set_id,
|
|
913
|
+
:encryption,
|
|
914
|
+
:revision_destinations)
|
|
915
|
+
SENSITIVE = []
|
|
916
|
+
include Aws::Structure
|
|
917
|
+
end
|
|
918
|
+
|
|
838
919
|
# Encryption configuration of the export job. Includes the encryption
|
|
839
920
|
# type as well as the AWS KMS key. The KMS key is only necessary if you
|
|
840
921
|
# chose the KMS encryption type.
|
|
@@ -1716,6 +1797,20 @@ module Aws::DataExchange
|
|
|
1716
1797
|
# },
|
|
1717
1798
|
# revision_id: "Id", # required
|
|
1718
1799
|
# },
|
|
1800
|
+
# export_revisions_to_s3: {
|
|
1801
|
+
# data_set_id: "Id", # required
|
|
1802
|
+
# encryption: {
|
|
1803
|
+
# kms_key_arn: "__string",
|
|
1804
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
|
1805
|
+
# },
|
|
1806
|
+
# revision_destinations: [ # required
|
|
1807
|
+
# {
|
|
1808
|
+
# bucket: "__string", # required
|
|
1809
|
+
# key_pattern: "__string",
|
|
1810
|
+
# revision_id: "Id", # required
|
|
1811
|
+
# },
|
|
1812
|
+
# ],
|
|
1813
|
+
# },
|
|
1719
1814
|
# import_asset_from_signed_url: {
|
|
1720
1815
|
# asset_name: "AssetName", # required
|
|
1721
1816
|
# data_set_id: "Id", # required
|
|
@@ -1742,6 +1837,10 @@ module Aws::DataExchange
|
|
|
1742
1837
|
# Details about the export to Amazon S3 request.
|
|
1743
1838
|
# @return [Types::ExportAssetsToS3RequestDetails]
|
|
1744
1839
|
#
|
|
1840
|
+
# @!attribute [rw] export_revisions_to_s3
|
|
1841
|
+
# Details about the export to Amazon S3 request.
|
|
1842
|
+
# @return [Types::ExportRevisionsToS3RequestDetails]
|
|
1843
|
+
#
|
|
1745
1844
|
# @!attribute [rw] import_asset_from_signed_url
|
|
1746
1845
|
# Details about the import from signed URL request.
|
|
1747
1846
|
# @return [Types::ImportAssetFromSignedUrlRequestDetails]
|
|
@@ -1755,6 +1854,7 @@ module Aws::DataExchange
|
|
|
1755
1854
|
class RequestDetails < Struct.new(
|
|
1756
1855
|
:export_asset_to_signed_url,
|
|
1757
1856
|
:export_assets_to_s3,
|
|
1857
|
+
:export_revisions_to_s3,
|
|
1758
1858
|
:import_asset_from_signed_url,
|
|
1759
1859
|
:import_assets_from_s3)
|
|
1760
1860
|
SENSITIVE = []
|
|
@@ -1795,6 +1895,10 @@ module Aws::DataExchange
|
|
|
1795
1895
|
# Details for the export to Amazon S3 response.
|
|
1796
1896
|
# @return [Types::ExportAssetsToS3ResponseDetails]
|
|
1797
1897
|
#
|
|
1898
|
+
# @!attribute [rw] export_revisions_to_s3
|
|
1899
|
+
# Details for the export revisions to Amazon S3 response.
|
|
1900
|
+
# @return [Types::ExportRevisionsToS3ResponseDetails]
|
|
1901
|
+
#
|
|
1798
1902
|
# @!attribute [rw] import_asset_from_signed_url
|
|
1799
1903
|
# Details for the import from signed URL response.
|
|
1800
1904
|
# @return [Types::ImportAssetFromSignedUrlResponseDetails]
|
|
@@ -1808,12 +1912,53 @@ module Aws::DataExchange
|
|
|
1808
1912
|
class ResponseDetails < Struct.new(
|
|
1809
1913
|
:export_asset_to_signed_url,
|
|
1810
1914
|
:export_assets_to_s3,
|
|
1915
|
+
:export_revisions_to_s3,
|
|
1811
1916
|
:import_asset_from_signed_url,
|
|
1812
1917
|
:import_assets_from_s3)
|
|
1813
1918
|
SENSITIVE = []
|
|
1814
1919
|
include Aws::Structure
|
|
1815
1920
|
end
|
|
1816
1921
|
|
|
1922
|
+
# The destination where the assets in the revision will be exported.
|
|
1923
|
+
#
|
|
1924
|
+
# @note When making an API call, you may pass RevisionDestinationEntry
|
|
1925
|
+
# data as a hash:
|
|
1926
|
+
#
|
|
1927
|
+
# {
|
|
1928
|
+
# bucket: "__string", # required
|
|
1929
|
+
# key_pattern: "__string",
|
|
1930
|
+
# revision_id: "Id", # required
|
|
1931
|
+
# }
|
|
1932
|
+
#
|
|
1933
|
+
# @!attribute [rw] bucket
|
|
1934
|
+
# The S3 bucket that is the destination for the assets in the
|
|
1935
|
+
# revision.
|
|
1936
|
+
# @return [String]
|
|
1937
|
+
#
|
|
1938
|
+
# @!attribute [rw] key_pattern
|
|
1939
|
+
# A string representing the pattern for generated names of the
|
|
1940
|
+
# individual assets in the revision. For more information about key
|
|
1941
|
+
# patterns, see [Key patterns when exporting revisions][1].
|
|
1942
|
+
#
|
|
1943
|
+
#
|
|
1944
|
+
#
|
|
1945
|
+
# [1]: https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns
|
|
1946
|
+
# @return [String]
|
|
1947
|
+
#
|
|
1948
|
+
# @!attribute [rw] revision_id
|
|
1949
|
+
# The unique identifier for the revision.
|
|
1950
|
+
# @return [String]
|
|
1951
|
+
#
|
|
1952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevisionDestinationEntry AWS API Documentation
|
|
1953
|
+
#
|
|
1954
|
+
class RevisionDestinationEntry < Struct.new(
|
|
1955
|
+
:bucket,
|
|
1956
|
+
:key_pattern,
|
|
1957
|
+
:revision_id)
|
|
1958
|
+
SENSITIVE = []
|
|
1959
|
+
include Aws::Structure
|
|
1960
|
+
end
|
|
1961
|
+
|
|
1817
1962
|
# A revision is a container for one or more assets.
|
|
1818
1963
|
#
|
|
1819
1964
|
# @!attribute [rw] arn
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-dataexchange
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-02-
|
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|