@aws-sdk/client-chime 3.181.0 → 3.183.0

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