Skip to content

AWSHandler function

AWSHandler function is used to handle all the Amazon S3 services like creating, updating deleting bucket and uploading the file.

Create Bucket

createBucket operation under AWSHandler function is used to create a bucket.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select AWSHANDLER function. Select operation as createBucket, provide bucketName and region.

If bucket is created successfully, it will return true in a variable defined in Element Key else it will return false.

 

Delete Bucket

deleteBucket operation under AWSHandler function is used to delete a bucket.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select AWSHANDLER function. Select operation as deleteBucket, provide bucketName and region.

If bucket is deleted successfully, it will return true in a variable defined in Element Key else it will return false.

 

Upload File

uploadFile operation under AWSHandler function is used to upload a file in a bucket.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select AWSHANDLER function. Select operation as uploadFile, provide bucketName, key, file and region.

If file is uploaded successfully, it will return true in a variable defined in Element Key else it will return false.

 

Get File

getFile operation under AWSHandler function is used to get a file from the bucket.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select AWSHANDLER function. Select operation as getFile, provide bucketName, key and region.

If file is downloaded successfully, it will return true in a variable defined in Element Key else it will return false.

 

Copy Object

copyObject operation under AWSHandler function is used to copy the object from one bucket to another bucket.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select AWSHANDLER function. Select operation as copyObject, provide bucketName, region, sourceKey, destinationKey and destinationBucketName.

If object is copied successfully from source bucket to destination bucket, it will return true in a variable defined in Element Key else it will return false.

 

Delete Object

deleteObject operation under AWSHandler function is used to delete object from the bucket.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select AWSHANDLER function. Select operation as deleteObject, provide bucketName, key and region.

If object is deleted successfully from the bucket, it will return true in a variable defined in Element Key else it will return false.

 

List Buckets

listBuckets operation under AWSHandler function is used to list down all the available buckets.

Select SET command from the action dropdown and provide a variable name in Element key, edit parameter section and click on Form, select functions from the dropdown and select AWSHANDLER function. Select operation as listBucket and provide region.

Output will be stored in a variable defined in Element Key.

Back To Top