@aws-sdk/client-ivschat 3.85.0 → 3.92.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 +24 -0
- package/README.md +4 -11
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +24 -16
- package/dist-types/Ivschat.d.ts +9 -20
- package/dist-types/IvschatClient.d.ts +4 -16
- package/dist-types/commands/DeleteMessageCommand.d.ts +2 -2
- package/dist-types/commands/DisconnectUserCommand.d.ts +3 -2
- package/dist-types/models/models_0.d.ts +12 -11
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ivschat
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-ivschat
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-ivschat
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.85.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.84.0...v3.85.0) (2022-05-05)
|
|
7
31
|
|
|
8
32
|
|
package/README.md
CHANGED
|
@@ -31,7 +31,6 @@ HTTPS service endpoints, see the Amazon IVS Chat information on the <a href="htt
|
|
|
31
31
|
Amazon IVS Chat Messaging API. We refer to these as <i>clients</i>. </p>
|
|
32
32
|
</li>
|
|
33
33
|
</ul>
|
|
34
|
-
|
|
35
34
|
<p>
|
|
36
35
|
<b>Resources</b>
|
|
37
36
|
</p>
|
|
@@ -44,7 +43,6 @@ which clients connect to and exchange chat messages. See the Room endpoints for
|
|
|
44
43
|
information.</p>
|
|
45
44
|
</li>
|
|
46
45
|
</ul>
|
|
47
|
-
|
|
48
46
|
<p>
|
|
49
47
|
<b>API Access Security</b>
|
|
50
48
|
</p>
|
|
@@ -74,7 +72,6 @@ user.</p>
|
|
|
74
72
|
credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the
|
|
75
73
|
underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API
|
|
76
74
|
directly, it’s your responsibility to sign the requests.</p>
|
|
77
|
-
|
|
78
75
|
<p>You generate a signature using valid AWS credentials for an IAM role that has permission
|
|
79
76
|
to perform the requested action. For example, DeleteMessage requests must be made using an IAM
|
|
80
77
|
role that has the <code>ivschat:DeleteMessage</code> permission.</p>
|
|
@@ -90,7 +87,6 @@ General Reference</i>.</p>
|
|
|
90
87
|
the Security page of the <i>Amazon IVS User Guide</i>.</p>
|
|
91
88
|
</li>
|
|
92
89
|
</ul>
|
|
93
|
-
|
|
94
90
|
<p>
|
|
95
91
|
<b>Messaging Endpoints</b>
|
|
96
92
|
</p>
|
|
@@ -100,14 +96,14 @@ the Security page of the <i>Amazon IVS User Guide</i>.</p>
|
|
|
100
96
|
<a>DeleteMessage</a> — Sends an event to a specific room which
|
|
101
97
|
directs clients to delete a specific message; that is, unrender it from view and delete it
|
|
102
98
|
from the client’s chat history. This event’s <code>EventName</code> is
|
|
103
|
-
<code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html">
|
|
104
|
-
in the Amazon IVS Chat Messaging API.</p>
|
|
99
|
+
<code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html">
|
|
100
|
+
DeleteMessage</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
105
101
|
</li>
|
|
106
102
|
<li>
|
|
107
103
|
<p>
|
|
108
104
|
<a>DisconnectUser</a> — Disconnects all connections using a specified
|
|
109
|
-
user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
110
|
-
in the Amazon IVS Chat Messaging API.</p>
|
|
105
|
+
user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
106
|
+
DisconnectUser</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
111
107
|
</li>
|
|
112
108
|
<li>
|
|
113
109
|
<p>
|
|
@@ -128,7 +124,6 @@ and a connection (session) established with the token is valid for the specified
|
|
|
128
124
|
duration.</p>
|
|
129
125
|
</li>
|
|
130
126
|
</ul>
|
|
131
|
-
|
|
132
127
|
<p>
|
|
133
128
|
<b>Room Endpoints</b>
|
|
134
129
|
</p>
|
|
@@ -156,7 +151,6 @@ the AWS region where the API request is processed. </p>
|
|
|
156
151
|
<a>UpdateRoom</a> — Updates a room’s configuration.</p>
|
|
157
152
|
</li>
|
|
158
153
|
</ul>
|
|
159
|
-
|
|
160
154
|
<p>
|
|
161
155
|
<b>Tags Endpoints</b>
|
|
162
156
|
</p>
|
|
@@ -177,7 +171,6 @@ the specified ARN.</p>
|
|
|
177
171
|
specified ARN.</p>
|
|
178
172
|
</li>
|
|
179
173
|
</ul>
|
|
180
|
-
|
|
181
174
|
<p>All the above are HTTP operations. There is a separate <i>messaging</i> API
|
|
182
175
|
for managing Chat resources; see the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/chat-messaging-api.html"> Amazon IVS Chat Messaging API
|
|
183
176
|
Reference</a>.</p>
|
|
@@ -532,6 +532,9 @@ const deserializeAws_restJson1DeleteRoomCommandError = async (output, context) =
|
|
|
532
532
|
case "AccessDeniedException":
|
|
533
533
|
case "com.amazonaws.ivschat#AccessDeniedException":
|
|
534
534
|
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
535
|
+
case "PendingVerification":
|
|
536
|
+
case "com.amazonaws.ivschat#PendingVerification":
|
|
537
|
+
throw await deserializeAws_restJson1PendingVerificationResponse(parsedOutput, context);
|
|
535
538
|
case "ResourceNotFoundException":
|
|
536
539
|
case "com.amazonaws.ivschat#ResourceNotFoundException":
|
|
537
540
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -938,6 +941,9 @@ const deserializeAws_restJson1UpdateRoomCommandError = async (output, context) =
|
|
|
938
941
|
case "AccessDeniedException":
|
|
939
942
|
case "com.amazonaws.ivschat#AccessDeniedException":
|
|
940
943
|
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
944
|
+
case "PendingVerification":
|
|
945
|
+
case "com.amazonaws.ivschat#PendingVerification":
|
|
946
|
+
throw await deserializeAws_restJson1PendingVerificationResponse(parsedOutput, context);
|
|
941
947
|
case "ResourceNotFoundException":
|
|
942
948
|
case "com.amazonaws.ivschat#ResourceNotFoundException":
|
|
943
949
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -627,19 +627,23 @@ var deserializeAws_restJson1DeleteRoomCommandError = function (output, context)
|
|
|
627
627
|
switch (_b) {
|
|
628
628
|
case "AccessDeniedException": return [3, 2];
|
|
629
629
|
case "com.amazonaws.ivschat#AccessDeniedException": return [3, 2];
|
|
630
|
-
case "
|
|
631
|
-
case "com.amazonaws.ivschat#
|
|
632
|
-
case "
|
|
633
|
-
case "com.amazonaws.ivschat#
|
|
630
|
+
case "PendingVerification": return [3, 4];
|
|
631
|
+
case "com.amazonaws.ivschat#PendingVerification": return [3, 4];
|
|
632
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
633
|
+
case "com.amazonaws.ivschat#ResourceNotFoundException": return [3, 6];
|
|
634
|
+
case "ValidationException": return [3, 8];
|
|
635
|
+
case "com.amazonaws.ivschat#ValidationException": return [3, 8];
|
|
634
636
|
}
|
|
635
|
-
return [3,
|
|
637
|
+
return [3, 10];
|
|
636
638
|
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
637
639
|
case 3: throw _d.sent();
|
|
638
|
-
case 4: return [4,
|
|
640
|
+
case 4: return [4, deserializeAws_restJson1PendingVerificationResponse(parsedOutput, context)];
|
|
639
641
|
case 5: throw _d.sent();
|
|
640
|
-
case 6: return [4,
|
|
642
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
641
643
|
case 7: throw _d.sent();
|
|
642
|
-
case 8:
|
|
644
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
645
|
+
case 9: throw _d.sent();
|
|
646
|
+
case 10:
|
|
643
647
|
parsedBody = parsedOutput.body;
|
|
644
648
|
response = new __BaseException({
|
|
645
649
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1197,19 +1201,23 @@ var deserializeAws_restJson1UpdateRoomCommandError = function (output, context)
|
|
|
1197
1201
|
switch (_b) {
|
|
1198
1202
|
case "AccessDeniedException": return [3, 2];
|
|
1199
1203
|
case "com.amazonaws.ivschat#AccessDeniedException": return [3, 2];
|
|
1200
|
-
case "
|
|
1201
|
-
case "com.amazonaws.ivschat#
|
|
1202
|
-
case "
|
|
1203
|
-
case "com.amazonaws.ivschat#
|
|
1204
|
+
case "PendingVerification": return [3, 4];
|
|
1205
|
+
case "com.amazonaws.ivschat#PendingVerification": return [3, 4];
|
|
1206
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
1207
|
+
case "com.amazonaws.ivschat#ResourceNotFoundException": return [3, 6];
|
|
1208
|
+
case "ValidationException": return [3, 8];
|
|
1209
|
+
case "com.amazonaws.ivschat#ValidationException": return [3, 8];
|
|
1204
1210
|
}
|
|
1205
|
-
return [3,
|
|
1211
|
+
return [3, 10];
|
|
1206
1212
|
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1207
1213
|
case 3: throw _d.sent();
|
|
1208
|
-
case 4: return [4,
|
|
1214
|
+
case 4: return [4, deserializeAws_restJson1PendingVerificationResponse(parsedOutput, context)];
|
|
1209
1215
|
case 5: throw _d.sent();
|
|
1210
|
-
case 6: return [4,
|
|
1216
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1211
1217
|
case 7: throw _d.sent();
|
|
1212
|
-
case 8:
|
|
1218
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1219
|
+
case 9: throw _d.sent();
|
|
1220
|
+
case 10:
|
|
1213
1221
|
parsedBody = parsedOutput.body;
|
|
1214
1222
|
response = new __BaseException({
|
|
1215
1223
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
package/dist-types/Ivschat.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
35
35
|
* Amazon IVS Chat Messaging API. We refer to these as <i>clients</i>. </p>
|
|
36
36
|
* </li>
|
|
37
37
|
* </ul>
|
|
38
|
-
*
|
|
39
38
|
* <p>
|
|
40
39
|
* <b>Resources</b>
|
|
41
40
|
* </p>
|
|
@@ -48,7 +47,6 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
48
47
|
* information.</p>
|
|
49
48
|
* </li>
|
|
50
49
|
* </ul>
|
|
51
|
-
*
|
|
52
50
|
* <p>
|
|
53
51
|
* <b>API Access Security</b>
|
|
54
52
|
* </p>
|
|
@@ -78,10 +76,6 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
78
76
|
* credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the
|
|
79
77
|
* underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API
|
|
80
78
|
* directly, it’s your responsibility to sign the requests.</p>
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
79
|
* <p>You generate a signature using valid AWS credentials for an IAM role that has permission
|
|
86
80
|
* to perform the requested action. For example, DeleteMessage requests must be made using an IAM
|
|
87
81
|
* role that has the <code>ivschat:DeleteMessage</code> permission.</p>
|
|
@@ -97,7 +91,6 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
97
91
|
* the Security page of the <i>Amazon IVS User Guide</i>.</p>
|
|
98
92
|
* </li>
|
|
99
93
|
* </ul>
|
|
100
|
-
*
|
|
101
94
|
* <p>
|
|
102
95
|
* <b>Messaging Endpoints</b>
|
|
103
96
|
* </p>
|
|
@@ -107,14 +100,14 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
107
100
|
* <a>DeleteMessage</a> — Sends an event to a specific room which
|
|
108
101
|
* directs clients to delete a specific message; that is, unrender it from view and delete it
|
|
109
102
|
* from the client’s chat history. This event’s <code>EventName</code> is
|
|
110
|
-
*
|
|
111
|
-
*
|
|
103
|
+
* <code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html">
|
|
104
|
+
* DeleteMessage</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
112
105
|
* </li>
|
|
113
106
|
* <li>
|
|
114
107
|
* <p>
|
|
115
108
|
* <a>DisconnectUser</a> — Disconnects all connections using a specified
|
|
116
|
-
* user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
117
|
-
*
|
|
109
|
+
* user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
110
|
+
* DisconnectUser</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
118
111
|
* </li>
|
|
119
112
|
* <li>
|
|
120
113
|
* <p>
|
|
@@ -135,8 +128,6 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
135
128
|
* duration.</p>
|
|
136
129
|
* </li>
|
|
137
130
|
* </ul>
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
131
|
* <p>
|
|
141
132
|
* <b>Room Endpoints</b>
|
|
142
133
|
* </p>
|
|
@@ -164,7 +155,6 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
164
155
|
* <a>UpdateRoom</a> — Updates a room’s configuration.</p>
|
|
165
156
|
* </li>
|
|
166
157
|
* </ul>
|
|
167
|
-
*
|
|
168
158
|
* <p>
|
|
169
159
|
* <b>Tags Endpoints</b>
|
|
170
160
|
* </p>
|
|
@@ -185,8 +175,6 @@ import { IvschatClient } from "./IvschatClient";
|
|
|
185
175
|
* specified ARN.</p>
|
|
186
176
|
* </li>
|
|
187
177
|
* </ul>
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
178
|
* <p>All the above are HTTP operations. There is a separate <i>messaging</i> API
|
|
191
179
|
* for managing Chat resources; see the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/chat-messaging-api.html"> Amazon IVS Chat Messaging API
|
|
192
180
|
* Reference</a>.</p>
|
|
@@ -211,8 +199,8 @@ export declare class Ivschat extends IvschatClient {
|
|
|
211
199
|
/**
|
|
212
200
|
* <p>Sends an event to a specific room which directs clients to delete a specific message;
|
|
213
201
|
* that is, unrender it from view and delete it from the client’s chat history. This event’s
|
|
214
|
-
*
|
|
215
|
-
*
|
|
202
|
+
* <code>EventName</code> is <code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html">
|
|
203
|
+
* DeleteMessage</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
216
204
|
*/
|
|
217
205
|
deleteMessage(args: DeleteMessageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageCommandOutput>;
|
|
218
206
|
deleteMessage(args: DeleteMessageCommandInput, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
@@ -224,8 +212,9 @@ export declare class Ivschat extends IvschatClient {
|
|
|
224
212
|
deleteRoom(args: DeleteRoomCommandInput, cb: (err: any, data?: DeleteRoomCommandOutput) => void): void;
|
|
225
213
|
deleteRoom(args: DeleteRoomCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRoomCommandOutput) => void): void;
|
|
226
214
|
/**
|
|
227
|
-
* <p>Disconnects all connections using a specified user ID from a room. This replicates the
|
|
228
|
-
*
|
|
215
|
+
* <p>Disconnects all connections using a specified user ID from a room. This replicates the
|
|
216
|
+
* <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
217
|
+
* DisconnectUser</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
229
218
|
*/
|
|
230
219
|
disconnectUser(args: DisconnectUserCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectUserCommandOutput>;
|
|
231
220
|
disconnectUser(args: DisconnectUserCommandInput, cb: (err: any, data?: DisconnectUserCommandOutput) => void): void;
|
|
@@ -160,7 +160,6 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
160
160
|
* Amazon IVS Chat Messaging API. We refer to these as <i>clients</i>. </p>
|
|
161
161
|
* </li>
|
|
162
162
|
* </ul>
|
|
163
|
-
*
|
|
164
163
|
* <p>
|
|
165
164
|
* <b>Resources</b>
|
|
166
165
|
* </p>
|
|
@@ -173,7 +172,6 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
173
172
|
* information.</p>
|
|
174
173
|
* </li>
|
|
175
174
|
* </ul>
|
|
176
|
-
*
|
|
177
175
|
* <p>
|
|
178
176
|
* <b>API Access Security</b>
|
|
179
177
|
* </p>
|
|
@@ -203,10 +201,6 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
203
201
|
* credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the
|
|
204
202
|
* underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API
|
|
205
203
|
* directly, it’s your responsibility to sign the requests.</p>
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
204
|
* <p>You generate a signature using valid AWS credentials for an IAM role that has permission
|
|
211
205
|
* to perform the requested action. For example, DeleteMessage requests must be made using an IAM
|
|
212
206
|
* role that has the <code>ivschat:DeleteMessage</code> permission.</p>
|
|
@@ -222,7 +216,6 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
222
216
|
* the Security page of the <i>Amazon IVS User Guide</i>.</p>
|
|
223
217
|
* </li>
|
|
224
218
|
* </ul>
|
|
225
|
-
*
|
|
226
219
|
* <p>
|
|
227
220
|
* <b>Messaging Endpoints</b>
|
|
228
221
|
* </p>
|
|
@@ -232,14 +225,14 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
232
225
|
* <a>DeleteMessage</a> — Sends an event to a specific room which
|
|
233
226
|
* directs clients to delete a specific message; that is, unrender it from view and delete it
|
|
234
227
|
* from the client’s chat history. This event’s <code>EventName</code> is
|
|
235
|
-
*
|
|
236
|
-
*
|
|
228
|
+
* <code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html">
|
|
229
|
+
* DeleteMessage</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
237
230
|
* </li>
|
|
238
231
|
* <li>
|
|
239
232
|
* <p>
|
|
240
233
|
* <a>DisconnectUser</a> — Disconnects all connections using a specified
|
|
241
|
-
* user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
242
|
-
*
|
|
234
|
+
* user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
235
|
+
* DisconnectUser</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
243
236
|
* </li>
|
|
244
237
|
* <li>
|
|
245
238
|
* <p>
|
|
@@ -260,8 +253,6 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
260
253
|
* duration.</p>
|
|
261
254
|
* </li>
|
|
262
255
|
* </ul>
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
256
|
* <p>
|
|
266
257
|
* <b>Room Endpoints</b>
|
|
267
258
|
* </p>
|
|
@@ -289,7 +280,6 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
289
280
|
* <a>UpdateRoom</a> — Updates a room’s configuration.</p>
|
|
290
281
|
* </li>
|
|
291
282
|
* </ul>
|
|
292
|
-
*
|
|
293
283
|
* <p>
|
|
294
284
|
* <b>Tags Endpoints</b>
|
|
295
285
|
* </p>
|
|
@@ -310,8 +300,6 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
|
|
|
310
300
|
* specified ARN.</p>
|
|
311
301
|
* </li>
|
|
312
302
|
* </ul>
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
303
|
* <p>All the above are HTTP operations. There is a separate <i>messaging</i> API
|
|
316
304
|
* for managing Chat resources; see the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/chat-messaging-api.html"> Amazon IVS Chat Messaging API
|
|
317
305
|
* Reference</a>.</p>
|
|
@@ -9,8 +9,8 @@ export interface DeleteMessageCommandOutput extends DeleteMessageResponse, __Met
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Sends an event to a specific room which directs clients to delete a specific message;
|
|
11
11
|
* that is, unrender it from view and delete it from the client’s chat history. This event’s
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <code>EventName</code> is <code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html">
|
|
13
|
+
* DeleteMessage</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -7,8 +7,9 @@ export interface DisconnectUserCommandInput extends DisconnectUserRequest {
|
|
|
7
7
|
export interface DisconnectUserCommandOutput extends DisconnectUserResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Disconnects all connections using a specified user ID from a room. This replicates the
|
|
11
|
-
*
|
|
10
|
+
* <p>Disconnects all connections using a specified user ID from a room. This replicates the
|
|
11
|
+
* <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html">
|
|
12
|
+
* DisconnectUser</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -202,8 +202,8 @@ export interface CreateRoomRequest {
|
|
|
202
202
|
*/
|
|
203
203
|
name?: string;
|
|
204
204
|
/**
|
|
205
|
-
* <p>Maximum number of messages per second that
|
|
206
|
-
* 10
|
|
205
|
+
* <p>Maximum number of messages per second that can be sent to the room (by all clients).
|
|
206
|
+
* Default: 10. </p>
|
|
207
207
|
*/
|
|
208
208
|
maximumMessageRatePerSecond?: number;
|
|
209
209
|
/**
|
|
@@ -255,8 +255,8 @@ export interface CreateRoomResponse {
|
|
|
255
255
|
*/
|
|
256
256
|
updateTime?: Date;
|
|
257
257
|
/**
|
|
258
|
-
* <p>Maximum number of messages per second that
|
|
259
|
-
* request.</p>
|
|
258
|
+
* <p>Maximum number of messages per second that can be sent to the room (by all clients),
|
|
259
|
+
* from the request.</p>
|
|
260
260
|
*/
|
|
261
261
|
maximumMessageRatePerSecond?: number;
|
|
262
262
|
/**
|
|
@@ -440,7 +440,7 @@ export interface GetRoomResponse {
|
|
|
440
440
|
*/
|
|
441
441
|
updateTime?: Date;
|
|
442
442
|
/**
|
|
443
|
-
* <p>Maximum number of messages per second that
|
|
443
|
+
* <p>Maximum number of messages per second that can be sent to the room (by all clients). Default:
|
|
444
444
|
* 10.</p>
|
|
445
445
|
*/
|
|
446
446
|
maximumMessageRatePerSecond?: number;
|
|
@@ -689,7 +689,7 @@ export interface UpdateRoomRequest {
|
|
|
689
689
|
*/
|
|
690
690
|
name?: string;
|
|
691
691
|
/**
|
|
692
|
-
* <p>
|
|
692
|
+
* <p>Maximum number of messages per second that can be sent to the room (by all clients). Default:
|
|
693
693
|
* 10.</p>
|
|
694
694
|
*/
|
|
695
695
|
maximumMessageRatePerSecond?: number;
|
|
@@ -700,7 +700,9 @@ export interface UpdateRoomRequest {
|
|
|
700
700
|
*/
|
|
701
701
|
maximumMessageLength?: number;
|
|
702
702
|
/**
|
|
703
|
-
* <p>Configuration information for optional review of messages. Specify an empty
|
|
703
|
+
* <p>Configuration information for optional review of messages. Specify an empty
|
|
704
|
+
* <code>uri</code> string to disassociate a message review handler from the specified
|
|
705
|
+
* room.</p>
|
|
704
706
|
*/
|
|
705
707
|
messageReviewHandler?: MessageReviewHandler;
|
|
706
708
|
}
|
|
@@ -730,13 +732,12 @@ export interface UpdateRoomResponse {
|
|
|
730
732
|
*/
|
|
731
733
|
createTime?: Date;
|
|
732
734
|
/**
|
|
733
|
-
* <p>Time of the room’s last update. This is an ISO 8601 timestamp; <i>note
|
|
734
|
-
*
|
|
735
|
+
* <p>Time of the room’s last update. This is an ISO 8601 timestamp; <i>note that this
|
|
736
|
+
* is returned as a string</i>.</p>
|
|
735
737
|
*/
|
|
736
738
|
updateTime?: Date;
|
|
737
739
|
/**
|
|
738
|
-
* <p>Maximum number of messages per second that
|
|
739
|
-
* request.</p>
|
|
740
|
+
* <p>Maximum number of messages per second that can be sent to the room (by all clients), from the request.</p>
|
|
740
741
|
*/
|
|
741
742
|
maximumMessageRatePerSecond?: number;
|
|
742
743
|
/**
|
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.92.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.92.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.87.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|