@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 { ListVoiceConnectorsRequestFilterSensitiveLog, ListVoiceConnectorsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1ListVoiceConnectorsCommand, serializeAws_restJson1ListVoiceConnectorsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListVoiceConnectorsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVoiceConnectorsCommand = (function (_super) {
7
+ __extends(ListVoiceConnectorsCommand, _super);
8
+ function ListVoiceConnectorsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVoiceConnectorsCommand.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 = "ListVoiceConnectorsCommand";
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 = "ListVoiceConnectorsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVoiceConnectorsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVoiceConnectorsResponseFilterSensitiveLog,
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
+ ListVoiceConnectorsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListVoiceConnectorsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVoiceConnectorsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListVoiceConnectorsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVoiceConnectorsCommand;
38
+ }($Command));
39
+ export { ListVoiceConnectorsCommand };
@@ -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 { LogoutUserRequestFilterSensitiveLog, LogoutUserResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1LogoutUserCommand, serializeAws_restJson1LogoutUserCommand, } from "../protocols/Aws_restJson1";
5
- export class LogoutUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var LogoutUserCommand = (function (_super) {
7
+ __extends(LogoutUserCommand, _super);
8
+ function LogoutUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ LogoutUserCommand.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 = "LogoutUserCommand";
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 = "LogoutUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: LogoutUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: LogoutUserResponseFilterSensitiveLog,
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
+ LogoutUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1LogoutUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ LogoutUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1LogoutUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return LogoutUserCommand;
38
+ }($Command));
39
+ export { LogoutUserCommand };
@@ -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 { PutAppInstanceRetentionSettingsRequestFilterSensitiveLog, PutAppInstanceRetentionSettingsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand, serializeAws_restJson1PutAppInstanceRetentionSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class PutAppInstanceRetentionSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutAppInstanceRetentionSettingsCommand = (function (_super) {
7
+ __extends(PutAppInstanceRetentionSettingsCommand, _super);
8
+ function PutAppInstanceRetentionSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutAppInstanceRetentionSettingsCommand.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 = "PutAppInstanceRetentionSettingsCommand";
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 = "PutAppInstanceRetentionSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutAppInstanceRetentionSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutAppInstanceRetentionSettingsResponseFilterSensitiveLog,
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
+ PutAppInstanceRetentionSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutAppInstanceRetentionSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutAppInstanceRetentionSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutAppInstanceRetentionSettingsCommand;
38
+ }($Command));
39
+ export { PutAppInstanceRetentionSettingsCommand };
@@ -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 { PutAppInstanceStreamingConfigurationsRequestFilterSensitiveLog, PutAppInstanceStreamingConfigurationsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutAppInstanceStreamingConfigurationsCommand, serializeAws_restJson1PutAppInstanceStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
5
- export class PutAppInstanceStreamingConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutAppInstanceStreamingConfigurationsCommand = (function (_super) {
7
+ __extends(PutAppInstanceStreamingConfigurationsCommand, _super);
8
+ function PutAppInstanceStreamingConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutAppInstanceStreamingConfigurationsCommand.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 = "PutAppInstanceStreamingConfigurationsCommand";
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 = "PutAppInstanceStreamingConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutAppInstanceStreamingConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutAppInstanceStreamingConfigurationsResponseFilterSensitiveLog,
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
+ PutAppInstanceStreamingConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutAppInstanceStreamingConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutAppInstanceStreamingConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutAppInstanceStreamingConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutAppInstanceStreamingConfigurationsCommand;
38
+ }($Command));
39
+ export { PutAppInstanceStreamingConfigurationsCommand };
@@ -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 { PutEventsConfigurationRequestFilterSensitiveLog, PutEventsConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutEventsConfigurationCommand, serializeAws_restJson1PutEventsConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class PutEventsConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutEventsConfigurationCommand = (function (_super) {
7
+ __extends(PutEventsConfigurationCommand, _super);
8
+ function PutEventsConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutEventsConfigurationCommand.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 = "PutEventsConfigurationCommand";
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 = "PutEventsConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutEventsConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutEventsConfigurationResponseFilterSensitiveLog,
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
+ PutEventsConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutEventsConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutEventsConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutEventsConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutEventsConfigurationCommand;
38
+ }($Command));
39
+ export { PutEventsConfigurationCommand };
@@ -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 { PutRetentionSettingsRequestFilterSensitiveLog, PutRetentionSettingsResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutRetentionSettingsCommand, serializeAws_restJson1PutRetentionSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class PutRetentionSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutRetentionSettingsCommand = (function (_super) {
7
+ __extends(PutRetentionSettingsCommand, _super);
8
+ function PutRetentionSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutRetentionSettingsCommand.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 = "PutRetentionSettingsCommand";
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 = "PutRetentionSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutRetentionSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutRetentionSettingsResponseFilterSensitiveLog,
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
+ PutRetentionSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutRetentionSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutRetentionSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutRetentionSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutRetentionSettingsCommand;
38
+ }($Command));
39
+ export { PutRetentionSettingsCommand };
@@ -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 { PutSipMediaApplicationLoggingConfigurationRequestFilterSensitiveLog, PutSipMediaApplicationLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutSipMediaApplicationLoggingConfigurationCommand, serializeAws_restJson1PutSipMediaApplicationLoggingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class PutSipMediaApplicationLoggingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutSipMediaApplicationLoggingConfigurationCommand = (function (_super) {
7
+ __extends(PutSipMediaApplicationLoggingConfigurationCommand, _super);
8
+ function PutSipMediaApplicationLoggingConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutSipMediaApplicationLoggingConfigurationCommand.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 = "PutSipMediaApplicationLoggingConfigurationCommand";
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 = "PutSipMediaApplicationLoggingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutSipMediaApplicationLoggingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutSipMediaApplicationLoggingConfigurationResponseFilterSensitiveLog,
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
+ PutSipMediaApplicationLoggingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutSipMediaApplicationLoggingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutSipMediaApplicationLoggingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutSipMediaApplicationLoggingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutSipMediaApplicationLoggingConfigurationCommand;
38
+ }($Command));
39
+ export { PutSipMediaApplicationLoggingConfigurationCommand };
@@ -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 { PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog, PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurationCommand, serializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class PutVoiceConnectorEmergencyCallingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutVoiceConnectorEmergencyCallingConfigurationCommand = (function (_super) {
7
+ __extends(PutVoiceConnectorEmergencyCallingConfigurationCommand, _super);
8
+ function PutVoiceConnectorEmergencyCallingConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutVoiceConnectorEmergencyCallingConfigurationCommand.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 = "PutVoiceConnectorEmergencyCallingConfigurationCommand";
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 = "PutVoiceConnectorEmergencyCallingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutVoiceConnectorEmergencyCallingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutVoiceConnectorEmergencyCallingConfigurationResponseFilterSensitiveLog,
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
+ PutVoiceConnectorEmergencyCallingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutVoiceConnectorEmergencyCallingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutVoiceConnectorEmergencyCallingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutVoiceConnectorEmergencyCallingConfigurationCommand;
38
+ }($Command));
39
+ export { PutVoiceConnectorEmergencyCallingConfigurationCommand };
@@ -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 { PutVoiceConnectorLoggingConfigurationRequestFilterSensitiveLog, PutVoiceConnectorLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutVoiceConnectorLoggingConfigurationCommand, serializeAws_restJson1PutVoiceConnectorLoggingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class PutVoiceConnectorLoggingConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutVoiceConnectorLoggingConfigurationCommand = (function (_super) {
7
+ __extends(PutVoiceConnectorLoggingConfigurationCommand, _super);
8
+ function PutVoiceConnectorLoggingConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutVoiceConnectorLoggingConfigurationCommand.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 = "PutVoiceConnectorLoggingConfigurationCommand";
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 = "PutVoiceConnectorLoggingConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutVoiceConnectorLoggingConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutVoiceConnectorLoggingConfigurationResponseFilterSensitiveLog,
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
+ PutVoiceConnectorLoggingConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutVoiceConnectorLoggingConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutVoiceConnectorLoggingConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutVoiceConnectorLoggingConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutVoiceConnectorLoggingConfigurationCommand;
38
+ }($Command));
39
+ export { PutVoiceConnectorLoggingConfigurationCommand };
@@ -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 { PutVoiceConnectorOriginationRequestFilterSensitiveLog, PutVoiceConnectorOriginationResponseFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_restJson1PutVoiceConnectorOriginationCommand, serializeAws_restJson1PutVoiceConnectorOriginationCommand, } from "../protocols/Aws_restJson1";
5
- export class PutVoiceConnectorOriginationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutVoiceConnectorOriginationCommand = (function (_super) {
7
+ __extends(PutVoiceConnectorOriginationCommand, _super);
8
+ function PutVoiceConnectorOriginationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutVoiceConnectorOriginationCommand.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 = "PutVoiceConnectorOriginationCommand";
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 = "PutVoiceConnectorOriginationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutVoiceConnectorOriginationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutVoiceConnectorOriginationResponseFilterSensitiveLog,
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
+ PutVoiceConnectorOriginationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutVoiceConnectorOriginationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutVoiceConnectorOriginationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutVoiceConnectorOriginationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutVoiceConnectorOriginationCommand;
38
+ }($Command));
39
+ export { PutVoiceConnectorOriginationCommand };