Как загрузить файл #231
var params = {
  Bucket: bucket_name,
  Key: 'test.txt',
  Body: Math.random().toString(),
  ACL: 'public-read',
  Tagging:"hello=world&one=two",
  Metadata: {
    'x-amz-meta-hello-world': 'data here',
    'custom_data': "whatever"
  }
}
s3.upload(params)
Output:
{
  ETag: '"cb4f442e395bcf0bec578533e171537c"',
  VersionId: 'L.OyYlW2AOEcarfmoKlLUbAbOc8X45.',
  Location: 'https://YOURBUCKET.s3.pilw.io/test.txt',
  key: 'test.txt',
  Key: 'test.txt',
  Bucket: YOURBUCKET
}