aws-sdk-dataexchange 1.1.0 → 1.6.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 +5 -5
- data/lib/aws-sdk-dataexchange.rb +3 -1
- data/lib/aws-sdk-dataexchange/client.rb +46 -21
- data/lib/aws-sdk-dataexchange/client_api.rb +10 -18
- data/lib/aws-sdk-dataexchange/errors.rb +2 -0
- data/lib/aws-sdk-dataexchange/resource.rb +3 -7
- data/lib/aws-sdk-dataexchange/types.rb +56 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9cf906919ba3cb01b6a10409b6b8f88bda0627b24d4a34e86a008d6d046a063d
|
4
|
+
data.tar.gz: 63ae5c7cda238a8c34979c2aea4559e24792fc2b4e0b04bc11184d0df7659333
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aef69628516251ff7238efdd1dfb2bd166131fb0c35c06338eca8758b330d9c8e6a7beac79eeb9ec14659f2545e68a7a847b291873695183dcb0391fe70132a2
|
7
|
+
data.tar.gz: a9e35a75eeff92fb82ca3c5d70738c2c39fe8d58899a396711bc015184cae5586d759c47b25e10c2c7d10d89994dcd98eb566c7cb718ed8ad3a74fca913fb32b
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-dataexchange/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::DataExchange
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.6.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:dataexchange)
|
|
32
35
|
module Aws::DataExchange
|
33
36
|
# An API client for DataExchange. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::DataExchange::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::DataExchange
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::DataExchange
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::DataExchange
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::DataExchange
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::DataExchange
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -265,8 +273,7 @@ module Aws::DataExchange
|
|
265
273
|
#
|
266
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
275
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
270
277
|
#
|
271
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +285,7 @@ module Aws::DataExchange
|
|
278
285
|
# request body. This option has no effect unless the request has
|
279
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
287
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
288
|
+
# request on the session.
|
282
289
|
#
|
283
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -433,6 +440,10 @@ module Aws::DataExchange
|
|
433
440
|
# },
|
434
441
|
# ],
|
435
442
|
# data_set_id: "Id", # required
|
443
|
+
# encryption: {
|
444
|
+
# kms_key_arn: "__string",
|
445
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
446
|
+
# },
|
436
447
|
# revision_id: "Id", # required
|
437
448
|
# },
|
438
449
|
# import_asset_from_signed_url: {
|
@@ -469,6 +480,8 @@ module Aws::DataExchange
|
|
469
480
|
# resp.details.export_assets_to_s3.asset_destinations[0].bucket #=> String
|
470
481
|
# resp.details.export_assets_to_s3.asset_destinations[0].key #=> String
|
471
482
|
# resp.details.export_assets_to_s3.data_set_id #=> String
|
483
|
+
# resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
484
|
+
# resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
472
485
|
# resp.details.export_assets_to_s3.revision_id #=> String
|
473
486
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
474
487
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
@@ -770,6 +783,8 @@ module Aws::DataExchange
|
|
770
783
|
# resp.details.export_assets_to_s3.asset_destinations[0].bucket #=> String
|
771
784
|
# resp.details.export_assets_to_s3.asset_destinations[0].key #=> String
|
772
785
|
# resp.details.export_assets_to_s3.data_set_id #=> String
|
786
|
+
# resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
787
|
+
# resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
773
788
|
# resp.details.export_assets_to_s3.revision_id #=> String
|
774
789
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
775
790
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
@@ -868,6 +883,8 @@ module Aws::DataExchange
|
|
868
883
|
# * {Types::ListDataSetRevisionsResponse#next_token #next_token} => String
|
869
884
|
# * {Types::ListDataSetRevisionsResponse#revisions #revisions} => Array<Types::RevisionEntry>
|
870
885
|
#
|
886
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
887
|
+
#
|
871
888
|
# @example Request syntax with placeholder values
|
872
889
|
#
|
873
890
|
# resp = client.list_data_set_revisions({
|
@@ -914,6 +931,8 @@ module Aws::DataExchange
|
|
914
931
|
# * {Types::ListDataSetsResponse#data_sets #data_sets} => Array<Types::DataSetEntry>
|
915
932
|
# * {Types::ListDataSetsResponse#next_token #next_token} => String
|
916
933
|
#
|
934
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
935
|
+
#
|
917
936
|
# @example Request syntax with placeholder values
|
918
937
|
#
|
919
938
|
# resp = client.list_data_sets({
|
@@ -962,6 +981,8 @@ module Aws::DataExchange
|
|
962
981
|
# * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobEntry>
|
963
982
|
# * {Types::ListJobsResponse#next_token #next_token} => String
|
964
983
|
#
|
984
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
985
|
+
#
|
965
986
|
# @example Request syntax with placeholder values
|
966
987
|
#
|
967
988
|
# resp = client.list_jobs({
|
@@ -986,6 +1007,8 @@ module Aws::DataExchange
|
|
986
1007
|
# resp.jobs[0].details.export_assets_to_s3.asset_destinations[0].bucket #=> String
|
987
1008
|
# resp.jobs[0].details.export_assets_to_s3.asset_destinations[0].key #=> String
|
988
1009
|
# resp.jobs[0].details.export_assets_to_s3.data_set_id #=> String
|
1010
|
+
# resp.jobs[0].details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
1011
|
+
# resp.jobs[0].details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
989
1012
|
# resp.jobs[0].details.export_assets_to_s3.revision_id #=> String
|
990
1013
|
# resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
|
991
1014
|
# resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
|
@@ -1040,6 +1063,8 @@ module Aws::DataExchange
|
|
1040
1063
|
# * {Types::ListRevisionAssetsResponse#assets #assets} => Array<Types::AssetEntry>
|
1041
1064
|
# * {Types::ListRevisionAssetsResponse#next_token #next_token} => String
|
1042
1065
|
#
|
1066
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1067
|
+
#
|
1043
1068
|
# @example Request syntax with placeholder values
|
1044
1069
|
#
|
1045
1070
|
# resp = client.list_revision_assets({
|
@@ -1349,7 +1374,7 @@ module Aws::DataExchange
|
|
1349
1374
|
params: params,
|
1350
1375
|
config: config)
|
1351
1376
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
1352
|
-
context[:gem_version] = '1.
|
1377
|
+
context[:gem_version] = '1.6.0'
|
1353
1378
|
Seahorse::Client::Request.new(handlers, context)
|
1354
1379
|
end
|
1355
1380
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -38,6 +40,7 @@ module Aws::DataExchange
|
|
38
40
|
ExportAssetToSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlResponseDetails')
|
39
41
|
ExportAssetsToS3RequestDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3RequestDetails')
|
40
42
|
ExportAssetsToS3ResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3ResponseDetails')
|
43
|
+
ExportServerSideEncryption = Shapes::StructureShape.new(name: 'ExportServerSideEncryption')
|
41
44
|
GetAssetRequest = Shapes::StructureShape.new(name: 'GetAssetRequest')
|
42
45
|
GetAssetResponse = Shapes::StructureShape.new(name: 'GetAssetResponse')
|
43
46
|
GetDataSetRequest = Shapes::StructureShape.new(name: 'GetDataSetRequest')
|
@@ -88,6 +91,7 @@ module Aws::DataExchange
|
|
88
91
|
ResponseDetails = Shapes::StructureShape.new(name: 'ResponseDetails')
|
89
92
|
RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
|
90
93
|
S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
|
94
|
+
ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
|
91
95
|
ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
|
92
96
|
StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
|
93
97
|
StartJobResponse = Shapes::StructureShape.new(name: 'StartJobResponse')
|
@@ -237,14 +241,20 @@ module Aws::DataExchange
|
|
237
241
|
|
238
242
|
ExportAssetsToS3RequestDetails.add_member(:asset_destinations, Shapes::ShapeRef.new(shape: ListOfAssetDestinationEntry, required: true, location_name: "AssetDestinations"))
|
239
243
|
ExportAssetsToS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
244
|
+
ExportAssetsToS3RequestDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
240
245
|
ExportAssetsToS3RequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
241
246
|
ExportAssetsToS3RequestDetails.struct_class = Types::ExportAssetsToS3RequestDetails
|
242
247
|
|
243
248
|
ExportAssetsToS3ResponseDetails.add_member(:asset_destinations, Shapes::ShapeRef.new(shape: ListOfAssetDestinationEntry, required: true, location_name: "AssetDestinations"))
|
244
249
|
ExportAssetsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
250
|
+
ExportAssetsToS3ResponseDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
245
251
|
ExportAssetsToS3ResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
246
252
|
ExportAssetsToS3ResponseDetails.struct_class = Types::ExportAssetsToS3ResponseDetails
|
247
253
|
|
254
|
+
ExportServerSideEncryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: __string, location_name: "KmsKeyArn"))
|
255
|
+
ExportServerSideEncryption.add_member(:type, Shapes::ShapeRef.new(shape: ServerSideEncryptionTypes, required: true, location_name: "Type"))
|
256
|
+
ExportServerSideEncryption.struct_class = Types::ExportServerSideEncryption
|
257
|
+
|
248
258
|
GetAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "AssetId"))
|
249
259
|
GetAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
250
260
|
GetAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
|
@@ -836,24 +846,6 @@ module Aws::DataExchange
|
|
836
846
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
837
847
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
838
848
|
end)
|
839
|
-
|
840
|
-
api.add_authorizer(:create_job_authorizer, Seahorse::Model::Authorizer.new.tap do |a|
|
841
|
-
a.name = "create_job_authorizer"
|
842
|
-
a.type = "provided"
|
843
|
-
a.placement = {
|
844
|
-
:location => "header",
|
845
|
-
:name => "Authorization"
|
846
|
-
}
|
847
|
-
end)
|
848
|
-
|
849
|
-
api.add_authorizer(:start_cancel_get_job_authorizer, Seahorse::Model::Authorizer.new.tap do |a|
|
850
|
-
a.name = "start_cancel_get_job_authorizer"
|
851
|
-
a.type = "provided"
|
852
|
-
a.placement = {
|
853
|
-
:location => "header",
|
854
|
-
:name => "Authorization"
|
855
|
-
}
|
856
|
-
end)
|
857
849
|
end
|
858
850
|
|
859
851
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::DataExchange
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::DataExchange::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::DataExchange::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::DataExchange::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -338,6 +340,10 @@ module Aws::DataExchange
|
|
338
340
|
# },
|
339
341
|
# ],
|
340
342
|
# data_set_id: "Id", # required
|
343
|
+
# encryption: {
|
344
|
+
# kms_key_arn: "__string",
|
345
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
346
|
+
# },
|
341
347
|
# revision_id: "Id", # required
|
342
348
|
# },
|
343
349
|
# import_asset_from_signed_url: {
|
@@ -742,6 +748,10 @@ module Aws::DataExchange
|
|
742
748
|
# },
|
743
749
|
# ],
|
744
750
|
# data_set_id: "Id", # required
|
751
|
+
# encryption: {
|
752
|
+
# kms_key_arn: "__string",
|
753
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
754
|
+
# },
|
745
755
|
# revision_id: "Id", # required
|
746
756
|
# }
|
747
757
|
#
|
@@ -754,6 +764,10 @@ module Aws::DataExchange
|
|
754
764
|
# job.
|
755
765
|
# @return [String]
|
756
766
|
#
|
767
|
+
# @!attribute [rw] encryption
|
768
|
+
# Encryption configuration for the export job.
|
769
|
+
# @return [Types::ExportServerSideEncryption]
|
770
|
+
#
|
757
771
|
# @!attribute [rw] revision_id
|
758
772
|
# The unique identifier for the revision associated with this export
|
759
773
|
# request.
|
@@ -764,6 +778,7 @@ module Aws::DataExchange
|
|
764
778
|
class ExportAssetsToS3RequestDetails < Struct.new(
|
765
779
|
:asset_destinations,
|
766
780
|
:data_set_id,
|
781
|
+
:encryption,
|
767
782
|
:revision_id)
|
768
783
|
include Aws::Structure
|
769
784
|
end
|
@@ -779,6 +794,10 @@ module Aws::DataExchange
|
|
779
794
|
# job.
|
780
795
|
# @return [String]
|
781
796
|
#
|
797
|
+
# @!attribute [rw] encryption
|
798
|
+
# Encryption configuration of the export job.
|
799
|
+
# @return [Types::ExportServerSideEncryption]
|
800
|
+
#
|
782
801
|
# @!attribute [rw] revision_id
|
783
802
|
# The unique identifier for the revision associated with this export
|
784
803
|
# response.
|
@@ -789,10 +808,42 @@ module Aws::DataExchange
|
|
789
808
|
class ExportAssetsToS3ResponseDetails < Struct.new(
|
790
809
|
:asset_destinations,
|
791
810
|
:data_set_id,
|
811
|
+
:encryption,
|
792
812
|
:revision_id)
|
793
813
|
include Aws::Structure
|
794
814
|
end
|
795
815
|
|
816
|
+
# Encryption configuration of the export job. Includes the encryption
|
817
|
+
# type as well as the AWS KMS key. The KMS key is only necessary if you
|
818
|
+
# chose the KMS encryption type.
|
819
|
+
#
|
820
|
+
# @note When making an API call, you may pass ExportServerSideEncryption
|
821
|
+
# data as a hash:
|
822
|
+
#
|
823
|
+
# {
|
824
|
+
# kms_key_arn: "__string",
|
825
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
826
|
+
# }
|
827
|
+
#
|
828
|
+
# @!attribute [rw] kms_key_arn
|
829
|
+
# The Amazon Resource Name (ARN) of the the AWS KMS key you want to
|
830
|
+
# use to encrypt the Amazon S3 objects. This parameter is required if
|
831
|
+
# you choose aws:kms as an encryption type.
|
832
|
+
# @return [String]
|
833
|
+
#
|
834
|
+
# @!attribute [rw] type
|
835
|
+
# The type of server side encryption used for encrypting the objects
|
836
|
+
# in Amazon S3.
|
837
|
+
# @return [String]
|
838
|
+
#
|
839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportServerSideEncryption AWS API Documentation
|
840
|
+
#
|
841
|
+
class ExportServerSideEncryption < Struct.new(
|
842
|
+
:kms_key_arn,
|
843
|
+
:type)
|
844
|
+
include Aws::Structure
|
845
|
+
end
|
846
|
+
|
796
847
|
# @note When making an API call, you may pass GetAssetRequest
|
797
848
|
# data as a hash:
|
798
849
|
#
|
@@ -1350,7 +1401,7 @@ module Aws::DataExchange
|
|
1350
1401
|
# @return [String]
|
1351
1402
|
#
|
1352
1403
|
# @!attribute [rw] resource_id
|
1353
|
-
# The
|
1404
|
+
# The unique identifier for the resource related to the error.
|
1354
1405
|
# @return [String]
|
1355
1406
|
#
|
1356
1407
|
# @!attribute [rw] resource_type
|
@@ -1609,6 +1660,10 @@ module Aws::DataExchange
|
|
1609
1660
|
# },
|
1610
1661
|
# ],
|
1611
1662
|
# data_set_id: "Id", # required
|
1663
|
+
# encryption: {
|
1664
|
+
# kms_key_arn: "__string",
|
1665
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
1666
|
+
# },
|
1612
1667
|
# revision_id: "Id", # required
|
1613
1668
|
# },
|
1614
1669
|
# import_asset_from_signed_url: {
|
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.6.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-
|
11
|
+
date: 2020-06-16 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.
|
22
|
+
version: 3.99.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.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS Data Exchange
|