@aws-sdk/client-ivschat 3.78.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +374 -0
- package/dist-cjs/Ivschat.js +187 -0
- package/dist-cjs/IvschatClient.js +35 -0
- package/dist-cjs/commands/CreateChatTokenCommand.js +36 -0
- package/dist-cjs/commands/CreateRoomCommand.js +36 -0
- package/dist-cjs/commands/DeleteMessageCommand.js +36 -0
- package/dist-cjs/commands/DeleteRoomCommand.js +36 -0
- package/dist-cjs/commands/DisconnectUserCommand.js +36 -0
- package/dist-cjs/commands/GetRoomCommand.js +36 -0
- package/dist-cjs/commands/ListRoomsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/SendEventCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateRoomCommand.js +36 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/IvschatServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +297 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListRoomsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1253 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Ivschat.js +190 -0
- package/dist-es/IvschatClient.js +37 -0
- package/dist-es/commands/CreateChatTokenCommand.js +39 -0
- package/dist-es/commands/CreateRoomCommand.js +39 -0
- package/dist-es/commands/DeleteMessageCommand.js +39 -0
- package/dist-es/commands/DeleteRoomCommand.js +39 -0
- package/dist-es/commands/DisconnectUserCommand.js +39 -0
- package/dist-es/commands/GetRoomCommand.js +39 -0
- package/dist-es/commands/ListRoomsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/SendEventCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateRoomCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/IvschatServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +235 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRoomsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1519 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Ivschat.d.ts +278 -0
- package/dist-types/IvschatClient.d.ts +332 -0
- package/dist-types/commands/CreateChatTokenCommand.d.ts +39 -0
- package/dist-types/commands/CreateRoomCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +38 -0
- package/dist-types/commands/DeleteRoomCommand.d.ts +35 -0
- package/dist-types/commands/DisconnectUserCommand.d.ts +36 -0
- package/dist-types/commands/GetRoomCommand.d.ts +35 -0
- package/dist-types/commands/ListRoomsCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/SendEventCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateRoomCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/IvschatServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +762 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListRoomsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Ivschat.d.ts +65 -0
- package/dist-types/ts3.4/IvschatClient.d.ts +85 -0
- package/dist-types/ts3.4/commands/CreateChatTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisconnectUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendEventCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/IvschatServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +438 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRoomsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +93 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { SendEventRequest, SendEventResponse } from "../models/models_0";
|
|
5
|
+
export interface SendEventCommandInput extends SendEventRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SendEventCommandOutput extends SendEventResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Sends an event to a room. Use this within your application’s business logic to send
|
|
11
|
+
* events to clients of a room; e.g., to notify clients to change the way the chat UI is
|
|
12
|
+
* rendered.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { IvschatClient, SendEventCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
17
|
+
* // const { IvschatClient, SendEventCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
18
|
+
* const client = new IvschatClient(config);
|
|
19
|
+
* const command = new SendEventCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link SendEventCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link SendEventCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class SendEventCommand extends $Command<SendEventCommandInput, SendEventCommandOutput, IvschatClientResolvedConfig> {
|
|
29
|
+
readonly input: SendEventCommandInput;
|
|
30
|
+
constructor(input: SendEventCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendEventCommandInput, SendEventCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Adds or updates tags for the AWS resource with the specified ARN.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IvschatClient, TagResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
15
|
+
* // const { IvschatClient, TagResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
16
|
+
* const client = new IvschatClient(config);
|
|
17
|
+
* const command = new TagResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, IvschatClientResolvedConfig> {
|
|
27
|
+
readonly input: TagResourceCommandInput;
|
|
28
|
+
constructor(input: TagResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes tags from the resource with the specified ARN.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IvschatClient, UntagResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
15
|
+
* // const { IvschatClient, UntagResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
16
|
+
* const client = new IvschatClient(config);
|
|
17
|
+
* const command = new UntagResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, IvschatClientResolvedConfig> {
|
|
27
|
+
readonly input: UntagResourceCommandInput;
|
|
28
|
+
constructor(input: UntagResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { UpdateRoomRequest, UpdateRoomResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateRoomCommandInput extends UpdateRoomRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateRoomCommandOutput extends UpdateRoomResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates a room’s configuration.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IvschatClient, UpdateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
15
|
+
* // const { IvschatClient, UpdateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
16
|
+
* const client = new IvschatClient(config);
|
|
17
|
+
* const command = new UpdateRoomCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateRoomCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateRoomCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateRoomCommand extends $Command<UpdateRoomCommandInput, UpdateRoomCommandOutput, IvschatClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateRoomCommandInput;
|
|
28
|
+
constructor(input: UpdateRoomCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRoomCommandInput, UpdateRoomCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./CreateChatTokenCommand";
|
|
2
|
+
export * from "./CreateRoomCommand";
|
|
3
|
+
export * from "./DeleteMessageCommand";
|
|
4
|
+
export * from "./DeleteRoomCommand";
|
|
5
|
+
export * from "./DisconnectUserCommand";
|
|
6
|
+
export * from "./GetRoomCommand";
|
|
7
|
+
export * from "./ListRoomsCommand";
|
|
8
|
+
export * from "./ListTagsForResourceCommand";
|
|
9
|
+
export * from "./SendEventCommand";
|
|
10
|
+
export * from "./TagResourceCommand";
|
|
11
|
+
export * from "./UntagResourceCommand";
|
|
12
|
+
export * from "./UpdateRoomCommand";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Ivschat service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class IvschatServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|