@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
package/dist-es/Chime.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { ChimeClient } from "./ChimeClient";
2
3
  import { AssociatePhoneNumbersWithVoiceConnectorCommand, } from "./commands/AssociatePhoneNumbersWithVoiceConnectorCommand";
3
4
  import { AssociatePhoneNumbersWithVoiceConnectorGroupCommand, } from "./commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand";
@@ -190,2679 +191,2685 @@ import { UpdateUserSettingsCommand, } from "./commands/UpdateUserSettingsCommand
190
191
  import { UpdateVoiceConnectorCommand, } from "./commands/UpdateVoiceConnectorCommand";
191
192
  import { UpdateVoiceConnectorGroupCommand, } from "./commands/UpdateVoiceConnectorGroupCommand";
192
193
  import { ValidateE911AddressCommand, } from "./commands/ValidateE911AddressCommand";
193
- export class Chime extends ChimeClient {
194
- associatePhoneNumbersWithVoiceConnector(args, optionsOrCb, cb) {
195
- const command = new AssociatePhoneNumbersWithVoiceConnectorCommand(args);
194
+ var Chime = (function (_super) {
195
+ __extends(Chime, _super);
196
+ function Chime() {
197
+ return _super !== null && _super.apply(this, arguments) || this;
198
+ }
199
+ Chime.prototype.associatePhoneNumbersWithVoiceConnector = function (args, optionsOrCb, cb) {
200
+ var command = new AssociatePhoneNumbersWithVoiceConnectorCommand(args);
196
201
  if (typeof optionsOrCb === "function") {
197
202
  this.send(command, optionsOrCb);
198
203
  }
199
204
  else if (typeof cb === "function") {
200
205
  if (typeof optionsOrCb !== "object")
201
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
206
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
202
207
  this.send(command, optionsOrCb || {}, cb);
203
208
  }
204
209
  else {
205
210
  return this.send(command, optionsOrCb);
206
211
  }
207
- }
208
- associatePhoneNumbersWithVoiceConnectorGroup(args, optionsOrCb, cb) {
209
- const command = new AssociatePhoneNumbersWithVoiceConnectorGroupCommand(args);
212
+ };
213
+ Chime.prototype.associatePhoneNumbersWithVoiceConnectorGroup = function (args, optionsOrCb, cb) {
214
+ var command = new AssociatePhoneNumbersWithVoiceConnectorGroupCommand(args);
210
215
  if (typeof optionsOrCb === "function") {
211
216
  this.send(command, optionsOrCb);
212
217
  }
213
218
  else if (typeof cb === "function") {
214
219
  if (typeof optionsOrCb !== "object")
215
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
220
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
216
221
  this.send(command, optionsOrCb || {}, cb);
217
222
  }
218
223
  else {
219
224
  return this.send(command, optionsOrCb);
220
225
  }
221
- }
222
- associatePhoneNumberWithUser(args, optionsOrCb, cb) {
223
- const command = new AssociatePhoneNumberWithUserCommand(args);
226
+ };
227
+ Chime.prototype.associatePhoneNumberWithUser = function (args, optionsOrCb, cb) {
228
+ var command = new AssociatePhoneNumberWithUserCommand(args);
224
229
  if (typeof optionsOrCb === "function") {
225
230
  this.send(command, optionsOrCb);
226
231
  }
227
232
  else if (typeof cb === "function") {
228
233
  if (typeof optionsOrCb !== "object")
229
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
234
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
230
235
  this.send(command, optionsOrCb || {}, cb);
231
236
  }
232
237
  else {
233
238
  return this.send(command, optionsOrCb);
234
239
  }
235
- }
236
- associateSigninDelegateGroupsWithAccount(args, optionsOrCb, cb) {
237
- const command = new AssociateSigninDelegateGroupsWithAccountCommand(args);
240
+ };
241
+ Chime.prototype.associateSigninDelegateGroupsWithAccount = function (args, optionsOrCb, cb) {
242
+ var command = new AssociateSigninDelegateGroupsWithAccountCommand(args);
238
243
  if (typeof optionsOrCb === "function") {
239
244
  this.send(command, optionsOrCb);
240
245
  }
241
246
  else if (typeof cb === "function") {
242
247
  if (typeof optionsOrCb !== "object")
243
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
248
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
244
249
  this.send(command, optionsOrCb || {}, cb);
245
250
  }
246
251
  else {
247
252
  return this.send(command, optionsOrCb);
248
253
  }
249
- }
250
- batchCreateAttendee(args, optionsOrCb, cb) {
251
- const command = new BatchCreateAttendeeCommand(args);
254
+ };
255
+ Chime.prototype.batchCreateAttendee = function (args, optionsOrCb, cb) {
256
+ var command = new BatchCreateAttendeeCommand(args);
252
257
  if (typeof optionsOrCb === "function") {
253
258
  this.send(command, optionsOrCb);
254
259
  }
255
260
  else if (typeof cb === "function") {
256
261
  if (typeof optionsOrCb !== "object")
257
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
262
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
258
263
  this.send(command, optionsOrCb || {}, cb);
259
264
  }
260
265
  else {
261
266
  return this.send(command, optionsOrCb);
262
267
  }
263
- }
264
- batchCreateChannelMembership(args, optionsOrCb, cb) {
265
- const command = new BatchCreateChannelMembershipCommand(args);
268
+ };
269
+ Chime.prototype.batchCreateChannelMembership = function (args, optionsOrCb, cb) {
270
+ var command = new BatchCreateChannelMembershipCommand(args);
266
271
  if (typeof optionsOrCb === "function") {
267
272
  this.send(command, optionsOrCb);
268
273
  }
269
274
  else if (typeof cb === "function") {
270
275
  if (typeof optionsOrCb !== "object")
271
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
276
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
272
277
  this.send(command, optionsOrCb || {}, cb);
273
278
  }
274
279
  else {
275
280
  return this.send(command, optionsOrCb);
276
281
  }
277
- }
278
- batchCreateRoomMembership(args, optionsOrCb, cb) {
279
- const command = new BatchCreateRoomMembershipCommand(args);
282
+ };
283
+ Chime.prototype.batchCreateRoomMembership = function (args, optionsOrCb, cb) {
284
+ var command = new BatchCreateRoomMembershipCommand(args);
280
285
  if (typeof optionsOrCb === "function") {
281
286
  this.send(command, optionsOrCb);
282
287
  }
283
288
  else if (typeof cb === "function") {
284
289
  if (typeof optionsOrCb !== "object")
285
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
290
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
286
291
  this.send(command, optionsOrCb || {}, cb);
287
292
  }
288
293
  else {
289
294
  return this.send(command, optionsOrCb);
290
295
  }
291
- }
292
- batchDeletePhoneNumber(args, optionsOrCb, cb) {
293
- const command = new BatchDeletePhoneNumberCommand(args);
296
+ };
297
+ Chime.prototype.batchDeletePhoneNumber = function (args, optionsOrCb, cb) {
298
+ var command = new BatchDeletePhoneNumberCommand(args);
294
299
  if (typeof optionsOrCb === "function") {
295
300
  this.send(command, optionsOrCb);
296
301
  }
297
302
  else if (typeof cb === "function") {
298
303
  if (typeof optionsOrCb !== "object")
299
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
304
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
300
305
  this.send(command, optionsOrCb || {}, cb);
301
306
  }
302
307
  else {
303
308
  return this.send(command, optionsOrCb);
304
309
  }
305
- }
306
- batchSuspendUser(args, optionsOrCb, cb) {
307
- const command = new BatchSuspendUserCommand(args);
310
+ };
311
+ Chime.prototype.batchSuspendUser = function (args, optionsOrCb, cb) {
312
+ var command = new BatchSuspendUserCommand(args);
308
313
  if (typeof optionsOrCb === "function") {
309
314
  this.send(command, optionsOrCb);
310
315
  }
311
316
  else if (typeof cb === "function") {
312
317
  if (typeof optionsOrCb !== "object")
313
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
318
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
314
319
  this.send(command, optionsOrCb || {}, cb);
315
320
  }
316
321
  else {
317
322
  return this.send(command, optionsOrCb);
318
323
  }
319
- }
320
- batchUnsuspendUser(args, optionsOrCb, cb) {
321
- const command = new BatchUnsuspendUserCommand(args);
324
+ };
325
+ Chime.prototype.batchUnsuspendUser = function (args, optionsOrCb, cb) {
326
+ var command = new BatchUnsuspendUserCommand(args);
322
327
  if (typeof optionsOrCb === "function") {
323
328
  this.send(command, optionsOrCb);
324
329
  }
325
330
  else if (typeof cb === "function") {
326
331
  if (typeof optionsOrCb !== "object")
327
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
332
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
328
333
  this.send(command, optionsOrCb || {}, cb);
329
334
  }
330
335
  else {
331
336
  return this.send(command, optionsOrCb);
332
337
  }
333
- }
334
- batchUpdatePhoneNumber(args, optionsOrCb, cb) {
335
- const command = new BatchUpdatePhoneNumberCommand(args);
338
+ };
339
+ Chime.prototype.batchUpdatePhoneNumber = function (args, optionsOrCb, cb) {
340
+ var command = new BatchUpdatePhoneNumberCommand(args);
336
341
  if (typeof optionsOrCb === "function") {
337
342
  this.send(command, optionsOrCb);
338
343
  }
339
344
  else if (typeof cb === "function") {
340
345
  if (typeof optionsOrCb !== "object")
341
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
346
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
342
347
  this.send(command, optionsOrCb || {}, cb);
343
348
  }
344
349
  else {
345
350
  return this.send(command, optionsOrCb);
346
351
  }
347
- }
348
- batchUpdateUser(args, optionsOrCb, cb) {
349
- const command = new BatchUpdateUserCommand(args);
352
+ };
353
+ Chime.prototype.batchUpdateUser = function (args, optionsOrCb, cb) {
354
+ var command = new BatchUpdateUserCommand(args);
350
355
  if (typeof optionsOrCb === "function") {
351
356
  this.send(command, optionsOrCb);
352
357
  }
353
358
  else if (typeof cb === "function") {
354
359
  if (typeof optionsOrCb !== "object")
355
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
360
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
356
361
  this.send(command, optionsOrCb || {}, cb);
357
362
  }
358
363
  else {
359
364
  return this.send(command, optionsOrCb);
360
365
  }
361
- }
362
- createAccount(args, optionsOrCb, cb) {
363
- const command = new CreateAccountCommand(args);
366
+ };
367
+ Chime.prototype.createAccount = function (args, optionsOrCb, cb) {
368
+ var command = new CreateAccountCommand(args);
364
369
  if (typeof optionsOrCb === "function") {
365
370
  this.send(command, optionsOrCb);
366
371
  }
367
372
  else if (typeof cb === "function") {
368
373
  if (typeof optionsOrCb !== "object")
369
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
374
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
370
375
  this.send(command, optionsOrCb || {}, cb);
371
376
  }
372
377
  else {
373
378
  return this.send(command, optionsOrCb);
374
379
  }
375
- }
376
- createAppInstance(args, optionsOrCb, cb) {
377
- const command = new CreateAppInstanceCommand(args);
380
+ };
381
+ Chime.prototype.createAppInstance = function (args, optionsOrCb, cb) {
382
+ var command = new CreateAppInstanceCommand(args);
378
383
  if (typeof optionsOrCb === "function") {
379
384
  this.send(command, optionsOrCb);
380
385
  }
381
386
  else if (typeof cb === "function") {
382
387
  if (typeof optionsOrCb !== "object")
383
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
388
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
384
389
  this.send(command, optionsOrCb || {}, cb);
385
390
  }
386
391
  else {
387
392
  return this.send(command, optionsOrCb);
388
393
  }
389
- }
390
- createAppInstanceAdmin(args, optionsOrCb, cb) {
391
- const command = new CreateAppInstanceAdminCommand(args);
394
+ };
395
+ Chime.prototype.createAppInstanceAdmin = function (args, optionsOrCb, cb) {
396
+ var command = new CreateAppInstanceAdminCommand(args);
392
397
  if (typeof optionsOrCb === "function") {
393
398
  this.send(command, optionsOrCb);
394
399
  }
395
400
  else if (typeof cb === "function") {
396
401
  if (typeof optionsOrCb !== "object")
397
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
402
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
398
403
  this.send(command, optionsOrCb || {}, cb);
399
404
  }
400
405
  else {
401
406
  return this.send(command, optionsOrCb);
402
407
  }
403
- }
404
- createAppInstanceUser(args, optionsOrCb, cb) {
405
- const command = new CreateAppInstanceUserCommand(args);
408
+ };
409
+ Chime.prototype.createAppInstanceUser = function (args, optionsOrCb, cb) {
410
+ var command = new CreateAppInstanceUserCommand(args);
406
411
  if (typeof optionsOrCb === "function") {
407
412
  this.send(command, optionsOrCb);
408
413
  }
409
414
  else if (typeof cb === "function") {
410
415
  if (typeof optionsOrCb !== "object")
411
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
416
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
412
417
  this.send(command, optionsOrCb || {}, cb);
413
418
  }
414
419
  else {
415
420
  return this.send(command, optionsOrCb);
416
421
  }
417
- }
418
- createAttendee(args, optionsOrCb, cb) {
419
- const command = new CreateAttendeeCommand(args);
422
+ };
423
+ Chime.prototype.createAttendee = function (args, optionsOrCb, cb) {
424
+ var command = new CreateAttendeeCommand(args);
420
425
  if (typeof optionsOrCb === "function") {
421
426
  this.send(command, optionsOrCb);
422
427
  }
423
428
  else if (typeof cb === "function") {
424
429
  if (typeof optionsOrCb !== "object")
425
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
430
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
426
431
  this.send(command, optionsOrCb || {}, cb);
427
432
  }
428
433
  else {
429
434
  return this.send(command, optionsOrCb);
430
435
  }
431
- }
432
- createBot(args, optionsOrCb, cb) {
433
- const command = new CreateBotCommand(args);
436
+ };
437
+ Chime.prototype.createBot = function (args, optionsOrCb, cb) {
438
+ var command = new CreateBotCommand(args);
434
439
  if (typeof optionsOrCb === "function") {
435
440
  this.send(command, optionsOrCb);
436
441
  }
437
442
  else if (typeof cb === "function") {
438
443
  if (typeof optionsOrCb !== "object")
439
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
444
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
440
445
  this.send(command, optionsOrCb || {}, cb);
441
446
  }
442
447
  else {
443
448
  return this.send(command, optionsOrCb);
444
449
  }
445
- }
446
- createChannel(args, optionsOrCb, cb) {
447
- const command = new CreateChannelCommand(args);
450
+ };
451
+ Chime.prototype.createChannel = function (args, optionsOrCb, cb) {
452
+ var command = new CreateChannelCommand(args);
448
453
  if (typeof optionsOrCb === "function") {
449
454
  this.send(command, optionsOrCb);
450
455
  }
451
456
  else if (typeof cb === "function") {
452
457
  if (typeof optionsOrCb !== "object")
453
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
458
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
454
459
  this.send(command, optionsOrCb || {}, cb);
455
460
  }
456
461
  else {
457
462
  return this.send(command, optionsOrCb);
458
463
  }
459
- }
460
- createChannelBan(args, optionsOrCb, cb) {
461
- const command = new CreateChannelBanCommand(args);
464
+ };
465
+ Chime.prototype.createChannelBan = function (args, optionsOrCb, cb) {
466
+ var command = new CreateChannelBanCommand(args);
462
467
  if (typeof optionsOrCb === "function") {
463
468
  this.send(command, optionsOrCb);
464
469
  }
465
470
  else if (typeof cb === "function") {
466
471
  if (typeof optionsOrCb !== "object")
467
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
472
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
468
473
  this.send(command, optionsOrCb || {}, cb);
469
474
  }
470
475
  else {
471
476
  return this.send(command, optionsOrCb);
472
477
  }
473
- }
474
- createChannelMembership(args, optionsOrCb, cb) {
475
- const command = new CreateChannelMembershipCommand(args);
478
+ };
479
+ Chime.prototype.createChannelMembership = function (args, optionsOrCb, cb) {
480
+ var command = new CreateChannelMembershipCommand(args);
476
481
  if (typeof optionsOrCb === "function") {
477
482
  this.send(command, optionsOrCb);
478
483
  }
479
484
  else if (typeof cb === "function") {
480
485
  if (typeof optionsOrCb !== "object")
481
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
486
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
482
487
  this.send(command, optionsOrCb || {}, cb);
483
488
  }
484
489
  else {
485
490
  return this.send(command, optionsOrCb);
486
491
  }
487
- }
488
- createChannelModerator(args, optionsOrCb, cb) {
489
- const command = new CreateChannelModeratorCommand(args);
492
+ };
493
+ Chime.prototype.createChannelModerator = function (args, optionsOrCb, cb) {
494
+ var command = new CreateChannelModeratorCommand(args);
490
495
  if (typeof optionsOrCb === "function") {
491
496
  this.send(command, optionsOrCb);
492
497
  }
493
498
  else if (typeof cb === "function") {
494
499
  if (typeof optionsOrCb !== "object")
495
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
500
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
496
501
  this.send(command, optionsOrCb || {}, cb);
497
502
  }
498
503
  else {
499
504
  return this.send(command, optionsOrCb);
500
505
  }
501
- }
502
- createMediaCapturePipeline(args, optionsOrCb, cb) {
503
- const command = new CreateMediaCapturePipelineCommand(args);
506
+ };
507
+ Chime.prototype.createMediaCapturePipeline = function (args, optionsOrCb, cb) {
508
+ var command = new CreateMediaCapturePipelineCommand(args);
504
509
  if (typeof optionsOrCb === "function") {
505
510
  this.send(command, optionsOrCb);
506
511
  }
507
512
  else if (typeof cb === "function") {
508
513
  if (typeof optionsOrCb !== "object")
509
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
514
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
510
515
  this.send(command, optionsOrCb || {}, cb);
511
516
  }
512
517
  else {
513
518
  return this.send(command, optionsOrCb);
514
519
  }
515
- }
516
- createMeeting(args, optionsOrCb, cb) {
517
- const command = new CreateMeetingCommand(args);
520
+ };
521
+ Chime.prototype.createMeeting = function (args, optionsOrCb, cb) {
522
+ var command = new CreateMeetingCommand(args);
518
523
  if (typeof optionsOrCb === "function") {
519
524
  this.send(command, optionsOrCb);
520
525
  }
521
526
  else if (typeof cb === "function") {
522
527
  if (typeof optionsOrCb !== "object")
523
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
528
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
524
529
  this.send(command, optionsOrCb || {}, cb);
525
530
  }
526
531
  else {
527
532
  return this.send(command, optionsOrCb);
528
533
  }
529
- }
530
- createMeetingDialOut(args, optionsOrCb, cb) {
531
- const command = new CreateMeetingDialOutCommand(args);
534
+ };
535
+ Chime.prototype.createMeetingDialOut = function (args, optionsOrCb, cb) {
536
+ var command = new CreateMeetingDialOutCommand(args);
532
537
  if (typeof optionsOrCb === "function") {
533
538
  this.send(command, optionsOrCb);
534
539
  }
535
540
  else if (typeof cb === "function") {
536
541
  if (typeof optionsOrCb !== "object")
537
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
542
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
538
543
  this.send(command, optionsOrCb || {}, cb);
539
544
  }
540
545
  else {
541
546
  return this.send(command, optionsOrCb);
542
547
  }
543
- }
544
- createMeetingWithAttendees(args, optionsOrCb, cb) {
545
- const command = new CreateMeetingWithAttendeesCommand(args);
548
+ };
549
+ Chime.prototype.createMeetingWithAttendees = function (args, optionsOrCb, cb) {
550
+ var command = new CreateMeetingWithAttendeesCommand(args);
546
551
  if (typeof optionsOrCb === "function") {
547
552
  this.send(command, optionsOrCb);
548
553
  }
549
554
  else if (typeof cb === "function") {
550
555
  if (typeof optionsOrCb !== "object")
551
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
556
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
552
557
  this.send(command, optionsOrCb || {}, cb);
553
558
  }
554
559
  else {
555
560
  return this.send(command, optionsOrCb);
556
561
  }
557
- }
558
- createPhoneNumberOrder(args, optionsOrCb, cb) {
559
- const command = new CreatePhoneNumberOrderCommand(args);
562
+ };
563
+ Chime.prototype.createPhoneNumberOrder = function (args, optionsOrCb, cb) {
564
+ var command = new CreatePhoneNumberOrderCommand(args);
560
565
  if (typeof optionsOrCb === "function") {
561
566
  this.send(command, optionsOrCb);
562
567
  }
563
568
  else if (typeof cb === "function") {
564
569
  if (typeof optionsOrCb !== "object")
565
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
570
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
566
571
  this.send(command, optionsOrCb || {}, cb);
567
572
  }
568
573
  else {
569
574
  return this.send(command, optionsOrCb);
570
575
  }
571
- }
572
- createProxySession(args, optionsOrCb, cb) {
573
- const command = new CreateProxySessionCommand(args);
576
+ };
577
+ Chime.prototype.createProxySession = function (args, optionsOrCb, cb) {
578
+ var command = new CreateProxySessionCommand(args);
574
579
  if (typeof optionsOrCb === "function") {
575
580
  this.send(command, optionsOrCb);
576
581
  }
577
582
  else if (typeof cb === "function") {
578
583
  if (typeof optionsOrCb !== "object")
579
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
584
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
580
585
  this.send(command, optionsOrCb || {}, cb);
581
586
  }
582
587
  else {
583
588
  return this.send(command, optionsOrCb);
584
589
  }
585
- }
586
- createRoom(args, optionsOrCb, cb) {
587
- const command = new CreateRoomCommand(args);
590
+ };
591
+ Chime.prototype.createRoom = function (args, optionsOrCb, cb) {
592
+ var command = new CreateRoomCommand(args);
588
593
  if (typeof optionsOrCb === "function") {
589
594
  this.send(command, optionsOrCb);
590
595
  }
591
596
  else if (typeof cb === "function") {
592
597
  if (typeof optionsOrCb !== "object")
593
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
598
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
594
599
  this.send(command, optionsOrCb || {}, cb);
595
600
  }
596
601
  else {
597
602
  return this.send(command, optionsOrCb);
598
603
  }
599
- }
600
- createRoomMembership(args, optionsOrCb, cb) {
601
- const command = new CreateRoomMembershipCommand(args);
604
+ };
605
+ Chime.prototype.createRoomMembership = function (args, optionsOrCb, cb) {
606
+ var command = new CreateRoomMembershipCommand(args);
602
607
  if (typeof optionsOrCb === "function") {
603
608
  this.send(command, optionsOrCb);
604
609
  }
605
610
  else if (typeof cb === "function") {
606
611
  if (typeof optionsOrCb !== "object")
607
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
612
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
608
613
  this.send(command, optionsOrCb || {}, cb);
609
614
  }
610
615
  else {
611
616
  return this.send(command, optionsOrCb);
612
617
  }
613
- }
614
- createSipMediaApplication(args, optionsOrCb, cb) {
615
- const command = new CreateSipMediaApplicationCommand(args);
618
+ };
619
+ Chime.prototype.createSipMediaApplication = function (args, optionsOrCb, cb) {
620
+ var command = new CreateSipMediaApplicationCommand(args);
616
621
  if (typeof optionsOrCb === "function") {
617
622
  this.send(command, optionsOrCb);
618
623
  }
619
624
  else if (typeof cb === "function") {
620
625
  if (typeof optionsOrCb !== "object")
621
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
626
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
622
627
  this.send(command, optionsOrCb || {}, cb);
623
628
  }
624
629
  else {
625
630
  return this.send(command, optionsOrCb);
626
631
  }
627
- }
628
- createSipMediaApplicationCall(args, optionsOrCb, cb) {
629
- const command = new CreateSipMediaApplicationCallCommand(args);
632
+ };
633
+ Chime.prototype.createSipMediaApplicationCall = function (args, optionsOrCb, cb) {
634
+ var command = new CreateSipMediaApplicationCallCommand(args);
630
635
  if (typeof optionsOrCb === "function") {
631
636
  this.send(command, optionsOrCb);
632
637
  }
633
638
  else if (typeof cb === "function") {
634
639
  if (typeof optionsOrCb !== "object")
635
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
640
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
636
641
  this.send(command, optionsOrCb || {}, cb);
637
642
  }
638
643
  else {
639
644
  return this.send(command, optionsOrCb);
640
645
  }
641
- }
642
- createSipRule(args, optionsOrCb, cb) {
643
- const command = new CreateSipRuleCommand(args);
646
+ };
647
+ Chime.prototype.createSipRule = function (args, optionsOrCb, cb) {
648
+ var command = new CreateSipRuleCommand(args);
644
649
  if (typeof optionsOrCb === "function") {
645
650
  this.send(command, optionsOrCb);
646
651
  }
647
652
  else if (typeof cb === "function") {
648
653
  if (typeof optionsOrCb !== "object")
649
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
654
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
650
655
  this.send(command, optionsOrCb || {}, cb);
651
656
  }
652
657
  else {
653
658
  return this.send(command, optionsOrCb);
654
659
  }
655
- }
656
- createUser(args, optionsOrCb, cb) {
657
- const command = new CreateUserCommand(args);
660
+ };
661
+ Chime.prototype.createUser = function (args, optionsOrCb, cb) {
662
+ var command = new CreateUserCommand(args);
658
663
  if (typeof optionsOrCb === "function") {
659
664
  this.send(command, optionsOrCb);
660
665
  }
661
666
  else if (typeof cb === "function") {
662
667
  if (typeof optionsOrCb !== "object")
663
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
668
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
664
669
  this.send(command, optionsOrCb || {}, cb);
665
670
  }
666
671
  else {
667
672
  return this.send(command, optionsOrCb);
668
673
  }
669
- }
670
- createVoiceConnector(args, optionsOrCb, cb) {
671
- const command = new CreateVoiceConnectorCommand(args);
674
+ };
675
+ Chime.prototype.createVoiceConnector = function (args, optionsOrCb, cb) {
676
+ var command = new CreateVoiceConnectorCommand(args);
672
677
  if (typeof optionsOrCb === "function") {
673
678
  this.send(command, optionsOrCb);
674
679
  }
675
680
  else if (typeof cb === "function") {
676
681
  if (typeof optionsOrCb !== "object")
677
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
682
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
678
683
  this.send(command, optionsOrCb || {}, cb);
679
684
  }
680
685
  else {
681
686
  return this.send(command, optionsOrCb);
682
687
  }
683
- }
684
- createVoiceConnectorGroup(args, optionsOrCb, cb) {
685
- const command = new CreateVoiceConnectorGroupCommand(args);
688
+ };
689
+ Chime.prototype.createVoiceConnectorGroup = function (args, optionsOrCb, cb) {
690
+ var command = new CreateVoiceConnectorGroupCommand(args);
686
691
  if (typeof optionsOrCb === "function") {
687
692
  this.send(command, optionsOrCb);
688
693
  }
689
694
  else if (typeof cb === "function") {
690
695
  if (typeof optionsOrCb !== "object")
691
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
696
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
692
697
  this.send(command, optionsOrCb || {}, cb);
693
698
  }
694
699
  else {
695
700
  return this.send(command, optionsOrCb);
696
701
  }
697
- }
698
- deleteAccount(args, optionsOrCb, cb) {
699
- const command = new DeleteAccountCommand(args);
702
+ };
703
+ Chime.prototype.deleteAccount = function (args, optionsOrCb, cb) {
704
+ var command = new DeleteAccountCommand(args);
700
705
  if (typeof optionsOrCb === "function") {
701
706
  this.send(command, optionsOrCb);
702
707
  }
703
708
  else if (typeof cb === "function") {
704
709
  if (typeof optionsOrCb !== "object")
705
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
710
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
706
711
  this.send(command, optionsOrCb || {}, cb);
707
712
  }
708
713
  else {
709
714
  return this.send(command, optionsOrCb);
710
715
  }
711
- }
712
- deleteAppInstance(args, optionsOrCb, cb) {
713
- const command = new DeleteAppInstanceCommand(args);
716
+ };
717
+ Chime.prototype.deleteAppInstance = function (args, optionsOrCb, cb) {
718
+ var command = new DeleteAppInstanceCommand(args);
714
719
  if (typeof optionsOrCb === "function") {
715
720
  this.send(command, optionsOrCb);
716
721
  }
717
722
  else if (typeof cb === "function") {
718
723
  if (typeof optionsOrCb !== "object")
719
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
724
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
720
725
  this.send(command, optionsOrCb || {}, cb);
721
726
  }
722
727
  else {
723
728
  return this.send(command, optionsOrCb);
724
729
  }
725
- }
726
- deleteAppInstanceAdmin(args, optionsOrCb, cb) {
727
- const command = new DeleteAppInstanceAdminCommand(args);
730
+ };
731
+ Chime.prototype.deleteAppInstanceAdmin = function (args, optionsOrCb, cb) {
732
+ var command = new DeleteAppInstanceAdminCommand(args);
728
733
  if (typeof optionsOrCb === "function") {
729
734
  this.send(command, optionsOrCb);
730
735
  }
731
736
  else if (typeof cb === "function") {
732
737
  if (typeof optionsOrCb !== "object")
733
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
738
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
734
739
  this.send(command, optionsOrCb || {}, cb);
735
740
  }
736
741
  else {
737
742
  return this.send(command, optionsOrCb);
738
743
  }
739
- }
740
- deleteAppInstanceStreamingConfigurations(args, optionsOrCb, cb) {
741
- const command = new DeleteAppInstanceStreamingConfigurationsCommand(args);
744
+ };
745
+ Chime.prototype.deleteAppInstanceStreamingConfigurations = function (args, optionsOrCb, cb) {
746
+ var command = new DeleteAppInstanceStreamingConfigurationsCommand(args);
742
747
  if (typeof optionsOrCb === "function") {
743
748
  this.send(command, optionsOrCb);
744
749
  }
745
750
  else if (typeof cb === "function") {
746
751
  if (typeof optionsOrCb !== "object")
747
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
752
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
748
753
  this.send(command, optionsOrCb || {}, cb);
749
754
  }
750
755
  else {
751
756
  return this.send(command, optionsOrCb);
752
757
  }
753
- }
754
- deleteAppInstanceUser(args, optionsOrCb, cb) {
755
- const command = new DeleteAppInstanceUserCommand(args);
758
+ };
759
+ Chime.prototype.deleteAppInstanceUser = function (args, optionsOrCb, cb) {
760
+ var command = new DeleteAppInstanceUserCommand(args);
756
761
  if (typeof optionsOrCb === "function") {
757
762
  this.send(command, optionsOrCb);
758
763
  }
759
764
  else if (typeof cb === "function") {
760
765
  if (typeof optionsOrCb !== "object")
761
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
766
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
762
767
  this.send(command, optionsOrCb || {}, cb);
763
768
  }
764
769
  else {
765
770
  return this.send(command, optionsOrCb);
766
771
  }
767
- }
768
- deleteAttendee(args, optionsOrCb, cb) {
769
- const command = new DeleteAttendeeCommand(args);
772
+ };
773
+ Chime.prototype.deleteAttendee = function (args, optionsOrCb, cb) {
774
+ var command = new DeleteAttendeeCommand(args);
770
775
  if (typeof optionsOrCb === "function") {
771
776
  this.send(command, optionsOrCb);
772
777
  }
773
778
  else if (typeof cb === "function") {
774
779
  if (typeof optionsOrCb !== "object")
775
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
780
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
776
781
  this.send(command, optionsOrCb || {}, cb);
777
782
  }
778
783
  else {
779
784
  return this.send(command, optionsOrCb);
780
785
  }
781
- }
782
- deleteChannel(args, optionsOrCb, cb) {
783
- const command = new DeleteChannelCommand(args);
786
+ };
787
+ Chime.prototype.deleteChannel = function (args, optionsOrCb, cb) {
788
+ var command = new DeleteChannelCommand(args);
784
789
  if (typeof optionsOrCb === "function") {
785
790
  this.send(command, optionsOrCb);
786
791
  }
787
792
  else if (typeof cb === "function") {
788
793
  if (typeof optionsOrCb !== "object")
789
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
794
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
790
795
  this.send(command, optionsOrCb || {}, cb);
791
796
  }
792
797
  else {
793
798
  return this.send(command, optionsOrCb);
794
799
  }
795
- }
796
- deleteChannelBan(args, optionsOrCb, cb) {
797
- const command = new DeleteChannelBanCommand(args);
800
+ };
801
+ Chime.prototype.deleteChannelBan = function (args, optionsOrCb, cb) {
802
+ var command = new DeleteChannelBanCommand(args);
798
803
  if (typeof optionsOrCb === "function") {
799
804
  this.send(command, optionsOrCb);
800
805
  }
801
806
  else if (typeof cb === "function") {
802
807
  if (typeof optionsOrCb !== "object")
803
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
808
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
804
809
  this.send(command, optionsOrCb || {}, cb);
805
810
  }
806
811
  else {
807
812
  return this.send(command, optionsOrCb);
808
813
  }
809
- }
810
- deleteChannelMembership(args, optionsOrCb, cb) {
811
- const command = new DeleteChannelMembershipCommand(args);
814
+ };
815
+ Chime.prototype.deleteChannelMembership = function (args, optionsOrCb, cb) {
816
+ var command = new DeleteChannelMembershipCommand(args);
812
817
  if (typeof optionsOrCb === "function") {
813
818
  this.send(command, optionsOrCb);
814
819
  }
815
820
  else if (typeof cb === "function") {
816
821
  if (typeof optionsOrCb !== "object")
817
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
822
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
818
823
  this.send(command, optionsOrCb || {}, cb);
819
824
  }
820
825
  else {
821
826
  return this.send(command, optionsOrCb);
822
827
  }
823
- }
824
- deleteChannelMessage(args, optionsOrCb, cb) {
825
- const command = new DeleteChannelMessageCommand(args);
828
+ };
829
+ Chime.prototype.deleteChannelMessage = function (args, optionsOrCb, cb) {
830
+ var command = new DeleteChannelMessageCommand(args);
826
831
  if (typeof optionsOrCb === "function") {
827
832
  this.send(command, optionsOrCb);
828
833
  }
829
834
  else if (typeof cb === "function") {
830
835
  if (typeof optionsOrCb !== "object")
831
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
836
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
832
837
  this.send(command, optionsOrCb || {}, cb);
833
838
  }
834
839
  else {
835
840
  return this.send(command, optionsOrCb);
836
841
  }
837
- }
838
- deleteChannelModerator(args, optionsOrCb, cb) {
839
- const command = new DeleteChannelModeratorCommand(args);
842
+ };
843
+ Chime.prototype.deleteChannelModerator = function (args, optionsOrCb, cb) {
844
+ var command = new DeleteChannelModeratorCommand(args);
840
845
  if (typeof optionsOrCb === "function") {
841
846
  this.send(command, optionsOrCb);
842
847
  }
843
848
  else if (typeof cb === "function") {
844
849
  if (typeof optionsOrCb !== "object")
845
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
850
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
846
851
  this.send(command, optionsOrCb || {}, cb);
847
852
  }
848
853
  else {
849
854
  return this.send(command, optionsOrCb);
850
855
  }
851
- }
852
- deleteEventsConfiguration(args, optionsOrCb, cb) {
853
- const command = new DeleteEventsConfigurationCommand(args);
856
+ };
857
+ Chime.prototype.deleteEventsConfiguration = function (args, optionsOrCb, cb) {
858
+ var command = new DeleteEventsConfigurationCommand(args);
854
859
  if (typeof optionsOrCb === "function") {
855
860
  this.send(command, optionsOrCb);
856
861
  }
857
862
  else if (typeof cb === "function") {
858
863
  if (typeof optionsOrCb !== "object")
859
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
864
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
860
865
  this.send(command, optionsOrCb || {}, cb);
861
866
  }
862
867
  else {
863
868
  return this.send(command, optionsOrCb);
864
869
  }
865
- }
866
- deleteMediaCapturePipeline(args, optionsOrCb, cb) {
867
- const command = new DeleteMediaCapturePipelineCommand(args);
870
+ };
871
+ Chime.prototype.deleteMediaCapturePipeline = function (args, optionsOrCb, cb) {
872
+ var command = new DeleteMediaCapturePipelineCommand(args);
868
873
  if (typeof optionsOrCb === "function") {
869
874
  this.send(command, optionsOrCb);
870
875
  }
871
876
  else if (typeof cb === "function") {
872
877
  if (typeof optionsOrCb !== "object")
873
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
878
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
874
879
  this.send(command, optionsOrCb || {}, cb);
875
880
  }
876
881
  else {
877
882
  return this.send(command, optionsOrCb);
878
883
  }
879
- }
880
- deleteMeeting(args, optionsOrCb, cb) {
881
- const command = new DeleteMeetingCommand(args);
884
+ };
885
+ Chime.prototype.deleteMeeting = function (args, optionsOrCb, cb) {
886
+ var command = new DeleteMeetingCommand(args);
882
887
  if (typeof optionsOrCb === "function") {
883
888
  this.send(command, optionsOrCb);
884
889
  }
885
890
  else if (typeof cb === "function") {
886
891
  if (typeof optionsOrCb !== "object")
887
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
892
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
888
893
  this.send(command, optionsOrCb || {}, cb);
889
894
  }
890
895
  else {
891
896
  return this.send(command, optionsOrCb);
892
897
  }
893
- }
894
- deletePhoneNumber(args, optionsOrCb, cb) {
895
- const command = new DeletePhoneNumberCommand(args);
898
+ };
899
+ Chime.prototype.deletePhoneNumber = function (args, optionsOrCb, cb) {
900
+ var command = new DeletePhoneNumberCommand(args);
896
901
  if (typeof optionsOrCb === "function") {
897
902
  this.send(command, optionsOrCb);
898
903
  }
899
904
  else if (typeof cb === "function") {
900
905
  if (typeof optionsOrCb !== "object")
901
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
906
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
902
907
  this.send(command, optionsOrCb || {}, cb);
903
908
  }
904
909
  else {
905
910
  return this.send(command, optionsOrCb);
906
911
  }
907
- }
908
- deleteProxySession(args, optionsOrCb, cb) {
909
- const command = new DeleteProxySessionCommand(args);
912
+ };
913
+ Chime.prototype.deleteProxySession = function (args, optionsOrCb, cb) {
914
+ var command = new DeleteProxySessionCommand(args);
910
915
  if (typeof optionsOrCb === "function") {
911
916
  this.send(command, optionsOrCb);
912
917
  }
913
918
  else if (typeof cb === "function") {
914
919
  if (typeof optionsOrCb !== "object")
915
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
920
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
916
921
  this.send(command, optionsOrCb || {}, cb);
917
922
  }
918
923
  else {
919
924
  return this.send(command, optionsOrCb);
920
925
  }
921
- }
922
- deleteRoom(args, optionsOrCb, cb) {
923
- const command = new DeleteRoomCommand(args);
926
+ };
927
+ Chime.prototype.deleteRoom = function (args, optionsOrCb, cb) {
928
+ var command = new DeleteRoomCommand(args);
924
929
  if (typeof optionsOrCb === "function") {
925
930
  this.send(command, optionsOrCb);
926
931
  }
927
932
  else if (typeof cb === "function") {
928
933
  if (typeof optionsOrCb !== "object")
929
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
934
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
930
935
  this.send(command, optionsOrCb || {}, cb);
931
936
  }
932
937
  else {
933
938
  return this.send(command, optionsOrCb);
934
939
  }
935
- }
936
- deleteRoomMembership(args, optionsOrCb, cb) {
937
- const command = new DeleteRoomMembershipCommand(args);
940
+ };
941
+ Chime.prototype.deleteRoomMembership = function (args, optionsOrCb, cb) {
942
+ var command = new DeleteRoomMembershipCommand(args);
938
943
  if (typeof optionsOrCb === "function") {
939
944
  this.send(command, optionsOrCb);
940
945
  }
941
946
  else if (typeof cb === "function") {
942
947
  if (typeof optionsOrCb !== "object")
943
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
948
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
944
949
  this.send(command, optionsOrCb || {}, cb);
945
950
  }
946
951
  else {
947
952
  return this.send(command, optionsOrCb);
948
953
  }
949
- }
950
- deleteSipMediaApplication(args, optionsOrCb, cb) {
951
- const command = new DeleteSipMediaApplicationCommand(args);
954
+ };
955
+ Chime.prototype.deleteSipMediaApplication = function (args, optionsOrCb, cb) {
956
+ var command = new DeleteSipMediaApplicationCommand(args);
952
957
  if (typeof optionsOrCb === "function") {
953
958
  this.send(command, optionsOrCb);
954
959
  }
955
960
  else if (typeof cb === "function") {
956
961
  if (typeof optionsOrCb !== "object")
957
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
962
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
958
963
  this.send(command, optionsOrCb || {}, cb);
959
964
  }
960
965
  else {
961
966
  return this.send(command, optionsOrCb);
962
967
  }
963
- }
964
- deleteSipRule(args, optionsOrCb, cb) {
965
- const command = new DeleteSipRuleCommand(args);
968
+ };
969
+ Chime.prototype.deleteSipRule = function (args, optionsOrCb, cb) {
970
+ var command = new DeleteSipRuleCommand(args);
966
971
  if (typeof optionsOrCb === "function") {
967
972
  this.send(command, optionsOrCb);
968
973
  }
969
974
  else if (typeof cb === "function") {
970
975
  if (typeof optionsOrCb !== "object")
971
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
976
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
972
977
  this.send(command, optionsOrCb || {}, cb);
973
978
  }
974
979
  else {
975
980
  return this.send(command, optionsOrCb);
976
981
  }
977
- }
978
- deleteVoiceConnector(args, optionsOrCb, cb) {
979
- const command = new DeleteVoiceConnectorCommand(args);
982
+ };
983
+ Chime.prototype.deleteVoiceConnector = function (args, optionsOrCb, cb) {
984
+ var command = new DeleteVoiceConnectorCommand(args);
980
985
  if (typeof optionsOrCb === "function") {
981
986
  this.send(command, optionsOrCb);
982
987
  }
983
988
  else if (typeof cb === "function") {
984
989
  if (typeof optionsOrCb !== "object")
985
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
990
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
986
991
  this.send(command, optionsOrCb || {}, cb);
987
992
  }
988
993
  else {
989
994
  return this.send(command, optionsOrCb);
990
995
  }
991
- }
992
- deleteVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
993
- const command = new DeleteVoiceConnectorEmergencyCallingConfigurationCommand(args);
996
+ };
997
+ Chime.prototype.deleteVoiceConnectorEmergencyCallingConfiguration = function (args, optionsOrCb, cb) {
998
+ var command = new DeleteVoiceConnectorEmergencyCallingConfigurationCommand(args);
994
999
  if (typeof optionsOrCb === "function") {
995
1000
  this.send(command, optionsOrCb);
996
1001
  }
997
1002
  else if (typeof cb === "function") {
998
1003
  if (typeof optionsOrCb !== "object")
999
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1004
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1000
1005
  this.send(command, optionsOrCb || {}, cb);
1001
1006
  }
1002
1007
  else {
1003
1008
  return this.send(command, optionsOrCb);
1004
1009
  }
1005
- }
1006
- deleteVoiceConnectorGroup(args, optionsOrCb, cb) {
1007
- const command = new DeleteVoiceConnectorGroupCommand(args);
1010
+ };
1011
+ Chime.prototype.deleteVoiceConnectorGroup = function (args, optionsOrCb, cb) {
1012
+ var command = new DeleteVoiceConnectorGroupCommand(args);
1008
1013
  if (typeof optionsOrCb === "function") {
1009
1014
  this.send(command, optionsOrCb);
1010
1015
  }
1011
1016
  else if (typeof cb === "function") {
1012
1017
  if (typeof optionsOrCb !== "object")
1013
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1018
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1014
1019
  this.send(command, optionsOrCb || {}, cb);
1015
1020
  }
1016
1021
  else {
1017
1022
  return this.send(command, optionsOrCb);
1018
1023
  }
1019
- }
1020
- deleteVoiceConnectorOrigination(args, optionsOrCb, cb) {
1021
- const command = new DeleteVoiceConnectorOriginationCommand(args);
1024
+ };
1025
+ Chime.prototype.deleteVoiceConnectorOrigination = function (args, optionsOrCb, cb) {
1026
+ var command = new DeleteVoiceConnectorOriginationCommand(args);
1022
1027
  if (typeof optionsOrCb === "function") {
1023
1028
  this.send(command, optionsOrCb);
1024
1029
  }
1025
1030
  else if (typeof cb === "function") {
1026
1031
  if (typeof optionsOrCb !== "object")
1027
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1032
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1028
1033
  this.send(command, optionsOrCb || {}, cb);
1029
1034
  }
1030
1035
  else {
1031
1036
  return this.send(command, optionsOrCb);
1032
1037
  }
1033
- }
1034
- deleteVoiceConnectorProxy(args, optionsOrCb, cb) {
1035
- const command = new DeleteVoiceConnectorProxyCommand(args);
1038
+ };
1039
+ Chime.prototype.deleteVoiceConnectorProxy = function (args, optionsOrCb, cb) {
1040
+ var command = new DeleteVoiceConnectorProxyCommand(args);
1036
1041
  if (typeof optionsOrCb === "function") {
1037
1042
  this.send(command, optionsOrCb);
1038
1043
  }
1039
1044
  else if (typeof cb === "function") {
1040
1045
  if (typeof optionsOrCb !== "object")
1041
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1046
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1042
1047
  this.send(command, optionsOrCb || {}, cb);
1043
1048
  }
1044
1049
  else {
1045
1050
  return this.send(command, optionsOrCb);
1046
1051
  }
1047
- }
1048
- deleteVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
1049
- const command = new DeleteVoiceConnectorStreamingConfigurationCommand(args);
1052
+ };
1053
+ Chime.prototype.deleteVoiceConnectorStreamingConfiguration = function (args, optionsOrCb, cb) {
1054
+ var command = new DeleteVoiceConnectorStreamingConfigurationCommand(args);
1050
1055
  if (typeof optionsOrCb === "function") {
1051
1056
  this.send(command, optionsOrCb);
1052
1057
  }
1053
1058
  else if (typeof cb === "function") {
1054
1059
  if (typeof optionsOrCb !== "object")
1055
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1060
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1056
1061
  this.send(command, optionsOrCb || {}, cb);
1057
1062
  }
1058
1063
  else {
1059
1064
  return this.send(command, optionsOrCb);
1060
1065
  }
1061
- }
1062
- deleteVoiceConnectorTermination(args, optionsOrCb, cb) {
1063
- const command = new DeleteVoiceConnectorTerminationCommand(args);
1066
+ };
1067
+ Chime.prototype.deleteVoiceConnectorTermination = function (args, optionsOrCb, cb) {
1068
+ var command = new DeleteVoiceConnectorTerminationCommand(args);
1064
1069
  if (typeof optionsOrCb === "function") {
1065
1070
  this.send(command, optionsOrCb);
1066
1071
  }
1067
1072
  else if (typeof cb === "function") {
1068
1073
  if (typeof optionsOrCb !== "object")
1069
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1074
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1070
1075
  this.send(command, optionsOrCb || {}, cb);
1071
1076
  }
1072
1077
  else {
1073
1078
  return this.send(command, optionsOrCb);
1074
1079
  }
1075
- }
1076
- deleteVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
1077
- const command = new DeleteVoiceConnectorTerminationCredentialsCommand(args);
1080
+ };
1081
+ Chime.prototype.deleteVoiceConnectorTerminationCredentials = function (args, optionsOrCb, cb) {
1082
+ var command = new DeleteVoiceConnectorTerminationCredentialsCommand(args);
1078
1083
  if (typeof optionsOrCb === "function") {
1079
1084
  this.send(command, optionsOrCb);
1080
1085
  }
1081
1086
  else if (typeof cb === "function") {
1082
1087
  if (typeof optionsOrCb !== "object")
1083
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1088
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1084
1089
  this.send(command, optionsOrCb || {}, cb);
1085
1090
  }
1086
1091
  else {
1087
1092
  return this.send(command, optionsOrCb);
1088
1093
  }
1089
- }
1090
- describeAppInstance(args, optionsOrCb, cb) {
1091
- const command = new DescribeAppInstanceCommand(args);
1094
+ };
1095
+ Chime.prototype.describeAppInstance = function (args, optionsOrCb, cb) {
1096
+ var command = new DescribeAppInstanceCommand(args);
1092
1097
  if (typeof optionsOrCb === "function") {
1093
1098
  this.send(command, optionsOrCb);
1094
1099
  }
1095
1100
  else if (typeof cb === "function") {
1096
1101
  if (typeof optionsOrCb !== "object")
1097
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1102
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1098
1103
  this.send(command, optionsOrCb || {}, cb);
1099
1104
  }
1100
1105
  else {
1101
1106
  return this.send(command, optionsOrCb);
1102
1107
  }
1103
- }
1104
- describeAppInstanceAdmin(args, optionsOrCb, cb) {
1105
- const command = new DescribeAppInstanceAdminCommand(args);
1108
+ };
1109
+ Chime.prototype.describeAppInstanceAdmin = function (args, optionsOrCb, cb) {
1110
+ var command = new DescribeAppInstanceAdminCommand(args);
1106
1111
  if (typeof optionsOrCb === "function") {
1107
1112
  this.send(command, optionsOrCb);
1108
1113
  }
1109
1114
  else if (typeof cb === "function") {
1110
1115
  if (typeof optionsOrCb !== "object")
1111
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1116
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1112
1117
  this.send(command, optionsOrCb || {}, cb);
1113
1118
  }
1114
1119
  else {
1115
1120
  return this.send(command, optionsOrCb);
1116
1121
  }
1117
- }
1118
- describeAppInstanceUser(args, optionsOrCb, cb) {
1119
- const command = new DescribeAppInstanceUserCommand(args);
1122
+ };
1123
+ Chime.prototype.describeAppInstanceUser = function (args, optionsOrCb, cb) {
1124
+ var command = new DescribeAppInstanceUserCommand(args);
1120
1125
  if (typeof optionsOrCb === "function") {
1121
1126
  this.send(command, optionsOrCb);
1122
1127
  }
1123
1128
  else if (typeof cb === "function") {
1124
1129
  if (typeof optionsOrCb !== "object")
1125
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1130
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1126
1131
  this.send(command, optionsOrCb || {}, cb);
1127
1132
  }
1128
1133
  else {
1129
1134
  return this.send(command, optionsOrCb);
1130
1135
  }
1131
- }
1132
- describeChannel(args, optionsOrCb, cb) {
1133
- const command = new DescribeChannelCommand(args);
1136
+ };
1137
+ Chime.prototype.describeChannel = function (args, optionsOrCb, cb) {
1138
+ var command = new DescribeChannelCommand(args);
1134
1139
  if (typeof optionsOrCb === "function") {
1135
1140
  this.send(command, optionsOrCb);
1136
1141
  }
1137
1142
  else if (typeof cb === "function") {
1138
1143
  if (typeof optionsOrCb !== "object")
1139
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1144
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1140
1145
  this.send(command, optionsOrCb || {}, cb);
1141
1146
  }
1142
1147
  else {
1143
1148
  return this.send(command, optionsOrCb);
1144
1149
  }
1145
- }
1146
- describeChannelBan(args, optionsOrCb, cb) {
1147
- const command = new DescribeChannelBanCommand(args);
1150
+ };
1151
+ Chime.prototype.describeChannelBan = function (args, optionsOrCb, cb) {
1152
+ var command = new DescribeChannelBanCommand(args);
1148
1153
  if (typeof optionsOrCb === "function") {
1149
1154
  this.send(command, optionsOrCb);
1150
1155
  }
1151
1156
  else if (typeof cb === "function") {
1152
1157
  if (typeof optionsOrCb !== "object")
1153
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1158
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1154
1159
  this.send(command, optionsOrCb || {}, cb);
1155
1160
  }
1156
1161
  else {
1157
1162
  return this.send(command, optionsOrCb);
1158
1163
  }
1159
- }
1160
- describeChannelMembership(args, optionsOrCb, cb) {
1161
- const command = new DescribeChannelMembershipCommand(args);
1164
+ };
1165
+ Chime.prototype.describeChannelMembership = function (args, optionsOrCb, cb) {
1166
+ var command = new DescribeChannelMembershipCommand(args);
1162
1167
  if (typeof optionsOrCb === "function") {
1163
1168
  this.send(command, optionsOrCb);
1164
1169
  }
1165
1170
  else if (typeof cb === "function") {
1166
1171
  if (typeof optionsOrCb !== "object")
1167
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1172
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1168
1173
  this.send(command, optionsOrCb || {}, cb);
1169
1174
  }
1170
1175
  else {
1171
1176
  return this.send(command, optionsOrCb);
1172
1177
  }
1173
- }
1174
- describeChannelMembershipForAppInstanceUser(args, optionsOrCb, cb) {
1175
- const command = new DescribeChannelMembershipForAppInstanceUserCommand(args);
1178
+ };
1179
+ Chime.prototype.describeChannelMembershipForAppInstanceUser = function (args, optionsOrCb, cb) {
1180
+ var command = new DescribeChannelMembershipForAppInstanceUserCommand(args);
1176
1181
  if (typeof optionsOrCb === "function") {
1177
1182
  this.send(command, optionsOrCb);
1178
1183
  }
1179
1184
  else if (typeof cb === "function") {
1180
1185
  if (typeof optionsOrCb !== "object")
1181
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1186
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1182
1187
  this.send(command, optionsOrCb || {}, cb);
1183
1188
  }
1184
1189
  else {
1185
1190
  return this.send(command, optionsOrCb);
1186
1191
  }
1187
- }
1188
- describeChannelModeratedByAppInstanceUser(args, optionsOrCb, cb) {
1189
- const command = new DescribeChannelModeratedByAppInstanceUserCommand(args);
1192
+ };
1193
+ Chime.prototype.describeChannelModeratedByAppInstanceUser = function (args, optionsOrCb, cb) {
1194
+ var command = new DescribeChannelModeratedByAppInstanceUserCommand(args);
1190
1195
  if (typeof optionsOrCb === "function") {
1191
1196
  this.send(command, optionsOrCb);
1192
1197
  }
1193
1198
  else if (typeof cb === "function") {
1194
1199
  if (typeof optionsOrCb !== "object")
1195
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1200
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1196
1201
  this.send(command, optionsOrCb || {}, cb);
1197
1202
  }
1198
1203
  else {
1199
1204
  return this.send(command, optionsOrCb);
1200
1205
  }
1201
- }
1202
- describeChannelModerator(args, optionsOrCb, cb) {
1203
- const command = new DescribeChannelModeratorCommand(args);
1206
+ };
1207
+ Chime.prototype.describeChannelModerator = function (args, optionsOrCb, cb) {
1208
+ var command = new DescribeChannelModeratorCommand(args);
1204
1209
  if (typeof optionsOrCb === "function") {
1205
1210
  this.send(command, optionsOrCb);
1206
1211
  }
1207
1212
  else if (typeof cb === "function") {
1208
1213
  if (typeof optionsOrCb !== "object")
1209
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1214
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1210
1215
  this.send(command, optionsOrCb || {}, cb);
1211
1216
  }
1212
1217
  else {
1213
1218
  return this.send(command, optionsOrCb);
1214
1219
  }
1215
- }
1216
- disassociatePhoneNumberFromUser(args, optionsOrCb, cb) {
1217
- const command = new DisassociatePhoneNumberFromUserCommand(args);
1220
+ };
1221
+ Chime.prototype.disassociatePhoneNumberFromUser = function (args, optionsOrCb, cb) {
1222
+ var command = new DisassociatePhoneNumberFromUserCommand(args);
1218
1223
  if (typeof optionsOrCb === "function") {
1219
1224
  this.send(command, optionsOrCb);
1220
1225
  }
1221
1226
  else if (typeof cb === "function") {
1222
1227
  if (typeof optionsOrCb !== "object")
1223
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1228
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1224
1229
  this.send(command, optionsOrCb || {}, cb);
1225
1230
  }
1226
1231
  else {
1227
1232
  return this.send(command, optionsOrCb);
1228
1233
  }
1229
- }
1230
- disassociatePhoneNumbersFromVoiceConnector(args, optionsOrCb, cb) {
1231
- const command = new DisassociatePhoneNumbersFromVoiceConnectorCommand(args);
1234
+ };
1235
+ Chime.prototype.disassociatePhoneNumbersFromVoiceConnector = function (args, optionsOrCb, cb) {
1236
+ var command = new DisassociatePhoneNumbersFromVoiceConnectorCommand(args);
1232
1237
  if (typeof optionsOrCb === "function") {
1233
1238
  this.send(command, optionsOrCb);
1234
1239
  }
1235
1240
  else if (typeof cb === "function") {
1236
1241
  if (typeof optionsOrCb !== "object")
1237
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1242
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1238
1243
  this.send(command, optionsOrCb || {}, cb);
1239
1244
  }
1240
1245
  else {
1241
1246
  return this.send(command, optionsOrCb);
1242
1247
  }
1243
- }
1244
- disassociatePhoneNumbersFromVoiceConnectorGroup(args, optionsOrCb, cb) {
1245
- const command = new DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(args);
1248
+ };
1249
+ Chime.prototype.disassociatePhoneNumbersFromVoiceConnectorGroup = function (args, optionsOrCb, cb) {
1250
+ var command = new DisassociatePhoneNumbersFromVoiceConnectorGroupCommand(args);
1246
1251
  if (typeof optionsOrCb === "function") {
1247
1252
  this.send(command, optionsOrCb);
1248
1253
  }
1249
1254
  else if (typeof cb === "function") {
1250
1255
  if (typeof optionsOrCb !== "object")
1251
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1256
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1252
1257
  this.send(command, optionsOrCb || {}, cb);
1253
1258
  }
1254
1259
  else {
1255
1260
  return this.send(command, optionsOrCb);
1256
1261
  }
1257
- }
1258
- disassociateSigninDelegateGroupsFromAccount(args, optionsOrCb, cb) {
1259
- const command = new DisassociateSigninDelegateGroupsFromAccountCommand(args);
1262
+ };
1263
+ Chime.prototype.disassociateSigninDelegateGroupsFromAccount = function (args, optionsOrCb, cb) {
1264
+ var command = new DisassociateSigninDelegateGroupsFromAccountCommand(args);
1260
1265
  if (typeof optionsOrCb === "function") {
1261
1266
  this.send(command, optionsOrCb);
1262
1267
  }
1263
1268
  else if (typeof cb === "function") {
1264
1269
  if (typeof optionsOrCb !== "object")
1265
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1270
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1266
1271
  this.send(command, optionsOrCb || {}, cb);
1267
1272
  }
1268
1273
  else {
1269
1274
  return this.send(command, optionsOrCb);
1270
1275
  }
1271
- }
1272
- getAccount(args, optionsOrCb, cb) {
1273
- const command = new GetAccountCommand(args);
1276
+ };
1277
+ Chime.prototype.getAccount = function (args, optionsOrCb, cb) {
1278
+ var command = new GetAccountCommand(args);
1274
1279
  if (typeof optionsOrCb === "function") {
1275
1280
  this.send(command, optionsOrCb);
1276
1281
  }
1277
1282
  else if (typeof cb === "function") {
1278
1283
  if (typeof optionsOrCb !== "object")
1279
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1284
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1280
1285
  this.send(command, optionsOrCb || {}, cb);
1281
1286
  }
1282
1287
  else {
1283
1288
  return this.send(command, optionsOrCb);
1284
1289
  }
1285
- }
1286
- getAccountSettings(args, optionsOrCb, cb) {
1287
- const command = new GetAccountSettingsCommand(args);
1290
+ };
1291
+ Chime.prototype.getAccountSettings = function (args, optionsOrCb, cb) {
1292
+ var command = new GetAccountSettingsCommand(args);
1288
1293
  if (typeof optionsOrCb === "function") {
1289
1294
  this.send(command, optionsOrCb);
1290
1295
  }
1291
1296
  else if (typeof cb === "function") {
1292
1297
  if (typeof optionsOrCb !== "object")
1293
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1298
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1294
1299
  this.send(command, optionsOrCb || {}, cb);
1295
1300
  }
1296
1301
  else {
1297
1302
  return this.send(command, optionsOrCb);
1298
1303
  }
1299
- }
1300
- getAppInstanceRetentionSettings(args, optionsOrCb, cb) {
1301
- const command = new GetAppInstanceRetentionSettingsCommand(args);
1304
+ };
1305
+ Chime.prototype.getAppInstanceRetentionSettings = function (args, optionsOrCb, cb) {
1306
+ var command = new GetAppInstanceRetentionSettingsCommand(args);
1302
1307
  if (typeof optionsOrCb === "function") {
1303
1308
  this.send(command, optionsOrCb);
1304
1309
  }
1305
1310
  else if (typeof cb === "function") {
1306
1311
  if (typeof optionsOrCb !== "object")
1307
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1312
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1308
1313
  this.send(command, optionsOrCb || {}, cb);
1309
1314
  }
1310
1315
  else {
1311
1316
  return this.send(command, optionsOrCb);
1312
1317
  }
1313
- }
1314
- getAppInstanceStreamingConfigurations(args, optionsOrCb, cb) {
1315
- const command = new GetAppInstanceStreamingConfigurationsCommand(args);
1318
+ };
1319
+ Chime.prototype.getAppInstanceStreamingConfigurations = function (args, optionsOrCb, cb) {
1320
+ var command = new GetAppInstanceStreamingConfigurationsCommand(args);
1316
1321
  if (typeof optionsOrCb === "function") {
1317
1322
  this.send(command, optionsOrCb);
1318
1323
  }
1319
1324
  else if (typeof cb === "function") {
1320
1325
  if (typeof optionsOrCb !== "object")
1321
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1326
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1322
1327
  this.send(command, optionsOrCb || {}, cb);
1323
1328
  }
1324
1329
  else {
1325
1330
  return this.send(command, optionsOrCb);
1326
1331
  }
1327
- }
1328
- getAttendee(args, optionsOrCb, cb) {
1329
- const command = new GetAttendeeCommand(args);
1332
+ };
1333
+ Chime.prototype.getAttendee = function (args, optionsOrCb, cb) {
1334
+ var command = new GetAttendeeCommand(args);
1330
1335
  if (typeof optionsOrCb === "function") {
1331
1336
  this.send(command, optionsOrCb);
1332
1337
  }
1333
1338
  else if (typeof cb === "function") {
1334
1339
  if (typeof optionsOrCb !== "object")
1335
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1340
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1336
1341
  this.send(command, optionsOrCb || {}, cb);
1337
1342
  }
1338
1343
  else {
1339
1344
  return this.send(command, optionsOrCb);
1340
1345
  }
1341
- }
1342
- getBot(args, optionsOrCb, cb) {
1343
- const command = new GetBotCommand(args);
1346
+ };
1347
+ Chime.prototype.getBot = function (args, optionsOrCb, cb) {
1348
+ var command = new GetBotCommand(args);
1344
1349
  if (typeof optionsOrCb === "function") {
1345
1350
  this.send(command, optionsOrCb);
1346
1351
  }
1347
1352
  else if (typeof cb === "function") {
1348
1353
  if (typeof optionsOrCb !== "object")
1349
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1354
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1350
1355
  this.send(command, optionsOrCb || {}, cb);
1351
1356
  }
1352
1357
  else {
1353
1358
  return this.send(command, optionsOrCb);
1354
1359
  }
1355
- }
1356
- getChannelMessage(args, optionsOrCb, cb) {
1357
- const command = new GetChannelMessageCommand(args);
1360
+ };
1361
+ Chime.prototype.getChannelMessage = function (args, optionsOrCb, cb) {
1362
+ var command = new GetChannelMessageCommand(args);
1358
1363
  if (typeof optionsOrCb === "function") {
1359
1364
  this.send(command, optionsOrCb);
1360
1365
  }
1361
1366
  else if (typeof cb === "function") {
1362
1367
  if (typeof optionsOrCb !== "object")
1363
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1368
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1364
1369
  this.send(command, optionsOrCb || {}, cb);
1365
1370
  }
1366
1371
  else {
1367
1372
  return this.send(command, optionsOrCb);
1368
1373
  }
1369
- }
1370
- getEventsConfiguration(args, optionsOrCb, cb) {
1371
- const command = new GetEventsConfigurationCommand(args);
1374
+ };
1375
+ Chime.prototype.getEventsConfiguration = function (args, optionsOrCb, cb) {
1376
+ var command = new GetEventsConfigurationCommand(args);
1372
1377
  if (typeof optionsOrCb === "function") {
1373
1378
  this.send(command, optionsOrCb);
1374
1379
  }
1375
1380
  else if (typeof cb === "function") {
1376
1381
  if (typeof optionsOrCb !== "object")
1377
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1382
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1378
1383
  this.send(command, optionsOrCb || {}, cb);
1379
1384
  }
1380
1385
  else {
1381
1386
  return this.send(command, optionsOrCb);
1382
1387
  }
1383
- }
1384
- getGlobalSettings(args, optionsOrCb, cb) {
1385
- const command = new GetGlobalSettingsCommand(args);
1388
+ };
1389
+ Chime.prototype.getGlobalSettings = function (args, optionsOrCb, cb) {
1390
+ var command = new GetGlobalSettingsCommand(args);
1386
1391
  if (typeof optionsOrCb === "function") {
1387
1392
  this.send(command, optionsOrCb);
1388
1393
  }
1389
1394
  else if (typeof cb === "function") {
1390
1395
  if (typeof optionsOrCb !== "object")
1391
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1396
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1392
1397
  this.send(command, optionsOrCb || {}, cb);
1393
1398
  }
1394
1399
  else {
1395
1400
  return this.send(command, optionsOrCb);
1396
1401
  }
1397
- }
1398
- getMediaCapturePipeline(args, optionsOrCb, cb) {
1399
- const command = new GetMediaCapturePipelineCommand(args);
1402
+ };
1403
+ Chime.prototype.getMediaCapturePipeline = function (args, optionsOrCb, cb) {
1404
+ var command = new GetMediaCapturePipelineCommand(args);
1400
1405
  if (typeof optionsOrCb === "function") {
1401
1406
  this.send(command, optionsOrCb);
1402
1407
  }
1403
1408
  else if (typeof cb === "function") {
1404
1409
  if (typeof optionsOrCb !== "object")
1405
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1410
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1406
1411
  this.send(command, optionsOrCb || {}, cb);
1407
1412
  }
1408
1413
  else {
1409
1414
  return this.send(command, optionsOrCb);
1410
1415
  }
1411
- }
1412
- getMeeting(args, optionsOrCb, cb) {
1413
- const command = new GetMeetingCommand(args);
1416
+ };
1417
+ Chime.prototype.getMeeting = function (args, optionsOrCb, cb) {
1418
+ var command = new GetMeetingCommand(args);
1414
1419
  if (typeof optionsOrCb === "function") {
1415
1420
  this.send(command, optionsOrCb);
1416
1421
  }
1417
1422
  else if (typeof cb === "function") {
1418
1423
  if (typeof optionsOrCb !== "object")
1419
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1424
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1420
1425
  this.send(command, optionsOrCb || {}, cb);
1421
1426
  }
1422
1427
  else {
1423
1428
  return this.send(command, optionsOrCb);
1424
1429
  }
1425
- }
1426
- getMessagingSessionEndpoint(args, optionsOrCb, cb) {
1427
- const command = new GetMessagingSessionEndpointCommand(args);
1430
+ };
1431
+ Chime.prototype.getMessagingSessionEndpoint = function (args, optionsOrCb, cb) {
1432
+ var command = new GetMessagingSessionEndpointCommand(args);
1428
1433
  if (typeof optionsOrCb === "function") {
1429
1434
  this.send(command, optionsOrCb);
1430
1435
  }
1431
1436
  else if (typeof cb === "function") {
1432
1437
  if (typeof optionsOrCb !== "object")
1433
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1438
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1434
1439
  this.send(command, optionsOrCb || {}, cb);
1435
1440
  }
1436
1441
  else {
1437
1442
  return this.send(command, optionsOrCb);
1438
1443
  }
1439
- }
1440
- getPhoneNumber(args, optionsOrCb, cb) {
1441
- const command = new GetPhoneNumberCommand(args);
1444
+ };
1445
+ Chime.prototype.getPhoneNumber = function (args, optionsOrCb, cb) {
1446
+ var command = new GetPhoneNumberCommand(args);
1442
1447
  if (typeof optionsOrCb === "function") {
1443
1448
  this.send(command, optionsOrCb);
1444
1449
  }
1445
1450
  else if (typeof cb === "function") {
1446
1451
  if (typeof optionsOrCb !== "object")
1447
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1452
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1448
1453
  this.send(command, optionsOrCb || {}, cb);
1449
1454
  }
1450
1455
  else {
1451
1456
  return this.send(command, optionsOrCb);
1452
1457
  }
1453
- }
1454
- getPhoneNumberOrder(args, optionsOrCb, cb) {
1455
- const command = new GetPhoneNumberOrderCommand(args);
1458
+ };
1459
+ Chime.prototype.getPhoneNumberOrder = function (args, optionsOrCb, cb) {
1460
+ var command = new GetPhoneNumberOrderCommand(args);
1456
1461
  if (typeof optionsOrCb === "function") {
1457
1462
  this.send(command, optionsOrCb);
1458
1463
  }
1459
1464
  else if (typeof cb === "function") {
1460
1465
  if (typeof optionsOrCb !== "object")
1461
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1466
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1462
1467
  this.send(command, optionsOrCb || {}, cb);
1463
1468
  }
1464
1469
  else {
1465
1470
  return this.send(command, optionsOrCb);
1466
1471
  }
1467
- }
1468
- getPhoneNumberSettings(args, optionsOrCb, cb) {
1469
- const command = new GetPhoneNumberSettingsCommand(args);
1472
+ };
1473
+ Chime.prototype.getPhoneNumberSettings = function (args, optionsOrCb, cb) {
1474
+ var command = new GetPhoneNumberSettingsCommand(args);
1470
1475
  if (typeof optionsOrCb === "function") {
1471
1476
  this.send(command, optionsOrCb);
1472
1477
  }
1473
1478
  else if (typeof cb === "function") {
1474
1479
  if (typeof optionsOrCb !== "object")
1475
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1480
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1476
1481
  this.send(command, optionsOrCb || {}, cb);
1477
1482
  }
1478
1483
  else {
1479
1484
  return this.send(command, optionsOrCb);
1480
1485
  }
1481
- }
1482
- getProxySession(args, optionsOrCb, cb) {
1483
- const command = new GetProxySessionCommand(args);
1486
+ };
1487
+ Chime.prototype.getProxySession = function (args, optionsOrCb, cb) {
1488
+ var command = new GetProxySessionCommand(args);
1484
1489
  if (typeof optionsOrCb === "function") {
1485
1490
  this.send(command, optionsOrCb);
1486
1491
  }
1487
1492
  else if (typeof cb === "function") {
1488
1493
  if (typeof optionsOrCb !== "object")
1489
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1494
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1490
1495
  this.send(command, optionsOrCb || {}, cb);
1491
1496
  }
1492
1497
  else {
1493
1498
  return this.send(command, optionsOrCb);
1494
1499
  }
1495
- }
1496
- getRetentionSettings(args, optionsOrCb, cb) {
1497
- const command = new GetRetentionSettingsCommand(args);
1500
+ };
1501
+ Chime.prototype.getRetentionSettings = function (args, optionsOrCb, cb) {
1502
+ var command = new GetRetentionSettingsCommand(args);
1498
1503
  if (typeof optionsOrCb === "function") {
1499
1504
  this.send(command, optionsOrCb);
1500
1505
  }
1501
1506
  else if (typeof cb === "function") {
1502
1507
  if (typeof optionsOrCb !== "object")
1503
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1508
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1504
1509
  this.send(command, optionsOrCb || {}, cb);
1505
1510
  }
1506
1511
  else {
1507
1512
  return this.send(command, optionsOrCb);
1508
1513
  }
1509
- }
1510
- getRoom(args, optionsOrCb, cb) {
1511
- const command = new GetRoomCommand(args);
1514
+ };
1515
+ Chime.prototype.getRoom = function (args, optionsOrCb, cb) {
1516
+ var command = new GetRoomCommand(args);
1512
1517
  if (typeof optionsOrCb === "function") {
1513
1518
  this.send(command, optionsOrCb);
1514
1519
  }
1515
1520
  else if (typeof cb === "function") {
1516
1521
  if (typeof optionsOrCb !== "object")
1517
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1522
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1518
1523
  this.send(command, optionsOrCb || {}, cb);
1519
1524
  }
1520
1525
  else {
1521
1526
  return this.send(command, optionsOrCb);
1522
1527
  }
1523
- }
1524
- getSipMediaApplication(args, optionsOrCb, cb) {
1525
- const command = new GetSipMediaApplicationCommand(args);
1528
+ };
1529
+ Chime.prototype.getSipMediaApplication = function (args, optionsOrCb, cb) {
1530
+ var command = new GetSipMediaApplicationCommand(args);
1526
1531
  if (typeof optionsOrCb === "function") {
1527
1532
  this.send(command, optionsOrCb);
1528
1533
  }
1529
1534
  else if (typeof cb === "function") {
1530
1535
  if (typeof optionsOrCb !== "object")
1531
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1536
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1532
1537
  this.send(command, optionsOrCb || {}, cb);
1533
1538
  }
1534
1539
  else {
1535
1540
  return this.send(command, optionsOrCb);
1536
1541
  }
1537
- }
1538
- getSipMediaApplicationLoggingConfiguration(args, optionsOrCb, cb) {
1539
- const command = new GetSipMediaApplicationLoggingConfigurationCommand(args);
1542
+ };
1543
+ Chime.prototype.getSipMediaApplicationLoggingConfiguration = function (args, optionsOrCb, cb) {
1544
+ var command = new GetSipMediaApplicationLoggingConfigurationCommand(args);
1540
1545
  if (typeof optionsOrCb === "function") {
1541
1546
  this.send(command, optionsOrCb);
1542
1547
  }
1543
1548
  else if (typeof cb === "function") {
1544
1549
  if (typeof optionsOrCb !== "object")
1545
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1550
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1546
1551
  this.send(command, optionsOrCb || {}, cb);
1547
1552
  }
1548
1553
  else {
1549
1554
  return this.send(command, optionsOrCb);
1550
1555
  }
1551
- }
1552
- getSipRule(args, optionsOrCb, cb) {
1553
- const command = new GetSipRuleCommand(args);
1556
+ };
1557
+ Chime.prototype.getSipRule = function (args, optionsOrCb, cb) {
1558
+ var command = new GetSipRuleCommand(args);
1554
1559
  if (typeof optionsOrCb === "function") {
1555
1560
  this.send(command, optionsOrCb);
1556
1561
  }
1557
1562
  else if (typeof cb === "function") {
1558
1563
  if (typeof optionsOrCb !== "object")
1559
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1564
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1560
1565
  this.send(command, optionsOrCb || {}, cb);
1561
1566
  }
1562
1567
  else {
1563
1568
  return this.send(command, optionsOrCb);
1564
1569
  }
1565
- }
1566
- getUser(args, optionsOrCb, cb) {
1567
- const command = new GetUserCommand(args);
1570
+ };
1571
+ Chime.prototype.getUser = function (args, optionsOrCb, cb) {
1572
+ var command = new GetUserCommand(args);
1568
1573
  if (typeof optionsOrCb === "function") {
1569
1574
  this.send(command, optionsOrCb);
1570
1575
  }
1571
1576
  else if (typeof cb === "function") {
1572
1577
  if (typeof optionsOrCb !== "object")
1573
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1578
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1574
1579
  this.send(command, optionsOrCb || {}, cb);
1575
1580
  }
1576
1581
  else {
1577
1582
  return this.send(command, optionsOrCb);
1578
1583
  }
1579
- }
1580
- getUserSettings(args, optionsOrCb, cb) {
1581
- const command = new GetUserSettingsCommand(args);
1584
+ };
1585
+ Chime.prototype.getUserSettings = function (args, optionsOrCb, cb) {
1586
+ var command = new GetUserSettingsCommand(args);
1582
1587
  if (typeof optionsOrCb === "function") {
1583
1588
  this.send(command, optionsOrCb);
1584
1589
  }
1585
1590
  else if (typeof cb === "function") {
1586
1591
  if (typeof optionsOrCb !== "object")
1587
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1592
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1588
1593
  this.send(command, optionsOrCb || {}, cb);
1589
1594
  }
1590
1595
  else {
1591
1596
  return this.send(command, optionsOrCb);
1592
1597
  }
1593
- }
1594
- getVoiceConnector(args, optionsOrCb, cb) {
1595
- const command = new GetVoiceConnectorCommand(args);
1598
+ };
1599
+ Chime.prototype.getVoiceConnector = function (args, optionsOrCb, cb) {
1600
+ var command = new GetVoiceConnectorCommand(args);
1596
1601
  if (typeof optionsOrCb === "function") {
1597
1602
  this.send(command, optionsOrCb);
1598
1603
  }
1599
1604
  else if (typeof cb === "function") {
1600
1605
  if (typeof optionsOrCb !== "object")
1601
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1606
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1602
1607
  this.send(command, optionsOrCb || {}, cb);
1603
1608
  }
1604
1609
  else {
1605
1610
  return this.send(command, optionsOrCb);
1606
1611
  }
1607
- }
1608
- getVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
1609
- const command = new GetVoiceConnectorEmergencyCallingConfigurationCommand(args);
1612
+ };
1613
+ Chime.prototype.getVoiceConnectorEmergencyCallingConfiguration = function (args, optionsOrCb, cb) {
1614
+ var command = new GetVoiceConnectorEmergencyCallingConfigurationCommand(args);
1610
1615
  if (typeof optionsOrCb === "function") {
1611
1616
  this.send(command, optionsOrCb);
1612
1617
  }
1613
1618
  else if (typeof cb === "function") {
1614
1619
  if (typeof optionsOrCb !== "object")
1615
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1620
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1616
1621
  this.send(command, optionsOrCb || {}, cb);
1617
1622
  }
1618
1623
  else {
1619
1624
  return this.send(command, optionsOrCb);
1620
1625
  }
1621
- }
1622
- getVoiceConnectorGroup(args, optionsOrCb, cb) {
1623
- const command = new GetVoiceConnectorGroupCommand(args);
1626
+ };
1627
+ Chime.prototype.getVoiceConnectorGroup = function (args, optionsOrCb, cb) {
1628
+ var command = new GetVoiceConnectorGroupCommand(args);
1624
1629
  if (typeof optionsOrCb === "function") {
1625
1630
  this.send(command, optionsOrCb);
1626
1631
  }
1627
1632
  else if (typeof cb === "function") {
1628
1633
  if (typeof optionsOrCb !== "object")
1629
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1634
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1630
1635
  this.send(command, optionsOrCb || {}, cb);
1631
1636
  }
1632
1637
  else {
1633
1638
  return this.send(command, optionsOrCb);
1634
1639
  }
1635
- }
1636
- getVoiceConnectorLoggingConfiguration(args, optionsOrCb, cb) {
1637
- const command = new GetVoiceConnectorLoggingConfigurationCommand(args);
1640
+ };
1641
+ Chime.prototype.getVoiceConnectorLoggingConfiguration = function (args, optionsOrCb, cb) {
1642
+ var command = new GetVoiceConnectorLoggingConfigurationCommand(args);
1638
1643
  if (typeof optionsOrCb === "function") {
1639
1644
  this.send(command, optionsOrCb);
1640
1645
  }
1641
1646
  else if (typeof cb === "function") {
1642
1647
  if (typeof optionsOrCb !== "object")
1643
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1648
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1644
1649
  this.send(command, optionsOrCb || {}, cb);
1645
1650
  }
1646
1651
  else {
1647
1652
  return this.send(command, optionsOrCb);
1648
1653
  }
1649
- }
1650
- getVoiceConnectorOrigination(args, optionsOrCb, cb) {
1651
- const command = new GetVoiceConnectorOriginationCommand(args);
1654
+ };
1655
+ Chime.prototype.getVoiceConnectorOrigination = function (args, optionsOrCb, cb) {
1656
+ var command = new GetVoiceConnectorOriginationCommand(args);
1652
1657
  if (typeof optionsOrCb === "function") {
1653
1658
  this.send(command, optionsOrCb);
1654
1659
  }
1655
1660
  else if (typeof cb === "function") {
1656
1661
  if (typeof optionsOrCb !== "object")
1657
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1662
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1658
1663
  this.send(command, optionsOrCb || {}, cb);
1659
1664
  }
1660
1665
  else {
1661
1666
  return this.send(command, optionsOrCb);
1662
1667
  }
1663
- }
1664
- getVoiceConnectorProxy(args, optionsOrCb, cb) {
1665
- const command = new GetVoiceConnectorProxyCommand(args);
1668
+ };
1669
+ Chime.prototype.getVoiceConnectorProxy = function (args, optionsOrCb, cb) {
1670
+ var command = new GetVoiceConnectorProxyCommand(args);
1666
1671
  if (typeof optionsOrCb === "function") {
1667
1672
  this.send(command, optionsOrCb);
1668
1673
  }
1669
1674
  else if (typeof cb === "function") {
1670
1675
  if (typeof optionsOrCb !== "object")
1671
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1676
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1672
1677
  this.send(command, optionsOrCb || {}, cb);
1673
1678
  }
1674
1679
  else {
1675
1680
  return this.send(command, optionsOrCb);
1676
1681
  }
1677
- }
1678
- getVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
1679
- const command = new GetVoiceConnectorStreamingConfigurationCommand(args);
1682
+ };
1683
+ Chime.prototype.getVoiceConnectorStreamingConfiguration = function (args, optionsOrCb, cb) {
1684
+ var command = new GetVoiceConnectorStreamingConfigurationCommand(args);
1680
1685
  if (typeof optionsOrCb === "function") {
1681
1686
  this.send(command, optionsOrCb);
1682
1687
  }
1683
1688
  else if (typeof cb === "function") {
1684
1689
  if (typeof optionsOrCb !== "object")
1685
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1690
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1686
1691
  this.send(command, optionsOrCb || {}, cb);
1687
1692
  }
1688
1693
  else {
1689
1694
  return this.send(command, optionsOrCb);
1690
1695
  }
1691
- }
1692
- getVoiceConnectorTermination(args, optionsOrCb, cb) {
1693
- const command = new GetVoiceConnectorTerminationCommand(args);
1696
+ };
1697
+ Chime.prototype.getVoiceConnectorTermination = function (args, optionsOrCb, cb) {
1698
+ var command = new GetVoiceConnectorTerminationCommand(args);
1694
1699
  if (typeof optionsOrCb === "function") {
1695
1700
  this.send(command, optionsOrCb);
1696
1701
  }
1697
1702
  else if (typeof cb === "function") {
1698
1703
  if (typeof optionsOrCb !== "object")
1699
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1704
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1700
1705
  this.send(command, optionsOrCb || {}, cb);
1701
1706
  }
1702
1707
  else {
1703
1708
  return this.send(command, optionsOrCb);
1704
1709
  }
1705
- }
1706
- getVoiceConnectorTerminationHealth(args, optionsOrCb, cb) {
1707
- const command = new GetVoiceConnectorTerminationHealthCommand(args);
1710
+ };
1711
+ Chime.prototype.getVoiceConnectorTerminationHealth = function (args, optionsOrCb, cb) {
1712
+ var command = new GetVoiceConnectorTerminationHealthCommand(args);
1708
1713
  if (typeof optionsOrCb === "function") {
1709
1714
  this.send(command, optionsOrCb);
1710
1715
  }
1711
1716
  else if (typeof cb === "function") {
1712
1717
  if (typeof optionsOrCb !== "object")
1713
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1718
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1714
1719
  this.send(command, optionsOrCb || {}, cb);
1715
1720
  }
1716
1721
  else {
1717
1722
  return this.send(command, optionsOrCb);
1718
1723
  }
1719
- }
1720
- inviteUsers(args, optionsOrCb, cb) {
1721
- const command = new InviteUsersCommand(args);
1724
+ };
1725
+ Chime.prototype.inviteUsers = function (args, optionsOrCb, cb) {
1726
+ var command = new InviteUsersCommand(args);
1722
1727
  if (typeof optionsOrCb === "function") {
1723
1728
  this.send(command, optionsOrCb);
1724
1729
  }
1725
1730
  else if (typeof cb === "function") {
1726
1731
  if (typeof optionsOrCb !== "object")
1727
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1732
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1728
1733
  this.send(command, optionsOrCb || {}, cb);
1729
1734
  }
1730
1735
  else {
1731
1736
  return this.send(command, optionsOrCb);
1732
1737
  }
1733
- }
1734
- listAccounts(args, optionsOrCb, cb) {
1735
- const command = new ListAccountsCommand(args);
1738
+ };
1739
+ Chime.prototype.listAccounts = function (args, optionsOrCb, cb) {
1740
+ var command = new ListAccountsCommand(args);
1736
1741
  if (typeof optionsOrCb === "function") {
1737
1742
  this.send(command, optionsOrCb);
1738
1743
  }
1739
1744
  else if (typeof cb === "function") {
1740
1745
  if (typeof optionsOrCb !== "object")
1741
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1746
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1742
1747
  this.send(command, optionsOrCb || {}, cb);
1743
1748
  }
1744
1749
  else {
1745
1750
  return this.send(command, optionsOrCb);
1746
1751
  }
1747
- }
1748
- listAppInstanceAdmins(args, optionsOrCb, cb) {
1749
- const command = new ListAppInstanceAdminsCommand(args);
1752
+ };
1753
+ Chime.prototype.listAppInstanceAdmins = function (args, optionsOrCb, cb) {
1754
+ var command = new ListAppInstanceAdminsCommand(args);
1750
1755
  if (typeof optionsOrCb === "function") {
1751
1756
  this.send(command, optionsOrCb);
1752
1757
  }
1753
1758
  else if (typeof cb === "function") {
1754
1759
  if (typeof optionsOrCb !== "object")
1755
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1760
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1756
1761
  this.send(command, optionsOrCb || {}, cb);
1757
1762
  }
1758
1763
  else {
1759
1764
  return this.send(command, optionsOrCb);
1760
1765
  }
1761
- }
1762
- listAppInstances(args, optionsOrCb, cb) {
1763
- const command = new ListAppInstancesCommand(args);
1766
+ };
1767
+ Chime.prototype.listAppInstances = function (args, optionsOrCb, cb) {
1768
+ var command = new ListAppInstancesCommand(args);
1764
1769
  if (typeof optionsOrCb === "function") {
1765
1770
  this.send(command, optionsOrCb);
1766
1771
  }
1767
1772
  else if (typeof cb === "function") {
1768
1773
  if (typeof optionsOrCb !== "object")
1769
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1774
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1770
1775
  this.send(command, optionsOrCb || {}, cb);
1771
1776
  }
1772
1777
  else {
1773
1778
  return this.send(command, optionsOrCb);
1774
1779
  }
1775
- }
1776
- listAppInstanceUsers(args, optionsOrCb, cb) {
1777
- const command = new ListAppInstanceUsersCommand(args);
1780
+ };
1781
+ Chime.prototype.listAppInstanceUsers = function (args, optionsOrCb, cb) {
1782
+ var command = new ListAppInstanceUsersCommand(args);
1778
1783
  if (typeof optionsOrCb === "function") {
1779
1784
  this.send(command, optionsOrCb);
1780
1785
  }
1781
1786
  else if (typeof cb === "function") {
1782
1787
  if (typeof optionsOrCb !== "object")
1783
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1788
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1784
1789
  this.send(command, optionsOrCb || {}, cb);
1785
1790
  }
1786
1791
  else {
1787
1792
  return this.send(command, optionsOrCb);
1788
1793
  }
1789
- }
1790
- listAttendees(args, optionsOrCb, cb) {
1791
- const command = new ListAttendeesCommand(args);
1794
+ };
1795
+ Chime.prototype.listAttendees = function (args, optionsOrCb, cb) {
1796
+ var command = new ListAttendeesCommand(args);
1792
1797
  if (typeof optionsOrCb === "function") {
1793
1798
  this.send(command, optionsOrCb);
1794
1799
  }
1795
1800
  else if (typeof cb === "function") {
1796
1801
  if (typeof optionsOrCb !== "object")
1797
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1802
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1798
1803
  this.send(command, optionsOrCb || {}, cb);
1799
1804
  }
1800
1805
  else {
1801
1806
  return this.send(command, optionsOrCb);
1802
1807
  }
1803
- }
1804
- listAttendeeTags(args, optionsOrCb, cb) {
1805
- const command = new ListAttendeeTagsCommand(args);
1808
+ };
1809
+ Chime.prototype.listAttendeeTags = function (args, optionsOrCb, cb) {
1810
+ var command = new ListAttendeeTagsCommand(args);
1806
1811
  if (typeof optionsOrCb === "function") {
1807
1812
  this.send(command, optionsOrCb);
1808
1813
  }
1809
1814
  else if (typeof cb === "function") {
1810
1815
  if (typeof optionsOrCb !== "object")
1811
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1816
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1812
1817
  this.send(command, optionsOrCb || {}, cb);
1813
1818
  }
1814
1819
  else {
1815
1820
  return this.send(command, optionsOrCb);
1816
1821
  }
1817
- }
1818
- listBots(args, optionsOrCb, cb) {
1819
- const command = new ListBotsCommand(args);
1822
+ };
1823
+ Chime.prototype.listBots = function (args, optionsOrCb, cb) {
1824
+ var command = new ListBotsCommand(args);
1820
1825
  if (typeof optionsOrCb === "function") {
1821
1826
  this.send(command, optionsOrCb);
1822
1827
  }
1823
1828
  else if (typeof cb === "function") {
1824
1829
  if (typeof optionsOrCb !== "object")
1825
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1830
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1826
1831
  this.send(command, optionsOrCb || {}, cb);
1827
1832
  }
1828
1833
  else {
1829
1834
  return this.send(command, optionsOrCb);
1830
1835
  }
1831
- }
1832
- listChannelBans(args, optionsOrCb, cb) {
1833
- const command = new ListChannelBansCommand(args);
1836
+ };
1837
+ Chime.prototype.listChannelBans = function (args, optionsOrCb, cb) {
1838
+ var command = new ListChannelBansCommand(args);
1834
1839
  if (typeof optionsOrCb === "function") {
1835
1840
  this.send(command, optionsOrCb);
1836
1841
  }
1837
1842
  else if (typeof cb === "function") {
1838
1843
  if (typeof optionsOrCb !== "object")
1839
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1844
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1840
1845
  this.send(command, optionsOrCb || {}, cb);
1841
1846
  }
1842
1847
  else {
1843
1848
  return this.send(command, optionsOrCb);
1844
1849
  }
1845
- }
1846
- listChannelMemberships(args, optionsOrCb, cb) {
1847
- const command = new ListChannelMembershipsCommand(args);
1850
+ };
1851
+ Chime.prototype.listChannelMemberships = function (args, optionsOrCb, cb) {
1852
+ var command = new ListChannelMembershipsCommand(args);
1848
1853
  if (typeof optionsOrCb === "function") {
1849
1854
  this.send(command, optionsOrCb);
1850
1855
  }
1851
1856
  else if (typeof cb === "function") {
1852
1857
  if (typeof optionsOrCb !== "object")
1853
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1858
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1854
1859
  this.send(command, optionsOrCb || {}, cb);
1855
1860
  }
1856
1861
  else {
1857
1862
  return this.send(command, optionsOrCb);
1858
1863
  }
1859
- }
1860
- listChannelMembershipsForAppInstanceUser(args, optionsOrCb, cb) {
1861
- const command = new ListChannelMembershipsForAppInstanceUserCommand(args);
1864
+ };
1865
+ Chime.prototype.listChannelMembershipsForAppInstanceUser = function (args, optionsOrCb, cb) {
1866
+ var command = new ListChannelMembershipsForAppInstanceUserCommand(args);
1862
1867
  if (typeof optionsOrCb === "function") {
1863
1868
  this.send(command, optionsOrCb);
1864
1869
  }
1865
1870
  else if (typeof cb === "function") {
1866
1871
  if (typeof optionsOrCb !== "object")
1867
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1872
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1868
1873
  this.send(command, optionsOrCb || {}, cb);
1869
1874
  }
1870
1875
  else {
1871
1876
  return this.send(command, optionsOrCb);
1872
1877
  }
1873
- }
1874
- listChannelMessages(args, optionsOrCb, cb) {
1875
- const command = new ListChannelMessagesCommand(args);
1878
+ };
1879
+ Chime.prototype.listChannelMessages = function (args, optionsOrCb, cb) {
1880
+ var command = new ListChannelMessagesCommand(args);
1876
1881
  if (typeof optionsOrCb === "function") {
1877
1882
  this.send(command, optionsOrCb);
1878
1883
  }
1879
1884
  else if (typeof cb === "function") {
1880
1885
  if (typeof optionsOrCb !== "object")
1881
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1886
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1882
1887
  this.send(command, optionsOrCb || {}, cb);
1883
1888
  }
1884
1889
  else {
1885
1890
  return this.send(command, optionsOrCb);
1886
1891
  }
1887
- }
1888
- listChannelModerators(args, optionsOrCb, cb) {
1889
- const command = new ListChannelModeratorsCommand(args);
1892
+ };
1893
+ Chime.prototype.listChannelModerators = function (args, optionsOrCb, cb) {
1894
+ var command = new ListChannelModeratorsCommand(args);
1890
1895
  if (typeof optionsOrCb === "function") {
1891
1896
  this.send(command, optionsOrCb);
1892
1897
  }
1893
1898
  else if (typeof cb === "function") {
1894
1899
  if (typeof optionsOrCb !== "object")
1895
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1900
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1896
1901
  this.send(command, optionsOrCb || {}, cb);
1897
1902
  }
1898
1903
  else {
1899
1904
  return this.send(command, optionsOrCb);
1900
1905
  }
1901
- }
1902
- listChannels(args, optionsOrCb, cb) {
1903
- const command = new ListChannelsCommand(args);
1906
+ };
1907
+ Chime.prototype.listChannels = function (args, optionsOrCb, cb) {
1908
+ var command = new ListChannelsCommand(args);
1904
1909
  if (typeof optionsOrCb === "function") {
1905
1910
  this.send(command, optionsOrCb);
1906
1911
  }
1907
1912
  else if (typeof cb === "function") {
1908
1913
  if (typeof optionsOrCb !== "object")
1909
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1914
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1910
1915
  this.send(command, optionsOrCb || {}, cb);
1911
1916
  }
1912
1917
  else {
1913
1918
  return this.send(command, optionsOrCb);
1914
1919
  }
1915
- }
1916
- listChannelsModeratedByAppInstanceUser(args, optionsOrCb, cb) {
1917
- const command = new ListChannelsModeratedByAppInstanceUserCommand(args);
1920
+ };
1921
+ Chime.prototype.listChannelsModeratedByAppInstanceUser = function (args, optionsOrCb, cb) {
1922
+ var command = new ListChannelsModeratedByAppInstanceUserCommand(args);
1918
1923
  if (typeof optionsOrCb === "function") {
1919
1924
  this.send(command, optionsOrCb);
1920
1925
  }
1921
1926
  else if (typeof cb === "function") {
1922
1927
  if (typeof optionsOrCb !== "object")
1923
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1928
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1924
1929
  this.send(command, optionsOrCb || {}, cb);
1925
1930
  }
1926
1931
  else {
1927
1932
  return this.send(command, optionsOrCb);
1928
1933
  }
1929
- }
1930
- listMediaCapturePipelines(args, optionsOrCb, cb) {
1931
- const command = new ListMediaCapturePipelinesCommand(args);
1934
+ };
1935
+ Chime.prototype.listMediaCapturePipelines = function (args, optionsOrCb, cb) {
1936
+ var command = new ListMediaCapturePipelinesCommand(args);
1932
1937
  if (typeof optionsOrCb === "function") {
1933
1938
  this.send(command, optionsOrCb);
1934
1939
  }
1935
1940
  else if (typeof cb === "function") {
1936
1941
  if (typeof optionsOrCb !== "object")
1937
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1942
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1938
1943
  this.send(command, optionsOrCb || {}, cb);
1939
1944
  }
1940
1945
  else {
1941
1946
  return this.send(command, optionsOrCb);
1942
1947
  }
1943
- }
1944
- listMeetings(args, optionsOrCb, cb) {
1945
- const command = new ListMeetingsCommand(args);
1948
+ };
1949
+ Chime.prototype.listMeetings = function (args, optionsOrCb, cb) {
1950
+ var command = new ListMeetingsCommand(args);
1946
1951
  if (typeof optionsOrCb === "function") {
1947
1952
  this.send(command, optionsOrCb);
1948
1953
  }
1949
1954
  else if (typeof cb === "function") {
1950
1955
  if (typeof optionsOrCb !== "object")
1951
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1956
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1952
1957
  this.send(command, optionsOrCb || {}, cb);
1953
1958
  }
1954
1959
  else {
1955
1960
  return this.send(command, optionsOrCb);
1956
1961
  }
1957
- }
1958
- listMeetingTags(args, optionsOrCb, cb) {
1959
- const command = new ListMeetingTagsCommand(args);
1962
+ };
1963
+ Chime.prototype.listMeetingTags = function (args, optionsOrCb, cb) {
1964
+ var command = new ListMeetingTagsCommand(args);
1960
1965
  if (typeof optionsOrCb === "function") {
1961
1966
  this.send(command, optionsOrCb);
1962
1967
  }
1963
1968
  else if (typeof cb === "function") {
1964
1969
  if (typeof optionsOrCb !== "object")
1965
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1970
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1966
1971
  this.send(command, optionsOrCb || {}, cb);
1967
1972
  }
1968
1973
  else {
1969
1974
  return this.send(command, optionsOrCb);
1970
1975
  }
1971
- }
1972
- listPhoneNumberOrders(args, optionsOrCb, cb) {
1973
- const command = new ListPhoneNumberOrdersCommand(args);
1976
+ };
1977
+ Chime.prototype.listPhoneNumberOrders = function (args, optionsOrCb, cb) {
1978
+ var command = new ListPhoneNumberOrdersCommand(args);
1974
1979
  if (typeof optionsOrCb === "function") {
1975
1980
  this.send(command, optionsOrCb);
1976
1981
  }
1977
1982
  else if (typeof cb === "function") {
1978
1983
  if (typeof optionsOrCb !== "object")
1979
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1984
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1980
1985
  this.send(command, optionsOrCb || {}, cb);
1981
1986
  }
1982
1987
  else {
1983
1988
  return this.send(command, optionsOrCb);
1984
1989
  }
1985
- }
1986
- listPhoneNumbers(args, optionsOrCb, cb) {
1987
- const command = new ListPhoneNumbersCommand(args);
1990
+ };
1991
+ Chime.prototype.listPhoneNumbers = function (args, optionsOrCb, cb) {
1992
+ var command = new ListPhoneNumbersCommand(args);
1988
1993
  if (typeof optionsOrCb === "function") {
1989
1994
  this.send(command, optionsOrCb);
1990
1995
  }
1991
1996
  else if (typeof cb === "function") {
1992
1997
  if (typeof optionsOrCb !== "object")
1993
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1998
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1994
1999
  this.send(command, optionsOrCb || {}, cb);
1995
2000
  }
1996
2001
  else {
1997
2002
  return this.send(command, optionsOrCb);
1998
2003
  }
1999
- }
2000
- listProxySessions(args, optionsOrCb, cb) {
2001
- const command = new ListProxySessionsCommand(args);
2004
+ };
2005
+ Chime.prototype.listProxySessions = function (args, optionsOrCb, cb) {
2006
+ var command = new ListProxySessionsCommand(args);
2002
2007
  if (typeof optionsOrCb === "function") {
2003
2008
  this.send(command, optionsOrCb);
2004
2009
  }
2005
2010
  else if (typeof cb === "function") {
2006
2011
  if (typeof optionsOrCb !== "object")
2007
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2012
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2008
2013
  this.send(command, optionsOrCb || {}, cb);
2009
2014
  }
2010
2015
  else {
2011
2016
  return this.send(command, optionsOrCb);
2012
2017
  }
2013
- }
2014
- listRoomMemberships(args, optionsOrCb, cb) {
2015
- const command = new ListRoomMembershipsCommand(args);
2018
+ };
2019
+ Chime.prototype.listRoomMemberships = function (args, optionsOrCb, cb) {
2020
+ var command = new ListRoomMembershipsCommand(args);
2016
2021
  if (typeof optionsOrCb === "function") {
2017
2022
  this.send(command, optionsOrCb);
2018
2023
  }
2019
2024
  else if (typeof cb === "function") {
2020
2025
  if (typeof optionsOrCb !== "object")
2021
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2026
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2022
2027
  this.send(command, optionsOrCb || {}, cb);
2023
2028
  }
2024
2029
  else {
2025
2030
  return this.send(command, optionsOrCb);
2026
2031
  }
2027
- }
2028
- listRooms(args, optionsOrCb, cb) {
2029
- const command = new ListRoomsCommand(args);
2032
+ };
2033
+ Chime.prototype.listRooms = function (args, optionsOrCb, cb) {
2034
+ var command = new ListRoomsCommand(args);
2030
2035
  if (typeof optionsOrCb === "function") {
2031
2036
  this.send(command, optionsOrCb);
2032
2037
  }
2033
2038
  else if (typeof cb === "function") {
2034
2039
  if (typeof optionsOrCb !== "object")
2035
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2040
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2036
2041
  this.send(command, optionsOrCb || {}, cb);
2037
2042
  }
2038
2043
  else {
2039
2044
  return this.send(command, optionsOrCb);
2040
2045
  }
2041
- }
2042
- listSipMediaApplications(args, optionsOrCb, cb) {
2043
- const command = new ListSipMediaApplicationsCommand(args);
2046
+ };
2047
+ Chime.prototype.listSipMediaApplications = function (args, optionsOrCb, cb) {
2048
+ var command = new ListSipMediaApplicationsCommand(args);
2044
2049
  if (typeof optionsOrCb === "function") {
2045
2050
  this.send(command, optionsOrCb);
2046
2051
  }
2047
2052
  else if (typeof cb === "function") {
2048
2053
  if (typeof optionsOrCb !== "object")
2049
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2054
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2050
2055
  this.send(command, optionsOrCb || {}, cb);
2051
2056
  }
2052
2057
  else {
2053
2058
  return this.send(command, optionsOrCb);
2054
2059
  }
2055
- }
2056
- listSipRules(args, optionsOrCb, cb) {
2057
- const command = new ListSipRulesCommand(args);
2060
+ };
2061
+ Chime.prototype.listSipRules = function (args, optionsOrCb, cb) {
2062
+ var command = new ListSipRulesCommand(args);
2058
2063
  if (typeof optionsOrCb === "function") {
2059
2064
  this.send(command, optionsOrCb);
2060
2065
  }
2061
2066
  else if (typeof cb === "function") {
2062
2067
  if (typeof optionsOrCb !== "object")
2063
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2068
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2064
2069
  this.send(command, optionsOrCb || {}, cb);
2065
2070
  }
2066
2071
  else {
2067
2072
  return this.send(command, optionsOrCb);
2068
2073
  }
2069
- }
2070
- listSupportedPhoneNumberCountries(args, optionsOrCb, cb) {
2071
- const command = new ListSupportedPhoneNumberCountriesCommand(args);
2074
+ };
2075
+ Chime.prototype.listSupportedPhoneNumberCountries = function (args, optionsOrCb, cb) {
2076
+ var command = new ListSupportedPhoneNumberCountriesCommand(args);
2072
2077
  if (typeof optionsOrCb === "function") {
2073
2078
  this.send(command, optionsOrCb);
2074
2079
  }
2075
2080
  else if (typeof cb === "function") {
2076
2081
  if (typeof optionsOrCb !== "object")
2077
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2082
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2078
2083
  this.send(command, optionsOrCb || {}, cb);
2079
2084
  }
2080
2085
  else {
2081
2086
  return this.send(command, optionsOrCb);
2082
2087
  }
2083
- }
2084
- listTagsForResource(args, optionsOrCb, cb) {
2085
- const command = new ListTagsForResourceCommand(args);
2088
+ };
2089
+ Chime.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
2090
+ var command = new ListTagsForResourceCommand(args);
2086
2091
  if (typeof optionsOrCb === "function") {
2087
2092
  this.send(command, optionsOrCb);
2088
2093
  }
2089
2094
  else if (typeof cb === "function") {
2090
2095
  if (typeof optionsOrCb !== "object")
2091
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2096
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2092
2097
  this.send(command, optionsOrCb || {}, cb);
2093
2098
  }
2094
2099
  else {
2095
2100
  return this.send(command, optionsOrCb);
2096
2101
  }
2097
- }
2098
- listUsers(args, optionsOrCb, cb) {
2099
- const command = new ListUsersCommand(args);
2102
+ };
2103
+ Chime.prototype.listUsers = function (args, optionsOrCb, cb) {
2104
+ var command = new ListUsersCommand(args);
2100
2105
  if (typeof optionsOrCb === "function") {
2101
2106
  this.send(command, optionsOrCb);
2102
2107
  }
2103
2108
  else if (typeof cb === "function") {
2104
2109
  if (typeof optionsOrCb !== "object")
2105
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2110
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2106
2111
  this.send(command, optionsOrCb || {}, cb);
2107
2112
  }
2108
2113
  else {
2109
2114
  return this.send(command, optionsOrCb);
2110
2115
  }
2111
- }
2112
- listVoiceConnectorGroups(args, optionsOrCb, cb) {
2113
- const command = new ListVoiceConnectorGroupsCommand(args);
2116
+ };
2117
+ Chime.prototype.listVoiceConnectorGroups = function (args, optionsOrCb, cb) {
2118
+ var command = new ListVoiceConnectorGroupsCommand(args);
2114
2119
  if (typeof optionsOrCb === "function") {
2115
2120
  this.send(command, optionsOrCb);
2116
2121
  }
2117
2122
  else if (typeof cb === "function") {
2118
2123
  if (typeof optionsOrCb !== "object")
2119
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2124
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2120
2125
  this.send(command, optionsOrCb || {}, cb);
2121
2126
  }
2122
2127
  else {
2123
2128
  return this.send(command, optionsOrCb);
2124
2129
  }
2125
- }
2126
- listVoiceConnectors(args, optionsOrCb, cb) {
2127
- const command = new ListVoiceConnectorsCommand(args);
2130
+ };
2131
+ Chime.prototype.listVoiceConnectors = function (args, optionsOrCb, cb) {
2132
+ var command = new ListVoiceConnectorsCommand(args);
2128
2133
  if (typeof optionsOrCb === "function") {
2129
2134
  this.send(command, optionsOrCb);
2130
2135
  }
2131
2136
  else if (typeof cb === "function") {
2132
2137
  if (typeof optionsOrCb !== "object")
2133
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2138
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2134
2139
  this.send(command, optionsOrCb || {}, cb);
2135
2140
  }
2136
2141
  else {
2137
2142
  return this.send(command, optionsOrCb);
2138
2143
  }
2139
- }
2140
- listVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
2141
- const command = new ListVoiceConnectorTerminationCredentialsCommand(args);
2144
+ };
2145
+ Chime.prototype.listVoiceConnectorTerminationCredentials = function (args, optionsOrCb, cb) {
2146
+ var command = new ListVoiceConnectorTerminationCredentialsCommand(args);
2142
2147
  if (typeof optionsOrCb === "function") {
2143
2148
  this.send(command, optionsOrCb);
2144
2149
  }
2145
2150
  else if (typeof cb === "function") {
2146
2151
  if (typeof optionsOrCb !== "object")
2147
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2152
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2148
2153
  this.send(command, optionsOrCb || {}, cb);
2149
2154
  }
2150
2155
  else {
2151
2156
  return this.send(command, optionsOrCb);
2152
2157
  }
2153
- }
2154
- logoutUser(args, optionsOrCb, cb) {
2155
- const command = new LogoutUserCommand(args);
2158
+ };
2159
+ Chime.prototype.logoutUser = function (args, optionsOrCb, cb) {
2160
+ var command = new LogoutUserCommand(args);
2156
2161
  if (typeof optionsOrCb === "function") {
2157
2162
  this.send(command, optionsOrCb);
2158
2163
  }
2159
2164
  else if (typeof cb === "function") {
2160
2165
  if (typeof optionsOrCb !== "object")
2161
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2166
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2162
2167
  this.send(command, optionsOrCb || {}, cb);
2163
2168
  }
2164
2169
  else {
2165
2170
  return this.send(command, optionsOrCb);
2166
2171
  }
2167
- }
2168
- putAppInstanceRetentionSettings(args, optionsOrCb, cb) {
2169
- const command = new PutAppInstanceRetentionSettingsCommand(args);
2172
+ };
2173
+ Chime.prototype.putAppInstanceRetentionSettings = function (args, optionsOrCb, cb) {
2174
+ var command = new PutAppInstanceRetentionSettingsCommand(args);
2170
2175
  if (typeof optionsOrCb === "function") {
2171
2176
  this.send(command, optionsOrCb);
2172
2177
  }
2173
2178
  else if (typeof cb === "function") {
2174
2179
  if (typeof optionsOrCb !== "object")
2175
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2180
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2176
2181
  this.send(command, optionsOrCb || {}, cb);
2177
2182
  }
2178
2183
  else {
2179
2184
  return this.send(command, optionsOrCb);
2180
2185
  }
2181
- }
2182
- putAppInstanceStreamingConfigurations(args, optionsOrCb, cb) {
2183
- const command = new PutAppInstanceStreamingConfigurationsCommand(args);
2186
+ };
2187
+ Chime.prototype.putAppInstanceStreamingConfigurations = function (args, optionsOrCb, cb) {
2188
+ var command = new PutAppInstanceStreamingConfigurationsCommand(args);
2184
2189
  if (typeof optionsOrCb === "function") {
2185
2190
  this.send(command, optionsOrCb);
2186
2191
  }
2187
2192
  else if (typeof cb === "function") {
2188
2193
  if (typeof optionsOrCb !== "object")
2189
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2194
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2190
2195
  this.send(command, optionsOrCb || {}, cb);
2191
2196
  }
2192
2197
  else {
2193
2198
  return this.send(command, optionsOrCb);
2194
2199
  }
2195
- }
2196
- putEventsConfiguration(args, optionsOrCb, cb) {
2197
- const command = new PutEventsConfigurationCommand(args);
2200
+ };
2201
+ Chime.prototype.putEventsConfiguration = function (args, optionsOrCb, cb) {
2202
+ var command = new PutEventsConfigurationCommand(args);
2198
2203
  if (typeof optionsOrCb === "function") {
2199
2204
  this.send(command, optionsOrCb);
2200
2205
  }
2201
2206
  else if (typeof cb === "function") {
2202
2207
  if (typeof optionsOrCb !== "object")
2203
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2208
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2204
2209
  this.send(command, optionsOrCb || {}, cb);
2205
2210
  }
2206
2211
  else {
2207
2212
  return this.send(command, optionsOrCb);
2208
2213
  }
2209
- }
2210
- putRetentionSettings(args, optionsOrCb, cb) {
2211
- const command = new PutRetentionSettingsCommand(args);
2214
+ };
2215
+ Chime.prototype.putRetentionSettings = function (args, optionsOrCb, cb) {
2216
+ var command = new PutRetentionSettingsCommand(args);
2212
2217
  if (typeof optionsOrCb === "function") {
2213
2218
  this.send(command, optionsOrCb);
2214
2219
  }
2215
2220
  else if (typeof cb === "function") {
2216
2221
  if (typeof optionsOrCb !== "object")
2217
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2222
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2218
2223
  this.send(command, optionsOrCb || {}, cb);
2219
2224
  }
2220
2225
  else {
2221
2226
  return this.send(command, optionsOrCb);
2222
2227
  }
2223
- }
2224
- putSipMediaApplicationLoggingConfiguration(args, optionsOrCb, cb) {
2225
- const command = new PutSipMediaApplicationLoggingConfigurationCommand(args);
2228
+ };
2229
+ Chime.prototype.putSipMediaApplicationLoggingConfiguration = function (args, optionsOrCb, cb) {
2230
+ var command = new PutSipMediaApplicationLoggingConfigurationCommand(args);
2226
2231
  if (typeof optionsOrCb === "function") {
2227
2232
  this.send(command, optionsOrCb);
2228
2233
  }
2229
2234
  else if (typeof cb === "function") {
2230
2235
  if (typeof optionsOrCb !== "object")
2231
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2236
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2232
2237
  this.send(command, optionsOrCb || {}, cb);
2233
2238
  }
2234
2239
  else {
2235
2240
  return this.send(command, optionsOrCb);
2236
2241
  }
2237
- }
2238
- putVoiceConnectorEmergencyCallingConfiguration(args, optionsOrCb, cb) {
2239
- const command = new PutVoiceConnectorEmergencyCallingConfigurationCommand(args);
2242
+ };
2243
+ Chime.prototype.putVoiceConnectorEmergencyCallingConfiguration = function (args, optionsOrCb, cb) {
2244
+ var command = new PutVoiceConnectorEmergencyCallingConfigurationCommand(args);
2240
2245
  if (typeof optionsOrCb === "function") {
2241
2246
  this.send(command, optionsOrCb);
2242
2247
  }
2243
2248
  else if (typeof cb === "function") {
2244
2249
  if (typeof optionsOrCb !== "object")
2245
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2250
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2246
2251
  this.send(command, optionsOrCb || {}, cb);
2247
2252
  }
2248
2253
  else {
2249
2254
  return this.send(command, optionsOrCb);
2250
2255
  }
2251
- }
2252
- putVoiceConnectorLoggingConfiguration(args, optionsOrCb, cb) {
2253
- const command = new PutVoiceConnectorLoggingConfigurationCommand(args);
2256
+ };
2257
+ Chime.prototype.putVoiceConnectorLoggingConfiguration = function (args, optionsOrCb, cb) {
2258
+ var command = new PutVoiceConnectorLoggingConfigurationCommand(args);
2254
2259
  if (typeof optionsOrCb === "function") {
2255
2260
  this.send(command, optionsOrCb);
2256
2261
  }
2257
2262
  else if (typeof cb === "function") {
2258
2263
  if (typeof optionsOrCb !== "object")
2259
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2264
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2260
2265
  this.send(command, optionsOrCb || {}, cb);
2261
2266
  }
2262
2267
  else {
2263
2268
  return this.send(command, optionsOrCb);
2264
2269
  }
2265
- }
2266
- putVoiceConnectorOrigination(args, optionsOrCb, cb) {
2267
- const command = new PutVoiceConnectorOriginationCommand(args);
2270
+ };
2271
+ Chime.prototype.putVoiceConnectorOrigination = function (args, optionsOrCb, cb) {
2272
+ var command = new PutVoiceConnectorOriginationCommand(args);
2268
2273
  if (typeof optionsOrCb === "function") {
2269
2274
  this.send(command, optionsOrCb);
2270
2275
  }
2271
2276
  else if (typeof cb === "function") {
2272
2277
  if (typeof optionsOrCb !== "object")
2273
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2278
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2274
2279
  this.send(command, optionsOrCb || {}, cb);
2275
2280
  }
2276
2281
  else {
2277
2282
  return this.send(command, optionsOrCb);
2278
2283
  }
2279
- }
2280
- putVoiceConnectorProxy(args, optionsOrCb, cb) {
2281
- const command = new PutVoiceConnectorProxyCommand(args);
2284
+ };
2285
+ Chime.prototype.putVoiceConnectorProxy = function (args, optionsOrCb, cb) {
2286
+ var command = new PutVoiceConnectorProxyCommand(args);
2282
2287
  if (typeof optionsOrCb === "function") {
2283
2288
  this.send(command, optionsOrCb);
2284
2289
  }
2285
2290
  else if (typeof cb === "function") {
2286
2291
  if (typeof optionsOrCb !== "object")
2287
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2292
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2288
2293
  this.send(command, optionsOrCb || {}, cb);
2289
2294
  }
2290
2295
  else {
2291
2296
  return this.send(command, optionsOrCb);
2292
2297
  }
2293
- }
2294
- putVoiceConnectorStreamingConfiguration(args, optionsOrCb, cb) {
2295
- const command = new PutVoiceConnectorStreamingConfigurationCommand(args);
2298
+ };
2299
+ Chime.prototype.putVoiceConnectorStreamingConfiguration = function (args, optionsOrCb, cb) {
2300
+ var command = new PutVoiceConnectorStreamingConfigurationCommand(args);
2296
2301
  if (typeof optionsOrCb === "function") {
2297
2302
  this.send(command, optionsOrCb);
2298
2303
  }
2299
2304
  else if (typeof cb === "function") {
2300
2305
  if (typeof optionsOrCb !== "object")
2301
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2306
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2302
2307
  this.send(command, optionsOrCb || {}, cb);
2303
2308
  }
2304
2309
  else {
2305
2310
  return this.send(command, optionsOrCb);
2306
2311
  }
2307
- }
2308
- putVoiceConnectorTermination(args, optionsOrCb, cb) {
2309
- const command = new PutVoiceConnectorTerminationCommand(args);
2312
+ };
2313
+ Chime.prototype.putVoiceConnectorTermination = function (args, optionsOrCb, cb) {
2314
+ var command = new PutVoiceConnectorTerminationCommand(args);
2310
2315
  if (typeof optionsOrCb === "function") {
2311
2316
  this.send(command, optionsOrCb);
2312
2317
  }
2313
2318
  else if (typeof cb === "function") {
2314
2319
  if (typeof optionsOrCb !== "object")
2315
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2320
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2316
2321
  this.send(command, optionsOrCb || {}, cb);
2317
2322
  }
2318
2323
  else {
2319
2324
  return this.send(command, optionsOrCb);
2320
2325
  }
2321
- }
2322
- putVoiceConnectorTerminationCredentials(args, optionsOrCb, cb) {
2323
- const command = new PutVoiceConnectorTerminationCredentialsCommand(args);
2326
+ };
2327
+ Chime.prototype.putVoiceConnectorTerminationCredentials = function (args, optionsOrCb, cb) {
2328
+ var command = new PutVoiceConnectorTerminationCredentialsCommand(args);
2324
2329
  if (typeof optionsOrCb === "function") {
2325
2330
  this.send(command, optionsOrCb);
2326
2331
  }
2327
2332
  else if (typeof cb === "function") {
2328
2333
  if (typeof optionsOrCb !== "object")
2329
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2334
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2330
2335
  this.send(command, optionsOrCb || {}, cb);
2331
2336
  }
2332
2337
  else {
2333
2338
  return this.send(command, optionsOrCb);
2334
2339
  }
2335
- }
2336
- redactChannelMessage(args, optionsOrCb, cb) {
2337
- const command = new RedactChannelMessageCommand(args);
2340
+ };
2341
+ Chime.prototype.redactChannelMessage = function (args, optionsOrCb, cb) {
2342
+ var command = new RedactChannelMessageCommand(args);
2338
2343
  if (typeof optionsOrCb === "function") {
2339
2344
  this.send(command, optionsOrCb);
2340
2345
  }
2341
2346
  else if (typeof cb === "function") {
2342
2347
  if (typeof optionsOrCb !== "object")
2343
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2348
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2344
2349
  this.send(command, optionsOrCb || {}, cb);
2345
2350
  }
2346
2351
  else {
2347
2352
  return this.send(command, optionsOrCb);
2348
2353
  }
2349
- }
2350
- redactConversationMessage(args, optionsOrCb, cb) {
2351
- const command = new RedactConversationMessageCommand(args);
2354
+ };
2355
+ Chime.prototype.redactConversationMessage = function (args, optionsOrCb, cb) {
2356
+ var command = new RedactConversationMessageCommand(args);
2352
2357
  if (typeof optionsOrCb === "function") {
2353
2358
  this.send(command, optionsOrCb);
2354
2359
  }
2355
2360
  else if (typeof cb === "function") {
2356
2361
  if (typeof optionsOrCb !== "object")
2357
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2362
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2358
2363
  this.send(command, optionsOrCb || {}, cb);
2359
2364
  }
2360
2365
  else {
2361
2366
  return this.send(command, optionsOrCb);
2362
2367
  }
2363
- }
2364
- redactRoomMessage(args, optionsOrCb, cb) {
2365
- const command = new RedactRoomMessageCommand(args);
2368
+ };
2369
+ Chime.prototype.redactRoomMessage = function (args, optionsOrCb, cb) {
2370
+ var command = new RedactRoomMessageCommand(args);
2366
2371
  if (typeof optionsOrCb === "function") {
2367
2372
  this.send(command, optionsOrCb);
2368
2373
  }
2369
2374
  else if (typeof cb === "function") {
2370
2375
  if (typeof optionsOrCb !== "object")
2371
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2376
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2372
2377
  this.send(command, optionsOrCb || {}, cb);
2373
2378
  }
2374
2379
  else {
2375
2380
  return this.send(command, optionsOrCb);
2376
2381
  }
2377
- }
2378
- regenerateSecurityToken(args, optionsOrCb, cb) {
2379
- const command = new RegenerateSecurityTokenCommand(args);
2382
+ };
2383
+ Chime.prototype.regenerateSecurityToken = function (args, optionsOrCb, cb) {
2384
+ var command = new RegenerateSecurityTokenCommand(args);
2380
2385
  if (typeof optionsOrCb === "function") {
2381
2386
  this.send(command, optionsOrCb);
2382
2387
  }
2383
2388
  else if (typeof cb === "function") {
2384
2389
  if (typeof optionsOrCb !== "object")
2385
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2390
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2386
2391
  this.send(command, optionsOrCb || {}, cb);
2387
2392
  }
2388
2393
  else {
2389
2394
  return this.send(command, optionsOrCb);
2390
2395
  }
2391
- }
2392
- resetPersonalPIN(args, optionsOrCb, cb) {
2393
- const command = new ResetPersonalPINCommand(args);
2396
+ };
2397
+ Chime.prototype.resetPersonalPIN = function (args, optionsOrCb, cb) {
2398
+ var command = new ResetPersonalPINCommand(args);
2394
2399
  if (typeof optionsOrCb === "function") {
2395
2400
  this.send(command, optionsOrCb);
2396
2401
  }
2397
2402
  else if (typeof cb === "function") {
2398
2403
  if (typeof optionsOrCb !== "object")
2399
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2404
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2400
2405
  this.send(command, optionsOrCb || {}, cb);
2401
2406
  }
2402
2407
  else {
2403
2408
  return this.send(command, optionsOrCb);
2404
2409
  }
2405
- }
2406
- restorePhoneNumber(args, optionsOrCb, cb) {
2407
- const command = new RestorePhoneNumberCommand(args);
2410
+ };
2411
+ Chime.prototype.restorePhoneNumber = function (args, optionsOrCb, cb) {
2412
+ var command = new RestorePhoneNumberCommand(args);
2408
2413
  if (typeof optionsOrCb === "function") {
2409
2414
  this.send(command, optionsOrCb);
2410
2415
  }
2411
2416
  else if (typeof cb === "function") {
2412
2417
  if (typeof optionsOrCb !== "object")
2413
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2418
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2414
2419
  this.send(command, optionsOrCb || {}, cb);
2415
2420
  }
2416
2421
  else {
2417
2422
  return this.send(command, optionsOrCb);
2418
2423
  }
2419
- }
2420
- searchAvailablePhoneNumbers(args, optionsOrCb, cb) {
2421
- const command = new SearchAvailablePhoneNumbersCommand(args);
2424
+ };
2425
+ Chime.prototype.searchAvailablePhoneNumbers = function (args, optionsOrCb, cb) {
2426
+ var command = new SearchAvailablePhoneNumbersCommand(args);
2422
2427
  if (typeof optionsOrCb === "function") {
2423
2428
  this.send(command, optionsOrCb);
2424
2429
  }
2425
2430
  else if (typeof cb === "function") {
2426
2431
  if (typeof optionsOrCb !== "object")
2427
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2432
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2428
2433
  this.send(command, optionsOrCb || {}, cb);
2429
2434
  }
2430
2435
  else {
2431
2436
  return this.send(command, optionsOrCb);
2432
2437
  }
2433
- }
2434
- sendChannelMessage(args, optionsOrCb, cb) {
2435
- const command = new SendChannelMessageCommand(args);
2438
+ };
2439
+ Chime.prototype.sendChannelMessage = function (args, optionsOrCb, cb) {
2440
+ var command = new SendChannelMessageCommand(args);
2436
2441
  if (typeof optionsOrCb === "function") {
2437
2442
  this.send(command, optionsOrCb);
2438
2443
  }
2439
2444
  else if (typeof cb === "function") {
2440
2445
  if (typeof optionsOrCb !== "object")
2441
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2446
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2442
2447
  this.send(command, optionsOrCb || {}, cb);
2443
2448
  }
2444
2449
  else {
2445
2450
  return this.send(command, optionsOrCb);
2446
2451
  }
2447
- }
2448
- startMeetingTranscription(args, optionsOrCb, cb) {
2449
- const command = new StartMeetingTranscriptionCommand(args);
2452
+ };
2453
+ Chime.prototype.startMeetingTranscription = function (args, optionsOrCb, cb) {
2454
+ var command = new StartMeetingTranscriptionCommand(args);
2450
2455
  if (typeof optionsOrCb === "function") {
2451
2456
  this.send(command, optionsOrCb);
2452
2457
  }
2453
2458
  else if (typeof cb === "function") {
2454
2459
  if (typeof optionsOrCb !== "object")
2455
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2460
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2456
2461
  this.send(command, optionsOrCb || {}, cb);
2457
2462
  }
2458
2463
  else {
2459
2464
  return this.send(command, optionsOrCb);
2460
2465
  }
2461
- }
2462
- stopMeetingTranscription(args, optionsOrCb, cb) {
2463
- const command = new StopMeetingTranscriptionCommand(args);
2466
+ };
2467
+ Chime.prototype.stopMeetingTranscription = function (args, optionsOrCb, cb) {
2468
+ var command = new StopMeetingTranscriptionCommand(args);
2464
2469
  if (typeof optionsOrCb === "function") {
2465
2470
  this.send(command, optionsOrCb);
2466
2471
  }
2467
2472
  else if (typeof cb === "function") {
2468
2473
  if (typeof optionsOrCb !== "object")
2469
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2474
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2470
2475
  this.send(command, optionsOrCb || {}, cb);
2471
2476
  }
2472
2477
  else {
2473
2478
  return this.send(command, optionsOrCb);
2474
2479
  }
2475
- }
2476
- tagAttendee(args, optionsOrCb, cb) {
2477
- const command = new TagAttendeeCommand(args);
2480
+ };
2481
+ Chime.prototype.tagAttendee = function (args, optionsOrCb, cb) {
2482
+ var command = new TagAttendeeCommand(args);
2478
2483
  if (typeof optionsOrCb === "function") {
2479
2484
  this.send(command, optionsOrCb);
2480
2485
  }
2481
2486
  else if (typeof cb === "function") {
2482
2487
  if (typeof optionsOrCb !== "object")
2483
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2488
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2484
2489
  this.send(command, optionsOrCb || {}, cb);
2485
2490
  }
2486
2491
  else {
2487
2492
  return this.send(command, optionsOrCb);
2488
2493
  }
2489
- }
2490
- tagMeeting(args, optionsOrCb, cb) {
2491
- const command = new TagMeetingCommand(args);
2494
+ };
2495
+ Chime.prototype.tagMeeting = function (args, optionsOrCb, cb) {
2496
+ var command = new TagMeetingCommand(args);
2492
2497
  if (typeof optionsOrCb === "function") {
2493
2498
  this.send(command, optionsOrCb);
2494
2499
  }
2495
2500
  else if (typeof cb === "function") {
2496
2501
  if (typeof optionsOrCb !== "object")
2497
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2502
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2498
2503
  this.send(command, optionsOrCb || {}, cb);
2499
2504
  }
2500
2505
  else {
2501
2506
  return this.send(command, optionsOrCb);
2502
2507
  }
2503
- }
2504
- tagResource(args, optionsOrCb, cb) {
2505
- const command = new TagResourceCommand(args);
2508
+ };
2509
+ Chime.prototype.tagResource = function (args, optionsOrCb, cb) {
2510
+ var command = new TagResourceCommand(args);
2506
2511
  if (typeof optionsOrCb === "function") {
2507
2512
  this.send(command, optionsOrCb);
2508
2513
  }
2509
2514
  else if (typeof cb === "function") {
2510
2515
  if (typeof optionsOrCb !== "object")
2511
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2516
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2512
2517
  this.send(command, optionsOrCb || {}, cb);
2513
2518
  }
2514
2519
  else {
2515
2520
  return this.send(command, optionsOrCb);
2516
2521
  }
2517
- }
2518
- untagAttendee(args, optionsOrCb, cb) {
2519
- const command = new UntagAttendeeCommand(args);
2522
+ };
2523
+ Chime.prototype.untagAttendee = function (args, optionsOrCb, cb) {
2524
+ var command = new UntagAttendeeCommand(args);
2520
2525
  if (typeof optionsOrCb === "function") {
2521
2526
  this.send(command, optionsOrCb);
2522
2527
  }
2523
2528
  else if (typeof cb === "function") {
2524
2529
  if (typeof optionsOrCb !== "object")
2525
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2530
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2526
2531
  this.send(command, optionsOrCb || {}, cb);
2527
2532
  }
2528
2533
  else {
2529
2534
  return this.send(command, optionsOrCb);
2530
2535
  }
2531
- }
2532
- untagMeeting(args, optionsOrCb, cb) {
2533
- const command = new UntagMeetingCommand(args);
2536
+ };
2537
+ Chime.prototype.untagMeeting = function (args, optionsOrCb, cb) {
2538
+ var command = new UntagMeetingCommand(args);
2534
2539
  if (typeof optionsOrCb === "function") {
2535
2540
  this.send(command, optionsOrCb);
2536
2541
  }
2537
2542
  else if (typeof cb === "function") {
2538
2543
  if (typeof optionsOrCb !== "object")
2539
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2544
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2540
2545
  this.send(command, optionsOrCb || {}, cb);
2541
2546
  }
2542
2547
  else {
2543
2548
  return this.send(command, optionsOrCb);
2544
2549
  }
2545
- }
2546
- untagResource(args, optionsOrCb, cb) {
2547
- const command = new UntagResourceCommand(args);
2550
+ };
2551
+ Chime.prototype.untagResource = function (args, optionsOrCb, cb) {
2552
+ var command = new UntagResourceCommand(args);
2548
2553
  if (typeof optionsOrCb === "function") {
2549
2554
  this.send(command, optionsOrCb);
2550
2555
  }
2551
2556
  else if (typeof cb === "function") {
2552
2557
  if (typeof optionsOrCb !== "object")
2553
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2558
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2554
2559
  this.send(command, optionsOrCb || {}, cb);
2555
2560
  }
2556
2561
  else {
2557
2562
  return this.send(command, optionsOrCb);
2558
2563
  }
2559
- }
2560
- updateAccount(args, optionsOrCb, cb) {
2561
- const command = new UpdateAccountCommand(args);
2564
+ };
2565
+ Chime.prototype.updateAccount = function (args, optionsOrCb, cb) {
2566
+ var command = new UpdateAccountCommand(args);
2562
2567
  if (typeof optionsOrCb === "function") {
2563
2568
  this.send(command, optionsOrCb);
2564
2569
  }
2565
2570
  else if (typeof cb === "function") {
2566
2571
  if (typeof optionsOrCb !== "object")
2567
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2572
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2568
2573
  this.send(command, optionsOrCb || {}, cb);
2569
2574
  }
2570
2575
  else {
2571
2576
  return this.send(command, optionsOrCb);
2572
2577
  }
2573
- }
2574
- updateAccountSettings(args, optionsOrCb, cb) {
2575
- const command = new UpdateAccountSettingsCommand(args);
2578
+ };
2579
+ Chime.prototype.updateAccountSettings = function (args, optionsOrCb, cb) {
2580
+ var command = new UpdateAccountSettingsCommand(args);
2576
2581
  if (typeof optionsOrCb === "function") {
2577
2582
  this.send(command, optionsOrCb);
2578
2583
  }
2579
2584
  else if (typeof cb === "function") {
2580
2585
  if (typeof optionsOrCb !== "object")
2581
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2586
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2582
2587
  this.send(command, optionsOrCb || {}, cb);
2583
2588
  }
2584
2589
  else {
2585
2590
  return this.send(command, optionsOrCb);
2586
2591
  }
2587
- }
2588
- updateAppInstance(args, optionsOrCb, cb) {
2589
- const command = new UpdateAppInstanceCommand(args);
2592
+ };
2593
+ Chime.prototype.updateAppInstance = function (args, optionsOrCb, cb) {
2594
+ var command = new UpdateAppInstanceCommand(args);
2590
2595
  if (typeof optionsOrCb === "function") {
2591
2596
  this.send(command, optionsOrCb);
2592
2597
  }
2593
2598
  else if (typeof cb === "function") {
2594
2599
  if (typeof optionsOrCb !== "object")
2595
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2600
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2596
2601
  this.send(command, optionsOrCb || {}, cb);
2597
2602
  }
2598
2603
  else {
2599
2604
  return this.send(command, optionsOrCb);
2600
2605
  }
2601
- }
2602
- updateAppInstanceUser(args, optionsOrCb, cb) {
2603
- const command = new UpdateAppInstanceUserCommand(args);
2606
+ };
2607
+ Chime.prototype.updateAppInstanceUser = function (args, optionsOrCb, cb) {
2608
+ var command = new UpdateAppInstanceUserCommand(args);
2604
2609
  if (typeof optionsOrCb === "function") {
2605
2610
  this.send(command, optionsOrCb);
2606
2611
  }
2607
2612
  else if (typeof cb === "function") {
2608
2613
  if (typeof optionsOrCb !== "object")
2609
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2614
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2610
2615
  this.send(command, optionsOrCb || {}, cb);
2611
2616
  }
2612
2617
  else {
2613
2618
  return this.send(command, optionsOrCb);
2614
2619
  }
2615
- }
2616
- updateBot(args, optionsOrCb, cb) {
2617
- const command = new UpdateBotCommand(args);
2620
+ };
2621
+ Chime.prototype.updateBot = function (args, optionsOrCb, cb) {
2622
+ var command = new UpdateBotCommand(args);
2618
2623
  if (typeof optionsOrCb === "function") {
2619
2624
  this.send(command, optionsOrCb);
2620
2625
  }
2621
2626
  else if (typeof cb === "function") {
2622
2627
  if (typeof optionsOrCb !== "object")
2623
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2628
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2624
2629
  this.send(command, optionsOrCb || {}, cb);
2625
2630
  }
2626
2631
  else {
2627
2632
  return this.send(command, optionsOrCb);
2628
2633
  }
2629
- }
2630
- updateChannel(args, optionsOrCb, cb) {
2631
- const command = new UpdateChannelCommand(args);
2634
+ };
2635
+ Chime.prototype.updateChannel = function (args, optionsOrCb, cb) {
2636
+ var command = new UpdateChannelCommand(args);
2632
2637
  if (typeof optionsOrCb === "function") {
2633
2638
  this.send(command, optionsOrCb);
2634
2639
  }
2635
2640
  else if (typeof cb === "function") {
2636
2641
  if (typeof optionsOrCb !== "object")
2637
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2642
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2638
2643
  this.send(command, optionsOrCb || {}, cb);
2639
2644
  }
2640
2645
  else {
2641
2646
  return this.send(command, optionsOrCb);
2642
2647
  }
2643
- }
2644
- updateChannelMessage(args, optionsOrCb, cb) {
2645
- const command = new UpdateChannelMessageCommand(args);
2648
+ };
2649
+ Chime.prototype.updateChannelMessage = function (args, optionsOrCb, cb) {
2650
+ var command = new UpdateChannelMessageCommand(args);
2646
2651
  if (typeof optionsOrCb === "function") {
2647
2652
  this.send(command, optionsOrCb);
2648
2653
  }
2649
2654
  else if (typeof cb === "function") {
2650
2655
  if (typeof optionsOrCb !== "object")
2651
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2656
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2652
2657
  this.send(command, optionsOrCb || {}, cb);
2653
2658
  }
2654
2659
  else {
2655
2660
  return this.send(command, optionsOrCb);
2656
2661
  }
2657
- }
2658
- updateChannelReadMarker(args, optionsOrCb, cb) {
2659
- const command = new UpdateChannelReadMarkerCommand(args);
2662
+ };
2663
+ Chime.prototype.updateChannelReadMarker = function (args, optionsOrCb, cb) {
2664
+ var command = new UpdateChannelReadMarkerCommand(args);
2660
2665
  if (typeof optionsOrCb === "function") {
2661
2666
  this.send(command, optionsOrCb);
2662
2667
  }
2663
2668
  else if (typeof cb === "function") {
2664
2669
  if (typeof optionsOrCb !== "object")
2665
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2670
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2666
2671
  this.send(command, optionsOrCb || {}, cb);
2667
2672
  }
2668
2673
  else {
2669
2674
  return this.send(command, optionsOrCb);
2670
2675
  }
2671
- }
2672
- updateGlobalSettings(args, optionsOrCb, cb) {
2673
- const command = new UpdateGlobalSettingsCommand(args);
2676
+ };
2677
+ Chime.prototype.updateGlobalSettings = function (args, optionsOrCb, cb) {
2678
+ var command = new UpdateGlobalSettingsCommand(args);
2674
2679
  if (typeof optionsOrCb === "function") {
2675
2680
  this.send(command, optionsOrCb);
2676
2681
  }
2677
2682
  else if (typeof cb === "function") {
2678
2683
  if (typeof optionsOrCb !== "object")
2679
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2684
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2680
2685
  this.send(command, optionsOrCb || {}, cb);
2681
2686
  }
2682
2687
  else {
2683
2688
  return this.send(command, optionsOrCb);
2684
2689
  }
2685
- }
2686
- updatePhoneNumber(args, optionsOrCb, cb) {
2687
- const command = new UpdatePhoneNumberCommand(args);
2690
+ };
2691
+ Chime.prototype.updatePhoneNumber = function (args, optionsOrCb, cb) {
2692
+ var command = new UpdatePhoneNumberCommand(args);
2688
2693
  if (typeof optionsOrCb === "function") {
2689
2694
  this.send(command, optionsOrCb);
2690
2695
  }
2691
2696
  else if (typeof cb === "function") {
2692
2697
  if (typeof optionsOrCb !== "object")
2693
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2698
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2694
2699
  this.send(command, optionsOrCb || {}, cb);
2695
2700
  }
2696
2701
  else {
2697
2702
  return this.send(command, optionsOrCb);
2698
2703
  }
2699
- }
2700
- updatePhoneNumberSettings(args, optionsOrCb, cb) {
2701
- const command = new UpdatePhoneNumberSettingsCommand(args);
2704
+ };
2705
+ Chime.prototype.updatePhoneNumberSettings = function (args, optionsOrCb, cb) {
2706
+ var command = new UpdatePhoneNumberSettingsCommand(args);
2702
2707
  if (typeof optionsOrCb === "function") {
2703
2708
  this.send(command, optionsOrCb);
2704
2709
  }
2705
2710
  else if (typeof cb === "function") {
2706
2711
  if (typeof optionsOrCb !== "object")
2707
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2712
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2708
2713
  this.send(command, optionsOrCb || {}, cb);
2709
2714
  }
2710
2715
  else {
2711
2716
  return this.send(command, optionsOrCb);
2712
2717
  }
2713
- }
2714
- updateProxySession(args, optionsOrCb, cb) {
2715
- const command = new UpdateProxySessionCommand(args);
2718
+ };
2719
+ Chime.prototype.updateProxySession = function (args, optionsOrCb, cb) {
2720
+ var command = new UpdateProxySessionCommand(args);
2716
2721
  if (typeof optionsOrCb === "function") {
2717
2722
  this.send(command, optionsOrCb);
2718
2723
  }
2719
2724
  else if (typeof cb === "function") {
2720
2725
  if (typeof optionsOrCb !== "object")
2721
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2726
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2722
2727
  this.send(command, optionsOrCb || {}, cb);
2723
2728
  }
2724
2729
  else {
2725
2730
  return this.send(command, optionsOrCb);
2726
2731
  }
2727
- }
2728
- updateRoom(args, optionsOrCb, cb) {
2729
- const command = new UpdateRoomCommand(args);
2732
+ };
2733
+ Chime.prototype.updateRoom = function (args, optionsOrCb, cb) {
2734
+ var command = new UpdateRoomCommand(args);
2730
2735
  if (typeof optionsOrCb === "function") {
2731
2736
  this.send(command, optionsOrCb);
2732
2737
  }
2733
2738
  else if (typeof cb === "function") {
2734
2739
  if (typeof optionsOrCb !== "object")
2735
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2740
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2736
2741
  this.send(command, optionsOrCb || {}, cb);
2737
2742
  }
2738
2743
  else {
2739
2744
  return this.send(command, optionsOrCb);
2740
2745
  }
2741
- }
2742
- updateRoomMembership(args, optionsOrCb, cb) {
2743
- const command = new UpdateRoomMembershipCommand(args);
2746
+ };
2747
+ Chime.prototype.updateRoomMembership = function (args, optionsOrCb, cb) {
2748
+ var command = new UpdateRoomMembershipCommand(args);
2744
2749
  if (typeof optionsOrCb === "function") {
2745
2750
  this.send(command, optionsOrCb);
2746
2751
  }
2747
2752
  else if (typeof cb === "function") {
2748
2753
  if (typeof optionsOrCb !== "object")
2749
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2754
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2750
2755
  this.send(command, optionsOrCb || {}, cb);
2751
2756
  }
2752
2757
  else {
2753
2758
  return this.send(command, optionsOrCb);
2754
2759
  }
2755
- }
2756
- updateSipMediaApplication(args, optionsOrCb, cb) {
2757
- const command = new UpdateSipMediaApplicationCommand(args);
2760
+ };
2761
+ Chime.prototype.updateSipMediaApplication = function (args, optionsOrCb, cb) {
2762
+ var command = new UpdateSipMediaApplicationCommand(args);
2758
2763
  if (typeof optionsOrCb === "function") {
2759
2764
  this.send(command, optionsOrCb);
2760
2765
  }
2761
2766
  else if (typeof cb === "function") {
2762
2767
  if (typeof optionsOrCb !== "object")
2763
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2768
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2764
2769
  this.send(command, optionsOrCb || {}, cb);
2765
2770
  }
2766
2771
  else {
2767
2772
  return this.send(command, optionsOrCb);
2768
2773
  }
2769
- }
2770
- updateSipMediaApplicationCall(args, optionsOrCb, cb) {
2771
- const command = new UpdateSipMediaApplicationCallCommand(args);
2774
+ };
2775
+ Chime.prototype.updateSipMediaApplicationCall = function (args, optionsOrCb, cb) {
2776
+ var command = new UpdateSipMediaApplicationCallCommand(args);
2772
2777
  if (typeof optionsOrCb === "function") {
2773
2778
  this.send(command, optionsOrCb);
2774
2779
  }
2775
2780
  else if (typeof cb === "function") {
2776
2781
  if (typeof optionsOrCb !== "object")
2777
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2782
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2778
2783
  this.send(command, optionsOrCb || {}, cb);
2779
2784
  }
2780
2785
  else {
2781
2786
  return this.send(command, optionsOrCb);
2782
2787
  }
2783
- }
2784
- updateSipRule(args, optionsOrCb, cb) {
2785
- const command = new UpdateSipRuleCommand(args);
2788
+ };
2789
+ Chime.prototype.updateSipRule = function (args, optionsOrCb, cb) {
2790
+ var command = new UpdateSipRuleCommand(args);
2786
2791
  if (typeof optionsOrCb === "function") {
2787
2792
  this.send(command, optionsOrCb);
2788
2793
  }
2789
2794
  else if (typeof cb === "function") {
2790
2795
  if (typeof optionsOrCb !== "object")
2791
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2796
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2792
2797
  this.send(command, optionsOrCb || {}, cb);
2793
2798
  }
2794
2799
  else {
2795
2800
  return this.send(command, optionsOrCb);
2796
2801
  }
2797
- }
2798
- updateUser(args, optionsOrCb, cb) {
2799
- const command = new UpdateUserCommand(args);
2802
+ };
2803
+ Chime.prototype.updateUser = function (args, optionsOrCb, cb) {
2804
+ var command = new UpdateUserCommand(args);
2800
2805
  if (typeof optionsOrCb === "function") {
2801
2806
  this.send(command, optionsOrCb);
2802
2807
  }
2803
2808
  else if (typeof cb === "function") {
2804
2809
  if (typeof optionsOrCb !== "object")
2805
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2810
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2806
2811
  this.send(command, optionsOrCb || {}, cb);
2807
2812
  }
2808
2813
  else {
2809
2814
  return this.send(command, optionsOrCb);
2810
2815
  }
2811
- }
2812
- updateUserSettings(args, optionsOrCb, cb) {
2813
- const command = new UpdateUserSettingsCommand(args);
2816
+ };
2817
+ Chime.prototype.updateUserSettings = function (args, optionsOrCb, cb) {
2818
+ var command = new UpdateUserSettingsCommand(args);
2814
2819
  if (typeof optionsOrCb === "function") {
2815
2820
  this.send(command, optionsOrCb);
2816
2821
  }
2817
2822
  else if (typeof cb === "function") {
2818
2823
  if (typeof optionsOrCb !== "object")
2819
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2824
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2820
2825
  this.send(command, optionsOrCb || {}, cb);
2821
2826
  }
2822
2827
  else {
2823
2828
  return this.send(command, optionsOrCb);
2824
2829
  }
2825
- }
2826
- updateVoiceConnector(args, optionsOrCb, cb) {
2827
- const command = new UpdateVoiceConnectorCommand(args);
2830
+ };
2831
+ Chime.prototype.updateVoiceConnector = function (args, optionsOrCb, cb) {
2832
+ var command = new UpdateVoiceConnectorCommand(args);
2828
2833
  if (typeof optionsOrCb === "function") {
2829
2834
  this.send(command, optionsOrCb);
2830
2835
  }
2831
2836
  else if (typeof cb === "function") {
2832
2837
  if (typeof optionsOrCb !== "object")
2833
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2838
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2834
2839
  this.send(command, optionsOrCb || {}, cb);
2835
2840
  }
2836
2841
  else {
2837
2842
  return this.send(command, optionsOrCb);
2838
2843
  }
2839
- }
2840
- updateVoiceConnectorGroup(args, optionsOrCb, cb) {
2841
- const command = new UpdateVoiceConnectorGroupCommand(args);
2844
+ };
2845
+ Chime.prototype.updateVoiceConnectorGroup = function (args, optionsOrCb, cb) {
2846
+ var command = new UpdateVoiceConnectorGroupCommand(args);
2842
2847
  if (typeof optionsOrCb === "function") {
2843
2848
  this.send(command, optionsOrCb);
2844
2849
  }
2845
2850
  else if (typeof cb === "function") {
2846
2851
  if (typeof optionsOrCb !== "object")
2847
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2852
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2848
2853
  this.send(command, optionsOrCb || {}, cb);
2849
2854
  }
2850
2855
  else {
2851
2856
  return this.send(command, optionsOrCb);
2852
2857
  }
2853
- }
2854
- validateE911Address(args, optionsOrCb, cb) {
2855
- const command = new ValidateE911AddressCommand(args);
2858
+ };
2859
+ Chime.prototype.validateE911Address = function (args, optionsOrCb, cb) {
2860
+ var command = new ValidateE911AddressCommand(args);
2856
2861
  if (typeof optionsOrCb === "function") {
2857
2862
  this.send(command, optionsOrCb);
2858
2863
  }
2859
2864
  else if (typeof cb === "function") {
2860
2865
  if (typeof optionsOrCb !== "object")
2861
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2866
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2862
2867
  this.send(command, optionsOrCb || {}, cb);
2863
2868
  }
2864
2869
  else {
2865
2870
  return this.send(command, optionsOrCb);
2866
2871
  }
2867
- }
2868
- }
2872
+ };
2873
+ return Chime;
2874
+ }(ChimeClient));
2875
+ export { Chime };