@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,438 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IvschatServiceException as __BaseException } from "./IvschatServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
|
+
}
|
|
10
|
+
export declare enum ChatTokenCapability {
|
|
11
|
+
DELETE_MESSAGE = "DELETE_MESSAGE",
|
|
12
|
+
DISCONNECT_USER = "DISCONNECT_USER",
|
|
13
|
+
SEND_MESSAGE = "SEND_MESSAGE"
|
|
14
|
+
}
|
|
15
|
+
export interface CreateChatTokenRequest {
|
|
16
|
+
|
|
17
|
+
roomIdentifier: string | undefined;
|
|
18
|
+
|
|
19
|
+
userId: string | undefined;
|
|
20
|
+
|
|
21
|
+
capabilities?: (ChatTokenCapability | string)[];
|
|
22
|
+
|
|
23
|
+
sessionDurationInMinutes?: number;
|
|
24
|
+
|
|
25
|
+
attributes?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export declare namespace CreateChatTokenRequest {
|
|
30
|
+
|
|
31
|
+
const filterSensitiveLog: (obj: CreateChatTokenRequest) => any;
|
|
32
|
+
}
|
|
33
|
+
export interface CreateChatTokenResponse {
|
|
34
|
+
|
|
35
|
+
token?: string;
|
|
36
|
+
|
|
37
|
+
tokenExpirationTime?: Date;
|
|
38
|
+
|
|
39
|
+
sessionExpirationTime?: Date;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace CreateChatTokenResponse {
|
|
42
|
+
|
|
43
|
+
const filterSensitiveLog: (obj: CreateChatTokenResponse) => any;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export declare class PendingVerification extends __BaseException {
|
|
47
|
+
readonly name: "PendingVerification";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
|
|
50
|
+
constructor(opts: __ExceptionOptionType<PendingVerification, __BaseException>);
|
|
51
|
+
}
|
|
52
|
+
export declare enum ResourceType {
|
|
53
|
+
ROOM = "ROOM"
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
57
|
+
readonly name: "ResourceNotFoundException";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
|
|
60
|
+
resourceId: string | undefined;
|
|
61
|
+
|
|
62
|
+
resourceType: ResourceType | string | undefined;
|
|
63
|
+
|
|
64
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface ValidationExceptionField {
|
|
68
|
+
|
|
69
|
+
name: string | undefined;
|
|
70
|
+
|
|
71
|
+
message: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace ValidationExceptionField {
|
|
74
|
+
|
|
75
|
+
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
76
|
+
}
|
|
77
|
+
export declare enum ValidationExceptionReason {
|
|
78
|
+
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
79
|
+
OTHER = "OTHER",
|
|
80
|
+
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export declare class ValidationException extends __BaseException {
|
|
84
|
+
readonly name: "ValidationException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
|
|
87
|
+
reason: ValidationExceptionReason | string | undefined;
|
|
88
|
+
|
|
89
|
+
fieldList?: ValidationExceptionField[];
|
|
90
|
+
|
|
91
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export declare class ConflictException extends __BaseException {
|
|
95
|
+
readonly name: "ConflictException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
|
|
98
|
+
resourceId: string | undefined;
|
|
99
|
+
|
|
100
|
+
resourceType: ResourceType | string | undefined;
|
|
101
|
+
|
|
102
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
103
|
+
}
|
|
104
|
+
export declare enum FallbackResult {
|
|
105
|
+
ALLOW = "ALLOW",
|
|
106
|
+
DENY = "DENY"
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface MessageReviewHandler {
|
|
110
|
+
|
|
111
|
+
uri?: string;
|
|
112
|
+
|
|
113
|
+
fallbackResult?: FallbackResult | string;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace MessageReviewHandler {
|
|
116
|
+
|
|
117
|
+
const filterSensitiveLog: (obj: MessageReviewHandler) => any;
|
|
118
|
+
}
|
|
119
|
+
export interface CreateRoomRequest {
|
|
120
|
+
|
|
121
|
+
name?: string;
|
|
122
|
+
|
|
123
|
+
maximumMessageRatePerSecond?: number;
|
|
124
|
+
|
|
125
|
+
maximumMessageLength?: number;
|
|
126
|
+
|
|
127
|
+
messageReviewHandler?: MessageReviewHandler;
|
|
128
|
+
|
|
129
|
+
tags?: {
|
|
130
|
+
[key: string]: string;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
export declare namespace CreateRoomRequest {
|
|
134
|
+
|
|
135
|
+
const filterSensitiveLog: (obj: CreateRoomRequest) => any;
|
|
136
|
+
}
|
|
137
|
+
export interface CreateRoomResponse {
|
|
138
|
+
|
|
139
|
+
arn?: string;
|
|
140
|
+
|
|
141
|
+
id?: string;
|
|
142
|
+
|
|
143
|
+
name?: string;
|
|
144
|
+
|
|
145
|
+
createTime?: Date;
|
|
146
|
+
|
|
147
|
+
updateTime?: Date;
|
|
148
|
+
|
|
149
|
+
maximumMessageRatePerSecond?: number;
|
|
150
|
+
|
|
151
|
+
maximumMessageLength?: number;
|
|
152
|
+
|
|
153
|
+
messageReviewHandler?: MessageReviewHandler;
|
|
154
|
+
|
|
155
|
+
tags?: {
|
|
156
|
+
[key: string]: string;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export declare namespace CreateRoomResponse {
|
|
160
|
+
|
|
161
|
+
const filterSensitiveLog: (obj: CreateRoomResponse) => any;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
165
|
+
readonly name: "ServiceQuotaExceededException";
|
|
166
|
+
readonly $fault: "client";
|
|
167
|
+
|
|
168
|
+
resourceId: string | undefined;
|
|
169
|
+
|
|
170
|
+
resourceType: ResourceType | string | undefined;
|
|
171
|
+
|
|
172
|
+
limit: number | undefined;
|
|
173
|
+
|
|
174
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
175
|
+
}
|
|
176
|
+
export interface DeleteMessageRequest {
|
|
177
|
+
|
|
178
|
+
roomIdentifier: string | undefined;
|
|
179
|
+
|
|
180
|
+
id: string | undefined;
|
|
181
|
+
|
|
182
|
+
reason?: string;
|
|
183
|
+
}
|
|
184
|
+
export declare namespace DeleteMessageRequest {
|
|
185
|
+
|
|
186
|
+
const filterSensitiveLog: (obj: DeleteMessageRequest) => any;
|
|
187
|
+
}
|
|
188
|
+
export interface DeleteMessageResponse {
|
|
189
|
+
|
|
190
|
+
id?: string;
|
|
191
|
+
}
|
|
192
|
+
export declare namespace DeleteMessageResponse {
|
|
193
|
+
|
|
194
|
+
const filterSensitiveLog: (obj: DeleteMessageResponse) => any;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export declare class ThrottlingException extends __BaseException {
|
|
198
|
+
readonly name: "ThrottlingException";
|
|
199
|
+
readonly $fault: "client";
|
|
200
|
+
|
|
201
|
+
resourceId: string | undefined;
|
|
202
|
+
|
|
203
|
+
resourceType: ResourceType | string | undefined;
|
|
204
|
+
|
|
205
|
+
limit: number | undefined;
|
|
206
|
+
|
|
207
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
208
|
+
}
|
|
209
|
+
export interface DeleteRoomRequest {
|
|
210
|
+
|
|
211
|
+
identifier: string | undefined;
|
|
212
|
+
}
|
|
213
|
+
export declare namespace DeleteRoomRequest {
|
|
214
|
+
|
|
215
|
+
const filterSensitiveLog: (obj: DeleteRoomRequest) => any;
|
|
216
|
+
}
|
|
217
|
+
export interface DisconnectUserRequest {
|
|
218
|
+
|
|
219
|
+
roomIdentifier: string | undefined;
|
|
220
|
+
|
|
221
|
+
userId: string | undefined;
|
|
222
|
+
|
|
223
|
+
reason?: string;
|
|
224
|
+
}
|
|
225
|
+
export declare namespace DisconnectUserRequest {
|
|
226
|
+
|
|
227
|
+
const filterSensitiveLog: (obj: DisconnectUserRequest) => any;
|
|
228
|
+
}
|
|
229
|
+
export interface DisconnectUserResponse {
|
|
230
|
+
}
|
|
231
|
+
export declare namespace DisconnectUserResponse {
|
|
232
|
+
|
|
233
|
+
const filterSensitiveLog: (obj: DisconnectUserResponse) => any;
|
|
234
|
+
}
|
|
235
|
+
export interface GetRoomRequest {
|
|
236
|
+
|
|
237
|
+
identifier: string | undefined;
|
|
238
|
+
}
|
|
239
|
+
export declare namespace GetRoomRequest {
|
|
240
|
+
|
|
241
|
+
const filterSensitiveLog: (obj: GetRoomRequest) => any;
|
|
242
|
+
}
|
|
243
|
+
export interface GetRoomResponse {
|
|
244
|
+
|
|
245
|
+
arn?: string;
|
|
246
|
+
|
|
247
|
+
id?: string;
|
|
248
|
+
|
|
249
|
+
name?: string;
|
|
250
|
+
|
|
251
|
+
createTime?: Date;
|
|
252
|
+
|
|
253
|
+
updateTime?: Date;
|
|
254
|
+
|
|
255
|
+
maximumMessageRatePerSecond?: number;
|
|
256
|
+
|
|
257
|
+
maximumMessageLength?: number;
|
|
258
|
+
|
|
259
|
+
messageReviewHandler?: MessageReviewHandler;
|
|
260
|
+
|
|
261
|
+
tags?: {
|
|
262
|
+
[key: string]: string;
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
export declare namespace GetRoomResponse {
|
|
266
|
+
|
|
267
|
+
const filterSensitiveLog: (obj: GetRoomResponse) => any;
|
|
268
|
+
}
|
|
269
|
+
export interface ListRoomsRequest {
|
|
270
|
+
|
|
271
|
+
name?: string;
|
|
272
|
+
|
|
273
|
+
nextToken?: string;
|
|
274
|
+
|
|
275
|
+
maxResults?: number;
|
|
276
|
+
|
|
277
|
+
messageReviewHandlerUri?: string;
|
|
278
|
+
}
|
|
279
|
+
export declare namespace ListRoomsRequest {
|
|
280
|
+
|
|
281
|
+
const filterSensitiveLog: (obj: ListRoomsRequest) => any;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export interface RoomSummary {
|
|
285
|
+
|
|
286
|
+
arn?: string;
|
|
287
|
+
|
|
288
|
+
id?: string;
|
|
289
|
+
|
|
290
|
+
name?: string;
|
|
291
|
+
|
|
292
|
+
messageReviewHandler?: MessageReviewHandler;
|
|
293
|
+
|
|
294
|
+
createTime?: Date;
|
|
295
|
+
|
|
296
|
+
updateTime?: Date;
|
|
297
|
+
|
|
298
|
+
tags?: {
|
|
299
|
+
[key: string]: string;
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
export declare namespace RoomSummary {
|
|
303
|
+
|
|
304
|
+
const filterSensitiveLog: (obj: RoomSummary) => any;
|
|
305
|
+
}
|
|
306
|
+
export interface ListRoomsResponse {
|
|
307
|
+
|
|
308
|
+
rooms: RoomSummary[] | undefined;
|
|
309
|
+
|
|
310
|
+
nextToken?: string;
|
|
311
|
+
}
|
|
312
|
+
export declare namespace ListRoomsResponse {
|
|
313
|
+
|
|
314
|
+
const filterSensitiveLog: (obj: ListRoomsResponse) => any;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export declare class InternalServerException extends __BaseException {
|
|
318
|
+
readonly name: "InternalServerException";
|
|
319
|
+
readonly $fault: "server";
|
|
320
|
+
|
|
321
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
322
|
+
}
|
|
323
|
+
export interface ListTagsForResourceRequest {
|
|
324
|
+
|
|
325
|
+
resourceArn: string | undefined;
|
|
326
|
+
}
|
|
327
|
+
export declare namespace ListTagsForResourceRequest {
|
|
328
|
+
|
|
329
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
330
|
+
}
|
|
331
|
+
export interface ListTagsForResourceResponse {
|
|
332
|
+
|
|
333
|
+
tags: {
|
|
334
|
+
[key: string]: string;
|
|
335
|
+
} | undefined;
|
|
336
|
+
}
|
|
337
|
+
export declare namespace ListTagsForResourceResponse {
|
|
338
|
+
|
|
339
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
340
|
+
}
|
|
341
|
+
export interface SendEventRequest {
|
|
342
|
+
|
|
343
|
+
roomIdentifier: string | undefined;
|
|
344
|
+
|
|
345
|
+
eventName: string | undefined;
|
|
346
|
+
|
|
347
|
+
attributes?: {
|
|
348
|
+
[key: string]: string;
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
export declare namespace SendEventRequest {
|
|
352
|
+
|
|
353
|
+
const filterSensitiveLog: (obj: SendEventRequest) => any;
|
|
354
|
+
}
|
|
355
|
+
export interface SendEventResponse {
|
|
356
|
+
|
|
357
|
+
id?: string;
|
|
358
|
+
}
|
|
359
|
+
export declare namespace SendEventResponse {
|
|
360
|
+
|
|
361
|
+
const filterSensitiveLog: (obj: SendEventResponse) => any;
|
|
362
|
+
}
|
|
363
|
+
export interface TagResourceRequest {
|
|
364
|
+
|
|
365
|
+
resourceArn: string | undefined;
|
|
366
|
+
|
|
367
|
+
tags: {
|
|
368
|
+
[key: string]: string;
|
|
369
|
+
} | undefined;
|
|
370
|
+
}
|
|
371
|
+
export declare namespace TagResourceRequest {
|
|
372
|
+
|
|
373
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
374
|
+
}
|
|
375
|
+
export interface TagResourceResponse {
|
|
376
|
+
}
|
|
377
|
+
export declare namespace TagResourceResponse {
|
|
378
|
+
|
|
379
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
380
|
+
}
|
|
381
|
+
export interface UntagResourceRequest {
|
|
382
|
+
|
|
383
|
+
resourceArn: string | undefined;
|
|
384
|
+
|
|
385
|
+
tagKeys: string[] | undefined;
|
|
386
|
+
}
|
|
387
|
+
export declare namespace UntagResourceRequest {
|
|
388
|
+
|
|
389
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
390
|
+
}
|
|
391
|
+
export interface UntagResourceResponse {
|
|
392
|
+
}
|
|
393
|
+
export declare namespace UntagResourceResponse {
|
|
394
|
+
|
|
395
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
396
|
+
}
|
|
397
|
+
export interface UpdateRoomRequest {
|
|
398
|
+
|
|
399
|
+
identifier: string | undefined;
|
|
400
|
+
|
|
401
|
+
name?: string;
|
|
402
|
+
|
|
403
|
+
maximumMessageRatePerSecond?: number;
|
|
404
|
+
|
|
405
|
+
maximumMessageLength?: number;
|
|
406
|
+
|
|
407
|
+
messageReviewHandler?: MessageReviewHandler;
|
|
408
|
+
}
|
|
409
|
+
export declare namespace UpdateRoomRequest {
|
|
410
|
+
|
|
411
|
+
const filterSensitiveLog: (obj: UpdateRoomRequest) => any;
|
|
412
|
+
}
|
|
413
|
+
export interface UpdateRoomResponse {
|
|
414
|
+
|
|
415
|
+
arn?: string;
|
|
416
|
+
|
|
417
|
+
id?: string;
|
|
418
|
+
|
|
419
|
+
name?: string;
|
|
420
|
+
|
|
421
|
+
createTime?: Date;
|
|
422
|
+
|
|
423
|
+
updateTime?: Date;
|
|
424
|
+
|
|
425
|
+
maximumMessageRatePerSecond?: number;
|
|
426
|
+
|
|
427
|
+
maximumMessageLength?: number;
|
|
428
|
+
|
|
429
|
+
messageReviewHandler?: MessageReviewHandler;
|
|
430
|
+
|
|
431
|
+
tags?: {
|
|
432
|
+
[key: string]: string;
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
export declare namespace UpdateRoomResponse {
|
|
436
|
+
|
|
437
|
+
const filterSensitiveLog: (obj: UpdateRoomResponse) => any;
|
|
438
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { Ivschat } from "../Ivschat";
|
|
3
|
+
import { IvschatClient } from "../IvschatClient";
|
|
4
|
+
export interface IvschatPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
+
client: Ivschat | IvschatClient;
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListRoomsCommandInput, ListRoomsCommandOutput } from "../commands/ListRoomsCommand";
|
|
3
|
+
import { IvschatPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListRooms(config: IvschatPaginationConfiguration, input: ListRoomsCommandInput, ...additionalArguments: any): Paginator<ListRoomsCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CreateChatTokenCommandInput, CreateChatTokenCommandOutput } from "../commands/CreateChatTokenCommand";
|
|
4
|
+
import { CreateRoomCommandInput, CreateRoomCommandOutput } from "../commands/CreateRoomCommand";
|
|
5
|
+
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "../commands/DeleteMessageCommand";
|
|
6
|
+
import { DeleteRoomCommandInput, DeleteRoomCommandOutput } from "../commands/DeleteRoomCommand";
|
|
7
|
+
import { DisconnectUserCommandInput, DisconnectUserCommandOutput } from "../commands/DisconnectUserCommand";
|
|
8
|
+
import { GetRoomCommandInput, GetRoomCommandOutput } from "../commands/GetRoomCommand";
|
|
9
|
+
import { ListRoomsCommandInput, ListRoomsCommandOutput } from "../commands/ListRoomsCommand";
|
|
10
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
11
|
+
import { SendEventCommandInput, SendEventCommandOutput } from "../commands/SendEventCommand";
|
|
12
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
13
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
14
|
+
import { UpdateRoomCommandInput, UpdateRoomCommandOutput } from "../commands/UpdateRoomCommand";
|
|
15
|
+
export declare const serializeAws_restJson1CreateChatTokenCommand: (input: CreateChatTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
export declare const serializeAws_restJson1CreateRoomCommand: (input: CreateRoomCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
+
export declare const serializeAws_restJson1DeleteMessageCommand: (input: DeleteMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const serializeAws_restJson1DeleteRoomCommand: (input: DeleteRoomCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
export declare const serializeAws_restJson1DisconnectUserCommand: (input: DisconnectUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
+
export declare const serializeAws_restJson1GetRoomCommand: (input: GetRoomCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
export declare const serializeAws_restJson1ListRoomsCommand: (input: ListRoomsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
export declare const serializeAws_restJson1SendEventCommand: (input: SendEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
|
+
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const serializeAws_restJson1UpdateRoomCommand: (input: UpdateRoomCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
export declare const deserializeAws_restJson1CreateChatTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateChatTokenCommandOutput>;
|
|
28
|
+
export declare const deserializeAws_restJson1CreateRoomCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRoomCommandOutput>;
|
|
29
|
+
export declare const deserializeAws_restJson1DeleteMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMessageCommandOutput>;
|
|
30
|
+
export declare const deserializeAws_restJson1DeleteRoomCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRoomCommandOutput>;
|
|
31
|
+
export declare const deserializeAws_restJson1DisconnectUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisconnectUserCommandOutput>;
|
|
32
|
+
export declare const deserializeAws_restJson1GetRoomCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoomCommandOutput>;
|
|
33
|
+
export declare const deserializeAws_restJson1ListRoomsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRoomsCommandOutput>;
|
|
34
|
+
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
35
|
+
export declare const deserializeAws_restJson1SendEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendEventCommandOutput>;
|
|
36
|
+
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
37
|
+
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
38
|
+
export declare const deserializeAws_restJson1UpdateRoomCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRoomCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { IvschatClientConfig } from "./IvschatClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IvschatClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { IvschatClientConfig } from "./IvschatClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IvschatClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IvschatClientConfig } from "./IvschatClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: IvschatClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { IvschatClientConfig } from "./IvschatClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IvschatClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|