@aws-sdk/client-chime-sdk-messaging 3.188.0 → 3.192.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 (222) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-cjs/ChimeSDKMessagingClient.js +11 -8
  3. package/dist-cjs/commands/AssociateChannelFlowCommand.js +10 -0
  4. package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +10 -0
  5. package/dist-cjs/commands/ChannelFlowCallbackCommand.js +10 -0
  6. package/dist-cjs/commands/CreateChannelBanCommand.js +10 -0
  7. package/dist-cjs/commands/CreateChannelCommand.js +10 -0
  8. package/dist-cjs/commands/CreateChannelFlowCommand.js +10 -0
  9. package/dist-cjs/commands/CreateChannelMembershipCommand.js +10 -0
  10. package/dist-cjs/commands/CreateChannelModeratorCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteChannelBanCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteChannelCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteChannelFlowCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteChannelMembershipCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteChannelMessageCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteChannelModeratorCommand.js +10 -0
  17. package/dist-cjs/commands/DescribeChannelBanCommand.js +10 -0
  18. package/dist-cjs/commands/DescribeChannelCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeChannelFlowCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeChannelMembershipCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +10 -0
  23. package/dist-cjs/commands/DescribeChannelModeratorCommand.js +10 -0
  24. package/dist-cjs/commands/DisassociateChannelFlowCommand.js +10 -0
  25. package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +10 -0
  26. package/dist-cjs/commands/GetChannelMessageCommand.js +10 -0
  27. package/dist-cjs/commands/GetChannelMessageStatusCommand.js +10 -0
  28. package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +10 -0
  29. package/dist-cjs/commands/ListChannelBansCommand.js +10 -0
  30. package/dist-cjs/commands/ListChannelFlowsCommand.js +10 -0
  31. package/dist-cjs/commands/ListChannelMembershipsCommand.js +10 -0
  32. package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +10 -0
  33. package/dist-cjs/commands/ListChannelMessagesCommand.js +10 -0
  34. package/dist-cjs/commands/ListChannelModeratorsCommand.js +10 -0
  35. package/dist-cjs/commands/ListChannelsAssociatedWithChannelFlowCommand.js +10 -0
  36. package/dist-cjs/commands/ListChannelsCommand.js +10 -0
  37. package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +10 -0
  38. package/dist-cjs/commands/ListSubChannelsCommand.js +10 -0
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  40. package/dist-cjs/commands/PutChannelMembershipPreferencesCommand.js +10 -0
  41. package/dist-cjs/commands/RedactChannelMessageCommand.js +10 -0
  42. package/dist-cjs/commands/SearchChannelsCommand.js +10 -0
  43. package/dist-cjs/commands/SendChannelMessageCommand.js +10 -0
  44. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  45. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  46. package/dist-cjs/commands/UpdateChannelCommand.js +10 -0
  47. package/dist-cjs/commands/UpdateChannelFlowCommand.js +10 -0
  48. package/dist-cjs/commands/UpdateChannelMessageCommand.js +10 -0
  49. package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +10 -0
  50. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  51. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  52. package/dist-cjs/endpoint/ruleset.js +318 -0
  53. package/dist-cjs/runtimeConfig.shared.js +3 -3
  54. package/dist-es/ChimeSDKMessagingClient.js +12 -9
  55. package/dist-es/commands/AssociateChannelFlowCommand.js +10 -0
  56. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +10 -0
  57. package/dist-es/commands/ChannelFlowCallbackCommand.js +10 -0
  58. package/dist-es/commands/CreateChannelBanCommand.js +10 -0
  59. package/dist-es/commands/CreateChannelCommand.js +10 -0
  60. package/dist-es/commands/CreateChannelFlowCommand.js +10 -0
  61. package/dist-es/commands/CreateChannelMembershipCommand.js +10 -0
  62. package/dist-es/commands/CreateChannelModeratorCommand.js +10 -0
  63. package/dist-es/commands/DeleteChannelBanCommand.js +10 -0
  64. package/dist-es/commands/DeleteChannelCommand.js +10 -0
  65. package/dist-es/commands/DeleteChannelFlowCommand.js +10 -0
  66. package/dist-es/commands/DeleteChannelMembershipCommand.js +10 -0
  67. package/dist-es/commands/DeleteChannelMessageCommand.js +10 -0
  68. package/dist-es/commands/DeleteChannelModeratorCommand.js +10 -0
  69. package/dist-es/commands/DescribeChannelBanCommand.js +10 -0
  70. package/dist-es/commands/DescribeChannelCommand.js +10 -0
  71. package/dist-es/commands/DescribeChannelFlowCommand.js +10 -0
  72. package/dist-es/commands/DescribeChannelMembershipCommand.js +10 -0
  73. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +10 -0
  74. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +10 -0
  75. package/dist-es/commands/DescribeChannelModeratorCommand.js +10 -0
  76. package/dist-es/commands/DisassociateChannelFlowCommand.js +10 -0
  77. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +10 -0
  78. package/dist-es/commands/GetChannelMessageCommand.js +10 -0
  79. package/dist-es/commands/GetChannelMessageStatusCommand.js +10 -0
  80. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +10 -0
  81. package/dist-es/commands/ListChannelBansCommand.js +10 -0
  82. package/dist-es/commands/ListChannelFlowsCommand.js +10 -0
  83. package/dist-es/commands/ListChannelMembershipsCommand.js +10 -0
  84. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +10 -0
  85. package/dist-es/commands/ListChannelMessagesCommand.js +10 -0
  86. package/dist-es/commands/ListChannelModeratorsCommand.js +10 -0
  87. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +10 -0
  88. package/dist-es/commands/ListChannelsCommand.js +10 -0
  89. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +10 -0
  90. package/dist-es/commands/ListSubChannelsCommand.js +10 -0
  91. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  92. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +10 -0
  93. package/dist-es/commands/RedactChannelMessageCommand.js +10 -0
  94. package/dist-es/commands/SearchChannelsCommand.js +10 -0
  95. package/dist-es/commands/SendChannelMessageCommand.js +10 -0
  96. package/dist-es/commands/TagResourceCommand.js +10 -0
  97. package/dist-es/commands/UntagResourceCommand.js +10 -0
  98. package/dist-es/commands/UpdateChannelCommand.js +10 -0
  99. package/dist-es/commands/UpdateChannelFlowCommand.js +10 -0
  100. package/dist-es/commands/UpdateChannelMessageCommand.js +10 -0
  101. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +10 -0
  102. package/dist-es/endpoint/EndpointParameters.js +8 -0
  103. package/dist-es/endpoint/endpointResolver.js +8 -0
  104. package/dist-es/endpoint/ruleset.js +315 -0
  105. package/dist-es/runtimeConfig.shared.js +2 -2
  106. package/dist-types/ChimeSDKMessaging.d.ts +1 -2
  107. package/dist-types/ChimeSDKMessagingClient.d.ts +6 -9
  108. package/dist-types/commands/AssociateChannelFlowCommand.d.ts +2 -0
  109. package/dist-types/commands/BatchCreateChannelMembershipCommand.d.ts +2 -0
  110. package/dist-types/commands/ChannelFlowCallbackCommand.d.ts +2 -0
  111. package/dist-types/commands/CreateChannelBanCommand.d.ts +2 -0
  112. package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
  113. package/dist-types/commands/CreateChannelFlowCommand.d.ts +2 -0
  114. package/dist-types/commands/CreateChannelMembershipCommand.d.ts +2 -0
  115. package/dist-types/commands/CreateChannelModeratorCommand.d.ts +2 -0
  116. package/dist-types/commands/DeleteChannelBanCommand.d.ts +2 -0
  117. package/dist-types/commands/DeleteChannelCommand.d.ts +2 -0
  118. package/dist-types/commands/DeleteChannelFlowCommand.d.ts +2 -0
  119. package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +2 -0
  120. package/dist-types/commands/DeleteChannelMessageCommand.d.ts +2 -0
  121. package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +2 -0
  122. package/dist-types/commands/DescribeChannelBanCommand.d.ts +2 -0
  123. package/dist-types/commands/DescribeChannelCommand.d.ts +2 -0
  124. package/dist-types/commands/DescribeChannelFlowCommand.d.ts +2 -0
  125. package/dist-types/commands/DescribeChannelMembershipCommand.d.ts +2 -0
  126. package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +2 -0
  127. package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +2 -0
  128. package/dist-types/commands/DescribeChannelModeratorCommand.d.ts +2 -0
  129. package/dist-types/commands/DisassociateChannelFlowCommand.d.ts +2 -0
  130. package/dist-types/commands/GetChannelMembershipPreferencesCommand.d.ts +2 -0
  131. package/dist-types/commands/GetChannelMessageCommand.d.ts +2 -0
  132. package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +2 -0
  133. package/dist-types/commands/GetMessagingSessionEndpointCommand.d.ts +2 -0
  134. package/dist-types/commands/ListChannelBansCommand.d.ts +2 -0
  135. package/dist-types/commands/ListChannelFlowsCommand.d.ts +2 -0
  136. package/dist-types/commands/ListChannelMembershipsCommand.d.ts +2 -0
  137. package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +2 -0
  138. package/dist-types/commands/ListChannelMessagesCommand.d.ts +2 -0
  139. package/dist-types/commands/ListChannelModeratorsCommand.d.ts +2 -0
  140. package/dist-types/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +2 -0
  141. package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
  142. package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +2 -0
  143. package/dist-types/commands/ListSubChannelsCommand.d.ts +2 -0
  144. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  145. package/dist-types/commands/PutChannelMembershipPreferencesCommand.d.ts +2 -0
  146. package/dist-types/commands/RedactChannelMessageCommand.d.ts +2 -0
  147. package/dist-types/commands/SearchChannelsCommand.d.ts +3 -2
  148. package/dist-types/commands/SendChannelMessageCommand.d.ts +2 -0
  149. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  150. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  151. package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
  152. package/dist-types/commands/UpdateChannelFlowCommand.d.ts +2 -0
  153. package/dist-types/commands/UpdateChannelMessageCommand.d.ts +2 -0
  154. package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +2 -0
  155. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  156. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  157. package/dist-types/endpoint/ruleset.d.ts +2 -0
  158. package/dist-types/models/models_0.d.ts +1 -1
  159. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  160. package/dist-types/runtimeConfig.d.ts +4 -2
  161. package/dist-types/runtimeConfig.native.d.ts +4 -2
  162. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  163. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +15 -8
  164. package/dist-types/ts3.4/commands/AssociateChannelFlowCommand.d.ts +2 -0
  165. package/dist-types/ts3.4/commands/BatchCreateChannelMembershipCommand.d.ts +2 -0
  166. package/dist-types/ts3.4/commands/ChannelFlowCallbackCommand.d.ts +2 -0
  167. package/dist-types/ts3.4/commands/CreateChannelBanCommand.d.ts +2 -0
  168. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -0
  169. package/dist-types/ts3.4/commands/CreateChannelFlowCommand.d.ts +2 -0
  170. package/dist-types/ts3.4/commands/CreateChannelMembershipCommand.d.ts +2 -0
  171. package/dist-types/ts3.4/commands/CreateChannelModeratorCommand.d.ts +2 -0
  172. package/dist-types/ts3.4/commands/DeleteChannelBanCommand.d.ts +2 -0
  173. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -0
  174. package/dist-types/ts3.4/commands/DeleteChannelFlowCommand.d.ts +2 -0
  175. package/dist-types/ts3.4/commands/DeleteChannelMembershipCommand.d.ts +2 -0
  176. package/dist-types/ts3.4/commands/DeleteChannelMessageCommand.d.ts +2 -0
  177. package/dist-types/ts3.4/commands/DeleteChannelModeratorCommand.d.ts +2 -0
  178. package/dist-types/ts3.4/commands/DescribeChannelBanCommand.d.ts +2 -0
  179. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +2 -0
  180. package/dist-types/ts3.4/commands/DescribeChannelFlowCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/DescribeChannelMembershipCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/DescribeChannelModeratorCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/commands/DisassociateChannelFlowCommand.d.ts +2 -0
  186. package/dist-types/ts3.4/commands/GetChannelMembershipPreferencesCommand.d.ts +2 -0
  187. package/dist-types/ts3.4/commands/GetChannelMessageCommand.d.ts +2 -0
  188. package/dist-types/ts3.4/commands/GetChannelMessageStatusCommand.d.ts +2 -0
  189. package/dist-types/ts3.4/commands/GetMessagingSessionEndpointCommand.d.ts +2 -0
  190. package/dist-types/ts3.4/commands/ListChannelBansCommand.d.ts +2 -0
  191. package/dist-types/ts3.4/commands/ListChannelFlowsCommand.d.ts +2 -0
  192. package/dist-types/ts3.4/commands/ListChannelMembershipsCommand.d.ts +2 -0
  193. package/dist-types/ts3.4/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/commands/ListChannelMessagesCommand.d.ts +2 -0
  195. package/dist-types/ts3.4/commands/ListChannelModeratorsCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +2 -0
  197. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/ListSubChannelsCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/PutChannelMembershipPreferencesCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/RedactChannelMessageCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/SearchChannelsCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/SendChannelMessageCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/UpdateChannelFlowCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/UpdateChannelMessageCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/UpdateChannelReadMarkerCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  212. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  213. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  214. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  215. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  216. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  217. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  218. package/package.json +27 -26
  219. package/dist-cjs/endpoints.js +0 -142
  220. package/dist-es/endpoints.js +0 -138
  221. package/dist-types/endpoints.d.ts +0 -2
  222. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelBanRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteChannelBanCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteChannelBanCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteChannelCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteChannelCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteChannelFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteChannelFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelMembershipRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteChannelMembershipCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteChannelMembershipCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelMessageRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteChannelMessageCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteChannelMessageCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteChannelModeratorRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteChannelModeratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteChannelModeratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeChannelBanRequestFilterSensitiveLog, DescribeChannelBanResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeChannelBanCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelBanCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeChannelRequestFilterSensitiveLog, DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeChannelCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeChannelFlowRequestFilterSensitiveLog, DescribeChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeChannelFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeChannelMembershipRequestFilterSensitiveLog, DescribeChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeChannelMembershipCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelMembershipCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog, DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelMembershipForAppInstanceUserCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog, DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeChannelModeratedByAppInstanceUserCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeChannelModeratorRequestFilterSensitiveLog, DescribeChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeChannelModeratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelModeratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateChannelFlowRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DisassociateChannelFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateChannelFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetChannelMembershipPreferencesRequestFilterSensitiveLog, GetChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class GetChannelMembershipPreferencesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetChannelMessageRequestFilterSensitiveLog, GetChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class GetChannelMessageCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelMessageCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetChannelMessageStatusRequestFilterSensitiveLog, GetChannelMessageStatusResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class GetChannelMessageStatusCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelMessageStatusCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetMessagingSessionEndpointRequestFilterSensitiveLog, GetMessagingSessionEndpointResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class GetMessagingSessionEndpointCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetMessagingSessionEndpointCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelBansCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelBansCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelFlowsRequestFilterSensitiveLog, ListChannelFlowsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelFlowsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelFlowsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelMembershipsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMembershipsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelMembershipsForAppInstanceUserCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMembershipsForAppInstanceUserCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelMessagesRequestFilterSensitiveLog, ListChannelMessagesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelMessagesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMessagesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelModeratorsRequestFilterSensitiveLog, ListChannelModeratorsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelModeratorsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelModeratorsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog, ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelsAssociatedWithChannelFlowCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsAssociatedWithChannelFlowCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListChannelsModeratedByAppInstanceUserCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ChimeSDKMessagingClient";