@aws-sdk/client-chime-sdk-messaging 3.928.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2588 -2622
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ChimeSDKMessagingClient.js +2 -0
- package/dist-es/commands/AssociateChannelFlowCommand.js +3 -9
- package/dist-es/commands/BatchCreateChannelMembershipCommand.js +3 -10
- package/dist-es/commands/ChannelFlowCallbackCommand.js +3 -10
- package/dist-es/commands/CreateChannelBanCommand.js +3 -10
- package/dist-es/commands/CreateChannelCommand.js +3 -10
- package/dist-es/commands/CreateChannelFlowCommand.js +3 -10
- package/dist-es/commands/CreateChannelMembershipCommand.js +3 -10
- package/dist-es/commands/CreateChannelModeratorCommand.js +3 -10
- package/dist-es/commands/DeleteChannelBanCommand.js +3 -9
- package/dist-es/commands/DeleteChannelCommand.js +3 -9
- package/dist-es/commands/DeleteChannelFlowCommand.js +3 -9
- package/dist-es/commands/DeleteChannelMembershipCommand.js +3 -9
- package/dist-es/commands/DeleteChannelMessageCommand.js +3 -9
- package/dist-es/commands/DeleteChannelModeratorCommand.js +3 -9
- package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +3 -9
- package/dist-es/commands/DescribeChannelBanCommand.js +3 -10
- package/dist-es/commands/DescribeChannelCommand.js +3 -10
- package/dist-es/commands/DescribeChannelFlowCommand.js +3 -10
- package/dist-es/commands/DescribeChannelMembershipCommand.js +3 -10
- package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +3 -10
- package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +3 -10
- package/dist-es/commands/DescribeChannelModeratorCommand.js +3 -10
- package/dist-es/commands/DisassociateChannelFlowCommand.js +3 -9
- package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +3 -10
- package/dist-es/commands/GetChannelMessageCommand.js +3 -10
- package/dist-es/commands/GetChannelMessageStatusCommand.js +3 -9
- package/dist-es/commands/GetMessagingSessionEndpointCommand.js +3 -9
- package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListChannelBansCommand.js +3 -10
- package/dist-es/commands/ListChannelFlowsCommand.js +3 -10
- package/dist-es/commands/ListChannelMembershipsCommand.js +3 -10
- package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +3 -10
- package/dist-es/commands/ListChannelMessagesCommand.js +3 -10
- package/dist-es/commands/ListChannelModeratorsCommand.js +3 -10
- package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +3 -10
- package/dist-es/commands/ListChannelsCommand.js +3 -10
- package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +3 -10
- package/dist-es/commands/ListSubChannelsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/PutChannelExpirationSettingsCommand.js +3 -9
- package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +3 -10
- package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +3 -9
- package/dist-es/commands/RedactChannelMessageCommand.js +3 -9
- package/dist-es/commands/SearchChannelsCommand.js +3 -10
- package/dist-es/commands/SendChannelMessageCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateChannelCommand.js +3 -10
- package/dist-es/commands/UpdateChannelFlowCommand.js +3 -10
- package/dist-es/commands/UpdateChannelMessageCommand.js +3 -10
- package/dist-es/commands/UpdateChannelReadMarkerCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -367
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2487 -0
- package/dist-types/ChimeSDKMessagingClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -284
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +230 -0
- package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -201
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +237 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -1828
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -461
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -617
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class TagResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ChimeMessagingService", "TagResource", {})
|
|
18
13
|
.n("ChimeSDKMessagingClient", "TagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_TagResourceCommand)
|
|
21
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UntagResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ChimeMessagingService", "UntagResource", {})
|
|
18
13
|
.n("ChimeSDKMessagingClient", "UntagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UntagResourceCommand)
|
|
21
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateChannel } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateChannelCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ChimeMessagingService", "UpdateChannel", {})
|
|
18
13
|
.n("ChimeSDKMessagingClient", "UpdateChannelCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateChannelCommand)
|
|
21
|
-
.de(de_UpdateChannelCommand)
|
|
14
|
+
.sc(UpdateChannel)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateChannelFlowCommand, se_UpdateChannelFlowCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateChannelFlow } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateChannelFlowCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ChimeMessagingService", "UpdateChannelFlow", {})
|
|
18
13
|
.n("ChimeSDKMessagingClient", "UpdateChannelFlowCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateChannelFlowCommand)
|
|
21
|
-
.de(de_UpdateChannelFlowCommand)
|
|
14
|
+
.sc(UpdateChannelFlow)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateChannelMessageCommand, se_UpdateChannelMessageCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateChannelMessage } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateChannelMessageCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ChimeMessagingService", "UpdateChannelMessage", {})
|
|
18
13
|
.n("ChimeSDKMessagingClient", "UpdateChannelMessageCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateChannelMessageCommand)
|
|
21
|
-
.de(de_UpdateChannelMessageCommand)
|
|
14
|
+
.sc(UpdateChannelMessage)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateChannelReadMarker } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateChannelReadMarkerCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ChimeMessagingService", "UpdateChannelReadMarker", {})
|
|
17
13
|
.n("ChimeSDKMessagingClient", "UpdateChannelReadMarkerCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateChannelReadMarkerCommand)
|
|
20
|
-
.de(de_UpdateChannelReadMarkerCommand)
|
|
14
|
+
.sc(UpdateChannelReadMarker)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ChimeSDKMessagingServiceException as __BaseException } from "./ChimeSDKMessagingServiceException";
|
|
3
2
|
export const AllowNotifications = {
|
|
4
3
|
ALL: "ALL",
|
|
@@ -226,369 +225,3 @@ export const SearchFieldOperator = {
|
|
|
226
225
|
EQUALS: "EQUALS",
|
|
227
226
|
INCLUDES: "INCLUDES",
|
|
228
227
|
};
|
|
229
|
-
export const IdentityFilterSensitiveLog = (obj) => ({
|
|
230
|
-
...obj,
|
|
231
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
232
|
-
});
|
|
233
|
-
export const BatchChannelMembershipsFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
...(obj.InvitedBy && { InvitedBy: IdentityFilterSensitiveLog(obj.InvitedBy) }),
|
|
236
|
-
...(obj.Members && { Members: obj.Members.map((item) => IdentityFilterSensitiveLog(item)) }),
|
|
237
|
-
});
|
|
238
|
-
export const BatchCreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
239
|
-
...obj,
|
|
240
|
-
...(obj.BatchChannelMemberships && {
|
|
241
|
-
BatchChannelMemberships: BatchChannelMembershipsFilterSensitiveLog(obj.BatchChannelMemberships),
|
|
242
|
-
}),
|
|
243
|
-
});
|
|
244
|
-
export const ChannelFilterSensitiveLog = (obj) => ({
|
|
245
|
-
...obj,
|
|
246
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
247
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
248
|
-
...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }),
|
|
249
|
-
});
|
|
250
|
-
export const ChannelAssociatedWithFlowSummaryFilterSensitiveLog = (obj) => ({
|
|
251
|
-
...obj,
|
|
252
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
253
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
254
|
-
});
|
|
255
|
-
export const ChannelBanFilterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
258
|
-
...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }),
|
|
259
|
-
});
|
|
260
|
-
export const ChannelBanSummaryFilterSensitiveLog = (obj) => ({
|
|
261
|
-
...obj,
|
|
262
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
263
|
-
});
|
|
264
|
-
export const ProcessorFilterSensitiveLog = (obj) => ({
|
|
265
|
-
...obj,
|
|
266
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
267
|
-
});
|
|
268
|
-
export const ChannelFlowFilterSensitiveLog = (obj) => ({
|
|
269
|
-
...obj,
|
|
270
|
-
...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),
|
|
271
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
272
|
-
});
|
|
273
|
-
export const MessageAttributeValueFilterSensitiveLog = (obj) => ({
|
|
274
|
-
...obj,
|
|
275
|
-
...(obj.StringValues && { StringValues: SENSITIVE_STRING }),
|
|
276
|
-
});
|
|
277
|
-
export const PushNotificationConfigurationFilterSensitiveLog = (obj) => ({
|
|
278
|
-
...obj,
|
|
279
|
-
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
280
|
-
...(obj.Body && { Body: SENSITIVE_STRING }),
|
|
281
|
-
});
|
|
282
|
-
export const ChannelMessageCallbackFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
285
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
286
|
-
...(obj.PushNotification && {
|
|
287
|
-
PushNotification: PushNotificationConfigurationFilterSensitiveLog(obj.PushNotification),
|
|
288
|
-
}),
|
|
289
|
-
...(obj.MessageAttributes && {
|
|
290
|
-
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
291
|
-
}),
|
|
292
|
-
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
293
|
-
});
|
|
294
|
-
export const ChannelFlowCallbackRequestFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
...(obj.ChannelMessage && { ChannelMessage: ChannelMessageCallbackFilterSensitiveLog(obj.ChannelMessage) }),
|
|
297
|
-
});
|
|
298
|
-
export const ChannelFlowSummaryFilterSensitiveLog = (obj) => ({
|
|
299
|
-
...obj,
|
|
300
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
301
|
-
...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),
|
|
302
|
-
});
|
|
303
|
-
export const ChannelMembershipFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
...(obj.InvitedBy && { InvitedBy: IdentityFilterSensitiveLog(obj.InvitedBy) }),
|
|
306
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
307
|
-
});
|
|
308
|
-
export const ChannelSummaryFilterSensitiveLog = (obj) => ({
|
|
309
|
-
...obj,
|
|
310
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
311
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
312
|
-
});
|
|
313
|
-
export const ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog = (obj) => ({
|
|
314
|
-
...obj,
|
|
315
|
-
...(obj.ChannelSummary && { ChannelSummary: ChannelSummaryFilterSensitiveLog(obj.ChannelSummary) }),
|
|
316
|
-
});
|
|
317
|
-
export const PushNotificationPreferencesFilterSensitiveLog = (obj) => ({
|
|
318
|
-
...obj,
|
|
319
|
-
...(obj.FilterRule && { FilterRule: SENSITIVE_STRING }),
|
|
320
|
-
});
|
|
321
|
-
export const ChannelMembershipPreferencesFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
...(obj.PushNotifications && {
|
|
324
|
-
PushNotifications: PushNotificationPreferencesFilterSensitiveLog(obj.PushNotifications),
|
|
325
|
-
}),
|
|
326
|
-
});
|
|
327
|
-
export const ChannelMembershipSummaryFilterSensitiveLog = (obj) => ({
|
|
328
|
-
...obj,
|
|
329
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
330
|
-
});
|
|
331
|
-
export const ChannelMessageFilterSensitiveLog = (obj) => ({
|
|
332
|
-
...obj,
|
|
333
|
-
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
334
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
335
|
-
...(obj.Sender && { Sender: IdentityFilterSensitiveLog(obj.Sender) }),
|
|
336
|
-
...(obj.MessageAttributes && {
|
|
337
|
-
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
338
|
-
}),
|
|
339
|
-
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
340
|
-
});
|
|
341
|
-
export const ChannelMessageSummaryFilterSensitiveLog = (obj) => ({
|
|
342
|
-
...obj,
|
|
343
|
-
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
344
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
345
|
-
...(obj.Sender && { Sender: IdentityFilterSensitiveLog(obj.Sender) }),
|
|
346
|
-
...(obj.MessageAttributes && {
|
|
347
|
-
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
348
|
-
}),
|
|
349
|
-
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
350
|
-
});
|
|
351
|
-
export const ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog = (obj) => ({
|
|
352
|
-
...obj,
|
|
353
|
-
...(obj.ChannelSummary && { ChannelSummary: ChannelSummaryFilterSensitiveLog(obj.ChannelSummary) }),
|
|
354
|
-
});
|
|
355
|
-
export const ChannelModeratorFilterSensitiveLog = (obj) => ({
|
|
356
|
-
...obj,
|
|
357
|
-
...(obj.Moderator && { Moderator: IdentityFilterSensitiveLog(obj.Moderator) }),
|
|
358
|
-
...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }),
|
|
359
|
-
});
|
|
360
|
-
export const ChannelModeratorSummaryFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
...(obj.Moderator && { Moderator: IdentityFilterSensitiveLog(obj.Moderator) }),
|
|
363
|
-
});
|
|
364
|
-
export const TagFilterSensitiveLog = (obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
367
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
368
|
-
});
|
|
369
|
-
export const CreateChannelRequestFilterSensitiveLog = (obj) => ({
|
|
370
|
-
...obj,
|
|
371
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
372
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
373
|
-
...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }),
|
|
374
|
-
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
375
|
-
...(obj.ChannelId && { ChannelId: SENSITIVE_STRING }),
|
|
376
|
-
});
|
|
377
|
-
export const CreateChannelBanResponseFilterSensitiveLog = (obj) => ({
|
|
378
|
-
...obj,
|
|
379
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
380
|
-
});
|
|
381
|
-
export const CreateChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
382
|
-
...obj,
|
|
383
|
-
...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),
|
|
384
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
385
|
-
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
386
|
-
...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }),
|
|
387
|
-
});
|
|
388
|
-
export const CreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
389
|
-
...obj,
|
|
390
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
391
|
-
});
|
|
392
|
-
export const CreateChannelModeratorResponseFilterSensitiveLog = (obj) => ({
|
|
393
|
-
...obj,
|
|
394
|
-
...(obj.ChannelModerator && { ChannelModerator: IdentityFilterSensitiveLog(obj.ChannelModerator) }),
|
|
395
|
-
});
|
|
396
|
-
export const DescribeChannelResponseFilterSensitiveLog = (obj) => ({
|
|
397
|
-
...obj,
|
|
398
|
-
...(obj.Channel && { Channel: ChannelFilterSensitiveLog(obj.Channel) }),
|
|
399
|
-
});
|
|
400
|
-
export const DescribeChannelBanResponseFilterSensitiveLog = (obj) => ({
|
|
401
|
-
...obj,
|
|
402
|
-
...(obj.ChannelBan && { ChannelBan: ChannelBanFilterSensitiveLog(obj.ChannelBan) }),
|
|
403
|
-
});
|
|
404
|
-
export const DescribeChannelFlowResponseFilterSensitiveLog = (obj) => ({
|
|
405
|
-
...obj,
|
|
406
|
-
...(obj.ChannelFlow && { ChannelFlow: ChannelFlowFilterSensitiveLog(obj.ChannelFlow) }),
|
|
407
|
-
});
|
|
408
|
-
export const DescribeChannelMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
409
|
-
...obj,
|
|
410
|
-
...(obj.ChannelMembership && { ChannelMembership: ChannelMembershipFilterSensitiveLog(obj.ChannelMembership) }),
|
|
411
|
-
});
|
|
412
|
-
export const DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = (obj) => ({
|
|
413
|
-
...obj,
|
|
414
|
-
...(obj.ChannelMembership && {
|
|
415
|
-
ChannelMembership: ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(obj.ChannelMembership),
|
|
416
|
-
}),
|
|
417
|
-
});
|
|
418
|
-
export const DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = (obj) => ({
|
|
419
|
-
...obj,
|
|
420
|
-
...(obj.Channel && { Channel: ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(obj.Channel) }),
|
|
421
|
-
});
|
|
422
|
-
export const DescribeChannelModeratorResponseFilterSensitiveLog = (obj) => ({
|
|
423
|
-
...obj,
|
|
424
|
-
...(obj.ChannelModerator && { ChannelModerator: ChannelModeratorFilterSensitiveLog(obj.ChannelModerator) }),
|
|
425
|
-
});
|
|
426
|
-
export const GetChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
429
|
-
...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),
|
|
430
|
-
});
|
|
431
|
-
export const GetChannelMessageResponseFilterSensitiveLog = (obj) => ({
|
|
432
|
-
...obj,
|
|
433
|
-
...(obj.ChannelMessage && { ChannelMessage: ChannelMessageFilterSensitiveLog(obj.ChannelMessage) }),
|
|
434
|
-
});
|
|
435
|
-
export const ListChannelBansRequestFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
438
|
-
});
|
|
439
|
-
export const ListChannelBansResponseFilterSensitiveLog = (obj) => ({
|
|
440
|
-
...obj,
|
|
441
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
442
|
-
...(obj.ChannelBans && { ChannelBans: obj.ChannelBans.map((item) => ChannelBanSummaryFilterSensitiveLog(item)) }),
|
|
443
|
-
});
|
|
444
|
-
export const ListChannelFlowsRequestFilterSensitiveLog = (obj) => ({
|
|
445
|
-
...obj,
|
|
446
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
447
|
-
});
|
|
448
|
-
export const ListChannelFlowsResponseFilterSensitiveLog = (obj) => ({
|
|
449
|
-
...obj,
|
|
450
|
-
...(obj.ChannelFlows && { ChannelFlows: obj.ChannelFlows.map((item) => ChannelFlowSummaryFilterSensitiveLog(item)) }),
|
|
451
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
452
|
-
});
|
|
453
|
-
export const ListChannelMembershipsRequestFilterSensitiveLog = (obj) => ({
|
|
454
|
-
...obj,
|
|
455
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
456
|
-
});
|
|
457
|
-
export const ListChannelMembershipsResponseFilterSensitiveLog = (obj) => ({
|
|
458
|
-
...obj,
|
|
459
|
-
...(obj.ChannelMemberships && {
|
|
460
|
-
ChannelMemberships: obj.ChannelMemberships.map((item) => ChannelMembershipSummaryFilterSensitiveLog(item)),
|
|
461
|
-
}),
|
|
462
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
463
|
-
});
|
|
464
|
-
export const ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog = (obj) => ({
|
|
465
|
-
...obj,
|
|
466
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
467
|
-
});
|
|
468
|
-
export const ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog = (obj) => ({
|
|
469
|
-
...obj,
|
|
470
|
-
...(obj.ChannelMemberships && {
|
|
471
|
-
ChannelMemberships: obj.ChannelMemberships.map((item) => ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(item)),
|
|
472
|
-
}),
|
|
473
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
474
|
-
});
|
|
475
|
-
export const ListChannelMessagesRequestFilterSensitiveLog = (obj) => ({
|
|
476
|
-
...obj,
|
|
477
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
478
|
-
});
|
|
479
|
-
export const ListChannelMessagesResponseFilterSensitiveLog = (obj) => ({
|
|
480
|
-
...obj,
|
|
481
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
482
|
-
...(obj.ChannelMessages && {
|
|
483
|
-
ChannelMessages: obj.ChannelMessages.map((item) => ChannelMessageSummaryFilterSensitiveLog(item)),
|
|
484
|
-
}),
|
|
485
|
-
});
|
|
486
|
-
export const ListChannelModeratorsRequestFilterSensitiveLog = (obj) => ({
|
|
487
|
-
...obj,
|
|
488
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
489
|
-
});
|
|
490
|
-
export const ListChannelModeratorsResponseFilterSensitiveLog = (obj) => ({
|
|
491
|
-
...obj,
|
|
492
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
493
|
-
...(obj.ChannelModerators && {
|
|
494
|
-
ChannelModerators: obj.ChannelModerators.map((item) => ChannelModeratorSummaryFilterSensitiveLog(item)),
|
|
495
|
-
}),
|
|
496
|
-
});
|
|
497
|
-
export const ListChannelsRequestFilterSensitiveLog = (obj) => ({
|
|
498
|
-
...obj,
|
|
499
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
500
|
-
});
|
|
501
|
-
export const ListChannelsResponseFilterSensitiveLog = (obj) => ({
|
|
502
|
-
...obj,
|
|
503
|
-
...(obj.Channels && { Channels: obj.Channels.map((item) => ChannelSummaryFilterSensitiveLog(item)) }),
|
|
504
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
505
|
-
});
|
|
506
|
-
export const ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
507
|
-
...obj,
|
|
508
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
509
|
-
});
|
|
510
|
-
export const ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog = (obj) => ({
|
|
511
|
-
...obj,
|
|
512
|
-
...(obj.Channels && {
|
|
513
|
-
Channels: obj.Channels.map((item) => ChannelAssociatedWithFlowSummaryFilterSensitiveLog(item)),
|
|
514
|
-
}),
|
|
515
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
516
|
-
});
|
|
517
|
-
export const ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog = (obj) => ({
|
|
518
|
-
...obj,
|
|
519
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
520
|
-
});
|
|
521
|
-
export const ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog = (obj) => ({
|
|
522
|
-
...obj,
|
|
523
|
-
...(obj.Channels && {
|
|
524
|
-
Channels: obj.Channels.map((item) => ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(item)),
|
|
525
|
-
}),
|
|
526
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
527
|
-
});
|
|
528
|
-
export const ListSubChannelsRequestFilterSensitiveLog = (obj) => ({
|
|
529
|
-
...obj,
|
|
530
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
531
|
-
});
|
|
532
|
-
export const ListSubChannelsResponseFilterSensitiveLog = (obj) => ({
|
|
533
|
-
...obj,
|
|
534
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
535
|
-
});
|
|
536
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
537
|
-
...obj,
|
|
538
|
-
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
539
|
-
});
|
|
540
|
-
export const PutChannelMembershipPreferencesRequestFilterSensitiveLog = (obj) => ({
|
|
541
|
-
...obj,
|
|
542
|
-
...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),
|
|
543
|
-
});
|
|
544
|
-
export const PutChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({
|
|
545
|
-
...obj,
|
|
546
|
-
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
547
|
-
...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),
|
|
548
|
-
});
|
|
549
|
-
export const SearchChannelsRequestFilterSensitiveLog = (obj) => ({
|
|
550
|
-
...obj,
|
|
551
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
552
|
-
});
|
|
553
|
-
export const SearchChannelsResponseFilterSensitiveLog = (obj) => ({
|
|
554
|
-
...obj,
|
|
555
|
-
...(obj.Channels && { Channels: obj.Channels.map((item) => ChannelSummaryFilterSensitiveLog(item)) }),
|
|
556
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
557
|
-
});
|
|
558
|
-
export const SendChannelMessageRequestFilterSensitiveLog = (obj) => ({
|
|
559
|
-
...obj,
|
|
560
|
-
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
561
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
562
|
-
...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }),
|
|
563
|
-
...(obj.PushNotification && {
|
|
564
|
-
PushNotification: PushNotificationConfigurationFilterSensitiveLog(obj.PushNotification),
|
|
565
|
-
}),
|
|
566
|
-
...(obj.MessageAttributes && {
|
|
567
|
-
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
568
|
-
}),
|
|
569
|
-
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
570
|
-
});
|
|
571
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
572
|
-
...obj,
|
|
573
|
-
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
574
|
-
});
|
|
575
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
576
|
-
...obj,
|
|
577
|
-
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
578
|
-
});
|
|
579
|
-
export const UpdateChannelRequestFilterSensitiveLog = (obj) => ({
|
|
580
|
-
...obj,
|
|
581
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
582
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
583
|
-
});
|
|
584
|
-
export const UpdateChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
585
|
-
...obj,
|
|
586
|
-
...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),
|
|
587
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
588
|
-
});
|
|
589
|
-
export const UpdateChannelMessageRequestFilterSensitiveLog = (obj) => ({
|
|
590
|
-
...obj,
|
|
591
|
-
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
592
|
-
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
593
|
-
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
594
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.chimesdkmessaging" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Chime SDK Messaging",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|