Path: redb-route/redb.Route.S3/S3OperationType.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.S3/S3OperationType.cs
----
namespace redb.Route.S3;
///
/// S3 operation types — determines what the producer does.
/// Parsed from the first path segment of the URI: s3:OPERATION:bucket.
/// When no operation is specified, the default is for producer
/// and polling list for consumer.
///
public enum S3OperationType
{
// ── Object operations ──
/// Upload an object to the bucket. Default producer operation.
PutObject,
/// Download an object from the bucket.
GetObject,
/// Download a byte range of an object.
GetObjectRange,
/// Delete a single object.
DeleteObject,
/// Delete multiple objects in a single request.
DeleteObjects,
/// Copy an object from one bucket/key to another.
CopyObject,
/// List objects in the bucket (with optional prefix/delimiter).
ListObjects,
/// Get object metadata without downloading the body.
HeadObject,
// ── Presigned URLs ──
/// Generate a presigned download URL.
CreateDownloadLink,
/// Generate a presigned upload URL.
CreateUploadLink,
// ── Bucket operations ──
/// Create a new bucket.
CreateBucket,
/// Delete a bucket.
DeleteBucket,
/// Check if a bucket exists and is accessible.
HeadBucket,
/// List all buckets for the account.
ListBuckets,
// ── Tagging ──
/// Get tags on an object.
GetObjectTagging,
/// Set tags on an object.
PutObjectTagging,
/// Delete all tags from an object.
DeleteObjectTagging,
// ── ACL ──
/// Get the ACL of an object.
GetObjectAcl,
/// Set the ACL of an object.
PutObjectAcl,
// ── Versioning ──
/// Get bucket versioning configuration.
GetBucketVersioning,
/// Set bucket versioning (enable/suspend).
PutBucketVersioning,
// ── Restore (Glacier) ──
/// Restore an archived (Glacier) object.
RestoreObject,
}