lib/aws-sdk-applicationinsights/errors.rb in aws-sdk-applicationinsights-1.4.0 vs lib/aws-sdk-applicationinsights/errors.rb in aws-sdk-applicationinsights-1.5.0
- old
+ new
@@ -72,9 +72,46 @@
@message || @data[:message]
end
end
+ class TagsAlreadyExistException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::ApplicationInsights::Types::TagsAlreadyExistException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+
+ end
+
+ class TooManyTagsException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::ApplicationInsights::Types::TooManyTagsException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+
+ # @return [String]
+ def resource_name
+ @data[:resource_name]
+ end
+
+ end
+
class ValidationException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::ApplicationInsights::Types::ValidationException] data