list_objects_v2
Retrieve objects within an S3 bucket using filters such as prefix, delimiter, or pagination. Returns a JSON-formatted response for easy integration and analysis.
Instructions
Lists objects in an S3 bucket.
Args: bucket (str): The name of the bucket. prefix (Optional[str]): Filter for keys starting with this prefix. max_keys (Optional[int]): Maximum number of keys to return. continuation_token (Optional[str]): Token for paginating results. delimiter (Optional[str]): Delimiter for grouping keys.
Returns: str: JSON formatted S3 response.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | ||
continuation_token | No | ||
delimiter | No | ||
max_keys | No | ||
prefix | No |