5.23.6. List the Files inside a S3 bucket

<< Click to Display Table of Contents >>

Navigation:  5. Detailed description of the Actions > 5.23. Cloud services >

5.23.6. List the Files inside a S3 bucket

 

Icon: clip0497

 
Function: S3ListFilesInBucket
 

Property window:

 

clip0505

 

Short description:

 

List all files inside a S3 bucket.

 

Long Description:
 

This Action also works when accessing the web through a PROXY server: Please consult the section 5.1.9.2. for more details on this subject.

 

To be able to connect to your S3 bucket storage, you need to get from Amazon these 4 parameters:
 

your “Bucket Name”

your “Region”  

your “Access Key ID”

your “Secret Access Key”

 

 

The procedure to get these 4 parameters is:
 

1.Open the URL address http://aws.amazon.com/s3  in a browser and click on the “Sign In to the Console” button on the top-right corner of the window:

 

clip0498

2.Inside the search field, type “s3” to locate the “S3 service” and press Enter to access the “S3 management console”:

 

clip0499

 

 

3.Inside the “S3 management console”, you get the first 2 required parameters for Anatella: the “Bucket Name” and the “Region”. In the screenshot below, there are two S3 buckets named “test-bucket-timi” and “test-bucket-timi2”: number1

 

clip0500

 

 

The “Region Name” of these two S3 buckets is, respectively, “EU (Paris)” and “US East (Ohio)”: number2  Inside Anatella, you don’t need the “Region Name”: i.e. you need to have the “Region” parameter. To get the “Region” parameter, from the “Region Name”, you can use the lookup table located at this URL:

 

https://docs.aws.amazon.com/general/latest/gr/rande.html

 

 
 For your convenience, here is a local copy of this lookup table:

 

Region Name

Region

US East (Ohio)

us-east-2

US East (N. Virginia)

us-east-1

US West (N. California)

us-west-1

US West (Oregon)

us-west-2

Asia Pacific (Hong Kong)

ap-east-1

Asia Pacific (Mumbai)

ap-south-1

Asia Pacific (Seoul)

ap-northeast-2

Asia Pacific (Singapore)

ap-southeast-1

Asia Pacific (Sydney)

ap-southeast-2

Asia Pacific (Tokyo)

ap-northeast-1

Canada (Central)

ca-central-1

China (Beijing)

cn-north-1

China (Ningxia)

cn-northwest-1

EU (Frankfurt)

eu-central-1

EU (Ireland)

eu-west-1

EU (London)

eu-west-2

EU (Paris)

eu-west-3

EU (Stockholm)

eu-north-1

Middle East (Bahrain)

me-south-1

South America (Sao Paulo)

sa-east-1

AWS GovCloud (US-East)

us-gov-east-1

AWS GovCloud (US-West)

us-gov-west-1

Region Name

Region

 

 

To get the last 2 parameters (i.e. your “Access Key ID” and your “Secret Access Key”), click on the drop-down menu in the top-right corner to see your account options ans select the “My Security Credentials” option:

 

clip0501

 

 

4.Inside the “Identity and Access Management (IAM) console”, click on the button named “Access keys (access key ID and secret access key)” and then click on the blue button named “Create New access Key”:

 

clip0502

 

 

5.Inside the new pop-up window that just opened in the browser, click on the “Show Access Key” link:

 

clip0503

 

 

6.Finally, your “Access Key ID” and your “Secret Access Key” are visible here:

 

clip0504

 
 
Just copy&paste your “Access Key ID” and your “Secret Access Key” inside the corresponding Anatella parameters box, and you are good to go!