Conditional Download of an Object
A 2-step recipe with Amazon S3. We can help you get access.
Recipe · 2 steps
Conditional Download of an Object
with Amazon S3
HEAD then GET an object, downloading only when it exists.
- HEAD the object to learn its ETag and size before deciding to download.
- Download the full object body now that the HEAD confirmed it exists.
What you'll need to have ready
- bucket: The bucket holding the object.
- objectKey: The key of the object to download.
For your developer
Arazzo workflow amazon-s3:conditional-download-object, 2 operations: HeadObject → GetObject. Specs on APIs.io.