aws-sdk-dataexchange 1.8.0 → 1.13.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: bfd0c8b681a1c66358f6e9aad64b300cd2c35c81dc7afd441af90ae624fd9b5d
4
- data.tar.gz: 992c0ac6f4b433d4f968d172907a04570e42e82bc1da8283c6573ffbbbd7a647
3
+ metadata.gz: 67517d42976fbc52d3bb53e1937f4cc54409274c98c733978bcb2ab3346650e0
4
+ data.tar.gz: ef426420b014fa044164f3e86acecdbea2068ecba8784d6c0b691059dcf5f071
5
5
  SHA512:
6
- metadata.gz: f41be6c369c7d1ca2786dd353daaa2de1b4cfd92ed8fa1d1a9db95dcdff5b2b4c466323f6f1528f00e92157ee59746ccdfb667599beca7fe6623a21e03f15a88
7
- data.tar.gz: ed28c073f265c72751bf2b4402a2b5e677fc2480827e70daccb08d90e8ff271549e208957a5cd9e8f3cc6708fd3c3d6a9bf415ce22ce3c26f18cc455da72be74
6
+ metadata.gz: 52dd5dd9dbc09644958b4ea949bac40d1119bd3adb3f234cc62c513002db0beecb825b7caaa4514efd1775ba8f644d55f36d0dd52204df1c836b369d654c7edb
7
+ data.tar.gz: c7d0795c4932e6c0339cea89b841781cb89296aacc87162c2419a7731f8a8a4970cb6e5e15309546c78d67e9b1175e47129c93eeced22c3996833c1a9671f313
data/CHANGELOG.md ADDED
@@ -0,0 +1,78 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.13.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.12.0 (2021-02-08)
10
+ ------------------
11
+
12
+ * Feature - This release introduces the new ExportRevision job type, which allows for the export of an entire revision.
13
+
14
+ 1.11.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.10.0 (2020-09-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.9.0 (2020-09-15)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.8.0 (2020-08-25)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.7.0 (2020-06-23)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.6.0 (2020-06-16)
40
+ ------------------
41
+
42
+ * Feature - This release fixes a bug in the AWS Data Exchange Python and NodeJS SDKs. The 'KmsKeyArn' field in the create-job API was configured to be required instead of optional. We updated this field to be optional in this release.
43
+
44
+ 1.5.1 (2020-06-11)
45
+ ------------------
46
+
47
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
48
+
49
+ 1.5.0 (2020-06-10)
50
+ ------------------
51
+
52
+ * Issue - This version has been yanked. (#2327).
53
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
54
+
55
+ 1.4.0 (2020-05-28)
56
+ ------------------
57
+
58
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
59
+
60
+ 1.3.0 (2020-05-07)
61
+ ------------------
62
+
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.2.0 (2020-04-27)
66
+ ------------------
67
+
68
+ * Feature - This release introduces AWS Data Exchange support for configurable encryption parameters when exporting data sets to Amazon S3.
69
+
70
+ 1.1.0 (2020-03-09)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.0.0 (2019-11-13)
76
+ ------------------
77
+
78
+ * Feature - Initial release of `aws-sdk-dataexchange`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.13.0
@@ -3,10 +3,11 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-dataexchange/customizations'
47
48
  # @!group service
48
49
  module Aws::DataExchange
49
50
 
50
- GEM_VERSION = '1.8.0'
51
+ GEM_VERSION = '1.13.0'
51
52
 
52
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.8.0'
1427
+ context[:gem_version] = '1.13.0'
1393
1428
  Seahorse::Client::Request.new(handlers, context)
1394
1429
  end
1395
1430
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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"))
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.8.0
4
+ version: 1.13.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-08-25 00:00:00.000000000 Z
11
+ date: 2021-03-10 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
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS Data Exchange. This gem is part of the
48
48
  AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-dataexchange.rb
56
59
  - lib/aws-sdk-dataexchange/client.rb
57
60
  - lib/aws-sdk-dataexchange/client_api.rb