@aws-sdk/client-sesv2 3.418.0 → 3.423.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -30,16 +30,16 @@ using your favorite package manager:
30
30
 
31
31
  The AWS SDK is modulized by clients and commands.
32
32
  To send a request, you only need to import the `SESv2Client` and
33
- the commands you need, for example `BatchGetMetricDataCommand`:
33
+ the commands you need, for example `ListContactListsCommand`:
34
34
 
35
35
  ```js
36
36
  // ES5 example
37
- const { SESv2Client, BatchGetMetricDataCommand } = require("@aws-sdk/client-sesv2");
37
+ const { SESv2Client, ListContactListsCommand } = require("@aws-sdk/client-sesv2");
38
38
  ```
39
39
 
40
40
  ```ts
41
41
  // ES6+ example
42
- import { SESv2Client, BatchGetMetricDataCommand } from "@aws-sdk/client-sesv2";
42
+ import { SESv2Client, ListContactListsCommand } from "@aws-sdk/client-sesv2";
43
43
  ```
44
44
 
45
45
  ### Usage
@@ -58,7 +58,7 @@ const client = new SESv2Client({ region: "REGION" });
58
58
  const params = {
59
59
  /** input parameters */
60
60
  };
61
- const command = new BatchGetMetricDataCommand(params);
61
+ const command = new ListContactListsCommand(params);
62
62
  ```
63
63
 
64
64
  #### Async/await
@@ -137,7 +137,7 @@ const client = new AWS.SESv2({ region: "REGION" });
137
137
 
138
138
  // async/await.
139
139
  try {
140
- const data = await client.batchGetMetricData(params);
140
+ const data = await client.listContactLists(params);
141
141
  // process data.
142
142
  } catch (error) {
143
143
  // error handling.
@@ -145,7 +145,7 @@ try {
145
145
 
146
146
  // Promises.
147
147
  client
148
- .batchGetMetricData(params)
148
+ .listContactLists(params)
149
149
  .then((data) => {
150
150
  // process data.
151
151
  })
@@ -154,7 +154,7 @@ client
154
154
  });
155
155
 
156
156
  // callbacks.
157
- client.batchGetMetricData(params, (err, data) => {
157
+ client.listContactLists(params, (err, data) => {
158
158
  // process err and data.
159
159
  });
160
160
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sesv2",
3
3
  "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
4
+ "version": "3.423.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.418.0",
25
- "@aws-sdk/credential-provider-node": "3.418.0",
24
+ "@aws-sdk/client-sts": "3.423.0",
25
+ "@aws-sdk/credential-provider-node": "3.423.0",
26
26
  "@aws-sdk/middleware-host-header": "3.418.0",
27
27
  "@aws-sdk/middleware-logger": "3.418.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.418.0",