AWS S3 SDK: Is there a way to query files?

122
January 26, 2018, at 00:01 AM

Is there a way to get all objects based on a certain condition? Something like this:

const queryParam = {
    Bucket: env.s3.bucketName,
    metaMatch: {
        category: givenCategory
    }
};
this.s3Client.getObject(queryParam, (err, data) => {
    ...
}

Or even simpler: Is there a way to use IfMatchwithout having to specify a key? This way I could only store the ETag in my backend.

READ ALSO
Call google API with access token

Call google API with access token

After login from client side and receive access token on the server side, I want to call Google API for taking infoCan I in server-side just call google API, without insert API key and another credential but only with the access token?

170
Remove data and timestamp in JSON

Remove data and timestamp in JSON

A function call in nodejs returns a JSON object which is of below format:

253
Fail to git when using Forge React Boiler

Fail to git when using Forge React Boiler

I'm trying to build an application with Heroku and Forge React Builder, in order to display a 3D object

213
How to properly connect linter in Atom with jshint

How to properly connect linter in Atom with jshint

I want to use the linter package in the Atom EditorI have installed the packages "linter" and "linter-jshint"

244