    # File lib/fog/aws/models/compute/snapshots.rb, line 20
            def all(filters = filters, options = {})
              unless filters.is_a?(Hash)
                Fog::Logger.deprecation("all with #{filters.class} param is deprecated, use all('snapshot-id' => []) instead [light_black](#{caller.first})[/]")
                filters = {'snapshot-id' => [*filters]}
              end
              self.filters = filters
              data = connection.describe_snapshots(filters.merge!(options)).body
              load(data['snapshotSet'])
              if volume
                self.replace(self.select {|snapshot| snapshot.volume_id == volume.id})
              end
              self
            end