s3_open()

Read(1309) Label: s3, open,

Description:

Connect to AWS S3.

Syntax:

s3_open(accessKey:secretKey:region:endpoint)

Note:

External library function (See External Library Guide). It connects to AWS S3.

Parameter:

accessKey

Amazon Access Key ID

secretKey

Secret Access Key

region

Name of the Region where a bucket is located

endpoint

The specified endpoint used to search for the bucket to be accessed, whose format is https://s3.xxx.amazonaws.com

Return value:

Connection object

Example:

 

A

 

1

=s3_open("ASIAVSPDUYZ7O7WTX7C3":"7/5xYPO7a+9Po+IE1ySbmu9UB2hWIkWek1Sqn6E4":"us-east-2":"https://s3.us-east-2.amazonaws.com")

Connect to AWS S3.

2

>s3_close(A1)

Close AWS S3 connection.