@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
@@ -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 { ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelMembershipsCommand, se_ListChannelMembershipsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelMembershipsCommand 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, ListChannelMembershipsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelMembershipsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelMembershipsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelMembershipsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelMemberships",
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_ListChannelMembershipsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelMembershipsCommand(output, context);
47
- }
8
+ export class ListChannelMembershipsCommand 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", "ListChannelMemberships", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelMembershipsCommand")
21
+ .f(ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelMembershipsCommand)
23
+ .de(de_ListChannelMembershipsCommand)
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 { ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelMembershipsForAppInstanceUserCommand, se_ListChannelMembershipsForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelMembershipsForAppInstanceUserCommand 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, ListChannelMembershipsForAppInstanceUserCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelMembershipsForAppInstanceUserCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelMembershipsForAppInstanceUser",
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_ListChannelMembershipsForAppInstanceUserCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelMembershipsForAppInstanceUserCommand(output, context);
47
- }
8
+ export class ListChannelMembershipsForAppInstanceUserCommand 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", "ListChannelMembershipsForAppInstanceUser", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelMembershipsForAppInstanceUserCommand")
21
+ .f(ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelMembershipsForAppInstanceUserCommand)
23
+ .de(de_ListChannelMembershipsForAppInstanceUserCommand)
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 { ListChannelMessagesRequestFilterSensitiveLog, ListChannelMessagesResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelMessagesCommand, se_ListChannelMessagesCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelMessagesCommand 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, ListChannelMessagesCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelMessagesCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelMessagesRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelMessagesResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelMessages",
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_ListChannelMessagesCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelMessagesCommand(output, context);
47
- }
8
+ export class ListChannelMessagesCommand 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", "ListChannelMessages", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelMessagesCommand")
21
+ .f(ListChannelMessagesRequestFilterSensitiveLog, ListChannelMessagesResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelMessagesCommand)
23
+ .de(de_ListChannelMessagesCommand)
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 { ListChannelModeratorsRequestFilterSensitiveLog, ListChannelModeratorsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelModeratorsCommand, se_ListChannelModeratorsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelModeratorsCommand 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, ListChannelModeratorsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelModeratorsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelModeratorsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelModeratorsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelModerators",
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_ListChannelModeratorsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelModeratorsCommand(output, context);
47
- }
8
+ export class ListChannelModeratorsCommand 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", "ListChannelModerators", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelModeratorsCommand")
21
+ .f(ListChannelModeratorsRequestFilterSensitiveLog, ListChannelModeratorsResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelModeratorsCommand)
23
+ .de(de_ListChannelModeratorsCommand)
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 { ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog, ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelsAssociatedWithChannelFlowCommand, se_ListChannelsAssociatedWithChannelFlowCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelsAssociatedWithChannelFlowCommand 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, ListChannelsAssociatedWithChannelFlowCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelsAssociatedWithChannelFlowCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelsAssociatedWithChannelFlow",
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_ListChannelsAssociatedWithChannelFlowCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelsAssociatedWithChannelFlowCommand(output, context);
47
- }
8
+ export class ListChannelsAssociatedWithChannelFlowCommand 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", "ListChannelsAssociatedWithChannelFlow", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelsAssociatedWithChannelFlowCommand")
21
+ .f(ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog, ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelsAssociatedWithChannelFlowCommand)
23
+ .de(de_ListChannelsAssociatedWithChannelFlowCommand)
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 { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelsCommand 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, ListChannelsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannels",
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_ListChannelsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelsCommand(output, context);
47
- }
8
+ export class ListChannelsCommand 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", "ListChannels", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelsCommand")
21
+ .f(ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelsCommand)
23
+ .de(de_ListChannelsCommand)
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 { ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListChannelsModeratedByAppInstanceUserCommand, se_ListChannelsModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListChannelsModeratedByAppInstanceUserCommand 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, ListChannelsModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListChannelsModeratedByAppInstanceUserCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListChannelsModeratedByAppInstanceUser",
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_ListChannelsModeratedByAppInstanceUserCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListChannelsModeratedByAppInstanceUserCommand(output, context);
47
- }
8
+ export class ListChannelsModeratedByAppInstanceUserCommand 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", "ListChannelsModeratedByAppInstanceUser", {})
20
+ .n("ChimeSDKMessagingClient", "ListChannelsModeratedByAppInstanceUserCommand")
21
+ .f(ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog)
22
+ .ser(se_ListChannelsModeratedByAppInstanceUserCommand)
23
+ .de(de_ListChannelsModeratedByAppInstanceUserCommand)
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 { ListSubChannelsRequestFilterSensitiveLog, ListSubChannelsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListSubChannelsCommand, se_ListSubChannelsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListSubChannelsCommand 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, ListSubChannelsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListSubChannelsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ListSubChannelsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: ListSubChannelsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListSubChannels",
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_ListSubChannelsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListSubChannelsCommand(output, context);
47
- }
8
+ export class ListSubChannelsCommand 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", "ListSubChannels", {})
20
+ .n("ChimeSDKMessagingClient", "ListSubChannelsCommand")
21
+ .f(ListSubChannelsRequestFilterSensitiveLog, ListSubChannelsResponseFilterSensitiveLog)
22
+ .ser(se_ListSubChannelsCommand)
23
+ .de(de_ListSubChannelsCommand)
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 { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "ListTagsForResourceCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListTagsForResourceCommand(output, context);
47
- }
8
+ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
20
+ .n("ChimeSDKMessagingClient", "ListTagsForResourceCommand")
21
+ .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
22
+ .ser(se_ListTagsForResourceCommand)
23
+ .de(de_ListTagsForResourceCommand)
24
+ .build() {
48
25
  }