@aws-sdk/client-chime-sdk-messaging 3.190.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 +8 -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 +4 -3
  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 { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetChannelMessageStatusCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetChannelMessageStatusCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetChannelMessageStatusCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetMessagingSessionEndpointCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetMessagingSessionEndpointCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetMessagingSessionEndpointCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListChannelBansCommand extends $Command<
24
25
  ChimeSDKMessagingClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListChannelBansCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListChannelBansCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListChannelFlowsCommand extends $Command<
24
25
  ChimeSDKMessagingClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListChannelFlowsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListChannelFlowsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListChannelMembershipsCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListChannelMembershipsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListChannelMembershipsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListChannelMembershipsForAppInstanceUserCommand extends $Co
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListChannelMembershipsForAppInstanceUserCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListChannelMembershipsForAppInstanceUserCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListChannelMessagesCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListChannelMessagesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListChannelMessagesCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListChannelModeratorsCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListChannelModeratorsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListChannelModeratorsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListChannelsAssociatedWithChannelFlowCommand extends $Comma
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListChannelsAssociatedWithChannelFlowCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListChannelsAssociatedWithChannelFlowCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListChannelsCommand extends $Command<
21
22
  ChimeSDKMessagingClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListChannelsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListChannelsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListChannelsModeratedByAppInstanceUserCommand extends $Comm
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListChannelsModeratedByAppInstanceUserCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListChannelsModeratedByAppInstanceUserCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListSubChannelsCommand extends $Command<
24
25
  ChimeSDKMessagingClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListSubChannelsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListSubChannelsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListTagsForResourceCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class PutChannelMembershipPreferencesCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: PutChannelMembershipPreferencesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: PutChannelMembershipPreferencesCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class RedactChannelMessageCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: RedactChannelMessageCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RedactChannelMessageCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class SearchChannelsCommand extends $Command<
24
25
  ChimeSDKMessagingClientResolvedConfig
25
26
  > {
26
27
  readonly input: SearchChannelsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: SearchChannelsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class SendChannelMessageCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: SendChannelMessageCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: SendChannelMessageCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class TagResourceCommand extends $Command<
19
20
  ChimeSDKMessagingClientResolvedConfig
20
21
  > {
21
22
  readonly input: TagResourceCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: TagResourceCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UntagResourceCommand extends $Command<
19
20
  ChimeSDKMessagingClientResolvedConfig
20
21
  > {
21
22
  readonly input: UntagResourceCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UntagResourceCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateChannelCommand extends $Command<
24
25
  ChimeSDKMessagingClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateChannelCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateChannelFlowCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateChannelFlowCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateChannelFlowCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateChannelMessageCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateChannelMessageCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateChannelMessageCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateChannelReadMarkerCommand extends $Command<
25
26
  ChimeSDKMessagingClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateChannelReadMarkerCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateChannelReadMarkerCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "../endpoint/EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -38,12 +38,22 @@ export declare const getRuntimeConfig: (
38
38
  disableHostPrefix: boolean;
39
39
  logger: import("@aws-sdk/types").Logger;
40
40
  serviceId: string;
41
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
42
41
  endpoint?:
43
- | string
44
- | import("@aws-sdk/types").Endpoint
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | ((
43
+ | string
44
+ | import("@aws-sdk/types").Endpoint
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
46
+ | import("@aws-sdk/types").EndpointV2
47
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
48
+ ) &
49
+ (string | import("@aws-sdk/types").Provider<string>))
46
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
47
57
  tls?: boolean | undefined;
48
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
49
59
  credentials?:
@@ -38,12 +38,22 @@ export declare const getRuntimeConfig: (
38
38
  disableHostPrefix: boolean;
39
39
  logger: import("@aws-sdk/types").Logger;
40
40
  serviceId: string;
41
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
42
41
  endpoint?:
43
- | string
44
- | import("@aws-sdk/types").Endpoint
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | ((
43
+ | string
44
+ | import("@aws-sdk/types").Endpoint
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
46
+ | import("@aws-sdk/types").EndpointV2
47
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
48
+ ) &
49
+ (string | import("@aws-sdk/types").Provider<string>))
46
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
47
57
  tls?: boolean | undefined;
48
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
49
59
  credentials?:
@@ -31,7 +31,6 @@ export declare const getRuntimeConfig: (
31
31
  credentialDefaultProvider: (
32
32
  input: any
33
33
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
34
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
35
34
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
36
35
  import("@aws-sdk/types").UserAgent
37
36
  >;
@@ -42,9 +41,21 @@ export declare const getRuntimeConfig: (
42
41
  >;
43
42
  endpoint?:
44
43
  | string
45
- | import("@aws-sdk/types").Endpoint
46
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
45
+ import("@aws-sdk/types").Provider<string>)
46
+ | (import("@aws-sdk/types").Endpoint &
47
+ import("@aws-sdk/types").Provider<string>)
48
+ | (import("@aws-sdk/types").EndpointV2 &
49
+ import("@aws-sdk/types").Provider<string>)
50
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
51
+ import("@aws-sdk/types").Provider<string>)
47
52
  | undefined;
53
+ endpointProvider: (
54
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
55
+ context?: {
56
+ logger?: import("@aws-sdk/types").Logger | undefined;
57
+ }
58
+ ) => import("@aws-sdk/types").EndpointV2;
48
59
  tls?: boolean | undefined;
49
60
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
50
61
  credentials?:
@@ -5,8 +5,13 @@ export declare const getRuntimeConfig: (
5
5
  ) => {
6
6
  apiVersion: string;
7
7
  disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: __Logger | undefined;
12
+ }
13
+ ) => import("@aws-sdk/types").EndpointV2;
8
14
  logger: __Logger;
9
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
10
15
  serviceId: string;
11
16
  urlParser: import("@aws-sdk/types").UrlParser;
12
17
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-messaging",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native",
4
- "version": "3.190.0",
4
+ "version": "3.192.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,19 +19,20 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.190.0",
22
+ "@aws-sdk/client-sts": "3.192.0",
23
23
  "@aws-sdk/config-resolver": "3.190.0",
24
24
  "@aws-sdk/credential-provider-node": "3.190.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.190.0",
26
26
  "@aws-sdk/hash-node": "3.190.0",
27
27
  "@aws-sdk/invalid-dependency": "3.190.0",
28
28
  "@aws-sdk/middleware-content-length": "3.190.0",
29
+ "@aws-sdk/middleware-endpoint": "3.190.0",
29
30
  "@aws-sdk/middleware-host-header": "3.190.0",
30
31
  "@aws-sdk/middleware-logger": "3.190.0",
31
32
  "@aws-sdk/middleware-recursion-detection": "3.190.0",
32
33
  "@aws-sdk/middleware-retry": "3.190.0",
33
34
  "@aws-sdk/middleware-serde": "3.190.0",
34
- "@aws-sdk/middleware-signing": "3.190.0",
35
+ "@aws-sdk/middleware-signing": "3.192.0",
35
36
  "@aws-sdk/middleware-stack": "3.190.0",
36
37
  "@aws-sdk/middleware-user-agent": "3.190.0",
37
38
  "@aws-sdk/node-config-provider": "3.190.0",
@@ -1,142 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "us-east-1": {
7
- variants: [
8
- {
9
- hostname: "messaging-chime-fips.us-east-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- };
15
- const partitionHash = {
16
- aws: {
17
- regions: [
18
- "af-south-1",
19
- "ap-east-1",
20
- "ap-northeast-1",
21
- "ap-northeast-2",
22
- "ap-northeast-3",
23
- "ap-south-1",
24
- "ap-southeast-1",
25
- "ap-southeast-2",
26
- "ap-southeast-3",
27
- "ca-central-1",
28
- "eu-central-1",
29
- "eu-north-1",
30
- "eu-south-1",
31
- "eu-west-1",
32
- "eu-west-2",
33
- "eu-west-3",
34
- "me-central-1",
35
- "me-south-1",
36
- "sa-east-1",
37
- "us-east-1",
38
- "us-east-1-fips",
39
- "us-east-2",
40
- "us-west-1",
41
- "us-west-2",
42
- ],
43
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
44
- variants: [
45
- {
46
- hostname: "messaging-chime.{region}.amazonaws.com",
47
- tags: [],
48
- },
49
- {
50
- hostname: "messaging-chime-fips.{region}.amazonaws.com",
51
- tags: ["fips"],
52
- },
53
- {
54
- hostname: "messaging-chime-fips.{region}.api.aws",
55
- tags: ["dualstack", "fips"],
56
- },
57
- {
58
- hostname: "messaging-chime.{region}.api.aws",
59
- tags: ["dualstack"],
60
- },
61
- ],
62
- },
63
- "aws-cn": {
64
- regions: ["cn-north-1", "cn-northwest-1"],
65
- regionRegex: "^cn\\-\\w+\\-\\d+$",
66
- variants: [
67
- {
68
- hostname: "messaging-chime.{region}.amazonaws.com.cn",
69
- tags: [],
70
- },
71
- {
72
- hostname: "messaging-chime-fips.{region}.amazonaws.com.cn",
73
- tags: ["fips"],
74
- },
75
- {
76
- hostname: "messaging-chime-fips.{region}.api.amazonwebservices.com.cn",
77
- tags: ["dualstack", "fips"],
78
- },
79
- {
80
- hostname: "messaging-chime.{region}.api.amazonwebservices.com.cn",
81
- tags: ["dualstack"],
82
- },
83
- ],
84
- },
85
- "aws-iso": {
86
- regions: ["us-iso-east-1", "us-iso-west-1"],
87
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
88
- variants: [
89
- {
90
- hostname: "messaging-chime.{region}.c2s.ic.gov",
91
- tags: [],
92
- },
93
- {
94
- hostname: "messaging-chime-fips.{region}.c2s.ic.gov",
95
- tags: ["fips"],
96
- },
97
- ],
98
- },
99
- "aws-iso-b": {
100
- regions: ["us-isob-east-1"],
101
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
102
- variants: [
103
- {
104
- hostname: "messaging-chime.{region}.sc2s.sgov.gov",
105
- tags: [],
106
- },
107
- {
108
- hostname: "messaging-chime-fips.{region}.sc2s.sgov.gov",
109
- tags: ["fips"],
110
- },
111
- ],
112
- },
113
- "aws-us-gov": {
114
- regions: ["us-gov-east-1", "us-gov-west-1"],
115
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
116
- variants: [
117
- {
118
- hostname: "messaging-chime.{region}.amazonaws.com",
119
- tags: [],
120
- },
121
- {
122
- hostname: "messaging-chime-fips.{region}.amazonaws.com",
123
- tags: ["fips"],
124
- },
125
- {
126
- hostname: "messaging-chime-fips.{region}.api.aws",
127
- tags: ["dualstack", "fips"],
128
- },
129
- {
130
- hostname: "messaging-chime.{region}.api.aws",
131
- tags: ["dualstack"],
132
- },
133
- ],
134
- },
135
- };
136
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
137
- ...options,
138
- signingService: "chime",
139
- regionHash,
140
- partitionHash,
141
- });
142
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;