@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 { DescribeChannelMembershipRequestFilterSensitiveLog, DescribeChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelMembershipCommand, serializeAws_restJson1DescribeChannelMembershipCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelMembershipCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelMembershipCommand = (function (_super) {
7
+ __extends(DescribeChannelMembershipCommand, _super);
8
+ function DescribeChannelMembershipCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelMembershipCommand.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 = "DescribeChannelMembershipCommand";
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 = "DescribeChannelMembershipCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelMembershipRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelMembershipResponseFilterSensitiveLog,
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
+ DescribeChannelMembershipCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelMembershipCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelMembershipCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelMembershipCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelMembershipCommand;
38
+ }($Command));
39
+ export { DescribeChannelMembershipCommand };
@@ -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 { DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog, DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelMembershipForAppInstanceUserCommand = (function (_super) {
7
+ __extends(DescribeChannelMembershipForAppInstanceUserCommand, _super);
8
+ function DescribeChannelMembershipForAppInstanceUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelMembershipForAppInstanceUserCommand.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 = "DescribeChannelMembershipForAppInstanceUserCommand";
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 = "DescribeChannelMembershipForAppInstanceUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog,
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
+ DescribeChannelMembershipForAppInstanceUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelMembershipForAppInstanceUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelMembershipForAppInstanceUserCommand;
38
+ }($Command));
39
+ export { DescribeChannelMembershipForAppInstanceUserCommand };
@@ -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 { DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog, DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand, serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelModeratedByAppInstanceUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelModeratedByAppInstanceUserCommand = (function (_super) {
7
+ __extends(DescribeChannelModeratedByAppInstanceUserCommand, _super);
8
+ function DescribeChannelModeratedByAppInstanceUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelModeratedByAppInstanceUserCommand.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 = "DescribeChannelModeratedByAppInstanceUserCommand";
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 = "DescribeChannelModeratedByAppInstanceUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog,
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
+ DescribeChannelModeratedByAppInstanceUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelModeratedByAppInstanceUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelModeratedByAppInstanceUserCommand;
38
+ }($Command));
39
+ export { DescribeChannelModeratedByAppInstanceUserCommand };
@@ -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 { DescribeChannelModeratorRequestFilterSensitiveLog, DescribeChannelModeratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeChannelModeratorCommand, serializeAws_restJson1DescribeChannelModeratorCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeChannelModeratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeChannelModeratorCommand = (function (_super) {
7
+ __extends(DescribeChannelModeratorCommand, _super);
8
+ function DescribeChannelModeratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeChannelModeratorCommand.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 = "DescribeChannelModeratorCommand";
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 = "DescribeChannelModeratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeChannelModeratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeChannelModeratorResponseFilterSensitiveLog,
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
+ DescribeChannelModeratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeChannelModeratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeChannelModeratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeChannelModeratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeChannelModeratorCommand;
38
+ }($Command));
39
+ export { DescribeChannelModeratorCommand };
@@ -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 { DisassociatePhoneNumberFromUserRequestFilterSensitiveLog, DisassociatePhoneNumberFromUserResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociatePhoneNumberFromUserCommand, serializeAws_restJson1DisassociatePhoneNumberFromUserCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociatePhoneNumberFromUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociatePhoneNumberFromUserCommand = (function (_super) {
7
+ __extends(DisassociatePhoneNumberFromUserCommand, _super);
8
+ function DisassociatePhoneNumberFromUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociatePhoneNumberFromUserCommand.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 = "DisassociatePhoneNumberFromUserCommand";
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 = "DisassociatePhoneNumberFromUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociatePhoneNumberFromUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociatePhoneNumberFromUserResponseFilterSensitiveLog,
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
+ DisassociatePhoneNumberFromUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociatePhoneNumberFromUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociatePhoneNumberFromUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociatePhoneNumberFromUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociatePhoneNumberFromUserCommand;
38
+ }($Command));
39
+ export { DisassociatePhoneNumberFromUserCommand };
@@ -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 { DisassociatePhoneNumbersFromVoiceConnectorRequestFilterSensitiveLog, DisassociatePhoneNumbersFromVoiceConnectorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorCommand, serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociatePhoneNumbersFromVoiceConnectorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociatePhoneNumbersFromVoiceConnectorCommand = (function (_super) {
7
+ __extends(DisassociatePhoneNumbersFromVoiceConnectorCommand, _super);
8
+ function DisassociatePhoneNumbersFromVoiceConnectorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociatePhoneNumbersFromVoiceConnectorCommand.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 = "DisassociatePhoneNumbersFromVoiceConnectorCommand";
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 = "DisassociatePhoneNumbersFromVoiceConnectorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociatePhoneNumbersFromVoiceConnectorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociatePhoneNumbersFromVoiceConnectorResponseFilterSensitiveLog,
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
+ DisassociatePhoneNumbersFromVoiceConnectorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociatePhoneNumbersFromVoiceConnectorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociatePhoneNumbersFromVoiceConnectorCommand;
38
+ }($Command));
39
+ export { DisassociatePhoneNumbersFromVoiceConnectorCommand };
@@ -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 { DisassociatePhoneNumbersFromVoiceConnectorGroupRequestFilterSensitiveLog, DisassociatePhoneNumbersFromVoiceConnectorGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociatePhoneNumbersFromVoiceConnectorGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociatePhoneNumbersFromVoiceConnectorGroupCommand = (function (_super) {
7
+ __extends(DisassociatePhoneNumbersFromVoiceConnectorGroupCommand, _super);
8
+ function DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.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 = "DisassociatePhoneNumbersFromVoiceConnectorGroupCommand";
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 = "DisassociatePhoneNumbersFromVoiceConnectorGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociatePhoneNumbersFromVoiceConnectorGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociatePhoneNumbersFromVoiceConnectorGroupResponseFilterSensitiveLog,
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
+ DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociatePhoneNumbersFromVoiceConnectorGroupCommand;
38
+ }($Command));
39
+ export { DisassociatePhoneNumbersFromVoiceConnectorGroupCommand };
@@ -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 { DisassociateSigninDelegateGroupsFromAccountRequestFilterSensitiveLog, DisassociateSigninDelegateGroupsFromAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand, serializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateSigninDelegateGroupsFromAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateSigninDelegateGroupsFromAccountCommand = (function (_super) {
7
+ __extends(DisassociateSigninDelegateGroupsFromAccountCommand, _super);
8
+ function DisassociateSigninDelegateGroupsFromAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateSigninDelegateGroupsFromAccountCommand.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 = "DisassociateSigninDelegateGroupsFromAccountCommand";
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 = "DisassociateSigninDelegateGroupsFromAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateSigninDelegateGroupsFromAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateSigninDelegateGroupsFromAccountResponseFilterSensitiveLog,
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
+ DisassociateSigninDelegateGroupsFromAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateSigninDelegateGroupsFromAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateSigninDelegateGroupsFromAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateSigninDelegateGroupsFromAccountCommand;
38
+ }($Command));
39
+ export { DisassociateSigninDelegateGroupsFromAccountCommand };
@@ -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 { GetAccountRequestFilterSensitiveLog, GetAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAccountCommand, serializeAws_restJson1GetAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAccountCommand = (function (_super) {
7
+ __extends(GetAccountCommand, _super);
8
+ function GetAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAccountCommand.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 = "GetAccountCommand";
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 = "GetAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAccountResponseFilterSensitiveLog,
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
+ GetAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAccountCommand;
38
+ }($Command));
39
+ export { GetAccountCommand };
@@ -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 { GetAccountSettingsRequestFilterSensitiveLog, GetAccountSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAccountSettingsCommand, serializeAws_restJson1GetAccountSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAccountSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAccountSettingsCommand = (function (_super) {
7
+ __extends(GetAccountSettingsCommand, _super);
8
+ function GetAccountSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAccountSettingsCommand.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 = "GetAccountSettingsCommand";
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 = "GetAccountSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAccountSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAccountSettingsResponseFilterSensitiveLog,
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
+ GetAccountSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAccountSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAccountSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAccountSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAccountSettingsCommand;
38
+ }($Command));
39
+ export { GetAccountSettingsCommand };