Skip to main content

AWS S3 Operations Reference

Orkes Conductor integrates with AWS S3 to let you create and manage buckets, objects, and folders directly from your workflows. Once you configure the AWS S3 integration, you can use the following operations to create, retrieve, upload, and delete data in AWS S3 without leaving your workflow.

This page covers the parameters and expected output for each operation available in the AWS S3 integration.

Create Bucket

Creates a new S3 bucket.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket to create. Must be unique across all accounts globally, i.e., no two buckets anywhere can share the same name.stringRequired.
Bucket RegionThe AWS region for the bucket. Defaults to the region configured in the integration if not specified.stringOptional.

List Buckets

Lists all S3 buckets in the AWS account.

This operation has no input parameters.

Search Buckets

Searches for S3 buckets by partial name match.

ParameterDescriptionTypeRequired/Optional
Search PatternThe partial bucket name to search for. Returns all buckets if not specified.stringOptional.

Delete Bucket

Deletes an empty S3 bucket.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket to delete.stringRequired.

Upload Object

Uploads content as an S3 object to a specified bucket.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket to upload the object to.stringRequired.
KeyThe object key (filename or path) of the object in S3. For nested objects, include the full path. For example, folder/file.txt.stringRequired.
ContentThe file content to upload as a string.stringRequired.
Content TypeThe MIME type of the object. For example, text/plain or application/json.stringOptional.

List Objects

Lists objects in an S3 bucket, optionally filtered by prefix.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket to list objects from.stringRequired.
PrefixThe prefix to filter objects by. For example, documents/.stringOptional.
Max KeysThe maximum number of objects to return. Defaults to 1000.integerOptional.

Download Object

Downloads an S3 object and returns its content as a string.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket containing the object.stringRequired.
KeyThe object key (filename or path) of the object in S3. For nested objects, include the full path. For example, folder/file.txt.stringRequired.

Get Object Metadata

Retrieves metadata about an S3 object, including size, last modified date, and content type.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket containing the object.stringRequired.
KeyThe object key (filename or path) of the object in S3. For nested objects, include the full path. For example, folder/file.txt.stringRequired.

Copy Object

Copies an S3 object to a destination bucket in the same AWS region.

note

The source and destination buckets must be in the same AWS region. Cross-region copying is not supported.

ParameterDescriptionTypeRequired/Optional
Source BucketThe name of the source bucket.stringRequired.
Source KeyThe object key (filename or path) of the source object. For nested objects, include the full path. For example, folder/file.txt.stringRequired.
Destination BucketThe name of the destination bucket.stringRequired.
Destination KeyThe object key (filename or path) for the copied object in the destination bucket. For nested objects, include the full path. For example, folder/file.txt.stringRequired.

Delete Object

Deletes an object from an S3 bucket.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket containing the object to delete.stringRequired.
KeyThe object key (filename or path) of the object in S3. For nested objects, include the full path. For example, folder/file.txt.stringRequired.

Create Folder

Creates an empty folder in an S3 bucket.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket to create the folder in.stringRequired.
Folder PathThe path of the folder to create. For example, documents/subfolder/.stringRequired.

List Folders

Lists folders in an S3 bucket.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket to list folders from.stringRequired.
Max FoldersThe maximum number of folders to return. Defaults to 1000.integerOptional.

Delete Folder

Deletes a folder and all objects within it.

ParameterDescriptionTypeRequired/Optional
Bucket NameThe name of the bucket containing the folder to delete.stringRequired.
Folder PathThe path of the folder to delete. All contents within the folder will be removed.stringRequired.