Skip to content

Commit 161a9a4

Browse files
authored
docs(client-ses): use await in async/await sample
1 parent 7c53094 commit 161a9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/client-ses/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const client = new AWS.SES({ region: "REGION" });
140140

141141
// async/await.
142142
try {
143-
const data = client.cloneReceiptRuleSet(params);
143+
const data = await client.cloneReceiptRuleSet(params);
144144
// process data.
145145
} catch (error) {
146146
// error handling.

0 commit comments

Comments
 (0)