@aws-sdk/client-chime-sdk-messaging 3.297.0 → 3.299.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 +11 -10
@@ -20,10 +20,10 @@ export interface DescribeChannelMembershipForAppInstanceUserCommandOutput extend
20
20
  /**
21
21
  * @public
22
22
  * <p> Returns the details of a channel based on the membership of the specified
23
- * <code>AppInstanceUser</code>.</p>
23
+ * <code>AppInstanceUser</code> or <code>AppInstanceBot</code>.</p>
24
24
  * <note>
25
25
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
26
- * <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
27
27
  * the header.</p>
28
28
  * </note>
29
29
  * @example
@@ -20,10 +20,10 @@ export interface DescribeChannelModeratedByAppInstanceUserCommandOutput extends
20
20
  /**
21
21
  * @public
22
22
  * <p>Returns the full details of a channel moderated by the specified
23
- * <code>AppInstanceUser</code>.</p>
23
+ * <code>AppInstanceUser</code> or <code>AppInstanceBot</code>.</p>
24
24
  * <note>
25
25
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
26
- * <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
27
27
  * the header.</p>
28
28
  * </note>
29
29
  * @example
@@ -22,8 +22,10 @@ export interface DisassociateChannelFlowCommandOutput extends __MetadataBearer {
22
22
  * <p>Disassociates a channel flow from all its channels. Once disassociated, all messages to
23
23
  * that channel stop going through the channel flow processor.</p>
24
24
  * <note>
25
- * <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>
26
- * 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>
27
29
  * </note>
28
30
  * @example
29
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -19,9 +19,16 @@ export interface GetChannelMembershipPreferencesCommandOutput extends GetChannel
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <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.
23
- * 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.
24
- * Banned users can't retrieve membership preferences for the channel from which they are banned.</p>
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>
25
32
  * @example
26
33
  * Use a bare-bones client and the command you need to make an API call.
27
34
  * ```javascript
@@ -21,8 +21,8 @@ export interface GetChannelMessageCommandOutput extends GetChannelMessageRespons
21
21
  * @public
22
22
  * <p>Gets the full details of a channel message.</p>
23
23
  * <note>
24
- * <p>The x-amz-chime-bearer request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * </note>
28
28
  * @example
@@ -49,7 +49,9 @@ export interface GetChannelMessageStatusCommandOutput extends GetChannelMessageS
49
49
  * <p>Only the message sender can invoke this API.</p>
50
50
  * </li>
51
51
  * <li>
52
- * <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>
53
55
  * </li>
54
56
  * </ul>
55
57
  * </note>
@@ -19,10 +19,10 @@ export interface ListChannelBansCommandOutput extends ListChannelBansResponse, _
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Lists all the users banned from a particular channel.</p>
22
+ * <p>Lists all the users and bots banned from a particular channel.</p>
23
23
  * <note>
24
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * </note>
28
28
  * @example
@@ -22,7 +22,7 @@ export interface ListChannelMembershipsCommandOutput extends ListChannelMembersh
22
22
  * <p>Lists all channel memberships in a channel.</p>
23
23
  * <note>
24
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * </note>
28
28
  * <p>If you want to list the channels to which a specific app instance user belongs, see the
@@ -19,11 +19,11 @@ export interface ListChannelMembershipsForAppInstanceUserCommandOutput extends L
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Lists all channels that a particular <code>AppInstanceUser</code> is a part of. Only an
23
- * <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p>
22
+ * <p> Lists all channels that anr <code>AppInstanceUser</code> or <code>AppInstanceBot</code> is a part of.
23
+ * Only an <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p>
24
24
  * <note>
25
25
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
26
- * <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
27
27
  * the header.</p>
28
28
  * </note>
29
29
  * @example
@@ -26,8 +26,8 @@ export interface ListChannelMessagesCommandOutput extends ListChannelMessagesRes
26
26
  * <p>Redacted messages appear in the results as empty, since they are only redacted, not
27
27
  * deleted. Deleted messages do not appear in the results. This action always returns the
28
28
  * latest version of an edited message.</p>
29
- * <p>Also, the x-amz-chime-bearer request header is mandatory. Use the
30
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
29
+ * <p>Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the
30
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
31
31
  * the header.</p>
32
32
  * </note>
33
33
  * @example
@@ -22,7 +22,7 @@ export interface ListChannelModeratorsCommandOutput extends ListChannelModerator
22
22
  * <p>Lists all the moderators for a channel.</p>
23
23
  * <note>
24
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * </note>
28
28
  * @example
@@ -36,7 +36,7 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
36
36
  * </ul>
37
37
  * <note>
38
38
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
39
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
39
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
40
40
  * the header.</p>
41
41
  * </note>
42
42
  * @example
@@ -22,7 +22,7 @@ export interface ListChannelsModeratedByAppInstanceUserCommandOutput extends Lis
22
22
  * <p>A list of the channels moderated by an <code>AppInstanceUser</code>.</p>
23
23
  * <note>
24
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * </note>
28
28
  * @example
@@ -0,0 +1,99 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ChimeSDKMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMessagingClient";
5
+ import { PutChannelExpirationSettingsRequest, PutChannelExpirationSettingsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link PutChannelExpirationSettingsCommand}.
10
+ */
11
+ export interface PutChannelExpirationSettingsCommandInput extends PutChannelExpirationSettingsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link PutChannelExpirationSettingsCommand}.
17
+ */
18
+ export interface PutChannelExpirationSettingsCommandOutput extends PutChannelExpirationSettingsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Sets the number of days before the channel is automatically deleted.</p>
23
+ * <note>
24
+ * <ul>
25
+ * <li>
26
+ * <p>A background process deletes expired channels within 6 hours of expiration.
27
+ * Actual deletion times may vary.</p>
28
+ * </li>
29
+ * <li>
30
+ * <p>Expired channels that have not yet been deleted appear as active, and you can update
31
+ * their expiration settings. The system honors the new settings.</p>
32
+ * </li>
33
+ * <li>
34
+ * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
35
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
36
+ * the header.</p>
37
+ * </li>
38
+ * </ul>
39
+ * </note>
40
+ * @example
41
+ * Use a bare-bones client and the command you need to make an API call.
42
+ * ```javascript
43
+ * import { ChimeSDKMessagingClient, PutChannelExpirationSettingsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
44
+ * // const { ChimeSDKMessagingClient, PutChannelExpirationSettingsCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
45
+ * const client = new ChimeSDKMessagingClient(config);
46
+ * const command = new PutChannelExpirationSettingsCommand(input);
47
+ * const response = await client.send(command);
48
+ * ```
49
+ *
50
+ * @param PutChannelExpirationSettingsCommandInput - {@link PutChannelExpirationSettingsCommandInput}
51
+ * @returns {@link PutChannelExpirationSettingsCommandOutput}
52
+ * @see {@link PutChannelExpirationSettingsCommandInput} for command's `input` shape.
53
+ * @see {@link PutChannelExpirationSettingsCommandOutput} for command's `response` shape.
54
+ * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for ChimeSDKMessagingClient's `config` shape.
55
+ *
56
+ * @throws {@link BadRequestException} (client fault)
57
+ * <p>The input parameters don't match the service's restrictions.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request could not be processed because of conflict in the current state of the
61
+ * resource.</p>
62
+ *
63
+ * @throws {@link ForbiddenException} (client fault)
64
+ * <p>The client is permanently forbidden from making the request.</p>
65
+ *
66
+ * @throws {@link ServiceFailureException} (server fault)
67
+ * <p>The service encountered an unexpected error.</p>
68
+ *
69
+ * @throws {@link ServiceUnavailableException} (server fault)
70
+ * <p>The service is currently unavailable.</p>
71
+ *
72
+ * @throws {@link ThrottledClientException} (client fault)
73
+ * <p>The client exceeded its request rate limit.</p>
74
+ *
75
+ * @throws {@link UnauthorizedClientException} (client fault)
76
+ * <p>The client is not currently authorized to make the request.</p>
77
+ *
78
+ *
79
+ */
80
+ export declare class PutChannelExpirationSettingsCommand extends $Command<PutChannelExpirationSettingsCommandInput, PutChannelExpirationSettingsCommandOutput, ChimeSDKMessagingClientResolvedConfig> {
81
+ readonly input: PutChannelExpirationSettingsCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: PutChannelExpirationSettingsCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMessagingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutChannelExpirationSettingsCommandInput, PutChannelExpirationSettingsCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }
@@ -19,9 +19,16 @@ export interface PutChannelMembershipPreferencesCommandOutput extends PutChannel
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Sets the membership preferences of an <code>AppInstanceUser</code> for the specified channel. The <code>AppInstanceUser</code> must be a member of the channel.
23
- * Only the <code>AppInstanceUser</code> who owns the membership can set preferences. Users in the <code>AppInstanceAdmin</code> and channel moderator roles can't set preferences for other users.
24
- * Banned users can't set membership preferences for the channel from which they are banned.</p>
22
+ * <p>Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppIntanceBot</code>
23
+ * for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the
24
+ * membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> and channel moderator roles can't set
25
+ * preferences for other users or users. Banned users or bots can't set membership preferences for the channel from
26
+ * which they are banned.</p>
27
+ * <note>
28
+ * <p>The x-amz-chime-bearer request header is mandatory. Use the ARN of an
29
+ * <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the
30
+ * header.</p>
31
+ * </note>
25
32
  * @example
26
33
  * Use a bare-bones client and the command you need to make an API call.
27
34
  * ```javascript
@@ -23,7 +23,7 @@ export interface RedactChannelMessageCommandOutput extends RedactChannelMessageR
23
23
  * action returns null content, and the state shows as redacted.</p>
24
24
  * <note>
25
25
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
26
- * <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
27
27
  * the header.</p>
28
28
  * </note>
29
29
  * @example
@@ -19,7 +19,12 @@ export interface SearchChannelsCommandOutput extends SearchChannelsResponse, __M
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Allows <code>ChimeBearer</code> to search channels by channel members. AppInstanceUsers can search across the channels that they belong to. AppInstanceAdmins can search across all channels.</p>
22
+ * <p>Allows the <code>ChimeBearer</code> to search channels by channel members. Users or bots can search
23
+ * across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> role can search across
24
+ * all channels.</p>
25
+ * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
26
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
27
+ * the header.</p>
23
28
  * @example
24
29
  * Use a bare-bones client and the command you need to make an API call.
25
30
  * ```javascript
@@ -22,7 +22,7 @@ export interface SendChannelMessageCommandOutput extends SendChannelMessageRespo
22
22
  * <p>Sends a message to a particular channel that the member is a part of.</p>
23
23
  * <note>
24
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * <p>Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB of metadata.
28
28
  * <code>CONTROL</code> messages can contain 30 bytes of data and no metadata.</p>
@@ -24,7 +24,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
24
24
  * <b>Restriction</b>: You can't change a channel's privacy. </p>
25
25
  * <note>
26
26
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
27
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
27
+ * ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in
28
28
  * the header.</p>
29
29
  * </note>
30
30
  * @example
@@ -22,7 +22,7 @@ export interface UpdateChannelMessageCommandOutput extends UpdateChannelMessageR
22
22
  * <p>Updates the content of a message.</p>
23
23
  * <note>
24
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * </note>
28
28
  * @example
@@ -22,7 +22,7 @@ export interface UpdateChannelReadMarkerCommandOutput extends UpdateChannelReadM
22
22
  * <p>The details of the time when a user last read messages in a channel.</p>
23
23
  * <note>
24
24
  * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
25
- * <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
26
26
  * the header.</p>
27
27
  * </note>
28
28
  * @example
@@ -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";