@aws-sdk/client-chime-sdk-messaging 3.296.0 → 3.298.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/ChimeSDKMessaging.js +15 -0
- package/dist-cjs/commands/AssociateChannelFlowCommand.js +2 -3
- package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +1 -1
- package/dist-cjs/commands/ChannelFlowCallbackCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelBanCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelFlowCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelMembershipCommand.js +1 -1
- package/dist-cjs/commands/CreateChannelModeratorCommand.js +1 -1
- package/dist-cjs/commands/DeleteChannelBanCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelFlowCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelMembershipCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelMessageCommand.js +2 -3
- package/dist-cjs/commands/DeleteChannelModeratorCommand.js +2 -3
- package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-cjs/commands/DescribeChannelBanCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelFlowCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelMembershipCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +1 -1
- package/dist-cjs/commands/DescribeChannelModeratorCommand.js +1 -1
- package/dist-cjs/commands/DisassociateChannelFlowCommand.js +2 -3
- package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +1 -1
- package/dist-cjs/commands/GetChannelMessageCommand.js +1 -1
- package/dist-cjs/commands/GetChannelMessageStatusCommand.js +2 -3
- package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +2 -3
- package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -1
- package/dist-cjs/commands/PutChannelExpirationSettingsCommand.js +45 -0
- package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-cjs/commands/RedactChannelMessageCommand.js +2 -3
- package/dist-cjs/commands/SendChannelMessageCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelFlowCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelMessageCommand.js +1 -1
- package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +2 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +12 -211
- package/dist-cjs/protocols/Aws_restJson1.js +107 -2
- package/dist-es/ChimeSDKMessaging.js +15 -0
- package/dist-es/commands/AssociateChannelFlowCommand.js +2 -3
- package/dist-es/commands/BatchCreateChannelMembershipCommand.js +2 -2
- package/dist-es/commands/ChannelFlowCallbackCommand.js +2 -2
- package/dist-es/commands/CreateChannelBanCommand.js +2 -2
- package/dist-es/commands/CreateChannelCommand.js +2 -2
- package/dist-es/commands/CreateChannelFlowCommand.js +2 -2
- package/dist-es/commands/CreateChannelMembershipCommand.js +2 -2
- package/dist-es/commands/CreateChannelModeratorCommand.js +2 -2
- package/dist-es/commands/DeleteChannelBanCommand.js +2 -3
- package/dist-es/commands/DeleteChannelCommand.js +2 -3
- package/dist-es/commands/DeleteChannelFlowCommand.js +2 -3
- package/dist-es/commands/DeleteChannelMembershipCommand.js +2 -3
- package/dist-es/commands/DeleteChannelMessageCommand.js +2 -3
- package/dist-es/commands/DeleteChannelModeratorCommand.js +2 -3
- package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-es/commands/DescribeChannelBanCommand.js +2 -2
- package/dist-es/commands/DescribeChannelCommand.js +2 -2
- package/dist-es/commands/DescribeChannelFlowCommand.js +2 -2
- package/dist-es/commands/DescribeChannelMembershipCommand.js +2 -2
- package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +2 -2
- package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +2 -2
- package/dist-es/commands/DescribeChannelModeratorCommand.js +2 -2
- package/dist-es/commands/DisassociateChannelFlowCommand.js +2 -3
- package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +2 -2
- package/dist-es/commands/GetChannelMessageCommand.js +2 -2
- package/dist-es/commands/GetChannelMessageStatusCommand.js +2 -3
- package/dist-es/commands/GetMessagingSessionEndpointCommand.js +2 -3
- package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutChannelExpirationSettingsCommand.js +41 -0
- package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
- package/dist-es/commands/RedactChannelMessageCommand.js +2 -3
- package/dist-es/commands/SendChannelMessageCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/commands/UpdateChannelCommand.js +2 -2
- package/dist-es/commands/UpdateChannelFlowCommand.js +2 -2
- package/dist-es/commands/UpdateChannelMessageCommand.js +2 -2
- package/dist-es/commands/UpdateChannelReadMarkerCommand.js +2 -3
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +10 -156
- package/dist-es/protocols/Aws_restJson1.js +102 -0
- package/dist-types/ChimeSDKMessaging.d.ts +151 -50
- package/dist-types/ChimeSDKMessagingClient.d.ts +27 -6
- package/dist-types/commands/AssociateChannelFlowCommand.d.ts +20 -2
- package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +17 -1
- package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +16 -0
- package/dist-types/commands/CreateChannelBanCommand.d.ts +17 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +17 -1
- package/dist-types/commands/CreateChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/CreateChannelMembershipCommand.d.ts +20 -4
- package/dist-types/commands/CreateChannelModeratorCommand.d.ts +17 -1
- package/dist-types/commands/DeleteChannelBanCommand.d.ts +18 -2
- package/dist-types/commands/DeleteChannelCommand.d.ts +17 -1
- package/dist-types/commands/DeleteChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +16 -0
- package/dist-types/commands/DeleteChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +17 -1
- package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeChannelBanCommand.d.ts +17 -1
- package/dist-types/commands/DescribeChannelCommand.d.ts +17 -1
- package/dist-types/commands/DescribeChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +17 -1
- package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +18 -2
- package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +18 -2
- package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +20 -2
- package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +26 -3
- package/dist-types/commands/GetChannelMessageCommand.d.ts +18 -2
- package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +19 -1
- package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +16 -0
- package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/ListChannelBansCommand.d.ts +18 -2
- package/dist-types/commands/ListChannelFlowsCommand.d.ts +16 -0
- package/dist-types/commands/ListChannelMembershipsCommand.d.ts +17 -1
- package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +19 -3
- package/dist-types/commands/ListChannelMessagesCommand.d.ts +18 -2
- package/dist-types/commands/ListChannelModeratorsCommand.d.ts +17 -1
- package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +17 -1
- package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +17 -1
- package/dist-types/commands/ListSubChannelsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +99 -0
- package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +26 -3
- package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/RedactChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/SearchChannelsCommand.d.ts +22 -1
- package/dist-types/commands/SendChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +17 -1
- package/dist-types/commands/UpdateChannelFlowCommand.d.ts +16 -0
- package/dist-types/commands/UpdateChannelMessageCommand.d.ts +17 -1
- package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +17 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/ChimeSDKMessagingServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +504 -250
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListChannelBansPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelFlowsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelMembershipsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelMessagesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelModeratorsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +3 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSubChannelsPaginator.d.ts +3 -0
- package/dist-types/pagination/SearchChannelsPaginator.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +17 -0
- package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -155
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -3
|
@@ -155,6 +155,11 @@ export class ResourceLimitExceededException extends __BaseException {
|
|
|
155
155
|
this.Message = opts.Message;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
+
export var ExpirationCriterion;
|
|
159
|
+
(function (ExpirationCriterion) {
|
|
160
|
+
ExpirationCriterion["CREATED_TIMESTAMP"] = "CREATED_TIMESTAMP";
|
|
161
|
+
ExpirationCriterion["LAST_MESSAGE_TIMESTAMP"] = "LAST_MESSAGE_TIMESTAMP";
|
|
162
|
+
})(ExpirationCriterion || (ExpirationCriterion = {}));
|
|
158
163
|
export var ChannelMode;
|
|
159
164
|
(function (ChannelMode) {
|
|
160
165
|
ChannelMode["RESTRICTED"] = "RESTRICTED";
|
|
@@ -215,12 +220,6 @@ export var SearchFieldOperator;
|
|
|
215
220
|
SearchFieldOperator["EQUALS"] = "EQUALS";
|
|
216
221
|
SearchFieldOperator["INCLUDES"] = "INCLUDES";
|
|
217
222
|
})(SearchFieldOperator || (SearchFieldOperator = {}));
|
|
218
|
-
export const AppInstanceUserMembershipSummaryFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
});
|
|
221
|
-
export const AssociateChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
223
|
export const IdentityFilterSensitiveLog = (obj) => ({
|
|
225
224
|
...obj,
|
|
226
225
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
@@ -230,21 +229,12 @@ export const BatchChannelMembershipsFilterSensitiveLog = (obj) => ({
|
|
|
230
229
|
...(obj.InvitedBy && { InvitedBy: IdentityFilterSensitiveLog(obj.InvitedBy) }),
|
|
231
230
|
...(obj.Members && { Members: obj.Members.map((item) => IdentityFilterSensitiveLog(item)) }),
|
|
232
231
|
});
|
|
233
|
-
export const BatchCreateChannelMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
export const BatchCreateChannelMembershipErrorFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
});
|
|
239
232
|
export const BatchCreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
240
233
|
...obj,
|
|
241
234
|
...(obj.BatchChannelMemberships && {
|
|
242
235
|
BatchChannelMemberships: BatchChannelMembershipsFilterSensitiveLog(obj.BatchChannelMemberships),
|
|
243
236
|
}),
|
|
244
237
|
});
|
|
245
|
-
export const ElasticChannelConfigurationFilterSensitiveLog = (obj) => ({
|
|
246
|
-
...obj,
|
|
247
|
-
});
|
|
248
238
|
export const ChannelFilterSensitiveLog = (obj) => ({
|
|
249
239
|
...obj,
|
|
250
240
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
@@ -265,12 +255,6 @@ export const ChannelBanSummaryFilterSensitiveLog = (obj) => ({
|
|
|
265
255
|
...obj,
|
|
266
256
|
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
267
257
|
});
|
|
268
|
-
export const LambdaConfigurationFilterSensitiveLog = (obj) => ({
|
|
269
|
-
...obj,
|
|
270
|
-
});
|
|
271
|
-
export const ProcessorConfigurationFilterSensitiveLog = (obj) => ({
|
|
272
|
-
...obj,
|
|
273
|
-
});
|
|
274
258
|
export const ProcessorFilterSensitiveLog = (obj) => ({
|
|
275
259
|
...obj,
|
|
276
260
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
@@ -299,14 +283,12 @@ export const ChannelMessageCallbackFilterSensitiveLog = (obj) => ({
|
|
|
299
283
|
...(obj.MessageAttributes && {
|
|
300
284
|
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
301
285
|
}),
|
|
286
|
+
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
302
287
|
});
|
|
303
288
|
export const ChannelFlowCallbackRequestFilterSensitiveLog = (obj) => ({
|
|
304
289
|
...obj,
|
|
305
290
|
...(obj.ChannelMessage && { ChannelMessage: ChannelMessageCallbackFilterSensitiveLog(obj.ChannelMessage) }),
|
|
306
291
|
});
|
|
307
|
-
export const ChannelFlowCallbackResponseFilterSensitiveLog = (obj) => ({
|
|
308
|
-
...obj,
|
|
309
|
-
});
|
|
310
292
|
export const ChannelFlowSummaryFilterSensitiveLog = (obj) => ({
|
|
311
293
|
...obj,
|
|
312
294
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
@@ -340,9 +322,6 @@ export const ChannelMembershipSummaryFilterSensitiveLog = (obj) => ({
|
|
|
340
322
|
...obj,
|
|
341
323
|
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
342
324
|
});
|
|
343
|
-
export const ChannelMessageStatusStructureFilterSensitiveLog = (obj) => ({
|
|
344
|
-
...obj,
|
|
345
|
-
});
|
|
346
325
|
export const ChannelMessageFilterSensitiveLog = (obj) => ({
|
|
347
326
|
...obj,
|
|
348
327
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -351,6 +330,7 @@ export const ChannelMessageFilterSensitiveLog = (obj) => ({
|
|
|
351
330
|
...(obj.MessageAttributes && {
|
|
352
331
|
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
353
332
|
}),
|
|
333
|
+
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
354
334
|
});
|
|
355
335
|
export const ChannelMessageSummaryFilterSensitiveLog = (obj) => ({
|
|
356
336
|
...obj,
|
|
@@ -360,6 +340,7 @@ export const ChannelMessageSummaryFilterSensitiveLog = (obj) => ({
|
|
|
360
340
|
...(obj.MessageAttributes && {
|
|
361
341
|
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
362
342
|
}),
|
|
343
|
+
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
363
344
|
});
|
|
364
345
|
export const ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog = (obj) => ({
|
|
365
346
|
...obj,
|
|
@@ -387,12 +368,6 @@ export const CreateChannelRequestFilterSensitiveLog = (obj) => ({
|
|
|
387
368
|
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
388
369
|
...(obj.ChannelId && { ChannelId: SENSITIVE_STRING }),
|
|
389
370
|
});
|
|
390
|
-
export const CreateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
391
|
-
...obj,
|
|
392
|
-
});
|
|
393
|
-
export const CreateChannelBanRequestFilterSensitiveLog = (obj) => ({
|
|
394
|
-
...obj,
|
|
395
|
-
});
|
|
396
371
|
export const CreateChannelBanResponseFilterSensitiveLog = (obj) => ({
|
|
397
372
|
...obj,
|
|
398
373
|
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
@@ -404,137 +379,53 @@ export const CreateChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
|
404
379
|
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
405
380
|
...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }),
|
|
406
381
|
});
|
|
407
|
-
export const CreateChannelFlowResponseFilterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
});
|
|
410
|
-
export const CreateChannelMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
});
|
|
413
382
|
export const CreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
414
383
|
...obj,
|
|
415
384
|
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
416
385
|
});
|
|
417
|
-
export const CreateChannelModeratorRequestFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
});
|
|
420
386
|
export const CreateChannelModeratorResponseFilterSensitiveLog = (obj) => ({
|
|
421
387
|
...obj,
|
|
422
388
|
...(obj.ChannelModerator && { ChannelModerator: IdentityFilterSensitiveLog(obj.ChannelModerator) }),
|
|
423
389
|
});
|
|
424
|
-
export const DeleteChannelRequestFilterSensitiveLog = (obj) => ({
|
|
425
|
-
...obj,
|
|
426
|
-
});
|
|
427
|
-
export const DeleteChannelBanRequestFilterSensitiveLog = (obj) => ({
|
|
428
|
-
...obj,
|
|
429
|
-
});
|
|
430
|
-
export const DeleteChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
});
|
|
433
|
-
export const DeleteChannelMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
434
|
-
...obj,
|
|
435
|
-
});
|
|
436
|
-
export const DeleteChannelMessageRequestFilterSensitiveLog = (obj) => ({
|
|
437
|
-
...obj,
|
|
438
|
-
});
|
|
439
|
-
export const DeleteChannelModeratorRequestFilterSensitiveLog = (obj) => ({
|
|
440
|
-
...obj,
|
|
441
|
-
});
|
|
442
|
-
export const DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
443
|
-
...obj,
|
|
444
|
-
});
|
|
445
|
-
export const DescribeChannelRequestFilterSensitiveLog = (obj) => ({
|
|
446
|
-
...obj,
|
|
447
|
-
});
|
|
448
390
|
export const DescribeChannelResponseFilterSensitiveLog = (obj) => ({
|
|
449
391
|
...obj,
|
|
450
392
|
...(obj.Channel && { Channel: ChannelFilterSensitiveLog(obj.Channel) }),
|
|
451
393
|
});
|
|
452
|
-
export const DescribeChannelBanRequestFilterSensitiveLog = (obj) => ({
|
|
453
|
-
...obj,
|
|
454
|
-
});
|
|
455
394
|
export const DescribeChannelBanResponseFilterSensitiveLog = (obj) => ({
|
|
456
395
|
...obj,
|
|
457
396
|
...(obj.ChannelBan && { ChannelBan: ChannelBanFilterSensitiveLog(obj.ChannelBan) }),
|
|
458
397
|
});
|
|
459
|
-
export const DescribeChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
460
|
-
...obj,
|
|
461
|
-
});
|
|
462
398
|
export const DescribeChannelFlowResponseFilterSensitiveLog = (obj) => ({
|
|
463
399
|
...obj,
|
|
464
400
|
...(obj.ChannelFlow && { ChannelFlow: ChannelFlowFilterSensitiveLog(obj.ChannelFlow) }),
|
|
465
401
|
});
|
|
466
|
-
export const DescribeChannelMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
});
|
|
469
402
|
export const DescribeChannelMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
470
403
|
...obj,
|
|
471
404
|
...(obj.ChannelMembership && { ChannelMembership: ChannelMembershipFilterSensitiveLog(obj.ChannelMembership) }),
|
|
472
405
|
});
|
|
473
|
-
export const DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog = (obj) => ({
|
|
474
|
-
...obj,
|
|
475
|
-
});
|
|
476
406
|
export const DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = (obj) => ({
|
|
477
407
|
...obj,
|
|
478
408
|
...(obj.ChannelMembership && {
|
|
479
409
|
ChannelMembership: ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(obj.ChannelMembership),
|
|
480
410
|
}),
|
|
481
411
|
});
|
|
482
|
-
export const DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog = (obj) => ({
|
|
483
|
-
...obj,
|
|
484
|
-
});
|
|
485
412
|
export const DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = (obj) => ({
|
|
486
413
|
...obj,
|
|
487
414
|
...(obj.Channel && { Channel: ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(obj.Channel) }),
|
|
488
415
|
});
|
|
489
|
-
export const DescribeChannelModeratorRequestFilterSensitiveLog = (obj) => ({
|
|
490
|
-
...obj,
|
|
491
|
-
});
|
|
492
416
|
export const DescribeChannelModeratorResponseFilterSensitiveLog = (obj) => ({
|
|
493
417
|
...obj,
|
|
494
418
|
...(obj.ChannelModerator && { ChannelModerator: ChannelModeratorFilterSensitiveLog(obj.ChannelModerator) }),
|
|
495
419
|
});
|
|
496
|
-
export const DisassociateChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
497
|
-
...obj,
|
|
498
|
-
});
|
|
499
|
-
export const GetChannelMembershipPreferencesRequestFilterSensitiveLog = (obj) => ({
|
|
500
|
-
...obj,
|
|
501
|
-
});
|
|
502
420
|
export const GetChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({
|
|
503
421
|
...obj,
|
|
504
422
|
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
505
423
|
...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),
|
|
506
424
|
});
|
|
507
|
-
export const GetChannelMessageRequestFilterSensitiveLog = (obj) => ({
|
|
508
|
-
...obj,
|
|
509
|
-
});
|
|
510
425
|
export const GetChannelMessageResponseFilterSensitiveLog = (obj) => ({
|
|
511
426
|
...obj,
|
|
512
427
|
...(obj.ChannelMessage && { ChannelMessage: ChannelMessageFilterSensitiveLog(obj.ChannelMessage) }),
|
|
513
428
|
});
|
|
514
|
-
export const GetChannelMessageStatusRequestFilterSensitiveLog = (obj) => ({
|
|
515
|
-
...obj,
|
|
516
|
-
});
|
|
517
|
-
export const GetChannelMessageStatusResponseFilterSensitiveLog = (obj) => ({
|
|
518
|
-
...obj,
|
|
519
|
-
});
|
|
520
|
-
export const GetMessagingSessionEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
521
|
-
...obj,
|
|
522
|
-
});
|
|
523
|
-
export const MessagingSessionEndpointFilterSensitiveLog = (obj) => ({
|
|
524
|
-
...obj,
|
|
525
|
-
});
|
|
526
|
-
export const GetMessagingSessionEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
527
|
-
...obj,
|
|
528
|
-
});
|
|
529
|
-
export const GetMessagingStreamingConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
530
|
-
...obj,
|
|
531
|
-
});
|
|
532
|
-
export const StreamingConfigurationFilterSensitiveLog = (obj) => ({
|
|
533
|
-
...obj,
|
|
534
|
-
});
|
|
535
|
-
export const GetMessagingStreamingConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
536
|
-
...obj,
|
|
537
|
-
});
|
|
538
429
|
export const ListChannelBansRequestFilterSensitiveLog = (obj) => ({
|
|
539
430
|
...obj,
|
|
540
431
|
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
@@ -632,16 +523,10 @@ export const ListSubChannelsRequestFilterSensitiveLog = (obj) => ({
|
|
|
632
523
|
...obj,
|
|
633
524
|
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
634
525
|
});
|
|
635
|
-
export const SubChannelSummaryFilterSensitiveLog = (obj) => ({
|
|
636
|
-
...obj,
|
|
637
|
-
});
|
|
638
526
|
export const ListSubChannelsResponseFilterSensitiveLog = (obj) => ({
|
|
639
527
|
...obj,
|
|
640
528
|
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
641
529
|
});
|
|
642
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
643
|
-
...obj,
|
|
644
|
-
});
|
|
645
530
|
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
646
531
|
...obj,
|
|
647
532
|
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
@@ -655,21 +540,6 @@ export const PutChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) =
|
|
|
655
540
|
...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),
|
|
656
541
|
...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),
|
|
657
542
|
});
|
|
658
|
-
export const PutMessagingStreamingConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
659
|
-
...obj,
|
|
660
|
-
});
|
|
661
|
-
export const PutMessagingStreamingConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
662
|
-
...obj,
|
|
663
|
-
});
|
|
664
|
-
export const RedactChannelMessageRequestFilterSensitiveLog = (obj) => ({
|
|
665
|
-
...obj,
|
|
666
|
-
});
|
|
667
|
-
export const RedactChannelMessageResponseFilterSensitiveLog = (obj) => ({
|
|
668
|
-
...obj,
|
|
669
|
-
});
|
|
670
|
-
export const SearchFieldFilterSensitiveLog = (obj) => ({
|
|
671
|
-
...obj,
|
|
672
|
-
});
|
|
673
543
|
export const SearchChannelsRequestFilterSensitiveLog = (obj) => ({
|
|
674
544
|
...obj,
|
|
675
545
|
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
@@ -690,9 +560,7 @@ export const SendChannelMessageRequestFilterSensitiveLog = (obj) => ({
|
|
|
690
560
|
...(obj.MessageAttributes && {
|
|
691
561
|
MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
692
562
|
}),
|
|
693
|
-
})
|
|
694
|
-
export const SendChannelMessageResponseFilterSensitiveLog = (obj) => ({
|
|
695
|
-
...obj,
|
|
563
|
+
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
696
564
|
});
|
|
697
565
|
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
698
566
|
...obj,
|
|
@@ -707,28 +575,14 @@ export const UpdateChannelRequestFilterSensitiveLog = (obj) => ({
|
|
|
707
575
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
708
576
|
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
709
577
|
});
|
|
710
|
-
export const UpdateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
711
|
-
...obj,
|
|
712
|
-
});
|
|
713
578
|
export const UpdateChannelFlowRequestFilterSensitiveLog = (obj) => ({
|
|
714
579
|
...obj,
|
|
715
580
|
...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),
|
|
716
581
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
717
582
|
});
|
|
718
|
-
export const UpdateChannelFlowResponseFilterSensitiveLog = (obj) => ({
|
|
719
|
-
...obj,
|
|
720
|
-
});
|
|
721
583
|
export const UpdateChannelMessageRequestFilterSensitiveLog = (obj) => ({
|
|
722
584
|
...obj,
|
|
723
585
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
724
586
|
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
725
|
-
})
|
|
726
|
-
export const UpdateChannelMessageResponseFilterSensitiveLog = (obj) => ({
|
|
727
|
-
...obj,
|
|
728
|
-
});
|
|
729
|
-
export const UpdateChannelReadMarkerRequestFilterSensitiveLog = (obj) => ({
|
|
730
|
-
...obj,
|
|
731
|
-
});
|
|
732
|
-
export const UpdateChannelReadMarkerResponseFilterSensitiveLog = (obj) => ({
|
|
733
|
-
...obj,
|
|
587
|
+
...(obj.ContentType && { ContentType: SENSITIVE_STRING }),
|
|
734
588
|
});
|
|
@@ -97,6 +97,9 @@ export const serializeAws_restJson1CreateChannelCommand = async (input, context)
|
|
|
97
97
|
...(input.ElasticChannelConfiguration != null && {
|
|
98
98
|
ElasticChannelConfiguration: serializeAws_restJson1ElasticChannelConfiguration(input.ElasticChannelConfiguration, context),
|
|
99
99
|
}),
|
|
100
|
+
...(input.ExpirationSettings != null && {
|
|
101
|
+
ExpirationSettings: serializeAws_restJson1ExpirationSettings(input.ExpirationSettings, context),
|
|
102
|
+
}),
|
|
100
103
|
...(input.MemberArns != null && { MemberArns: serializeAws_restJson1ChannelMemberArns(input.MemberArns, context) }),
|
|
101
104
|
...(input.Metadata != null && { Metadata: input.Metadata }),
|
|
102
105
|
...(input.Mode != null && { Mode: input.Mode }),
|
|
@@ -879,6 +882,31 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
879
882
|
body,
|
|
880
883
|
});
|
|
881
884
|
};
|
|
885
|
+
export const serializeAws_restJson1PutChannelExpirationSettingsCommand = async (input, context) => {
|
|
886
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
887
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
888
|
+
"content-type": "application/json",
|
|
889
|
+
"x-amz-chime-bearer": input.ChimeBearer,
|
|
890
|
+
});
|
|
891
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
892
|
+
"/channels/{ChannelArn}/expiration-settings";
|
|
893
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
894
|
+
let body;
|
|
895
|
+
body = JSON.stringify({
|
|
896
|
+
...(input.ExpirationSettings != null && {
|
|
897
|
+
ExpirationSettings: serializeAws_restJson1ExpirationSettings(input.ExpirationSettings, context),
|
|
898
|
+
}),
|
|
899
|
+
});
|
|
900
|
+
return new __HttpRequest({
|
|
901
|
+
protocol,
|
|
902
|
+
hostname,
|
|
903
|
+
port,
|
|
904
|
+
method: "PUT",
|
|
905
|
+
headers,
|
|
906
|
+
path: resolvedPath,
|
|
907
|
+
body,
|
|
908
|
+
});
|
|
909
|
+
};
|
|
882
910
|
export const serializeAws_restJson1PutChannelMembershipPreferencesCommand = async (input, context) => {
|
|
883
911
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
884
912
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -996,6 +1024,7 @@ export const serializeAws_restJson1SendChannelMessageCommand = async (input, con
|
|
|
996
1024
|
body = JSON.stringify({
|
|
997
1025
|
ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
|
|
998
1026
|
...(input.Content != null && { Content: input.Content }),
|
|
1027
|
+
...(input.ContentType != null && { ContentType: input.ContentType }),
|
|
999
1028
|
...(input.MessageAttributes != null && {
|
|
1000
1029
|
MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),
|
|
1001
1030
|
}),
|
|
@@ -1126,6 +1155,7 @@ export const serializeAws_restJson1UpdateChannelMessageCommand = async (input, c
|
|
|
1126
1155
|
let body;
|
|
1127
1156
|
body = JSON.stringify({
|
|
1128
1157
|
...(input.Content != null && { Content: input.Content }),
|
|
1158
|
+
...(input.ContentType != null && { ContentType: input.ContentType }),
|
|
1129
1159
|
...(input.Metadata != null && { Metadata: input.Metadata }),
|
|
1130
1160
|
...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),
|
|
1131
1161
|
});
|
|
@@ -3147,6 +3177,60 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
3147
3177
|
});
|
|
3148
3178
|
}
|
|
3149
3179
|
};
|
|
3180
|
+
export const deserializeAws_restJson1PutChannelExpirationSettingsCommand = async (output, context) => {
|
|
3181
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3182
|
+
return deserializeAws_restJson1PutChannelExpirationSettingsCommandError(output, context);
|
|
3183
|
+
}
|
|
3184
|
+
const contents = map({
|
|
3185
|
+
$metadata: deserializeMetadata(output),
|
|
3186
|
+
});
|
|
3187
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3188
|
+
if (data.ChannelArn != null) {
|
|
3189
|
+
contents.ChannelArn = __expectString(data.ChannelArn);
|
|
3190
|
+
}
|
|
3191
|
+
if (data.ExpirationSettings != null) {
|
|
3192
|
+
contents.ExpirationSettings = deserializeAws_restJson1ExpirationSettings(data.ExpirationSettings, context);
|
|
3193
|
+
}
|
|
3194
|
+
return contents;
|
|
3195
|
+
};
|
|
3196
|
+
const deserializeAws_restJson1PutChannelExpirationSettingsCommandError = async (output, context) => {
|
|
3197
|
+
const parsedOutput = {
|
|
3198
|
+
...output,
|
|
3199
|
+
body: await parseErrorBody(output.body, context),
|
|
3200
|
+
};
|
|
3201
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3202
|
+
switch (errorCode) {
|
|
3203
|
+
case "BadRequestException":
|
|
3204
|
+
case "com.amazonaws.chimesdkmessaging#BadRequestException":
|
|
3205
|
+
throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
|
|
3206
|
+
case "ConflictException":
|
|
3207
|
+
case "com.amazonaws.chimesdkmessaging#ConflictException":
|
|
3208
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
3209
|
+
case "ForbiddenException":
|
|
3210
|
+
case "com.amazonaws.chimesdkmessaging#ForbiddenException":
|
|
3211
|
+
throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
|
|
3212
|
+
case "ServiceFailureException":
|
|
3213
|
+
case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
|
|
3214
|
+
throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
|
|
3215
|
+
case "ServiceUnavailableException":
|
|
3216
|
+
case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
|
|
3217
|
+
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
3218
|
+
case "ThrottledClientException":
|
|
3219
|
+
case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
|
|
3220
|
+
throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
|
|
3221
|
+
case "UnauthorizedClientException":
|
|
3222
|
+
case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
|
|
3223
|
+
throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
|
|
3224
|
+
default:
|
|
3225
|
+
const parsedBody = parsedOutput.body;
|
|
3226
|
+
throwDefaultError({
|
|
3227
|
+
output,
|
|
3228
|
+
parsedBody,
|
|
3229
|
+
exceptionCtor: __BaseException,
|
|
3230
|
+
errorCode,
|
|
3231
|
+
});
|
|
3232
|
+
}
|
|
3233
|
+
};
|
|
3150
3234
|
export const deserializeAws_restJson1PutChannelMembershipPreferencesCommand = async (output, context) => {
|
|
3151
3235
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3152
3236
|
return deserializeAws_restJson1PutChannelMembershipPreferencesCommandError(output, context);
|
|
@@ -3888,6 +3972,7 @@ const serializeAws_restJson1ChannelMembershipPreferences = (input, context) => {
|
|
|
3888
3972
|
const serializeAws_restJson1ChannelMessageCallback = (input, context) => {
|
|
3889
3973
|
return {
|
|
3890
3974
|
...(input.Content != null && { Content: input.Content }),
|
|
3975
|
+
...(input.ContentType != null && { ContentType: input.ContentType }),
|
|
3891
3976
|
...(input.MessageAttributes != null && {
|
|
3892
3977
|
MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),
|
|
3893
3978
|
}),
|
|
@@ -3917,6 +4002,12 @@ const serializeAws_restJson1ElasticChannelConfiguration = (input, context) => {
|
|
|
3917
4002
|
}),
|
|
3918
4003
|
};
|
|
3919
4004
|
};
|
|
4005
|
+
const serializeAws_restJson1ExpirationSettings = (input, context) => {
|
|
4006
|
+
return {
|
|
4007
|
+
...(input.ExpirationCriterion != null && { ExpirationCriterion: input.ExpirationCriterion }),
|
|
4008
|
+
...(input.ExpirationDays != null && { ExpirationDays: input.ExpirationDays }),
|
|
4009
|
+
};
|
|
4010
|
+
};
|
|
3920
4011
|
const serializeAws_restJson1LambdaConfiguration = (input, context) => {
|
|
3921
4012
|
return {
|
|
3922
4013
|
...(input.InvocationType != null && { InvocationType: input.InvocationType }),
|
|
@@ -4089,6 +4180,9 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
4089
4180
|
ElasticChannelConfiguration: output.ElasticChannelConfiguration != null
|
|
4090
4181
|
? deserializeAws_restJson1ElasticChannelConfiguration(output.ElasticChannelConfiguration, context)
|
|
4091
4182
|
: undefined,
|
|
4183
|
+
ExpirationSettings: output.ExpirationSettings != null
|
|
4184
|
+
? deserializeAws_restJson1ExpirationSettings(output.ExpirationSettings, context)
|
|
4185
|
+
: undefined,
|
|
4092
4186
|
LastMessageTimestamp: output.LastMessageTimestamp != null
|
|
4093
4187
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastMessageTimestamp)))
|
|
4094
4188
|
: undefined,
|
|
@@ -4241,6 +4335,7 @@ const deserializeAws_restJson1ChannelMessage = (output, context) => {
|
|
|
4241
4335
|
return {
|
|
4242
4336
|
ChannelArn: __expectString(output.ChannelArn),
|
|
4243
4337
|
Content: __expectString(output.Content),
|
|
4338
|
+
ContentType: __expectString(output.ContentType),
|
|
4244
4339
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
4245
4340
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
4246
4341
|
: undefined,
|
|
@@ -4272,6 +4367,7 @@ const deserializeAws_restJson1ChannelMessageStatusStructure = (output, context)
|
|
|
4272
4367
|
const deserializeAws_restJson1ChannelMessageSummary = (output, context) => {
|
|
4273
4368
|
return {
|
|
4274
4369
|
Content: __expectString(output.Content),
|
|
4370
|
+
ContentType: __expectString(output.ContentType),
|
|
4275
4371
|
CreatedTimestamp: output.CreatedTimestamp != null
|
|
4276
4372
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
4277
4373
|
: undefined,
|
|
@@ -4377,6 +4473,12 @@ const deserializeAws_restJson1ElasticChannelConfiguration = (output, context) =>
|
|
|
4377
4473
|
TargetMembershipsPerSubChannel: __expectInt32(output.TargetMembershipsPerSubChannel),
|
|
4378
4474
|
};
|
|
4379
4475
|
};
|
|
4476
|
+
const deserializeAws_restJson1ExpirationSettings = (output, context) => {
|
|
4477
|
+
return {
|
|
4478
|
+
ExpirationCriterion: __expectString(output.ExpirationCriterion),
|
|
4479
|
+
ExpirationDays: __expectInt32(output.ExpirationDays),
|
|
4480
|
+
};
|
|
4481
|
+
};
|
|
4380
4482
|
const deserializeAws_restJson1Identity = (output, context) => {
|
|
4381
4483
|
return {
|
|
4382
4484
|
Arn: __expectString(output.Arn),
|