Skip to content

Commit 7a17ef9

Browse files
authored
Merge branch 'awsdocs:main' into main
2 parents d132834 + 7a2e2d5 commit 7a17ef9

5 files changed

Lines changed: 27 additions & 9 deletions

File tree

.doc_gen/metadata/dynamodb_metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,6 +1878,9 @@ dynamodb_Scenario_GettingStartedMovies:
18781878
- description:
18791879
snippet_tags:
18801880
- DynamoDB.dotnetv4.DynamoDB_Basics_Scenario
1881+
- description: Use the injected client for table operations.
1882+
snippet_tags:
1883+
- DynamoDB.dotnetv4.dynamodb-basics.DynamoDbWrapper
18811884
- description: Creates a table to contain movie data.
18821885
snippet_tags:
18831886
- DynamoDB.dotnetv4.dynamodb-basics.CreateTable

dotnetv4/DynamoDB/Actions/DynamoDbWrapper.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4+
// snippet-start:[DynamoDB.dotnetv4.dynamodb-basics.DynamoDbWrapper]
45
using System.Text.Json;
56
using Amazon.DynamoDBv2;
67
using Amazon.DynamoDBv2.DataModel;
@@ -24,6 +25,8 @@ public DynamoDbWrapper(IAmazonDynamoDB amazonDynamoDB)
2425
{
2526
_amazonDynamoDB = amazonDynamoDB;
2627
}
28+
// snippet-end:[DynamoDB.dotnetv4.dynamodb-basics.DynamoDbWrapper]
29+
2730
// snippet-start:[DynamoDB.dotnetv4.dynamodb-basics.CreateTable]
2831

2932
/// <summary>

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)