Search S3 Buckets
These endpoints allow you to communicate with Immuta the same way you would with S3, making Immuta easy to integrate with tools you may already be using to work with S3. In this integration, Immuta implements a single bucket (with data sources broken up as sub-directories under that bucket), since some S3 tools only support the new virtual-hosted style requests.
The endpoints outlined below support basic AWS functionality; the requests and responses for each are identical to those in S3.
Additional fields may be included in some responses you receive; however, these attributes are for internal purposes and are therefore undocumented.
S3 integration workflow
List the bucket all data sources are grouped under
GET
/s3p
Return constant bucket that all data sources are grouped under.
Response Parameters
body
string
Lists the bucket, organization, and owner of the bucket.
Request example
The following request returns the bucket all data sources are grouped under for the organization.
Response example
The following response lists the bucket immuta
.
List the contents of a specific bucket
GET
/s3p/{bucket}
Return the contents of a given bucket (data sources or data source blobs).
Query Parameters
bucket
string
Name of the bucket (this should match the bucket name in configuration).
Yes
prefix
string
The prefix to start a search under.
No
max-keys
number
Max number of content objects to return.
No
delimiter
string
The terminating character for a search.
No
marker
string
When provided, only prefixes after this marker will be returned.
No
location
string
If provided, will instead return the bucket location.
No
encoding-type
string
Encoding type for content keys.
No
list-type
integer
If set to 2
, will use v2 of the API response.
No
fetch-owner
boolean
When true
, will return owner field in v2 API response.
No
start-after
string
Only prefixes after this marker will be returned. (This is the v2 API version of marker
).
No
Response Parameters**
body
string
Lists the data sources and/or data source blobs in the bucket.
Request example
The following request returns a list of data sources in the bucket immuta
.
Response example
The following response lists the data source blob immuta
.
List the contents of a specific blob
GET
/s3p/{bucket}/{dataSource}/{key}
Return a specific blob.
Query Parameters
bucket
string
Name of the bucket (this should match the bucket name in configuration).
Yes
dataSource
string
Immuta S3 Folder to search in.
Yes
key
string
Key path to search for the specified file.
Yes
Response Parameters
body
string
Lists the data sources and/or data source blobs in the bucket.
Request example
The following request returns the contents of the single file that exists in the requested directory in immuta
.
Response example
The following response lists the size, storage class, owner, and the last date of modification of the single file.
Last updated