aws-sdk-workspaces 1.179.0 → 1.181.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.
@@ -39,6 +39,7 @@ module Aws::WorkSpaces
39
39
  # * {OperatingSystemNotCompatibleException}
40
40
  # * {OperationInProgressException}
41
41
  # * {OperationNotSupportedException}
42
+ # * {PolicyApplyFailedException}
42
43
  # * {ResourceAlreadyExistsException}
43
44
  # * {ResourceAssociatedException}
44
45
  # * {ResourceCreationFailedException}
@@ -46,6 +47,8 @@ module Aws::WorkSpaces
46
47
  # * {ResourceLimitExceededException}
47
48
  # * {ResourceNotFoundException}
48
49
  # * {ResourceUnavailableException}
50
+ # * {ServiceQuotaExceededException}
51
+ # * {ThrottlingException}
49
52
  # * {UnsupportedNetworkConfigurationException}
50
53
  # * {UnsupportedWorkspaceConfigurationException}
51
54
  # * {ValidationException}
@@ -105,6 +108,11 @@ module Aws::WorkSpaces
105
108
  def message
106
109
  @message || @data[:message]
107
110
  end
111
+
112
+ # @return [String]
113
+ def resource_id
114
+ @data[:resource_id]
115
+ end
108
116
  end
109
117
 
110
118
  class IncompatibleApplicationsException < ServiceError
@@ -222,6 +230,21 @@ module Aws::WorkSpaces
222
230
  end
223
231
  end
224
232
 
233
+ class PolicyApplyFailedException < ServiceError
234
+
235
+ # @param [Seahorse::Client::RequestContext] context
236
+ # @param [String] message
237
+ # @param [Aws::WorkSpaces::Types::PolicyApplyFailedException] data
238
+ def initialize(context, message, data = Aws::EmptyStructure.new)
239
+ super(context, message, data)
240
+ end
241
+
242
+ # @return [String]
243
+ def message
244
+ @message || @data[:message]
245
+ end
246
+ end
247
+
225
248
  class ResourceAlreadyExistsException < ServiceError
226
249
 
227
250
  # @param [Seahorse::Client::RequestContext] context
@@ -320,6 +343,11 @@ module Aws::WorkSpaces
320
343
  def resource_id
321
344
  @data[:resource_id]
322
345
  end
346
+
347
+ # @return [String]
348
+ def resource_type
349
+ @data[:resource_type]
350
+ end
323
351
  end
324
352
 
325
353
  class ResourceUnavailableException < ServiceError
@@ -342,6 +370,56 @@ module Aws::WorkSpaces
342
370
  end
343
371
  end
344
372
 
373
+ class ServiceQuotaExceededException < ServiceError
374
+
375
+ # @param [Seahorse::Client::RequestContext] context
376
+ # @param [String] message
377
+ # @param [Aws::WorkSpaces::Types::ServiceQuotaExceededException] data
378
+ def initialize(context, message, data = Aws::EmptyStructure.new)
379
+ super(context, message, data)
380
+ end
381
+
382
+ # @return [String]
383
+ def message
384
+ @message || @data[:message]
385
+ end
386
+
387
+ # @return [String]
388
+ def resource_id
389
+ @data[:resource_id]
390
+ end
391
+
392
+ # @return [String]
393
+ def resource_type
394
+ @data[:resource_type]
395
+ end
396
+
397
+ # @return [String]
398
+ def service_code
399
+ @data[:service_code]
400
+ end
401
+
402
+ # @return [String]
403
+ def quota_code
404
+ @data[:quota_code]
405
+ end
406
+ end
407
+
408
+ class ThrottlingException < ServiceError
409
+
410
+ # @param [Seahorse::Client::RequestContext] context
411
+ # @param [String] message
412
+ # @param [Aws::WorkSpaces::Types::ThrottlingException] data
413
+ def initialize(context, message, data = Aws::EmptyStructure.new)
414
+ super(context, message, data)
415
+ end
416
+
417
+ # @return [String]
418
+ def message
419
+ @message || @data[:message]
420
+ end
421
+ end
422
+
345
423
  class UnsupportedNetworkConfigurationException < ServiceError
346
424
 
347
425
  # @param [Seahorse::Client::RequestContext] context