aws-sdk-dataexchange 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bb7ec1a519d91f11ec4a340bb9ebff50aa57c38be7a9f96643e8f6ad32c9e880
|
4
|
+
data.tar.gz: a476a8fb67f77f9126dec883631a84676514bf7bef99b05fe900fea64b8c7c7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330a733b28658976ab171f5f18f4b9b19f61a4651132b21cd7d394db51cecbe84ee2936dc50759911ca971a8192dd52b03fa45db42d0ec5aad9b15b8c3fec227
|
7
|
+
data.tar.gz: e35502aee0be1d1be1e7d9167f941b9628f655832e1ca20606b0fcfe3e5e6f124f5563f3739c7f92638ddad5429de57e974fc93ab17aeb936b2133e73261438d
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:dataexchange)
|
|
32
32
|
module Aws::DataExchange
|
33
33
|
# An API client for DataExchange. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::DataExchange::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::DataExchange
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::DataExchange
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# 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}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::DataExchange
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -433,6 +436,10 @@ module Aws::DataExchange
|
|
433
436
|
# },
|
434
437
|
# ],
|
435
438
|
# data_set_id: "Id", # required
|
439
|
+
# encryption: {
|
440
|
+
# kms_key_arn: "__string", # required
|
441
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
442
|
+
# },
|
436
443
|
# revision_id: "Id", # required
|
437
444
|
# },
|
438
445
|
# import_asset_from_signed_url: {
|
@@ -469,6 +476,8 @@ module Aws::DataExchange
|
|
469
476
|
# resp.details.export_assets_to_s3.asset_destinations[0].bucket #=> String
|
470
477
|
# resp.details.export_assets_to_s3.asset_destinations[0].key #=> String
|
471
478
|
# resp.details.export_assets_to_s3.data_set_id #=> String
|
479
|
+
# resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
480
|
+
# resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
472
481
|
# resp.details.export_assets_to_s3.revision_id #=> String
|
473
482
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
474
483
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
@@ -770,6 +779,8 @@ module Aws::DataExchange
|
|
770
779
|
# resp.details.export_assets_to_s3.asset_destinations[0].bucket #=> String
|
771
780
|
# resp.details.export_assets_to_s3.asset_destinations[0].key #=> String
|
772
781
|
# resp.details.export_assets_to_s3.data_set_id #=> String
|
782
|
+
# resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
783
|
+
# resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
773
784
|
# resp.details.export_assets_to_s3.revision_id #=> String
|
774
785
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
775
786
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
@@ -868,6 +879,8 @@ module Aws::DataExchange
|
|
868
879
|
# * {Types::ListDataSetRevisionsResponse#next_token #next_token} => String
|
869
880
|
# * {Types::ListDataSetRevisionsResponse#revisions #revisions} => Array<Types::RevisionEntry>
|
870
881
|
#
|
882
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
883
|
+
#
|
871
884
|
# @example Request syntax with placeholder values
|
872
885
|
#
|
873
886
|
# resp = client.list_data_set_revisions({
|
@@ -914,6 +927,8 @@ module Aws::DataExchange
|
|
914
927
|
# * {Types::ListDataSetsResponse#data_sets #data_sets} => Array<Types::DataSetEntry>
|
915
928
|
# * {Types::ListDataSetsResponse#next_token #next_token} => String
|
916
929
|
#
|
930
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
931
|
+
#
|
917
932
|
# @example Request syntax with placeholder values
|
918
933
|
#
|
919
934
|
# resp = client.list_data_sets({
|
@@ -962,6 +977,8 @@ module Aws::DataExchange
|
|
962
977
|
# * {Types::ListJobsResponse#jobs #jobs} => Array<Types::JobEntry>
|
963
978
|
# * {Types::ListJobsResponse#next_token #next_token} => String
|
964
979
|
#
|
980
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
981
|
+
#
|
965
982
|
# @example Request syntax with placeholder values
|
966
983
|
#
|
967
984
|
# resp = client.list_jobs({
|
@@ -986,6 +1003,8 @@ module Aws::DataExchange
|
|
986
1003
|
# resp.jobs[0].details.export_assets_to_s3.asset_destinations[0].bucket #=> String
|
987
1004
|
# resp.jobs[0].details.export_assets_to_s3.asset_destinations[0].key #=> String
|
988
1005
|
# resp.jobs[0].details.export_assets_to_s3.data_set_id #=> String
|
1006
|
+
# resp.jobs[0].details.export_assets_to_s3.encryption.kms_key_arn #=> String
|
1007
|
+
# resp.jobs[0].details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
989
1008
|
# resp.jobs[0].details.export_assets_to_s3.revision_id #=> String
|
990
1009
|
# resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
|
991
1010
|
# resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
|
@@ -1040,6 +1059,8 @@ module Aws::DataExchange
|
|
1040
1059
|
# * {Types::ListRevisionAssetsResponse#assets #assets} => Array<Types::AssetEntry>
|
1041
1060
|
# * {Types::ListRevisionAssetsResponse#next_token #next_token} => String
|
1042
1061
|
#
|
1062
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1063
|
+
#
|
1043
1064
|
# @example Request syntax with placeholder values
|
1044
1065
|
#
|
1045
1066
|
# resp = client.list_revision_assets({
|
@@ -1349,7 +1370,7 @@ module Aws::DataExchange
|
|
1349
1370
|
params: params,
|
1350
1371
|
config: config)
|
1351
1372
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
1352
|
-
context[:gem_version] = '1.
|
1373
|
+
context[:gem_version] = '1.2.0'
|
1353
1374
|
Seahorse::Client::Request.new(handlers, context)
|
1354
1375
|
end
|
1355
1376
|
|
@@ -38,6 +38,7 @@ module Aws::DataExchange
|
|
38
38
|
ExportAssetToSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlResponseDetails')
|
39
39
|
ExportAssetsToS3RequestDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3RequestDetails')
|
40
40
|
ExportAssetsToS3ResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3ResponseDetails')
|
41
|
+
ExportServerSideEncryption = Shapes::StructureShape.new(name: 'ExportServerSideEncryption')
|
41
42
|
GetAssetRequest = Shapes::StructureShape.new(name: 'GetAssetRequest')
|
42
43
|
GetAssetResponse = Shapes::StructureShape.new(name: 'GetAssetResponse')
|
43
44
|
GetDataSetRequest = Shapes::StructureShape.new(name: 'GetDataSetRequest')
|
@@ -88,6 +89,7 @@ module Aws::DataExchange
|
|
88
89
|
ResponseDetails = Shapes::StructureShape.new(name: 'ResponseDetails')
|
89
90
|
RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
|
90
91
|
S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
|
92
|
+
ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
|
91
93
|
ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
|
92
94
|
StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
|
93
95
|
StartJobResponse = Shapes::StructureShape.new(name: 'StartJobResponse')
|
@@ -237,14 +239,20 @@ module Aws::DataExchange
|
|
237
239
|
|
238
240
|
ExportAssetsToS3RequestDetails.add_member(:asset_destinations, Shapes::ShapeRef.new(shape: ListOfAssetDestinationEntry, required: true, location_name: "AssetDestinations"))
|
239
241
|
ExportAssetsToS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
242
|
+
ExportAssetsToS3RequestDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
240
243
|
ExportAssetsToS3RequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
241
244
|
ExportAssetsToS3RequestDetails.struct_class = Types::ExportAssetsToS3RequestDetails
|
242
245
|
|
243
246
|
ExportAssetsToS3ResponseDetails.add_member(:asset_destinations, Shapes::ShapeRef.new(shape: ListOfAssetDestinationEntry, required: true, location_name: "AssetDestinations"))
|
244
247
|
ExportAssetsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
248
|
+
ExportAssetsToS3ResponseDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
|
245
249
|
ExportAssetsToS3ResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
246
250
|
ExportAssetsToS3ResponseDetails.struct_class = Types::ExportAssetsToS3ResponseDetails
|
247
251
|
|
252
|
+
ExportServerSideEncryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "KmsKeyArn"))
|
253
|
+
ExportServerSideEncryption.add_member(:type, Shapes::ShapeRef.new(shape: ServerSideEncryptionTypes, required: true, location_name: "Type"))
|
254
|
+
ExportServerSideEncryption.struct_class = Types::ExportServerSideEncryption
|
255
|
+
|
248
256
|
GetAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "AssetId"))
|
249
257
|
GetAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
250
258
|
GetAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
|
@@ -836,24 +844,6 @@ module Aws::DataExchange
|
|
836
844
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
837
845
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
838
846
|
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
847
|
end
|
858
848
|
|
859
849
|
end
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
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)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -338,6 +338,10 @@ module Aws::DataExchange
|
|
338
338
|
# },
|
339
339
|
# ],
|
340
340
|
# data_set_id: "Id", # required
|
341
|
+
# encryption: {
|
342
|
+
# kms_key_arn: "__string", # required
|
343
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
344
|
+
# },
|
341
345
|
# revision_id: "Id", # required
|
342
346
|
# },
|
343
347
|
# import_asset_from_signed_url: {
|
@@ -742,6 +746,10 @@ module Aws::DataExchange
|
|
742
746
|
# },
|
743
747
|
# ],
|
744
748
|
# data_set_id: "Id", # required
|
749
|
+
# encryption: {
|
750
|
+
# kms_key_arn: "__string", # required
|
751
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
752
|
+
# },
|
745
753
|
# revision_id: "Id", # required
|
746
754
|
# }
|
747
755
|
#
|
@@ -754,6 +762,10 @@ module Aws::DataExchange
|
|
754
762
|
# job.
|
755
763
|
# @return [String]
|
756
764
|
#
|
765
|
+
# @!attribute [rw] encryption
|
766
|
+
# Encryption configuration for the export job.
|
767
|
+
# @return [Types::ExportServerSideEncryption]
|
768
|
+
#
|
757
769
|
# @!attribute [rw] revision_id
|
758
770
|
# The unique identifier for the revision associated with this export
|
759
771
|
# request.
|
@@ -764,6 +776,7 @@ module Aws::DataExchange
|
|
764
776
|
class ExportAssetsToS3RequestDetails < Struct.new(
|
765
777
|
:asset_destinations,
|
766
778
|
:data_set_id,
|
779
|
+
:encryption,
|
767
780
|
:revision_id)
|
768
781
|
include Aws::Structure
|
769
782
|
end
|
@@ -779,6 +792,10 @@ module Aws::DataExchange
|
|
779
792
|
# job.
|
780
793
|
# @return [String]
|
781
794
|
#
|
795
|
+
# @!attribute [rw] encryption
|
796
|
+
# Encryption configuration of the export job.
|
797
|
+
# @return [Types::ExportServerSideEncryption]
|
798
|
+
#
|
782
799
|
# @!attribute [rw] revision_id
|
783
800
|
# The unique identifier for the revision associated with this export
|
784
801
|
# response.
|
@@ -789,10 +806,42 @@ module Aws::DataExchange
|
|
789
806
|
class ExportAssetsToS3ResponseDetails < Struct.new(
|
790
807
|
:asset_destinations,
|
791
808
|
:data_set_id,
|
809
|
+
:encryption,
|
792
810
|
:revision_id)
|
793
811
|
include Aws::Structure
|
794
812
|
end
|
795
813
|
|
814
|
+
# Encryption configuration of the export job. Includes the encryption
|
815
|
+
# type as well as the AWS KMS key. The KMS key is only necessary if you
|
816
|
+
# chose the KMS encryption type.
|
817
|
+
#
|
818
|
+
# @note When making an API call, you may pass ExportServerSideEncryption
|
819
|
+
# data as a hash:
|
820
|
+
#
|
821
|
+
# {
|
822
|
+
# kms_key_arn: "__string", # required
|
823
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
824
|
+
# }
|
825
|
+
#
|
826
|
+
# @!attribute [rw] kms_key_arn
|
827
|
+
# The Amazon Resource Name (ARN) of the the AWS KMS key you want to
|
828
|
+
# use to encrypt the Amazon S3 objects. This parameter is required if
|
829
|
+
# you choose aws:kms as an encryption type.
|
830
|
+
# @return [String]
|
831
|
+
#
|
832
|
+
# @!attribute [rw] type
|
833
|
+
# The type of server side encryption used for encrypting the objects
|
834
|
+
# in Amazon S3.
|
835
|
+
# @return [String]
|
836
|
+
#
|
837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportServerSideEncryption AWS API Documentation
|
838
|
+
#
|
839
|
+
class ExportServerSideEncryption < Struct.new(
|
840
|
+
:kms_key_arn,
|
841
|
+
:type)
|
842
|
+
include Aws::Structure
|
843
|
+
end
|
844
|
+
|
796
845
|
# @note When making an API call, you may pass GetAssetRequest
|
797
846
|
# data as a hash:
|
798
847
|
#
|
@@ -1350,7 +1399,7 @@ module Aws::DataExchange
|
|
1350
1399
|
# @return [String]
|
1351
1400
|
#
|
1352
1401
|
# @!attribute [rw] resource_id
|
1353
|
-
# The
|
1402
|
+
# The unique identifier for the resource related to the error.
|
1354
1403
|
# @return [String]
|
1355
1404
|
#
|
1356
1405
|
# @!attribute [rw] resource_type
|
@@ -1609,6 +1658,10 @@ module Aws::DataExchange
|
|
1609
1658
|
# },
|
1610
1659
|
# ],
|
1611
1660
|
# data_set_id: "Id", # required
|
1661
|
+
# encryption: {
|
1662
|
+
# kms_key_arn: "__string", # required
|
1663
|
+
# type: "aws:kms", # required, accepts aws:kms, AES256
|
1664
|
+
# },
|
1612
1665
|
# revision_id: "Id", # required
|
1613
1666
|
# },
|
1614
1667
|
# 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.2.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-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -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
|