aws-sdk-connect 1.55.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,12 +27,15 @@ module Aws::Connect
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {ContactFlowNotPublishedException}
31
32
  # * {ContactNotFoundException}
32
33
  # * {DestinationNotAllowedException}
33
34
  # * {DuplicateResourceException}
35
+ # * {IdempotencyException}
34
36
  # * {InternalServiceException}
35
37
  # * {InvalidContactFlowException}
38
+ # * {InvalidContactFlowModuleException}
36
39
  # * {InvalidParameterException}
37
40
  # * {InvalidRequestException}
38
41
  # * {LimitExceededException}
@@ -50,6 +53,21 @@ module Aws::Connect
50
53
 
51
54
  extend Aws::Errors::DynamicErrors
52
55
 
56
+ class AccessDeniedException < ServiceError
57
+
58
+ # @param [Seahorse::Client::RequestContext] context
59
+ # @param [String] message
60
+ # @param [Aws::Connect::Types::AccessDeniedException] data
61
+ def initialize(context, message, data = Aws::EmptyStructure.new)
62
+ super(context, message, data)
63
+ end
64
+
65
+ # @return [String]
66
+ def message
67
+ @message || @data[:message]
68
+ end
69
+ end
70
+
53
71
  class ContactFlowNotPublishedException < ServiceError
54
72
 
55
73
  # @param [Seahorse::Client::RequestContext] context
@@ -110,6 +128,21 @@ module Aws::Connect
110
128
  end
111
129
  end
112
130
 
131
+ class IdempotencyException < ServiceError
132
+
133
+ # @param [Seahorse::Client::RequestContext] context
134
+ # @param [String] message
135
+ # @param [Aws::Connect::Types::IdempotencyException] data
136
+ def initialize(context, message, data = Aws::EmptyStructure.new)
137
+ super(context, message, data)
138
+ end
139
+
140
+ # @return [String]
141
+ def message
142
+ @message || @data[:message]
143
+ end
144
+ end
145
+
113
146
  class InternalServiceException < ServiceError
114
147
 
115
148
  # @param [Seahorse::Client::RequestContext] context
@@ -140,6 +173,21 @@ module Aws::Connect
140
173
  end
141
174
  end
142
175
 
176
+ class InvalidContactFlowModuleException < ServiceError
177
+
178
+ # @param [Seahorse::Client::RequestContext] context
179
+ # @param [String] message
180
+ # @param [Aws::Connect::Types::InvalidContactFlowModuleException] data
181
+ def initialize(context, message, data = Aws::EmptyStructure.new)
182
+ super(context, message, data)
183
+ end
184
+
185
+ # @return [String]
186
+ def problems
187
+ @data[:problems]
188
+ end
189
+ end
190
+
143
191
  class InvalidParameterException < ServiceError
144
192
 
145
193
  # @param [Seahorse::Client::RequestContext] context