aws-sdk-connect 1.53.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ 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}
@@ -50,6 +51,21 @@ module Aws::Connect
50
51
 
51
52
  extend Aws::Errors::DynamicErrors
52
53
 
54
+ class AccessDeniedException < ServiceError
55
+
56
+ # @param [Seahorse::Client::RequestContext] context
57
+ # @param [String] message
58
+ # @param [Aws::Connect::Types::AccessDeniedException] data
59
+ def initialize(context, message, data = Aws::EmptyStructure.new)
60
+ super(context, message, data)
61
+ end
62
+
63
+ # @return [String]
64
+ def message
65
+ @message || @data[:message]
66
+ end
67
+ end
68
+
53
69
  class ContactFlowNotPublishedException < ServiceError
54
70
 
55
71
  # @param [Seahorse::Client::RequestContext] context