@aws-sdk/client-ivschat 3.418.0 → 3.421.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.
- package/README.md +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -241,16 +241,16 @@ using your favorite package manager:
|
|
|
241
241
|
|
|
242
242
|
The AWS SDK is modulized by clients and commands.
|
|
243
243
|
To send a request, you only need to import the `IvschatClient` and
|
|
244
|
-
the commands you need, for example `
|
|
244
|
+
the commands you need, for example `ListRoomsCommand`:
|
|
245
245
|
|
|
246
246
|
```js
|
|
247
247
|
// ES5 example
|
|
248
|
-
const { IvschatClient,
|
|
248
|
+
const { IvschatClient, ListRoomsCommand } = require("@aws-sdk/client-ivschat");
|
|
249
249
|
```
|
|
250
250
|
|
|
251
251
|
```ts
|
|
252
252
|
// ES6+ example
|
|
253
|
-
import { IvschatClient,
|
|
253
|
+
import { IvschatClient, ListRoomsCommand } from "@aws-sdk/client-ivschat";
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
### Usage
|
|
@@ -269,7 +269,7 @@ const client = new IvschatClient({ region: "REGION" });
|
|
|
269
269
|
const params = {
|
|
270
270
|
/** input parameters */
|
|
271
271
|
};
|
|
272
|
-
const command = new
|
|
272
|
+
const command = new ListRoomsCommand(params);
|
|
273
273
|
```
|
|
274
274
|
|
|
275
275
|
#### Async/await
|
|
@@ -348,7 +348,7 @@ const client = new AWS.Ivschat({ region: "REGION" });
|
|
|
348
348
|
|
|
349
349
|
// async/await.
|
|
350
350
|
try {
|
|
351
|
-
const data = await client.
|
|
351
|
+
const data = await client.listRooms(params);
|
|
352
352
|
// process data.
|
|
353
353
|
} catch (error) {
|
|
354
354
|
// error handling.
|
|
@@ -356,7 +356,7 @@ try {
|
|
|
356
356
|
|
|
357
357
|
// Promises.
|
|
358
358
|
client
|
|
359
|
-
.
|
|
359
|
+
.listRooms(params)
|
|
360
360
|
.then((data) => {
|
|
361
361
|
// process data.
|
|
362
362
|
})
|
|
@@ -365,7 +365,7 @@ client
|
|
|
365
365
|
});
|
|
366
366
|
|
|
367
367
|
// callbacks.
|
|
368
|
-
client.
|
|
368
|
+
client.listRooms(params, (err, data) => {
|
|
369
369
|
// process err and data.
|
|
370
370
|
});
|
|
371
371
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivschat",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivschat Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.421.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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.421.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.421.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",
|