@aws-sdk/client-ivschat 3.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +374 -0
- package/dist-cjs/Ivschat.js +187 -0
- package/dist-cjs/IvschatClient.js +35 -0
- package/dist-cjs/commands/CreateChatTokenCommand.js +36 -0
- package/dist-cjs/commands/CreateRoomCommand.js +36 -0
- package/dist-cjs/commands/DeleteMessageCommand.js +36 -0
- package/dist-cjs/commands/DeleteRoomCommand.js +36 -0
- package/dist-cjs/commands/DisconnectUserCommand.js +36 -0
- package/dist-cjs/commands/GetRoomCommand.js +36 -0
- package/dist-cjs/commands/ListRoomsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/SendEventCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateRoomCommand.js +36 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/IvschatServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +297 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListRoomsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1253 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Ivschat.js +190 -0
- package/dist-es/IvschatClient.js +37 -0
- package/dist-es/commands/CreateChatTokenCommand.js +39 -0
- package/dist-es/commands/CreateRoomCommand.js +39 -0
- package/dist-es/commands/DeleteMessageCommand.js +39 -0
- package/dist-es/commands/DeleteRoomCommand.js +39 -0
- package/dist-es/commands/DisconnectUserCommand.js +39 -0
- package/dist-es/commands/GetRoomCommand.js +39 -0
- package/dist-es/commands/ListRoomsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/SendEventCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateRoomCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/IvschatServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +235 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRoomsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1519 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Ivschat.d.ts +278 -0
- package/dist-types/IvschatClient.d.ts +332 -0
- package/dist-types/commands/CreateChatTokenCommand.d.ts +39 -0
- package/dist-types/commands/CreateRoomCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +38 -0
- package/dist-types/commands/DeleteRoomCommand.d.ts +35 -0
- package/dist-types/commands/DisconnectUserCommand.d.ts +36 -0
- package/dist-types/commands/GetRoomCommand.d.ts +35 -0
- package/dist-types/commands/ListRoomsCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/SendEventCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateRoomCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/IvschatServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +762 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListRoomsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Ivschat.d.ts +65 -0
- package/dist-types/ts3.4/IvschatClient.d.ts +85 -0
- package/dist-types/ts3.4/commands/CreateChatTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisconnectUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendEventCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/IvschatServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +438 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRoomsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +93 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Ivschat = void 0;
|
|
4
|
+
const CreateChatTokenCommand_1 = require("./commands/CreateChatTokenCommand");
|
|
5
|
+
const CreateRoomCommand_1 = require("./commands/CreateRoomCommand");
|
|
6
|
+
const DeleteMessageCommand_1 = require("./commands/DeleteMessageCommand");
|
|
7
|
+
const DeleteRoomCommand_1 = require("./commands/DeleteRoomCommand");
|
|
8
|
+
const DisconnectUserCommand_1 = require("./commands/DisconnectUserCommand");
|
|
9
|
+
const GetRoomCommand_1 = require("./commands/GetRoomCommand");
|
|
10
|
+
const ListRoomsCommand_1 = require("./commands/ListRoomsCommand");
|
|
11
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
12
|
+
const SendEventCommand_1 = require("./commands/SendEventCommand");
|
|
13
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
14
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
15
|
+
const UpdateRoomCommand_1 = require("./commands/UpdateRoomCommand");
|
|
16
|
+
const IvschatClient_1 = require("./IvschatClient");
|
|
17
|
+
class Ivschat extends IvschatClient_1.IvschatClient {
|
|
18
|
+
createChatToken(args, optionsOrCb, cb) {
|
|
19
|
+
const command = new CreateChatTokenCommand_1.CreateChatTokenCommand(args);
|
|
20
|
+
if (typeof optionsOrCb === "function") {
|
|
21
|
+
this.send(command, optionsOrCb);
|
|
22
|
+
}
|
|
23
|
+
else if (typeof cb === "function") {
|
|
24
|
+
if (typeof optionsOrCb !== "object")
|
|
25
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
26
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
return this.send(command, optionsOrCb);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
createRoom(args, optionsOrCb, cb) {
|
|
33
|
+
const command = new CreateRoomCommand_1.CreateRoomCommand(args);
|
|
34
|
+
if (typeof optionsOrCb === "function") {
|
|
35
|
+
this.send(command, optionsOrCb);
|
|
36
|
+
}
|
|
37
|
+
else if (typeof cb === "function") {
|
|
38
|
+
if (typeof optionsOrCb !== "object")
|
|
39
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
40
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
return this.send(command, optionsOrCb);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
deleteMessage(args, optionsOrCb, cb) {
|
|
47
|
+
const command = new DeleteMessageCommand_1.DeleteMessageCommand(args);
|
|
48
|
+
if (typeof optionsOrCb === "function") {
|
|
49
|
+
this.send(command, optionsOrCb);
|
|
50
|
+
}
|
|
51
|
+
else if (typeof cb === "function") {
|
|
52
|
+
if (typeof optionsOrCb !== "object")
|
|
53
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
54
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
return this.send(command, optionsOrCb);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
deleteRoom(args, optionsOrCb, cb) {
|
|
61
|
+
const command = new DeleteRoomCommand_1.DeleteRoomCommand(args);
|
|
62
|
+
if (typeof optionsOrCb === "function") {
|
|
63
|
+
this.send(command, optionsOrCb);
|
|
64
|
+
}
|
|
65
|
+
else if (typeof cb === "function") {
|
|
66
|
+
if (typeof optionsOrCb !== "object")
|
|
67
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
68
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
return this.send(command, optionsOrCb);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
disconnectUser(args, optionsOrCb, cb) {
|
|
75
|
+
const command = new DisconnectUserCommand_1.DisconnectUserCommand(args);
|
|
76
|
+
if (typeof optionsOrCb === "function") {
|
|
77
|
+
this.send(command, optionsOrCb);
|
|
78
|
+
}
|
|
79
|
+
else if (typeof cb === "function") {
|
|
80
|
+
if (typeof optionsOrCb !== "object")
|
|
81
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
82
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
return this.send(command, optionsOrCb);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
getRoom(args, optionsOrCb, cb) {
|
|
89
|
+
const command = new GetRoomCommand_1.GetRoomCommand(args);
|
|
90
|
+
if (typeof optionsOrCb === "function") {
|
|
91
|
+
this.send(command, optionsOrCb);
|
|
92
|
+
}
|
|
93
|
+
else if (typeof cb === "function") {
|
|
94
|
+
if (typeof optionsOrCb !== "object")
|
|
95
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
96
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
return this.send(command, optionsOrCb);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
listRooms(args, optionsOrCb, cb) {
|
|
103
|
+
const command = new ListRoomsCommand_1.ListRoomsCommand(args);
|
|
104
|
+
if (typeof optionsOrCb === "function") {
|
|
105
|
+
this.send(command, optionsOrCb);
|
|
106
|
+
}
|
|
107
|
+
else if (typeof cb === "function") {
|
|
108
|
+
if (typeof optionsOrCb !== "object")
|
|
109
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
110
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
return this.send(command, optionsOrCb);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
117
|
+
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
118
|
+
if (typeof optionsOrCb === "function") {
|
|
119
|
+
this.send(command, optionsOrCb);
|
|
120
|
+
}
|
|
121
|
+
else if (typeof cb === "function") {
|
|
122
|
+
if (typeof optionsOrCb !== "object")
|
|
123
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
124
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
return this.send(command, optionsOrCb);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
sendEvent(args, optionsOrCb, cb) {
|
|
131
|
+
const command = new SendEventCommand_1.SendEventCommand(args);
|
|
132
|
+
if (typeof optionsOrCb === "function") {
|
|
133
|
+
this.send(command, optionsOrCb);
|
|
134
|
+
}
|
|
135
|
+
else if (typeof cb === "function") {
|
|
136
|
+
if (typeof optionsOrCb !== "object")
|
|
137
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
138
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
return this.send(command, optionsOrCb);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
tagResource(args, optionsOrCb, cb) {
|
|
145
|
+
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
146
|
+
if (typeof optionsOrCb === "function") {
|
|
147
|
+
this.send(command, optionsOrCb);
|
|
148
|
+
}
|
|
149
|
+
else if (typeof cb === "function") {
|
|
150
|
+
if (typeof optionsOrCb !== "object")
|
|
151
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
return this.send(command, optionsOrCb);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
untagResource(args, optionsOrCb, cb) {
|
|
159
|
+
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
160
|
+
if (typeof optionsOrCb === "function") {
|
|
161
|
+
this.send(command, optionsOrCb);
|
|
162
|
+
}
|
|
163
|
+
else if (typeof cb === "function") {
|
|
164
|
+
if (typeof optionsOrCb !== "object")
|
|
165
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
return this.send(command, optionsOrCb);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
updateRoom(args, optionsOrCb, cb) {
|
|
173
|
+
const command = new UpdateRoomCommand_1.UpdateRoomCommand(args);
|
|
174
|
+
if (typeof optionsOrCb === "function") {
|
|
175
|
+
this.send(command, optionsOrCb);
|
|
176
|
+
}
|
|
177
|
+
else if (typeof cb === "function") {
|
|
178
|
+
if (typeof optionsOrCb !== "object")
|
|
179
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
180
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
return this.send(command, optionsOrCb);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
exports.Ivschat = Ivschat;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IvschatClient = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
+
class IvschatClient extends smithy_client_1.Client {
|
|
14
|
+
constructor(configuration) {
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
|
+
super(_config_6);
|
|
23
|
+
this.config = _config_6;
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
|
+
}
|
|
31
|
+
destroy() {
|
|
32
|
+
super.destroy();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.IvschatClient = IvschatClient;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateChatTokenCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateChatTokenCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "CreateChatTokenCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateChatTokenRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateChatTokenResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateChatTokenCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateChatTokenCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateChatTokenCommand = CreateChatTokenCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateRoomCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateRoomCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "CreateRoomCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateRoomRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateRoomResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateRoomCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateRoomCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateRoomCommand = CreateRoomCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteMessageCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteMessageCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "DeleteMessageCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteMessageRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteMessageResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteMessageCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteMessageCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteMessageCommand = DeleteMessageCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteRoomCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteRoomCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "DeleteRoomCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteRoomRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteRoomCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteRoomCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteRoomCommand = DeleteRoomCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisconnectUserCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DisconnectUserCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "DisconnectUserCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DisconnectUserRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DisconnectUserResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DisconnectUserCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DisconnectUserCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DisconnectUserCommand = DisconnectUserCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRoomCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetRoomCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "GetRoomCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetRoomRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetRoomResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetRoomCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetRoomCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetRoomCommand = GetRoomCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRoomsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListRoomsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "ListRoomsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListRoomsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListRoomsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListRoomsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListRoomsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListRoomsCommand = ListRoomsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTagsForResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "ListTagsForResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendEventCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class SendEventCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "SendEventCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.SendEventRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.SendEventResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1SendEventCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1SendEventCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.SendEventCommand = SendEventCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class TagResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "TagResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.TagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.TagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UntagResourceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "UntagResourceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UntagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UntagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateRoomCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateRoomCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvschatClient";
|
|
18
|
+
const commandName = "UpdateRoomCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateRoomRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateRoomResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateRoomCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateRoomCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateRoomCommand = UpdateRoomCommand;
|