Docs
  • 0.8.1latest
  • 0.8.0
  • 0.7.0
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0-beta
  • 0.2.1-beta
  • 0.2.0-beta

The S3 surface

Which S3 operations are implemented and how, and the rule for every other one: refused with NotImplemented, never routed somewhere it happens to fit.

Requests are dispatched by operation name. An operation the server does not implement is answered NotImplemented; an unknown or misplaced parameter is refused before any operation runs. Each of the 116 operations of the AWS S3 model is signed, sent and answered in the server's tests.

Buckets

operationnotes
CreateBucket · HeadBucket · DeleteBucket · ListBucketsa bucket holding only versions is not empty
GetBucketLocationthe server's region
GetBucketVersioning · PutBucketVersioningnever versioned → Enabled ↔ Suspended, never back; MFA delete refused
GetBucketLifecycleConfiguration · PutBucketLifecycleConfiguration · DeleteBucketLifecyclesee Events, lifecycle and media
GetBucketNotificationConfiguration · PutBucketNotificationConfigurationqueue configurations only
GetBucketReplication · PutBucketReplication · DeleteBucketReplicationthe Filter form, both buckets versioned; see Clusters
GetObjectLockConfiguration · PutObjectLockConfigurationa bucket created with x-amz-bucket-object-lock-enabled, or a versioned one; kept for good, with an optional default retention
GetBucketTagging · PutBucketTagging · DeleteBucketTaggingat most 50 tags; none is NoSuchTagSet
GetBucketEncryption · PutBucketEncryption · DeleteBucketEncryptionAES256 or aws:kms under a key this node holds; see Encryption
GetBucketPolicy · PutBucketPolicy · DeleteBucketPolicy · GetBucketPolicyStatusevaluated on every request; see Policies, groups and temporary credentials
GetPublicAccessBlock · PutPublicAccessBlock · DeletePublicAccessBlockevery switch on for a bucket that set none
GetBucketCors · PutBucketCors · DeleteBucketCorsup to 100 rules; preflights answered without credentials

Objects

operationnotes
PutObjectup to 5 GiB; payload hash and declared checksums verified before the write is acknowledged; SSE-S3, SSE-KMS and SSE-C
POST objecta browser form to POST /{bucket} under a signed policy
GetObject · HeadObjectranges, partNumber, versionId, x-amz-version-id answered; in an Object Lock bucket, the version's lock mode, retain-until date and legal hold
CopyObjectup to 5 GiB, COPY or REPLACE metadata, copy-source conditions, checksum recomputed and checked; the current or a named source version (?versionId=), answered x-amz-copy-source-version-id
GetObjectAttributesonly the attributes asked for: ETag, stored checksum and its type, a multipart object's parts (paged), storage class and size, of a version or the current one
GetBucketAcl · GetObjectAcl · PutBucketAcl · PutObjectAclACLs stay disabled: a read answers the owner's FULL_CONTROL; a write is taken only as private or bucket-owner-full-control and changes nothing
GetBucketOwnershipControls · PutBucketOwnershipControlsBucketOwnerEnforced only; every owner an answer names is the bucket's space
DeleteObject · DeleteObjectswith versionId, removes that version for good
ListObjectsV2 · ListObjectsbyte order, delimiter roll-up, authenticated continuation tokens, encoding-type=url
ListObjectVersionskeys in byte order, each key newest first with IsLatest, key and version-id markers
GetObjectTagging · PutObjectTagging · DeleteObjectTagginga version by versionId or the current one; at most 10 tags, aws: keys refused; x-amz-tagging on PutObject, CopyObject and CreateMultipartUpload, x-amz-tagging-count on reads
GetObjectRetention · PutObjectRetention · GetObjectLegalHold · PutObjectLegalHoldCOMPLIANCE is never shortened; GOVERNANCE yields to who administers the bucket with x-amz-bypass-governance-retention: true, and without it is only extended; a kept version cannot be deleted or rewritten by any path, lifecycle included

Multipart

operationnotes
CreateMultipartUpload · UploadPart · UploadPartCopyObject Lock headers on CreateMultipartUpload are kept by the completed version; UploadPartCopy from a range or all of a source, current or named by version
ListParts · ListMultipartUploadskey and upload-id markers, delimiter roll-up
CompleteMultipartUploadmultipart ETag, full-object or composite checksum; reads across parts with Range and partNumber
AbortMultipartUploadan upload open longer than TESSARIDB_S3_UPLOAD_MAX_AGE_SECS (a week) is aborted by the reaper

Versioning in practice

An enabled bucket keeps every version and a delete adds a marker; a suspended one replaces only the null version. GetObject with a versionId naming no version answers NoSuchVersion; a delete marker named by id answers 405, and a current one 404 with x-amz-delete-marker. Removing a delete marker by id brings the object back. Objects from an earlier build become null versions at start.

What is not here yet

ACLs other than the owner's, event holds, website configuration, lifecycle transitions and dual-layer KMS encryption are among the operations answered NotImplemented today. A client that needs one of them gets that refusal, not a quiet success.