aws-sdk-dataexchange 1.0.0 → 1.5.1

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
- SHA1:
3
- metadata.gz: f81b9bb1f0412ae542bd8f980b7f672de9aa6033
4
- data.tar.gz: c19804fdc6c6291f3c9bfdfd23a6734a5b5e0a3b
2
+ SHA256:
3
+ metadata.gz: 4b5798102b438202e63af39cc30cb9ad29330e8b3d356b244a4f077e416cf807
4
+ data.tar.gz: e59cb83dd04103a222fffd24ee2ce84aa87450ef2f5e600a4811a779d0de2316
5
5
  SHA512:
6
- metadata.gz: 4645916542e31504907db52f41b30caaf5ef5999b34ad3c706a96c31c4a29acbaa3722935183556d5d4428a2aa9b036fef12323f82d38fdb09d458be5be25801
7
- data.tar.gz: b5b8b8d0e5a823a7443f49f05928922594acc115993a76e226bfce1aa9d07ff02125783fa7936866d74547c8808478114c174e3f2a0df15f00fd2019bcd4b98c
6
+ metadata.gz: 75b91708bc0cc06597236b3ab009287383488b25bb423f5021e14eb56eb06b8d019bf55051014cda70acd8bb8b26025669623b495ac889fdd8bc3b8178a15c8e
7
+ data.tar.gz: 367bb0521c89d618f36f92f1bba35e24a925eebc47ee7466a5341817851586e2b52087f79ed9b8ac047cff42f10b8f7ca467bdbefb0adc8e1771679b3f0cff50
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-dataexchange/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # data_exchange = Aws::DataExchange::Client.new
28
+ # resp = data_exchange.cancel_job(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from AWS Data Exchange all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from AWS Data Exchange are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::DataExchange::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all AWS Data Exchange API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-dataexchange/customizations'
42
45
  # @service
43
46
  module Aws::DataExchange
44
47
 
45
- GEM_VERSION = '1.0.0'
48
+ GEM_VERSION = '1.5.1'
46
49
 
47
50
  end
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
 
30
31
  Aws::Plugins::GlobalConfiguration.add_identifier(:dataexchange)
31
32
 
32
33
  module Aws::DataExchange
34
+ # An API client for DataExchange. To construct a client, you need to configure a `:region` and `:credentials`.
35
+ #
36
+ # client = Aws::DataExchange::Client.new(
37
+ # region: region_name,
38
+ # credentials: credentials,
39
+ # # ...
40
+ # )
41
+ #
42
+ # For details on configuring region and credentials see
43
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
44
+ #
45
+ # See {#initialize} for a full list of supported configuration options.
33
46
  class Client < Seahorse::Client::Base
34
47
 
35
48
  include Aws::ClientStubs
@@ -57,6 +70,7 @@ module Aws::DataExchange
57
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
60
74
  add_plugin(Aws::Plugins::SignatureV4)
61
75
  add_plugin(Aws::Plugins::Protocols::RestJson)
62
76
 
@@ -93,7 +107,7 @@ module Aws::DataExchange
93
107
  # @option options [required, String] :region
94
108
  # The AWS region to connect to. The configured `:region` is
95
109
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
97
111
  #
98
112
  # * `Aws.config[:region]`
99
113
  # * `ENV['AWS_REGION']`
@@ -108,6 +122,12 @@ module Aws::DataExchange
108
122
  # When set to `true`, a thread polling for endpoints will be running in
109
123
  # the background every 60 secs (default). Defaults to `false`.
110
124
  #
125
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
126
+ # Used only in `adaptive` retry mode. When true, the request will sleep
127
+ # until there is sufficent client side capacity to retry the request.
128
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
129
+ # not retry instead of sleeping.
130
+ #
111
131
  # @option options [Boolean] :client_side_monitoring (false)
112
132
  # When `true`, client-side metrics will be collected for all API requests from
113
133
  # this client.
@@ -132,6 +152,10 @@ module Aws::DataExchange
132
152
  # When `true`, an attempt is made to coerce request parameters into
133
153
  # the required types.
134
154
  #
155
+ # @option options [Boolean] :correct_clock_skew (true)
156
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
157
+ # a clock skew correction and retry requests with skewed client clocks.
158
+ #
135
159
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
160
  # Set to true to disable SDK automatically adding host prefix
137
161
  # to default service endpoint when available.
@@ -139,7 +163,7 @@ module Aws::DataExchange
139
163
  # @option options [String] :endpoint
140
164
  # The client endpoint is normally constructed from the `:region`
141
165
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
167
  #
144
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +178,7 @@ module Aws::DataExchange
154
178
  # requests fetching endpoints information. Defaults to 60 sec.
155
179
  #
156
180
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
182
  #
159
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
184
  # The log formatter.
@@ -166,15 +190,29 @@ module Aws::DataExchange
166
190
  # The Logger instance to send log messages to. If this option
167
191
  # is not set, logging will be disabled.
168
192
  #
193
+ # @option options [Integer] :max_attempts (3)
194
+ # An integer representing the maximum number attempts that will be made for
195
+ # a single request, including the initial attempt. For example,
196
+ # setting this value to 5 will result in a request being retried up to
197
+ # 4 times. Used in `standard` and `adaptive` retry modes.
198
+ #
169
199
  # @option options [String] :profile ("default")
170
200
  # Used when loading credentials from the shared credentials file
171
201
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
202
  #
203
+ # @option options [Proc] :retry_backoff
204
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
205
+ # This option is only used in the `legacy` retry mode.
206
+ #
173
207
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
208
+ # The base delay in seconds used by the default backoff function. This option
209
+ # is only used in the `legacy` retry mode.
175
210
  #
176
211
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
212
+ # A delay randomiser function used by the default backoff function.
213
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
214
+ # otherwise a Proc that takes and returns a number. This option is only used
215
+ # in the `legacy` retry mode.
178
216
  #
179
217
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
218
  #
@@ -182,11 +220,30 @@ module Aws::DataExchange
182
220
  # The maximum number of times to retry failed requests. Only
183
221
  # ~ 500 level server errors and certain ~ 400 level client errors
184
222
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
223
+ # checksum errors, networking errors, timeout errors, auth errors,
224
+ # endpoint discovery, and errors from expired credentials.
225
+ # This option is only used in the `legacy` retry mode.
187
226
  #
188
227
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
228
+ # The maximum number of seconds to delay between retries (0 for no limit)
229
+ # used by the default backoff function. This option is only used in the
230
+ # `legacy` retry mode.
231
+ #
232
+ # @option options [String] :retry_mode ("legacy")
233
+ # Specifies which retry algorithm to use. Values are:
234
+ #
235
+ # * `legacy` - The pre-existing retry behavior. This is default value if
236
+ # no retry mode is provided.
237
+ #
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ #
242
+ # * `adaptive` - An experimental retry mode that includes all the
243
+ # functionality of `standard` mode along with automatic client side
244
+ # throttling. This is a provisional mode that may change behavior
245
+ # in the future.
246
+ #
190
247
  #
191
248
  # @option options [String] :secret_access_key
192
249
  #
@@ -209,16 +266,15 @@ module Aws::DataExchange
209
266
  # requests through. Formatted like 'http://proxy.com:123'.
210
267
  #
211
268
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
269
+ # seconds to wait when opening a HTTP session before raising a
213
270
  # `Timeout::Error`.
214
271
  #
215
272
  # @option options [Integer] :http_read_timeout (60) The default
216
273
  # number of seconds to wait for response data. This value can
217
- # safely be set
218
- # per-request on the session yeidled by {#session_for}.
274
+ # safely be set per-request on the session.
219
275
  #
220
276
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
277
+ # seconds a connection is allowed to sit idle before it is
222
278
  # considered stale. Stale connections are closed and removed
223
279
  # from the pool before making a request.
224
280
  #
@@ -227,7 +283,7 @@ module Aws::DataExchange
227
283
  # request body. This option has no effect unless the request has
228
284
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
285
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
286
+ # request on the session.
231
287
  #
232
288
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
289
  # HTTP debug output will be sent to the `:logger`.
@@ -382,6 +438,10 @@ module Aws::DataExchange
382
438
  # },
383
439
  # ],
384
440
  # data_set_id: "Id", # required
441
+ # encryption: {
442
+ # kms_key_arn: "__string", # required
443
+ # type: "aws:kms", # required, accepts aws:kms, AES256
444
+ # },
385
445
  # revision_id: "Id", # required
386
446
  # },
387
447
  # import_asset_from_signed_url: {
@@ -418,6 +478,8 @@ module Aws::DataExchange
418
478
  # resp.details.export_assets_to_s3.asset_destinations[0].bucket #=> String
419
479
  # resp.details.export_assets_to_s3.asset_destinations[0].key #=> String
420
480
  # resp.details.export_assets_to_s3.data_set_id #=> String
481
+ # resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
482
+ # resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
421
483
  # resp.details.export_assets_to_s3.revision_id #=> String
422
484
  # resp.details.import_asset_from_signed_url.asset_name #=> String
423
485
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
@@ -719,6 +781,8 @@ module Aws::DataExchange
719
781
  # resp.details.export_assets_to_s3.asset_destinations[0].bucket #=> String
720
782
  # resp.details.export_assets_to_s3.asset_destinations[0].key #=> String
721
783
  # resp.details.export_assets_to_s3.data_set_id #=> String
784
+ # resp.details.export_assets_to_s3.encryption.kms_key_arn #=> String
785
+ # resp.details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
722
786
  # resp.details.export_assets_to_s3.revision_id #=> String
723
787
  # resp.details.import_asset_from_signed_url.asset_name #=> String
724
788
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
@@ -817,6 +881,8 @@ module Aws::DataExchange
817
881
  # * {Types::ListDataSetRevisionsResponse#next_token #next_token} => String
818
882
  # * {Types::ListDataSetRevisionsResponse#revisions #revisions} => Array&lt;Types::RevisionEntry&gt;
819
883
  #
884
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
885
+ #
820
886
  # @example Request syntax with placeholder values
821
887
  #
822
888
  # resp = client.list_data_set_revisions({
@@ -863,6 +929,8 @@ module Aws::DataExchange
863
929
  # * {Types::ListDataSetsResponse#data_sets #data_sets} => Array&lt;Types::DataSetEntry&gt;
864
930
  # * {Types::ListDataSetsResponse#next_token #next_token} => String
865
931
  #
932
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
933
+ #
866
934
  # @example Request syntax with placeholder values
867
935
  #
868
936
  # resp = client.list_data_sets({
@@ -911,6 +979,8 @@ module Aws::DataExchange
911
979
  # * {Types::ListJobsResponse#jobs #jobs} => Array&lt;Types::JobEntry&gt;
912
980
  # * {Types::ListJobsResponse#next_token #next_token} => String
913
981
  #
982
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
983
+ #
914
984
  # @example Request syntax with placeholder values
915
985
  #
916
986
  # resp = client.list_jobs({
@@ -935,6 +1005,8 @@ module Aws::DataExchange
935
1005
  # resp.jobs[0].details.export_assets_to_s3.asset_destinations[0].bucket #=> String
936
1006
  # resp.jobs[0].details.export_assets_to_s3.asset_destinations[0].key #=> String
937
1007
  # resp.jobs[0].details.export_assets_to_s3.data_set_id #=> String
1008
+ # resp.jobs[0].details.export_assets_to_s3.encryption.kms_key_arn #=> String
1009
+ # resp.jobs[0].details.export_assets_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
938
1010
  # resp.jobs[0].details.export_assets_to_s3.revision_id #=> String
939
1011
  # resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
940
1012
  # resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
@@ -989,6 +1061,8 @@ module Aws::DataExchange
989
1061
  # * {Types::ListRevisionAssetsResponse#assets #assets} => Array&lt;Types::AssetEntry&gt;
990
1062
  # * {Types::ListRevisionAssetsResponse#next_token #next_token} => String
991
1063
  #
1064
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1065
+ #
992
1066
  # @example Request syntax with placeholder values
993
1067
  #
994
1068
  # resp = client.list_revision_assets({
@@ -1298,7 +1372,7 @@ module Aws::DataExchange
1298
1372
  params: params,
1299
1373
  config: config)
1300
1374
  context[:gem_name] = 'aws-sdk-dataexchange'
1301
- context[:gem_version] = '1.0.0'
1375
+ context[:gem_version] = '1.5.1'
1302
1376
  Seahorse::Client::Request.new(handlers, context)
1303
1377
  end
1304
1378
 
@@ -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,6 +6,35 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::DataExchange
9
+
10
+ # When DataExchange returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::DataExchange::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all DataExchange errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::DataExchange::Errors::ServiceError
18
+ # # rescues all DataExchange API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {AccessDeniedException}
29
+ # * {ConflictException}
30
+ # * {InternalServerException}
31
+ # * {ResourceNotFoundException}
32
+ # * {ServiceLimitExceededException}
33
+ # * {ThrottlingException}
34
+ # * {ValidationException}
35
+ #
36
+ # Additionally, error classes are dynamically generated for service errors based on the error code
37
+ # if they are not defined above.
9
38
  module Errors
10
39
 
11
40
  extend Aws::Errors::DynamicErrors
@@ -23,7 +52,6 @@ module Aws::DataExchange
23
52
  def message
24
53
  @message || @data[:message]
25
54
  end
26
-
27
55
  end
28
56
 
29
57
  class ConflictException < ServiceError
@@ -49,7 +77,6 @@ module Aws::DataExchange
49
77
  def resource_type
50
78
  @data[:resource_type]
51
79
  end
52
-
53
80
  end
54
81
 
55
82
  class InternalServerException < ServiceError
@@ -65,7 +92,6 @@ module Aws::DataExchange
65
92
  def message
66
93
  @message || @data[:message]
67
94
  end
68
-
69
95
  end
70
96
 
71
97
  class ResourceNotFoundException < ServiceError
@@ -91,7 +117,6 @@ module Aws::DataExchange
91
117
  def resource_type
92
118
  @data[:resource_type]
93
119
  end
94
-
95
120
  end
96
121
 
97
122
  class ServiceLimitExceededException < ServiceError
@@ -117,7 +142,6 @@ module Aws::DataExchange
117
142
  def message
118
143
  @message || @data[:message]
119
144
  end
120
-
121
145
  end
122
146
 
123
147
  class ThrottlingException < ServiceError
@@ -133,7 +157,6 @@ module Aws::DataExchange
133
157
  def message
134
158
  @message || @data[:message]
135
159
  end
136
-
137
160
  end
138
161
 
139
162
  class ValidationException < ServiceError
@@ -149,7 +172,6 @@ module Aws::DataExchange
149
172
  def message
150
173
  @message || @data[:message]
151
174
  end
152
-
153
175
  end
154
176
 
155
177
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::DataExchange
9
+
9
10
  class Resource
10
11
 
11
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 unqiue identifier for the resource related to the error.
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.0.0
4
+ version: 1.5.1
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: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.71.0
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.71.0
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.5.2.3
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