@aws-sdk/client-chime-sdk-messaging 3.478.0 → 3.481.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 +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetMessagingStreamingConfigurationsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "ChimeSDKMessagingClient";
29
- const commandName = "GetMessagingStreamingConfigurationsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ChimeMessagingService",
38
- operation: "GetMessagingStreamingConfigurations",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetMessagingStreamingConfigurationsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetMessagingStreamingConfigurationsCommand)(output, context);
49
- }
10
+ class GetMessagingStreamingConfigurationsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ChimeMessagingService", "GetMessagingStreamingConfigurations", {})
22
+ .n("ChimeSDKMessagingClient", "GetMessagingStreamingConfigurationsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetMessagingStreamingConfigurationsCommand)
25
+ .de(Aws_restJson1_1.de_GetMessagingStreamingConfigurationsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetMessagingStreamingConfigurationsCommand = GetMessagingStreamingConfigurationsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelBansCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelBansCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelBansCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelBansRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelBansResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannelBans",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelBansCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelBansCommand)(output, context);
50
- }
11
+ class ListChannelBansCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannelBans", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelBansCommand")
24
+ .f(models_0_1.ListChannelBansRequestFilterSensitiveLog, models_0_1.ListChannelBansResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelBansCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelBansCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelBansCommand = ListChannelBansCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelFlowsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelFlowsCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelFlowsCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelFlowsRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelFlowsResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannelFlows",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelFlowsCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelFlowsCommand)(output, context);
50
- }
11
+ class ListChannelFlowsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannelFlows", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelFlowsCommand")
24
+ .f(models_0_1.ListChannelFlowsRequestFilterSensitiveLog, models_0_1.ListChannelFlowsResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelFlowsCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelFlowsCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelFlowsCommand = ListChannelFlowsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelMembershipsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelMembershipsCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelMembershipsCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelMembershipsRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelMembershipsResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannelMemberships",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelMembershipsCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelMembershipsCommand)(output, context);
50
- }
11
+ class ListChannelMembershipsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannelMemberships", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelMembershipsCommand")
24
+ .f(models_0_1.ListChannelMembershipsRequestFilterSensitiveLog, models_0_1.ListChannelMembershipsResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelMembershipsCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelMembershipsCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelMembershipsCommand = ListChannelMembershipsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelMembershipsForAppInstanceUserCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelMembershipsForAppInstanceUserCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelMembershipsForAppInstanceUserCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannelMembershipsForAppInstanceUser",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelMembershipsForAppInstanceUserCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelMembershipsForAppInstanceUserCommand)(output, context);
50
- }
11
+ class ListChannelMembershipsForAppInstanceUserCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannelMembershipsForAppInstanceUser", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelMembershipsForAppInstanceUserCommand")
24
+ .f(models_0_1.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, models_0_1.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelMembershipsForAppInstanceUserCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelMembershipsForAppInstanceUserCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelMembershipsForAppInstanceUserCommand = ListChannelMembershipsForAppInstanceUserCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelMessagesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelMessagesCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelMessagesCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelMessagesRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelMessagesResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannelMessages",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelMessagesCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelMessagesCommand)(output, context);
50
- }
11
+ class ListChannelMessagesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannelMessages", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelMessagesCommand")
24
+ .f(models_0_1.ListChannelMessagesRequestFilterSensitiveLog, models_0_1.ListChannelMessagesResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelMessagesCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelMessagesCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelMessagesCommand = ListChannelMessagesCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelModeratorsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelModeratorsCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelModeratorsCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelModeratorsRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelModeratorsResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannelModerators",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelModeratorsCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelModeratorsCommand)(output, context);
50
- }
11
+ class ListChannelModeratorsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannelModerators", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelModeratorsCommand")
24
+ .f(models_0_1.ListChannelModeratorsRequestFilterSensitiveLog, models_0_1.ListChannelModeratorsResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelModeratorsCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelModeratorsCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelModeratorsCommand = ListChannelModeratorsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelsAssociatedWithChannelFlowCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelsAssociatedWithChannelFlowCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelsAssociatedWithChannelFlowCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannelsAssociatedWithChannelFlow",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelsAssociatedWithChannelFlowCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelsAssociatedWithChannelFlowCommand)(output, context);
50
- }
11
+ class ListChannelsAssociatedWithChannelFlowCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannelsAssociatedWithChannelFlow", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelsAssociatedWithChannelFlowCommand")
24
+ .f(models_0_1.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog, models_0_1.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelsAssociatedWithChannelFlowCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelsAssociatedWithChannelFlowCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelsAssociatedWithChannelFlowCommand = ListChannelsAssociatedWithChannelFlowCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class ListChannelsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListChannelsCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "ChimeSDKMessagingClient";
30
- const commandName = "ListChannelsCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.ListChannelsRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.ListChannelsResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "ChimeMessagingService",
39
- operation: "ListChannels",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_ListChannelsCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_ListChannelsCommand)(output, context);
50
- }
11
+ class ListChannelsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("ChimeMessagingService", "ListChannels", {})
23
+ .n("ChimeSDKMessagingClient", "ListChannelsCommand")
24
+ .f(models_0_1.ListChannelsRequestFilterSensitiveLog, models_0_1.ListChannelsResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_ListChannelsCommand)
26
+ .de(Aws_restJson1_1.de_ListChannelsCommand)
27
+ .build() {
51
28
  }
52
29
  exports.ListChannelsCommand = ListChannelsCommand;