@aws-sdk/client-ivschat 3.450.0 → 3.454.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/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 +35 -35
|
@@ -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.454.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,42 +21,42 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^2.0.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
39
|
-
"@smithy/hash-node": "^2.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
44
|
-
"@smithy/middleware-serde": "^2.0.
|
|
45
|
-
"@smithy/middleware-stack": "^2.0.
|
|
46
|
-
"@smithy/node-config-provider": "^2.1.
|
|
47
|
-
"@smithy/node-http-handler": "^2.1.
|
|
48
|
-
"@smithy/protocol-http": "^3.0.
|
|
49
|
-
"@smithy/smithy-client": "^2.1.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0.
|
|
52
|
-
"@smithy/util-base64": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.454.0",
|
|
25
|
+
"@aws-sdk/core": "3.451.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.451.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.451.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.451.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
+
"@aws-sdk/types": "3.451.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.451.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.451.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.451.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.18",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
|
+
"@smithy/hash-node": "^2.0.15",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.0.15",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.20",
|
|
44
|
+
"@smithy/middleware-serde": "^2.0.13",
|
|
45
|
+
"@smithy/middleware-stack": "^2.0.7",
|
|
46
|
+
"@smithy/node-config-provider": "^2.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^2.1.9",
|
|
48
|
+
"@smithy/protocol-http": "^3.0.9",
|
|
49
|
+
"@smithy/smithy-client": "^2.1.15",
|
|
50
|
+
"@smithy/types": "^2.5.0",
|
|
51
|
+
"@smithy/url-parser": "^2.0.13",
|
|
52
|
+
"@smithy/util-base64": "^2.0.1",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
57
|
-
"@smithy/util-endpoints": "^1.0.
|
|
58
|
-
"@smithy/util-retry": "^2.0.
|
|
59
|
-
"@smithy/util-utf8": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.19",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^1.0.4",
|
|
58
|
+
"@smithy/util-retry": "^2.0.6",
|
|
59
|
+
"@smithy/util-utf8": "^2.0.2",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|