capabilities.work

Enable Versioning Then Store an Object

A 3-step recipe with Amazon S3. We can help you get access.

Recipe · 3 steps

Enable Versioning Then Store an Object

with Amazon S3 · IT Infrastructure Management

Enable versioning, verify it, then upload a versioned object.

  1. Set the bucket versioning state to Enabled via a VersioningConfiguration body.
  2. Read the versioning configuration back to confirm the bucket now reports the Enabled status.
  3. Upload the object; because versioning is enabled the write is captured as a new version and a version id is returned.
What you'll need to have ready
  • bucket: The bucket to enable versioning on and write to.
  • objectKey: The key of the object to upload.
  • objectBody: The raw object payload to upload.
For your developer

Arazzo workflow amazon-s3:enable-versioning-and-put-object, 3 operations: PutBucketVersioning → GetBucketVersioning → PutObject. Specs on APIs.io.