1 amazon.s3.listBuckets

Returns a list of all Amazon S3 buckets that the authenticated sender of the request owns. Users must authenticate with a valid AWS Access Key ID that is registered with Amazon S3. Anonymous requests cannot list buckets, and users cannot list buckets that they did not create.

<amazon.s3.listBuckets
    access-key='access-key'
    secret-key='secret-key'
    region='region'
/>
Example
Copy
<xsql-script>
    <body>
        <println><amazon.s3.listBuckets /></println>
    </body>
</xsql-script>

Which prints in standard output:

Copy
+-------------+-------+------------+
|name         |owner  |creationDate|
|char         |object |object      |
|visible      |visible|visible     |
+-------------+-------+------------+
|testjabbucket|       |            |
+-------------+-------+------------+