How to read file from inside the folder of Amazon S3 bucket

How to read file from inside the folder of Amazon S3 bucket

book

Article ID: KB0076799

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Amazon S3 6.0.0,6.1.1

Description

Unable to read file from inside the folder of Amazon S3 bucket.

Issue/Introduction

Create different buckets to store file objects that want to retrieve.

Environment

Product:TIBCO ActiveMatrix BusinessWorks Plug-in for Amazon S3 Version:6.0.0,6.1.1

Resolution


1). Set the BucketName field of the GetObject activity with BucketName only.

2). Configure the "Prefix" field like "FolderName/" to restrict the response to the FolderName prefix 

It might have been seen that every object i.e. file or folder, which stored in Amazon S3 is contained within a bucket.
Buckets are partition the namespace of objects stored in Amazon S3 at the top level. 
So as per the AWS specification and the plugin is fully implemented to invoke the supported AWS SDK APIs to list the objects(including folder key) of the specific bucket. 

3) Create different buckets to store the file objects that want to retrieve.