python/example_code/s3/scenarios/conditional_requests/README.md
This example demonstrates how to use the AWS SDK for Python (boto3) to work with Amazon Simple Storage Service (Amazon S3) conditional request features. The scenario demonstrates how to add preconditions to S3 operations, and how those operations will succeed or fail based on the conditional requests.
Amazon S3 Conditional Requests are used to add preconditions to S3 read, copy, or write requests.
To run these examples, you need:
python pip install -r requirements.txtThis example uses a feature scenario to demonstrate various aspects of S3 conditional requests. The scenario is divided into three stages:
To run this feature scenario, run the command below from this directory:
python scenario.py
© Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0