@aws-sdk/client-chime-sdk-messaging 3.297.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.
Files changed (133) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/ChimeSDKMessaging.js +15 -0
  3. package/dist-cjs/commands/AssociateChannelFlowCommand.js +2 -3
  4. package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +1 -1
  5. package/dist-cjs/commands/ChannelFlowCallbackCommand.js +1 -1
  6. package/dist-cjs/commands/CreateChannelBanCommand.js +1 -1
  7. package/dist-cjs/commands/CreateChannelCommand.js +1 -1
  8. package/dist-cjs/commands/CreateChannelFlowCommand.js +1 -1
  9. package/dist-cjs/commands/CreateChannelMembershipCommand.js +1 -1
  10. package/dist-cjs/commands/CreateChannelModeratorCommand.js +1 -1
  11. package/dist-cjs/commands/DeleteChannelBanCommand.js +2 -3
  12. package/dist-cjs/commands/DeleteChannelCommand.js +2 -3
  13. package/dist-cjs/commands/DeleteChannelFlowCommand.js +2 -3
  14. package/dist-cjs/commands/DeleteChannelMembershipCommand.js +2 -3
  15. package/dist-cjs/commands/DeleteChannelMessageCommand.js +2 -3
  16. package/dist-cjs/commands/DeleteChannelModeratorCommand.js +2 -3
  17. package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
  18. package/dist-cjs/commands/DescribeChannelBanCommand.js +1 -1
  19. package/dist-cjs/commands/DescribeChannelCommand.js +1 -1
  20. package/dist-cjs/commands/DescribeChannelFlowCommand.js +1 -1
  21. package/dist-cjs/commands/DescribeChannelMembershipCommand.js +1 -1
  22. package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +1 -1
  23. package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +1 -1
  24. package/dist-cjs/commands/DescribeChannelModeratorCommand.js +1 -1
  25. package/dist-cjs/commands/DisassociateChannelFlowCommand.js +2 -3
  26. package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +1 -1
  27. package/dist-cjs/commands/GetChannelMessageCommand.js +1 -1
  28. package/dist-cjs/commands/GetChannelMessageStatusCommand.js +2 -3
  29. package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +2 -3
  30. package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -1
  32. package/dist-cjs/commands/PutChannelExpirationSettingsCommand.js +45 -0
  33. package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
  34. package/dist-cjs/commands/RedactChannelMessageCommand.js +2 -3
  35. package/dist-cjs/commands/SendChannelMessageCommand.js +1 -1
  36. package/dist-cjs/commands/TagResourceCommand.js +1 -1
  37. package/dist-cjs/commands/UntagResourceCommand.js +1 -1
  38. package/dist-cjs/commands/UpdateChannelCommand.js +1 -1
  39. package/dist-cjs/commands/UpdateChannelFlowCommand.js +1 -1
  40. package/dist-cjs/commands/UpdateChannelMessageCommand.js +1 -1
  41. package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +2 -3
  42. package/dist-cjs/commands/index.js +1 -0
  43. package/dist-cjs/models/models_0.js +12 -211
  44. package/dist-cjs/protocols/Aws_restJson1.js +107 -2
  45. package/dist-es/ChimeSDKMessaging.js +15 -0
  46. package/dist-es/commands/AssociateChannelFlowCommand.js +2 -3
  47. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +2 -2
  48. package/dist-es/commands/ChannelFlowCallbackCommand.js +2 -2
  49. package/dist-es/commands/CreateChannelBanCommand.js +2 -2
  50. package/dist-es/commands/CreateChannelCommand.js +2 -2
  51. package/dist-es/commands/CreateChannelFlowCommand.js +2 -2
  52. package/dist-es/commands/CreateChannelMembershipCommand.js +2 -2
  53. package/dist-es/commands/CreateChannelModeratorCommand.js +2 -2
  54. package/dist-es/commands/DeleteChannelBanCommand.js +2 -3
  55. package/dist-es/commands/DeleteChannelCommand.js +2 -3
  56. package/dist-es/commands/DeleteChannelFlowCommand.js +2 -3
  57. package/dist-es/commands/DeleteChannelMembershipCommand.js +2 -3
  58. package/dist-es/commands/DeleteChannelMessageCommand.js +2 -3
  59. package/dist-es/commands/DeleteChannelModeratorCommand.js +2 -3
  60. package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -3
  61. package/dist-es/commands/DescribeChannelBanCommand.js +2 -2
  62. package/dist-es/commands/DescribeChannelCommand.js +2 -2
  63. package/dist-es/commands/DescribeChannelFlowCommand.js +2 -2
  64. package/dist-es/commands/DescribeChannelMembershipCommand.js +2 -2
  65. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +2 -2
  66. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +2 -2
  67. package/dist-es/commands/DescribeChannelModeratorCommand.js +2 -2
  68. package/dist-es/commands/DisassociateChannelFlowCommand.js +2 -3
  69. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +2 -2
  70. package/dist-es/commands/GetChannelMessageCommand.js +2 -2
  71. package/dist-es/commands/GetChannelMessageStatusCommand.js +2 -3
  72. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +2 -3
  73. package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +2 -3
  74. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  75. package/dist-es/commands/PutChannelExpirationSettingsCommand.js +41 -0
  76. package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +2 -3
  77. package/dist-es/commands/RedactChannelMessageCommand.js +2 -3
  78. package/dist-es/commands/SendChannelMessageCommand.js +2 -2
  79. package/dist-es/commands/TagResourceCommand.js +1 -1
  80. package/dist-es/commands/UntagResourceCommand.js +1 -1
  81. package/dist-es/commands/UpdateChannelCommand.js +2 -2
  82. package/dist-es/commands/UpdateChannelFlowCommand.js +2 -2
  83. package/dist-es/commands/UpdateChannelMessageCommand.js +2 -2
  84. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +2 -3
  85. package/dist-es/commands/index.js +1 -0
  86. package/dist-es/models/models_0.js +10 -156
  87. package/dist-es/protocols/Aws_restJson1.js +102 -0
  88. package/dist-types/ChimeSDKMessaging.d.ts +100 -50
  89. package/dist-types/ChimeSDKMessagingClient.d.ts +3 -2
  90. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +4 -2
  91. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateChannelBanCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +4 -4
  95. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +1 -1
  96. package/dist-types/commands/DeleteChannelBanCommand.d.ts +2 -2
  97. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
  98. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +1 -1
  99. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +1 -1
  100. package/dist-types/commands/DescribeChannelBanCommand.d.ts +1 -1
  101. package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
  102. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +1 -1
  103. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +2 -2
  104. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +2 -2
  105. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +4 -2
  106. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +10 -3
  107. package/dist-types/commands/GetChannelMessageCommand.d.ts +2 -2
  108. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +3 -1
  109. package/dist-types/commands/ListChannelBansCommand.d.ts +2 -2
  110. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +1 -1
  111. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +3 -3
  112. package/dist-types/commands/ListChannelMessagesCommand.d.ts +2 -2
  113. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +1 -1
  114. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  115. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +1 -1
  116. package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +99 -0
  117. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +10 -3
  118. package/dist-types/commands/RedactChannelMessageCommand.d.ts +1 -1
  119. package/dist-types/commands/SearchChannelsCommand.d.ts +6 -1
  120. package/dist-types/commands/SendChannelMessageCommand.d.ts +1 -1
  121. package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
  122. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +1 -1
  123. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +1 -1
  124. package/dist-types/commands/index.d.ts +1 -0
  125. package/dist-types/models/models_0.d.ts +149 -250
  126. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  127. package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +17 -0
  128. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +6 -0
  129. package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +41 -0
  130. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  131. package/dist-types/ts3.4/models/models_0.d.ts +25 -155
  132. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  133. package/package.json +4 -3
@@ -39,6 +39,7 @@ import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands
39
39
  import { ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModeratedByAppInstanceUserCommandOutput } from "../commands/ListChannelsModeratedByAppInstanceUserCommand";
40
40
  import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "../commands/ListSubChannelsCommand";
41
41
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
42
+ import { PutChannelExpirationSettingsCommandInput, PutChannelExpirationSettingsCommandOutput } from "../commands/PutChannelExpirationSettingsCommand";
42
43
  import { PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput } from "../commands/PutChannelMembershipPreferencesCommand";
43
44
  import { PutMessagingStreamingConfigurationsCommandInput, PutMessagingStreamingConfigurationsCommandOutput } from "../commands/PutMessagingStreamingConfigurationsCommand";
44
45
  import { RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput } from "../commands/RedactChannelMessageCommand";
@@ -89,6 +90,7 @@ export declare const serializeAws_restJson1ListChannelsAssociatedWithChannelFlow
89
90
  export declare const serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand: (input: ListChannelsModeratedByAppInstanceUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
91
  export declare const serializeAws_restJson1ListSubChannelsCommand: (input: ListSubChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
92
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
+ export declare const serializeAws_restJson1PutChannelExpirationSettingsCommand: (input: PutChannelExpirationSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
94
  export declare const serializeAws_restJson1PutChannelMembershipPreferencesCommand: (input: PutChannelMembershipPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
95
  export declare const serializeAws_restJson1PutMessagingStreamingConfigurationsCommand: (input: PutMessagingStreamingConfigurationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
96
  export declare const serializeAws_restJson1RedactChannelMessageCommand: (input: RedactChannelMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -139,6 +141,7 @@ export declare const deserializeAws_restJson1ListChannelsAssociatedWithChannelFl
139
141
  export declare const deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsModeratedByAppInstanceUserCommandOutput>;
140
142
  export declare const deserializeAws_restJson1ListSubChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSubChannelsCommandOutput>;
141
143
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
144
+ export declare const deserializeAws_restJson1PutChannelExpirationSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutChannelExpirationSettingsCommandOutput>;
142
145
  export declare const deserializeAws_restJson1PutChannelMembershipPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutChannelMembershipPreferencesCommandOutput>;
143
146
  export declare const deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMessagingStreamingConfigurationsCommandOutput>;
144
147
  export declare const deserializeAws_restJson1RedactChannelMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RedactChannelMessageCommandOutput>;
@@ -156,6 +156,10 @@ import {
156
156
  ListTagsForResourceCommandInput,
157
157
  ListTagsForResourceCommandOutput,
158
158
  } from "./commands/ListTagsForResourceCommand";
159
+ import {
160
+ PutChannelExpirationSettingsCommandInput,
161
+ PutChannelExpirationSettingsCommandOutput,
162
+ } from "./commands/PutChannelExpirationSettingsCommand";
159
163
  import {
160
164
  PutChannelMembershipPreferencesCommandInput,
161
165
  PutChannelMembershipPreferencesCommandOutput,
@@ -750,6 +754,19 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
750
754
  options: __HttpHandlerOptions,
751
755
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
752
756
  ): void;
757
+ putChannelExpirationSettings(
758
+ args: PutChannelExpirationSettingsCommandInput,
759
+ options?: __HttpHandlerOptions
760
+ ): Promise<PutChannelExpirationSettingsCommandOutput>;
761
+ putChannelExpirationSettings(
762
+ args: PutChannelExpirationSettingsCommandInput,
763
+ cb: (err: any, data?: PutChannelExpirationSettingsCommandOutput) => void
764
+ ): void;
765
+ putChannelExpirationSettings(
766
+ args: PutChannelExpirationSettingsCommandInput,
767
+ options: __HttpHandlerOptions,
768
+ cb: (err: any, data?: PutChannelExpirationSettingsCommandOutput) => void
769
+ ): void;
753
770
  putChannelMembershipPreferences(
754
771
  args: PutChannelMembershipPreferencesCommandInput,
755
772
  options?: __HttpHandlerOptions
@@ -200,6 +200,10 @@ import {
200
200
  ListTagsForResourceCommandInput,
201
201
  ListTagsForResourceCommandOutput,
202
202
  } from "./commands/ListTagsForResourceCommand";
203
+ import {
204
+ PutChannelExpirationSettingsCommandInput,
205
+ PutChannelExpirationSettingsCommandOutput,
206
+ } from "./commands/PutChannelExpirationSettingsCommand";
203
207
  import {
204
208
  PutChannelMembershipPreferencesCommandInput,
205
209
  PutChannelMembershipPreferencesCommandOutput,
@@ -289,6 +293,7 @@ export type ServiceInputTypes =
289
293
  | ListChannelsModeratedByAppInstanceUserCommandInput
290
294
  | ListSubChannelsCommandInput
291
295
  | ListTagsForResourceCommandInput
296
+ | PutChannelExpirationSettingsCommandInput
292
297
  | PutChannelMembershipPreferencesCommandInput
293
298
  | PutMessagingStreamingConfigurationsCommandInput
294
299
  | RedactChannelMessageCommandInput
@@ -340,6 +345,7 @@ export type ServiceOutputTypes =
340
345
  | ListChannelsModeratedByAppInstanceUserCommandOutput
341
346
  | ListSubChannelsCommandOutput
342
347
  | ListTagsForResourceCommandOutput
348
+ | PutChannelExpirationSettingsCommandOutput
343
349
  | PutChannelMembershipPreferencesCommandOutput
344
350
  | PutMessagingStreamingConfigurationsCommandOutput
345
351
  | RedactChannelMessageCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ChimeSDKMessagingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ChimeSDKMessagingClient";
14
+ import {
15
+ PutChannelExpirationSettingsRequest,
16
+ PutChannelExpirationSettingsResponse,
17
+ } from "../models/models_0";
18
+ export interface PutChannelExpirationSettingsCommandInput
19
+ extends PutChannelExpirationSettingsRequest {}
20
+ export interface PutChannelExpirationSettingsCommandOutput
21
+ extends PutChannelExpirationSettingsResponse,
22
+ __MetadataBearer {}
23
+ export declare class PutChannelExpirationSettingsCommand extends $Command<
24
+ PutChannelExpirationSettingsCommandInput,
25
+ PutChannelExpirationSettingsCommandOutput,
26
+ ChimeSDKMessagingClientResolvedConfig
27
+ > {
28
+ readonly input: PutChannelExpirationSettingsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: PutChannelExpirationSettingsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ChimeSDKMessagingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ PutChannelExpirationSettingsCommandInput,
37
+ PutChannelExpirationSettingsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -37,6 +37,7 @@ export * from "./ListChannelsCommand";
37
37
  export * from "./ListChannelsModeratedByAppInstanceUserCommand";
38
38
  export * from "./ListSubChannelsCommand";
39
39
  export * from "./ListTagsForResourceCommand";
40
+ export * from "./PutChannelExpirationSettingsCommand";
40
41
  export * from "./PutChannelMembershipPreferencesCommand";
41
42
  export * from "./PutMessagingStreamingConfigurationsCommand";
42
43
  export * from "./RedactChannelMessageCommand";
@@ -143,6 +143,14 @@ export interface ElasticChannelConfiguration {
143
143
  TargetMembershipsPerSubChannel: number | undefined;
144
144
  MinimumMembershipPercentage: number | undefined;
145
145
  }
146
+ export declare enum ExpirationCriterion {
147
+ CREATED_TIMESTAMP = "CREATED_TIMESTAMP",
148
+ LAST_MESSAGE_TIMESTAMP = "LAST_MESSAGE_TIMESTAMP",
149
+ }
150
+ export interface ExpirationSettings {
151
+ ExpirationDays: number | undefined;
152
+ ExpirationCriterion: ExpirationCriterion | string | undefined;
153
+ }
146
154
  export declare enum ChannelMode {
147
155
  RESTRICTED = "RESTRICTED",
148
156
  UNRESTRICTED = "UNRESTRICTED",
@@ -163,6 +171,7 @@ export interface Channel {
163
171
  LastUpdatedTimestamp?: Date;
164
172
  ChannelFlowArn?: string;
165
173
  ElasticChannelConfiguration?: ElasticChannelConfiguration;
174
+ ExpirationSettings?: ExpirationSettings;
166
175
  }
167
176
  export interface ChannelAssociatedWithFlowSummary {
168
177
  Name?: string;
@@ -226,6 +235,7 @@ export interface ChannelMessageCallback {
226
235
  PushNotification?: PushNotificationConfiguration;
227
236
  MessageAttributes?: Record<string, MessageAttributeValue>;
228
237
  SubChannelId?: string;
238
+ ContentType?: string;
229
239
  }
230
240
  export interface ChannelFlowCallbackRequest {
231
241
  CallbackId?: string;
@@ -306,6 +316,7 @@ export interface ChannelMessage {
306
316
  Status?: ChannelMessageStatusStructure;
307
317
  MessageAttributes?: Record<string, MessageAttributeValue>;
308
318
  SubChannelId?: string;
319
+ ContentType?: string;
309
320
  }
310
321
  export interface ChannelMessageSummary {
311
322
  MessageId?: string;
@@ -319,6 +330,7 @@ export interface ChannelMessageSummary {
319
330
  Redacted?: boolean;
320
331
  Status?: ChannelMessageStatusStructure;
321
332
  MessageAttributes?: Record<string, MessageAttributeValue>;
333
+ ContentType?: string;
322
334
  }
323
335
  export interface ChannelModeratedByAppInstanceUserSummary {
324
336
  ChannelSummary?: ChannelSummary;
@@ -349,6 +361,7 @@ export interface CreateChannelRequest {
349
361
  MemberArns?: string[];
350
362
  ModeratorArns?: string[];
351
363
  ElasticChannelConfiguration?: ElasticChannelConfiguration;
364
+ ExpirationSettings?: ExpirationSettings;
352
365
  }
353
366
  export interface CreateChannelResponse {
354
367
  ChannelArn?: string;
@@ -659,6 +672,15 @@ export interface ListTagsForResourceRequest {
659
672
  export interface ListTagsForResourceResponse {
660
673
  Tags?: Tag[];
661
674
  }
675
+ export interface PutChannelExpirationSettingsRequest {
676
+ ChannelArn: string | undefined;
677
+ ChimeBearer?: string;
678
+ ExpirationSettings?: ExpirationSettings;
679
+ }
680
+ export interface PutChannelExpirationSettingsResponse {
681
+ ChannelArn?: string;
682
+ ExpirationSettings?: ExpirationSettings;
683
+ }
662
684
  export interface PutChannelMembershipPreferencesRequest {
663
685
  ChannelArn: string | undefined;
664
686
  MemberArn: string | undefined;
@@ -721,6 +743,7 @@ export interface SendChannelMessageRequest {
721
743
  PushNotification?: PushNotificationConfiguration;
722
744
  MessageAttributes?: Record<string, MessageAttributeValue>;
723
745
  SubChannelId?: string;
746
+ ContentType?: string;
724
747
  }
725
748
  export interface SendChannelMessageResponse {
726
749
  ChannelArn?: string;
@@ -757,10 +780,11 @@ export interface UpdateChannelFlowResponse {
757
780
  export interface UpdateChannelMessageRequest {
758
781
  ChannelArn: string | undefined;
759
782
  MessageId: string | undefined;
760
- Content?: string;
783
+ Content: string | undefined;
761
784
  Metadata?: string;
762
785
  ChimeBearer: string | undefined;
763
786
  SubChannelId?: string;
787
+ ContentType?: string;
764
788
  }
765
789
  export interface UpdateChannelMessageResponse {
766
790
  ChannelArn?: string;
@@ -777,28 +801,13 @@ export interface UpdateChannelReadMarkerResponse {
777
801
  ChannelArn?: string;
778
802
  SubChannelId?: string;
779
803
  }
780
- export declare const AppInstanceUserMembershipSummaryFilterSensitiveLog: (
781
- obj: AppInstanceUserMembershipSummary
782
- ) => any;
783
- export declare const AssociateChannelFlowRequestFilterSensitiveLog: (
784
- obj: AssociateChannelFlowRequest
785
- ) => any;
786
804
  export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
787
805
  export declare const BatchChannelMembershipsFilterSensitiveLog: (
788
806
  obj: BatchChannelMemberships
789
807
  ) => any;
790
- export declare const BatchCreateChannelMembershipRequestFilterSensitiveLog: (
791
- obj: BatchCreateChannelMembershipRequest
792
- ) => any;
793
- export declare const BatchCreateChannelMembershipErrorFilterSensitiveLog: (
794
- obj: BatchCreateChannelMembershipError
795
- ) => any;
796
808
  export declare const BatchCreateChannelMembershipResponseFilterSensitiveLog: (
797
809
  obj: BatchCreateChannelMembershipResponse
798
810
  ) => any;
799
- export declare const ElasticChannelConfigurationFilterSensitiveLog: (
800
- obj: ElasticChannelConfiguration
801
- ) => any;
802
811
  export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
803
812
  export declare const ChannelAssociatedWithFlowSummaryFilterSensitiveLog: (
804
813
  obj: ChannelAssociatedWithFlowSummary
@@ -807,12 +816,6 @@ export declare const ChannelBanFilterSensitiveLog: (obj: ChannelBan) => any;
807
816
  export declare const ChannelBanSummaryFilterSensitiveLog: (
808
817
  obj: ChannelBanSummary
809
818
  ) => any;
810
- export declare const LambdaConfigurationFilterSensitiveLog: (
811
- obj: LambdaConfiguration
812
- ) => any;
813
- export declare const ProcessorConfigurationFilterSensitiveLog: (
814
- obj: ProcessorConfiguration
815
- ) => any;
816
819
  export declare const ProcessorFilterSensitiveLog: (obj: Processor) => any;
817
820
  export declare const ChannelFlowFilterSensitiveLog: (obj: ChannelFlow) => any;
818
821
  export declare const MessageAttributeValueFilterSensitiveLog: (
@@ -827,9 +830,6 @@ export declare const ChannelMessageCallbackFilterSensitiveLog: (
827
830
  export declare const ChannelFlowCallbackRequestFilterSensitiveLog: (
828
831
  obj: ChannelFlowCallbackRequest
829
832
  ) => any;
830
- export declare const ChannelFlowCallbackResponseFilterSensitiveLog: (
831
- obj: ChannelFlowCallbackResponse
832
- ) => any;
833
833
  export declare const ChannelFlowSummaryFilterSensitiveLog: (
834
834
  obj: ChannelFlowSummary
835
835
  ) => any;
@@ -851,9 +851,6 @@ export declare const ChannelMembershipPreferencesFilterSensitiveLog: (
851
851
  export declare const ChannelMembershipSummaryFilterSensitiveLog: (
852
852
  obj: ChannelMembershipSummary
853
853
  ) => any;
854
- export declare const ChannelMessageStatusStructureFilterSensitiveLog: (
855
- obj: ChannelMessageStatusStructure
856
- ) => any;
857
854
  export declare const ChannelMessageFilterSensitiveLog: (
858
855
  obj: ChannelMessage
859
856
  ) => any;
@@ -873,135 +870,45 @@ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
873
870
  export declare const CreateChannelRequestFilterSensitiveLog: (
874
871
  obj: CreateChannelRequest
875
872
  ) => any;
876
- export declare const CreateChannelResponseFilterSensitiveLog: (
877
- obj: CreateChannelResponse
878
- ) => any;
879
- export declare const CreateChannelBanRequestFilterSensitiveLog: (
880
- obj: CreateChannelBanRequest
881
- ) => any;
882
873
  export declare const CreateChannelBanResponseFilterSensitiveLog: (
883
874
  obj: CreateChannelBanResponse
884
875
  ) => any;
885
876
  export declare const CreateChannelFlowRequestFilterSensitiveLog: (
886
877
  obj: CreateChannelFlowRequest
887
878
  ) => any;
888
- export declare const CreateChannelFlowResponseFilterSensitiveLog: (
889
- obj: CreateChannelFlowResponse
890
- ) => any;
891
- export declare const CreateChannelMembershipRequestFilterSensitiveLog: (
892
- obj: CreateChannelMembershipRequest
893
- ) => any;
894
879
  export declare const CreateChannelMembershipResponseFilterSensitiveLog: (
895
880
  obj: CreateChannelMembershipResponse
896
881
  ) => any;
897
- export declare const CreateChannelModeratorRequestFilterSensitiveLog: (
898
- obj: CreateChannelModeratorRequest
899
- ) => any;
900
882
  export declare const CreateChannelModeratorResponseFilterSensitiveLog: (
901
883
  obj: CreateChannelModeratorResponse
902
884
  ) => any;
903
- export declare const DeleteChannelRequestFilterSensitiveLog: (
904
- obj: DeleteChannelRequest
905
- ) => any;
906
- export declare const DeleteChannelBanRequestFilterSensitiveLog: (
907
- obj: DeleteChannelBanRequest
908
- ) => any;
909
- export declare const DeleteChannelFlowRequestFilterSensitiveLog: (
910
- obj: DeleteChannelFlowRequest
911
- ) => any;
912
- export declare const DeleteChannelMembershipRequestFilterSensitiveLog: (
913
- obj: DeleteChannelMembershipRequest
914
- ) => any;
915
- export declare const DeleteChannelMessageRequestFilterSensitiveLog: (
916
- obj: DeleteChannelMessageRequest
917
- ) => any;
918
- export declare const DeleteChannelModeratorRequestFilterSensitiveLog: (
919
- obj: DeleteChannelModeratorRequest
920
- ) => any;
921
- export declare const DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog: (
922
- obj: DeleteMessagingStreamingConfigurationsRequest
923
- ) => any;
924
- export declare const DescribeChannelRequestFilterSensitiveLog: (
925
- obj: DescribeChannelRequest
926
- ) => any;
927
885
  export declare const DescribeChannelResponseFilterSensitiveLog: (
928
886
  obj: DescribeChannelResponse
929
887
  ) => any;
930
- export declare const DescribeChannelBanRequestFilterSensitiveLog: (
931
- obj: DescribeChannelBanRequest
932
- ) => any;
933
888
  export declare const DescribeChannelBanResponseFilterSensitiveLog: (
934
889
  obj: DescribeChannelBanResponse
935
890
  ) => any;
936
- export declare const DescribeChannelFlowRequestFilterSensitiveLog: (
937
- obj: DescribeChannelFlowRequest
938
- ) => any;
939
891
  export declare const DescribeChannelFlowResponseFilterSensitiveLog: (
940
892
  obj: DescribeChannelFlowResponse
941
893
  ) => any;
942
- export declare const DescribeChannelMembershipRequestFilterSensitiveLog: (
943
- obj: DescribeChannelMembershipRequest
944
- ) => any;
945
894
  export declare const DescribeChannelMembershipResponseFilterSensitiveLog: (
946
895
  obj: DescribeChannelMembershipResponse
947
896
  ) => any;
948
- export declare const DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog: (
949
- obj: DescribeChannelMembershipForAppInstanceUserRequest
950
- ) => any;
951
897
  export declare const DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog: (
952
898
  obj: DescribeChannelMembershipForAppInstanceUserResponse
953
899
  ) => any;
954
- export declare const DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog: (
955
- obj: DescribeChannelModeratedByAppInstanceUserRequest
956
- ) => any;
957
900
  export declare const DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog: (
958
901
  obj: DescribeChannelModeratedByAppInstanceUserResponse
959
902
  ) => any;
960
- export declare const DescribeChannelModeratorRequestFilterSensitiveLog: (
961
- obj: DescribeChannelModeratorRequest
962
- ) => any;
963
903
  export declare const DescribeChannelModeratorResponseFilterSensitiveLog: (
964
904
  obj: DescribeChannelModeratorResponse
965
905
  ) => any;
966
- export declare const DisassociateChannelFlowRequestFilterSensitiveLog: (
967
- obj: DisassociateChannelFlowRequest
968
- ) => any;
969
- export declare const GetChannelMembershipPreferencesRequestFilterSensitiveLog: (
970
- obj: GetChannelMembershipPreferencesRequest
971
- ) => any;
972
906
  export declare const GetChannelMembershipPreferencesResponseFilterSensitiveLog: (
973
907
  obj: GetChannelMembershipPreferencesResponse
974
908
  ) => any;
975
- export declare const GetChannelMessageRequestFilterSensitiveLog: (
976
- obj: GetChannelMessageRequest
977
- ) => any;
978
909
  export declare const GetChannelMessageResponseFilterSensitiveLog: (
979
910
  obj: GetChannelMessageResponse
980
911
  ) => any;
981
- export declare const GetChannelMessageStatusRequestFilterSensitiveLog: (
982
- obj: GetChannelMessageStatusRequest
983
- ) => any;
984
- export declare const GetChannelMessageStatusResponseFilterSensitiveLog: (
985
- obj: GetChannelMessageStatusResponse
986
- ) => any;
987
- export declare const GetMessagingSessionEndpointRequestFilterSensitiveLog: (
988
- obj: GetMessagingSessionEndpointRequest
989
- ) => any;
990
- export declare const MessagingSessionEndpointFilterSensitiveLog: (
991
- obj: MessagingSessionEndpoint
992
- ) => any;
993
- export declare const GetMessagingSessionEndpointResponseFilterSensitiveLog: (
994
- obj: GetMessagingSessionEndpointResponse
995
- ) => any;
996
- export declare const GetMessagingStreamingConfigurationsRequestFilterSensitiveLog: (
997
- obj: GetMessagingStreamingConfigurationsRequest
998
- ) => any;
999
- export declare const StreamingConfigurationFilterSensitiveLog: (
1000
- obj: StreamingConfiguration
1001
- ) => any;
1002
- export declare const GetMessagingStreamingConfigurationsResponseFilterSensitiveLog: (
1003
- obj: GetMessagingStreamingConfigurationsResponse
1004
- ) => any;
1005
912
  export declare const ListChannelBansRequestFilterSensitiveLog: (
1006
913
  obj: ListChannelBansRequest
1007
914
  ) => any;
@@ -1059,15 +966,9 @@ export declare const ListChannelsModeratedByAppInstanceUserResponseFilterSensiti
1059
966
  export declare const ListSubChannelsRequestFilterSensitiveLog: (
1060
967
  obj: ListSubChannelsRequest
1061
968
  ) => any;
1062
- export declare const SubChannelSummaryFilterSensitiveLog: (
1063
- obj: SubChannelSummary
1064
- ) => any;
1065
969
  export declare const ListSubChannelsResponseFilterSensitiveLog: (
1066
970
  obj: ListSubChannelsResponse
1067
971
  ) => any;
1068
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (
1069
- obj: ListTagsForResourceRequest
1070
- ) => any;
1071
972
  export declare const ListTagsForResourceResponseFilterSensitiveLog: (
1072
973
  obj: ListTagsForResourceResponse
1073
974
  ) => any;
@@ -1077,19 +978,6 @@ export declare const PutChannelMembershipPreferencesRequestFilterSensitiveLog: (
1077
978
  export declare const PutChannelMembershipPreferencesResponseFilterSensitiveLog: (
1078
979
  obj: PutChannelMembershipPreferencesResponse
1079
980
  ) => any;
1080
- export declare const PutMessagingStreamingConfigurationsRequestFilterSensitiveLog: (
1081
- obj: PutMessagingStreamingConfigurationsRequest
1082
- ) => any;
1083
- export declare const PutMessagingStreamingConfigurationsResponseFilterSensitiveLog: (
1084
- obj: PutMessagingStreamingConfigurationsResponse
1085
- ) => any;
1086
- export declare const RedactChannelMessageRequestFilterSensitiveLog: (
1087
- obj: RedactChannelMessageRequest
1088
- ) => any;
1089
- export declare const RedactChannelMessageResponseFilterSensitiveLog: (
1090
- obj: RedactChannelMessageResponse
1091
- ) => any;
1092
- export declare const SearchFieldFilterSensitiveLog: (obj: SearchField) => any;
1093
981
  export declare const SearchChannelsRequestFilterSensitiveLog: (
1094
982
  obj: SearchChannelsRequest
1095
983
  ) => any;
@@ -1099,9 +987,6 @@ export declare const SearchChannelsResponseFilterSensitiveLog: (
1099
987
  export declare const SendChannelMessageRequestFilterSensitiveLog: (
1100
988
  obj: SendChannelMessageRequest
1101
989
  ) => any;
1102
- export declare const SendChannelMessageResponseFilterSensitiveLog: (
1103
- obj: SendChannelMessageResponse
1104
- ) => any;
1105
990
  export declare const TagResourceRequestFilterSensitiveLog: (
1106
991
  obj: TagResourceRequest
1107
992
  ) => any;
@@ -1111,24 +996,9 @@ export declare const UntagResourceRequestFilterSensitiveLog: (
1111
996
  export declare const UpdateChannelRequestFilterSensitiveLog: (
1112
997
  obj: UpdateChannelRequest
1113
998
  ) => any;
1114
- export declare const UpdateChannelResponseFilterSensitiveLog: (
1115
- obj: UpdateChannelResponse
1116
- ) => any;
1117
999
  export declare const UpdateChannelFlowRequestFilterSensitiveLog: (
1118
1000
  obj: UpdateChannelFlowRequest
1119
1001
  ) => any;
1120
- export declare const UpdateChannelFlowResponseFilterSensitiveLog: (
1121
- obj: UpdateChannelFlowResponse
1122
- ) => any;
1123
1002
  export declare const UpdateChannelMessageRequestFilterSensitiveLog: (
1124
1003
  obj: UpdateChannelMessageRequest
1125
1004
  ) => any;
1126
- export declare const UpdateChannelMessageResponseFilterSensitiveLog: (
1127
- obj: UpdateChannelMessageResponse
1128
- ) => any;
1129
- export declare const UpdateChannelReadMarkerRequestFilterSensitiveLog: (
1130
- obj: UpdateChannelReadMarkerRequest
1131
- ) => any;
1132
- export declare const UpdateChannelReadMarkerResponseFilterSensitiveLog: (
1133
- obj: UpdateChannelReadMarkerResponse
1134
- ) => any;
@@ -159,6 +159,10 @@ import {
159
159
  ListTagsForResourceCommandInput,
160
160
  ListTagsForResourceCommandOutput,
161
161
  } from "../commands/ListTagsForResourceCommand";
162
+ import {
163
+ PutChannelExpirationSettingsCommandInput,
164
+ PutChannelExpirationSettingsCommandOutput,
165
+ } from "../commands/PutChannelExpirationSettingsCommand";
162
166
  import {
163
167
  PutChannelMembershipPreferencesCommandInput,
164
168
  PutChannelMembershipPreferencesCommandOutput,
@@ -359,6 +363,10 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (
359
363
  input: ListTagsForResourceCommandInput,
360
364
  context: __SerdeContext
361
365
  ) => Promise<__HttpRequest>;
366
+ export declare const serializeAws_restJson1PutChannelExpirationSettingsCommand: (
367
+ input: PutChannelExpirationSettingsCommandInput,
368
+ context: __SerdeContext
369
+ ) => Promise<__HttpRequest>;
362
370
  export declare const serializeAws_restJson1PutChannelMembershipPreferencesCommand: (
363
371
  input: PutChannelMembershipPreferencesCommandInput,
364
372
  context: __SerdeContext
@@ -559,6 +567,10 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (
559
567
  output: __HttpResponse,
560
568
  context: __SerdeContext
561
569
  ) => Promise<ListTagsForResourceCommandOutput>;
570
+ export declare const deserializeAws_restJson1PutChannelExpirationSettingsCommand: (
571
+ output: __HttpResponse,
572
+ context: __SerdeContext
573
+ ) => Promise<PutChannelExpirationSettingsCommandOutput>;
562
574
  export declare const deserializeAws_restJson1PutChannelMembershipPreferencesCommand: (
563
575
  output: __HttpResponse,
564
576
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-messaging",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native",
4
- "version": "3.297.0",
4
+ "version": "3.298.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -11,6 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "extract:docs": "api-extractor run --local",
14
15
  "generate:client": "node ../../scripts/generate-clients/single-service --solo chime-sdk-messaging"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
@@ -20,9 +21,9 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "3.0.0",
22
23
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.297.0",
24
+ "@aws-sdk/client-sts": "3.298.0",
24
25
  "@aws-sdk/config-resolver": "3.296.0",
25
- "@aws-sdk/credential-provider-node": "3.297.0",
26
+ "@aws-sdk/credential-provider-node": "3.298.0",
26
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
27
28
  "@aws-sdk/hash-node": "3.296.0",
28
29
  "@aws-sdk/invalid-dependency": "3.296.0",