dotnetv3/S3/scenarios/S3ConditionalRequestsScenario/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.
This example uses a feature scenario to demonstrate various aspects of S3 conditional requests. The scenario is divided into three stages:
For general prerequisites, see the README in the dotnetv3 folder.
The scenario steps create the buckets and objects needed for the example. No additional resources are required.
After the example compiles, you can run it from the command line. To do so, navigate to the folder that contains the .sln file and run the following command:
dotnet run
Alternatively, you can run the example from within your IDE.
This starts an interactive scenario that walks you through exploring conditional requests for read, write, and copy operations.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0