aws-sdk-amplifyuibuilder 1.4.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,7 @@ module Aws::AmplifyUIBuilder
32
32
  # * {ResourceConflictException}
33
33
  # * {ResourceNotFoundException}
34
34
  # * {ServiceQuotaExceededException}
35
+ # * {UnauthorizedException}
35
36
  #
36
37
  # Additionally, error classes are dynamically generated for service errors based on the error code
37
38
  # if they are not defined above.
@@ -114,5 +115,20 @@ module Aws::AmplifyUIBuilder
114
115
  end
115
116
  end
116
117
 
118
+ class UnauthorizedException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::AmplifyUIBuilder::Types::UnauthorizedException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def message
129
+ @message || @data[:message]
130
+ end
131
+ end
132
+
117
133
  end
118
134
  end