@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,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_PutChannelExpirationSettingsCommand, se_PutChannelExpirationSettingsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PutChannelExpirationSettingsCommand 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, PutChannelExpirationSettingsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ChimeSDKMessagingClient";
26
- const commandName = "PutChannelExpirationSettingsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ChimeMessagingService",
35
- operation: "PutChannelExpirationSettings",
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_PutChannelExpirationSettingsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutChannelExpirationSettingsCommand(output, context);
46
- }
7
+ export class PutChannelExpirationSettingsCommand 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", "PutChannelExpirationSettings", {})
19
+ .n("ChimeSDKMessagingClient", "PutChannelExpirationSettingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutChannelExpirationSettingsCommand)
22
+ .de(de_PutChannelExpirationSettingsCommand)
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 { PutChannelMembershipPreferencesRequestFilterSensitiveLog, PutChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_PutChannelMembershipPreferencesCommand, se_PutChannelMembershipPreferencesCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class PutChannelMembershipPreferencesCommand 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, PutChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "PutChannelMembershipPreferencesCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: PutChannelMembershipPreferencesRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: PutChannelMembershipPreferencesResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "PutChannelMembershipPreferences",
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_PutChannelMembershipPreferencesCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_PutChannelMembershipPreferencesCommand(output, context);
47
- }
8
+ export class PutChannelMembershipPreferencesCommand 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", "PutChannelMembershipPreferences", {})
20
+ .n("ChimeSDKMessagingClient", "PutChannelMembershipPreferencesCommand")
21
+ .f(PutChannelMembershipPreferencesRequestFilterSensitiveLog, PutChannelMembershipPreferencesResponseFilterSensitiveLog)
22
+ .ser(se_PutChannelMembershipPreferencesCommand)
23
+ .de(de_PutChannelMembershipPreferencesCommand)
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_PutMessagingStreamingConfigurationsCommand, se_PutMessagingStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PutMessagingStreamingConfigurationsCommand 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, PutMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ChimeSDKMessagingClient";
26
- const commandName = "PutMessagingStreamingConfigurationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ChimeMessagingService",
35
- operation: "PutMessagingStreamingConfigurations",
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_PutMessagingStreamingConfigurationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutMessagingStreamingConfigurationsCommand(output, context);
46
- }
7
+ export class PutMessagingStreamingConfigurationsCommand 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", "PutMessagingStreamingConfigurations", {})
19
+ .n("ChimeSDKMessagingClient", "PutMessagingStreamingConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutMessagingStreamingConfigurationsCommand)
22
+ .de(de_PutMessagingStreamingConfigurationsCommand)
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_RedactChannelMessageCommand, se_RedactChannelMessageCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class RedactChannelMessageCommand 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, RedactChannelMessageCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ChimeSDKMessagingClient";
26
- const commandName = "RedactChannelMessageCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ChimeMessagingService",
35
- operation: "RedactChannelMessage",
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_RedactChannelMessageCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RedactChannelMessageCommand(output, context);
46
- }
7
+ export class RedactChannelMessageCommand 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", "RedactChannelMessage", {})
19
+ .n("ChimeSDKMessagingClient", "RedactChannelMessageCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RedactChannelMessageCommand)
22
+ .de(de_RedactChannelMessageCommand)
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 { SearchChannelsRequestFilterSensitiveLog, SearchChannelsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_SearchChannelsCommand, se_SearchChannelsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class SearchChannelsCommand 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, SearchChannelsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "SearchChannelsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: SearchChannelsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: SearchChannelsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "SearchChannels",
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_SearchChannelsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_SearchChannelsCommand(output, context);
47
- }
8
+ export class SearchChannelsCommand 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", "SearchChannels", {})
20
+ .n("ChimeSDKMessagingClient", "SearchChannelsCommand")
21
+ .f(SearchChannelsRequestFilterSensitiveLog, SearchChannelsResponseFilterSensitiveLog)
22
+ .ser(se_SearchChannelsCommand)
23
+ .de(de_SearchChannelsCommand)
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 { SendChannelMessageRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_SendChannelMessageCommand, se_SendChannelMessageCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class SendChannelMessageCommand 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, SendChannelMessageCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "SendChannelMessageCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: SendChannelMessageRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "SendChannelMessage",
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_SendChannelMessageCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_SendChannelMessageCommand(output, context);
47
- }
8
+ export class SendChannelMessageCommand 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", "SendChannelMessage", {})
20
+ .n("ChimeSDKMessagingClient", "SendChannelMessageCommand")
21
+ .f(SendChannelMessageRequestFilterSensitiveLog, void 0)
22
+ .ser(se_SendChannelMessageCommand)
23
+ .de(de_SendChannelMessageCommand)
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 { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "TagResourceCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "TagResource",
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_TagResourceCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_TagResourceCommand(output, context);
47
- }
8
+ export class TagResourceCommand 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", "TagResource", {})
20
+ .n("ChimeSDKMessagingClient", "TagResourceCommand")
21
+ .f(TagResourceRequestFilterSensitiveLog, void 0)
22
+ .ser(se_TagResourceCommand)
23
+ .de(de_TagResourceCommand)
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 { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "UntagResourceCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UntagResourceCommand(output, context);
47
- }
8
+ export class UntagResourceCommand 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", "UntagResource", {})
20
+ .n("ChimeSDKMessagingClient", "UntagResourceCommand")
21
+ .f(UntagResourceRequestFilterSensitiveLog, void 0)
22
+ .ser(se_UntagResourceCommand)
23
+ .de(de_UntagResourceCommand)
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 { UpdateChannelRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateChannelCommand 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, UpdateChannelCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "ChimeSDKMessagingClient";
27
- const commandName = "UpdateChannelCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateChannelRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "ChimeMessagingService",
36
- operation: "UpdateChannel",
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_UpdateChannelCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateChannelCommand(output, context);
47
- }
8
+ export class UpdateChannelCommand 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", "UpdateChannel", {})
20
+ .n("ChimeSDKMessagingClient", "UpdateChannelCommand")
21
+ .f(UpdateChannelRequestFilterSensitiveLog, void 0)
22
+ .ser(se_UpdateChannelCommand)
23
+ .de(de_UpdateChannelCommand)
24
+ .build() {
48
25
  }