Skip to content

Commit f117f33

Browse files
committed
Updates to README and tools requirements.
1 parent 23c6e69 commit f117f33

3 files changed

Lines changed: 50 additions & 7 deletions

File tree

.tools/base_requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
black==26.3.1
1+
black==24.10.0
22
flake8==6.1.0
33
mypy-extensions==1.0.0
4-
pathspec==1.0.0
4+
pathspec==0.11.2
55
PyYAML==6.0.1
66
requests==2.33.0
77
typer==0.15.2

.tools/readmes/requirements_freeze.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
aws_doc_sdk_examples_tools @ git+https://github.com/awsdocs/aws-doc-sdk-examples-tools@2025.41.0
2-
black==26.3.1
2+
black==24.10.0
33
certifi==2025.1.31
44
charset-normalizer==3.4.1
55
click==8.1.8

python/example_code/sesv2/README.md

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,23 @@ python -m pip install -r requirements.txt
3434
<!--custom.prerequisites.start-->
3535
<!--custom.prerequisites.end-->
3636

37+
### Get started
38+
39+
- [Hello Amazon SES v2 API](sesv2_hello.py#L18) (`ListEmailIdentities`)
40+
41+
3742
### Single actions
3843

3944
Code excerpts that show you how to call individual service functions.
4045

4146
- [CreateContact](newsletter.py#L155)
4247
- [CreateContactList](newsletter.py#L105)
43-
- [CreateEmailIdentity](newsletter.py#L92)
44-
- [CreateEmailTemplate](newsletter.py#L118)
48+
- [CreateEmailIdentity](sesv2_wrapper.py#L73)
49+
- [CreateEmailTemplate](sesv2_wrapper.py#L109)
4550
- [DeleteContactList](newsletter.py#L258)
46-
- [DeleteEmailIdentity](newsletter.py#L286)
47-
- [DeleteEmailTemplate](newsletter.py#L271)
51+
- [DeleteEmailIdentity](sesv2_wrapper.py#L321)
52+
- [DeleteEmailTemplate](sesv2_wrapper.py#L291)
53+
- [GetEmailIdentity](sesv2_wrapper.py#L42)
4854
- [ListContacts](newsletter.py#L198)
4955
- [SendEmail](newsletter.py#L164)
5056

@@ -53,8 +59,14 @@ Code excerpts that show you how to call individual service functions.
5359
Code examples that show you how to accomplish a specific task by calling multiple
5460
functions within the same service.
5561

62+
- [Email Attachments Scenario](sesv2_wrapper.py)
5663
- [Newsletter scenario](newsletter.py)
5764

65+
### Actions
66+
_Actions_ are code excerpts from larger programs and must be run in context. While actions show you how to call individual service functions, you can see actions in context in their related scenarios.
67+
68+
- [SendBulkEmail](sesv2_wrapper.py#L227)
69+
5870

5971
<!--custom.examples.start-->
6072
<!--custom.examples.end-->
@@ -74,7 +86,38 @@ To run the Newsletter example, copy the files from workflows/sesv2_weekly_mailer
7486

7587
<!--custom.instructions.end-->
7688

89+
#### Hello Amazon SES v2 API
90+
91+
This example shows you how to get started using Amazon SES v2 API.
92+
93+
```
94+
python sesv2_hello.py
95+
```
96+
97+
98+
#### Email Attachments Scenario
99+
100+
This example shows you how to send emails with attachments using Amazon SES v2 API.
101+
102+
- Verify sender email identity.
103+
- Create an email template for bulk sends.
104+
- Send a simple email with a file attachment.
105+
- Send a simple email with an inline image.
106+
- Send bulk templated emails with attachments.
107+
- Clean up resources.
108+
109+
<!--custom.scenario_prereqs.sesv2_Scenario_EmailAttachments.start-->
110+
<!--custom.scenario_prereqs.sesv2_Scenario_EmailAttachments.end-->
111+
112+
Start the example by running the following at a command prompt:
113+
114+
```
115+
python sesv2_wrapper.py
116+
```
117+
77118

119+
<!--custom.scenarios.sesv2_Scenario_EmailAttachments.start-->
120+
<!--custom.scenarios.sesv2_Scenario_EmailAttachments.end-->
78121

79122
#### Newsletter scenario
80123

0 commit comments

Comments
 (0)