1 amazon.s3.deleteObject

Deletes the specified object in the specified bucket. Once deleted, the object can only be restored if versioning was enabled when the object was deleted. If attempting to delete an object that does not exist, Amazon S3 returns a success message instead of an error message.

<aamazon.s3.deleteObject
    bucketName='bucketName'
    fileName='fileName'
    access-key='access-key'
    secret-key='secret-key'
    region='region'
/>
Example
Copy
<xsql-script>
    <body>
        <set name='f1'>
            <amazon.s3.deleteObject bucketName='//testjabbucket' fileName='blob1.txt' />
        </set>        
        <println><f1  /></println>
    </body>
</xsql-script>

Which prints in standard output:

Copy
0