lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.8.0 vs lib/aws-sdk-fsx/errors.rb in aws-sdk-fsx-1.9.0

- old
+ new

@@ -314,7 +314,23 @@ @message || @data[:message] end end + class UnsupportedOperation < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::FSx::Types::UnsupportedOperation] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + end end