aws-sdk-dataexchange 1.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67ddf1023b317cb77c6eaa8de108a6c63c11c0d37314b2c3c08a6db72267df7f
4
- data.tar.gz: 030b35fc0e8225984f3321423d9642c87ad2b23a1109012beee7fccf8db7433a
3
+ metadata.gz: 2c52080d9916fc9726e27a6b54feb31f809aed658e3cf28891b4892a2f175bfe
4
+ data.tar.gz: dc45f66293da6afd47bda7a36f0e61a337929a1c3e93951cb09d7888489050c9
5
5
  SHA512:
6
- metadata.gz: dd250a56870b60b11159b1f5cefb5689d5e9be99922c2a3b755a1a708592c69d12151fd68847189d4c6fcd81676e413d87a64709e52cd6d7c4f67e70a5da4c25
7
- data.tar.gz: ff252c49d9fa9b89fe37eb9035f7c46554fe9e5567ffb26dcc1e9c62f7b15a4f72686bbd6b3bd1e0a346fba1f4100d180326c2a30131b2b6208baa3ff92ce060
6
+ metadata.gz: deaf3cd2cd305e39662d1cfec8b6e326736dabcb9726a95abb467aa965f887d86f1e1a1d2b19f4482077b3137ecdf8ce9af1c100f91b303dca527d8bd4aa6065
7
+ data.tar.gz: de7f9a5b666337779d455efe79ddef791d83bd9e420cd4b20157c8c70c11b43a85e3ea1e93d74a3af5b94630b97f87b719d78606f123363491394c44363a179e
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-dataexchange/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::DataExchange
49
50
 
50
- GEM_VERSION = '1.7.0'
51
+ GEM_VERSION = '1.12.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::DataExchange
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::DataExchange
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -446,6 +461,20 @@ module Aws::DataExchange
446
461
  # },
447
462
  # revision_id: "Id", # required
448
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
+ # },
449
478
  # import_asset_from_signed_url: {
450
479
  # asset_name: "AssetName", # required
451
480
  # data_set_id: "Id", # required
@@ -463,7 +492,7 @@ module Aws::DataExchange
463
492
  # revision_id: "Id", # required
464
493
  # },
465
494
  # },
466
- # 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
467
496
  # })
468
497
  #
469
498
  # @example Response structure
@@ -483,6 +512,13 @@ module Aws::DataExchange
483
512
  # resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
484
513
  # resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
485
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
486
522
  # resp.details.import_asset_from_signed_url.asset_name #=> String
487
523
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
488
524
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -507,7 +543,7 @@ module Aws::DataExchange
507
543
  # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
508
544
  # resp.id #=> String
509
545
  # resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
510
- # 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"
511
547
  # resp.updated_at #=> Time
512
548
  #
513
549
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
@@ -786,6 +822,13 @@ module Aws::DataExchange
786
822
  # resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
787
823
  # resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
788
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
789
832
  # resp.details.import_asset_from_signed_url.asset_name #=> String
790
833
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
791
834
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -810,7 +853,7 @@ module Aws::DataExchange
810
853
  # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET"
811
854
  # resp.id #=> String
812
855
  # resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
813
- # 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"
814
857
  # resp.updated_at #=> Time
815
858
  #
816
859
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
@@ -1010,6 +1053,13 @@ module Aws::DataExchange
1010
1053
  # resp.jobs[0].details.export_assets_to_s3.encryption.kms_key_arn #=> String
1011
1054
  # resp.jobs[0].details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
1012
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
1013
1063
  # resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
1014
1064
  # resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
1015
1065
  # resp.jobs[0].details.import_asset_from_signed_url.md_5_hash #=> String
@@ -1034,7 +1084,7 @@ module Aws::DataExchange
1034
1084
  # resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET"
1035
1085
  # resp.jobs[0].id #=> String
1036
1086
  # resp.jobs[0].state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
1037
- # 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"
1038
1088
  # resp.jobs[0].updated_at #=> Time
1039
1089
  # resp.next_token #=> String
1040
1090
  #
@@ -1374,7 +1424,7 @@ module Aws::DataExchange
1374
1424
  params: params,
1375
1425
  config: config)
1376
1426
  context[:gem_name] = 'aws-sdk-dataexchange'
1377
- context[:gem_version] = '1.7.0'
1427
+ context[:gem_version] = '1.12.0'
1378
1428
  Seahorse::Client::Request.new(handlers, context)
1379
1429
  end
1380
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 as they see fit. Someone with an
329
- # entitlement to a data set can only export. Jobs are deleted 90 days
330
- # after they are created. Created jobs must be started with the StartJob
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.7.0
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: 2020-06-23 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement