@aws-sdk/client-chime-sdk-messaging 3.294.0 → 3.296.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 (156) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/ChimeSDKMessaging.js +45 -0
  3. package/dist-cjs/commands/AssociateChannelFlowCommand.js +4 -4
  4. package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +4 -4
  5. package/dist-cjs/commands/ChannelFlowCallbackCommand.js +4 -4
  6. package/dist-cjs/commands/CreateChannelBanCommand.js +4 -4
  7. package/dist-cjs/commands/CreateChannelCommand.js +4 -4
  8. package/dist-cjs/commands/CreateChannelFlowCommand.js +4 -4
  9. package/dist-cjs/commands/CreateChannelMembershipCommand.js +4 -4
  10. package/dist-cjs/commands/CreateChannelModeratorCommand.js +4 -4
  11. package/dist-cjs/commands/DeleteChannelBanCommand.js +4 -4
  12. package/dist-cjs/commands/DeleteChannelCommand.js +4 -4
  13. package/dist-cjs/commands/DeleteChannelFlowCommand.js +4 -4
  14. package/dist-cjs/commands/DeleteChannelMembershipCommand.js +4 -4
  15. package/dist-cjs/commands/DeleteChannelMessageCommand.js +4 -4
  16. package/dist-cjs/commands/DeleteChannelModeratorCommand.js +4 -4
  17. package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +46 -0
  18. package/dist-cjs/commands/DescribeChannelBanCommand.js +4 -4
  19. package/dist-cjs/commands/DescribeChannelCommand.js +4 -4
  20. package/dist-cjs/commands/DescribeChannelFlowCommand.js +4 -4
  21. package/dist-cjs/commands/DescribeChannelMembershipCommand.js +4 -4
  22. package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +4 -4
  23. package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +4 -4
  24. package/dist-cjs/commands/DescribeChannelModeratorCommand.js +4 -4
  25. package/dist-cjs/commands/DisassociateChannelFlowCommand.js +4 -4
  26. package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +4 -4
  27. package/dist-cjs/commands/GetChannelMessageCommand.js +4 -4
  28. package/dist-cjs/commands/GetChannelMessageStatusCommand.js +4 -4
  29. package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +4 -4
  30. package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +46 -0
  31. package/dist-cjs/commands/ListChannelBansCommand.js +4 -4
  32. package/dist-cjs/commands/ListChannelFlowsCommand.js +4 -4
  33. package/dist-cjs/commands/ListChannelMembershipsCommand.js +4 -4
  34. package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +4 -4
  35. package/dist-cjs/commands/ListChannelMessagesCommand.js +4 -4
  36. package/dist-cjs/commands/ListChannelModeratorsCommand.js +4 -4
  37. package/dist-cjs/commands/ListChannelsAssociatedWithChannelFlowCommand.js +4 -4
  38. package/dist-cjs/commands/ListChannelsCommand.js +4 -4
  39. package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +4 -4
  40. package/dist-cjs/commands/ListSubChannelsCommand.js +4 -4
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  42. package/dist-cjs/commands/PutChannelMembershipPreferencesCommand.js +4 -4
  43. package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +46 -0
  44. package/dist-cjs/commands/RedactChannelMessageCommand.js +4 -4
  45. package/dist-cjs/commands/SearchChannelsCommand.js +4 -4
  46. package/dist-cjs/commands/SendChannelMessageCommand.js +4 -4
  47. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  48. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  49. package/dist-cjs/commands/UpdateChannelCommand.js +4 -4
  50. package/dist-cjs/commands/UpdateChannelFlowCommand.js +4 -4
  51. package/dist-cjs/commands/UpdateChannelMessageCommand.js +4 -4
  52. package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +4 -4
  53. package/dist-cjs/commands/index.js +3 -0
  54. package/dist-cjs/endpoint/ruleset.js +3 -3
  55. package/dist-cjs/models/models_0.js +32 -3
  56. package/dist-cjs/protocols/Aws_restJson1.js +243 -2
  57. package/dist-es/ChimeSDKMessaging.js +45 -0
  58. package/dist-es/commands/AssociateChannelFlowCommand.js +4 -4
  59. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +4 -4
  60. package/dist-es/commands/ChannelFlowCallbackCommand.js +4 -4
  61. package/dist-es/commands/CreateChannelBanCommand.js +4 -4
  62. package/dist-es/commands/CreateChannelCommand.js +4 -4
  63. package/dist-es/commands/CreateChannelFlowCommand.js +4 -4
  64. package/dist-es/commands/CreateChannelMembershipCommand.js +4 -4
  65. package/dist-es/commands/CreateChannelModeratorCommand.js +4 -4
  66. package/dist-es/commands/DeleteChannelBanCommand.js +4 -4
  67. package/dist-es/commands/DeleteChannelCommand.js +4 -4
  68. package/dist-es/commands/DeleteChannelFlowCommand.js +4 -4
  69. package/dist-es/commands/DeleteChannelMembershipCommand.js +4 -4
  70. package/dist-es/commands/DeleteChannelMessageCommand.js +4 -4
  71. package/dist-es/commands/DeleteChannelModeratorCommand.js +4 -4
  72. package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +42 -0
  73. package/dist-es/commands/DescribeChannelBanCommand.js +4 -4
  74. package/dist-es/commands/DescribeChannelCommand.js +4 -4
  75. package/dist-es/commands/DescribeChannelFlowCommand.js +4 -4
  76. package/dist-es/commands/DescribeChannelMembershipCommand.js +4 -4
  77. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +4 -4
  78. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +4 -4
  79. package/dist-es/commands/DescribeChannelModeratorCommand.js +4 -4
  80. package/dist-es/commands/DisassociateChannelFlowCommand.js +4 -4
  81. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +4 -4
  82. package/dist-es/commands/GetChannelMessageCommand.js +4 -4
  83. package/dist-es/commands/GetChannelMessageStatusCommand.js +4 -4
  84. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +4 -4
  85. package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +42 -0
  86. package/dist-es/commands/ListChannelBansCommand.js +4 -4
  87. package/dist-es/commands/ListChannelFlowsCommand.js +4 -4
  88. package/dist-es/commands/ListChannelMembershipsCommand.js +4 -4
  89. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +4 -4
  90. package/dist-es/commands/ListChannelMessagesCommand.js +4 -4
  91. package/dist-es/commands/ListChannelModeratorsCommand.js +4 -4
  92. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +4 -4
  93. package/dist-es/commands/ListChannelsCommand.js +4 -4
  94. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +4 -4
  95. package/dist-es/commands/ListSubChannelsCommand.js +4 -4
  96. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  97. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +4 -4
  98. package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +42 -0
  99. package/dist-es/commands/RedactChannelMessageCommand.js +4 -4
  100. package/dist-es/commands/SearchChannelsCommand.js +4 -4
  101. package/dist-es/commands/SendChannelMessageCommand.js +4 -4
  102. package/dist-es/commands/TagResourceCommand.js +4 -4
  103. package/dist-es/commands/UntagResourceCommand.js +4 -4
  104. package/dist-es/commands/UpdateChannelCommand.js +4 -4
  105. package/dist-es/commands/UpdateChannelFlowCommand.js +4 -4
  106. package/dist-es/commands/UpdateChannelMessageCommand.js +4 -4
  107. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +4 -4
  108. package/dist-es/commands/index.js +3 -0
  109. package/dist-es/endpoint/ruleset.js +3 -3
  110. package/dist-es/models/models_0.js +23 -0
  111. package/dist-es/protocols/Aws_restJson1.js +235 -0
  112. package/dist-types/ChimeSDKMessaging.d.ts +25 -40
  113. package/dist-types/ChimeSDKMessagingClient.d.ts +7 -4
  114. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +0 -1
  115. package/dist-types/commands/CreateChannelBanCommand.d.ts +0 -1
  116. package/dist-types/commands/CreateChannelCommand.d.ts +0 -2
  117. package/dist-types/commands/CreateChannelFlowCommand.d.ts +1 -3
  118. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +0 -4
  119. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +0 -2
  120. package/dist-types/commands/DeleteChannelBanCommand.d.ts +0 -1
  121. package/dist-types/commands/DeleteChannelCommand.d.ts +0 -1
  122. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +0 -1
  123. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +0 -1
  124. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +0 -1
  125. package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +60 -0
  126. package/dist-types/commands/DescribeChannelBanCommand.d.ts +0 -2
  127. package/dist-types/commands/DescribeChannelCommand.d.ts +0 -2
  128. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +0 -1
  129. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +0 -1
  130. package/dist-types/commands/GetChannelMessageCommand.d.ts +0 -1
  131. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +0 -3
  132. package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +66 -0
  133. package/dist-types/commands/ListChannelBansCommand.d.ts +0 -1
  134. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +0 -2
  135. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +0 -1
  136. package/dist-types/commands/ListChannelsCommand.d.ts +0 -2
  137. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +0 -1
  138. package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +70 -0
  139. package/dist-types/commands/RedactChannelMessageCommand.d.ts +0 -1
  140. package/dist-types/commands/SendChannelMessageCommand.d.ts +0 -2
  141. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +0 -1
  142. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +0 -1
  143. package/dist-types/commands/index.d.ts +3 -0
  144. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  145. package/dist-types/models/models_0.d.ts +75 -0
  146. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  147. package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +69 -0
  148. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +22 -4
  149. package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +37 -0
  150. package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +41 -0
  151. package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +41 -0
  152. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  153. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -5
  154. package/dist-types/ts3.4/models/models_0.d.ts +42 -0
  155. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  156. package/package.json +36 -36
@@ -100,6 +100,10 @@ import {
100
100
  DeleteChannelModeratorCommandInput,
101
101
  DeleteChannelModeratorCommandOutput,
102
102
  } from "./commands/DeleteChannelModeratorCommand";
103
+ import {
104
+ DeleteMessagingStreamingConfigurationsCommandInput,
105
+ DeleteMessagingStreamingConfigurationsCommandOutput,
106
+ } from "./commands/DeleteMessagingStreamingConfigurationsCommand";
103
107
  import {
104
108
  DescribeChannelBanCommandInput,
105
109
  DescribeChannelBanCommandOutput,
@@ -148,6 +152,10 @@ import {
148
152
  GetMessagingSessionEndpointCommandInput,
149
153
  GetMessagingSessionEndpointCommandOutput,
150
154
  } from "./commands/GetMessagingSessionEndpointCommand";
155
+ import {
156
+ GetMessagingStreamingConfigurationsCommandInput,
157
+ GetMessagingStreamingConfigurationsCommandOutput,
158
+ } from "./commands/GetMessagingStreamingConfigurationsCommand";
151
159
  import {
152
160
  ListChannelBansCommandInput,
153
161
  ListChannelBansCommandOutput,
@@ -196,6 +204,10 @@ import {
196
204
  PutChannelMembershipPreferencesCommandInput,
197
205
  PutChannelMembershipPreferencesCommandOutput,
198
206
  } from "./commands/PutChannelMembershipPreferencesCommand";
207
+ import {
208
+ PutMessagingStreamingConfigurationsCommandInput,
209
+ PutMessagingStreamingConfigurationsCommandOutput,
210
+ } from "./commands/PutMessagingStreamingConfigurationsCommand";
199
211
  import {
200
212
  RedactChannelMessageCommandInput,
201
213
  RedactChannelMessageCommandOutput,
@@ -237,7 +249,7 @@ import {
237
249
  ClientResolvedEndpointParameters,
238
250
  EndpointParameters,
239
251
  } from "./endpoint/EndpointParameters";
240
- export declare type ServiceInputTypes =
252
+ export type ServiceInputTypes =
241
253
  | AssociateChannelFlowCommandInput
242
254
  | BatchCreateChannelMembershipCommandInput
243
255
  | ChannelFlowCallbackCommandInput
@@ -252,6 +264,7 @@ export declare type ServiceInputTypes =
252
264
  | DeleteChannelMembershipCommandInput
253
265
  | DeleteChannelMessageCommandInput
254
266
  | DeleteChannelModeratorCommandInput
267
+ | DeleteMessagingStreamingConfigurationsCommandInput
255
268
  | DescribeChannelBanCommandInput
256
269
  | DescribeChannelCommandInput
257
270
  | DescribeChannelFlowCommandInput
@@ -264,6 +277,7 @@ export declare type ServiceInputTypes =
264
277
  | GetChannelMessageCommandInput
265
278
  | GetChannelMessageStatusCommandInput
266
279
  | GetMessagingSessionEndpointCommandInput
280
+ | GetMessagingStreamingConfigurationsCommandInput
267
281
  | ListChannelBansCommandInput
268
282
  | ListChannelFlowsCommandInput
269
283
  | ListChannelMembershipsCommandInput
@@ -276,6 +290,7 @@ export declare type ServiceInputTypes =
276
290
  | ListSubChannelsCommandInput
277
291
  | ListTagsForResourceCommandInput
278
292
  | PutChannelMembershipPreferencesCommandInput
293
+ | PutMessagingStreamingConfigurationsCommandInput
279
294
  | RedactChannelMessageCommandInput
280
295
  | SearchChannelsCommandInput
281
296
  | SendChannelMessageCommandInput
@@ -285,7 +300,7 @@ export declare type ServiceInputTypes =
285
300
  | UpdateChannelFlowCommandInput
286
301
  | UpdateChannelMessageCommandInput
287
302
  | UpdateChannelReadMarkerCommandInput;
288
- export declare type ServiceOutputTypes =
303
+ export type ServiceOutputTypes =
289
304
  | AssociateChannelFlowCommandOutput
290
305
  | BatchCreateChannelMembershipCommandOutput
291
306
  | ChannelFlowCallbackCommandOutput
@@ -300,6 +315,7 @@ export declare type ServiceOutputTypes =
300
315
  | DeleteChannelMembershipCommandOutput
301
316
  | DeleteChannelMessageCommandOutput
302
317
  | DeleteChannelModeratorCommandOutput
318
+ | DeleteMessagingStreamingConfigurationsCommandOutput
303
319
  | DescribeChannelBanCommandOutput
304
320
  | DescribeChannelCommandOutput
305
321
  | DescribeChannelFlowCommandOutput
@@ -312,6 +328,7 @@ export declare type ServiceOutputTypes =
312
328
  | GetChannelMessageCommandOutput
313
329
  | GetChannelMessageStatusCommandOutput
314
330
  | GetMessagingSessionEndpointCommandOutput
331
+ | GetMessagingStreamingConfigurationsCommandOutput
315
332
  | ListChannelBansCommandOutput
316
333
  | ListChannelFlowsCommandOutput
317
334
  | ListChannelMembershipsCommandOutput
@@ -324,6 +341,7 @@ export declare type ServiceOutputTypes =
324
341
  | ListSubChannelsCommandOutput
325
342
  | ListTagsForResourceCommandOutput
326
343
  | PutChannelMembershipPreferencesCommandOutput
344
+ | PutMessagingStreamingConfigurationsCommandOutput
327
345
  | RedactChannelMessageCommandOutput
328
346
  | SearchChannelsCommandOutput
329
347
  | SendChannelMessageCommandOutput
@@ -357,7 +375,7 @@ export interface ClientDefaults
357
375
  logger?: __Logger;
358
376
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
359
377
  }
360
- declare type ChimeSDKMessagingClientConfigType = Partial<
378
+ type ChimeSDKMessagingClientConfigType = Partial<
361
379
  __SmithyConfiguration<__HttpHandlerOptions>
362
380
  > &
363
381
  ClientDefaults &
@@ -370,7 +388,7 @@ declare type ChimeSDKMessagingClientConfigType = Partial<
370
388
  ClientInputEndpointParameters;
371
389
  export interface ChimeSDKMessagingClientConfig
372
390
  extends ChimeSDKMessagingClientConfigType {}
373
- declare type ChimeSDKMessagingClientResolvedConfigType =
391
+ type ChimeSDKMessagingClientResolvedConfigType =
374
392
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
375
393
  Required<ClientDefaults> &
376
394
  RegionResolvedConfig &
@@ -0,0 +1,37 @@
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 { DeleteMessagingStreamingConfigurationsRequest } from "../models/models_0";
15
+ export interface DeleteMessagingStreamingConfigurationsCommandInput
16
+ extends DeleteMessagingStreamingConfigurationsRequest {}
17
+ export interface DeleteMessagingStreamingConfigurationsCommandOutput
18
+ extends __MetadataBearer {}
19
+ export declare class DeleteMessagingStreamingConfigurationsCommand extends $Command<
20
+ DeleteMessagingStreamingConfigurationsCommandInput,
21
+ DeleteMessagingStreamingConfigurationsCommandOutput,
22
+ ChimeSDKMessagingClientResolvedConfig
23
+ > {
24
+ readonly input: DeleteMessagingStreamingConfigurationsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: DeleteMessagingStreamingConfigurationsCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: ChimeSDKMessagingClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<
32
+ DeleteMessagingStreamingConfigurationsCommandInput,
33
+ DeleteMessagingStreamingConfigurationsCommandOutput
34
+ >;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -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
+ GetMessagingStreamingConfigurationsRequest,
16
+ GetMessagingStreamingConfigurationsResponse,
17
+ } from "../models/models_0";
18
+ export interface GetMessagingStreamingConfigurationsCommandInput
19
+ extends GetMessagingStreamingConfigurationsRequest {}
20
+ export interface GetMessagingStreamingConfigurationsCommandOutput
21
+ extends GetMessagingStreamingConfigurationsResponse,
22
+ __MetadataBearer {}
23
+ export declare class GetMessagingStreamingConfigurationsCommand extends $Command<
24
+ GetMessagingStreamingConfigurationsCommandInput,
25
+ GetMessagingStreamingConfigurationsCommandOutput,
26
+ ChimeSDKMessagingClientResolvedConfig
27
+ > {
28
+ readonly input: GetMessagingStreamingConfigurationsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetMessagingStreamingConfigurationsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ChimeSDKMessagingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetMessagingStreamingConfigurationsCommandInput,
37
+ GetMessagingStreamingConfigurationsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -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
+ PutMessagingStreamingConfigurationsRequest,
16
+ PutMessagingStreamingConfigurationsResponse,
17
+ } from "../models/models_0";
18
+ export interface PutMessagingStreamingConfigurationsCommandInput
19
+ extends PutMessagingStreamingConfigurationsRequest {}
20
+ export interface PutMessagingStreamingConfigurationsCommandOutput
21
+ extends PutMessagingStreamingConfigurationsResponse,
22
+ __MetadataBearer {}
23
+ export declare class PutMessagingStreamingConfigurationsCommand extends $Command<
24
+ PutMessagingStreamingConfigurationsCommandInput,
25
+ PutMessagingStreamingConfigurationsCommandOutput,
26
+ ChimeSDKMessagingClientResolvedConfig
27
+ > {
28
+ readonly input: PutMessagingStreamingConfigurationsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: PutMessagingStreamingConfigurationsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ChimeSDKMessagingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ PutMessagingStreamingConfigurationsCommandInput,
37
+ PutMessagingStreamingConfigurationsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -12,6 +12,7 @@ export * from "./DeleteChannelFlowCommand";
12
12
  export * from "./DeleteChannelMembershipCommand";
13
13
  export * from "./DeleteChannelMessageCommand";
14
14
  export * from "./DeleteChannelModeratorCommand";
15
+ export * from "./DeleteMessagingStreamingConfigurationsCommand";
15
16
  export * from "./DescribeChannelBanCommand";
16
17
  export * from "./DescribeChannelCommand";
17
18
  export * from "./DescribeChannelFlowCommand";
@@ -24,6 +25,7 @@ export * from "./GetChannelMembershipPreferencesCommand";
24
25
  export * from "./GetChannelMessageCommand";
25
26
  export * from "./GetChannelMessageStatusCommand";
26
27
  export * from "./GetMessagingSessionEndpointCommand";
28
+ export * from "./GetMessagingStreamingConfigurationsCommand";
27
29
  export * from "./ListChannelBansCommand";
28
30
  export * from "./ListChannelFlowsCommand";
29
31
  export * from "./ListChannelMembershipsCommand";
@@ -36,6 +38,7 @@ export * from "./ListChannelsModeratedByAppInstanceUserCommand";
36
38
  export * from "./ListSubChannelsCommand";
37
39
  export * from "./ListTagsForResourceCommand";
38
40
  export * from "./PutChannelMembershipPreferencesCommand";
41
+ export * from "./PutMessagingStreamingConfigurationsCommand";
39
42
  export * from "./RedactChannelMessageCommand";
40
43
  export * from "./SearchChannelsCommand";
41
44
  export * from "./SendChannelMessageCommand";
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
@@ -27,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
26
  defaultSigningName: string;
28
27
  };
29
28
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
29
+ Region?: string;
31
30
  UseDualStack?: boolean;
32
31
  UseFIPS?: boolean;
33
32
  Endpoint?: string;
@@ -423,6 +423,9 @@ export interface DeleteChannelModeratorRequest {
423
423
  ChannelModeratorArn: string | undefined;
424
424
  ChimeBearer: string | undefined;
425
425
  }
426
+ export interface DeleteMessagingStreamingConfigurationsRequest {
427
+ AppInstanceArn: string | undefined;
428
+ }
426
429
  export interface DescribeChannelRequest {
427
430
  ChannelArn: string | undefined;
428
431
  ChimeBearer: string | undefined;
@@ -517,6 +520,20 @@ export interface MessagingSessionEndpoint {
517
520
  export interface GetMessagingSessionEndpointResponse {
518
521
  Endpoint?: MessagingSessionEndpoint;
519
522
  }
523
+ export interface GetMessagingStreamingConfigurationsRequest {
524
+ AppInstanceArn: string | undefined;
525
+ }
526
+ export declare enum MessagingDataType {
527
+ Channel = "Channel",
528
+ ChannelMessage = "ChannelMessage",
529
+ }
530
+ export interface StreamingConfiguration {
531
+ DataType: MessagingDataType | string | undefined;
532
+ ResourceArn: string | undefined;
533
+ }
534
+ export interface GetMessagingStreamingConfigurationsResponse {
535
+ StreamingConfigurations?: StreamingConfiguration[];
536
+ }
520
537
  export interface ListChannelBansRequest {
521
538
  ChannelArn: string | undefined;
522
539
  MaxResults?: number;
@@ -653,6 +670,13 @@ export interface PutChannelMembershipPreferencesResponse {
653
670
  Member?: Identity;
654
671
  Preferences?: ChannelMembershipPreferences;
655
672
  }
673
+ export interface PutMessagingStreamingConfigurationsRequest {
674
+ AppInstanceArn: string | undefined;
675
+ StreamingConfigurations: StreamingConfiguration[] | undefined;
676
+ }
677
+ export interface PutMessagingStreamingConfigurationsResponse {
678
+ StreamingConfigurations?: StreamingConfiguration[];
679
+ }
656
680
  export interface RedactChannelMessageRequest {
657
681
  ChannelArn: string | undefined;
658
682
  MessageId: string | undefined;
@@ -894,6 +918,9 @@ export declare const DeleteChannelMessageRequestFilterSensitiveLog: (
894
918
  export declare const DeleteChannelModeratorRequestFilterSensitiveLog: (
895
919
  obj: DeleteChannelModeratorRequest
896
920
  ) => any;
921
+ export declare const DeleteMessagingStreamingConfigurationsRequestFilterSensitiveLog: (
922
+ obj: DeleteMessagingStreamingConfigurationsRequest
923
+ ) => any;
897
924
  export declare const DescribeChannelRequestFilterSensitiveLog: (
898
925
  obj: DescribeChannelRequest
899
926
  ) => any;
@@ -966,6 +993,15 @@ export declare const MessagingSessionEndpointFilterSensitiveLog: (
966
993
  export declare const GetMessagingSessionEndpointResponseFilterSensitiveLog: (
967
994
  obj: GetMessagingSessionEndpointResponse
968
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;
969
1005
  export declare const ListChannelBansRequestFilterSensitiveLog: (
970
1006
  obj: ListChannelBansRequest
971
1007
  ) => any;
@@ -1041,6 +1077,12 @@ export declare const PutChannelMembershipPreferencesRequestFilterSensitiveLog: (
1041
1077
  export declare const PutChannelMembershipPreferencesResponseFilterSensitiveLog: (
1042
1078
  obj: PutChannelMembershipPreferencesResponse
1043
1079
  ) => any;
1080
+ export declare const PutMessagingStreamingConfigurationsRequestFilterSensitiveLog: (
1081
+ obj: PutMessagingStreamingConfigurationsRequest
1082
+ ) => any;
1083
+ export declare const PutMessagingStreamingConfigurationsResponseFilterSensitiveLog: (
1084
+ obj: PutMessagingStreamingConfigurationsResponse
1085
+ ) => any;
1044
1086
  export declare const RedactChannelMessageRequestFilterSensitiveLog: (
1045
1087
  obj: RedactChannelMessageRequest
1046
1088
  ) => any;
@@ -59,6 +59,10 @@ import {
59
59
  DeleteChannelModeratorCommandInput,
60
60
  DeleteChannelModeratorCommandOutput,
61
61
  } from "../commands/DeleteChannelModeratorCommand";
62
+ import {
63
+ DeleteMessagingStreamingConfigurationsCommandInput,
64
+ DeleteMessagingStreamingConfigurationsCommandOutput,
65
+ } from "../commands/DeleteMessagingStreamingConfigurationsCommand";
62
66
  import {
63
67
  DescribeChannelBanCommandInput,
64
68
  DescribeChannelBanCommandOutput,
@@ -107,6 +111,10 @@ import {
107
111
  GetMessagingSessionEndpointCommandInput,
108
112
  GetMessagingSessionEndpointCommandOutput,
109
113
  } from "../commands/GetMessagingSessionEndpointCommand";
114
+ import {
115
+ GetMessagingStreamingConfigurationsCommandInput,
116
+ GetMessagingStreamingConfigurationsCommandOutput,
117
+ } from "../commands/GetMessagingStreamingConfigurationsCommand";
110
118
  import {
111
119
  ListChannelBansCommandInput,
112
120
  ListChannelBansCommandOutput,
@@ -155,6 +163,10 @@ import {
155
163
  PutChannelMembershipPreferencesCommandInput,
156
164
  PutChannelMembershipPreferencesCommandOutput,
157
165
  } from "../commands/PutChannelMembershipPreferencesCommand";
166
+ import {
167
+ PutMessagingStreamingConfigurationsCommandInput,
168
+ PutMessagingStreamingConfigurationsCommandOutput,
169
+ } from "../commands/PutMessagingStreamingConfigurationsCommand";
158
170
  import {
159
171
  RedactChannelMessageCommandInput,
160
172
  RedactChannelMessageCommandOutput,
@@ -247,6 +259,10 @@ export declare const serializeAws_restJson1DeleteChannelModeratorCommand: (
247
259
  input: DeleteChannelModeratorCommandInput,
248
260
  context: __SerdeContext
249
261
  ) => Promise<__HttpRequest>;
262
+ export declare const serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand: (
263
+ input: DeleteMessagingStreamingConfigurationsCommandInput,
264
+ context: __SerdeContext
265
+ ) => Promise<__HttpRequest>;
250
266
  export declare const serializeAws_restJson1DescribeChannelCommand: (
251
267
  input: DescribeChannelCommandInput,
252
268
  context: __SerdeContext
@@ -295,6 +311,10 @@ export declare const serializeAws_restJson1GetMessagingSessionEndpointCommand: (
295
311
  input: GetMessagingSessionEndpointCommandInput,
296
312
  context: __SerdeContext
297
313
  ) => Promise<__HttpRequest>;
314
+ export declare const serializeAws_restJson1GetMessagingStreamingConfigurationsCommand: (
315
+ input: GetMessagingStreamingConfigurationsCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
298
318
  export declare const serializeAws_restJson1ListChannelBansCommand: (
299
319
  input: ListChannelBansCommandInput,
300
320
  context: __SerdeContext
@@ -343,6 +363,10 @@ export declare const serializeAws_restJson1PutChannelMembershipPreferencesComman
343
363
  input: PutChannelMembershipPreferencesCommandInput,
344
364
  context: __SerdeContext
345
365
  ) => Promise<__HttpRequest>;
366
+ export declare const serializeAws_restJson1PutMessagingStreamingConfigurationsCommand: (
367
+ input: PutMessagingStreamingConfigurationsCommandInput,
368
+ context: __SerdeContext
369
+ ) => Promise<__HttpRequest>;
346
370
  export declare const serializeAws_restJson1RedactChannelMessageCommand: (
347
371
  input: RedactChannelMessageCommandInput,
348
372
  context: __SerdeContext
@@ -435,6 +459,10 @@ export declare const deserializeAws_restJson1DeleteChannelModeratorCommand: (
435
459
  output: __HttpResponse,
436
460
  context: __SerdeContext
437
461
  ) => Promise<DeleteChannelModeratorCommandOutput>;
462
+ export declare const deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand: (
463
+ output: __HttpResponse,
464
+ context: __SerdeContext
465
+ ) => Promise<DeleteMessagingStreamingConfigurationsCommandOutput>;
438
466
  export declare const deserializeAws_restJson1DescribeChannelCommand: (
439
467
  output: __HttpResponse,
440
468
  context: __SerdeContext
@@ -483,6 +511,10 @@ export declare const deserializeAws_restJson1GetMessagingSessionEndpointCommand:
483
511
  output: __HttpResponse,
484
512
  context: __SerdeContext
485
513
  ) => Promise<GetMessagingSessionEndpointCommandOutput>;
514
+ export declare const deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand: (
515
+ output: __HttpResponse,
516
+ context: __SerdeContext
517
+ ) => Promise<GetMessagingStreamingConfigurationsCommandOutput>;
486
518
  export declare const deserializeAws_restJson1ListChannelBansCommand: (
487
519
  output: __HttpResponse,
488
520
  context: __SerdeContext
@@ -531,6 +563,10 @@ export declare const deserializeAws_restJson1PutChannelMembershipPreferencesComm
531
563
  output: __HttpResponse,
532
564
  context: __SerdeContext
533
565
  ) => Promise<PutChannelMembershipPreferencesCommandOutput>;
566
+ export declare const deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand: (
567
+ output: __HttpResponse,
568
+ context: __SerdeContext
569
+ ) => Promise<PutMessagingStreamingConfigurationsCommandOutput>;
534
570
  export declare const deserializeAws_restJson1RedactChannelMessageCommand: (
535
571
  output: __HttpResponse,
536
572
  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.294.0",
4
+ "version": "3.296.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",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.294.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.294.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1",
23
+ "@aws-sdk/client-sts": "3.296.0",
24
+ "@aws-sdk/config-resolver": "3.296.0",
25
+ "@aws-sdk/credential-provider-node": "3.296.0",
26
+ "@aws-sdk/fetch-http-handler": "3.296.0",
27
+ "@aws-sdk/hash-node": "3.296.0",
28
+ "@aws-sdk/invalid-dependency": "3.296.0",
29
+ "@aws-sdk/middleware-content-length": "3.296.0",
30
+ "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-host-header": "3.296.0",
32
+ "@aws-sdk/middleware-logger": "3.296.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.296.0",
34
+ "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-serde": "3.296.0",
36
+ "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-stack": "3.296.0",
38
+ "@aws-sdk/middleware-user-agent": "3.296.0",
39
+ "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-http-handler": "3.296.0",
41
+ "@aws-sdk/protocol-http": "3.296.0",
42
+ "@aws-sdk/smithy-client": "3.296.0",
43
+ "@aws-sdk/types": "3.296.0",
44
+ "@aws-sdk/url-parser": "3.296.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.296.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-endpoints": "3.296.0",
51
+ "@aws-sdk/util-retry": "3.296.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.296.0",
53
+ "@aws-sdk/util-user-agent-node": "3.296.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0",
56
56
  "uuid": "^8.3.2"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "@types/uuid": "^8.3.0",
@@ -64,7 +64,7 @@
64
64
  "downlevel-dts": "0.10.1",
65
65
  "rimraf": "3.0.2",
66
66
  "typedoc": "0.23.23",
67
- "typescript": "~4.6.2"
67
+ "typescript": "~4.9.5"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">=14.0.0"