.. Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.

   This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0
   International License (the "License"). You may not use this file except in compliance with the
   License. A copy of the License is located at http://creativecommons.org/licenses/by-nc-sa/4.0/.

   This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
   either express or implied. See the License for the specific language governing permissions and
   limitations under the License.

.. _aws-boto3-examples:

#############
Code Examples
#############

This section describes code examples that demonstrate how to use the AWS SDK
for Python to call various AWS services. The source files for the examples,
plus additional example programs, are available in the `AWS Code
Catalog <https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/python/example_code>`_.

To propose a new code example for the AWS documentation team to consider producing, create a new request.
The team is looking to produce code examples that cover broader scenarios and use cases,
versus simple code snippets that cover only individual API calls. For instructions, see
the "Proposing new code examples" section in the
`Readme on GitHub <https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/README.md>`_.

Before running an example, your AWS credentials must be configured as
described in :doc:`quickstart`.

.. toctree::
   :maxdepth: 1

   cw-examples
   dynamodb
   ec2-examples
   iam-examples
   kms-examples
   s3-examples
   secrets-manager
   ses-examples
   sqs-examples
