S3
S3 Adapter
This adapter allows you to manage Amazon S3 buckets and objects (files).
Want to try it in Azure?
Click here to learn more or
click here to create a new Enzo Server RTM 3.1 Azure VM now.
Want to try it in AWS?
Click here to learn more or
click here to create a new Enzo Server RTM 3.1 AWS VM now.
Configuration Settings
Name | Description | Default |
---|---|---|
Boolean _isDefault | Make this the default configuration. Defaults to true if configName is already the default. | |
String accessKeyId | The accessKeyId used for authentication | |
String secretAccessKey | The secretAccessKey used for authentication | |
String region | Default region in which buckets will be accessed (ex:us-east-1, eu-west-2) |
Handlers
CreateBucket
bucket |
Create new bucket
details
Arguments
SQL CallEXEC S3.CreateBucket 'TestBucket' Http Call/s3/createbucket Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||||||||||||
DeleteBucket
bucket |
Delete a bucket
details
Arguments
SQL CallEXEC S3.DeleteBucket 'TestBucket' Http Call/s3/deletebucket Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||||||||||||
downloadFile
|
Download a file to a local or UNC path
details
Arguments
SQL CallEXEC S3.downloadFile @bucketName='testbucket', @fileName='file path', @downloadPath='D:\download\file.txt' Http Call/s3/downloadfile Output Columns
|
||||||||||||||||||||||||||||||||||||||||||||
ListBuckets
buckets |
Get list of buckets
details
Arguments
SQL CallEXEC S3.ListBuckets Http Call/s3/listbuckets Output Columns
|
||||||||||||||||||||||||||||||||||||||||||||
ListFiles
files |
Get list of files
details
Arguments
SQL CallEXEC S3.ListFiles 'test bucket' Http Call/s3/listfiles Output Columns
|
||||||||||||||||||||||||||||||||||||||||||||
uploadFile
|
Upload a file to s3
details
Arguments
SQL CallEXEC S3.uploadFile @bucketName='testbucket', @fileName='A100.pdf', @sourceFile='D:\Download\A100.pdf' Http Call/s3/uploadfile Output ColumnsThis call does not return data. |