@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,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 { GetUserSettingsRequestFilterSensitiveLog, GetUserSettingsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetUserSettingsCommand, serializeAws_restJson1GetUserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetUserSettingsCommand.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 = "GetUserSettingsCommand";
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 = "GetUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetUserSettingsResponseFilterSensitiveLog,
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
+ GetUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetUserSettingsCommand;
38
+ }($Command));
39
+ export { GetUserSettingsCommand };
@@ -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 { GetVoiceConnectorRequestFilterSensitiveLog, GetVoiceConnectorResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorCommand, serializeAws_restJson1GetVoiceConnectorCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorCommand.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 = "GetVoiceConnectorCommand";
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 = "GetVoiceConnectorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorResponseFilterSensitiveLog,
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
+ GetVoiceConnectorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorCommand };
@@ -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 { GetVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog, GetVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurationCommand, serializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorEmergencyCallingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorEmergencyCallingConfigurationCommand.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 = "GetVoiceConnectorEmergencyCallingConfigurationCommand";
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 = "GetVoiceConnectorEmergencyCallingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog,
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
+ GetVoiceConnectorEmergencyCallingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorEmergencyCallingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorEmergencyCallingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorEmergencyCallingConfigurationCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorEmergencyCallingConfigurationCommand };
@@ -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 { GetVoiceConnectorGroupRequestFilterSensitiveLog, GetVoiceConnectorGroupResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorGroupCommand, serializeAws_restJson1GetVoiceConnectorGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorGroupCommand.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 = "GetVoiceConnectorGroupCommand";
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 = "GetVoiceConnectorGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorGroupResponseFilterSensitiveLog,
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
+ GetVoiceConnectorGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorGroupCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorGroupCommand };
@@ -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 { GetVoiceConnectorLoggingConfigurationRequestFilterSensitiveLog, GetVoiceConnectorLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand, serializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorLoggingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorLoggingConfigurationCommand.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 = "GetVoiceConnectorLoggingConfigurationCommand";
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 = "GetVoiceConnectorLoggingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorLoggingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorLoggingConfigurationResponseFilterSensitiveLog,
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
+ GetVoiceConnectorLoggingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorLoggingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorLoggingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorLoggingConfigurationCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorLoggingConfigurationCommand };
@@ -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 { GetVoiceConnectorOriginationRequestFilterSensitiveLog, GetVoiceConnectorOriginationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorOriginationCommand, serializeAws_restJson1GetVoiceConnectorOriginationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorOriginationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorOriginationCommand.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 = "GetVoiceConnectorOriginationCommand";
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 = "GetVoiceConnectorOriginationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorOriginationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorOriginationResponseFilterSensitiveLog,
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
+ GetVoiceConnectorOriginationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorOriginationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorOriginationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorOriginationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorOriginationCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorOriginationCommand };
@@ -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 { GetVoiceConnectorProxyRequestFilterSensitiveLog, GetVoiceConnectorProxyResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorProxyCommand, serializeAws_restJson1GetVoiceConnectorProxyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorProxyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorProxyCommand.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 = "GetVoiceConnectorProxyCommand";
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 = "GetVoiceConnectorProxyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorProxyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorProxyResponseFilterSensitiveLog,
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
+ GetVoiceConnectorProxyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorProxyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorProxyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorProxyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorProxyCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorProxyCommand };
@@ -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 { GetVoiceConnectorStreamingConfigurationRequestFilterSensitiveLog, GetVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorStreamingConfigurationCommand, serializeAws_restJson1GetVoiceConnectorStreamingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorStreamingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorStreamingConfigurationCommand.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 = "GetVoiceConnectorStreamingConfigurationCommand";
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 = "GetVoiceConnectorStreamingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorStreamingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorStreamingConfigurationResponseFilterSensitiveLog,
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
+ GetVoiceConnectorStreamingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorStreamingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorStreamingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorStreamingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorStreamingConfigurationCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorStreamingConfigurationCommand };
@@ -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 { GetVoiceConnectorTerminationRequestFilterSensitiveLog, GetVoiceConnectorTerminationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorTerminationCommand, serializeAws_restJson1GetVoiceConnectorTerminationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorTerminationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorTerminationCommand.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 = "GetVoiceConnectorTerminationCommand";
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 = "GetVoiceConnectorTerminationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorTerminationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorTerminationResponseFilterSensitiveLog,
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
+ GetVoiceConnectorTerminationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorTerminationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorTerminationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorTerminationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorTerminationCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorTerminationCommand };
@@ -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 { GetVoiceConnectorTerminationHealthRequestFilterSensitiveLog, GetVoiceConnectorTerminationHealthResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1GetVoiceConnectorTerminationHealthCommand, serializeAws_restJson1GetVoiceConnectorTerminationHealthCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVoiceConnectorTerminationHealthCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVoiceConnectorTerminationHealthCommand.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 = "GetVoiceConnectorTerminationHealthCommand";
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 = "GetVoiceConnectorTerminationHealthCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVoiceConnectorTerminationHealthRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVoiceConnectorTerminationHealthResponseFilterSensitiveLog,
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
+ GetVoiceConnectorTerminationHealthCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVoiceConnectorTerminationHealthCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVoiceConnectorTerminationHealthCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVoiceConnectorTerminationHealthCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVoiceConnectorTerminationHealthCommand;
38
+ }($Command));
39
+ export { GetVoiceConnectorTerminationHealthCommand };