Skip to content

Commit 7a2e2d5

Browse files
authored
Java V2 improved the coupon example for SES by adding a note (#7703)
1 parent b7c178e commit 7a2e2d5

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

javav2/example_code/ses/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@
101101
<version>5.9.0</version>
102102
<scope>test</scope>
103103
</dependency>
104-
<dependency>
105-
<groupId>software.amazon.awssdk</groupId>
106-
<artifactId>protocol-core</artifactId>
107-
<version>2.17.143</version>
108-
</dependency>
109104
<dependency>
110105
<groupId>junit</groupId>
111106
<artifactId>junit</artifactId>

javav2/example_code/ses/resources/config.properties

Lines changed: 0 additions & 4 deletions
This file was deleted.

javav2/example_code/ses/src/main/java/com/example/sesv2/NewsletterWorkflow.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,27 @@
1717
* This class implements the SES v2 Coupon Newsletter Workflow.
1818
* It demonstrates how to use the Amazon Simple Email Service (SES) v2 to send a
1919
* coupon newsletter to a list of contacts.
20+
*
21+
* NOTE:
22+
* To run this example, make sure the following resource files exist:
23+
* - welcome.html
24+
* - welcome.txt
25+
* - coupon-newsletter.html
26+
* - coupon-newsletter.txt
27+
* - sample_coupons.json
28+
*
29+
* These files are located in your project here:
30+
*
31+
* aws-doc-sdk-examples\scenarios\features\sesv2_weekly_mailer\resources
32+
*
33+
* The program expects them in:
34+
*
35+
* aws-doc-sdk-examples\resources\coupon_newsletter
36+
*
37+
* So copy the files from:
38+
* aws-doc-sdk-examples\scenarios\features\sesv2_weekly_mailer\resources
39+
* To:
40+
* [your project]\resources\coupon_newsletter
2041
*/
2142
public class NewsletterWorkflow {
2243
public static final String CONTACT_LIST_NAME = "weekly-coupons-newsletter";

0 commit comments

Comments
 (0)