@aws-sdk/client-ivschat 3.451.0 → 3.458.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/README.md +17 -17
- package/dist-cjs/commands/CreateChatTokenCommand.js +3 -2
- package/dist-cjs/commands/DisconnectUserCommand.js +2 -1
- package/dist-cjs/models/models_0.js +18 -1
- package/dist-es/commands/CreateChatTokenCommand.js +3 -2
- package/dist-es/commands/DisconnectUserCommand.js +2 -1
- package/dist-es/models/models_0.js +14 -0
- package/dist-types/models/models_0.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -426,7 +426,7 @@ see LICENSE for more information.
|
|
|
426
426
|
CreateChatToken
|
|
427
427
|
</summary>
|
|
428
428
|
|
|
429
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
429
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/CreateChatTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/CreateChatTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/CreateChatTokenCommandOutput/)
|
|
430
430
|
|
|
431
431
|
</details>
|
|
432
432
|
<details>
|
|
@@ -434,7 +434,7 @@ CreateChatToken
|
|
|
434
434
|
CreateLoggingConfiguration
|
|
435
435
|
</summary>
|
|
436
436
|
|
|
437
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
437
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/CreateLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/CreateLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/CreateLoggingConfigurationCommandOutput/)
|
|
438
438
|
|
|
439
439
|
</details>
|
|
440
440
|
<details>
|
|
@@ -442,7 +442,7 @@ CreateLoggingConfiguration
|
|
|
442
442
|
CreateRoom
|
|
443
443
|
</summary>
|
|
444
444
|
|
|
445
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
445
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/CreateRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/CreateRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/CreateRoomCommandOutput/)
|
|
446
446
|
|
|
447
447
|
</details>
|
|
448
448
|
<details>
|
|
@@ -450,7 +450,7 @@ CreateRoom
|
|
|
450
450
|
DeleteLoggingConfiguration
|
|
451
451
|
</summary>
|
|
452
452
|
|
|
453
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
453
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/DeleteLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DeleteLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DeleteLoggingConfigurationCommandOutput/)
|
|
454
454
|
|
|
455
455
|
</details>
|
|
456
456
|
<details>
|
|
@@ -458,7 +458,7 @@ DeleteLoggingConfiguration
|
|
|
458
458
|
DeleteMessage
|
|
459
459
|
</summary>
|
|
460
460
|
|
|
461
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
461
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/DeleteMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DeleteMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DeleteMessageCommandOutput/)
|
|
462
462
|
|
|
463
463
|
</details>
|
|
464
464
|
<details>
|
|
@@ -466,7 +466,7 @@ DeleteMessage
|
|
|
466
466
|
DeleteRoom
|
|
467
467
|
</summary>
|
|
468
468
|
|
|
469
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
469
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/DeleteRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DeleteRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DeleteRoomCommandOutput/)
|
|
470
470
|
|
|
471
471
|
</details>
|
|
472
472
|
<details>
|
|
@@ -474,7 +474,7 @@ DeleteRoom
|
|
|
474
474
|
DisconnectUser
|
|
475
475
|
</summary>
|
|
476
476
|
|
|
477
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
477
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/DisconnectUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DisconnectUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/DisconnectUserCommandOutput/)
|
|
478
478
|
|
|
479
479
|
</details>
|
|
480
480
|
<details>
|
|
@@ -482,7 +482,7 @@ DisconnectUser
|
|
|
482
482
|
GetLoggingConfiguration
|
|
483
483
|
</summary>
|
|
484
484
|
|
|
485
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
485
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/GetLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/GetLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/GetLoggingConfigurationCommandOutput/)
|
|
486
486
|
|
|
487
487
|
</details>
|
|
488
488
|
<details>
|
|
@@ -490,7 +490,7 @@ GetLoggingConfiguration
|
|
|
490
490
|
GetRoom
|
|
491
491
|
</summary>
|
|
492
492
|
|
|
493
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
493
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/GetRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/GetRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/GetRoomCommandOutput/)
|
|
494
494
|
|
|
495
495
|
</details>
|
|
496
496
|
<details>
|
|
@@ -498,7 +498,7 @@ GetRoom
|
|
|
498
498
|
ListLoggingConfigurations
|
|
499
499
|
</summary>
|
|
500
500
|
|
|
501
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
501
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/ListLoggingConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/ListLoggingConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/ListLoggingConfigurationsCommandOutput/)
|
|
502
502
|
|
|
503
503
|
</details>
|
|
504
504
|
<details>
|
|
@@ -506,7 +506,7 @@ ListLoggingConfigurations
|
|
|
506
506
|
ListRooms
|
|
507
507
|
</summary>
|
|
508
508
|
|
|
509
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
509
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/ListRoomsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/ListRoomsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/ListRoomsCommandOutput/)
|
|
510
510
|
|
|
511
511
|
</details>
|
|
512
512
|
<details>
|
|
@@ -514,7 +514,7 @@ ListRooms
|
|
|
514
514
|
ListTagsForResource
|
|
515
515
|
</summary>
|
|
516
516
|
|
|
517
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
517
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/ListTagsForResourceCommandOutput/)
|
|
518
518
|
|
|
519
519
|
</details>
|
|
520
520
|
<details>
|
|
@@ -522,7 +522,7 @@ ListTagsForResource
|
|
|
522
522
|
SendEvent
|
|
523
523
|
</summary>
|
|
524
524
|
|
|
525
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
525
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/SendEventCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/SendEventCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/SendEventCommandOutput/)
|
|
526
526
|
|
|
527
527
|
</details>
|
|
528
528
|
<details>
|
|
@@ -530,7 +530,7 @@ SendEvent
|
|
|
530
530
|
TagResource
|
|
531
531
|
</summary>
|
|
532
532
|
|
|
533
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
533
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/TagResourceCommandOutput/)
|
|
534
534
|
|
|
535
535
|
</details>
|
|
536
536
|
<details>
|
|
@@ -538,7 +538,7 @@ TagResource
|
|
|
538
538
|
UntagResource
|
|
539
539
|
</summary>
|
|
540
540
|
|
|
541
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
541
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/UntagResourceCommandOutput/)
|
|
542
542
|
|
|
543
543
|
</details>
|
|
544
544
|
<details>
|
|
@@ -546,7 +546,7 @@ UntagResource
|
|
|
546
546
|
UpdateLoggingConfiguration
|
|
547
547
|
</summary>
|
|
548
548
|
|
|
549
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
549
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/UpdateLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/UpdateLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/UpdateLoggingConfigurationCommandOutput/)
|
|
550
550
|
|
|
551
551
|
</details>
|
|
552
552
|
<details>
|
|
@@ -554,6 +554,6 @@ UpdateLoggingConfiguration
|
|
|
554
554
|
UpdateRoom
|
|
555
555
|
</summary>
|
|
556
556
|
|
|
557
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
557
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivschat/command/UpdateRoomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/UpdateRoomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivschat/Interface/UpdateRoomCommandOutput/)
|
|
558
558
|
|
|
559
559
|
</details>
|
|
@@ -6,6 +6,7 @@ const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class CreateChatTokenCommand extends smithy_client_1.Command {
|
|
11
12
|
static getEndpointParameterInstructions() {
|
|
@@ -31,8 +32,8 @@ class CreateChatTokenCommand extends smithy_client_1.Command {
|
|
|
31
32
|
logger,
|
|
32
33
|
clientName,
|
|
33
34
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
35
|
-
outputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.CreateChatTokenRequestFilterSensitiveLog,
|
|
36
|
+
outputFilterSensitiveLog: models_0_1.CreateChatTokenResponseFilterSensitiveLog,
|
|
36
37
|
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
38
|
service: "AmazonInteractiveVideoServiceChat",
|
|
38
39
|
operation: "CreateChatToken",
|
|
@@ -6,6 +6,7 @@ const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const types_1 = require("@smithy/types");
|
|
9
|
+
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class DisconnectUserCommand extends smithy_client_1.Command {
|
|
11
12
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class DisconnectUserCommand extends smithy_client_1.Command {
|
|
|
31
32
|
logger,
|
|
32
33
|
clientName,
|
|
33
34
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: models_0_1.DisconnectUserRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: (_) => _,
|
|
36
37
|
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
38
|
service: "AmazonInteractiveVideoServiceChat",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateLoggingConfigurationState = exports.InternalServerException = exports.LoggingConfigurationState = exports.ThrottlingException = exports.FallbackResult = exports.ServiceQuotaExceededException = exports.CreateLoggingConfigurationState = exports.DestinationConfiguration = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.ResourceNotFoundException = exports.ResourceType = exports.PendingVerification = exports.ChatTokenCapability = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.DisconnectUserRequestFilterSensitiveLog = exports.CreateChatTokenResponseFilterSensitiveLog = exports.CreateChatTokenRequestFilterSensitiveLog = exports.UpdateLoggingConfigurationState = exports.InternalServerException = exports.LoggingConfigurationState = exports.ThrottlingException = exports.FallbackResult = exports.ServiceQuotaExceededException = exports.CreateLoggingConfigurationState = exports.DestinationConfiguration = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.ResourceNotFoundException = exports.ResourceType = exports.PendingVerification = exports.ChatTokenCapability = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
4
5
|
const IvschatServiceException_1 = require("./IvschatServiceException");
|
|
5
6
|
class AccessDeniedException extends IvschatServiceException_1.IvschatServiceException {
|
|
6
7
|
constructor(opts) {
|
|
@@ -162,3 +163,19 @@ exports.InternalServerException = InternalServerException;
|
|
|
162
163
|
exports.UpdateLoggingConfigurationState = {
|
|
163
164
|
ACTIVE: "ACTIVE",
|
|
164
165
|
};
|
|
166
|
+
const CreateChatTokenRequestFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
...(obj.userId && { userId: smithy_client_1.SENSITIVE_STRING }),
|
|
169
|
+
...(obj.attributes && { attributes: smithy_client_1.SENSITIVE_STRING }),
|
|
170
|
+
});
|
|
171
|
+
exports.CreateChatTokenRequestFilterSensitiveLog = CreateChatTokenRequestFilterSensitiveLog;
|
|
172
|
+
const CreateChatTokenResponseFilterSensitiveLog = (obj) => ({
|
|
173
|
+
...obj,
|
|
174
|
+
...(obj.token && { token: smithy_client_1.SENSITIVE_STRING }),
|
|
175
|
+
});
|
|
176
|
+
exports.CreateChatTokenResponseFilterSensitiveLog = CreateChatTokenResponseFilterSensitiveLog;
|
|
177
|
+
const DisconnectUserRequestFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
...(obj.userId && { userId: smithy_client_1.SENSITIVE_STRING }),
|
|
180
|
+
});
|
|
181
|
+
exports.DisconnectUserRequestFilterSensitiveLog = DisconnectUserRequestFilterSensitiveLog;
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { CreateChatTokenRequestFilterSensitiveLog, CreateChatTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateChatTokenCommand, se_CreateChatTokenCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateChatTokenCommand extends $Command {
|
|
@@ -28,8 +29,8 @@ export class CreateChatTokenCommand extends $Command {
|
|
|
28
29
|
logger,
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: CreateChatTokenRequestFilterSensitiveLog,
|
|
33
|
+
outputFilterSensitiveLog: CreateChatTokenResponseFilterSensitiveLog,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "AmazonInteractiveVideoServiceChat",
|
|
35
36
|
operation: "CreateChatToken",
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { DisconnectUserRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_DisconnectUserCommand, se_DisconnectUserCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class DisconnectUserCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class DisconnectUserCommand extends $Command {
|
|
|
28
29
|
logger,
|
|
29
30
|
clientName,
|
|
30
31
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: DisconnectUserRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: (_) => _,
|
|
33
34
|
[SMITHY_CONTEXT_KEY]: {
|
|
34
35
|
service: "AmazonInteractiveVideoServiceChat",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
|
|
2
3
|
export class AccessDeniedException extends __BaseException {
|
|
3
4
|
constructor(opts) {
|
|
@@ -151,3 +152,16 @@ export class InternalServerException extends __BaseException {
|
|
|
151
152
|
export const UpdateLoggingConfigurationState = {
|
|
152
153
|
ACTIVE: "ACTIVE",
|
|
153
154
|
};
|
|
155
|
+
export const CreateChatTokenRequestFilterSensitiveLog = (obj) => ({
|
|
156
|
+
...obj,
|
|
157
|
+
...(obj.userId && { userId: SENSITIVE_STRING }),
|
|
158
|
+
...(obj.attributes && { attributes: SENSITIVE_STRING }),
|
|
159
|
+
});
|
|
160
|
+
export const CreateChatTokenResponseFilterSensitiveLog = (obj) => ({
|
|
161
|
+
...obj,
|
|
162
|
+
...(obj.token && { token: SENSITIVE_STRING }),
|
|
163
|
+
});
|
|
164
|
+
export const DisconnectUserRequestFilterSensitiveLog = (obj) => ({
|
|
165
|
+
...obj,
|
|
166
|
+
...(obj.userId && { userId: SENSITIVE_STRING }),
|
|
167
|
+
});
|
|
@@ -1304,3 +1304,15 @@ export interface UpdateRoomResponse {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
loggingConfigurationIdentifiers?: string[];
|
|
1306
1306
|
}
|
|
1307
|
+
/**
|
|
1308
|
+
* @internal
|
|
1309
|
+
*/
|
|
1310
|
+
export declare const CreateChatTokenRequestFilterSensitiveLog: (obj: CreateChatTokenRequest) => any;
|
|
1311
|
+
/**
|
|
1312
|
+
* @internal
|
|
1313
|
+
*/
|
|
1314
|
+
export declare const CreateChatTokenResponseFilterSensitiveLog: (obj: CreateChatTokenResponse) => any;
|
|
1315
|
+
/**
|
|
1316
|
+
* @internal
|
|
1317
|
+
*/
|
|
1318
|
+
export declare const DisconnectUserRequestFilterSensitiveLog: (obj: DisconnectUserRequest) => any;
|
|
@@ -359,3 +359,12 @@ export interface UpdateRoomResponse {
|
|
|
359
359
|
tags?: Record<string, string>;
|
|
360
360
|
loggingConfigurationIdentifiers?: string[];
|
|
361
361
|
}
|
|
362
|
+
export declare const CreateChatTokenRequestFilterSensitiveLog: (
|
|
363
|
+
obj: CreateChatTokenRequest
|
|
364
|
+
) => any;
|
|
365
|
+
export declare const CreateChatTokenResponseFilterSensitiveLog: (
|
|
366
|
+
obj: CreateChatTokenResponse
|
|
367
|
+
) => any;
|
|
368
|
+
export declare const DisconnectUserRequestFilterSensitiveLog: (
|
|
369
|
+
obj: DisconnectUserRequest
|
|
370
|
+
) => any;
|
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.458.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.458.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.458.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|