Skip to content

Commit 5aaca39

Browse files
committed
Metadata cleanup.
1 parent 2f9701a commit 5aaca39

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

python/example_code/sesv2/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ Code excerpts that show you how to call individual service functions.
4545

4646
- [CreateContact](newsletter_scenario/newsletter.py#L155)
4747
- [CreateContactList](newsletter_scenario/newsletter.py#L105)
48-
- [CreateEmailIdentity](newsletter_scenario/newsletter.py#L92)
49-
- [CreateEmailTemplate](newsletter_scenario/newsletter.py#L118)
48+
- [CreateEmailIdentity](attachments_scenario/sesv2_wrapper.py#L73)
49+
- [CreateEmailTemplate](attachments_scenario/sesv2_wrapper.py#L109)
5050
- [DeleteContactList](newsletter_scenario/newsletter.py#L258)
51-
- [DeleteEmailIdentity](newsletter_scenario/newsletter.py#L286)
52-
- [DeleteEmailTemplate](newsletter_scenario/newsletter.py#L271)
51+
- [DeleteEmailIdentity](attachments_scenario/sesv2_wrapper.py#L321)
52+
- [DeleteEmailTemplate](attachments_scenario/sesv2_wrapper.py#L291)
5353
- [GetEmailIdentity](attachments_scenario/sesv2_wrapper.py#L42)
5454
- [ListContacts](newsletter_scenario/newsletter.py#L198)
5555
- [SendBulkEmail](attachments_scenario/sesv2_wrapper.py#L227)

python/example_code/sesv2/attachments_scenario/scenario_sesv2_email_attachments.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
3. Send bulk templated emails with attachments to multiple recipients.
1111
1212
The new attachment support eliminates the need for developers to construct
13-
raw MIME messages SES handles the MIME assembly automatically.
13+
raw MIME messages. SES handles the MIME assembly automatically.
1414
"""
1515

1616
import json
@@ -190,7 +190,7 @@ def _step1_send_email_with_attachment(self) -> None:
190190
message_id = self.sesv2_wrapper.send_email(
191191
from_address=self.sender_email,
192192
to_addresses=self.recipient_emails,
193-
subject="SESv2 Attachment Demo Simple Email with Attachment",
193+
subject="SESv2 Attachment Demo - Simple Email with Attachment",
194194
html_body=(
195195
"<h1>Attachment Demo</h1>"
196196
"<p>Please see the attached <b>report document</b>.</p>"
@@ -247,16 +247,16 @@ def _step2_send_email_with_inline_image(self) -> None:
247247
message_id = self.sesv2_wrapper.send_email(
248248
from_address=self.sender_email,
249249
to_addresses=self.recipient_emails,
250-
subject="SESv2 Attachment Demo Inline Image",
250+
subject="SESv2 Attachment Demo - Inline Image",
251251
html_body=html_body,
252252
text_body=(
253-
"Inline Image Demo Please view this email in an "
253+
"Inline Image Demo - Please view this email in an "
254254
"HTML-capable client to see the embedded image."
255255
),
256256
attachments=[attachment],
257257
)
258258

259-
print(f" Email sent! MessageId: {message_id}")
259+
print(f" Email sent. MessageId: {message_id}")
260260
print(
261261
" The ContentId 'logo123' is referenced in the HTML body via\n"
262262
" 'cid:logo123', which lets the image render inline.\n"

scenarios/features/sesv2_attachments/SPECIFICATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This document contains a draft proposal for a Code Example for *Amazon SESv2 Ema
3232
The Hello example is a separate runnable example that introduces the SESv2 service.
3333

3434
- Set up the SESv2 service client.
35-
- Call `ListEmailIdentities` to retrieve all email identities associated with the account.
35+
- Call `ListEmailIdentities` to retrieve up to 5 email identities associated with the account.
3636
- Display the list of identities along with their type and verification status.
3737

3838
## Scenario

0 commit comments

Comments
 (0)