@aws-sdk/client-ivschat 3.298.0 → 3.300.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/dist-types/commands/CreateChatTokenCommand.d.ts +11 -0
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +17 -0
- package/dist-types/commands/CreateRoomCommand.d.ts +15 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +5 -0
- package/dist-types/commands/DeleteRoomCommand.d.ts +3 -0
- package/dist-types/commands/DisconnectUserCommand.d.ts +5 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetRoomCommand.d.ts +3 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/ListRoomsCommand.d.ts +7 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/SendEventCommand.d.ts +7 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +15 -0
- package/dist-types/commands/UpdateRoomCommand.d.ts +13 -0
- package/package.json +12 -12
|
@@ -37,6 +37,17 @@ export interface CreateChatTokenCommandOutput extends CreateChatTokenResponse, _
|
|
|
37
37
|
* import { IvschatClient, CreateChatTokenCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
38
38
|
* // const { IvschatClient, CreateChatTokenCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
39
39
|
* const client = new IvschatClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* roomIdentifier: "STRING_VALUE", // required
|
|
42
|
+
* userId: "STRING_VALUE", // required
|
|
43
|
+
* capabilities: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* sessionDurationInMinutes: Number("int"),
|
|
47
|
+
* attributes: {
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
40
51
|
* const command = new CreateChatTokenCommand(input);
|
|
41
52
|
* const response = await client.send(command);
|
|
42
53
|
* ```
|
|
@@ -27,6 +27,23 @@ export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingCo
|
|
|
27
27
|
* import { IvschatClient, CreateLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
28
28
|
* // const { IvschatClient, CreateLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
29
29
|
* const client = new IvschatClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* destinationConfiguration: { // Union: only one key present
|
|
33
|
+
* s3: {
|
|
34
|
+
* bucketName: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* cloudWatchLogs: {
|
|
37
|
+
* logGroupName: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* firehose: {
|
|
40
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* tags: {
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
30
47
|
* const command = new CreateLoggingConfigurationCommand(input);
|
|
31
48
|
* const response = await client.send(command);
|
|
32
49
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface CreateRoomCommandOutput extends CreateRoomResponse, __MetadataB
|
|
|
26
26
|
* import { IvschatClient, CreateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, CreateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* name: "STRING_VALUE",
|
|
31
|
+
* maximumMessageRatePerSecond: Number("int"),
|
|
32
|
+
* maximumMessageLength: Number("int"),
|
|
33
|
+
* messageReviewHandler: {
|
|
34
|
+
* uri: "STRING_VALUE",
|
|
35
|
+
* fallbackResult: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* loggingConfigurationIdentifiers: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
29
44
|
* const command = new CreateRoomCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteLoggingConfigurationCommandOutput extends __MetadataBeare
|
|
|
26
26
|
* import { IvschatClient, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* identifier: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteLoggingConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface DeleteMessageCommandOutput extends DeleteMessageResponse, __Met
|
|
|
29
29
|
* import { IvschatClient, DeleteMessageCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
30
30
|
* // const { IvschatClient, DeleteMessageCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
31
31
|
* const client = new IvschatClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* roomIdentifier: "STRING_VALUE", // required
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* reason: "STRING_VALUE",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new DeleteMessageCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteRoomCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { IvschatClient, DeleteRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, DeleteRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* identifier: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteRoomCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DisconnectUserCommandOutput extends DisconnectUserResponse, __M
|
|
|
28
28
|
* import { IvschatClient, DisconnectUserCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
29
29
|
* // const { IvschatClient, DisconnectUserCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
30
30
|
* const client = new IvschatClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* roomIdentifier: "STRING_VALUE", // required
|
|
33
|
+
* userId: "STRING_VALUE", // required
|
|
34
|
+
* reason: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DisconnectUserCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
|
|
|
26
26
|
* import { IvschatClient, GetLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, GetLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* identifier: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetLoggingConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetRoomCommandOutput extends GetRoomResponse, __MetadataBearer
|
|
|
26
26
|
* import { IvschatClient, GetRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, GetRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* identifier: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetRoomCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
|
|
|
27
27
|
* import { IvschatClient, ListLoggingConfigurationsCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
28
28
|
* // const { IvschatClient, ListLoggingConfigurationsCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
29
29
|
* const client = new IvschatClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListLoggingConfigurationsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ListRoomsCommandOutput extends ListRoomsResponse, __MetadataBea
|
|
|
27
27
|
* import { IvschatClient, ListRoomsCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
28
28
|
* // const { IvschatClient, ListRoomsCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
29
29
|
* const client = new IvschatClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* messageReviewHandlerUri: "STRING_VALUE",
|
|
35
|
+
* loggingConfigurationIdentifier: "STRING_VALUE",
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ListRoomsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { IvschatClient, ListTagsForResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface SendEventCommandOutput extends SendEventResponse, __MetadataBea
|
|
|
28
28
|
* import { IvschatClient, SendEventCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
29
29
|
* // const { IvschatClient, SendEventCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
30
30
|
* const client = new IvschatClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* roomIdentifier: "STRING_VALUE", // required
|
|
33
|
+
* eventName: "STRING_VALUE", // required
|
|
34
|
+
* attributes: {
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
31
38
|
* const command = new SendEventCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { IvschatClient, TagResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, TagResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { IvschatClient, UntagResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, UntagResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingCo
|
|
|
26
26
|
* import { IvschatClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* identifier: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* destinationConfiguration: { // Union: only one key present
|
|
33
|
+
* s3: {
|
|
34
|
+
* bucketName: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* cloudWatchLogs: {
|
|
37
|
+
* logGroupName: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* firehose: {
|
|
40
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
29
44
|
* const command = new UpdateLoggingConfigurationCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface UpdateRoomCommandOutput extends UpdateRoomResponse, __MetadataB
|
|
|
26
26
|
* import { IvschatClient, UpdateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
27
27
|
* // const { IvschatClient, UpdateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
28
28
|
* const client = new IvschatClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* identifier: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* maximumMessageRatePerSecond: Number("int"),
|
|
33
|
+
* maximumMessageLength: Number("int"),
|
|
34
|
+
* messageReviewHandler: {
|
|
35
|
+
* uri: "STRING_VALUE",
|
|
36
|
+
* fallbackResult: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* loggingConfigurationIdentifiers: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new UpdateRoomCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
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.300.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,23 +21,23 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|