Search
Duplicate

AWS S3

This document describes the AWS S3 Storage Connector and the Object parameter block.
Index

AWS S3 Storage Connection Block

1) Create

Blocks that declare variables for using Storage.

2) Set to

Assign AWS S3 Storage to a variable.

3) AWS S3 Connector

Select AWS S3 Storage from the drop-down list to connect.

4) AWS S3 Get Object

Get Data from AWS S3 Storage.
Parameter
Description
connector
AWS S3 Storage Connector
key
The Key of the Data to get from the Bucket
bucket
Specifies the Bucket for which you want to query the Data. If the default (null), the data is queried in the bucket of AWS S3 Storage registered with Storage.
saveAs
If the default value (null), it returns the result and does not save it. When connect a file block, Save the imported data as a file in the appropriate path in the local area. File blocks are provided in a limited way, depending on how the solution is supplied.

5) AWS S3 Put Object

Put(Upload) Data to AWS S3 Storage.
Parameter
Description
connector
AWS S3 Storage Connector
key
The Key of the Data to put(upload) to the Bucket
data
The value of the Data to be uploaded, which can be a string / string variable / file block. File blocks are provided in a limited way, depending on how the solution is supplied.
bucket
Specifies the Bucket for which you want to query the Data. If the default (null), the data is uploaded in the bucket of AWS S3 Storage registered with Storage.
params
It is able to set additional information about the file by connecting the S3 Object Parameter block.

6) AWS S3 Delete Object

Delete Data from AWS S3 Storage.
Parameter
Description
connector
AWS S3 Storage Connector
key
The Key of the Data to delete to the Bucket
bucket
Specifies the Bucket for which you want to delete the Data. If the default (null), the data to be deleted in the bucket of AWS S3 Storage registered with Storage.

7) AWS S3 List Objects

Gets the specified bucket's Data List from AWS S3 Storage.
Parameter
Description
connector
AWS S3 Storage Connector
bucket
Specifies the bucket to query the Data List. If the default (null), the data is queried in the bucket of AWS S3 Storage registered with Storage.
max keys
The number of keys to be included in a single request, used for pagination. The default and maximum value is 1000, and if the number of keys in the bucket exceeds max keys, NextContinuityToken is added to the request result.
continuation-token
The default is null, if the number of Keys that can be imported exceeds max keys, the response includes Continuation token. On the next request, replace the issued Continutaion Token to get the list of Keys on the next page.
params
It is able to set additional information about the file by connecting the S3 Object Parameter block.

AWS S3 Object Parameters

Set up additional information about the file. to ttach the S3 Object Parameter Block.

1) Content Encoding

Specifies the Content-Encoding header of the file to be transferred.
The directive default value is identity, which means that the file is unencoded and intact.
In addition to the selection list, directives can be explicitly specified in using String block. (ex: base64)

2) Content Type

Specifies the MIME-Type of the file to be transferred.
Select MIME-Type as the Content-Type block or explicitly specify the MIME-Type using the string block.
If the content-type is not specified and the file name has an unknown extension, Application/octet-stream is specified as the default.
Mime-Type Drop-down List
Explicitly specify Mime-Type using String Block

3) Meta Data

Save metadata in the form of Key-Value in the file to be transferred.

4) Storage Class

Specifies the Storage Class of the file to be transferred.
If not specified, the default is Standard.

AWS S3 Block Usage Example

1) Put Object Block Set

Upload string data to Object
Upload a local(user-storage subfolder) file using file block
File blocks are provided in a limited way, depending on how the solution is supplied.
Upload by specifying a separate bucket.
Upload local files to another bucket instead of the bucket defined in the connector.
Upload with meta data
Meta data has been added to the S3 key by Meta Data Block.

2) Get Objcect Block Set

Saving Request Results to Variables
If saveAs is null, the body contains the data.
Save request results as a local (user-sotridge subfolder) file
The data was saved as a local file by specifying a save path as a file block in saveAs, so the body field does not exist in the result.