@aws-sdk/client-chime 3.183.0 → 3.185.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 (231) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Chime.js +773 -766
  4. package/dist-es/ChimeClient.js +28 -22
  5. package/dist-es/commands/AssociatePhoneNumberWithUserCommand.js +28 -21
  6. package/dist-es/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.js +28 -21
  7. package/dist-es/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.js +28 -21
  8. package/dist-es/commands/AssociateSigninDelegateGroupsWithAccountCommand.js +28 -21
  9. package/dist-es/commands/BatchCreateAttendeeCommand.js +28 -21
  10. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +28 -21
  11. package/dist-es/commands/BatchCreateRoomMembershipCommand.js +28 -21
  12. package/dist-es/commands/BatchDeletePhoneNumberCommand.js +28 -21
  13. package/dist-es/commands/BatchSuspendUserCommand.js +28 -21
  14. package/dist-es/commands/BatchUnsuspendUserCommand.js +28 -21
  15. package/dist-es/commands/BatchUpdatePhoneNumberCommand.js +28 -21
  16. package/dist-es/commands/BatchUpdateUserCommand.js +28 -21
  17. package/dist-es/commands/CreateAccountCommand.js +28 -21
  18. package/dist-es/commands/CreateAppInstanceAdminCommand.js +28 -21
  19. package/dist-es/commands/CreateAppInstanceCommand.js +28 -21
  20. package/dist-es/commands/CreateAppInstanceUserCommand.js +28 -21
  21. package/dist-es/commands/CreateAttendeeCommand.js +28 -21
  22. package/dist-es/commands/CreateBotCommand.js +28 -21
  23. package/dist-es/commands/CreateChannelBanCommand.js +28 -21
  24. package/dist-es/commands/CreateChannelCommand.js +28 -21
  25. package/dist-es/commands/CreateChannelMembershipCommand.js +28 -21
  26. package/dist-es/commands/CreateChannelModeratorCommand.js +28 -21
  27. package/dist-es/commands/CreateMediaCapturePipelineCommand.js +28 -21
  28. package/dist-es/commands/CreateMeetingCommand.js +28 -21
  29. package/dist-es/commands/CreateMeetingDialOutCommand.js +28 -21
  30. package/dist-es/commands/CreateMeetingWithAttendeesCommand.js +28 -21
  31. package/dist-es/commands/CreatePhoneNumberOrderCommand.js +28 -21
  32. package/dist-es/commands/CreateProxySessionCommand.js +28 -21
  33. package/dist-es/commands/CreateRoomCommand.js +28 -21
  34. package/dist-es/commands/CreateRoomMembershipCommand.js +28 -21
  35. package/dist-es/commands/CreateSipMediaApplicationCallCommand.js +28 -21
  36. package/dist-es/commands/CreateSipMediaApplicationCommand.js +28 -21
  37. package/dist-es/commands/CreateSipRuleCommand.js +28 -21
  38. package/dist-es/commands/CreateUserCommand.js +28 -21
  39. package/dist-es/commands/CreateVoiceConnectorCommand.js +28 -21
  40. package/dist-es/commands/CreateVoiceConnectorGroupCommand.js +28 -21
  41. package/dist-es/commands/DeleteAccountCommand.js +28 -21
  42. package/dist-es/commands/DeleteAppInstanceAdminCommand.js +29 -22
  43. package/dist-es/commands/DeleteAppInstanceCommand.js +29 -22
  44. package/dist-es/commands/DeleteAppInstanceStreamingConfigurationsCommand.js +29 -22
  45. package/dist-es/commands/DeleteAppInstanceUserCommand.js +29 -22
  46. package/dist-es/commands/DeleteAttendeeCommand.js +29 -22
  47. package/dist-es/commands/DeleteChannelBanCommand.js +29 -22
  48. package/dist-es/commands/DeleteChannelCommand.js +29 -22
  49. package/dist-es/commands/DeleteChannelMembershipCommand.js +29 -22
  50. package/dist-es/commands/DeleteChannelMessageCommand.js +29 -22
  51. package/dist-es/commands/DeleteChannelModeratorCommand.js +29 -22
  52. package/dist-es/commands/DeleteEventsConfigurationCommand.js +29 -22
  53. package/dist-es/commands/DeleteMediaCapturePipelineCommand.js +29 -22
  54. package/dist-es/commands/DeleteMeetingCommand.js +29 -22
  55. package/dist-es/commands/DeletePhoneNumberCommand.js +29 -22
  56. package/dist-es/commands/DeleteProxySessionCommand.js +29 -22
  57. package/dist-es/commands/DeleteRoomCommand.js +29 -22
  58. package/dist-es/commands/DeleteRoomMembershipCommand.js +29 -22
  59. package/dist-es/commands/DeleteSipMediaApplicationCommand.js +29 -22
  60. package/dist-es/commands/DeleteSipRuleCommand.js +29 -22
  61. package/dist-es/commands/DeleteVoiceConnectorCommand.js +29 -22
  62. package/dist-es/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.js +29 -22
  63. package/dist-es/commands/DeleteVoiceConnectorGroupCommand.js +29 -22
  64. package/dist-es/commands/DeleteVoiceConnectorOriginationCommand.js +29 -22
  65. package/dist-es/commands/DeleteVoiceConnectorProxyCommand.js +29 -22
  66. package/dist-es/commands/DeleteVoiceConnectorStreamingConfigurationCommand.js +29 -22
  67. package/dist-es/commands/DeleteVoiceConnectorTerminationCommand.js +29 -22
  68. package/dist-es/commands/DeleteVoiceConnectorTerminationCredentialsCommand.js +29 -22
  69. package/dist-es/commands/DescribeAppInstanceAdminCommand.js +28 -21
  70. package/dist-es/commands/DescribeAppInstanceCommand.js +28 -21
  71. package/dist-es/commands/DescribeAppInstanceUserCommand.js +28 -21
  72. package/dist-es/commands/DescribeChannelBanCommand.js +28 -21
  73. package/dist-es/commands/DescribeChannelCommand.js +28 -21
  74. package/dist-es/commands/DescribeChannelMembershipCommand.js +28 -21
  75. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +28 -21
  76. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +28 -21
  77. package/dist-es/commands/DescribeChannelModeratorCommand.js +28 -21
  78. package/dist-es/commands/DisassociatePhoneNumberFromUserCommand.js +28 -21
  79. package/dist-es/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.js +28 -21
  80. package/dist-es/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.js +28 -21
  81. package/dist-es/commands/DisassociateSigninDelegateGroupsFromAccountCommand.js +28 -21
  82. package/dist-es/commands/GetAccountCommand.js +28 -21
  83. package/dist-es/commands/GetAccountSettingsCommand.js +28 -21
  84. package/dist-es/commands/GetAppInstanceRetentionSettingsCommand.js +28 -21
  85. package/dist-es/commands/GetAppInstanceStreamingConfigurationsCommand.js +28 -21
  86. package/dist-es/commands/GetAttendeeCommand.js +28 -21
  87. package/dist-es/commands/GetBotCommand.js +28 -21
  88. package/dist-es/commands/GetChannelMessageCommand.js +28 -21
  89. package/dist-es/commands/GetEventsConfigurationCommand.js +28 -21
  90. package/dist-es/commands/GetGlobalSettingsCommand.js +29 -22
  91. package/dist-es/commands/GetMediaCapturePipelineCommand.js +28 -21
  92. package/dist-es/commands/GetMeetingCommand.js +28 -21
  93. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +28 -21
  94. package/dist-es/commands/GetPhoneNumberCommand.js +28 -21
  95. package/dist-es/commands/GetPhoneNumberOrderCommand.js +28 -21
  96. package/dist-es/commands/GetPhoneNumberSettingsCommand.js +29 -22
  97. package/dist-es/commands/GetProxySessionCommand.js +28 -21
  98. package/dist-es/commands/GetRetentionSettingsCommand.js +28 -21
  99. package/dist-es/commands/GetRoomCommand.js +28 -21
  100. package/dist-es/commands/GetSipMediaApplicationCommand.js +28 -21
  101. package/dist-es/commands/GetSipMediaApplicationLoggingConfigurationCommand.js +28 -21
  102. package/dist-es/commands/GetSipRuleCommand.js +28 -21
  103. package/dist-es/commands/GetUserCommand.js +28 -21
  104. package/dist-es/commands/GetUserSettingsCommand.js +28 -21
  105. package/dist-es/commands/GetVoiceConnectorCommand.js +28 -21
  106. package/dist-es/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.js +28 -21
  107. package/dist-es/commands/GetVoiceConnectorGroupCommand.js +28 -21
  108. package/dist-es/commands/GetVoiceConnectorLoggingConfigurationCommand.js +28 -21
  109. package/dist-es/commands/GetVoiceConnectorOriginationCommand.js +28 -21
  110. package/dist-es/commands/GetVoiceConnectorProxyCommand.js +28 -21
  111. package/dist-es/commands/GetVoiceConnectorStreamingConfigurationCommand.js +28 -21
  112. package/dist-es/commands/GetVoiceConnectorTerminationCommand.js +28 -21
  113. package/dist-es/commands/GetVoiceConnectorTerminationHealthCommand.js +28 -21
  114. package/dist-es/commands/InviteUsersCommand.js +28 -21
  115. package/dist-es/commands/ListAccountsCommand.js +28 -21
  116. package/dist-es/commands/ListAppInstanceAdminsCommand.js +28 -21
  117. package/dist-es/commands/ListAppInstanceUsersCommand.js +28 -21
  118. package/dist-es/commands/ListAppInstancesCommand.js +28 -21
  119. package/dist-es/commands/ListAttendeeTagsCommand.js +28 -21
  120. package/dist-es/commands/ListAttendeesCommand.js +28 -21
  121. package/dist-es/commands/ListBotsCommand.js +28 -21
  122. package/dist-es/commands/ListChannelBansCommand.js +28 -21
  123. package/dist-es/commands/ListChannelMembershipsCommand.js +28 -21
  124. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +28 -21
  125. package/dist-es/commands/ListChannelMessagesCommand.js +28 -21
  126. package/dist-es/commands/ListChannelModeratorsCommand.js +28 -21
  127. package/dist-es/commands/ListChannelsCommand.js +28 -21
  128. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +28 -21
  129. package/dist-es/commands/ListMediaCapturePipelinesCommand.js +28 -21
  130. package/dist-es/commands/ListMeetingTagsCommand.js +28 -21
  131. package/dist-es/commands/ListMeetingsCommand.js +28 -21
  132. package/dist-es/commands/ListPhoneNumberOrdersCommand.js +28 -21
  133. package/dist-es/commands/ListPhoneNumbersCommand.js +28 -21
  134. package/dist-es/commands/ListProxySessionsCommand.js +28 -21
  135. package/dist-es/commands/ListRoomMembershipsCommand.js +28 -21
  136. package/dist-es/commands/ListRoomsCommand.js +28 -21
  137. package/dist-es/commands/ListSipMediaApplicationsCommand.js +28 -21
  138. package/dist-es/commands/ListSipRulesCommand.js +28 -21
  139. package/dist-es/commands/ListSupportedPhoneNumberCountriesCommand.js +28 -21
  140. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  141. package/dist-es/commands/ListUsersCommand.js +28 -21
  142. package/dist-es/commands/ListVoiceConnectorGroupsCommand.js +28 -21
  143. package/dist-es/commands/ListVoiceConnectorTerminationCredentialsCommand.js +28 -21
  144. package/dist-es/commands/ListVoiceConnectorsCommand.js +28 -21
  145. package/dist-es/commands/LogoutUserCommand.js +28 -21
  146. package/dist-es/commands/PutAppInstanceRetentionSettingsCommand.js +28 -21
  147. package/dist-es/commands/PutAppInstanceStreamingConfigurationsCommand.js +28 -21
  148. package/dist-es/commands/PutEventsConfigurationCommand.js +28 -21
  149. package/dist-es/commands/PutRetentionSettingsCommand.js +28 -21
  150. package/dist-es/commands/PutSipMediaApplicationLoggingConfigurationCommand.js +28 -21
  151. package/dist-es/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.js +28 -21
  152. package/dist-es/commands/PutVoiceConnectorLoggingConfigurationCommand.js +28 -21
  153. package/dist-es/commands/PutVoiceConnectorOriginationCommand.js +28 -21
  154. package/dist-es/commands/PutVoiceConnectorProxyCommand.js +28 -21
  155. package/dist-es/commands/PutVoiceConnectorStreamingConfigurationCommand.js +28 -21
  156. package/dist-es/commands/PutVoiceConnectorTerminationCommand.js +28 -21
  157. package/dist-es/commands/PutVoiceConnectorTerminationCredentialsCommand.js +29 -22
  158. package/dist-es/commands/RedactChannelMessageCommand.js +28 -21
  159. package/dist-es/commands/RedactConversationMessageCommand.js +28 -21
  160. package/dist-es/commands/RedactRoomMessageCommand.js +28 -21
  161. package/dist-es/commands/RegenerateSecurityTokenCommand.js +28 -21
  162. package/dist-es/commands/ResetPersonalPINCommand.js +28 -21
  163. package/dist-es/commands/RestorePhoneNumberCommand.js +28 -21
  164. package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +28 -21
  165. package/dist-es/commands/SendChannelMessageCommand.js +28 -21
  166. package/dist-es/commands/StartMeetingTranscriptionCommand.js +28 -21
  167. package/dist-es/commands/StopMeetingTranscriptionCommand.js +28 -21
  168. package/dist-es/commands/TagAttendeeCommand.js +29 -22
  169. package/dist-es/commands/TagMeetingCommand.js +29 -22
  170. package/dist-es/commands/TagResourceCommand.js +29 -22
  171. package/dist-es/commands/UntagAttendeeCommand.js +29 -22
  172. package/dist-es/commands/UntagMeetingCommand.js +29 -22
  173. package/dist-es/commands/UntagResourceCommand.js +29 -22
  174. package/dist-es/commands/UpdateAccountCommand.js +28 -21
  175. package/dist-es/commands/UpdateAccountSettingsCommand.js +28 -21
  176. package/dist-es/commands/UpdateAppInstanceCommand.js +28 -21
  177. package/dist-es/commands/UpdateAppInstanceUserCommand.js +28 -21
  178. package/dist-es/commands/UpdateBotCommand.js +28 -21
  179. package/dist-es/commands/UpdateChannelCommand.js +28 -21
  180. package/dist-es/commands/UpdateChannelMessageCommand.js +28 -21
  181. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +28 -21
  182. package/dist-es/commands/UpdateGlobalSettingsCommand.js +29 -22
  183. package/dist-es/commands/UpdatePhoneNumberCommand.js +28 -21
  184. package/dist-es/commands/UpdatePhoneNumberSettingsCommand.js +29 -22
  185. package/dist-es/commands/UpdateProxySessionCommand.js +28 -21
  186. package/dist-es/commands/UpdateRoomCommand.js +28 -21
  187. package/dist-es/commands/UpdateRoomMembershipCommand.js +28 -21
  188. package/dist-es/commands/UpdateSipMediaApplicationCallCommand.js +28 -21
  189. package/dist-es/commands/UpdateSipMediaApplicationCommand.js +28 -21
  190. package/dist-es/commands/UpdateSipRuleCommand.js +28 -21
  191. package/dist-es/commands/UpdateUserCommand.js +28 -21
  192. package/dist-es/commands/UpdateUserSettingsCommand.js +29 -22
  193. package/dist-es/commands/UpdateVoiceConnectorCommand.js +28 -21
  194. package/dist-es/commands/UpdateVoiceConnectorGroupCommand.js +28 -21
  195. package/dist-es/commands/ValidateE911AddressCommand.js +28 -21
  196. package/dist-es/endpoints.js +8 -8
  197. package/dist-es/models/ChimeServiceException.js +10 -5
  198. package/dist-es/models/models_0.js +423 -1092
  199. package/dist-es/models/models_1.js +243 -750
  200. package/dist-es/pagination/ListAccountsPaginator.js +68 -25
  201. package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +68 -25
  202. package/dist-es/pagination/ListAppInstanceUsersPaginator.js +68 -25
  203. package/dist-es/pagination/ListAppInstancesPaginator.js +68 -25
  204. package/dist-es/pagination/ListAttendeesPaginator.js +68 -25
  205. package/dist-es/pagination/ListBotsPaginator.js +68 -25
  206. package/dist-es/pagination/ListChannelBansPaginator.js +68 -25
  207. package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +68 -25
  208. package/dist-es/pagination/ListChannelMembershipsPaginator.js +68 -25
  209. package/dist-es/pagination/ListChannelMessagesPaginator.js +68 -25
  210. package/dist-es/pagination/ListChannelModeratorsPaginator.js +68 -25
  211. package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +68 -25
  212. package/dist-es/pagination/ListChannelsPaginator.js +68 -25
  213. package/dist-es/pagination/ListMediaCapturePipelinesPaginator.js +68 -25
  214. package/dist-es/pagination/ListMeetingsPaginator.js +68 -25
  215. package/dist-es/pagination/ListPhoneNumberOrdersPaginator.js +68 -25
  216. package/dist-es/pagination/ListPhoneNumbersPaginator.js +68 -25
  217. package/dist-es/pagination/ListProxySessionsPaginator.js +68 -25
  218. package/dist-es/pagination/ListRoomMembershipsPaginator.js +68 -25
  219. package/dist-es/pagination/ListRoomsPaginator.js +68 -25
  220. package/dist-es/pagination/ListSipMediaApplicationsPaginator.js +68 -25
  221. package/dist-es/pagination/ListSipRulesPaginator.js +68 -25
  222. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  223. package/dist-es/pagination/ListVoiceConnectorGroupsPaginator.js +68 -25
  224. package/dist-es/pagination/ListVoiceConnectorsPaginator.js +68 -25
  225. package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +68 -25
  226. package/dist-es/protocols/Aws_restJson1.js +20959 -14645
  227. package/dist-es/runtimeConfig.browser.js +12 -26
  228. package/dist-es/runtimeConfig.js +12 -30
  229. package/dist-es/runtimeConfig.native.js +5 -8
  230. package/dist-es/runtimeConfig.shared.js +11 -8
  231. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class ChimeClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var ChimeClient = (function (_super) {
13
+ __extends(ChimeClient, _super);
14
+ function ChimeClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ ChimeClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return ChimeClient;
38
+ }(__Client));
39
+ export { ChimeClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociatePhoneNumberWithUserRequestFilterSensitiveLog, AssociatePhoneNumberWithUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociatePhoneNumberWithUserCommand, serializeAws_restJson1AssociatePhoneNumberWithUserCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociatePhoneNumberWithUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociatePhoneNumberWithUserCommand = (function (_super) {
7
+ __extends(AssociatePhoneNumberWithUserCommand, _super);
8
+ function AssociatePhoneNumberWithUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociatePhoneNumberWithUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "AssociatePhoneNumberWithUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "AssociatePhoneNumberWithUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociatePhoneNumberWithUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociatePhoneNumberWithUserResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociatePhoneNumberWithUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociatePhoneNumberWithUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociatePhoneNumberWithUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociatePhoneNumberWithUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociatePhoneNumberWithUserCommand;
38
+ }($Command));
39
+ export { AssociatePhoneNumberWithUserCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog, AssociatePhoneNumbersWithVoiceConnectorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand, serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociatePhoneNumbersWithVoiceConnectorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociatePhoneNumbersWithVoiceConnectorCommand = (function (_super) {
7
+ __extends(AssociatePhoneNumbersWithVoiceConnectorCommand, _super);
8
+ function AssociatePhoneNumbersWithVoiceConnectorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociatePhoneNumbersWithVoiceConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "AssociatePhoneNumbersWithVoiceConnectorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "AssociatePhoneNumbersWithVoiceConnectorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociatePhoneNumbersWithVoiceConnectorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociatePhoneNumbersWithVoiceConnectorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociatePhoneNumbersWithVoiceConnectorCommand;
38
+ }($Command));
39
+ export { AssociatePhoneNumbersWithVoiceConnectorCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog, AssociatePhoneNumbersWithVoiceConnectorGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand, serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociatePhoneNumbersWithVoiceConnectorGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociatePhoneNumbersWithVoiceConnectorGroupCommand = (function (_super) {
7
+ __extends(AssociatePhoneNumbersWithVoiceConnectorGroupCommand, _super);
8
+ function AssociatePhoneNumbersWithVoiceConnectorGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociatePhoneNumbersWithVoiceConnectorGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "AssociatePhoneNumbersWithVoiceConnectorGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "AssociatePhoneNumbersWithVoiceConnectorGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociatePhoneNumbersWithVoiceConnectorGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociatePhoneNumbersWithVoiceConnectorGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociatePhoneNumbersWithVoiceConnectorGroupCommand;
38
+ }($Command));
39
+ export { AssociatePhoneNumbersWithVoiceConnectorGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateSigninDelegateGroupsWithAccountRequestFilterSensitiveLog, AssociateSigninDelegateGroupsWithAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand, serializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociateSigninDelegateGroupsWithAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateSigninDelegateGroupsWithAccountCommand = (function (_super) {
7
+ __extends(AssociateSigninDelegateGroupsWithAccountCommand, _super);
8
+ function AssociateSigninDelegateGroupsWithAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateSigninDelegateGroupsWithAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "AssociateSigninDelegateGroupsWithAccountCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "AssociateSigninDelegateGroupsWithAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateSigninDelegateGroupsWithAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateSigninDelegateGroupsWithAccountResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateSigninDelegateGroupsWithAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateSigninDelegateGroupsWithAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateSigninDelegateGroupsWithAccountCommand;
38
+ }($Command));
39
+ export { AssociateSigninDelegateGroupsWithAccountCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchCreateAttendeeRequestFilterSensitiveLog, BatchCreateAttendeeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchCreateAttendeeCommand, serializeAws_restJson1BatchCreateAttendeeCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchCreateAttendeeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchCreateAttendeeCommand = (function (_super) {
7
+ __extends(BatchCreateAttendeeCommand, _super);
8
+ function BatchCreateAttendeeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchCreateAttendeeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "BatchCreateAttendeeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "BatchCreateAttendeeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchCreateAttendeeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchCreateAttendeeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchCreateAttendeeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchCreateAttendeeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchCreateAttendeeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchCreateAttendeeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchCreateAttendeeCommand;
38
+ }($Command));
39
+ export { BatchCreateAttendeeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchCreateChannelMembershipRequestFilterSensitiveLog, BatchCreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchCreateChannelMembershipCommand, serializeAws_restJson1BatchCreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchCreateChannelMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchCreateChannelMembershipCommand = (function (_super) {
7
+ __extends(BatchCreateChannelMembershipCommand, _super);
8
+ function BatchCreateChannelMembershipCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchCreateChannelMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "BatchCreateChannelMembershipCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "BatchCreateChannelMembershipCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchCreateChannelMembershipRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchCreateChannelMembershipResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchCreateChannelMembershipCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchCreateChannelMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchCreateChannelMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchCreateChannelMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchCreateChannelMembershipCommand;
38
+ }($Command));
39
+ export { BatchCreateChannelMembershipCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchCreateRoomMembershipRequestFilterSensitiveLog, BatchCreateRoomMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchCreateRoomMembershipCommand, serializeAws_restJson1BatchCreateRoomMembershipCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchCreateRoomMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchCreateRoomMembershipCommand = (function (_super) {
7
+ __extends(BatchCreateRoomMembershipCommand, _super);
8
+ function BatchCreateRoomMembershipCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchCreateRoomMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "BatchCreateRoomMembershipCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "BatchCreateRoomMembershipCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchCreateRoomMembershipRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchCreateRoomMembershipResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchCreateRoomMembershipCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchCreateRoomMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchCreateRoomMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchCreateRoomMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchCreateRoomMembershipCommand;
38
+ }($Command));
39
+ export { BatchCreateRoomMembershipCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchDeletePhoneNumberRequestFilterSensitiveLog, BatchDeletePhoneNumberResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchDeletePhoneNumberCommand, serializeAws_restJson1BatchDeletePhoneNumberCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchDeletePhoneNumberCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchDeletePhoneNumberCommand = (function (_super) {
7
+ __extends(BatchDeletePhoneNumberCommand, _super);
8
+ function BatchDeletePhoneNumberCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchDeletePhoneNumberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "BatchDeletePhoneNumberCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "BatchDeletePhoneNumberCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchDeletePhoneNumberRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchDeletePhoneNumberResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchDeletePhoneNumberCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchDeletePhoneNumberCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchDeletePhoneNumberCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchDeletePhoneNumberCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchDeletePhoneNumberCommand;
38
+ }($Command));
39
+ export { BatchDeletePhoneNumberCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchSuspendUserRequestFilterSensitiveLog, BatchSuspendUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchSuspendUserCommand, serializeAws_restJson1BatchSuspendUserCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchSuspendUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchSuspendUserCommand = (function (_super) {
7
+ __extends(BatchSuspendUserCommand, _super);
8
+ function BatchSuspendUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchSuspendUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ChimeClient";
15
- const commandName = "BatchSuspendUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ChimeClient";
18
+ var commandName = "BatchSuspendUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchSuspendUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchSuspendUserResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchSuspendUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchSuspendUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchSuspendUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchSuspendUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchSuspendUserCommand;
38
+ }($Command));
39
+ export { BatchSuspendUserCommand };