@aws-sdk/client-cognito-identity-provider 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/CognitoIdentityProvider.js +413 -406
  4. package/dist-es/CognitoIdentityProviderClient.js +27 -21
  5. package/dist-es/commands/AddCustomAttributesCommand.js +28 -21
  6. package/dist-es/commands/AdminAddUserToGroupCommand.js +29 -22
  7. package/dist-es/commands/AdminConfirmSignUpCommand.js +28 -21
  8. package/dist-es/commands/AdminCreateUserCommand.js +28 -21
  9. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +28 -21
  10. package/dist-es/commands/AdminDeleteUserCommand.js +29 -22
  11. package/dist-es/commands/AdminDisableProviderForUserCommand.js +28 -21
  12. package/dist-es/commands/AdminDisableUserCommand.js +28 -21
  13. package/dist-es/commands/AdminEnableUserCommand.js +28 -21
  14. package/dist-es/commands/AdminForgetDeviceCommand.js +29 -22
  15. package/dist-es/commands/AdminGetDeviceCommand.js +28 -21
  16. package/dist-es/commands/AdminGetUserCommand.js +28 -21
  17. package/dist-es/commands/AdminInitiateAuthCommand.js +28 -21
  18. package/dist-es/commands/AdminLinkProviderForUserCommand.js +28 -21
  19. package/dist-es/commands/AdminListDevicesCommand.js +28 -21
  20. package/dist-es/commands/AdminListGroupsForUserCommand.js +28 -21
  21. package/dist-es/commands/AdminListUserAuthEventsCommand.js +28 -21
  22. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +29 -22
  23. package/dist-es/commands/AdminResetUserPasswordCommand.js +28 -21
  24. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +28 -21
  25. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +28 -21
  26. package/dist-es/commands/AdminSetUserPasswordCommand.js +28 -21
  27. package/dist-es/commands/AdminSetUserSettingsCommand.js +28 -21
  28. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +28 -21
  29. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +28 -21
  30. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +28 -21
  31. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +28 -21
  32. package/dist-es/commands/AssociateSoftwareTokenCommand.js +28 -21
  33. package/dist-es/commands/ChangePasswordCommand.js +28 -21
  34. package/dist-es/commands/ConfirmDeviceCommand.js +28 -21
  35. package/dist-es/commands/ConfirmForgotPasswordCommand.js +28 -21
  36. package/dist-es/commands/ConfirmSignUpCommand.js +28 -21
  37. package/dist-es/commands/CreateGroupCommand.js +28 -21
  38. package/dist-es/commands/CreateIdentityProviderCommand.js +28 -21
  39. package/dist-es/commands/CreateResourceServerCommand.js +28 -21
  40. package/dist-es/commands/CreateUserImportJobCommand.js +28 -21
  41. package/dist-es/commands/CreateUserPoolClientCommand.js +28 -21
  42. package/dist-es/commands/CreateUserPoolCommand.js +28 -21
  43. package/dist-es/commands/CreateUserPoolDomainCommand.js +28 -21
  44. package/dist-es/commands/DeleteGroupCommand.js +29 -22
  45. package/dist-es/commands/DeleteIdentityProviderCommand.js +29 -22
  46. package/dist-es/commands/DeleteResourceServerCommand.js +29 -22
  47. package/dist-es/commands/DeleteUserAttributesCommand.js +28 -21
  48. package/dist-es/commands/DeleteUserCommand.js +29 -22
  49. package/dist-es/commands/DeleteUserPoolClientCommand.js +29 -22
  50. package/dist-es/commands/DeleteUserPoolCommand.js +29 -22
  51. package/dist-es/commands/DeleteUserPoolDomainCommand.js +28 -21
  52. package/dist-es/commands/DescribeIdentityProviderCommand.js +28 -21
  53. package/dist-es/commands/DescribeResourceServerCommand.js +28 -21
  54. package/dist-es/commands/DescribeRiskConfigurationCommand.js +28 -21
  55. package/dist-es/commands/DescribeUserImportJobCommand.js +28 -21
  56. package/dist-es/commands/DescribeUserPoolClientCommand.js +28 -21
  57. package/dist-es/commands/DescribeUserPoolCommand.js +28 -21
  58. package/dist-es/commands/DescribeUserPoolDomainCommand.js +28 -21
  59. package/dist-es/commands/ForgetDeviceCommand.js +29 -22
  60. package/dist-es/commands/ForgotPasswordCommand.js +28 -21
  61. package/dist-es/commands/GetCSVHeaderCommand.js +28 -21
  62. package/dist-es/commands/GetDeviceCommand.js +28 -21
  63. package/dist-es/commands/GetGroupCommand.js +28 -21
  64. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +28 -21
  65. package/dist-es/commands/GetSigningCertificateCommand.js +28 -21
  66. package/dist-es/commands/GetUICustomizationCommand.js +28 -21
  67. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +28 -21
  68. package/dist-es/commands/GetUserCommand.js +28 -21
  69. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +28 -21
  70. package/dist-es/commands/GlobalSignOutCommand.js +28 -21
  71. package/dist-es/commands/InitiateAuthCommand.js +28 -21
  72. package/dist-es/commands/ListDevicesCommand.js +28 -21
  73. package/dist-es/commands/ListGroupsCommand.js +28 -21
  74. package/dist-es/commands/ListIdentityProvidersCommand.js +28 -21
  75. package/dist-es/commands/ListResourceServersCommand.js +28 -21
  76. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  77. package/dist-es/commands/ListUserImportJobsCommand.js +28 -21
  78. package/dist-es/commands/ListUserPoolClientsCommand.js +28 -21
  79. package/dist-es/commands/ListUserPoolsCommand.js +28 -21
  80. package/dist-es/commands/ListUsersCommand.js +28 -21
  81. package/dist-es/commands/ListUsersInGroupCommand.js +28 -21
  82. package/dist-es/commands/ResendConfirmationCodeCommand.js +28 -21
  83. package/dist-es/commands/RespondToAuthChallengeCommand.js +28 -21
  84. package/dist-es/commands/RevokeTokenCommand.js +28 -21
  85. package/dist-es/commands/SetRiskConfigurationCommand.js +28 -21
  86. package/dist-es/commands/SetUICustomizationCommand.js +28 -21
  87. package/dist-es/commands/SetUserMFAPreferenceCommand.js +28 -21
  88. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +28 -21
  89. package/dist-es/commands/SetUserSettingsCommand.js +28 -21
  90. package/dist-es/commands/SignUpCommand.js +28 -21
  91. package/dist-es/commands/StartUserImportJobCommand.js +28 -21
  92. package/dist-es/commands/StopUserImportJobCommand.js +28 -21
  93. package/dist-es/commands/TagResourceCommand.js +28 -21
  94. package/dist-es/commands/UntagResourceCommand.js +28 -21
  95. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +28 -21
  96. package/dist-es/commands/UpdateDeviceStatusCommand.js +28 -21
  97. package/dist-es/commands/UpdateGroupCommand.js +28 -21
  98. package/dist-es/commands/UpdateIdentityProviderCommand.js +28 -21
  99. package/dist-es/commands/UpdateResourceServerCommand.js +28 -21
  100. package/dist-es/commands/UpdateUserAttributesCommand.js +28 -21
  101. package/dist-es/commands/UpdateUserPoolClientCommand.js +28 -21
  102. package/dist-es/commands/UpdateUserPoolCommand.js +28 -21
  103. package/dist-es/commands/UpdateUserPoolDomainCommand.js +28 -21
  104. package/dist-es/commands/VerifySoftwareTokenCommand.js +28 -21
  105. package/dist-es/commands/VerifyUserAttributeCommand.js +28 -21
  106. package/dist-es/endpoints.js +8 -8
  107. package/dist-es/models/CognitoIdentityProviderServiceException.js +10 -5
  108. package/dist-es/models/models_0.js +732 -1290
  109. package/dist-es/models/models_1.js +45 -115
  110. package/dist-es/pagination/AdminListGroupsForUserPaginator.js +68 -25
  111. package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +68 -25
  112. package/dist-es/pagination/ListGroupsPaginator.js +68 -25
  113. package/dist-es/pagination/ListIdentityProvidersPaginator.js +68 -25
  114. package/dist-es/pagination/ListResourceServersPaginator.js +68 -25
  115. package/dist-es/pagination/ListUserPoolClientsPaginator.js +68 -25
  116. package/dist-es/pagination/ListUserPoolsPaginator.js +68 -25
  117. package/dist-es/pagination/ListUsersInGroupPaginator.js +68 -25
  118. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  119. package/dist-es/protocols/Aws_json1_1.js +10565 -8461
  120. package/dist-es/runtimeConfig.browser.js +12 -26
  121. package/dist-es/runtimeConfig.js +12 -30
  122. package/dist-es/runtimeConfig.native.js +5 -8
  123. package/dist-es/runtimeConfig.shared.js +11 -8
  124. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { CognitoIdentityProviderClient } from "./CognitoIdentityProviderClient";
2
3
  import { AddCustomAttributesCommand, } from "./commands/AddCustomAttributesCommand";
3
4
  import { AdminAddUserToGroupCommand, } from "./commands/AdminAddUserToGroupCommand";
@@ -100,1419 +101,1425 @@ import { UpdateUserPoolCommand, } from "./commands/UpdateUserPoolCommand";
100
101
  import { UpdateUserPoolDomainCommand, } from "./commands/UpdateUserPoolDomainCommand";
101
102
  import { VerifySoftwareTokenCommand, } from "./commands/VerifySoftwareTokenCommand";
102
103
  import { VerifyUserAttributeCommand, } from "./commands/VerifyUserAttributeCommand";
103
- export class CognitoIdentityProvider extends CognitoIdentityProviderClient {
104
- addCustomAttributes(args, optionsOrCb, cb) {
105
- const command = new AddCustomAttributesCommand(args);
104
+ var CognitoIdentityProvider = (function (_super) {
105
+ __extends(CognitoIdentityProvider, _super);
106
+ function CognitoIdentityProvider() {
107
+ return _super !== null && _super.apply(this, arguments) || this;
108
+ }
109
+ CognitoIdentityProvider.prototype.addCustomAttributes = function (args, optionsOrCb, cb) {
110
+ var command = new AddCustomAttributesCommand(args);
106
111
  if (typeof optionsOrCb === "function") {
107
112
  this.send(command, optionsOrCb);
108
113
  }
109
114
  else if (typeof cb === "function") {
110
115
  if (typeof optionsOrCb !== "object")
111
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
116
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
112
117
  this.send(command, optionsOrCb || {}, cb);
113
118
  }
114
119
  else {
115
120
  return this.send(command, optionsOrCb);
116
121
  }
117
- }
118
- adminAddUserToGroup(args, optionsOrCb, cb) {
119
- const command = new AdminAddUserToGroupCommand(args);
122
+ };
123
+ CognitoIdentityProvider.prototype.adminAddUserToGroup = function (args, optionsOrCb, cb) {
124
+ var command = new AdminAddUserToGroupCommand(args);
120
125
  if (typeof optionsOrCb === "function") {
121
126
  this.send(command, optionsOrCb);
122
127
  }
123
128
  else if (typeof cb === "function") {
124
129
  if (typeof optionsOrCb !== "object")
125
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
130
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
126
131
  this.send(command, optionsOrCb || {}, cb);
127
132
  }
128
133
  else {
129
134
  return this.send(command, optionsOrCb);
130
135
  }
131
- }
132
- adminConfirmSignUp(args, optionsOrCb, cb) {
133
- const command = new AdminConfirmSignUpCommand(args);
136
+ };
137
+ CognitoIdentityProvider.prototype.adminConfirmSignUp = function (args, optionsOrCb, cb) {
138
+ var command = new AdminConfirmSignUpCommand(args);
134
139
  if (typeof optionsOrCb === "function") {
135
140
  this.send(command, optionsOrCb);
136
141
  }
137
142
  else if (typeof cb === "function") {
138
143
  if (typeof optionsOrCb !== "object")
139
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
144
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
140
145
  this.send(command, optionsOrCb || {}, cb);
141
146
  }
142
147
  else {
143
148
  return this.send(command, optionsOrCb);
144
149
  }
145
- }
146
- adminCreateUser(args, optionsOrCb, cb) {
147
- const command = new AdminCreateUserCommand(args);
150
+ };
151
+ CognitoIdentityProvider.prototype.adminCreateUser = function (args, optionsOrCb, cb) {
152
+ var command = new AdminCreateUserCommand(args);
148
153
  if (typeof optionsOrCb === "function") {
149
154
  this.send(command, optionsOrCb);
150
155
  }
151
156
  else if (typeof cb === "function") {
152
157
  if (typeof optionsOrCb !== "object")
153
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
158
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
154
159
  this.send(command, optionsOrCb || {}, cb);
155
160
  }
156
161
  else {
157
162
  return this.send(command, optionsOrCb);
158
163
  }
159
- }
160
- adminDeleteUser(args, optionsOrCb, cb) {
161
- const command = new AdminDeleteUserCommand(args);
164
+ };
165
+ CognitoIdentityProvider.prototype.adminDeleteUser = function (args, optionsOrCb, cb) {
166
+ var command = new AdminDeleteUserCommand(args);
162
167
  if (typeof optionsOrCb === "function") {
163
168
  this.send(command, optionsOrCb);
164
169
  }
165
170
  else if (typeof cb === "function") {
166
171
  if (typeof optionsOrCb !== "object")
167
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
172
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
168
173
  this.send(command, optionsOrCb || {}, cb);
169
174
  }
170
175
  else {
171
176
  return this.send(command, optionsOrCb);
172
177
  }
173
- }
174
- adminDeleteUserAttributes(args, optionsOrCb, cb) {
175
- const command = new AdminDeleteUserAttributesCommand(args);
178
+ };
179
+ CognitoIdentityProvider.prototype.adminDeleteUserAttributes = function (args, optionsOrCb, cb) {
180
+ var command = new AdminDeleteUserAttributesCommand(args);
176
181
  if (typeof optionsOrCb === "function") {
177
182
  this.send(command, optionsOrCb);
178
183
  }
179
184
  else if (typeof cb === "function") {
180
185
  if (typeof optionsOrCb !== "object")
181
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
186
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
182
187
  this.send(command, optionsOrCb || {}, cb);
183
188
  }
184
189
  else {
185
190
  return this.send(command, optionsOrCb);
186
191
  }
187
- }
188
- adminDisableProviderForUser(args, optionsOrCb, cb) {
189
- const command = new AdminDisableProviderForUserCommand(args);
192
+ };
193
+ CognitoIdentityProvider.prototype.adminDisableProviderForUser = function (args, optionsOrCb, cb) {
194
+ var command = new AdminDisableProviderForUserCommand(args);
190
195
  if (typeof optionsOrCb === "function") {
191
196
  this.send(command, optionsOrCb);
192
197
  }
193
198
  else if (typeof cb === "function") {
194
199
  if (typeof optionsOrCb !== "object")
195
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
200
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
196
201
  this.send(command, optionsOrCb || {}, cb);
197
202
  }
198
203
  else {
199
204
  return this.send(command, optionsOrCb);
200
205
  }
201
- }
202
- adminDisableUser(args, optionsOrCb, cb) {
203
- const command = new AdminDisableUserCommand(args);
206
+ };
207
+ CognitoIdentityProvider.prototype.adminDisableUser = function (args, optionsOrCb, cb) {
208
+ var command = new AdminDisableUserCommand(args);
204
209
  if (typeof optionsOrCb === "function") {
205
210
  this.send(command, optionsOrCb);
206
211
  }
207
212
  else if (typeof cb === "function") {
208
213
  if (typeof optionsOrCb !== "object")
209
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
214
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
210
215
  this.send(command, optionsOrCb || {}, cb);
211
216
  }
212
217
  else {
213
218
  return this.send(command, optionsOrCb);
214
219
  }
215
- }
216
- adminEnableUser(args, optionsOrCb, cb) {
217
- const command = new AdminEnableUserCommand(args);
220
+ };
221
+ CognitoIdentityProvider.prototype.adminEnableUser = function (args, optionsOrCb, cb) {
222
+ var command = new AdminEnableUserCommand(args);
218
223
  if (typeof optionsOrCb === "function") {
219
224
  this.send(command, optionsOrCb);
220
225
  }
221
226
  else if (typeof cb === "function") {
222
227
  if (typeof optionsOrCb !== "object")
223
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
228
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
224
229
  this.send(command, optionsOrCb || {}, cb);
225
230
  }
226
231
  else {
227
232
  return this.send(command, optionsOrCb);
228
233
  }
229
- }
230
- adminForgetDevice(args, optionsOrCb, cb) {
231
- const command = new AdminForgetDeviceCommand(args);
234
+ };
235
+ CognitoIdentityProvider.prototype.adminForgetDevice = function (args, optionsOrCb, cb) {
236
+ var command = new AdminForgetDeviceCommand(args);
232
237
  if (typeof optionsOrCb === "function") {
233
238
  this.send(command, optionsOrCb);
234
239
  }
235
240
  else if (typeof cb === "function") {
236
241
  if (typeof optionsOrCb !== "object")
237
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
242
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
238
243
  this.send(command, optionsOrCb || {}, cb);
239
244
  }
240
245
  else {
241
246
  return this.send(command, optionsOrCb);
242
247
  }
243
- }
244
- adminGetDevice(args, optionsOrCb, cb) {
245
- const command = new AdminGetDeviceCommand(args);
248
+ };
249
+ CognitoIdentityProvider.prototype.adminGetDevice = function (args, optionsOrCb, cb) {
250
+ var command = new AdminGetDeviceCommand(args);
246
251
  if (typeof optionsOrCb === "function") {
247
252
  this.send(command, optionsOrCb);
248
253
  }
249
254
  else if (typeof cb === "function") {
250
255
  if (typeof optionsOrCb !== "object")
251
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
256
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
252
257
  this.send(command, optionsOrCb || {}, cb);
253
258
  }
254
259
  else {
255
260
  return this.send(command, optionsOrCb);
256
261
  }
257
- }
258
- adminGetUser(args, optionsOrCb, cb) {
259
- const command = new AdminGetUserCommand(args);
262
+ };
263
+ CognitoIdentityProvider.prototype.adminGetUser = function (args, optionsOrCb, cb) {
264
+ var command = new AdminGetUserCommand(args);
260
265
  if (typeof optionsOrCb === "function") {
261
266
  this.send(command, optionsOrCb);
262
267
  }
263
268
  else if (typeof cb === "function") {
264
269
  if (typeof optionsOrCb !== "object")
265
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
270
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
266
271
  this.send(command, optionsOrCb || {}, cb);
267
272
  }
268
273
  else {
269
274
  return this.send(command, optionsOrCb);
270
275
  }
271
- }
272
- adminInitiateAuth(args, optionsOrCb, cb) {
273
- const command = new AdminInitiateAuthCommand(args);
276
+ };
277
+ CognitoIdentityProvider.prototype.adminInitiateAuth = function (args, optionsOrCb, cb) {
278
+ var command = new AdminInitiateAuthCommand(args);
274
279
  if (typeof optionsOrCb === "function") {
275
280
  this.send(command, optionsOrCb);
276
281
  }
277
282
  else if (typeof cb === "function") {
278
283
  if (typeof optionsOrCb !== "object")
279
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
284
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
280
285
  this.send(command, optionsOrCb || {}, cb);
281
286
  }
282
287
  else {
283
288
  return this.send(command, optionsOrCb);
284
289
  }
285
- }
286
- adminLinkProviderForUser(args, optionsOrCb, cb) {
287
- const command = new AdminLinkProviderForUserCommand(args);
290
+ };
291
+ CognitoIdentityProvider.prototype.adminLinkProviderForUser = function (args, optionsOrCb, cb) {
292
+ var command = new AdminLinkProviderForUserCommand(args);
288
293
  if (typeof optionsOrCb === "function") {
289
294
  this.send(command, optionsOrCb);
290
295
  }
291
296
  else if (typeof cb === "function") {
292
297
  if (typeof optionsOrCb !== "object")
293
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
298
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
294
299
  this.send(command, optionsOrCb || {}, cb);
295
300
  }
296
301
  else {
297
302
  return this.send(command, optionsOrCb);
298
303
  }
299
- }
300
- adminListDevices(args, optionsOrCb, cb) {
301
- const command = new AdminListDevicesCommand(args);
304
+ };
305
+ CognitoIdentityProvider.prototype.adminListDevices = function (args, optionsOrCb, cb) {
306
+ var command = new AdminListDevicesCommand(args);
302
307
  if (typeof optionsOrCb === "function") {
303
308
  this.send(command, optionsOrCb);
304
309
  }
305
310
  else if (typeof cb === "function") {
306
311
  if (typeof optionsOrCb !== "object")
307
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
312
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
308
313
  this.send(command, optionsOrCb || {}, cb);
309
314
  }
310
315
  else {
311
316
  return this.send(command, optionsOrCb);
312
317
  }
313
- }
314
- adminListGroupsForUser(args, optionsOrCb, cb) {
315
- const command = new AdminListGroupsForUserCommand(args);
318
+ };
319
+ CognitoIdentityProvider.prototype.adminListGroupsForUser = function (args, optionsOrCb, cb) {
320
+ var command = new AdminListGroupsForUserCommand(args);
316
321
  if (typeof optionsOrCb === "function") {
317
322
  this.send(command, optionsOrCb);
318
323
  }
319
324
  else if (typeof cb === "function") {
320
325
  if (typeof optionsOrCb !== "object")
321
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
326
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
322
327
  this.send(command, optionsOrCb || {}, cb);
323
328
  }
324
329
  else {
325
330
  return this.send(command, optionsOrCb);
326
331
  }
327
- }
328
- adminListUserAuthEvents(args, optionsOrCb, cb) {
329
- const command = new AdminListUserAuthEventsCommand(args);
332
+ };
333
+ CognitoIdentityProvider.prototype.adminListUserAuthEvents = function (args, optionsOrCb, cb) {
334
+ var command = new AdminListUserAuthEventsCommand(args);
330
335
  if (typeof optionsOrCb === "function") {
331
336
  this.send(command, optionsOrCb);
332
337
  }
333
338
  else if (typeof cb === "function") {
334
339
  if (typeof optionsOrCb !== "object")
335
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
340
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
336
341
  this.send(command, optionsOrCb || {}, cb);
337
342
  }
338
343
  else {
339
344
  return this.send(command, optionsOrCb);
340
345
  }
341
- }
342
- adminRemoveUserFromGroup(args, optionsOrCb, cb) {
343
- const command = new AdminRemoveUserFromGroupCommand(args);
346
+ };
347
+ CognitoIdentityProvider.prototype.adminRemoveUserFromGroup = function (args, optionsOrCb, cb) {
348
+ var command = new AdminRemoveUserFromGroupCommand(args);
344
349
  if (typeof optionsOrCb === "function") {
345
350
  this.send(command, optionsOrCb);
346
351
  }
347
352
  else if (typeof cb === "function") {
348
353
  if (typeof optionsOrCb !== "object")
349
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
354
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
350
355
  this.send(command, optionsOrCb || {}, cb);
351
356
  }
352
357
  else {
353
358
  return this.send(command, optionsOrCb);
354
359
  }
355
- }
356
- adminResetUserPassword(args, optionsOrCb, cb) {
357
- const command = new AdminResetUserPasswordCommand(args);
360
+ };
361
+ CognitoIdentityProvider.prototype.adminResetUserPassword = function (args, optionsOrCb, cb) {
362
+ var command = new AdminResetUserPasswordCommand(args);
358
363
  if (typeof optionsOrCb === "function") {
359
364
  this.send(command, optionsOrCb);
360
365
  }
361
366
  else if (typeof cb === "function") {
362
367
  if (typeof optionsOrCb !== "object")
363
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
368
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
364
369
  this.send(command, optionsOrCb || {}, cb);
365
370
  }
366
371
  else {
367
372
  return this.send(command, optionsOrCb);
368
373
  }
369
- }
370
- adminRespondToAuthChallenge(args, optionsOrCb, cb) {
371
- const command = new AdminRespondToAuthChallengeCommand(args);
374
+ };
375
+ CognitoIdentityProvider.prototype.adminRespondToAuthChallenge = function (args, optionsOrCb, cb) {
376
+ var command = new AdminRespondToAuthChallengeCommand(args);
372
377
  if (typeof optionsOrCb === "function") {
373
378
  this.send(command, optionsOrCb);
374
379
  }
375
380
  else if (typeof cb === "function") {
376
381
  if (typeof optionsOrCb !== "object")
377
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
382
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
378
383
  this.send(command, optionsOrCb || {}, cb);
379
384
  }
380
385
  else {
381
386
  return this.send(command, optionsOrCb);
382
387
  }
383
- }
384
- adminSetUserMFAPreference(args, optionsOrCb, cb) {
385
- const command = new AdminSetUserMFAPreferenceCommand(args);
388
+ };
389
+ CognitoIdentityProvider.prototype.adminSetUserMFAPreference = function (args, optionsOrCb, cb) {
390
+ var command = new AdminSetUserMFAPreferenceCommand(args);
386
391
  if (typeof optionsOrCb === "function") {
387
392
  this.send(command, optionsOrCb);
388
393
  }
389
394
  else if (typeof cb === "function") {
390
395
  if (typeof optionsOrCb !== "object")
391
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
396
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
392
397
  this.send(command, optionsOrCb || {}, cb);
393
398
  }
394
399
  else {
395
400
  return this.send(command, optionsOrCb);
396
401
  }
397
- }
398
- adminSetUserPassword(args, optionsOrCb, cb) {
399
- const command = new AdminSetUserPasswordCommand(args);
402
+ };
403
+ CognitoIdentityProvider.prototype.adminSetUserPassword = function (args, optionsOrCb, cb) {
404
+ var command = new AdminSetUserPasswordCommand(args);
400
405
  if (typeof optionsOrCb === "function") {
401
406
  this.send(command, optionsOrCb);
402
407
  }
403
408
  else if (typeof cb === "function") {
404
409
  if (typeof optionsOrCb !== "object")
405
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
410
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
406
411
  this.send(command, optionsOrCb || {}, cb);
407
412
  }
408
413
  else {
409
414
  return this.send(command, optionsOrCb);
410
415
  }
411
- }
412
- adminSetUserSettings(args, optionsOrCb, cb) {
413
- const command = new AdminSetUserSettingsCommand(args);
416
+ };
417
+ CognitoIdentityProvider.prototype.adminSetUserSettings = function (args, optionsOrCb, cb) {
418
+ var command = new AdminSetUserSettingsCommand(args);
414
419
  if (typeof optionsOrCb === "function") {
415
420
  this.send(command, optionsOrCb);
416
421
  }
417
422
  else if (typeof cb === "function") {
418
423
  if (typeof optionsOrCb !== "object")
419
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
424
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
420
425
  this.send(command, optionsOrCb || {}, cb);
421
426
  }
422
427
  else {
423
428
  return this.send(command, optionsOrCb);
424
429
  }
425
- }
426
- adminUpdateAuthEventFeedback(args, optionsOrCb, cb) {
427
- const command = new AdminUpdateAuthEventFeedbackCommand(args);
430
+ };
431
+ CognitoIdentityProvider.prototype.adminUpdateAuthEventFeedback = function (args, optionsOrCb, cb) {
432
+ var command = new AdminUpdateAuthEventFeedbackCommand(args);
428
433
  if (typeof optionsOrCb === "function") {
429
434
  this.send(command, optionsOrCb);
430
435
  }
431
436
  else if (typeof cb === "function") {
432
437
  if (typeof optionsOrCb !== "object")
433
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
438
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
434
439
  this.send(command, optionsOrCb || {}, cb);
435
440
  }
436
441
  else {
437
442
  return this.send(command, optionsOrCb);
438
443
  }
439
- }
440
- adminUpdateDeviceStatus(args, optionsOrCb, cb) {
441
- const command = new AdminUpdateDeviceStatusCommand(args);
444
+ };
445
+ CognitoIdentityProvider.prototype.adminUpdateDeviceStatus = function (args, optionsOrCb, cb) {
446
+ var command = new AdminUpdateDeviceStatusCommand(args);
442
447
  if (typeof optionsOrCb === "function") {
443
448
  this.send(command, optionsOrCb);
444
449
  }
445
450
  else if (typeof cb === "function") {
446
451
  if (typeof optionsOrCb !== "object")
447
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
452
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
448
453
  this.send(command, optionsOrCb || {}, cb);
449
454
  }
450
455
  else {
451
456
  return this.send(command, optionsOrCb);
452
457
  }
453
- }
454
- adminUpdateUserAttributes(args, optionsOrCb, cb) {
455
- const command = new AdminUpdateUserAttributesCommand(args);
458
+ };
459
+ CognitoIdentityProvider.prototype.adminUpdateUserAttributes = function (args, optionsOrCb, cb) {
460
+ var command = new AdminUpdateUserAttributesCommand(args);
456
461
  if (typeof optionsOrCb === "function") {
457
462
  this.send(command, optionsOrCb);
458
463
  }
459
464
  else if (typeof cb === "function") {
460
465
  if (typeof optionsOrCb !== "object")
461
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
466
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
462
467
  this.send(command, optionsOrCb || {}, cb);
463
468
  }
464
469
  else {
465
470
  return this.send(command, optionsOrCb);
466
471
  }
467
- }
468
- adminUserGlobalSignOut(args, optionsOrCb, cb) {
469
- const command = new AdminUserGlobalSignOutCommand(args);
472
+ };
473
+ CognitoIdentityProvider.prototype.adminUserGlobalSignOut = function (args, optionsOrCb, cb) {
474
+ var command = new AdminUserGlobalSignOutCommand(args);
470
475
  if (typeof optionsOrCb === "function") {
471
476
  this.send(command, optionsOrCb);
472
477
  }
473
478
  else if (typeof cb === "function") {
474
479
  if (typeof optionsOrCb !== "object")
475
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
480
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
476
481
  this.send(command, optionsOrCb || {}, cb);
477
482
  }
478
483
  else {
479
484
  return this.send(command, optionsOrCb);
480
485
  }
481
- }
482
- associateSoftwareToken(args, optionsOrCb, cb) {
483
- const command = new AssociateSoftwareTokenCommand(args);
486
+ };
487
+ CognitoIdentityProvider.prototype.associateSoftwareToken = function (args, optionsOrCb, cb) {
488
+ var command = new AssociateSoftwareTokenCommand(args);
484
489
  if (typeof optionsOrCb === "function") {
485
490
  this.send(command, optionsOrCb);
486
491
  }
487
492
  else if (typeof cb === "function") {
488
493
  if (typeof optionsOrCb !== "object")
489
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
494
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
490
495
  this.send(command, optionsOrCb || {}, cb);
491
496
  }
492
497
  else {
493
498
  return this.send(command, optionsOrCb);
494
499
  }
495
- }
496
- changePassword(args, optionsOrCb, cb) {
497
- const command = new ChangePasswordCommand(args);
500
+ };
501
+ CognitoIdentityProvider.prototype.changePassword = function (args, optionsOrCb, cb) {
502
+ var command = new ChangePasswordCommand(args);
498
503
  if (typeof optionsOrCb === "function") {
499
504
  this.send(command, optionsOrCb);
500
505
  }
501
506
  else if (typeof cb === "function") {
502
507
  if (typeof optionsOrCb !== "object")
503
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
508
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
504
509
  this.send(command, optionsOrCb || {}, cb);
505
510
  }
506
511
  else {
507
512
  return this.send(command, optionsOrCb);
508
513
  }
509
- }
510
- confirmDevice(args, optionsOrCb, cb) {
511
- const command = new ConfirmDeviceCommand(args);
514
+ };
515
+ CognitoIdentityProvider.prototype.confirmDevice = function (args, optionsOrCb, cb) {
516
+ var command = new ConfirmDeviceCommand(args);
512
517
  if (typeof optionsOrCb === "function") {
513
518
  this.send(command, optionsOrCb);
514
519
  }
515
520
  else if (typeof cb === "function") {
516
521
  if (typeof optionsOrCb !== "object")
517
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
522
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
518
523
  this.send(command, optionsOrCb || {}, cb);
519
524
  }
520
525
  else {
521
526
  return this.send(command, optionsOrCb);
522
527
  }
523
- }
524
- confirmForgotPassword(args, optionsOrCb, cb) {
525
- const command = new ConfirmForgotPasswordCommand(args);
528
+ };
529
+ CognitoIdentityProvider.prototype.confirmForgotPassword = function (args, optionsOrCb, cb) {
530
+ var command = new ConfirmForgotPasswordCommand(args);
526
531
  if (typeof optionsOrCb === "function") {
527
532
  this.send(command, optionsOrCb);
528
533
  }
529
534
  else if (typeof cb === "function") {
530
535
  if (typeof optionsOrCb !== "object")
531
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
536
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
532
537
  this.send(command, optionsOrCb || {}, cb);
533
538
  }
534
539
  else {
535
540
  return this.send(command, optionsOrCb);
536
541
  }
537
- }
538
- confirmSignUp(args, optionsOrCb, cb) {
539
- const command = new ConfirmSignUpCommand(args);
542
+ };
543
+ CognitoIdentityProvider.prototype.confirmSignUp = function (args, optionsOrCb, cb) {
544
+ var command = new ConfirmSignUpCommand(args);
540
545
  if (typeof optionsOrCb === "function") {
541
546
  this.send(command, optionsOrCb);
542
547
  }
543
548
  else if (typeof cb === "function") {
544
549
  if (typeof optionsOrCb !== "object")
545
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
550
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
546
551
  this.send(command, optionsOrCb || {}, cb);
547
552
  }
548
553
  else {
549
554
  return this.send(command, optionsOrCb);
550
555
  }
551
- }
552
- createGroup(args, optionsOrCb, cb) {
553
- const command = new CreateGroupCommand(args);
556
+ };
557
+ CognitoIdentityProvider.prototype.createGroup = function (args, optionsOrCb, cb) {
558
+ var command = new CreateGroupCommand(args);
554
559
  if (typeof optionsOrCb === "function") {
555
560
  this.send(command, optionsOrCb);
556
561
  }
557
562
  else if (typeof cb === "function") {
558
563
  if (typeof optionsOrCb !== "object")
559
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
564
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
560
565
  this.send(command, optionsOrCb || {}, cb);
561
566
  }
562
567
  else {
563
568
  return this.send(command, optionsOrCb);
564
569
  }
565
- }
566
- createIdentityProvider(args, optionsOrCb, cb) {
567
- const command = new CreateIdentityProviderCommand(args);
570
+ };
571
+ CognitoIdentityProvider.prototype.createIdentityProvider = function (args, optionsOrCb, cb) {
572
+ var command = new CreateIdentityProviderCommand(args);
568
573
  if (typeof optionsOrCb === "function") {
569
574
  this.send(command, optionsOrCb);
570
575
  }
571
576
  else if (typeof cb === "function") {
572
577
  if (typeof optionsOrCb !== "object")
573
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
578
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
574
579
  this.send(command, optionsOrCb || {}, cb);
575
580
  }
576
581
  else {
577
582
  return this.send(command, optionsOrCb);
578
583
  }
579
- }
580
- createResourceServer(args, optionsOrCb, cb) {
581
- const command = new CreateResourceServerCommand(args);
584
+ };
585
+ CognitoIdentityProvider.prototype.createResourceServer = function (args, optionsOrCb, cb) {
586
+ var command = new CreateResourceServerCommand(args);
582
587
  if (typeof optionsOrCb === "function") {
583
588
  this.send(command, optionsOrCb);
584
589
  }
585
590
  else if (typeof cb === "function") {
586
591
  if (typeof optionsOrCb !== "object")
587
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
592
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
588
593
  this.send(command, optionsOrCb || {}, cb);
589
594
  }
590
595
  else {
591
596
  return this.send(command, optionsOrCb);
592
597
  }
593
- }
594
- createUserImportJob(args, optionsOrCb, cb) {
595
- const command = new CreateUserImportJobCommand(args);
598
+ };
599
+ CognitoIdentityProvider.prototype.createUserImportJob = function (args, optionsOrCb, cb) {
600
+ var command = new CreateUserImportJobCommand(args);
596
601
  if (typeof optionsOrCb === "function") {
597
602
  this.send(command, optionsOrCb);
598
603
  }
599
604
  else if (typeof cb === "function") {
600
605
  if (typeof optionsOrCb !== "object")
601
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
606
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
602
607
  this.send(command, optionsOrCb || {}, cb);
603
608
  }
604
609
  else {
605
610
  return this.send(command, optionsOrCb);
606
611
  }
607
- }
608
- createUserPool(args, optionsOrCb, cb) {
609
- const command = new CreateUserPoolCommand(args);
612
+ };
613
+ CognitoIdentityProvider.prototype.createUserPool = function (args, optionsOrCb, cb) {
614
+ var command = new CreateUserPoolCommand(args);
610
615
  if (typeof optionsOrCb === "function") {
611
616
  this.send(command, optionsOrCb);
612
617
  }
613
618
  else if (typeof cb === "function") {
614
619
  if (typeof optionsOrCb !== "object")
615
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
620
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
616
621
  this.send(command, optionsOrCb || {}, cb);
617
622
  }
618
623
  else {
619
624
  return this.send(command, optionsOrCb);
620
625
  }
621
- }
622
- createUserPoolClient(args, optionsOrCb, cb) {
623
- const command = new CreateUserPoolClientCommand(args);
626
+ };
627
+ CognitoIdentityProvider.prototype.createUserPoolClient = function (args, optionsOrCb, cb) {
628
+ var command = new CreateUserPoolClientCommand(args);
624
629
  if (typeof optionsOrCb === "function") {
625
630
  this.send(command, optionsOrCb);
626
631
  }
627
632
  else if (typeof cb === "function") {
628
633
  if (typeof optionsOrCb !== "object")
629
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
634
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
630
635
  this.send(command, optionsOrCb || {}, cb);
631
636
  }
632
637
  else {
633
638
  return this.send(command, optionsOrCb);
634
639
  }
635
- }
636
- createUserPoolDomain(args, optionsOrCb, cb) {
637
- const command = new CreateUserPoolDomainCommand(args);
640
+ };
641
+ CognitoIdentityProvider.prototype.createUserPoolDomain = function (args, optionsOrCb, cb) {
642
+ var command = new CreateUserPoolDomainCommand(args);
638
643
  if (typeof optionsOrCb === "function") {
639
644
  this.send(command, optionsOrCb);
640
645
  }
641
646
  else if (typeof cb === "function") {
642
647
  if (typeof optionsOrCb !== "object")
643
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
648
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
644
649
  this.send(command, optionsOrCb || {}, cb);
645
650
  }
646
651
  else {
647
652
  return this.send(command, optionsOrCb);
648
653
  }
649
- }
650
- deleteGroup(args, optionsOrCb, cb) {
651
- const command = new DeleteGroupCommand(args);
654
+ };
655
+ CognitoIdentityProvider.prototype.deleteGroup = function (args, optionsOrCb, cb) {
656
+ var command = new DeleteGroupCommand(args);
652
657
  if (typeof optionsOrCb === "function") {
653
658
  this.send(command, optionsOrCb);
654
659
  }
655
660
  else if (typeof cb === "function") {
656
661
  if (typeof optionsOrCb !== "object")
657
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
662
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
658
663
  this.send(command, optionsOrCb || {}, cb);
659
664
  }
660
665
  else {
661
666
  return this.send(command, optionsOrCb);
662
667
  }
663
- }
664
- deleteIdentityProvider(args, optionsOrCb, cb) {
665
- const command = new DeleteIdentityProviderCommand(args);
668
+ };
669
+ CognitoIdentityProvider.prototype.deleteIdentityProvider = function (args, optionsOrCb, cb) {
670
+ var command = new DeleteIdentityProviderCommand(args);
666
671
  if (typeof optionsOrCb === "function") {
667
672
  this.send(command, optionsOrCb);
668
673
  }
669
674
  else if (typeof cb === "function") {
670
675
  if (typeof optionsOrCb !== "object")
671
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
676
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
672
677
  this.send(command, optionsOrCb || {}, cb);
673
678
  }
674
679
  else {
675
680
  return this.send(command, optionsOrCb);
676
681
  }
677
- }
678
- deleteResourceServer(args, optionsOrCb, cb) {
679
- const command = new DeleteResourceServerCommand(args);
682
+ };
683
+ CognitoIdentityProvider.prototype.deleteResourceServer = function (args, optionsOrCb, cb) {
684
+ var command = new DeleteResourceServerCommand(args);
680
685
  if (typeof optionsOrCb === "function") {
681
686
  this.send(command, optionsOrCb);
682
687
  }
683
688
  else if (typeof cb === "function") {
684
689
  if (typeof optionsOrCb !== "object")
685
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
690
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
686
691
  this.send(command, optionsOrCb || {}, cb);
687
692
  }
688
693
  else {
689
694
  return this.send(command, optionsOrCb);
690
695
  }
691
- }
692
- deleteUser(args, optionsOrCb, cb) {
693
- const command = new DeleteUserCommand(args);
696
+ };
697
+ CognitoIdentityProvider.prototype.deleteUser = function (args, optionsOrCb, cb) {
698
+ var command = new DeleteUserCommand(args);
694
699
  if (typeof optionsOrCb === "function") {
695
700
  this.send(command, optionsOrCb);
696
701
  }
697
702
  else if (typeof cb === "function") {
698
703
  if (typeof optionsOrCb !== "object")
699
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
704
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
700
705
  this.send(command, optionsOrCb || {}, cb);
701
706
  }
702
707
  else {
703
708
  return this.send(command, optionsOrCb);
704
709
  }
705
- }
706
- deleteUserAttributes(args, optionsOrCb, cb) {
707
- const command = new DeleteUserAttributesCommand(args);
710
+ };
711
+ CognitoIdentityProvider.prototype.deleteUserAttributes = function (args, optionsOrCb, cb) {
712
+ var command = new DeleteUserAttributesCommand(args);
708
713
  if (typeof optionsOrCb === "function") {
709
714
  this.send(command, optionsOrCb);
710
715
  }
711
716
  else if (typeof cb === "function") {
712
717
  if (typeof optionsOrCb !== "object")
713
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
718
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
714
719
  this.send(command, optionsOrCb || {}, cb);
715
720
  }
716
721
  else {
717
722
  return this.send(command, optionsOrCb);
718
723
  }
719
- }
720
- deleteUserPool(args, optionsOrCb, cb) {
721
- const command = new DeleteUserPoolCommand(args);
724
+ };
725
+ CognitoIdentityProvider.prototype.deleteUserPool = function (args, optionsOrCb, cb) {
726
+ var command = new DeleteUserPoolCommand(args);
722
727
  if (typeof optionsOrCb === "function") {
723
728
  this.send(command, optionsOrCb);
724
729
  }
725
730
  else if (typeof cb === "function") {
726
731
  if (typeof optionsOrCb !== "object")
727
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
732
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
728
733
  this.send(command, optionsOrCb || {}, cb);
729
734
  }
730
735
  else {
731
736
  return this.send(command, optionsOrCb);
732
737
  }
733
- }
734
- deleteUserPoolClient(args, optionsOrCb, cb) {
735
- const command = new DeleteUserPoolClientCommand(args);
738
+ };
739
+ CognitoIdentityProvider.prototype.deleteUserPoolClient = function (args, optionsOrCb, cb) {
740
+ var command = new DeleteUserPoolClientCommand(args);
736
741
  if (typeof optionsOrCb === "function") {
737
742
  this.send(command, optionsOrCb);
738
743
  }
739
744
  else if (typeof cb === "function") {
740
745
  if (typeof optionsOrCb !== "object")
741
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
746
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
742
747
  this.send(command, optionsOrCb || {}, cb);
743
748
  }
744
749
  else {
745
750
  return this.send(command, optionsOrCb);
746
751
  }
747
- }
748
- deleteUserPoolDomain(args, optionsOrCb, cb) {
749
- const command = new DeleteUserPoolDomainCommand(args);
752
+ };
753
+ CognitoIdentityProvider.prototype.deleteUserPoolDomain = function (args, optionsOrCb, cb) {
754
+ var command = new DeleteUserPoolDomainCommand(args);
750
755
  if (typeof optionsOrCb === "function") {
751
756
  this.send(command, optionsOrCb);
752
757
  }
753
758
  else if (typeof cb === "function") {
754
759
  if (typeof optionsOrCb !== "object")
755
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
760
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
756
761
  this.send(command, optionsOrCb || {}, cb);
757
762
  }
758
763
  else {
759
764
  return this.send(command, optionsOrCb);
760
765
  }
761
- }
762
- describeIdentityProvider(args, optionsOrCb, cb) {
763
- const command = new DescribeIdentityProviderCommand(args);
766
+ };
767
+ CognitoIdentityProvider.prototype.describeIdentityProvider = function (args, optionsOrCb, cb) {
768
+ var command = new DescribeIdentityProviderCommand(args);
764
769
  if (typeof optionsOrCb === "function") {
765
770
  this.send(command, optionsOrCb);
766
771
  }
767
772
  else if (typeof cb === "function") {
768
773
  if (typeof optionsOrCb !== "object")
769
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
774
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
770
775
  this.send(command, optionsOrCb || {}, cb);
771
776
  }
772
777
  else {
773
778
  return this.send(command, optionsOrCb);
774
779
  }
775
- }
776
- describeResourceServer(args, optionsOrCb, cb) {
777
- const command = new DescribeResourceServerCommand(args);
780
+ };
781
+ CognitoIdentityProvider.prototype.describeResourceServer = function (args, optionsOrCb, cb) {
782
+ var command = new DescribeResourceServerCommand(args);
778
783
  if (typeof optionsOrCb === "function") {
779
784
  this.send(command, optionsOrCb);
780
785
  }
781
786
  else if (typeof cb === "function") {
782
787
  if (typeof optionsOrCb !== "object")
783
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
788
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
784
789
  this.send(command, optionsOrCb || {}, cb);
785
790
  }
786
791
  else {
787
792
  return this.send(command, optionsOrCb);
788
793
  }
789
- }
790
- describeRiskConfiguration(args, optionsOrCb, cb) {
791
- const command = new DescribeRiskConfigurationCommand(args);
794
+ };
795
+ CognitoIdentityProvider.prototype.describeRiskConfiguration = function (args, optionsOrCb, cb) {
796
+ var command = new DescribeRiskConfigurationCommand(args);
792
797
  if (typeof optionsOrCb === "function") {
793
798
  this.send(command, optionsOrCb);
794
799
  }
795
800
  else if (typeof cb === "function") {
796
801
  if (typeof optionsOrCb !== "object")
797
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
802
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
798
803
  this.send(command, optionsOrCb || {}, cb);
799
804
  }
800
805
  else {
801
806
  return this.send(command, optionsOrCb);
802
807
  }
803
- }
804
- describeUserImportJob(args, optionsOrCb, cb) {
805
- const command = new DescribeUserImportJobCommand(args);
808
+ };
809
+ CognitoIdentityProvider.prototype.describeUserImportJob = function (args, optionsOrCb, cb) {
810
+ var command = new DescribeUserImportJobCommand(args);
806
811
  if (typeof optionsOrCb === "function") {
807
812
  this.send(command, optionsOrCb);
808
813
  }
809
814
  else if (typeof cb === "function") {
810
815
  if (typeof optionsOrCb !== "object")
811
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
816
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
812
817
  this.send(command, optionsOrCb || {}, cb);
813
818
  }
814
819
  else {
815
820
  return this.send(command, optionsOrCb);
816
821
  }
817
- }
818
- describeUserPool(args, optionsOrCb, cb) {
819
- const command = new DescribeUserPoolCommand(args);
822
+ };
823
+ CognitoIdentityProvider.prototype.describeUserPool = function (args, optionsOrCb, cb) {
824
+ var command = new DescribeUserPoolCommand(args);
820
825
  if (typeof optionsOrCb === "function") {
821
826
  this.send(command, optionsOrCb);
822
827
  }
823
828
  else if (typeof cb === "function") {
824
829
  if (typeof optionsOrCb !== "object")
825
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
830
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
826
831
  this.send(command, optionsOrCb || {}, cb);
827
832
  }
828
833
  else {
829
834
  return this.send(command, optionsOrCb);
830
835
  }
831
- }
832
- describeUserPoolClient(args, optionsOrCb, cb) {
833
- const command = new DescribeUserPoolClientCommand(args);
836
+ };
837
+ CognitoIdentityProvider.prototype.describeUserPoolClient = function (args, optionsOrCb, cb) {
838
+ var command = new DescribeUserPoolClientCommand(args);
834
839
  if (typeof optionsOrCb === "function") {
835
840
  this.send(command, optionsOrCb);
836
841
  }
837
842
  else if (typeof cb === "function") {
838
843
  if (typeof optionsOrCb !== "object")
839
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
844
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
840
845
  this.send(command, optionsOrCb || {}, cb);
841
846
  }
842
847
  else {
843
848
  return this.send(command, optionsOrCb);
844
849
  }
845
- }
846
- describeUserPoolDomain(args, optionsOrCb, cb) {
847
- const command = new DescribeUserPoolDomainCommand(args);
850
+ };
851
+ CognitoIdentityProvider.prototype.describeUserPoolDomain = function (args, optionsOrCb, cb) {
852
+ var command = new DescribeUserPoolDomainCommand(args);
848
853
  if (typeof optionsOrCb === "function") {
849
854
  this.send(command, optionsOrCb);
850
855
  }
851
856
  else if (typeof cb === "function") {
852
857
  if (typeof optionsOrCb !== "object")
853
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
858
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
854
859
  this.send(command, optionsOrCb || {}, cb);
855
860
  }
856
861
  else {
857
862
  return this.send(command, optionsOrCb);
858
863
  }
859
- }
860
- forgetDevice(args, optionsOrCb, cb) {
861
- const command = new ForgetDeviceCommand(args);
864
+ };
865
+ CognitoIdentityProvider.prototype.forgetDevice = function (args, optionsOrCb, cb) {
866
+ var command = new ForgetDeviceCommand(args);
862
867
  if (typeof optionsOrCb === "function") {
863
868
  this.send(command, optionsOrCb);
864
869
  }
865
870
  else if (typeof cb === "function") {
866
871
  if (typeof optionsOrCb !== "object")
867
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
872
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
868
873
  this.send(command, optionsOrCb || {}, cb);
869
874
  }
870
875
  else {
871
876
  return this.send(command, optionsOrCb);
872
877
  }
873
- }
874
- forgotPassword(args, optionsOrCb, cb) {
875
- const command = new ForgotPasswordCommand(args);
878
+ };
879
+ CognitoIdentityProvider.prototype.forgotPassword = function (args, optionsOrCb, cb) {
880
+ var command = new ForgotPasswordCommand(args);
876
881
  if (typeof optionsOrCb === "function") {
877
882
  this.send(command, optionsOrCb);
878
883
  }
879
884
  else if (typeof cb === "function") {
880
885
  if (typeof optionsOrCb !== "object")
881
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
886
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
882
887
  this.send(command, optionsOrCb || {}, cb);
883
888
  }
884
889
  else {
885
890
  return this.send(command, optionsOrCb);
886
891
  }
887
- }
888
- getCSVHeader(args, optionsOrCb, cb) {
889
- const command = new GetCSVHeaderCommand(args);
892
+ };
893
+ CognitoIdentityProvider.prototype.getCSVHeader = function (args, optionsOrCb, cb) {
894
+ var command = new GetCSVHeaderCommand(args);
890
895
  if (typeof optionsOrCb === "function") {
891
896
  this.send(command, optionsOrCb);
892
897
  }
893
898
  else if (typeof cb === "function") {
894
899
  if (typeof optionsOrCb !== "object")
895
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
900
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
896
901
  this.send(command, optionsOrCb || {}, cb);
897
902
  }
898
903
  else {
899
904
  return this.send(command, optionsOrCb);
900
905
  }
901
- }
902
- getDevice(args, optionsOrCb, cb) {
903
- const command = new GetDeviceCommand(args);
906
+ };
907
+ CognitoIdentityProvider.prototype.getDevice = function (args, optionsOrCb, cb) {
908
+ var command = new GetDeviceCommand(args);
904
909
  if (typeof optionsOrCb === "function") {
905
910
  this.send(command, optionsOrCb);
906
911
  }
907
912
  else if (typeof cb === "function") {
908
913
  if (typeof optionsOrCb !== "object")
909
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
914
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
910
915
  this.send(command, optionsOrCb || {}, cb);
911
916
  }
912
917
  else {
913
918
  return this.send(command, optionsOrCb);
914
919
  }
915
- }
916
- getGroup(args, optionsOrCb, cb) {
917
- const command = new GetGroupCommand(args);
920
+ };
921
+ CognitoIdentityProvider.prototype.getGroup = function (args, optionsOrCb, cb) {
922
+ var command = new GetGroupCommand(args);
918
923
  if (typeof optionsOrCb === "function") {
919
924
  this.send(command, optionsOrCb);
920
925
  }
921
926
  else if (typeof cb === "function") {
922
927
  if (typeof optionsOrCb !== "object")
923
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
928
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
924
929
  this.send(command, optionsOrCb || {}, cb);
925
930
  }
926
931
  else {
927
932
  return this.send(command, optionsOrCb);
928
933
  }
929
- }
930
- getIdentityProviderByIdentifier(args, optionsOrCb, cb) {
931
- const command = new GetIdentityProviderByIdentifierCommand(args);
934
+ };
935
+ CognitoIdentityProvider.prototype.getIdentityProviderByIdentifier = function (args, optionsOrCb, cb) {
936
+ var command = new GetIdentityProviderByIdentifierCommand(args);
932
937
  if (typeof optionsOrCb === "function") {
933
938
  this.send(command, optionsOrCb);
934
939
  }
935
940
  else if (typeof cb === "function") {
936
941
  if (typeof optionsOrCb !== "object")
937
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
942
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
938
943
  this.send(command, optionsOrCb || {}, cb);
939
944
  }
940
945
  else {
941
946
  return this.send(command, optionsOrCb);
942
947
  }
943
- }
944
- getSigningCertificate(args, optionsOrCb, cb) {
945
- const command = new GetSigningCertificateCommand(args);
948
+ };
949
+ CognitoIdentityProvider.prototype.getSigningCertificate = function (args, optionsOrCb, cb) {
950
+ var command = new GetSigningCertificateCommand(args);
946
951
  if (typeof optionsOrCb === "function") {
947
952
  this.send(command, optionsOrCb);
948
953
  }
949
954
  else if (typeof cb === "function") {
950
955
  if (typeof optionsOrCb !== "object")
951
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
956
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
952
957
  this.send(command, optionsOrCb || {}, cb);
953
958
  }
954
959
  else {
955
960
  return this.send(command, optionsOrCb);
956
961
  }
957
- }
958
- getUICustomization(args, optionsOrCb, cb) {
959
- const command = new GetUICustomizationCommand(args);
962
+ };
963
+ CognitoIdentityProvider.prototype.getUICustomization = function (args, optionsOrCb, cb) {
964
+ var command = new GetUICustomizationCommand(args);
960
965
  if (typeof optionsOrCb === "function") {
961
966
  this.send(command, optionsOrCb);
962
967
  }
963
968
  else if (typeof cb === "function") {
964
969
  if (typeof optionsOrCb !== "object")
965
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
970
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
966
971
  this.send(command, optionsOrCb || {}, cb);
967
972
  }
968
973
  else {
969
974
  return this.send(command, optionsOrCb);
970
975
  }
971
- }
972
- getUser(args, optionsOrCb, cb) {
973
- const command = new GetUserCommand(args);
976
+ };
977
+ CognitoIdentityProvider.prototype.getUser = function (args, optionsOrCb, cb) {
978
+ var command = new GetUserCommand(args);
974
979
  if (typeof optionsOrCb === "function") {
975
980
  this.send(command, optionsOrCb);
976
981
  }
977
982
  else if (typeof cb === "function") {
978
983
  if (typeof optionsOrCb !== "object")
979
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
984
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
980
985
  this.send(command, optionsOrCb || {}, cb);
981
986
  }
982
987
  else {
983
988
  return this.send(command, optionsOrCb);
984
989
  }
985
- }
986
- getUserAttributeVerificationCode(args, optionsOrCb, cb) {
987
- const command = new GetUserAttributeVerificationCodeCommand(args);
990
+ };
991
+ CognitoIdentityProvider.prototype.getUserAttributeVerificationCode = function (args, optionsOrCb, cb) {
992
+ var command = new GetUserAttributeVerificationCodeCommand(args);
988
993
  if (typeof optionsOrCb === "function") {
989
994
  this.send(command, optionsOrCb);
990
995
  }
991
996
  else if (typeof cb === "function") {
992
997
  if (typeof optionsOrCb !== "object")
993
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
998
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
994
999
  this.send(command, optionsOrCb || {}, cb);
995
1000
  }
996
1001
  else {
997
1002
  return this.send(command, optionsOrCb);
998
1003
  }
999
- }
1000
- getUserPoolMfaConfig(args, optionsOrCb, cb) {
1001
- const command = new GetUserPoolMfaConfigCommand(args);
1004
+ };
1005
+ CognitoIdentityProvider.prototype.getUserPoolMfaConfig = function (args, optionsOrCb, cb) {
1006
+ var command = new GetUserPoolMfaConfigCommand(args);
1002
1007
  if (typeof optionsOrCb === "function") {
1003
1008
  this.send(command, optionsOrCb);
1004
1009
  }
1005
1010
  else if (typeof cb === "function") {
1006
1011
  if (typeof optionsOrCb !== "object")
1007
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1012
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1008
1013
  this.send(command, optionsOrCb || {}, cb);
1009
1014
  }
1010
1015
  else {
1011
1016
  return this.send(command, optionsOrCb);
1012
1017
  }
1013
- }
1014
- globalSignOut(args, optionsOrCb, cb) {
1015
- const command = new GlobalSignOutCommand(args);
1018
+ };
1019
+ CognitoIdentityProvider.prototype.globalSignOut = function (args, optionsOrCb, cb) {
1020
+ var command = new GlobalSignOutCommand(args);
1016
1021
  if (typeof optionsOrCb === "function") {
1017
1022
  this.send(command, optionsOrCb);
1018
1023
  }
1019
1024
  else if (typeof cb === "function") {
1020
1025
  if (typeof optionsOrCb !== "object")
1021
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1026
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1022
1027
  this.send(command, optionsOrCb || {}, cb);
1023
1028
  }
1024
1029
  else {
1025
1030
  return this.send(command, optionsOrCb);
1026
1031
  }
1027
- }
1028
- initiateAuth(args, optionsOrCb, cb) {
1029
- const command = new InitiateAuthCommand(args);
1032
+ };
1033
+ CognitoIdentityProvider.prototype.initiateAuth = function (args, optionsOrCb, cb) {
1034
+ var command = new InitiateAuthCommand(args);
1030
1035
  if (typeof optionsOrCb === "function") {
1031
1036
  this.send(command, optionsOrCb);
1032
1037
  }
1033
1038
  else if (typeof cb === "function") {
1034
1039
  if (typeof optionsOrCb !== "object")
1035
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1040
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1036
1041
  this.send(command, optionsOrCb || {}, cb);
1037
1042
  }
1038
1043
  else {
1039
1044
  return this.send(command, optionsOrCb);
1040
1045
  }
1041
- }
1042
- listDevices(args, optionsOrCb, cb) {
1043
- const command = new ListDevicesCommand(args);
1046
+ };
1047
+ CognitoIdentityProvider.prototype.listDevices = function (args, optionsOrCb, cb) {
1048
+ var command = new ListDevicesCommand(args);
1044
1049
  if (typeof optionsOrCb === "function") {
1045
1050
  this.send(command, optionsOrCb);
1046
1051
  }
1047
1052
  else if (typeof cb === "function") {
1048
1053
  if (typeof optionsOrCb !== "object")
1049
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1054
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1050
1055
  this.send(command, optionsOrCb || {}, cb);
1051
1056
  }
1052
1057
  else {
1053
1058
  return this.send(command, optionsOrCb);
1054
1059
  }
1055
- }
1056
- listGroups(args, optionsOrCb, cb) {
1057
- const command = new ListGroupsCommand(args);
1060
+ };
1061
+ CognitoIdentityProvider.prototype.listGroups = function (args, optionsOrCb, cb) {
1062
+ var command = new ListGroupsCommand(args);
1058
1063
  if (typeof optionsOrCb === "function") {
1059
1064
  this.send(command, optionsOrCb);
1060
1065
  }
1061
1066
  else if (typeof cb === "function") {
1062
1067
  if (typeof optionsOrCb !== "object")
1063
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1068
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1064
1069
  this.send(command, optionsOrCb || {}, cb);
1065
1070
  }
1066
1071
  else {
1067
1072
  return this.send(command, optionsOrCb);
1068
1073
  }
1069
- }
1070
- listIdentityProviders(args, optionsOrCb, cb) {
1071
- const command = new ListIdentityProvidersCommand(args);
1074
+ };
1075
+ CognitoIdentityProvider.prototype.listIdentityProviders = function (args, optionsOrCb, cb) {
1076
+ var command = new ListIdentityProvidersCommand(args);
1072
1077
  if (typeof optionsOrCb === "function") {
1073
1078
  this.send(command, optionsOrCb);
1074
1079
  }
1075
1080
  else if (typeof cb === "function") {
1076
1081
  if (typeof optionsOrCb !== "object")
1077
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1082
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1078
1083
  this.send(command, optionsOrCb || {}, cb);
1079
1084
  }
1080
1085
  else {
1081
1086
  return this.send(command, optionsOrCb);
1082
1087
  }
1083
- }
1084
- listResourceServers(args, optionsOrCb, cb) {
1085
- const command = new ListResourceServersCommand(args);
1088
+ };
1089
+ CognitoIdentityProvider.prototype.listResourceServers = function (args, optionsOrCb, cb) {
1090
+ var command = new ListResourceServersCommand(args);
1086
1091
  if (typeof optionsOrCb === "function") {
1087
1092
  this.send(command, optionsOrCb);
1088
1093
  }
1089
1094
  else if (typeof cb === "function") {
1090
1095
  if (typeof optionsOrCb !== "object")
1091
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1096
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1092
1097
  this.send(command, optionsOrCb || {}, cb);
1093
1098
  }
1094
1099
  else {
1095
1100
  return this.send(command, optionsOrCb);
1096
1101
  }
1097
- }
1098
- listTagsForResource(args, optionsOrCb, cb) {
1099
- const command = new ListTagsForResourceCommand(args);
1102
+ };
1103
+ CognitoIdentityProvider.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
1104
+ var command = new ListTagsForResourceCommand(args);
1100
1105
  if (typeof optionsOrCb === "function") {
1101
1106
  this.send(command, optionsOrCb);
1102
1107
  }
1103
1108
  else if (typeof cb === "function") {
1104
1109
  if (typeof optionsOrCb !== "object")
1105
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1110
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1106
1111
  this.send(command, optionsOrCb || {}, cb);
1107
1112
  }
1108
1113
  else {
1109
1114
  return this.send(command, optionsOrCb);
1110
1115
  }
1111
- }
1112
- listUserImportJobs(args, optionsOrCb, cb) {
1113
- const command = new ListUserImportJobsCommand(args);
1116
+ };
1117
+ CognitoIdentityProvider.prototype.listUserImportJobs = function (args, optionsOrCb, cb) {
1118
+ var command = new ListUserImportJobsCommand(args);
1114
1119
  if (typeof optionsOrCb === "function") {
1115
1120
  this.send(command, optionsOrCb);
1116
1121
  }
1117
1122
  else if (typeof cb === "function") {
1118
1123
  if (typeof optionsOrCb !== "object")
1119
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1124
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1120
1125
  this.send(command, optionsOrCb || {}, cb);
1121
1126
  }
1122
1127
  else {
1123
1128
  return this.send(command, optionsOrCb);
1124
1129
  }
1125
- }
1126
- listUserPoolClients(args, optionsOrCb, cb) {
1127
- const command = new ListUserPoolClientsCommand(args);
1130
+ };
1131
+ CognitoIdentityProvider.prototype.listUserPoolClients = function (args, optionsOrCb, cb) {
1132
+ var command = new ListUserPoolClientsCommand(args);
1128
1133
  if (typeof optionsOrCb === "function") {
1129
1134
  this.send(command, optionsOrCb);
1130
1135
  }
1131
1136
  else if (typeof cb === "function") {
1132
1137
  if (typeof optionsOrCb !== "object")
1133
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1138
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1134
1139
  this.send(command, optionsOrCb || {}, cb);
1135
1140
  }
1136
1141
  else {
1137
1142
  return this.send(command, optionsOrCb);
1138
1143
  }
1139
- }
1140
- listUserPools(args, optionsOrCb, cb) {
1141
- const command = new ListUserPoolsCommand(args);
1144
+ };
1145
+ CognitoIdentityProvider.prototype.listUserPools = function (args, optionsOrCb, cb) {
1146
+ var command = new ListUserPoolsCommand(args);
1142
1147
  if (typeof optionsOrCb === "function") {
1143
1148
  this.send(command, optionsOrCb);
1144
1149
  }
1145
1150
  else if (typeof cb === "function") {
1146
1151
  if (typeof optionsOrCb !== "object")
1147
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1152
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1148
1153
  this.send(command, optionsOrCb || {}, cb);
1149
1154
  }
1150
1155
  else {
1151
1156
  return this.send(command, optionsOrCb);
1152
1157
  }
1153
- }
1154
- listUsers(args, optionsOrCb, cb) {
1155
- const command = new ListUsersCommand(args);
1158
+ };
1159
+ CognitoIdentityProvider.prototype.listUsers = function (args, optionsOrCb, cb) {
1160
+ var command = new ListUsersCommand(args);
1156
1161
  if (typeof optionsOrCb === "function") {
1157
1162
  this.send(command, optionsOrCb);
1158
1163
  }
1159
1164
  else if (typeof cb === "function") {
1160
1165
  if (typeof optionsOrCb !== "object")
1161
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1166
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1162
1167
  this.send(command, optionsOrCb || {}, cb);
1163
1168
  }
1164
1169
  else {
1165
1170
  return this.send(command, optionsOrCb);
1166
1171
  }
1167
- }
1168
- listUsersInGroup(args, optionsOrCb, cb) {
1169
- const command = new ListUsersInGroupCommand(args);
1172
+ };
1173
+ CognitoIdentityProvider.prototype.listUsersInGroup = function (args, optionsOrCb, cb) {
1174
+ var command = new ListUsersInGroupCommand(args);
1170
1175
  if (typeof optionsOrCb === "function") {
1171
1176
  this.send(command, optionsOrCb);
1172
1177
  }
1173
1178
  else if (typeof cb === "function") {
1174
1179
  if (typeof optionsOrCb !== "object")
1175
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1180
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1176
1181
  this.send(command, optionsOrCb || {}, cb);
1177
1182
  }
1178
1183
  else {
1179
1184
  return this.send(command, optionsOrCb);
1180
1185
  }
1181
- }
1182
- resendConfirmationCode(args, optionsOrCb, cb) {
1183
- const command = new ResendConfirmationCodeCommand(args);
1186
+ };
1187
+ CognitoIdentityProvider.prototype.resendConfirmationCode = function (args, optionsOrCb, cb) {
1188
+ var command = new ResendConfirmationCodeCommand(args);
1184
1189
  if (typeof optionsOrCb === "function") {
1185
1190
  this.send(command, optionsOrCb);
1186
1191
  }
1187
1192
  else if (typeof cb === "function") {
1188
1193
  if (typeof optionsOrCb !== "object")
1189
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1194
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1190
1195
  this.send(command, optionsOrCb || {}, cb);
1191
1196
  }
1192
1197
  else {
1193
1198
  return this.send(command, optionsOrCb);
1194
1199
  }
1195
- }
1196
- respondToAuthChallenge(args, optionsOrCb, cb) {
1197
- const command = new RespondToAuthChallengeCommand(args);
1200
+ };
1201
+ CognitoIdentityProvider.prototype.respondToAuthChallenge = function (args, optionsOrCb, cb) {
1202
+ var command = new RespondToAuthChallengeCommand(args);
1198
1203
  if (typeof optionsOrCb === "function") {
1199
1204
  this.send(command, optionsOrCb);
1200
1205
  }
1201
1206
  else if (typeof cb === "function") {
1202
1207
  if (typeof optionsOrCb !== "object")
1203
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1208
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1204
1209
  this.send(command, optionsOrCb || {}, cb);
1205
1210
  }
1206
1211
  else {
1207
1212
  return this.send(command, optionsOrCb);
1208
1213
  }
1209
- }
1210
- revokeToken(args, optionsOrCb, cb) {
1211
- const command = new RevokeTokenCommand(args);
1214
+ };
1215
+ CognitoIdentityProvider.prototype.revokeToken = function (args, optionsOrCb, cb) {
1216
+ var command = new RevokeTokenCommand(args);
1212
1217
  if (typeof optionsOrCb === "function") {
1213
1218
  this.send(command, optionsOrCb);
1214
1219
  }
1215
1220
  else if (typeof cb === "function") {
1216
1221
  if (typeof optionsOrCb !== "object")
1217
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1222
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1218
1223
  this.send(command, optionsOrCb || {}, cb);
1219
1224
  }
1220
1225
  else {
1221
1226
  return this.send(command, optionsOrCb);
1222
1227
  }
1223
- }
1224
- setRiskConfiguration(args, optionsOrCb, cb) {
1225
- const command = new SetRiskConfigurationCommand(args);
1228
+ };
1229
+ CognitoIdentityProvider.prototype.setRiskConfiguration = function (args, optionsOrCb, cb) {
1230
+ var command = new SetRiskConfigurationCommand(args);
1226
1231
  if (typeof optionsOrCb === "function") {
1227
1232
  this.send(command, optionsOrCb);
1228
1233
  }
1229
1234
  else if (typeof cb === "function") {
1230
1235
  if (typeof optionsOrCb !== "object")
1231
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1236
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1232
1237
  this.send(command, optionsOrCb || {}, cb);
1233
1238
  }
1234
1239
  else {
1235
1240
  return this.send(command, optionsOrCb);
1236
1241
  }
1237
- }
1238
- setUICustomization(args, optionsOrCb, cb) {
1239
- const command = new SetUICustomizationCommand(args);
1242
+ };
1243
+ CognitoIdentityProvider.prototype.setUICustomization = function (args, optionsOrCb, cb) {
1244
+ var command = new SetUICustomizationCommand(args);
1240
1245
  if (typeof optionsOrCb === "function") {
1241
1246
  this.send(command, optionsOrCb);
1242
1247
  }
1243
1248
  else if (typeof cb === "function") {
1244
1249
  if (typeof optionsOrCb !== "object")
1245
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1250
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1246
1251
  this.send(command, optionsOrCb || {}, cb);
1247
1252
  }
1248
1253
  else {
1249
1254
  return this.send(command, optionsOrCb);
1250
1255
  }
1251
- }
1252
- setUserMFAPreference(args, optionsOrCb, cb) {
1253
- const command = new SetUserMFAPreferenceCommand(args);
1256
+ };
1257
+ CognitoIdentityProvider.prototype.setUserMFAPreference = function (args, optionsOrCb, cb) {
1258
+ var command = new SetUserMFAPreferenceCommand(args);
1254
1259
  if (typeof optionsOrCb === "function") {
1255
1260
  this.send(command, optionsOrCb);
1256
1261
  }
1257
1262
  else if (typeof cb === "function") {
1258
1263
  if (typeof optionsOrCb !== "object")
1259
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1264
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1260
1265
  this.send(command, optionsOrCb || {}, cb);
1261
1266
  }
1262
1267
  else {
1263
1268
  return this.send(command, optionsOrCb);
1264
1269
  }
1265
- }
1266
- setUserPoolMfaConfig(args, optionsOrCb, cb) {
1267
- const command = new SetUserPoolMfaConfigCommand(args);
1270
+ };
1271
+ CognitoIdentityProvider.prototype.setUserPoolMfaConfig = function (args, optionsOrCb, cb) {
1272
+ var command = new SetUserPoolMfaConfigCommand(args);
1268
1273
  if (typeof optionsOrCb === "function") {
1269
1274
  this.send(command, optionsOrCb);
1270
1275
  }
1271
1276
  else if (typeof cb === "function") {
1272
1277
  if (typeof optionsOrCb !== "object")
1273
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1278
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1274
1279
  this.send(command, optionsOrCb || {}, cb);
1275
1280
  }
1276
1281
  else {
1277
1282
  return this.send(command, optionsOrCb);
1278
1283
  }
1279
- }
1280
- setUserSettings(args, optionsOrCb, cb) {
1281
- const command = new SetUserSettingsCommand(args);
1284
+ };
1285
+ CognitoIdentityProvider.prototype.setUserSettings = function (args, optionsOrCb, cb) {
1286
+ var command = new SetUserSettingsCommand(args);
1282
1287
  if (typeof optionsOrCb === "function") {
1283
1288
  this.send(command, optionsOrCb);
1284
1289
  }
1285
1290
  else if (typeof cb === "function") {
1286
1291
  if (typeof optionsOrCb !== "object")
1287
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1292
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1288
1293
  this.send(command, optionsOrCb || {}, cb);
1289
1294
  }
1290
1295
  else {
1291
1296
  return this.send(command, optionsOrCb);
1292
1297
  }
1293
- }
1294
- signUp(args, optionsOrCb, cb) {
1295
- const command = new SignUpCommand(args);
1298
+ };
1299
+ CognitoIdentityProvider.prototype.signUp = function (args, optionsOrCb, cb) {
1300
+ var command = new SignUpCommand(args);
1296
1301
  if (typeof optionsOrCb === "function") {
1297
1302
  this.send(command, optionsOrCb);
1298
1303
  }
1299
1304
  else if (typeof cb === "function") {
1300
1305
  if (typeof optionsOrCb !== "object")
1301
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1306
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1302
1307
  this.send(command, optionsOrCb || {}, cb);
1303
1308
  }
1304
1309
  else {
1305
1310
  return this.send(command, optionsOrCb);
1306
1311
  }
1307
- }
1308
- startUserImportJob(args, optionsOrCb, cb) {
1309
- const command = new StartUserImportJobCommand(args);
1312
+ };
1313
+ CognitoIdentityProvider.prototype.startUserImportJob = function (args, optionsOrCb, cb) {
1314
+ var command = new StartUserImportJobCommand(args);
1310
1315
  if (typeof optionsOrCb === "function") {
1311
1316
  this.send(command, optionsOrCb);
1312
1317
  }
1313
1318
  else if (typeof cb === "function") {
1314
1319
  if (typeof optionsOrCb !== "object")
1315
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1320
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1316
1321
  this.send(command, optionsOrCb || {}, cb);
1317
1322
  }
1318
1323
  else {
1319
1324
  return this.send(command, optionsOrCb);
1320
1325
  }
1321
- }
1322
- stopUserImportJob(args, optionsOrCb, cb) {
1323
- const command = new StopUserImportJobCommand(args);
1326
+ };
1327
+ CognitoIdentityProvider.prototype.stopUserImportJob = function (args, optionsOrCb, cb) {
1328
+ var command = new StopUserImportJobCommand(args);
1324
1329
  if (typeof optionsOrCb === "function") {
1325
1330
  this.send(command, optionsOrCb);
1326
1331
  }
1327
1332
  else if (typeof cb === "function") {
1328
1333
  if (typeof optionsOrCb !== "object")
1329
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1334
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1330
1335
  this.send(command, optionsOrCb || {}, cb);
1331
1336
  }
1332
1337
  else {
1333
1338
  return this.send(command, optionsOrCb);
1334
1339
  }
1335
- }
1336
- tagResource(args, optionsOrCb, cb) {
1337
- const command = new TagResourceCommand(args);
1340
+ };
1341
+ CognitoIdentityProvider.prototype.tagResource = function (args, optionsOrCb, cb) {
1342
+ var command = new TagResourceCommand(args);
1338
1343
  if (typeof optionsOrCb === "function") {
1339
1344
  this.send(command, optionsOrCb);
1340
1345
  }
1341
1346
  else if (typeof cb === "function") {
1342
1347
  if (typeof optionsOrCb !== "object")
1343
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1348
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1344
1349
  this.send(command, optionsOrCb || {}, cb);
1345
1350
  }
1346
1351
  else {
1347
1352
  return this.send(command, optionsOrCb);
1348
1353
  }
1349
- }
1350
- untagResource(args, optionsOrCb, cb) {
1351
- const command = new UntagResourceCommand(args);
1354
+ };
1355
+ CognitoIdentityProvider.prototype.untagResource = function (args, optionsOrCb, cb) {
1356
+ var command = new UntagResourceCommand(args);
1352
1357
  if (typeof optionsOrCb === "function") {
1353
1358
  this.send(command, optionsOrCb);
1354
1359
  }
1355
1360
  else if (typeof cb === "function") {
1356
1361
  if (typeof optionsOrCb !== "object")
1357
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1362
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1358
1363
  this.send(command, optionsOrCb || {}, cb);
1359
1364
  }
1360
1365
  else {
1361
1366
  return this.send(command, optionsOrCb);
1362
1367
  }
1363
- }
1364
- updateAuthEventFeedback(args, optionsOrCb, cb) {
1365
- const command = new UpdateAuthEventFeedbackCommand(args);
1368
+ };
1369
+ CognitoIdentityProvider.prototype.updateAuthEventFeedback = function (args, optionsOrCb, cb) {
1370
+ var command = new UpdateAuthEventFeedbackCommand(args);
1366
1371
  if (typeof optionsOrCb === "function") {
1367
1372
  this.send(command, optionsOrCb);
1368
1373
  }
1369
1374
  else if (typeof cb === "function") {
1370
1375
  if (typeof optionsOrCb !== "object")
1371
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1376
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1372
1377
  this.send(command, optionsOrCb || {}, cb);
1373
1378
  }
1374
1379
  else {
1375
1380
  return this.send(command, optionsOrCb);
1376
1381
  }
1377
- }
1378
- updateDeviceStatus(args, optionsOrCb, cb) {
1379
- const command = new UpdateDeviceStatusCommand(args);
1382
+ };
1383
+ CognitoIdentityProvider.prototype.updateDeviceStatus = function (args, optionsOrCb, cb) {
1384
+ var command = new UpdateDeviceStatusCommand(args);
1380
1385
  if (typeof optionsOrCb === "function") {
1381
1386
  this.send(command, optionsOrCb);
1382
1387
  }
1383
1388
  else if (typeof cb === "function") {
1384
1389
  if (typeof optionsOrCb !== "object")
1385
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1390
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1386
1391
  this.send(command, optionsOrCb || {}, cb);
1387
1392
  }
1388
1393
  else {
1389
1394
  return this.send(command, optionsOrCb);
1390
1395
  }
1391
- }
1392
- updateGroup(args, optionsOrCb, cb) {
1393
- const command = new UpdateGroupCommand(args);
1396
+ };
1397
+ CognitoIdentityProvider.prototype.updateGroup = function (args, optionsOrCb, cb) {
1398
+ var command = new UpdateGroupCommand(args);
1394
1399
  if (typeof optionsOrCb === "function") {
1395
1400
  this.send(command, optionsOrCb);
1396
1401
  }
1397
1402
  else if (typeof cb === "function") {
1398
1403
  if (typeof optionsOrCb !== "object")
1399
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1404
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1400
1405
  this.send(command, optionsOrCb || {}, cb);
1401
1406
  }
1402
1407
  else {
1403
1408
  return this.send(command, optionsOrCb);
1404
1409
  }
1405
- }
1406
- updateIdentityProvider(args, optionsOrCb, cb) {
1407
- const command = new UpdateIdentityProviderCommand(args);
1410
+ };
1411
+ CognitoIdentityProvider.prototype.updateIdentityProvider = function (args, optionsOrCb, cb) {
1412
+ var command = new UpdateIdentityProviderCommand(args);
1408
1413
  if (typeof optionsOrCb === "function") {
1409
1414
  this.send(command, optionsOrCb);
1410
1415
  }
1411
1416
  else if (typeof cb === "function") {
1412
1417
  if (typeof optionsOrCb !== "object")
1413
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1418
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1414
1419
  this.send(command, optionsOrCb || {}, cb);
1415
1420
  }
1416
1421
  else {
1417
1422
  return this.send(command, optionsOrCb);
1418
1423
  }
1419
- }
1420
- updateResourceServer(args, optionsOrCb, cb) {
1421
- const command = new UpdateResourceServerCommand(args);
1424
+ };
1425
+ CognitoIdentityProvider.prototype.updateResourceServer = function (args, optionsOrCb, cb) {
1426
+ var command = new UpdateResourceServerCommand(args);
1422
1427
  if (typeof optionsOrCb === "function") {
1423
1428
  this.send(command, optionsOrCb);
1424
1429
  }
1425
1430
  else if (typeof cb === "function") {
1426
1431
  if (typeof optionsOrCb !== "object")
1427
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1432
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1428
1433
  this.send(command, optionsOrCb || {}, cb);
1429
1434
  }
1430
1435
  else {
1431
1436
  return this.send(command, optionsOrCb);
1432
1437
  }
1433
- }
1434
- updateUserAttributes(args, optionsOrCb, cb) {
1435
- const command = new UpdateUserAttributesCommand(args);
1438
+ };
1439
+ CognitoIdentityProvider.prototype.updateUserAttributes = function (args, optionsOrCb, cb) {
1440
+ var command = new UpdateUserAttributesCommand(args);
1436
1441
  if (typeof optionsOrCb === "function") {
1437
1442
  this.send(command, optionsOrCb);
1438
1443
  }
1439
1444
  else if (typeof cb === "function") {
1440
1445
  if (typeof optionsOrCb !== "object")
1441
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1446
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1442
1447
  this.send(command, optionsOrCb || {}, cb);
1443
1448
  }
1444
1449
  else {
1445
1450
  return this.send(command, optionsOrCb);
1446
1451
  }
1447
- }
1448
- updateUserPool(args, optionsOrCb, cb) {
1449
- const command = new UpdateUserPoolCommand(args);
1452
+ };
1453
+ CognitoIdentityProvider.prototype.updateUserPool = function (args, optionsOrCb, cb) {
1454
+ var command = new UpdateUserPoolCommand(args);
1450
1455
  if (typeof optionsOrCb === "function") {
1451
1456
  this.send(command, optionsOrCb);
1452
1457
  }
1453
1458
  else if (typeof cb === "function") {
1454
1459
  if (typeof optionsOrCb !== "object")
1455
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1460
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1456
1461
  this.send(command, optionsOrCb || {}, cb);
1457
1462
  }
1458
1463
  else {
1459
1464
  return this.send(command, optionsOrCb);
1460
1465
  }
1461
- }
1462
- updateUserPoolClient(args, optionsOrCb, cb) {
1463
- const command = new UpdateUserPoolClientCommand(args);
1466
+ };
1467
+ CognitoIdentityProvider.prototype.updateUserPoolClient = function (args, optionsOrCb, cb) {
1468
+ var command = new UpdateUserPoolClientCommand(args);
1464
1469
  if (typeof optionsOrCb === "function") {
1465
1470
  this.send(command, optionsOrCb);
1466
1471
  }
1467
1472
  else if (typeof cb === "function") {
1468
1473
  if (typeof optionsOrCb !== "object")
1469
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1474
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1470
1475
  this.send(command, optionsOrCb || {}, cb);
1471
1476
  }
1472
1477
  else {
1473
1478
  return this.send(command, optionsOrCb);
1474
1479
  }
1475
- }
1476
- updateUserPoolDomain(args, optionsOrCb, cb) {
1477
- const command = new UpdateUserPoolDomainCommand(args);
1480
+ };
1481
+ CognitoIdentityProvider.prototype.updateUserPoolDomain = function (args, optionsOrCb, cb) {
1482
+ var command = new UpdateUserPoolDomainCommand(args);
1478
1483
  if (typeof optionsOrCb === "function") {
1479
1484
  this.send(command, optionsOrCb);
1480
1485
  }
1481
1486
  else if (typeof cb === "function") {
1482
1487
  if (typeof optionsOrCb !== "object")
1483
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1488
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1484
1489
  this.send(command, optionsOrCb || {}, cb);
1485
1490
  }
1486
1491
  else {
1487
1492
  return this.send(command, optionsOrCb);
1488
1493
  }
1489
- }
1490
- verifySoftwareToken(args, optionsOrCb, cb) {
1491
- const command = new VerifySoftwareTokenCommand(args);
1494
+ };
1495
+ CognitoIdentityProvider.prototype.verifySoftwareToken = function (args, optionsOrCb, cb) {
1496
+ var command = new VerifySoftwareTokenCommand(args);
1492
1497
  if (typeof optionsOrCb === "function") {
1493
1498
  this.send(command, optionsOrCb);
1494
1499
  }
1495
1500
  else if (typeof cb === "function") {
1496
1501
  if (typeof optionsOrCb !== "object")
1497
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1502
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1498
1503
  this.send(command, optionsOrCb || {}, cb);
1499
1504
  }
1500
1505
  else {
1501
1506
  return this.send(command, optionsOrCb);
1502
1507
  }
1503
- }
1504
- verifyUserAttribute(args, optionsOrCb, cb) {
1505
- const command = new VerifyUserAttributeCommand(args);
1508
+ };
1509
+ CognitoIdentityProvider.prototype.verifyUserAttribute = function (args, optionsOrCb, cb) {
1510
+ var command = new VerifyUserAttributeCommand(args);
1506
1511
  if (typeof optionsOrCb === "function") {
1507
1512
  this.send(command, optionsOrCb);
1508
1513
  }
1509
1514
  else if (typeof cb === "function") {
1510
1515
  if (typeof optionsOrCb !== "object")
1511
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1516
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1512
1517
  this.send(command, optionsOrCb || {}, cb);
1513
1518
  }
1514
1519
  else {
1515
1520
  return this.send(command, optionsOrCb);
1516
1521
  }
1517
- }
1518
- }
1522
+ };
1523
+ return CognitoIdentityProvider;
1524
+ }(CognitoIdentityProviderClient));
1525
+ export { CognitoIdentityProvider };