> For the complete documentation index, see [llms.txt](https://docs.frends.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frends.com/tasks/tasks/amazon-s3/listobjectversions.md).

# ListObjectVersions

Task version: 1.1.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.AmazonS3/tree/main/Frends.AmazonS3.ListObjectVersions>

## Task Parameters

{% tabs %}
{% tab title="Input" %}

| Name                  | Description                                                                                                                            |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| BucketName : `String` | <p>The name of the S3 bucket to list object versions from.</p><p><br>Default: <code>-</code><br>Example: <code>my-s3-bucket</code></p> |
| {% endtab %}          |                                                                                                                                        |

{% tab title="Connection" %}

| Name                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 🗝AwsAccessKeyId : `String`     | <p>AWS Access Key ID used for authentication with AWS services.</p><p><br>Default: <code>-</code><br>Example: <code>AKIAQWERTY7NJ5Q7NZ6Q</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 🗝AwsSecretAccessKey : `String` | <p>AWS Secret Access Key used for authentication with AWS services.</p><p><br>Default: <code>-</code><br>Example: <code>TVh5hgd3uGY/2CqH+Kkrrg3dadbXLsYe0jC3h+WD</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Region : `Region`               | <p>AWS Region where the S3 bucket is located.</p><p>Possible values:</p><ul><li><code>AfSouth1</code>: AWS Region where the S3 bucket is located.</li><li><code>ApEast1</code>: AWS Region where the S3 bucket is located.</li><li><code>ApNortheast1</code>: AWS Region where the S3 bucket is located.</li><li><code>ApNortheast2</code>: AWS Region where the S3 bucket is located.</li><li><code>ApNortheast3</code>: AWS Region where the S3 bucket is located.</li><li><code>ApSouth1</code>: AWS Region where the S3 bucket is located.</li><li><code>ApSoutheast1</code>: AWS Region where the S3 bucket is located.</li><li><code>ApSoutheast2</code>: AWS Region where the S3 bucket is located.</li><li><code>CaCentral1</code>: AWS Region where the S3 bucket is located.</li><li><code>CnNorth1</code>: AWS Region where the S3 bucket is located.</li><li><code>CnNorthWest1</code>: AWS Region where the S3 bucket is located.</li><li><code>EuCentral1</code>: AWS Region where the S3 bucket is located.</li><li><code>EuNorth1</code>: AWS Region where the S3 bucket is located.</li><li><code>EuSouth1</code>: AWS Region where the S3 bucket is located.</li><li><code>EuWest1</code>: AWS Region where the S3 bucket is located.</li><li><code>EuWest2</code>: AWS Region where the S3 bucket is located.</li><li><code>EuWest3</code>: AWS Region where the S3 bucket is located.</li><li><code>MeSouth1</code>: AWS Region where the S3 bucket is located.</li><li><code>SaEast1</code>: AWS Region where the S3 bucket is located.</li><li><code>UsEast1</code>: AWS Region where the S3 bucket is located.</li><li><code>UsEast2</code>: AWS Region where the S3 bucket is located.</li><li><code>UsWest1</code>: AWS Region where the S3 bucket is located.</li><li><code>UsWest2</code>: AWS Region where the S3 bucket is located.</li></ul><p><br>Default: <code>-</code><br>Example: <code>EuCentral1</code></p> |
| {% endtab %}                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

{% tab title="Options" %}

| Name                             | Description                                                                                                                                                                                                                                                                           |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Prefix : `String`                | <p>Limits the response to keys that begin with the specified prefix.</p><p><br>Default: <code>-</code><br>Example: <code>bucket/object1/object2</code></p>                                                                                                                            |
| MaxKeys : `Int32`                | <p>Sets the maximum number of keys returned in one response.</p><p>The response might contain fewer keys but will never contain more than this value.</p><p>Multiple responses will be merged into one result.</p><p><br>Default: <code>1000</code><br>Example: <code>1000</code></p> |
| ThrowErrorOnFailure : `Boolean`  | <p>Whether to throw an error on failure.</p><p><br>Default: <code>True</code><br>Example: <code>true</code></p>                                                                                                                                                                       |
| ErrorMessageOnFailure : `String` | <p>Overrides the error message on failure.</p><p><br>Default: <code>-</code><br>Example: <code>Custom error message</code></p>                                                                                                                                                        |
| {% endtab %}                     |                                                                                                                                                                                                                                                                                       |
| {% endtabs %}                    |                                                                                                                                                                                                                                                                                       |

## Task Result

| Name                                   | Description                                                                                                                    |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Success : `Boolean`                    | <p>Indicates if the task completed successfully.<br>Example: <code>true</code></p>                                             |
| Objects : `List<BucketObjectVersions>` | <p>List of objects retrieved from the S3 bucket. Empty list if operation failed.<br>Example: <code>\[{}, {}]</code></p>        |
| Error : `Error`                        | <p>Error that occurred during task execution.<br>Example: <code>object { string Message, Exception AdditionalInfo }</code></p> |

## Task Changelog

Changelog for Task Frends.AmazonS3.ListObjectVersions.

### \[1.1.0] - 2026-02-23

#### Fixed

* Ensure FrendsTaskMetadata.json is included in NuGet package

### \[1.0.0] - 2026-02-04

#### Added

* Initial implementation


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.frends.com/tasks/tasks/amazon-s3/listobjectversions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
