python/example_code/ses/README.md
Shows how to use the AWS SDK for Python (Boto3) to work with Amazon Simple Email Service (Amazon SES).
<!--custom.overview.start--> <!--custom.overview.end-->Amazon SES is a reliable, scalable, and cost-effective email service.
For prerequisites, see the README in the python folder.
Install the packages required by these examples by running the following in a virtual environment:
python -m pip install -r requirements.txt
Code excerpts that show you how to call individual service functions.
Code examples that show you how to accomplish a specific task by calling multiple functions within the same service.
This example shows you how to copy Amazon SES email and domain identities from one AWS Region to another. When domain identities are managed by Route 53, verification records are copied to the domain for the destination Region.
<!--custom.scenario_prereqs.ses_Scenario_ReplicateIdentities.start--> <!--custom.scenario_prereqs.ses_Scenario_ReplicateIdentities.end-->Start the example by running the following at a command prompt:
python ses_replicate_identities.py
This example shows you how to create a web application that tracks work items in an Amazon DynamoDB table and uses Amazon Simple Email Service (Amazon SES) (Amazon SES) to send reports.
<!--custom.scenario_prereqs.cross_DynamoDBDataTracker.start--> <!--custom.scenario_prereqs.cross_DynamoDBDataTracker.end--> <!--custom.scenarios.cross_DynamoDBDataTracker.start--> <!--custom.scenarios.cross_DynamoDBDataTracker.end-->This example shows you how to create a web application that tracks work items in an Amazon Aurora Serverless database and uses Amazon Simple Email Service (Amazon SES) (Amazon SES) to send reports.
<!--custom.scenario_prereqs.cross_RDSDataTracker.start--> <!--custom.scenario_prereqs.cross_RDSDataTracker.end--> <!--custom.scenarios.cross_RDSDataTracker.start--> <!--custom.scenarios.cross_RDSDataTracker.end-->This example shows you how to build an app that uses Amazon Rekognition to detect objects by category in images.
<!--custom.scenario_prereqs.cross_RekognitionPhotoAnalyzer.start--> <!--custom.scenario_prereqs.cross_RekognitionPhotoAnalyzer.end--> <!--custom.scenarios.cross_RekognitionPhotoAnalyzer.start--> <!--custom.scenarios.cross_RekognitionPhotoAnalyzer.end-->This example shows you how to detect people and objects in a video with Amazon Rekognition.
<!--custom.scenario_prereqs.cross_RekognitionVideoDetection.start--> <!--custom.scenario_prereqs.cross_RekognitionVideoDetection.end--> <!--custom.scenarios.cross_RekognitionVideoDetection.start--> <!--custom.scenarios.cross_RekognitionVideoDetection.end-->This example shows you how to generate credentials to connect to an Amazon SES SMTP endpoint.
<!--custom.scenario_prereqs.ses_Scenario_GenerateSmtpCredentials.start--> <!--custom.scenario_prereqs.ses_Scenario_GenerateSmtpCredentials.end-->Start the example by running the following at a command prompt:
python ses_generate_smtp_credentials.py
This example shows you how to do the following:
Start the example by running the following at a command prompt:
python ses_email.py
⚠ Running tests might result in charges to your AWS account.
To find instructions for running these tests, see the README
in the python folder.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0