aws-sdk-lakeformation 1.19.0 → 1.23.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.
@@ -31,11 +31,20 @@ 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
+ # * {PermissionTypeMismatchException}
40
+ # * {ResourceNotReadyException}
38
41
  # * {ResourceNumberLimitExceededException}
42
+ # * {StatisticsNotReadyYetException}
43
+ # * {ThrottledException}
44
+ # * {TransactionCanceledException}
45
+ # * {TransactionCommitInProgressException}
46
+ # * {TransactionCommittedException}
47
+ # * {WorkUnitsNotReadyYetException}
39
48
  #
40
49
  # Additionally, error classes are dynamically generated for service errors based on the error code
41
50
  # if they are not defined above.
@@ -103,6 +112,21 @@ module Aws::LakeFormation
103
112
  end
104
113
  end
105
114
 
115
+ class ExpiredException < ServiceError
116
+
117
+ # @param [Seahorse::Client::RequestContext] context
118
+ # @param [String] message
119
+ # @param [Aws::LakeFormation::Types::ExpiredException] data
120
+ def initialize(context, message, data = Aws::EmptyStructure.new)
121
+ super(context, message, data)
122
+ end
123
+
124
+ # @return [String]
125
+ def message
126
+ @message || @data[:message]
127
+ end
128
+ end
129
+
106
130
  class GlueEncryptionException < ServiceError
107
131
 
108
132
  # @param [Seahorse::Client::RequestContext] context
@@ -163,6 +187,36 @@ module Aws::LakeFormation
163
187
  end
164
188
  end
165
189
 
190
+ class PermissionTypeMismatchException < ServiceError
191
+
192
+ # @param [Seahorse::Client::RequestContext] context
193
+ # @param [String] message
194
+ # @param [Aws::LakeFormation::Types::PermissionTypeMismatchException] data
195
+ def initialize(context, message, data = Aws::EmptyStructure.new)
196
+ super(context, message, data)
197
+ end
198
+
199
+ # @return [String]
200
+ def message
201
+ @message || @data[:message]
202
+ end
203
+ end
204
+
205
+ class ResourceNotReadyException < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::LakeFormation::Types::ResourceNotReadyException] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+ end
219
+
166
220
  class ResourceNumberLimitExceededException < ServiceError
167
221
 
168
222
  # @param [Seahorse::Client::RequestContext] context
@@ -178,5 +232,103 @@ module Aws::LakeFormation
178
232
  end
179
233
  end
180
234
 
235
+ class StatisticsNotReadyYetException < ServiceError
236
+
237
+ # @param [Seahorse::Client::RequestContext] context
238
+ # @param [String] message
239
+ # @param [Aws::LakeFormation::Types::StatisticsNotReadyYetException] data
240
+ def initialize(context, message, data = Aws::EmptyStructure.new)
241
+ super(context, message, data)
242
+ end
243
+
244
+ # @return [String]
245
+ def message
246
+ @message || @data[:message]
247
+ end
248
+ end
249
+
250
+ class ThrottledException < ServiceError
251
+
252
+ # @param [Seahorse::Client::RequestContext] context
253
+ # @param [String] message
254
+ # @param [Aws::LakeFormation::Types::ThrottledException] data
255
+ def initialize(context, message, data = Aws::EmptyStructure.new)
256
+ super(context, message, data)
257
+ end
258
+
259
+ # @return [String]
260
+ def message
261
+ @message || @data[:message]
262
+ end
263
+
264
+ def retryable?
265
+ true
266
+ end
267
+
268
+ def throttling?
269
+ true
270
+ end
271
+ end
272
+
273
+ class TransactionCanceledException < ServiceError
274
+
275
+ # @param [Seahorse::Client::RequestContext] context
276
+ # @param [String] message
277
+ # @param [Aws::LakeFormation::Types::TransactionCanceledException] data
278
+ def initialize(context, message, data = Aws::EmptyStructure.new)
279
+ super(context, message, data)
280
+ end
281
+
282
+ # @return [String]
283
+ def message
284
+ @message || @data[:message]
285
+ end
286
+ end
287
+
288
+ class TransactionCommitInProgressException < ServiceError
289
+
290
+ # @param [Seahorse::Client::RequestContext] context
291
+ # @param [String] message
292
+ # @param [Aws::LakeFormation::Types::TransactionCommitInProgressException] data
293
+ def initialize(context, message, data = Aws::EmptyStructure.new)
294
+ super(context, message, data)
295
+ end
296
+
297
+ # @return [String]
298
+ def message
299
+ @message || @data[:message]
300
+ end
301
+ end
302
+
303
+ class TransactionCommittedException < ServiceError
304
+
305
+ # @param [Seahorse::Client::RequestContext] context
306
+ # @param [String] message
307
+ # @param [Aws::LakeFormation::Types::TransactionCommittedException] data
308
+ def initialize(context, message, data = Aws::EmptyStructure.new)
309
+ super(context, message, data)
310
+ end
311
+
312
+ # @return [String]
313
+ def message
314
+ @message || @data[:message]
315
+ end
316
+ end
317
+
318
+ class WorkUnitsNotReadyYetException < ServiceError
319
+
320
+ # @param [Seahorse::Client::RequestContext] context
321
+ # @param [String] message
322
+ # @param [Aws::LakeFormation::Types::WorkUnitsNotReadyYetException] data
323
+ def initialize(context, message, data = Aws::EmptyStructure.new)
324
+ super(context, message, data)
325
+ end
326
+
327
+ # @return [String]
328
+ def message
329
+ @message || @data[:message]
330
+ end
331
+ end
332
+
181
333
  end
182
334
  end