@aws-sdk/client-ivschat 3.212.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.
- package/README.md +37 -5
- package/dist-cjs/Ivschat.js +75 -0
- package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +121 -6
- package/dist-cjs/pagination/ListLoggingConfigurationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +515 -1
- package/dist-es/Ivschat.js +75 -0
- package/dist-es/commands/CreateLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/GetLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +42 -0
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +105 -5
- package/dist-es/pagination/ListLoggingConfigurationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +506 -2
- package/dist-types/Ivschat.d.ts +84 -8
- package/dist-types/IvschatClient.d.ts +44 -7
- package/dist-types/commands/CreateChatTokenCommand.d.ts +10 -3
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +38 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +37 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +37 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +38 -0
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +473 -37
- package/dist-types/pagination/ListLoggingConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/Ivschat.d.ts +85 -0
- package/dist-types/ts3.4/IvschatClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +184 -9
- package/dist-types/ts3.4/pagination/ListLoggingConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,10 +34,14 @@ Amazon IVS Chat Messaging API. We refer to these as <i>clients</i>. </p>
|
|
|
34
34
|
<p>
|
|
35
35
|
<b>Resources</b>
|
|
36
36
|
</p>
|
|
37
|
-
<p>The following
|
|
37
|
+
<p>The following resources are part of Amazon IVS Chat:</p>
|
|
38
38
|
<ul>
|
|
39
39
|
<li>
|
|
40
40
|
<p>
|
|
41
|
+
<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>
|
|
42
|
+
</li>
|
|
43
|
+
<li>
|
|
44
|
+
<p>
|
|
41
45
|
<b>Room</b> — The central Amazon IVS Chat resource through
|
|
42
46
|
which clients connect to and exchange chat messages. See the Room endpoints for more
|
|
43
47
|
information.</p>
|
|
@@ -140,10 +144,10 @@ to change the way the chat UI is rendered.</p>
|
|
|
140
144
|
<ul>
|
|
141
145
|
<li>
|
|
142
146
|
<p>
|
|
143
|
-
<a>CreateChatToken</a> — Creates an encrypted token that is used to
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
<a>CreateChatToken</a> — Creates an encrypted token that is used by a chat participant to establish an
|
|
148
|
+
individual WebSocket chat connection to a room. When the token is used to connect to chat,
|
|
149
|
+
the connection is valid for the session duration specified in the request. The token
|
|
150
|
+
becomes invalid at the token-expiration timestamp included in the response.</p>
|
|
147
151
|
</li>
|
|
148
152
|
</ul>
|
|
149
153
|
<p>
|
|
@@ -174,6 +178,34 @@ the AWS region where the API request is processed. </p>
|
|
|
174
178
|
</li>
|
|
175
179
|
</ul>
|
|
176
180
|
<p>
|
|
181
|
+
<b>Logging Configuration Endpoints</b>
|
|
182
|
+
</p>
|
|
183
|
+
<ul>
|
|
184
|
+
<li>
|
|
185
|
+
<p>
|
|
186
|
+
<a>CreateLoggingConfiguration</a> — Creates a logging configuration that allows clients to store and record sent messages.</p>
|
|
187
|
+
</li>
|
|
188
|
+
<li>
|
|
189
|
+
<p>
|
|
190
|
+
<a>DeleteLoggingConfiguration</a> — Deletes the specified logging
|
|
191
|
+
configuration.</p>
|
|
192
|
+
</li>
|
|
193
|
+
<li>
|
|
194
|
+
<p>
|
|
195
|
+
<a>GetLoggingConfiguration</a> — Gets the specified logging
|
|
196
|
+
configuration.</p>
|
|
197
|
+
</li>
|
|
198
|
+
<li>
|
|
199
|
+
<p>
|
|
200
|
+
<a>ListLoggingConfigurations</a> — Gets summary information about all
|
|
201
|
+
your logging configurations in the AWS region where the API request is processed.</p>
|
|
202
|
+
</li>
|
|
203
|
+
<li>
|
|
204
|
+
<p>
|
|
205
|
+
<a>UpdateLoggingConfiguration</a> — Updates a specified logging configuration.</p>
|
|
206
|
+
</li>
|
|
207
|
+
</ul>
|
|
208
|
+
<p>
|
|
177
209
|
<b>Tags Endpoints</b>
|
|
178
210
|
</p>
|
|
179
211
|
<ul>
|
package/dist-cjs/Ivschat.js
CHANGED
|
@@ -2,16 +2,21 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Ivschat = void 0;
|
|
4
4
|
const CreateChatTokenCommand_1 = require("./commands/CreateChatTokenCommand");
|
|
5
|
+
const CreateLoggingConfigurationCommand_1 = require("./commands/CreateLoggingConfigurationCommand");
|
|
5
6
|
const CreateRoomCommand_1 = require("./commands/CreateRoomCommand");
|
|
7
|
+
const DeleteLoggingConfigurationCommand_1 = require("./commands/DeleteLoggingConfigurationCommand");
|
|
6
8
|
const DeleteMessageCommand_1 = require("./commands/DeleteMessageCommand");
|
|
7
9
|
const DeleteRoomCommand_1 = require("./commands/DeleteRoomCommand");
|
|
8
10
|
const DisconnectUserCommand_1 = require("./commands/DisconnectUserCommand");
|
|
11
|
+
const GetLoggingConfigurationCommand_1 = require("./commands/GetLoggingConfigurationCommand");
|
|
9
12
|
const GetRoomCommand_1 = require("./commands/GetRoomCommand");
|
|
13
|
+
const ListLoggingConfigurationsCommand_1 = require("./commands/ListLoggingConfigurationsCommand");
|
|
10
14
|
const ListRoomsCommand_1 = require("./commands/ListRoomsCommand");
|
|
11
15
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
12
16
|
const SendEventCommand_1 = require("./commands/SendEventCommand");
|
|
13
17
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
14
18
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
19
|
+
const UpdateLoggingConfigurationCommand_1 = require("./commands/UpdateLoggingConfigurationCommand");
|
|
15
20
|
const UpdateRoomCommand_1 = require("./commands/UpdateRoomCommand");
|
|
16
21
|
const IvschatClient_1 = require("./IvschatClient");
|
|
17
22
|
class Ivschat extends IvschatClient_1.IvschatClient {
|
|
@@ -29,6 +34,20 @@ class Ivschat extends IvschatClient_1.IvschatClient {
|
|
|
29
34
|
return this.send(command, optionsOrCb);
|
|
30
35
|
}
|
|
31
36
|
}
|
|
37
|
+
createLoggingConfiguration(args, optionsOrCb, cb) {
|
|
38
|
+
const command = new CreateLoggingConfigurationCommand_1.CreateLoggingConfigurationCommand(args);
|
|
39
|
+
if (typeof optionsOrCb === "function") {
|
|
40
|
+
this.send(command, optionsOrCb);
|
|
41
|
+
}
|
|
42
|
+
else if (typeof cb === "function") {
|
|
43
|
+
if (typeof optionsOrCb !== "object")
|
|
44
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
45
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
return this.send(command, optionsOrCb);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
32
51
|
createRoom(args, optionsOrCb, cb) {
|
|
33
52
|
const command = new CreateRoomCommand_1.CreateRoomCommand(args);
|
|
34
53
|
if (typeof optionsOrCb === "function") {
|
|
@@ -43,6 +62,20 @@ class Ivschat extends IvschatClient_1.IvschatClient {
|
|
|
43
62
|
return this.send(command, optionsOrCb);
|
|
44
63
|
}
|
|
45
64
|
}
|
|
65
|
+
deleteLoggingConfiguration(args, optionsOrCb, cb) {
|
|
66
|
+
const command = new DeleteLoggingConfigurationCommand_1.DeleteLoggingConfigurationCommand(args);
|
|
67
|
+
if (typeof optionsOrCb === "function") {
|
|
68
|
+
this.send(command, optionsOrCb);
|
|
69
|
+
}
|
|
70
|
+
else if (typeof cb === "function") {
|
|
71
|
+
if (typeof optionsOrCb !== "object")
|
|
72
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
73
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
return this.send(command, optionsOrCb);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
46
79
|
deleteMessage(args, optionsOrCb, cb) {
|
|
47
80
|
const command = new DeleteMessageCommand_1.DeleteMessageCommand(args);
|
|
48
81
|
if (typeof optionsOrCb === "function") {
|
|
@@ -85,6 +118,20 @@ class Ivschat extends IvschatClient_1.IvschatClient {
|
|
|
85
118
|
return this.send(command, optionsOrCb);
|
|
86
119
|
}
|
|
87
120
|
}
|
|
121
|
+
getLoggingConfiguration(args, optionsOrCb, cb) {
|
|
122
|
+
const command = new GetLoggingConfigurationCommand_1.GetLoggingConfigurationCommand(args);
|
|
123
|
+
if (typeof optionsOrCb === "function") {
|
|
124
|
+
this.send(command, optionsOrCb);
|
|
125
|
+
}
|
|
126
|
+
else if (typeof cb === "function") {
|
|
127
|
+
if (typeof optionsOrCb !== "object")
|
|
128
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
129
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
return this.send(command, optionsOrCb);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
88
135
|
getRoom(args, optionsOrCb, cb) {
|
|
89
136
|
const command = new GetRoomCommand_1.GetRoomCommand(args);
|
|
90
137
|
if (typeof optionsOrCb === "function") {
|
|
@@ -99,6 +146,20 @@ class Ivschat extends IvschatClient_1.IvschatClient {
|
|
|
99
146
|
return this.send(command, optionsOrCb);
|
|
100
147
|
}
|
|
101
148
|
}
|
|
149
|
+
listLoggingConfigurations(args, optionsOrCb, cb) {
|
|
150
|
+
const command = new ListLoggingConfigurationsCommand_1.ListLoggingConfigurationsCommand(args);
|
|
151
|
+
if (typeof optionsOrCb === "function") {
|
|
152
|
+
this.send(command, optionsOrCb);
|
|
153
|
+
}
|
|
154
|
+
else if (typeof cb === "function") {
|
|
155
|
+
if (typeof optionsOrCb !== "object")
|
|
156
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
157
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
return this.send(command, optionsOrCb);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
102
163
|
listRooms(args, optionsOrCb, cb) {
|
|
103
164
|
const command = new ListRoomsCommand_1.ListRoomsCommand(args);
|
|
104
165
|
if (typeof optionsOrCb === "function") {
|
|
@@ -169,6 +230,20 @@ class Ivschat extends IvschatClient_1.IvschatClient {
|
|
|
169
230
|
return this.send(command, optionsOrCb);
|
|
170
231
|
}
|
|
171
232
|
}
|
|
233
|
+
updateLoggingConfiguration(args, optionsOrCb, cb) {
|
|
234
|
+
const command = new UpdateLoggingConfigurationCommand_1.UpdateLoggingConfigurationCommand(args);
|
|
235
|
+
if (typeof optionsOrCb === "function") {
|
|
236
|
+
this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
else if (typeof cb === "function") {
|
|
239
|
+
if (typeof optionsOrCb !== "object")
|
|
240
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
return this.send(command, optionsOrCb);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
172
247
|
updateRoom(args, optionsOrCb, cb) {
|
|
173
248
|
const command = new UpdateRoomCommand_1.UpdateRoomCommand(args);
|
|
174
249
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class CreateLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLoggingConfigurationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "IvschatClient";
|
|
28
|
+
const commandName = "CreateLoggingConfigurationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateLoggingConfigurationRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.CreateLoggingConfigurationResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateLoggingConfigurationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateLoggingConfigurationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateLoggingConfigurationCommand = CreateLoggingConfigurationCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLoggingConfigurationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "IvschatClient";
|
|
28
|
+
const commandName = "DeleteLoggingConfigurationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DeleteLoggingConfigurationRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (output) => output,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteLoggingConfigurationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteLoggingConfigurationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteLoggingConfigurationCommand = DeleteLoggingConfigurationCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class GetLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLoggingConfigurationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "IvschatClient";
|
|
28
|
+
const commandName = "GetLoggingConfigurationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetLoggingConfigurationRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetLoggingConfigurationResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetLoggingConfigurationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetLoggingConfigurationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetLoggingConfigurationCommand = GetLoggingConfigurationCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListLoggingConfigurationsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListLoggingConfigurationsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLoggingConfigurationsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "IvschatClient";
|
|
28
|
+
const commandName = "ListLoggingConfigurationsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListLoggingConfigurationsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListLoggingConfigurationsResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListLoggingConfigurationsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListLoggingConfigurationsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListLoggingConfigurationsCommand = ListLoggingConfigurationsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateLoggingConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateLoggingConfigurationCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateLoggingConfigurationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "IvschatClient";
|
|
28
|
+
const commandName = "UpdateLoggingConfigurationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateLoggingConfigurationRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.UpdateLoggingConfigurationResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateLoggingConfigurationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateLoggingConfigurationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateLoggingConfigurationCommand = UpdateLoggingConfigurationCommand;
|
|
@@ -2,14 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./CreateChatTokenCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateLoggingConfigurationCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateRoomCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DeleteLoggingConfigurationCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./DeleteMessageCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./DeleteRoomCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./DisconnectUserCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetLoggingConfigurationCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./GetRoomCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListLoggingConfigurationsCommand"), exports);
|
|
10
14
|
tslib_1.__exportStar(require("./ListRoomsCommand"), exports);
|
|
11
15
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
12
16
|
tslib_1.__exportStar(require("./SendEventCommand"), exports);
|
|
13
17
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
14
18
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./UpdateLoggingConfigurationCommand"), exports);
|
|
15
20
|
tslib_1.__exportStar(require("./UpdateRoomCommand"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SendEventResponseFilterSensitiveLog = exports.SendEventRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListRoomsResponseFilterSensitiveLog = exports.RoomSummaryFilterSensitiveLog = exports.ListRoomsRequestFilterSensitiveLog = exports.ListLoggingConfigurationsResponseFilterSensitiveLog = exports.LoggingConfigurationSummaryFilterSensitiveLog = exports.ListLoggingConfigurationsRequestFilterSensitiveLog = exports.GetRoomResponseFilterSensitiveLog = exports.GetRoomRequestFilterSensitiveLog = exports.GetLoggingConfigurationResponseFilterSensitiveLog = exports.GetLoggingConfigurationRequestFilterSensitiveLog = exports.DisconnectUserResponseFilterSensitiveLog = exports.DisconnectUserRequestFilterSensitiveLog = exports.DeleteRoomRequestFilterSensitiveLog = exports.DeleteMessageResponseFilterSensitiveLog = exports.DeleteMessageRequestFilterSensitiveLog = exports.DeleteLoggingConfigurationRequestFilterSensitiveLog = exports.CreateRoomResponseFilterSensitiveLog = exports.CreateRoomRequestFilterSensitiveLog = exports.MessageReviewHandlerFilterSensitiveLog = exports.CreateLoggingConfigurationResponseFilterSensitiveLog = exports.CreateLoggingConfigurationRequestFilterSensitiveLog = exports.DestinationConfigurationFilterSensitiveLog = exports.S3DestinationConfigurationFilterSensitiveLog = exports.FirehoseDestinationConfigurationFilterSensitiveLog = exports.CloudWatchLogsDestinationConfigurationFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = 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
|
+
exports.UpdateRoomResponseFilterSensitiveLog = exports.UpdateRoomRequestFilterSensitiveLog = exports.UpdateLoggingConfigurationResponseFilterSensitiveLog = exports.UpdateLoggingConfigurationRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = void 0;
|
|
4
5
|
const IvschatServiceException_1 = require("./IvschatServiceException");
|
|
5
6
|
class AccessDeniedException extends IvschatServiceException_1.IvschatServiceException {
|
|
6
7
|
constructor(opts) {
|
|
@@ -89,11 +90,22 @@ class ConflictException extends IvschatServiceException_1.IvschatServiceExceptio
|
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
92
|
exports.ConflictException = ConflictException;
|
|
92
|
-
var
|
|
93
|
-
(function (
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
var DestinationConfiguration;
|
|
94
|
+
(function (DestinationConfiguration) {
|
|
95
|
+
DestinationConfiguration.visit = (value, visitor) => {
|
|
96
|
+
if (value.s3 !== undefined)
|
|
97
|
+
return visitor.s3(value.s3);
|
|
98
|
+
if (value.cloudWatchLogs !== undefined)
|
|
99
|
+
return visitor.cloudWatchLogs(value.cloudWatchLogs);
|
|
100
|
+
if (value.firehose !== undefined)
|
|
101
|
+
return visitor.firehose(value.firehose);
|
|
102
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
103
|
+
};
|
|
104
|
+
})(DestinationConfiguration = exports.DestinationConfiguration || (exports.DestinationConfiguration = {}));
|
|
105
|
+
var CreateLoggingConfigurationState;
|
|
106
|
+
(function (CreateLoggingConfigurationState) {
|
|
107
|
+
CreateLoggingConfigurationState["ACTIVE"] = "ACTIVE";
|
|
108
|
+
})(CreateLoggingConfigurationState = exports.CreateLoggingConfigurationState || (exports.CreateLoggingConfigurationState = {}));
|
|
97
109
|
class ServiceQuotaExceededException extends IvschatServiceException_1.IvschatServiceException {
|
|
98
110
|
constructor(opts) {
|
|
99
111
|
super({
|
|
@@ -110,6 +122,11 @@ class ServiceQuotaExceededException extends IvschatServiceException_1.IvschatSer
|
|
|
110
122
|
}
|
|
111
123
|
}
|
|
112
124
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
125
|
+
var FallbackResult;
|
|
126
|
+
(function (FallbackResult) {
|
|
127
|
+
FallbackResult["ALLOW"] = "ALLOW";
|
|
128
|
+
FallbackResult["DENY"] = "DENY";
|
|
129
|
+
})(FallbackResult = exports.FallbackResult || (exports.FallbackResult = {}));
|
|
113
130
|
class ThrottlingException extends IvschatServiceException_1.IvschatServiceException {
|
|
114
131
|
constructor(opts) {
|
|
115
132
|
super({
|
|
@@ -126,6 +143,16 @@ class ThrottlingException extends IvschatServiceException_1.IvschatServiceExcept
|
|
|
126
143
|
}
|
|
127
144
|
}
|
|
128
145
|
exports.ThrottlingException = ThrottlingException;
|
|
146
|
+
var LoggingConfigurationState;
|
|
147
|
+
(function (LoggingConfigurationState) {
|
|
148
|
+
LoggingConfigurationState["ACTIVE"] = "ACTIVE";
|
|
149
|
+
LoggingConfigurationState["CREATE_FAILED"] = "CREATE_FAILED";
|
|
150
|
+
LoggingConfigurationState["CREATING"] = "CREATING";
|
|
151
|
+
LoggingConfigurationState["DELETE_FAILED"] = "DELETE_FAILED";
|
|
152
|
+
LoggingConfigurationState["DELETING"] = "DELETING";
|
|
153
|
+
LoggingConfigurationState["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
154
|
+
LoggingConfigurationState["UPDATING"] = "UPDATING";
|
|
155
|
+
})(LoggingConfigurationState = exports.LoggingConfigurationState || (exports.LoggingConfigurationState = {}));
|
|
129
156
|
class InternalServerException extends IvschatServiceException_1.IvschatServiceException {
|
|
130
157
|
constructor(opts) {
|
|
131
158
|
super({
|
|
@@ -139,6 +166,10 @@ class InternalServerException extends IvschatServiceException_1.IvschatServiceEx
|
|
|
139
166
|
}
|
|
140
167
|
}
|
|
141
168
|
exports.InternalServerException = InternalServerException;
|
|
169
|
+
var UpdateLoggingConfigurationState;
|
|
170
|
+
(function (UpdateLoggingConfigurationState) {
|
|
171
|
+
UpdateLoggingConfigurationState["ACTIVE"] = "ACTIVE";
|
|
172
|
+
})(UpdateLoggingConfigurationState = exports.UpdateLoggingConfigurationState || (exports.UpdateLoggingConfigurationState = {}));
|
|
142
173
|
const CreateChatTokenRequestFilterSensitiveLog = (obj) => ({
|
|
143
174
|
...obj,
|
|
144
175
|
});
|
|
@@ -151,6 +182,43 @@ const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
|
151
182
|
...obj,
|
|
152
183
|
});
|
|
153
184
|
exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
|
|
185
|
+
const CloudWatchLogsDestinationConfigurationFilterSensitiveLog = (obj) => ({
|
|
186
|
+
...obj,
|
|
187
|
+
});
|
|
188
|
+
exports.CloudWatchLogsDestinationConfigurationFilterSensitiveLog = CloudWatchLogsDestinationConfigurationFilterSensitiveLog;
|
|
189
|
+
const FirehoseDestinationConfigurationFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
});
|
|
192
|
+
exports.FirehoseDestinationConfigurationFilterSensitiveLog = FirehoseDestinationConfigurationFilterSensitiveLog;
|
|
193
|
+
const S3DestinationConfigurationFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
});
|
|
196
|
+
exports.S3DestinationConfigurationFilterSensitiveLog = S3DestinationConfigurationFilterSensitiveLog;
|
|
197
|
+
const DestinationConfigurationFilterSensitiveLog = (obj) => {
|
|
198
|
+
if (obj.s3 !== undefined)
|
|
199
|
+
return { s3: (0, exports.S3DestinationConfigurationFilterSensitiveLog)(obj.s3) };
|
|
200
|
+
if (obj.cloudWatchLogs !== undefined)
|
|
201
|
+
return { cloudWatchLogs: (0, exports.CloudWatchLogsDestinationConfigurationFilterSensitiveLog)(obj.cloudWatchLogs) };
|
|
202
|
+
if (obj.firehose !== undefined)
|
|
203
|
+
return { firehose: (0, exports.FirehoseDestinationConfigurationFilterSensitiveLog)(obj.firehose) };
|
|
204
|
+
if (obj.$unknown !== undefined)
|
|
205
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
206
|
+
};
|
|
207
|
+
exports.DestinationConfigurationFilterSensitiveLog = DestinationConfigurationFilterSensitiveLog;
|
|
208
|
+
const CreateLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
...(obj.destinationConfiguration && {
|
|
211
|
+
destinationConfiguration: (0, exports.DestinationConfigurationFilterSensitiveLog)(obj.destinationConfiguration),
|
|
212
|
+
}),
|
|
213
|
+
});
|
|
214
|
+
exports.CreateLoggingConfigurationRequestFilterSensitiveLog = CreateLoggingConfigurationRequestFilterSensitiveLog;
|
|
215
|
+
const CreateLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
...(obj.destinationConfiguration && {
|
|
218
|
+
destinationConfiguration: (0, exports.DestinationConfigurationFilterSensitiveLog)(obj.destinationConfiguration),
|
|
219
|
+
}),
|
|
220
|
+
});
|
|
221
|
+
exports.CreateLoggingConfigurationResponseFilterSensitiveLog = CreateLoggingConfigurationResponseFilterSensitiveLog;
|
|
154
222
|
const MessageReviewHandlerFilterSensitiveLog = (obj) => ({
|
|
155
223
|
...obj,
|
|
156
224
|
});
|
|
@@ -163,6 +231,10 @@ const CreateRoomResponseFilterSensitiveLog = (obj) => ({
|
|
|
163
231
|
...obj,
|
|
164
232
|
});
|
|
165
233
|
exports.CreateRoomResponseFilterSensitiveLog = CreateRoomResponseFilterSensitiveLog;
|
|
234
|
+
const DeleteLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
+
...obj,
|
|
236
|
+
});
|
|
237
|
+
exports.DeleteLoggingConfigurationRequestFilterSensitiveLog = DeleteLoggingConfigurationRequestFilterSensitiveLog;
|
|
166
238
|
const DeleteMessageRequestFilterSensitiveLog = (obj) => ({
|
|
167
239
|
...obj,
|
|
168
240
|
});
|
|
@@ -183,6 +255,17 @@ const DisconnectUserResponseFilterSensitiveLog = (obj) => ({
|
|
|
183
255
|
...obj,
|
|
184
256
|
});
|
|
185
257
|
exports.DisconnectUserResponseFilterSensitiveLog = DisconnectUserResponseFilterSensitiveLog;
|
|
258
|
+
const GetLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
});
|
|
261
|
+
exports.GetLoggingConfigurationRequestFilterSensitiveLog = GetLoggingConfigurationRequestFilterSensitiveLog;
|
|
262
|
+
const GetLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
...(obj.destinationConfiguration && {
|
|
265
|
+
destinationConfiguration: (0, exports.DestinationConfigurationFilterSensitiveLog)(obj.destinationConfiguration),
|
|
266
|
+
}),
|
|
267
|
+
});
|
|
268
|
+
exports.GetLoggingConfigurationResponseFilterSensitiveLog = GetLoggingConfigurationResponseFilterSensitiveLog;
|
|
186
269
|
const GetRoomRequestFilterSensitiveLog = (obj) => ({
|
|
187
270
|
...obj,
|
|
188
271
|
});
|
|
@@ -191,6 +274,24 @@ const GetRoomResponseFilterSensitiveLog = (obj) => ({
|
|
|
191
274
|
...obj,
|
|
192
275
|
});
|
|
193
276
|
exports.GetRoomResponseFilterSensitiveLog = GetRoomResponseFilterSensitiveLog;
|
|
277
|
+
const ListLoggingConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
});
|
|
280
|
+
exports.ListLoggingConfigurationsRequestFilterSensitiveLog = ListLoggingConfigurationsRequestFilterSensitiveLog;
|
|
281
|
+
const LoggingConfigurationSummaryFilterSensitiveLog = (obj) => ({
|
|
282
|
+
...obj,
|
|
283
|
+
...(obj.destinationConfiguration && {
|
|
284
|
+
destinationConfiguration: (0, exports.DestinationConfigurationFilterSensitiveLog)(obj.destinationConfiguration),
|
|
285
|
+
}),
|
|
286
|
+
});
|
|
287
|
+
exports.LoggingConfigurationSummaryFilterSensitiveLog = LoggingConfigurationSummaryFilterSensitiveLog;
|
|
288
|
+
const ListLoggingConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
289
|
+
...obj,
|
|
290
|
+
...(obj.loggingConfigurations && {
|
|
291
|
+
loggingConfigurations: obj.loggingConfigurations.map((item) => (0, exports.LoggingConfigurationSummaryFilterSensitiveLog)(item)),
|
|
292
|
+
}),
|
|
293
|
+
});
|
|
294
|
+
exports.ListLoggingConfigurationsResponseFilterSensitiveLog = ListLoggingConfigurationsResponseFilterSensitiveLog;
|
|
194
295
|
const ListRoomsRequestFilterSensitiveLog = (obj) => ({
|
|
195
296
|
...obj,
|
|
196
297
|
});
|
|
@@ -235,6 +336,20 @@ const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
|
235
336
|
...obj,
|
|
236
337
|
});
|
|
237
338
|
exports.UntagResourceResponseFilterSensitiveLog = UntagResourceResponseFilterSensitiveLog;
|
|
339
|
+
const UpdateLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
...(obj.destinationConfiguration && {
|
|
342
|
+
destinationConfiguration: (0, exports.DestinationConfigurationFilterSensitiveLog)(obj.destinationConfiguration),
|
|
343
|
+
}),
|
|
344
|
+
});
|
|
345
|
+
exports.UpdateLoggingConfigurationRequestFilterSensitiveLog = UpdateLoggingConfigurationRequestFilterSensitiveLog;
|
|
346
|
+
const UpdateLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.destinationConfiguration && {
|
|
349
|
+
destinationConfiguration: (0, exports.DestinationConfigurationFilterSensitiveLog)(obj.destinationConfiguration),
|
|
350
|
+
}),
|
|
351
|
+
});
|
|
352
|
+
exports.UpdateLoggingConfigurationResponseFilterSensitiveLog = UpdateLoggingConfigurationResponseFilterSensitiveLog;
|
|
238
353
|
const UpdateRoomRequestFilterSensitiveLog = (obj) => ({
|
|
239
354
|
...obj,
|
|
240
355
|
});
|