Amazon S3: List Versions Of Objects
Description
This step retrieves a list of all versions of objects in a versioning-enabled S3 bucket. For each version, it returns the object name, version ID, whether it is the latest version, and whether it is a delete marker. You can filter results using a prefix to narrow down to specific files or folders. Use this step in workflows that track file change history, identify deleted objects, or select specific versions for download or restoration.
Note:
To get the list of objects and version IDs from a bucket a user must have Read permission on the bucket.
Reference
SDK: Versioning Enabled Bucket
Configurations
| Field Name | Description |
|---|---|
| Step Name | Specify a unique name for the step. |
| Connection tab: | For the Amazone S3 connection fields details, click Common Tab: Connection Fields |
| Input fields | |
| Bucket Name | Specify the name of the bucket from which the objects are to be got. The data type is String. This field is mandatory. |
| Get | Click the button to populate the list of available Buckets. |
| Prefix | Specify the prefix parameter restricts the response to keys that begin with the specified prefix. Note: If the object resides in the folder, give prefix as foldername/<prefix>.For example, testFolder/abc. |
| OUTPUT tab: | Output fields |
| Object Name | Specify the output variable name in the field. The default output variable name: ObjectName. The name of the Object (Key) in the bucket, returns the names of files and folders. |
| Version | Specify the output variable name in the field. The default output variable name: Version. Specifies the version ID of the Object. |
| Is Latest | Specify the output variable name in the field. The default output variable name: IsLatest. Returns whether or not this version is the latest version for the associated object. |
| Is Delete Marker | Specify the output variable name in the field. The default output variable name: IsDeleteMarker. Returns whether or not this version represents a delete marker. |