@aws-sdk/client-chime-sdk-messaging 3.478.0 → 3.484.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 (209) hide show
  1. package/dist-cjs/commands/AssociateChannelFlowCommand.js +18 -41
  2. package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +18 -41
  3. package/dist-cjs/commands/ChannelFlowCallbackCommand.js +18 -41
  4. package/dist-cjs/commands/CreateChannelBanCommand.js +18 -41
  5. package/dist-cjs/commands/CreateChannelCommand.js +18 -41
  6. package/dist-cjs/commands/CreateChannelFlowCommand.js +18 -41
  7. package/dist-cjs/commands/CreateChannelMembershipCommand.js +18 -41
  8. package/dist-cjs/commands/CreateChannelModeratorCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteChannelBanCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteChannelFlowCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteChannelMembershipCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteChannelMessageCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteChannelModeratorCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeChannelBanCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeChannelCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeChannelFlowCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeChannelMembershipCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeChannelModeratorCommand.js +18 -41
  23. package/dist-cjs/commands/DisassociateChannelFlowCommand.js +18 -41
  24. package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +18 -41
  25. package/dist-cjs/commands/GetChannelMessageCommand.js +18 -41
  26. package/dist-cjs/commands/GetChannelMessageStatusCommand.js +18 -41
  27. package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +18 -41
  28. package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +18 -41
  29. package/dist-cjs/commands/ListChannelBansCommand.js +18 -41
  30. package/dist-cjs/commands/ListChannelFlowsCommand.js +18 -41
  31. package/dist-cjs/commands/ListChannelMembershipsCommand.js +18 -41
  32. package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +18 -41
  33. package/dist-cjs/commands/ListChannelMessagesCommand.js +18 -41
  34. package/dist-cjs/commands/ListChannelModeratorsCommand.js +18 -41
  35. package/dist-cjs/commands/ListChannelsAssociatedWithChannelFlowCommand.js +18 -41
  36. package/dist-cjs/commands/ListChannelsCommand.js +18 -41
  37. package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +18 -41
  38. package/dist-cjs/commands/ListSubChannelsCommand.js +18 -41
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  40. package/dist-cjs/commands/PutChannelExpirationSettingsCommand.js +18 -41
  41. package/dist-cjs/commands/PutChannelMembershipPreferencesCommand.js +18 -41
  42. package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +18 -41
  43. package/dist-cjs/commands/RedactChannelMessageCommand.js +18 -41
  44. package/dist-cjs/commands/SearchChannelsCommand.js +18 -41
  45. package/dist-cjs/commands/SendChannelMessageCommand.js +18 -41
  46. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  47. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateChannelFlowCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateChannelMessageCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +18 -41
  52. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  53. package/dist-es/commands/AssociateChannelFlowCommand.js +18 -41
  54. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +18 -41
  55. package/dist-es/commands/ChannelFlowCallbackCommand.js +18 -41
  56. package/dist-es/commands/CreateChannelBanCommand.js +18 -41
  57. package/dist-es/commands/CreateChannelCommand.js +18 -41
  58. package/dist-es/commands/CreateChannelFlowCommand.js +18 -41
  59. package/dist-es/commands/CreateChannelMembershipCommand.js +18 -41
  60. package/dist-es/commands/CreateChannelModeratorCommand.js +18 -41
  61. package/dist-es/commands/DeleteChannelBanCommand.js +18 -41
  62. package/dist-es/commands/DeleteChannelCommand.js +18 -41
  63. package/dist-es/commands/DeleteChannelFlowCommand.js +18 -41
  64. package/dist-es/commands/DeleteChannelMembershipCommand.js +18 -41
  65. package/dist-es/commands/DeleteChannelMessageCommand.js +18 -41
  66. package/dist-es/commands/DeleteChannelModeratorCommand.js +18 -41
  67. package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +18 -41
  68. package/dist-es/commands/DescribeChannelBanCommand.js +18 -41
  69. package/dist-es/commands/DescribeChannelCommand.js +18 -41
  70. package/dist-es/commands/DescribeChannelFlowCommand.js +18 -41
  71. package/dist-es/commands/DescribeChannelMembershipCommand.js +18 -41
  72. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +18 -41
  73. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +18 -41
  74. package/dist-es/commands/DescribeChannelModeratorCommand.js +18 -41
  75. package/dist-es/commands/DisassociateChannelFlowCommand.js +18 -41
  76. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +18 -41
  77. package/dist-es/commands/GetChannelMessageCommand.js +18 -41
  78. package/dist-es/commands/GetChannelMessageStatusCommand.js +18 -41
  79. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +18 -41
  80. package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +18 -41
  81. package/dist-es/commands/ListChannelBansCommand.js +18 -41
  82. package/dist-es/commands/ListChannelFlowsCommand.js +18 -41
  83. package/dist-es/commands/ListChannelMembershipsCommand.js +18 -41
  84. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +18 -41
  85. package/dist-es/commands/ListChannelMessagesCommand.js +18 -41
  86. package/dist-es/commands/ListChannelModeratorsCommand.js +18 -41
  87. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +18 -41
  88. package/dist-es/commands/ListChannelsCommand.js +18 -41
  89. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +18 -41
  90. package/dist-es/commands/ListSubChannelsCommand.js +18 -41
  91. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  92. package/dist-es/commands/PutChannelExpirationSettingsCommand.js +18 -41
  93. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +18 -41
  94. package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +18 -41
  95. package/dist-es/commands/RedactChannelMessageCommand.js +18 -41
  96. package/dist-es/commands/SearchChannelsCommand.js +18 -41
  97. package/dist-es/commands/SendChannelMessageCommand.js +18 -41
  98. package/dist-es/commands/TagResourceCommand.js +18 -41
  99. package/dist-es/commands/UntagResourceCommand.js +18 -41
  100. package/dist-es/commands/UpdateChannelCommand.js +18 -41
  101. package/dist-es/commands/UpdateChannelFlowCommand.js +18 -41
  102. package/dist-es/commands/UpdateChannelMessageCommand.js +18 -41
  103. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +18 -41
  104. package/dist-es/endpoint/EndpointParameters.js +6 -0
  105. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +6 -21
  106. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +6 -21
  107. package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateChannelBanCommand.d.ts +6 -21
  109. package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
  110. package/dist-types/commands/CreateChannelFlowCommand.d.ts +6 -21
  111. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +6 -21
  112. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +6 -21
  113. package/dist-types/commands/DeleteChannelBanCommand.d.ts +6 -21
  114. package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
  115. package/dist-types/commands/DeleteChannelFlowCommand.d.ts +6 -21
  116. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +6 -21
  117. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +6 -21
  118. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +6 -21
  119. package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +6 -21
  120. package/dist-types/commands/DescribeChannelBanCommand.d.ts +6 -21
  121. package/dist-types/commands/DescribeChannelCommand.d.ts +6 -21
  122. package/dist-types/commands/DescribeChannelFlowCommand.d.ts +6 -21
  123. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +6 -21
  124. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +6 -21
  125. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +6 -21
  126. package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +6 -21
  127. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +6 -21
  128. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +6 -21
  129. package/dist-types/commands/GetChannelMessageCommand.d.ts +6 -21
  130. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +6 -21
  131. package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +6 -21
  132. package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +6 -21
  133. package/dist-types/commands/ListChannelBansCommand.d.ts +6 -21
  134. package/dist-types/commands/ListChannelFlowsCommand.d.ts +6 -21
  135. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +6 -21
  136. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +6 -21
  137. package/dist-types/commands/ListChannelMessagesCommand.d.ts +6 -21
  138. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +6 -21
  139. package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +6 -21
  140. package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
  141. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +6 -21
  142. package/dist-types/commands/ListSubChannelsCommand.d.ts +6 -21
  143. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  144. package/dist-types/commands/PutChannelExpirationSettingsCommand.d.ts +6 -21
  145. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +6 -21
  146. package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +6 -21
  147. package/dist-types/commands/RedactChannelMessageCommand.d.ts +6 -21
  148. package/dist-types/commands/SearchChannelsCommand.d.ts +6 -21
  149. package/dist-types/commands/SendChannelMessageCommand.d.ts +6 -21
  150. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  151. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  152. package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
  153. package/dist-types/commands/UpdateChannelFlowCommand.d.ts +6 -21
  154. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +6 -21
  155. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +6 -21
  156. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  157. package/dist-types/ts3.4/commands/AssociateChannelFlowCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/BatchCreateChannelMembershipCommand.d.ts +12 -24
  159. package/dist-types/ts3.4/commands/ChannelFlowCallbackCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/CreateChannelBanCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/CreateChannelFlowCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/CreateChannelMembershipCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/CreateChannelModeratorCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/DeleteChannelBanCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/DeleteChannelFlowCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DeleteChannelMembershipCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/DeleteChannelMessageCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/DeleteChannelModeratorCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/DescribeChannelBanCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/DescribeChannelFlowCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/DescribeChannelMembershipCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DescribeChannelModeratorCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DisassociateChannelFlowCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/GetChannelMembershipPreferencesCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/GetChannelMessageCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/GetChannelMessageStatusCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/GetMessagingSessionEndpointCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/ListChannelBansCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/ListChannelFlowsCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/ListChannelMembershipsCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/ListChannelMessagesCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/ListChannelModeratorsCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/ListSubChannelsCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/PutChannelMembershipPreferencesCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/RedactChannelMessageCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/SearchChannelsCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/SendChannelMessageCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/UpdateChannelFlowCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/UpdateChannelMessageCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/UpdateChannelReadMarkerCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  209. package/package.json +11 -11
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeChannelModeratorCommand, se_DescribeChannelModeratorCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeChannelModeratorCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelModeratorCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "DescribeChannelModeratorCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: DescribeChannelModeratorResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "DescribeChannelModerator",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeChannelModeratorCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeChannelModeratorCommand(output, context);
47
- }
8
+ export class DescribeChannelModeratorCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ChimeMessagingService", "DescribeChannelModerator", {})
20
+ .n("ChimeSDKMessagingClient", "DescribeChannelModeratorCommand")
21
+ .f(void 0, DescribeChannelModeratorResponseFilterSensitiveLog)
22
+ .ser(se_DescribeChannelModeratorCommand)
23
+ .de(de_DescribeChannelModeratorCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DisassociateChannelFlowCommand, se_DisassociateChannelFlowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DisassociateChannelFlowCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateChannelFlowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ChimeSDKMessagingClient";
26
- const commandName = "DisassociateChannelFlowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ChimeMessagingService",
35
- operation: "DisassociateChannelFlow",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DisassociateChannelFlowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DisassociateChannelFlowCommand(output, context);
46
- }
7
+ export class DisassociateChannelFlowCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ChimeMessagingService", "DisassociateChannelFlow", {})
19
+ .n("ChimeSDKMessagingClient", "DisassociateChannelFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisassociateChannelFlowCommand)
22
+ .de(de_DisassociateChannelFlowCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_GetChannelMembershipPreferencesCommand, se_GetChannelMembershipPreferencesCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class GetChannelMembershipPreferencesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "GetChannelMembershipPreferencesCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: GetChannelMembershipPreferencesResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "GetChannelMembershipPreferences",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetChannelMembershipPreferencesCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetChannelMembershipPreferencesCommand(output, context);
47
- }
8
+ export class GetChannelMembershipPreferencesCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ChimeMessagingService", "GetChannelMembershipPreferences", {})
20
+ .n("ChimeSDKMessagingClient", "GetChannelMembershipPreferencesCommand")
21
+ .f(void 0, GetChannelMembershipPreferencesResponseFilterSensitiveLog)
22
+ .ser(se_GetChannelMembershipPreferencesCommand)
23
+ .de(de_GetChannelMembershipPreferencesCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { GetChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_GetChannelMessageCommand, se_GetChannelMessageCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class GetChannelMessageCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelMessageCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "GetChannelMessageCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: GetChannelMessageResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "GetChannelMessage",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetChannelMessageCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetChannelMessageCommand(output, context);
47
- }
8
+ export class GetChannelMessageCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ChimeMessagingService", "GetChannelMessage", {})
20
+ .n("ChimeSDKMessagingClient", "GetChannelMessageCommand")
21
+ .f(void 0, GetChannelMessageResponseFilterSensitiveLog)
22
+ .ser(se_GetChannelMessageCommand)
23
+ .de(de_GetChannelMessageCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetChannelMessageStatusCommand, se_GetChannelMessageStatusCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetChannelMessageStatusCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelMessageStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ChimeSDKMessagingClient";
26
- const commandName = "GetChannelMessageStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ChimeMessagingService",
35
- operation: "GetChannelMessageStatus",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetChannelMessageStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetChannelMessageStatusCommand(output, context);
46
- }
7
+ export class GetChannelMessageStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ChimeMessagingService", "GetChannelMessageStatus", {})
19
+ .n("ChimeSDKMessagingClient", "GetChannelMessageStatusCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetChannelMessageStatusCommand)
22
+ .de(de_GetChannelMessageStatusCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetMessagingSessionEndpointCommand, se_GetMessagingSessionEndpointCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetMessagingSessionEndpointCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetMessagingSessionEndpointCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ChimeSDKMessagingClient";
26
- const commandName = "GetMessagingSessionEndpointCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ChimeMessagingService",
35
- operation: "GetMessagingSessionEndpoint",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetMessagingSessionEndpointCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMessagingSessionEndpointCommand(output, context);
46
- }
7
+ export class GetMessagingSessionEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ChimeMessagingService", "GetMessagingSessionEndpoint", {})
19
+ .n("ChimeSDKMessagingClient", "GetMessagingSessionEndpointCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMessagingSessionEndpointCommand)
22
+ .de(de_GetMessagingSessionEndpointCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetMessagingStreamingConfigurationsCommand, se_GetMessagingStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetMessagingStreamingConfigurationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ChimeSDKMessagingClient";
26
- const commandName = "GetMessagingStreamingConfigurationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ChimeMessagingService",
35
- operation: "GetMessagingStreamingConfigurations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetMessagingStreamingConfigurationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMessagingStreamingConfigurationsCommand(output, context);
46
- }
7
+ export class GetMessagingStreamingConfigurationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ChimeMessagingService", "GetMessagingStreamingConfigurations", {})
19
+ .n("ChimeSDKMessagingClient", "GetMessagingStreamingConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMessagingStreamingConfigurationsCommand)
22
+ .de(de_GetMessagingStreamingConfigurationsCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelBansCommand, se_ListChannelBansCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelBansCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelBansCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelBansCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelBansRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelBansResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelBans",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListChannelBansCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelBansCommand(output, context);
47
- }
8
+ export class ListChannelBansCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ChimeMessagingService", "ListChannelBans", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelBansCommand")
21
+ .f(ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelBansCommand)
23
+ .de(de_ListChannelBansCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ListChannelFlowsRequestFilterSensitiveLog, ListChannelFlowsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelFlowsCommand, se_ListChannelFlowsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelFlowsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelFlowsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelFlowsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelFlowsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelFlowsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelFlows",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListChannelFlowsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelFlowsCommand(output, context);
47
- }
8
+ export class ListChannelFlowsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ChimeMessagingService", "ListChannelFlows", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelFlowsCommand")
21
+ .f(ListChannelFlowsRequestFilterSensitiveLog, ListChannelFlowsResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelFlowsCommand)
23
+ .de(de_ListChannelFlowsCommand)
24
+ .build() {
48
25
  }