@aws-sdk/client-ivschat 3.211.0 → 3.213.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 (49) hide show
  1. package/README.md +37 -5
  2. package/dist-cjs/Ivschat.js +75 -0
  3. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +46 -0
  5. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +46 -0
  6. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +46 -0
  7. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +46 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +121 -6
  10. package/dist-cjs/pagination/ListLoggingConfigurationsPaginator.js +36 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +522 -16
  13. package/dist-es/Ivschat.js +75 -0
  14. package/dist-es/commands/CreateLoggingConfigurationCommand.js +42 -0
  15. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +42 -0
  16. package/dist-es/commands/GetLoggingConfigurationCommand.js +42 -0
  17. package/dist-es/commands/ListLoggingConfigurationsCommand.js +42 -0
  18. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +42 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/models_0.js +105 -5
  21. package/dist-es/pagination/ListLoggingConfigurationsPaginator.js +32 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +513 -17
  24. package/dist-types/Ivschat.d.ts +84 -8
  25. package/dist-types/IvschatClient.d.ts +44 -7
  26. package/dist-types/commands/CreateChatTokenCommand.d.ts +10 -3
  27. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +38 -0
  28. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +37 -0
  29. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +37 -0
  30. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +38 -0
  31. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +37 -0
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/models/models_0.d.ts +473 -37
  34. package/dist-types/pagination/ListLoggingConfigurationsPaginator.d.ts +4 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  37. package/dist-types/ts3.4/Ivschat.d.ts +85 -0
  38. package/dist-types/ts3.4/IvschatClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +41 -0
  40. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +37 -0
  41. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +41 -0
  42. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +41 -0
  43. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +41 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +184 -9
  46. package/dist-types/ts3.4/pagination/ListLoggingConfigurationsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  49. package/package.json +28 -28
@@ -1,15 +1,20 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CreateChatTokenCommandInput, CreateChatTokenCommandOutput } from "./commands/CreateChatTokenCommand";
3
+ import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand";
3
4
  import { CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand";
5
+ import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand";
4
6
  import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
5
7
  import { DeleteRoomCommandInput, DeleteRoomCommandOutput } from "./commands/DeleteRoomCommand";
6
8
  import { DisconnectUserCommandInput, DisconnectUserCommandOutput } from "./commands/DisconnectUserCommand";
9
+ import { GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput } from "./commands/GetLoggingConfigurationCommand";
7
10
  import { GetRoomCommandInput, GetRoomCommandOutput } from "./commands/GetRoomCommand";
11
+ import { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "./commands/ListLoggingConfigurationsCommand";
8
12
  import { ListRoomsCommandInput, ListRoomsCommandOutput } from "./commands/ListRoomsCommand";
9
13
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
14
  import { SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand";
11
15
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
12
16
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
17
+ import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
13
18
  import { UpdateRoomCommandInput, UpdateRoomCommandOutput } from "./commands/UpdateRoomCommand";
14
19
  import { IvschatClient } from "./IvschatClient";
15
20
  /**
@@ -38,10 +43,14 @@ import { IvschatClient } from "./IvschatClient";
38
43
  * <p>
39
44
  * <b>Resources</b>
40
45
  * </p>
41
- * <p>The following resource is part of Amazon IVS Chat:</p>
46
+ * <p>The following resources are part of Amazon IVS Chat:</p>
42
47
  * <ul>
43
48
  * <li>
44
49
  * <p>
50
+ * <b>LoggingConfiguration</b> — A configuration that allows customers to store and record sent messages in a chat room. See the Logging Configuration endpoints for more information.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
45
54
  * <b>Room</b> — The central Amazon IVS Chat resource through
46
55
  * which clients connect to and exchange chat messages. See the Room endpoints for more
47
56
  * information.</p>
@@ -144,10 +153,10 @@ import { IvschatClient } from "./IvschatClient";
144
153
  * <ul>
145
154
  * <li>
146
155
  * <p>
147
- * <a>CreateChatToken</a> — Creates an encrypted token that is used to
148
- * establish an individual WebSocket connection to a room. The token is valid for one minute,
149
- * and a connection (session) established with the token is valid for the specified
150
- * duration.</p>
156
+ * <a>CreateChatToken</a> — Creates an encrypted token that is used by a chat participant to establish an
157
+ * individual WebSocket chat connection to a room. When the token is used to connect to chat,
158
+ * the connection is valid for the session duration specified in the request. The token
159
+ * becomes invalid at the token-expiration timestamp included in the response.</p>
151
160
  * </li>
152
161
  * </ul>
153
162
  * <p>
@@ -178,6 +187,34 @@ import { IvschatClient } from "./IvschatClient";
178
187
  * </li>
179
188
  * </ul>
180
189
  * <p>
190
+ * <b>Logging Configuration Endpoints</b>
191
+ * </p>
192
+ * <ul>
193
+ * <li>
194
+ * <p>
195
+ * <a>CreateLoggingConfiguration</a> — Creates a logging configuration that allows clients to store and record sent messages.</p>
196
+ * </li>
197
+ * <li>
198
+ * <p>
199
+ * <a>DeleteLoggingConfiguration</a> — Deletes the specified logging
200
+ * configuration.</p>
201
+ * </li>
202
+ * <li>
203
+ * <p>
204
+ * <a>GetLoggingConfiguration</a> — Gets the specified logging
205
+ * configuration.</p>
206
+ * </li>
207
+ * <li>
208
+ * <p>
209
+ * <a>ListLoggingConfigurations</a> — Gets summary information about all
210
+ * your logging configurations in the AWS region where the API request is processed.</p>
211
+ * </li>
212
+ * <li>
213
+ * <p>
214
+ * <a>UpdateLoggingConfiguration</a> — Updates a specified logging configuration.</p>
215
+ * </li>
216
+ * </ul>
217
+ * <p>
181
218
  * <b>Tags Endpoints</b>
182
219
  * </p>
183
220
  * <ul>
@@ -203,21 +240,41 @@ import { IvschatClient } from "./IvschatClient";
203
240
  */
204
241
  export declare class Ivschat extends IvschatClient {
205
242
  /**
206
- * <p>Creates an encrypted token that is used to establish an individual WebSocket connection
207
- * to a room. The token is valid for one minute, and a connection (session) established with
208
- * the token is valid for the specified duration.</p>
243
+ * <p>Creates an encrypted token that is used by a chat participant to establish an individual
244
+ * WebSocket chat connection to a room. When the token is used to connect to chat, the
245
+ * connection is valid for the session duration specified in the request. The token becomes
246
+ * invalid at the token-expiration timestamp included in the response.</p>
247
+ * <p>Use the <code>capabilities</code> field to permit an end user to send messages or
248
+ * moderate a room.</p>
249
+ * <p>The <code>attributes</code> field securely attaches structured data to the chat session; the data is
250
+ * included within each message sent by the end user and received by other participants in the
251
+ * room. Common use cases for attributes include passing end-user profile data like an icon,
252
+ * display name, colors, badges, and other display features.</p>
209
253
  * <p>Encryption keys are owned by Amazon IVS Chat and never used directly by your
210
254
  * application.</p>
211
255
  */
212
256
  createChatToken(args: CreateChatTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateChatTokenCommandOutput>;
213
257
  createChatToken(args: CreateChatTokenCommandInput, cb: (err: any, data?: CreateChatTokenCommandOutput) => void): void;
214
258
  createChatToken(args: CreateChatTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChatTokenCommandOutput) => void): void;
259
+ /**
260
+ * <p>Creates a logging configuration that allows clients to store and record sent
261
+ * messages.</p>
262
+ */
263
+ createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateLoggingConfigurationCommandOutput>;
264
+ createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
265
+ createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
215
266
  /**
216
267
  * <p>Creates a room that allows clients to connect and pass messages.</p>
217
268
  */
218
269
  createRoom(args: CreateRoomCommandInput, options?: __HttpHandlerOptions): Promise<CreateRoomCommandOutput>;
219
270
  createRoom(args: CreateRoomCommandInput, cb: (err: any, data?: CreateRoomCommandOutput) => void): void;
220
271
  createRoom(args: CreateRoomCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRoomCommandOutput) => void): void;
272
+ /**
273
+ * <p>Deletes the specified logging configuration.</p>
274
+ */
275
+ deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
276
+ deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
277
+ deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
221
278
  /**
222
279
  * <p>Sends an event to a specific room which directs clients to delete a specific message;
223
280
  * that is, unrender it from view and delete it from the client’s chat history. This event’s
@@ -241,12 +298,25 @@ export declare class Ivschat extends IvschatClient {
241
298
  disconnectUser(args: DisconnectUserCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectUserCommandOutput>;
242
299
  disconnectUser(args: DisconnectUserCommandInput, cb: (err: any, data?: DisconnectUserCommandOutput) => void): void;
243
300
  disconnectUser(args: DisconnectUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectUserCommandOutput) => void): void;
301
+ /**
302
+ * <p>Gets the specified logging configuration.</p>
303
+ */
304
+ getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLoggingConfigurationCommandOutput>;
305
+ getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
306
+ getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
244
307
  /**
245
308
  * <p>Gets the specified room.</p>
246
309
  */
247
310
  getRoom(args: GetRoomCommandInput, options?: __HttpHandlerOptions): Promise<GetRoomCommandOutput>;
248
311
  getRoom(args: GetRoomCommandInput, cb: (err: any, data?: GetRoomCommandOutput) => void): void;
249
312
  getRoom(args: GetRoomCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoomCommandOutput) => void): void;
313
+ /**
314
+ * <p>Gets summary information about all your logging configurations in the AWS region where
315
+ * the API request is processed.</p>
316
+ */
317
+ listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListLoggingConfigurationsCommandOutput>;
318
+ listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
319
+ listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
250
320
  /**
251
321
  * <p>Gets summary information about all your rooms in the AWS region where the API request is
252
322
  * processed. Results are sorted in descending order of <code>updateTime</code>.</p>
@@ -280,6 +350,12 @@ export declare class Ivschat extends IvschatClient {
280
350
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
281
351
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
282
352
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
353
+ /**
354
+ * <p>Updates a specified logging configuration.</p>
355
+ */
356
+ updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLoggingConfigurationCommandOutput>;
357
+ updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
358
+ updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
283
359
  /**
284
360
  * <p>Updates a room’s configuration.</p>
285
361
  */
@@ -8,20 +8,25 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
8
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
9
  import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { CreateChatTokenCommandInput, CreateChatTokenCommandOutput } from "./commands/CreateChatTokenCommand";
11
+ import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "./commands/CreateLoggingConfigurationCommand";
11
12
  import { CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand";
13
+ import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand";
12
14
  import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
13
15
  import { DeleteRoomCommandInput, DeleteRoomCommandOutput } from "./commands/DeleteRoomCommand";
14
16
  import { DisconnectUserCommandInput, DisconnectUserCommandOutput } from "./commands/DisconnectUserCommand";
17
+ import { GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput } from "./commands/GetLoggingConfigurationCommand";
15
18
  import { GetRoomCommandInput, GetRoomCommandOutput } from "./commands/GetRoomCommand";
19
+ import { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "./commands/ListLoggingConfigurationsCommand";
16
20
  import { ListRoomsCommandInput, ListRoomsCommandOutput } from "./commands/ListRoomsCommand";
17
21
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
22
  import { SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand";
19
23
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
20
24
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
+ import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
21
26
  import { UpdateRoomCommandInput, UpdateRoomCommandOutput } from "./commands/UpdateRoomCommand";
22
27
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
23
- export declare type ServiceInputTypes = CreateChatTokenCommandInput | CreateRoomCommandInput | DeleteMessageCommandInput | DeleteRoomCommandInput | DisconnectUserCommandInput | GetRoomCommandInput | ListRoomsCommandInput | ListTagsForResourceCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateRoomCommandInput;
24
- export declare type ServiceOutputTypes = CreateChatTokenCommandOutput | CreateRoomCommandOutput | DeleteMessageCommandOutput | DeleteRoomCommandOutput | DisconnectUserCommandOutput | GetRoomCommandOutput | ListRoomsCommandOutput | ListTagsForResourceCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateRoomCommandOutput;
28
+ export declare type ServiceInputTypes = CreateChatTokenCommandInput | CreateLoggingConfigurationCommandInput | CreateRoomCommandInput | DeleteLoggingConfigurationCommandInput | DeleteMessageCommandInput | DeleteRoomCommandInput | DisconnectUserCommandInput | GetLoggingConfigurationCommandInput | GetRoomCommandInput | ListLoggingConfigurationsCommandInput | ListRoomsCommandInput | ListTagsForResourceCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRoomCommandInput;
29
+ export declare type ServiceOutputTypes = CreateChatTokenCommandOutput | CreateLoggingConfigurationCommandOutput | CreateRoomCommandOutput | DeleteLoggingConfigurationCommandOutput | DeleteMessageCommandOutput | DeleteRoomCommandOutput | DisconnectUserCommandOutput | GetLoggingConfigurationCommandOutput | GetRoomCommandOutput | ListLoggingConfigurationsCommandOutput | ListRoomsCommandOutput | ListTagsForResourceCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRoomCommandOutput;
25
30
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
26
31
  /**
27
32
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -160,10 +165,14 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
160
165
  * <p>
161
166
  * <b>Resources</b>
162
167
  * </p>
163
- * <p>The following resource is part of Amazon IVS Chat:</p>
168
+ * <p>The following resources are part of Amazon IVS Chat:</p>
164
169
  * <ul>
165
170
  * <li>
166
171
  * <p>
172
+ * <b>LoggingConfiguration</b> — A configuration that allows customers to store and record sent messages in a chat room. See the Logging Configuration endpoints for more information.</p>
173
+ * </li>
174
+ * <li>
175
+ * <p>
167
176
  * <b>Room</b> — The central Amazon IVS Chat resource through
168
177
  * which clients connect to and exchange chat messages. See the Room endpoints for more
169
178
  * information.</p>
@@ -266,10 +275,10 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
266
275
  * <ul>
267
276
  * <li>
268
277
  * <p>
269
- * <a>CreateChatToken</a> — Creates an encrypted token that is used to
270
- * establish an individual WebSocket connection to a room. The token is valid for one minute,
271
- * and a connection (session) established with the token is valid for the specified
272
- * duration.</p>
278
+ * <a>CreateChatToken</a> — Creates an encrypted token that is used by a chat participant to establish an
279
+ * individual WebSocket chat connection to a room. When the token is used to connect to chat,
280
+ * the connection is valid for the session duration specified in the request. The token
281
+ * becomes invalid at the token-expiration timestamp included in the response.</p>
273
282
  * </li>
274
283
  * </ul>
275
284
  * <p>
@@ -300,6 +309,34 @@ export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfig
300
309
  * </li>
301
310
  * </ul>
302
311
  * <p>
312
+ * <b>Logging Configuration Endpoints</b>
313
+ * </p>
314
+ * <ul>
315
+ * <li>
316
+ * <p>
317
+ * <a>CreateLoggingConfiguration</a> — Creates a logging configuration that allows clients to store and record sent messages.</p>
318
+ * </li>
319
+ * <li>
320
+ * <p>
321
+ * <a>DeleteLoggingConfiguration</a> — Deletes the specified logging
322
+ * configuration.</p>
323
+ * </li>
324
+ * <li>
325
+ * <p>
326
+ * <a>GetLoggingConfiguration</a> — Gets the specified logging
327
+ * configuration.</p>
328
+ * </li>
329
+ * <li>
330
+ * <p>
331
+ * <a>ListLoggingConfigurations</a> — Gets summary information about all
332
+ * your logging configurations in the AWS region where the API request is processed.</p>
333
+ * </li>
334
+ * <li>
335
+ * <p>
336
+ * <a>UpdateLoggingConfiguration</a> — Updates a specified logging configuration.</p>
337
+ * </li>
338
+ * </ul>
339
+ * <p>
303
340
  * <b>Tags Endpoints</b>
304
341
  * </p>
305
342
  * <ul>
@@ -8,9 +8,16 @@ export interface CreateChatTokenCommandInput extends CreateChatTokenRequest {
8
8
  export interface CreateChatTokenCommandOutput extends CreateChatTokenResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates an encrypted token that is used to establish an individual WebSocket connection
12
- * to a room. The token is valid for one minute, and a connection (session) established with
13
- * the token is valid for the specified duration.</p>
11
+ * <p>Creates an encrypted token that is used by a chat participant to establish an individual
12
+ * WebSocket chat connection to a room. When the token is used to connect to chat, the
13
+ * connection is valid for the session duration specified in the request. The token becomes
14
+ * invalid at the token-expiration timestamp included in the response.</p>
15
+ * <p>Use the <code>capabilities</code> field to permit an end user to send messages or
16
+ * moderate a room.</p>
17
+ * <p>The <code>attributes</code> field securely attaches structured data to the chat session; the data is
18
+ * included within each message sent by the end user and received by other participants in the
19
+ * room. Common use cases for attributes include passing end-user profile data like an icon,
20
+ * display name, colors, badges, and other display features.</p>
14
21
  * <p>Encryption keys are owned by Amazon IVS Chat and never used directly by your
15
22
  * application.</p>
16
23
  * @example
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
+ import { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } from "../models/models_0";
6
+ export interface CreateLoggingConfigurationCommandInput extends CreateLoggingConfigurationRequest {
7
+ }
8
+ export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingConfigurationResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Creates a logging configuration that allows clients to store and record sent
12
+ * messages.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { IvschatClient, CreateLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
17
+ * // const { IvschatClient, CreateLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
18
+ * const client = new IvschatClient(config);
19
+ * const command = new CreateLoggingConfigurationCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link CreateLoggingConfigurationCommandInput} for command's `input` shape.
24
+ * @see {@link CreateLoggingConfigurationCommandOutput} for command's `response` shape.
25
+ * @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class CreateLoggingConfigurationCommand extends $Command<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, IvschatClientResolvedConfig> {
29
+ readonly input: CreateLoggingConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: CreateLoggingConfigurationCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
+ import { DeleteLoggingConfigurationRequest } from "../models/models_0";
6
+ export interface DeleteLoggingConfigurationCommandInput extends DeleteLoggingConfigurationRequest {
7
+ }
8
+ export interface DeleteLoggingConfigurationCommandOutput extends __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes the specified logging configuration.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { IvschatClient, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
16
+ * // const { IvschatClient, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
17
+ * const client = new IvschatClient(config);
18
+ * const command = new DeleteLoggingConfigurationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteLoggingConfigurationCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteLoggingConfigurationCommandOutput} for command's `response` shape.
24
+ * @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteLoggingConfigurationCommand extends $Command<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, IvschatClientResolvedConfig> {
28
+ readonly input: DeleteLoggingConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteLoggingConfigurationCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
+ import { GetLoggingConfigurationRequest, GetLoggingConfigurationResponse } from "../models/models_0";
6
+ export interface GetLoggingConfigurationCommandInput extends GetLoggingConfigurationRequest {
7
+ }
8
+ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigurationResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the specified logging configuration.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { IvschatClient, GetLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
16
+ * // const { IvschatClient, GetLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
17
+ * const client = new IvschatClient(config);
18
+ * const command = new GetLoggingConfigurationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetLoggingConfigurationCommandInput} for command's `input` shape.
23
+ * @see {@link GetLoggingConfigurationCommandOutput} for command's `response` shape.
24
+ * @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetLoggingConfigurationCommand extends $Command<GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput, IvschatClientResolvedConfig> {
28
+ readonly input: GetLoggingConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetLoggingConfigurationCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
+ import { ListLoggingConfigurationsRequest, ListLoggingConfigurationsResponse } from "../models/models_0";
6
+ export interface ListLoggingConfigurationsCommandInput extends ListLoggingConfigurationsRequest {
7
+ }
8
+ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfigurationsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets summary information about all your logging configurations in the AWS region where
12
+ * the API request is processed.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { IvschatClient, ListLoggingConfigurationsCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
17
+ * // const { IvschatClient, ListLoggingConfigurationsCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
18
+ * const client = new IvschatClient(config);
19
+ * const command = new ListLoggingConfigurationsCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListLoggingConfigurationsCommandInput} for command's `input` shape.
24
+ * @see {@link ListLoggingConfigurationsCommandOutput} for command's `response` shape.
25
+ * @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListLoggingConfigurationsCommand extends $Command<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput, IvschatClientResolvedConfig> {
29
+ readonly input: ListLoggingConfigurationsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListLoggingConfigurationsCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
5
+ import { UpdateLoggingConfigurationRequest, UpdateLoggingConfigurationResponse } from "../models/models_0";
6
+ export interface UpdateLoggingConfigurationCommandInput extends UpdateLoggingConfigurationRequest {
7
+ }
8
+ export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingConfigurationResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates a specified logging configuration.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { IvschatClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
16
+ * // const { IvschatClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
17
+ * const client = new IvschatClient(config);
18
+ * const command = new UpdateLoggingConfigurationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateLoggingConfigurationCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateLoggingConfigurationCommandOutput} for command's `response` shape.
24
+ * @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateLoggingConfigurationCommand extends $Command<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput, IvschatClientResolvedConfig> {
28
+ readonly input: UpdateLoggingConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateLoggingConfigurationCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -1,12 +1,17 @@
1
1
  export * from "./CreateChatTokenCommand";
2
+ export * from "./CreateLoggingConfigurationCommand";
2
3
  export * from "./CreateRoomCommand";
4
+ export * from "./DeleteLoggingConfigurationCommand";
3
5
  export * from "./DeleteMessageCommand";
4
6
  export * from "./DeleteRoomCommand";
5
7
  export * from "./DisconnectUserCommand";
8
+ export * from "./GetLoggingConfigurationCommand";
6
9
  export * from "./GetRoomCommand";
10
+ export * from "./ListLoggingConfigurationsCommand";
7
11
  export * from "./ListRoomsCommand";
8
12
  export * from "./ListTagsForResourceCommand";
9
13
  export * from "./SendEventCommand";
10
14
  export * from "./TagResourceCommand";
11
15
  export * from "./UntagResourceCommand";
16
+ export * from "./UpdateLoggingConfigurationCommand";
12
17
  export * from "./UpdateRoomCommand";