@aws-sdk/client-chime-sdk-messaging 3.30.0 → 3.34.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 (191) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/ChimeSDKMessaging.ts +2 -1
  3. package/ChimeSDKMessagingClient.ts +2 -1
  4. package/README.md +2 -1
  5. package/dist/cjs/ChimeSDKMessaging.js +2 -1
  6. package/dist/cjs/ChimeSDKMessaging.js.map +1 -1
  7. package/dist/cjs/ChimeSDKMessagingClient.js +15 -14
  8. package/dist/cjs/ChimeSDKMessagingClient.js.map +1 -1
  9. package/dist/cjs/commands/BatchCreateChannelMembershipCommand.js +3 -3
  10. package/dist/cjs/commands/BatchCreateChannelMembershipCommand.js.map +1 -1
  11. package/dist/cjs/commands/CreateChannelBanCommand.js +3 -3
  12. package/dist/cjs/commands/CreateChannelBanCommand.js.map +1 -1
  13. package/dist/cjs/commands/CreateChannelCommand.js +3 -3
  14. package/dist/cjs/commands/CreateChannelCommand.js.map +1 -1
  15. package/dist/cjs/commands/CreateChannelMembershipCommand.js +3 -3
  16. package/dist/cjs/commands/CreateChannelMembershipCommand.js.map +1 -1
  17. package/dist/cjs/commands/CreateChannelModeratorCommand.js +3 -3
  18. package/dist/cjs/commands/CreateChannelModeratorCommand.js.map +1 -1
  19. package/dist/cjs/commands/DeleteChannelBanCommand.js +3 -3
  20. package/dist/cjs/commands/DeleteChannelBanCommand.js.map +1 -1
  21. package/dist/cjs/commands/DeleteChannelCommand.js +3 -3
  22. package/dist/cjs/commands/DeleteChannelCommand.js.map +1 -1
  23. package/dist/cjs/commands/DeleteChannelMembershipCommand.js +3 -3
  24. package/dist/cjs/commands/DeleteChannelMembershipCommand.js.map +1 -1
  25. package/dist/cjs/commands/DeleteChannelMessageCommand.js +3 -3
  26. package/dist/cjs/commands/DeleteChannelMessageCommand.js.map +1 -1
  27. package/dist/cjs/commands/DeleteChannelModeratorCommand.js +3 -3
  28. package/dist/cjs/commands/DeleteChannelModeratorCommand.js.map +1 -1
  29. package/dist/cjs/commands/DescribeChannelBanCommand.js +3 -3
  30. package/dist/cjs/commands/DescribeChannelBanCommand.js.map +1 -1
  31. package/dist/cjs/commands/DescribeChannelCommand.js +3 -3
  32. package/dist/cjs/commands/DescribeChannelCommand.js.map +1 -1
  33. package/dist/cjs/commands/DescribeChannelMembershipCommand.js +3 -3
  34. package/dist/cjs/commands/DescribeChannelMembershipCommand.js.map +1 -1
  35. package/dist/cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +3 -3
  36. package/dist/cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js.map +1 -1
  37. package/dist/cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +3 -3
  38. package/dist/cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js.map +1 -1
  39. package/dist/cjs/commands/DescribeChannelModeratorCommand.js +3 -3
  40. package/dist/cjs/commands/DescribeChannelModeratorCommand.js.map +1 -1
  41. package/dist/cjs/commands/GetChannelMessageCommand.js +3 -3
  42. package/dist/cjs/commands/GetChannelMessageCommand.js.map +1 -1
  43. package/dist/cjs/commands/GetMessagingSessionEndpointCommand.js +3 -3
  44. package/dist/cjs/commands/GetMessagingSessionEndpointCommand.js.map +1 -1
  45. package/dist/cjs/commands/ListChannelBansCommand.js +3 -3
  46. package/dist/cjs/commands/ListChannelBansCommand.js.map +1 -1
  47. package/dist/cjs/commands/ListChannelMembershipsCommand.js +3 -3
  48. package/dist/cjs/commands/ListChannelMembershipsCommand.js.map +1 -1
  49. package/dist/cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +3 -3
  50. package/dist/cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js.map +1 -1
  51. package/dist/cjs/commands/ListChannelMessagesCommand.js +3 -3
  52. package/dist/cjs/commands/ListChannelMessagesCommand.js.map +1 -1
  53. package/dist/cjs/commands/ListChannelModeratorsCommand.js +3 -3
  54. package/dist/cjs/commands/ListChannelModeratorsCommand.js.map +1 -1
  55. package/dist/cjs/commands/ListChannelsCommand.js +3 -3
  56. package/dist/cjs/commands/ListChannelsCommand.js.map +1 -1
  57. package/dist/cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +3 -3
  58. package/dist/cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js.map +1 -1
  59. package/dist/cjs/commands/RedactChannelMessageCommand.js +3 -3
  60. package/dist/cjs/commands/RedactChannelMessageCommand.js.map +1 -1
  61. package/dist/cjs/commands/SendChannelMessageCommand.js +3 -3
  62. package/dist/cjs/commands/SendChannelMessageCommand.js.map +1 -1
  63. package/dist/cjs/commands/UpdateChannelCommand.js +3 -3
  64. package/dist/cjs/commands/UpdateChannelCommand.js.map +1 -1
  65. package/dist/cjs/commands/UpdateChannelMessageCommand.js +3 -3
  66. package/dist/cjs/commands/UpdateChannelMessageCommand.js.map +1 -1
  67. package/dist/cjs/commands/UpdateChannelReadMarkerCommand.js +3 -3
  68. package/dist/cjs/commands/UpdateChannelReadMarkerCommand.js.map +1 -1
  69. package/dist/cjs/endpoints.js +1 -1
  70. package/dist/cjs/endpoints.js.map +1 -1
  71. package/dist/cjs/index.js +41 -41
  72. package/dist/cjs/index.js.map +1 -1
  73. package/dist/cjs/models/index.js +1 -1
  74. package/dist/cjs/models/index.js.map +1 -1
  75. package/dist/cjs/package.json +39 -39
  76. package/dist/cjs/protocols/Aws_restJson1.js +153 -153
  77. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  78. package/dist/cjs/runtimeConfig.browser.js +4 -4
  79. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  80. package/dist/cjs/runtimeConfig.js +8 -8
  81. package/dist/cjs/runtimeConfig.js.map +1 -1
  82. package/dist/cjs/runtimeConfig.native.js +1 -1
  83. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  84. package/dist/es/ChimeSDKMessaging.js +1 -7
  85. package/dist/es/ChimeSDKMessaging.js.map +1 -1
  86. package/dist/es/ChimeSDKMessagingClient.js +1 -12
  87. package/dist/es/ChimeSDKMessagingClient.js.map +1 -1
  88. package/dist/es/commands/BatchCreateChannelMembershipCommand.js +2 -27
  89. package/dist/es/commands/BatchCreateChannelMembershipCommand.js.map +1 -1
  90. package/dist/es/commands/CreateChannelBanCommand.js +2 -38
  91. package/dist/es/commands/CreateChannelBanCommand.js.map +1 -1
  92. package/dist/es/commands/CreateChannelCommand.js +2 -37
  93. package/dist/es/commands/CreateChannelCommand.js.map +1 -1
  94. package/dist/es/commands/CreateChannelMembershipCommand.js +2 -64
  95. package/dist/es/commands/CreateChannelMembershipCommand.js.map +1 -1
  96. package/dist/es/commands/CreateChannelModeratorCommand.js +2 -51
  97. package/dist/es/commands/CreateChannelModeratorCommand.js.map +1 -1
  98. package/dist/es/commands/DeleteChannelBanCommand.js +2 -33
  99. package/dist/es/commands/DeleteChannelBanCommand.js.map +1 -1
  100. package/dist/es/commands/DeleteChannelCommand.js +2 -34
  101. package/dist/es/commands/DeleteChannelCommand.js.map +1 -1
  102. package/dist/es/commands/DeleteChannelMembershipCommand.js +2 -33
  103. package/dist/es/commands/DeleteChannelMembershipCommand.js.map +1 -1
  104. package/dist/es/commands/DeleteChannelMessageCommand.js +2 -35
  105. package/dist/es/commands/DeleteChannelMessageCommand.js.map +1 -1
  106. package/dist/es/commands/DeleteChannelModeratorCommand.js +2 -33
  107. package/dist/es/commands/DeleteChannelModeratorCommand.js.map +1 -1
  108. package/dist/es/commands/DescribeChannelBanCommand.js +2 -34
  109. package/dist/es/commands/DescribeChannelBanCommand.js.map +1 -1
  110. package/dist/es/commands/DescribeChannelCommand.js +2 -35
  111. package/dist/es/commands/DescribeChannelCommand.js.map +1 -1
  112. package/dist/es/commands/DescribeChannelMembershipCommand.js +2 -32
  113. package/dist/es/commands/DescribeChannelMembershipCommand.js.map +1 -1
  114. package/dist/es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +2 -34
  115. package/dist/es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js.map +1 -1
  116. package/dist/es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +2 -34
  117. package/dist/es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js.map +1 -1
  118. package/dist/es/commands/DescribeChannelModeratorCommand.js +2 -32
  119. package/dist/es/commands/DescribeChannelModeratorCommand.js.map +1 -1
  120. package/dist/es/commands/GetChannelMessageCommand.js +2 -33
  121. package/dist/es/commands/GetChannelMessageCommand.js.map +1 -1
  122. package/dist/es/commands/GetMessagingSessionEndpointCommand.js +2 -27
  123. package/dist/es/commands/GetMessagingSessionEndpointCommand.js.map +1 -1
  124. package/dist/es/commands/ListChannelBansCommand.js +2 -33
  125. package/dist/es/commands/ListChannelBansCommand.js.map +1 -1
  126. package/dist/es/commands/ListChannelMembershipsCommand.js +2 -34
  127. package/dist/es/commands/ListChannelMembershipsCommand.js.map +1 -1
  128. package/dist/es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +2 -34
  129. package/dist/es/commands/ListChannelMembershipsForAppInstanceUserCommand.js.map +1 -1
  130. package/dist/es/commands/ListChannelMessagesCommand.js +2 -37
  131. package/dist/es/commands/ListChannelMessagesCommand.js.map +1 -1
  132. package/dist/es/commands/ListChannelModeratorsCommand.js +2 -32
  133. package/dist/es/commands/ListChannelModeratorsCommand.js.map +1 -1
  134. package/dist/es/commands/ListChannelsCommand.js +2 -48
  135. package/dist/es/commands/ListChannelsCommand.js.map +1 -1
  136. package/dist/es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +2 -33
  137. package/dist/es/commands/ListChannelsModeratedByAppInstanceUserCommand.js.map +1 -1
  138. package/dist/es/commands/RedactChannelMessageCommand.js +2 -34
  139. package/dist/es/commands/RedactChannelMessageCommand.js.map +1 -1
  140. package/dist/es/commands/SendChannelMessageCommand.js +2 -36
  141. package/dist/es/commands/SendChannelMessageCommand.js.map +1 -1
  142. package/dist/es/commands/UpdateChannelCommand.js +2 -34
  143. package/dist/es/commands/UpdateChannelCommand.js.map +1 -1
  144. package/dist/es/commands/UpdateChannelMessageCommand.js +2 -33
  145. package/dist/es/commands/UpdateChannelMessageCommand.js.map +1 -1
  146. package/dist/es/commands/UpdateChannelReadMarkerCommand.js +2 -33
  147. package/dist/es/commands/UpdateChannelReadMarkerCommand.js.map +1 -1
  148. package/dist/es/endpoints.js +1 -1
  149. package/dist/es/endpoints.js.map +1 -1
  150. package/dist/es/models/models_0.js +0 -246
  151. package/dist/es/models/models_0.js.map +1 -1
  152. package/dist/es/package.json +39 -39
  153. package/dist/es/pagination/ListChannelBansPaginator.js +16 -28
  154. package/dist/es/pagination/ListChannelBansPaginator.js.map +1 -1
  155. package/dist/es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +16 -28
  156. package/dist/es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js.map +1 -1
  157. package/dist/es/pagination/ListChannelMembershipsPaginator.js +16 -28
  158. package/dist/es/pagination/ListChannelMembershipsPaginator.js.map +1 -1
  159. package/dist/es/pagination/ListChannelMessagesPaginator.js +16 -28
  160. package/dist/es/pagination/ListChannelMessagesPaginator.js.map +1 -1
  161. package/dist/es/pagination/ListChannelModeratorsPaginator.js +16 -28
  162. package/dist/es/pagination/ListChannelModeratorsPaginator.js.map +1 -1
  163. package/dist/es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +16 -28
  164. package/dist/es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js.map +1 -1
  165. package/dist/es/pagination/ListChannelsPaginator.js +16 -28
  166. package/dist/es/pagination/ListChannelsPaginator.js.map +1 -1
  167. package/dist/es/protocols/Aws_restJson1.js +1079 -1084
  168. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  169. package/dist/es/runtimeConfig.browser.js +0 -3
  170. package/dist/es/runtimeConfig.browser.js.map +1 -1
  171. package/dist/es/runtimeConfig.js +0 -3
  172. package/dist/es/runtimeConfig.js.map +1 -1
  173. package/dist/es/runtimeConfig.native.js +0 -3
  174. package/dist/es/runtimeConfig.native.js.map +1 -1
  175. package/dist/es/runtimeConfig.shared.js +0 -3
  176. package/dist/es/runtimeConfig.shared.js.map +1 -1
  177. package/dist/types/ChimeSDKMessaging.d.ts +2 -1
  178. package/dist/types/ChimeSDKMessagingClient.d.ts +2 -1
  179. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  180. package/dist/types/runtimeConfig.d.ts +1 -0
  181. package/dist/types/runtimeConfig.native.d.ts +1 -0
  182. package/dist/types/ts3.4/ChimeSDKMessaging.d.ts +2 -1
  183. package/dist/types/ts3.4/ChimeSDKMessagingClient.d.ts +2 -1
  184. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  185. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  186. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  187. package/package.json +39 -39
  188. package/protocols/Aws_restJson1.ts +17 -15
  189. package/tsconfig.es.json +0 -2
  190. package/tsconfig.json +3 -5
  191. package/tsconfig.types.json +8 -0
@@ -3,45 +3,13 @@ import { RedactChannelMessageRequest, RedactChannelMessageResponse } from "../mo
3
3
  import { deserializeAws_restJson1RedactChannelMessageCommand, serializeAws_restJson1RedactChannelMessageCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Redacts message content, but not metadata. The message exists in the back end, but the
8
- * action returns null content, and the state shows as redacted.</p>
9
- *
10
- * <note>
11
- * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
12
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
13
- * the header.</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ChimeSDKMessagingClient, RedactChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
19
- * // const { ChimeSDKMessagingClient, RedactChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
20
- * const client = new ChimeSDKMessagingClient(config);
21
- * const command = new RedactChannelMessageCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link RedactChannelMessageCommandInput} for command's `input` shape.
26
- * @see {@link RedactChannelMessageCommandOutput} for command's `response` shape.
27
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var RedactChannelMessageCommand = /** @class */ (function (_super) {
6
+ var RedactChannelMessageCommand = (function (_super) {
31
7
  __extends(RedactChannelMessageCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function RedactChannelMessageCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  RedactChannelMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RedactChannelMessageCommand.js","sourceRoot":"","sources":["../../../commands/RedactChannelMessageCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IAAiD,+CAIhD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,qCAAqB,KAAuC;QAA5D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;QAG1D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
1
+ {"version":3,"file":"RedactChannelMessageCommand.js","sourceRoot":"","sources":["../../../commands/RedactChannelMessageCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,2BAA2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AAO,CAAC,CAAC;IAC3E,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
@@ -3,47 +3,13 @@ import { SendChannelMessageRequest, SendChannelMessageResponse } from "../models
3
3
  import { deserializeAws_restJson1SendChannelMessageCommand, serializeAws_restJson1SendChannelMessageCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Sends a message to a particular channel that the member is a part of.</p>
8
- *
9
- * <note>
10
- * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
11
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
12
- * the header.</p>
13
- *
14
- * <p>Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB of metadata.
15
- * <code>CONTROL</code> messages can contain 30 bytes of data and no metadata.</p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ChimeSDKMessagingClient, SendChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
21
- * // const { ChimeSDKMessagingClient, SendChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
22
- * const client = new ChimeSDKMessagingClient(config);
23
- * const command = new SendChannelMessageCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link SendChannelMessageCommandInput} for command's `input` shape.
28
- * @see {@link SendChannelMessageCommandOutput} for command's `response` shape.
29
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
- var SendChannelMessageCommand = /** @class */ (function (_super) {
6
+ var SendChannelMessageCommand = (function (_super) {
33
7
  __extends(SendChannelMessageCommand, _super);
34
- // Start section: command_properties
35
- // End section: command_properties
36
8
  function SendChannelMessageCommand(input) {
37
- var _this =
38
- // Start section: command_constructor
39
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
40
10
  _this.input = input;
41
11
  return _this;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  SendChannelMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
48
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SendChannelMessageCommand.js","sourceRoot":"","sources":["../../../commands/SendChannelMessageCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;IAA+C,6CAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,mCAAqB,KAAqC;QAA1D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;QAGxD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,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AKD,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
@@ -3,45 +3,13 @@ import { UpdateChannelRequest, UpdateChannelResponse } from "../models/models_0"
3
3
  import { deserializeAws_restJson1UpdateChannelCommand, serializeAws_restJson1UpdateChannelCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Update a channel's attributes.</p>
8
- * <p>
9
- * <b>Restriction</b>: You can't change a channel's privacy. </p>
10
- * <note>
11
- * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
12
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
13
- * the header.</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ChimeSDKMessagingClient, UpdateChannelCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
19
- * // const { ChimeSDKMessagingClient, UpdateChannelCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
20
- * const client = new ChimeSDKMessagingClient(config);
21
- * const command = new UpdateChannelCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link UpdateChannelCommandInput} for command's `input` shape.
26
- * @see {@link UpdateChannelCommandOutput} for command's `response` shape.
27
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var UpdateChannelCommand = /** @class */ (function (_super) {
6
+ var UpdateChannelCommand = (function (_super) {
31
7
  __extends(UpdateChannelCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function UpdateChannelCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  UpdateChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateChannelCommand.js","sourceRoot":"","sources":["../../../commands/UpdateChannelCommand.ts"],"names":[],"m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,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,qBAAqB,CAAC,kBAAkB;SACnE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
@@ -3,44 +3,13 @@ import { UpdateChannelMessageRequest, UpdateChannelMessageResponse } from "../mo
3
3
  import { deserializeAws_restJson1UpdateChannelMessageCommand, serializeAws_restJson1UpdateChannelMessageCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Updates the content of a message.</p>
8
- *
9
- * <note>
10
- * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
11
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
12
- * the header.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ChimeSDKMessagingClient, UpdateChannelMessageCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
18
- * // const { ChimeSDKMessagingClient, UpdateChannelMessageCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
19
- * const client = new ChimeSDKMessagingClient(config);
20
- * const command = new UpdateChannelMessageCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UpdateChannelMessageCommandInput} for command's `input` shape.
25
- * @see {@link UpdateChannelMessageCommandOutput} for command's `response` shape.
26
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- var UpdateChannelMessageCommand = /** @class */ (function (_super) {
6
+ var UpdateChannelMessageCommand = (function (_super) {
30
7
  __extends(UpdateChannelMessageCommand, _super);
31
- // Start section: command_properties
32
- // End section: command_properties
33
8
  function UpdateChannelMessageCommand(input) {
34
- var _this =
35
- // Start section: command_constructor
36
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
37
10
  _this.input = input;
38
11
  return _this;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  UpdateChannelMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
45
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateChannelMessageCommand.js","sourceRoot":"","sources":["../../../commands/UpdateChannelMessageCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;IAAiD,+CAIhD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,qCAAqB,KAAuC;QAA5D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CA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AiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
@@ -3,44 +3,13 @@ import { UpdateChannelReadMarkerRequest, UpdateChannelReadMarkerResponse } from
3
3
  import { deserializeAws_restJson1UpdateChannelReadMarkerCommand, serializeAws_restJson1UpdateChannelReadMarkerCommand, } from "../protocols/Aws_restJson1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>The details of the time when a user last read messages in a channel.</p>
8
- *
9
- * <note>
10
- * <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
11
- * <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
12
- * the header.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ChimeSDKMessagingClient, UpdateChannelReadMarkerCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
18
- * // const { ChimeSDKMessagingClient, UpdateChannelReadMarkerCommand } = require("@aws-sdk/client-chime-sdk-messaging"); // CommonJS import
19
- * const client = new ChimeSDKMessagingClient(config);
20
- * const command = new UpdateChannelReadMarkerCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UpdateChannelReadMarkerCommandInput} for command's `input` shape.
25
- * @see {@link UpdateChannelReadMarkerCommandOutput} for command's `response` shape.
26
- * @see {@link ChimeSDKMessagingClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- var UpdateChannelReadMarkerCommand = /** @class */ (function (_super) {
6
+ var UpdateChannelReadMarkerCommand = (function (_super) {
30
7
  __extends(UpdateChannelReadMarkerCommand, _super);
31
- // Start section: command_properties
32
- // End section: command_properties
33
8
  function UpdateChannelReadMarkerCommand(input) {
34
- var _this =
35
- // Start section: command_constructor
36
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
37
10
  _this.input = input;
38
11
  return _this;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  UpdateChannelReadMarkerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
45
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateChannelReadMarkerCommand.js","sourceRoot":"","sources":["../../../commands/UpdateChannelReadMarkerCommand.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;IAAoD,kDAInD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,wCAAqB,KAA0C;QAA/D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqC;;QAG7D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,0DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QAC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IAI/D,CAAC;IAKD,0DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAoD,EACpD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,IAAM,WAAW,GAAG,gCAAgC,CAAC;QACrD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8BAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,+BAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,kDAAS,GAAjB,UAAkB,KAA0C,EAAE,OAAuB;QACnF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
@@ -53,7 +53,7 @@ var partitionHash = {
53
53
  };
54
54
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
55
55
  return __generator(this, function (_a) {
56
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "chime", regionHash: regionHash, partitionHash: partitionHash }))];
56
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "chime", regionHash: regionHash, partitionHash: partitionHash }))];
57
57
  });
58
58
  }); };
59
59
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,8CAA8C;QACxD,aAAa,EAAE,WAAW;KAC3B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,wCAAwC;KACnD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,2CAA2C;KACtD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,qCAAqC;KAChD;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,wCAAwC;KACnD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,wCAAwC;KACnD;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,y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