aws-sdk-connect 1.185.0 → 1.186.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,7 @@ module Aws::Connect
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ConditionalOperationFailedException}
31
32
  # * {ConflictException}
32
33
  # * {ContactFlowNotPublishedException}
33
34
  # * {ContactNotFoundException}
@@ -74,6 +75,21 @@ module Aws::Connect
74
75
  end
75
76
  end
76
77
 
78
+ class ConditionalOperationFailedException < ServiceError
79
+
80
+ # @param [Seahorse::Client::RequestContext] context
81
+ # @param [String] message
82
+ # @param [Aws::Connect::Types::ConditionalOperationFailedException] data
83
+ def initialize(context, message, data = Aws::EmptyStructure.new)
84
+ super(context, message, data)
85
+ end
86
+
87
+ # @return [String]
88
+ def message
89
+ @message || @data[:message]
90
+ end
91
+ end
92
+
77
93
  class ConflictException < ServiceError
78
94
 
79
95
  # @param [Seahorse::Client::RequestContext] context
@@ -407,6 +423,11 @@ module Aws::Connect
407
423
  def message
408
424
  @message || @data[:message]
409
425
  end
426
+
427
+ # @return [String]
428
+ def reason
429
+ @data[:reason]
430
+ end
410
431
  end
411
432
 
412
433
  class ThrottlingException < ServiceError