@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.
Files changed (163) 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 +151 -50
  89. package/dist-types/ChimeSDKMessagingClient.d.ts +27 -6
  90. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +20 -2
  91. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +17 -1
  92. package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +16 -0
  93. package/dist-types/commands/CreateChannelBanCommand.d.ts +17 -1
  94. package/dist-types/commands/CreateChannelCommand.d.ts +17 -1
  95. package/dist-types/commands/CreateChannelFlowCommand.d.ts +16 -0
  96. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +20 -4
  97. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +17 -1
  98. package/dist-types/commands/DeleteChannelBanCommand.d.ts +18 -2
  99. package/dist-types/commands/DeleteChannelCommand.d.ts +17 -1
  100. package/dist-types/commands/DeleteChannelFlowCommand.d.ts +16 -0
  101. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +16 -0
  102. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +17 -1
  103. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +17 -1
  104. package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +16 -0
  105. package/dist-types/commands/DescribeChannelBanCommand.d.ts +17 -1
  106. package/dist-types/commands/DescribeChannelCommand.d.ts +17 -1
  107. package/dist-types/commands/DescribeChannelFlowCommand.d.ts +16 -0
  108. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +17 -1
  109. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +18 -2
  110. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +18 -2
  111. package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +16 -0
  112. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +20 -2
  113. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +26 -3
  114. package/dist-types/commands/GetChannelMessageCommand.d.ts +18 -2
  115. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +19 -1
  116. package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +16 -0
  117. package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +16 -0
  118. package/dist-types/commands/ListChannelBansCommand.d.ts +18 -2
  119. package/dist-types/commands/ListChannelFlowsCommand.d.ts +16 -0
  120. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +17 -1
  121. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +19 -3
  122. package/dist-types/commands/ListChannelMessagesCommand.d.ts +18 -2
  123. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +17 -1
  124. package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +16 -0
  125. package/dist-types/commands/ListChannelsCommand.d.ts +17 -1
  126. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +17 -1
  127. package/dist-types/commands/ListSubChannelsCommand.d.ts +16 -0
  128. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  129. package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +99 -0
  130. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +26 -3
  131. package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +16 -0
  132. package/dist-types/commands/RedactChannelMessageCommand.d.ts +17 -1
  133. package/dist-types/commands/SearchChannelsCommand.d.ts +22 -1
  134. package/dist-types/commands/SendChannelMessageCommand.d.ts +17 -1
  135. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  136. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  137. package/dist-types/commands/UpdateChannelCommand.d.ts +17 -1
  138. package/dist-types/commands/UpdateChannelFlowCommand.d.ts +16 -0
  139. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +17 -1
  140. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +17 -1
  141. package/dist-types/commands/index.d.ts +1 -0
  142. package/dist-types/models/ChimeSDKMessagingServiceException.d.ts +2 -0
  143. package/dist-types/models/models_0.d.ts +504 -250
  144. package/dist-types/pagination/Interfaces.d.ts +3 -0
  145. package/dist-types/pagination/ListChannelBansPaginator.d.ts +3 -0
  146. package/dist-types/pagination/ListChannelFlowsPaginator.d.ts +3 -0
  147. package/dist-types/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +3 -0
  148. package/dist-types/pagination/ListChannelMembershipsPaginator.d.ts +3 -0
  149. package/dist-types/pagination/ListChannelMessagesPaginator.d.ts +3 -0
  150. package/dist-types/pagination/ListChannelModeratorsPaginator.d.ts +3 -0
  151. package/dist-types/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +3 -0
  152. package/dist-types/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +3 -0
  153. package/dist-types/pagination/ListChannelsPaginator.d.ts +3 -0
  154. package/dist-types/pagination/ListSubChannelsPaginator.d.ts +3 -0
  155. package/dist-types/pagination/SearchChannelsPaginator.d.ts +3 -0
  156. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  157. package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +17 -0
  158. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +6 -0
  159. package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +41 -0
  160. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  161. package/dist-types/ts3.4/models/models_0.d.ts +25 -155
  162. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  163. package/package.json +4 -3
@@ -4,21 +4,26 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { DescribeChannelModeratedByAppInstanceUserRequest, DescribeChannelModeratedByAppInstanceUserResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DescribeChannelModeratedByAppInstanceUserCommand}.
8
10
  */
9
11
  export interface DescribeChannelModeratedByAppInstanceUserCommandInput extends DescribeChannelModeratedByAppInstanceUserRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DescribeChannelModeratedByAppInstanceUserCommand}.
13
17
  */
14
18
  export interface DescribeChannelModeratedByAppInstanceUserCommandOutput extends DescribeChannelModeratedByAppInstanceUserResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Returns the full details of a channel moderated by the specified
18
- * <code>AppInstanceUser</code>.</p>
23
+ * <code>AppInstanceUser</code> or <code>AppInstanceBot</code>.</p>
19
24
  * <note>
20
25
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
21
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
26
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
22
27
  * the header.</p>
23
28
  * </note>
24
29
  * @example
@@ -31,6 +36,8 @@ export interface DescribeChannelModeratedByAppInstanceUserCommandOutput extends
31
36
  * const response = await client.send(command);
32
37
  * ```
33
38
  *
39
+ * @param DescribeChannelModeratedByAppInstanceUserCommandInput - {@link DescribeChannelModeratedByAppInstanceUserCommandInput}
40
+ * @returns {@link DescribeChannelModeratedByAppInstanceUserCommandOutput}
34
41
  * @see {@link DescribeChannelModeratedByAppInstanceUserCommandInput} for command's `input` shape.
35
42
  * @see {@link DescribeChannelModeratedByAppInstanceUserCommandOutput} for command's `response` shape.
36
43
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -58,11 +65,20 @@ export interface DescribeChannelModeratedByAppInstanceUserCommandOutput extends
58
65
  export declare class DescribeChannelModeratedByAppInstanceUserCommand extends $Command<DescribeChannelModeratedByAppInstanceUserCommandInput, DescribeChannelModeratedByAppInstanceUserCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
59
66
  readonly input: DescribeChannelModeratedByAppInstanceUserCommandInput;
60
67
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
61
71
  constructor(input: DescribeChannelModeratedByAppInstanceUserCommandInput);
62
72
  /**
63
73
  * @internal
64
74
  */
65
75
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeChannelModeratedByAppInstanceUserCommandInput, DescribeChannelModeratedByAppInstanceUserCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
66
79
  private serialize;
80
+ /**
81
+ * @internal
82
+ */
67
83
  private deserialize;
68
84
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { DescribeChannelModeratorRequest, DescribeChannelModeratorResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DescribeChannelModeratorCommand}.
8
10
  */
9
11
  export interface DescribeChannelModeratorCommandInput extends DescribeChannelModeratorRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DescribeChannelModeratorCommand}.
13
17
  */
14
18
  export interface DescribeChannelModeratorCommandOutput extends DescribeChannelModeratorResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Returns the full details of a single ChannelModerator.</p>
18
23
  * <note>
19
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
@@ -30,6 +35,8 @@ export interface DescribeChannelModeratorCommandOutput extends DescribeChannelMo
30
35
  * const response = await client.send(command);
31
36
  * ```
32
37
  *
38
+ * @param DescribeChannelModeratorCommandInput - {@link DescribeChannelModeratorCommandInput}
39
+ * @returns {@link DescribeChannelModeratorCommandOutput}
33
40
  * @see {@link DescribeChannelModeratorCommandInput} for command's `input` shape.
34
41
  * @see {@link DescribeChannelModeratorCommandOutput} for command's `response` shape.
35
42
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -60,11 +67,20 @@ export interface DescribeChannelModeratorCommandOutput extends DescribeChannelMo
60
67
  export declare class DescribeChannelModeratorCommand extends $Command<DescribeChannelModeratorCommandInput, DescribeChannelModeratorCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
61
68
  readonly input: DescribeChannelModeratorCommandInput;
62
69
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
+ /**
71
+ * @public
72
+ */
63
73
  constructor(input: DescribeChannelModeratorCommandInput);
64
74
  /**
65
75
  * @internal
66
76
  */
67
77
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeChannelModeratorCommandInput, DescribeChannelModeratorCommandOutput>;
78
+ /**
79
+ * @internal
80
+ */
68
81
  private serialize;
82
+ /**
83
+ * @internal
84
+ */
69
85
  private deserialize;
70
86
  }
@@ -4,21 +4,28 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { DisassociateChannelFlowRequest } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DisassociateChannelFlowCommand}.
8
10
  */
9
11
  export interface DisassociateChannelFlowCommandInput extends DisassociateChannelFlowRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DisassociateChannelFlowCommand}.
13
17
  */
14
18
  export interface DisassociateChannelFlowCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Disassociates a channel flow from all its channels. Once disassociated, all messages to
18
23
  * that channel stop going through the channel flow processor.</p>
19
24
  * <note>
20
- * <p>Only administrators or channel moderators can disassociate a channel flow. The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code>
21
- * of the user that makes the API call as the value in the header.</p>
25
+ * <p>Only administrators or channel moderators can disassociate a channel flow.</p>
26
+ * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
27
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
28
+ * the header.</p>
22
29
  * </note>
23
30
  * @example
24
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -30,6 +37,8 @@ export interface DisassociateChannelFlowCommandOutput extends __MetadataBearer {
30
37
  * const response = await client.send(command);
31
38
  * ```
32
39
  *
40
+ * @param DisassociateChannelFlowCommandInput - {@link DisassociateChannelFlowCommandInput}
41
+ * @returns {@link DisassociateChannelFlowCommandOutput}
33
42
  * @see {@link DisassociateChannelFlowCommandInput} for command's `input` shape.
34
43
  * @see {@link DisassociateChannelFlowCommandOutput} for command's `response` shape.
35
44
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -64,11 +73,20 @@ export interface DisassociateChannelFlowCommandOutput extends __MetadataBearer {
64
73
  export declare class DisassociateChannelFlowCommand extends $Command<DisassociateChannelFlowCommandInput, DisassociateChannelFlowCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
65
74
  readonly input: DisassociateChannelFlowCommandInput;
66
75
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
67
79
  constructor(input: DisassociateChannelFlowCommandInput);
68
80
  /**
69
81
  * @internal
70
82
  */
71
83
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateChannelFlowCommandInput, DisassociateChannelFlowCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
72
87
  private serialize;
88
+ /**
89
+ * @internal
90
+ */
73
91
  private deserialize;
74
92
  }
@@ -4,19 +4,31 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { GetChannelMembershipPreferencesRequest, GetChannelMembershipPreferencesResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetChannelMembershipPreferencesCommand}.
8
10
  */
9
11
  export interface GetChannelMembershipPreferencesCommandInput extends GetChannelMembershipPreferencesRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetChannelMembershipPreferencesCommand}.
13
17
  */
14
18
  export interface GetChannelMembershipPreferencesCommandOutput extends GetChannelMembershipPreferencesResponse, __MetadataBearer {
15
19
  }
16
20
  /**
17
- * <p>Gets the membership preferences of an <code>AppInstanceUser</code> for the specified channel. The <code>AppInstanceUser</code> must be a member of the channel.
18
- * Only the <code>AppInstanceUser</code> who owns the membership can retrieve preferences. Users in the <code>AppInstanceAdmin</code> and channel moderator roles can't retrieve preferences for other users.
19
- * Banned users can't retrieve membership preferences for the channel from which they are banned.</p>
21
+ * @public
22
+ * <p>Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
23
+ * for the specified channel. A user or a bot must be a member of the channel and own the membership to be able
24
+ * to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> and channel moderator roles can't
25
+ * retrieve preferences for other users or bots. Banned users or bots can't retrieve membership preferences for the
26
+ * channel from which they are banned.</p>
27
+ * <note>
28
+ * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
29
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
30
+ * the header.</p>
31
+ * </note>
20
32
  * @example
21
33
  * Use a bare-bones client and the command you need to make an API call.
22
34
  * ```javascript
@@ -27,6 +39,8 @@ export interface GetChannelMembershipPreferencesCommandOutput extends GetChannel
27
39
  * const response = await client.send(command);
28
40
  * ```
29
41
  *
42
+ * @param GetChannelMembershipPreferencesCommandInput - {@link GetChannelMembershipPreferencesCommandInput}
43
+ * @returns {@link GetChannelMembershipPreferencesCommandOutput}
30
44
  * @see {@link GetChannelMembershipPreferencesCommandInput} for command's `input` shape.
31
45
  * @see {@link GetChannelMembershipPreferencesCommandOutput} for command's `response` shape.
32
46
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -54,11 +68,20 @@ export interface GetChannelMembershipPreferencesCommandOutput extends GetChannel
54
68
  export declare class GetChannelMembershipPreferencesCommand extends $Command<GetChannelMembershipPreferencesCommandInput, GetChannelMembershipPreferencesCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
55
69
  readonly input: GetChannelMembershipPreferencesCommandInput;
56
70
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
57
74
  constructor(input: GetChannelMembershipPreferencesCommandInput);
58
75
  /**
59
76
  * @internal
60
77
  */
61
78
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelMembershipPreferencesCommandInput, GetChannelMembershipPreferencesCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
62
82
  private serialize;
83
+ /**
84
+ * @internal
85
+ */
63
86
  private deserialize;
64
87
  }
@@ -4,20 +4,25 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { GetChannelMessageRequest, GetChannelMessageResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetChannelMessageCommand}.
8
10
  */
9
11
  export interface GetChannelMessageCommandInput extends GetChannelMessageRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetChannelMessageCommand}.
13
17
  */
14
18
  export interface GetChannelMessageCommandOutput extends GetChannelMessageResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Gets the full details of a channel message.</p>
18
23
  * <note>
19
- * <p>The x-amz-chime-bearer request header is mandatory. Use the
20
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
24
+ * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
21
26
  * the header.</p>
22
27
  * </note>
23
28
  * @example
@@ -30,6 +35,8 @@ export interface GetChannelMessageCommandOutput extends GetChannelMessageRespons
30
35
  * const response = await client.send(command);
31
36
  * ```
32
37
  *
38
+ * @param GetChannelMessageCommandInput - {@link GetChannelMessageCommandInput}
39
+ * @returns {@link GetChannelMessageCommandOutput}
33
40
  * @see {@link GetChannelMessageCommandInput} for command's `input` shape.
34
41
  * @see {@link GetChannelMessageCommandOutput} for command's `response` shape.
35
42
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -60,11 +67,20 @@ export interface GetChannelMessageCommandOutput extends GetChannelMessageRespons
60
67
  export declare class GetChannelMessageCommand extends $Command<GetChannelMessageCommandInput, GetChannelMessageCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
61
68
  readonly input: GetChannelMessageCommandInput;
62
69
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
+ /**
71
+ * @public
72
+ */
63
73
  constructor(input: GetChannelMessageCommandInput);
64
74
  /**
65
75
  * @internal
66
76
  */
67
77
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelMessageCommandInput, GetChannelMessageCommandOutput>;
78
+ /**
79
+ * @internal
80
+ */
68
81
  private serialize;
82
+ /**
83
+ * @internal
84
+ */
69
85
  private deserialize;
70
86
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { GetChannelMessageStatusRequest, GetChannelMessageStatusResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetChannelMessageStatusCommand}.
8
10
  */
9
11
  export interface GetChannelMessageStatusCommandInput extends GetChannelMessageStatusRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetChannelMessageStatusCommand}.
13
17
  */
14
18
  export interface GetChannelMessageStatusCommandOutput extends GetChannelMessageStatusResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Gets message status for a specified <code>messageId</code>. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to
18
23
  * retrieving message status if the event was not received because a client wasn't connected to a websocket. </p>
19
24
  * <p>Messages can have any one of these statuses.</p>
@@ -44,7 +49,9 @@ export interface GetChannelMessageStatusCommandOutput extends GetChannelMessageS
44
49
  * <p>Only the message sender can invoke this API.</p>
45
50
  * </li>
46
51
  * <li>
47
- * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header</p>
52
+ * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
53
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
54
+ * the header.</p>
48
55
  * </li>
49
56
  * </ul>
50
57
  * </note>
@@ -58,6 +65,8 @@ export interface GetChannelMessageStatusCommandOutput extends GetChannelMessageS
58
65
  * const response = await client.send(command);
59
66
  * ```
60
67
  *
68
+ * @param GetChannelMessageStatusCommandInput - {@link GetChannelMessageStatusCommandInput}
69
+ * @returns {@link GetChannelMessageStatusCommandOutput}
61
70
  * @see {@link GetChannelMessageStatusCommandInput} for command's `input` shape.
62
71
  * @see {@link GetChannelMessageStatusCommandOutput} for command's `response` shape.
63
72
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -85,11 +94,20 @@ export interface GetChannelMessageStatusCommandOutput extends GetChannelMessageS
85
94
  export declare class GetChannelMessageStatusCommand extends $Command<GetChannelMessageStatusCommandInput, GetChannelMessageStatusCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
86
95
  readonly input: GetChannelMessageStatusCommandInput;
87
96
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
+ /**
98
+ * @public
99
+ */
88
100
  constructor(input: GetChannelMessageStatusCommandInput);
89
101
  /**
90
102
  * @internal
91
103
  */
92
104
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelMessageStatusCommandInput, GetChannelMessageStatusCommandOutput>;
105
+ /**
106
+ * @internal
107
+ */
93
108
  private serialize;
109
+ /**
110
+ * @internal
111
+ */
94
112
  private deserialize;
95
113
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { GetMessagingSessionEndpointRequest, GetMessagingSessionEndpointResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetMessagingSessionEndpointCommand}.
8
10
  */
9
11
  export interface GetMessagingSessionEndpointCommandInput extends GetMessagingSessionEndpointRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetMessagingSessionEndpointCommand}.
13
17
  */
14
18
  export interface GetMessagingSessionEndpointCommandOutput extends GetMessagingSessionEndpointResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>The details of the endpoint for the messaging session.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface GetMessagingSessionEndpointCommandOutput extends GetMessagingSe
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param GetMessagingSessionEndpointCommandInput - {@link GetMessagingSessionEndpointCommandInput}
34
+ * @returns {@link GetMessagingSessionEndpointCommandOutput}
28
35
  * @see {@link GetMessagingSessionEndpointCommandInput} for command's `input` shape.
29
36
  * @see {@link GetMessagingSessionEndpointCommandOutput} for command's `response` shape.
30
37
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -49,11 +56,20 @@ export interface GetMessagingSessionEndpointCommandOutput extends GetMessagingSe
49
56
  export declare class GetMessagingSessionEndpointCommand extends $Command<GetMessagingSessionEndpointCommandInput, GetMessagingSessionEndpointCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
50
57
  readonly input: GetMessagingSessionEndpointCommandInput;
51
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
52
62
  constructor(input: GetMessagingSessionEndpointCommandInput);
53
63
  /**
54
64
  * @internal
55
65
  */
56
66
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMessagingSessionEndpointCommandInput, GetMessagingSessionEndpointCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
57
70
  private serialize;
71
+ /**
72
+ * @internal
73
+ */
58
74
  private deserialize;
59
75
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { GetMessagingStreamingConfigurationsRequest, GetMessagingStreamingConfigurationsResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetMessagingStreamingConfigurationsCommand}.
8
10
  */
9
11
  export interface GetMessagingStreamingConfigurationsCommandInput extends GetMessagingStreamingConfigurationsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetMessagingStreamingConfigurationsCommand}.
13
17
  */
14
18
  export interface GetMessagingStreamingConfigurationsCommandOutput extends GetMessagingStreamingConfigurationsResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Retrieves the data streaming configuration for an <code>AppInstance</code>. For more information, see
18
23
  * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface GetMessagingStreamingConfigurationsCommandOutput extends GetMes
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param GetMessagingStreamingConfigurationsCommandInput - {@link GetMessagingStreamingConfigurationsCommandInput}
35
+ * @returns {@link GetMessagingStreamingConfigurationsCommandOutput}
29
36
  * @see {@link GetMessagingStreamingConfigurationsCommandInput} for command's `input` shape.
30
37
  * @see {@link GetMessagingStreamingConfigurationsCommandOutput} for command's `response` shape.
31
38
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -56,11 +63,20 @@ export interface GetMessagingStreamingConfigurationsCommandOutput extends GetMes
56
63
  export declare class GetMessagingStreamingConfigurationsCommand extends $Command<GetMessagingStreamingConfigurationsCommandInput, GetMessagingStreamingConfigurationsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
57
64
  readonly input: GetMessagingStreamingConfigurationsCommandInput;
58
65
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
+ /**
67
+ * @public
68
+ */
59
69
  constructor(input: GetMessagingStreamingConfigurationsCommandInput);
60
70
  /**
61
71
  * @internal
62
72
  */
63
73
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMessagingStreamingConfigurationsCommandInput, GetMessagingStreamingConfigurationsCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
64
77
  private serialize;
78
+ /**
79
+ * @internal
80
+ */
65
81
  private deserialize;
66
82
  }
@@ -4,20 +4,25 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelBansRequest, ListChannelBansResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelBansCommand}.
8
10
  */
9
11
  export interface ListChannelBansCommandInput extends ListChannelBansRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelBansCommand}.
13
17
  */
14
18
  export interface ListChannelBansCommandOutput extends ListChannelBansResponse, __MetadataBearer {
15
19
  }
16
20
  /**
17
- * <p>Lists all the users banned from a particular channel.</p>
21
+ * @public
22
+ * <p>Lists all the users and bots banned from a particular channel.</p>
18
23
  * <note>
19
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
20
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
25
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
21
26
  * the header.</p>
22
27
  * </note>
23
28
  * @example
@@ -30,6 +35,8 @@ export interface ListChannelBansCommandOutput extends ListChannelBansResponse, _
30
35
  * const response = await client.send(command);
31
36
  * ```
32
37
  *
38
+ * @param ListChannelBansCommandInput - {@link ListChannelBansCommandInput}
39
+ * @returns {@link ListChannelBansCommandOutput}
33
40
  * @see {@link ListChannelBansCommandInput} for command's `input` shape.
34
41
  * @see {@link ListChannelBansCommandOutput} for command's `response` shape.
35
42
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -57,11 +64,20 @@ export interface ListChannelBansCommandOutput extends ListChannelBansResponse, _
57
64
  export declare class ListChannelBansCommand extends $Command<ListChannelBansCommandInput, ListChannelBansCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
58
65
  readonly input: ListChannelBansCommandInput;
59
66
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
60
70
  constructor(input: ListChannelBansCommandInput);
61
71
  /**
62
72
  * @internal
63
73
  */
64
74
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelBansCommandInput, ListChannelBansCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
65
78
  private serialize;
79
+ /**
80
+ * @internal
81
+ */
66
82
  private deserialize;
67
83
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelFlowsRequest, ListChannelFlowsResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelFlowsCommand}.
8
10
  */
9
11
  export interface ListChannelFlowsCommandInput extends ListChannelFlowsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelFlowsCommand}.
13
17
  */
14
18
  export interface ListChannelFlowsCommandOutput extends ListChannelFlowsResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListChannelFlowsCommandOutput extends ListChannelFlowsResponse,
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListChannelFlowsCommandInput - {@link ListChannelFlowsCommandInput}
34
+ * @returns {@link ListChannelFlowsCommandOutput}
28
35
  * @see {@link ListChannelFlowsCommandInput} for command's `input` shape.
29
36
  * @see {@link ListChannelFlowsCommandOutput} for command's `response` shape.
30
37
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -52,11 +59,20 @@ export interface ListChannelFlowsCommandOutput extends ListChannelFlowsResponse,
52
59
  export declare class ListChannelFlowsCommand extends $Command<ListChannelFlowsCommandInput, ListChannelFlowsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
53
60
  readonly input: ListChannelFlowsCommandInput;
54
61
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
+ /**
63
+ * @public
64
+ */
55
65
  constructor(input: ListChannelFlowsCommandInput);
56
66
  /**
57
67
  * @internal
58
68
  */
59
69
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelFlowsCommandInput, ListChannelFlowsCommandOutput>;
70
+ /**
71
+ * @internal
72
+ */
60
73
  private serialize;
74
+ /**
75
+ * @internal
76
+ */
61
77
  private deserialize;
62
78
  }
@@ -4,20 +4,25 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
5
  import { ListChannelMembershipsRequest, ListChannelMembershipsResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListChannelMembershipsCommand}.
8
10
  */
9
11
  export interface ListChannelMembershipsCommandInput extends ListChannelMembershipsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListChannelMembershipsCommand}.
13
17
  */
14
18
  export interface ListChannelMembershipsCommandOutput extends ListChannelMembershipsResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Lists all channel memberships in a channel.</p>
18
23
  * <note>
19
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
20
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
25
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
21
26
  * the header.</p>
22
27
  * </note>
23
28
  * <p>If you want to list the channels to which a specific app instance user belongs, see the
@@ -32,6 +37,8 @@ export interface ListChannelMembershipsCommandOutput extends ListChannelMembersh
32
37
  * const response = await client.send(command);
33
38
  * ```
34
39
  *
40
+ * @param ListChannelMembershipsCommandInput - {@link ListChannelMembershipsCommandInput}
41
+ * @returns {@link ListChannelMembershipsCommandOutput}
35
42
  * @see {@link ListChannelMembershipsCommandInput} for command's `input` shape.
36
43
  * @see {@link ListChannelMembershipsCommandOutput} for command's `response` shape.
37
44
  * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
@@ -59,11 +66,20 @@ export interface ListChannelMembershipsCommandOutput extends ListChannelMembersh
59
66
  export declare class ListChannelMembershipsCommand extends $Command<ListChannelMembershipsCommandInput, ListChannelMembershipsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
60
67
  readonly input: ListChannelMembershipsCommandInput;
61
68
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
62
72
  constructor(input: ListChannelMembershipsCommandInput);
63
73
  /**
64
74
  * @internal
65
75
  */
66
76
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelMembershipsCommandInput, ListChannelMembershipsCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
67
80
  private serialize;
81
+ /**
82
+ * @internal
83
+ */
68
84
  private deserialize;
69
85
  }