aws-sdk-lakeformation 1.17.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,11 +31,19 @@ module Aws::LakeFormation
31
31
  # * {AlreadyExistsException}
32
32
  # * {ConcurrentModificationException}
33
33
  # * {EntityNotFoundException}
34
+ # * {ExpiredException}
34
35
  # * {GlueEncryptionException}
35
36
  # * {InternalServiceException}
36
37
  # * {InvalidInputException}
37
38
  # * {OperationTimeoutException}
39
+ # * {ResourceNotReadyException}
38
40
  # * {ResourceNumberLimitExceededException}
41
+ # * {StatisticsNotReadyYetException}
42
+ # * {ThrottledException}
43
+ # * {TransactionCanceledException}
44
+ # * {TransactionCommitInProgressException}
45
+ # * {TransactionCommittedException}
46
+ # * {WorkUnitsNotReadyYetException}
39
47
  #
40
48
  # Additionally, error classes are dynamically generated for service errors based on the error code
41
49
  # if they are not defined above.
@@ -103,6 +111,21 @@ module Aws::LakeFormation
103
111
  end
104
112
  end
105
113
 
114
+ class ExpiredException < ServiceError
115
+
116
+ # @param [Seahorse::Client::RequestContext] context
117
+ # @param [String] message
118
+ # @param [Aws::LakeFormation::Types::ExpiredException] data
119
+ def initialize(context, message, data = Aws::EmptyStructure.new)
120
+ super(context, message, data)
121
+ end
122
+
123
+ # @return [String]
124
+ def message
125
+ @message || @data[:message]
126
+ end
127
+ end
128
+
106
129
  class GlueEncryptionException < ServiceError
107
130
 
108
131
  # @param [Seahorse::Client::RequestContext] context
@@ -163,6 +186,21 @@ module Aws::LakeFormation
163
186
  end
164
187
  end
165
188
 
189
+ class ResourceNotReadyException < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::LakeFormation::Types::ResourceNotReadyException] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+ end
203
+
166
204
  class ResourceNumberLimitExceededException < ServiceError
167
205
 
168
206
  # @param [Seahorse::Client::RequestContext] context
@@ -178,5 +216,103 @@ module Aws::LakeFormation
178
216
  end
179
217
  end
180
218
 
219
+ class StatisticsNotReadyYetException < ServiceError
220
+
221
+ # @param [Seahorse::Client::RequestContext] context
222
+ # @param [String] message
223
+ # @param [Aws::LakeFormation::Types::StatisticsNotReadyYetException] data
224
+ def initialize(context, message, data = Aws::EmptyStructure.new)
225
+ super(context, message, data)
226
+ end
227
+
228
+ # @return [String]
229
+ def message
230
+ @message || @data[:message]
231
+ end
232
+ end
233
+
234
+ class ThrottledException < ServiceError
235
+
236
+ # @param [Seahorse::Client::RequestContext] context
237
+ # @param [String] message
238
+ # @param [Aws::LakeFormation::Types::ThrottledException] data
239
+ def initialize(context, message, data = Aws::EmptyStructure.new)
240
+ super(context, message, data)
241
+ end
242
+
243
+ # @return [String]
244
+ def message
245
+ @message || @data[:message]
246
+ end
247
+
248
+ def retryable?
249
+ true
250
+ end
251
+
252
+ def throttling?
253
+ true
254
+ end
255
+ end
256
+
257
+ class TransactionCanceledException < ServiceError
258
+
259
+ # @param [Seahorse::Client::RequestContext] context
260
+ # @param [String] message
261
+ # @param [Aws::LakeFormation::Types::TransactionCanceledException] data
262
+ def initialize(context, message, data = Aws::EmptyStructure.new)
263
+ super(context, message, data)
264
+ end
265
+
266
+ # @return [String]
267
+ def message
268
+ @message || @data[:message]
269
+ end
270
+ end
271
+
272
+ class TransactionCommitInProgressException < ServiceError
273
+
274
+ # @param [Seahorse::Client::RequestContext] context
275
+ # @param [String] message
276
+ # @param [Aws::LakeFormation::Types::TransactionCommitInProgressException] data
277
+ def initialize(context, message, data = Aws::EmptyStructure.new)
278
+ super(context, message, data)
279
+ end
280
+
281
+ # @return [String]
282
+ def message
283
+ @message || @data[:message]
284
+ end
285
+ end
286
+
287
+ class TransactionCommittedException < ServiceError
288
+
289
+ # @param [Seahorse::Client::RequestContext] context
290
+ # @param [String] message
291
+ # @param [Aws::LakeFormation::Types::TransactionCommittedException] data
292
+ def initialize(context, message, data = Aws::EmptyStructure.new)
293
+ super(context, message, data)
294
+ end
295
+
296
+ # @return [String]
297
+ def message
298
+ @message || @data[:message]
299
+ end
300
+ end
301
+
302
+ class WorkUnitsNotReadyYetException < ServiceError
303
+
304
+ # @param [Seahorse::Client::RequestContext] context
305
+ # @param [String] message
306
+ # @param [Aws::LakeFormation::Types::WorkUnitsNotReadyYetException] data
307
+ def initialize(context, message, data = Aws::EmptyStructure.new)
308
+ super(context, message, data)
309
+ end
310
+
311
+ # @return [String]
312
+ def message
313
+ @message || @data[:message]
314
+ end
315
+ end
316
+
181
317
  end
182
318
  end