There are more AWS SDK examples available in the AWS Doc SDK Examples
Scenarios for Amazon S3 using AWS SDKs
The following code examples show you how to implement common scenarios in Amazon S3 with AWS SDKs. These scenarios show you how to accomplish specific tasks by calling multiple functions within Amazon S3 or combined with other AWS services. Each scenario includes a link to the complete source code, where you can find instructions on how to set up and run the code.
Scenarios target an intermediate level of experience to help you understand service actions in context.
Examples
- Convert text to speech and back to text
- Create a presigned URL
- Create a serverless application to manage photos
- Create a web page that lists Amazon S3 objects
- Create an Amazon Textract explorer application
- Delete all objects in a bucket
- Delete incomplete multipart uploads
- Detect PPE in images
- Detect entities in text extracted from an image
- Detect faces in an image
- Detect objects in images
- Detect people and objects in a video
- Download S3 'directories'
- Download objects to a local directory
- Get an object from a Multi-Region Access Point
- Get an object from a bucket if it has been modified
- Get started with encryption
- Get started with tags
- Lock Amazon S3 objects
- Make conditional requests
- Manage access control lists (ACLs)
- Manage versioned objects in batches with a Lambda function
- Parse URIs
- Perform a multipart copy
- Process S3 event notifications
- Save EXIF and other image information
- Send event notifications to EventBridge
- Track uploads and downloads
- Transform data with S3 Object Lambda
- Unit and integration test with an SDK
- Upload directory to a bucket
- Upload or download large files
- Upload stream of unknown size
- Use checksums
- Work with Amazon S3 object integrity
- Work with versioned objects