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