@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.
Files changed (116) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +374 -0
  4. package/dist-cjs/Ivschat.js +187 -0
  5. package/dist-cjs/IvschatClient.js +35 -0
  6. package/dist-cjs/commands/CreateChatTokenCommand.js +36 -0
  7. package/dist-cjs/commands/CreateRoomCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteMessageCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteRoomCommand.js +36 -0
  10. package/dist-cjs/commands/DisconnectUserCommand.js +36 -0
  11. package/dist-cjs/commands/GetRoomCommand.js +36 -0
  12. package/dist-cjs/commands/ListRoomsCommand.js +36 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  14. package/dist-cjs/commands/SendEventCommand.js +36 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  17. package/dist-cjs/commands/UpdateRoomCommand.js +36 -0
  18. package/dist-cjs/commands/index.js +15 -0
  19. package/dist-cjs/endpoints.js +131 -0
  20. package/dist-cjs/index.js +11 -0
  21. package/dist-cjs/models/IvschatServiceException.js +11 -0
  22. package/dist-cjs/models/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +297 -0
  24. package/dist-cjs/pagination/Interfaces.js +2 -0
  25. package/dist-cjs/pagination/ListRoomsPaginator.js +36 -0
  26. package/dist-cjs/pagination/index.js +5 -0
  27. package/dist-cjs/protocols/Aws_restJson1.js +1253 -0
  28. package/dist-cjs/runtimeConfig.browser.js +45 -0
  29. package/dist-cjs/runtimeConfig.js +50 -0
  30. package/dist-cjs/runtimeConfig.native.js +16 -0
  31. package/dist-cjs/runtimeConfig.shared.js +17 -0
  32. package/dist-es/Ivschat.js +190 -0
  33. package/dist-es/IvschatClient.js +37 -0
  34. package/dist-es/commands/CreateChatTokenCommand.js +39 -0
  35. package/dist-es/commands/CreateRoomCommand.js +39 -0
  36. package/dist-es/commands/DeleteMessageCommand.js +39 -0
  37. package/dist-es/commands/DeleteRoomCommand.js +39 -0
  38. package/dist-es/commands/DisconnectUserCommand.js +39 -0
  39. package/dist-es/commands/GetRoomCommand.js +39 -0
  40. package/dist-es/commands/ListRoomsCommand.js +39 -0
  41. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  42. package/dist-es/commands/SendEventCommand.js +39 -0
  43. package/dist-es/commands/TagResourceCommand.js +39 -0
  44. package/dist-es/commands/UntagResourceCommand.js +39 -0
  45. package/dist-es/commands/UpdateRoomCommand.js +39 -0
  46. package/dist-es/commands/index.js +12 -0
  47. package/dist-es/endpoints.js +127 -0
  48. package/dist-es/index.js +6 -0
  49. package/dist-es/models/IvschatServiceException.js +12 -0
  50. package/dist-es/models/index.js +1 -0
  51. package/dist-es/models/models_0.js +235 -0
  52. package/dist-es/pagination/Interfaces.js +1 -0
  53. package/dist-es/pagination/ListRoomsPaginator.js +75 -0
  54. package/dist-es/pagination/index.js +2 -0
  55. package/dist-es/protocols/Aws_restJson1.js +1519 -0
  56. package/dist-es/runtimeConfig.browser.js +26 -0
  57. package/dist-es/runtimeConfig.js +28 -0
  58. package/dist-es/runtimeConfig.native.js +8 -0
  59. package/dist-es/runtimeConfig.shared.js +13 -0
  60. package/dist-types/Ivschat.d.ts +278 -0
  61. package/dist-types/IvschatClient.d.ts +332 -0
  62. package/dist-types/commands/CreateChatTokenCommand.d.ts +39 -0
  63. package/dist-types/commands/CreateRoomCommand.d.ts +35 -0
  64. package/dist-types/commands/DeleteMessageCommand.d.ts +38 -0
  65. package/dist-types/commands/DeleteRoomCommand.d.ts +35 -0
  66. package/dist-types/commands/DisconnectUserCommand.d.ts +36 -0
  67. package/dist-types/commands/GetRoomCommand.d.ts +35 -0
  68. package/dist-types/commands/ListRoomsCommand.d.ts +36 -0
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  70. package/dist-types/commands/SendEventCommand.d.ts +37 -0
  71. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  72. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  73. package/dist-types/commands/UpdateRoomCommand.d.ts +35 -0
  74. package/dist-types/commands/index.d.ts +12 -0
  75. package/dist-types/endpoints.d.ts +2 -0
  76. package/dist-types/index.d.ts +6 -0
  77. package/dist-types/models/IvschatServiceException.d.ts +10 -0
  78. package/dist-types/models/index.d.ts +1 -0
  79. package/dist-types/models/models_0.d.ts +762 -0
  80. package/dist-types/pagination/Interfaces.d.ts +6 -0
  81. package/dist-types/pagination/ListRoomsPaginator.d.ts +4 -0
  82. package/dist-types/pagination/index.d.ts +2 -0
  83. package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
  84. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  85. package/dist-types/runtimeConfig.d.ts +40 -0
  86. package/dist-types/runtimeConfig.native.d.ts +39 -0
  87. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  88. package/dist-types/ts3.4/Ivschat.d.ts +65 -0
  89. package/dist-types/ts3.4/IvschatClient.d.ts +85 -0
  90. package/dist-types/ts3.4/commands/CreateChatTokenCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/DisconnectUserCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  103. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  104. package/dist-types/ts3.4/index.d.ts +6 -0
  105. package/dist-types/ts3.4/models/IvschatServiceException.d.ts +6 -0
  106. package/dist-types/ts3.4/models/index.d.ts +1 -0
  107. package/dist-types/ts3.4/models/models_0.d.ts +438 -0
  108. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  109. package/dist-types/ts3.4/pagination/ListRoomsPaginator.d.ts +4 -0
  110. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  111. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  116. 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,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./Ivschat";
2
+ export * from "./IvschatClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { IvschatServiceException } from "./models/IvschatServiceException";
@@ -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";