Method: s3_upload_object
Method to upload an S3 object
Returns following columns:
- bucket: name of the bucket to host the object
- key: identifier key of the object
- status: Status of the upload operation. OK if succeeded
- response_message: Error message in case of failure
Accepts the following parameters:
- name: name of the bucket to host the object
- key: identifier for the object
- content: blob for the object to upload
- contentType: MIME type for the uploaded object
Example
SELECT * FROM s3_upload_object('bucket', 'object_key', '{
name: 'Iasql',
value: 'Hello world!',
}', 'application/json')`,
See