surveilr_udi_dal_s3()

Registers a virtual table module surveilr_udi_dal_fs that interacts with files from an S3 bucket.This virtual table allows structured querying of file metadata, such as name, path, size, content, and other details,for files within a specified directory. The table also supports filtering by a specific path.The virtual table exposes the following columns:- name: TEXT - The name of the file.- path: TEXT - The full path of the file.- last_modified: TEXT - The last modified timestamp of the file in ISO 8601 format.- content: BLOB - The binary content of the file (optional).- size: INTEGER - The size of the file in bytes.- content_type: TEXT - The MIME type of the file (e.g., text/plain, image/jpeg).- digest: TEXT - The MD5 hash of the file content (optional).- arg_path: HIDDEN TEXT - The base path used for filtering (required for queries).

Introduced in version `1.5.4`.

Parameters

bucket

`String` (optional) - The bucket name to get files from or set the env variable `S3_BUCKET`.

endpoint

`String` (optional) - The endpoint of the S3 bucket or set the env variable `S3_ENDPOINT`.

region

`String` (optional) - The region the bucket is located in or `S3_REGION`.

access_key_id

`String` (optional) - Access Key ID of the user or `AWS_ACCESS_KEY_ID`.

secret_access_key

`String` (optional) - or set the `AWS_SECRET_ACCESS_KEY` varibale