# File lib/aws/s3/client.rb, line 510
        def require_allowed_methods!(allowed_methods)
          validate!("allowed_methods", allowed_methods) do
            if !allowed_methods.kind_of?(Array)
              "must be an array"
            elsif !allowed_methods.all? { |x| x.kind_of?(String) }
              "must be an array of strings"
            end
          end
        end