@aws-sdk/client-cognito-identity-provider 3.53.0 → 3.55.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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/CognitoIdentityProviderClient.js +12 -12
- package/dist-cjs/commands/AddCustomAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +4 -4
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +4 -4
- package/dist-cjs/commands/AdminCreateUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminDeleteUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDisableUserCommand.js +4 -4
- package/dist-cjs/commands/AdminEnableUserCommand.js +4 -4
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +4 -4
- package/dist-cjs/commands/AdminGetDeviceCommand.js +4 -4
- package/dist-cjs/commands/AdminGetUserCommand.js +4 -4
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +4 -4
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminListDevicesCommand.js +4 -4
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +4 -4
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +4 -4
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +4 -4
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +4 -4
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +4 -4
- package/dist-cjs/commands/ChangePasswordCommand.js +3 -3
- package/dist-cjs/commands/ConfirmDeviceCommand.js +4 -4
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +3 -3
- package/dist-cjs/commands/ConfirmSignUpCommand.js +3 -3
- package/dist-cjs/commands/CreateGroupCommand.js +4 -4
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/CreateResourceServerCommand.js +4 -4
- package/dist-cjs/commands/CreateUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/DeleteGroupCommand.js +4 -4
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/DeleteResourceServerCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserPoolCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/DescribeResourceServerCommand.js +4 -4
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/ForgetDeviceCommand.js +4 -4
- package/dist-cjs/commands/ForgotPasswordCommand.js +3 -3
- package/dist-cjs/commands/GetCSVHeaderCommand.js +4 -4
- package/dist-cjs/commands/GetDeviceCommand.js +4 -4
- package/dist-cjs/commands/GetGroupCommand.js +4 -4
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +4 -4
- package/dist-cjs/commands/GetSigningCertificateCommand.js +4 -4
- package/dist-cjs/commands/GetUICustomizationCommand.js +4 -4
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +3 -3
- package/dist-cjs/commands/GetUserCommand.js +3 -3
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +4 -4
- package/dist-cjs/commands/GlobalSignOutCommand.js +4 -4
- package/dist-cjs/commands/InitiateAuthCommand.js +3 -3
- package/dist-cjs/commands/ListDevicesCommand.js +4 -4
- package/dist-cjs/commands/ListGroupsCommand.js +4 -4
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +4 -4
- package/dist-cjs/commands/ListResourceServersCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/ListUserImportJobsCommand.js +4 -4
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +4 -4
- package/dist-cjs/commands/ListUserPoolsCommand.js +4 -4
- package/dist-cjs/commands/ListUsersCommand.js +4 -4
- package/dist-cjs/commands/ListUsersInGroupCommand.js +4 -4
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +3 -3
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +3 -3
- package/dist-cjs/commands/RevokeTokenCommand.js +4 -4
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +4 -4
- package/dist-cjs/commands/SetUICustomizationCommand.js +4 -4
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +4 -4
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +4 -4
- package/dist-cjs/commands/SetUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/SignUpCommand.js +3 -3
- package/dist-cjs/commands/StartUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/StopUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +4 -4
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +4 -4
- package/dist-cjs/commands/UpdateGroupCommand.js +4 -4
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/UpdateResourceServerCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserPoolCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +4 -4
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +447 -448
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CognitoIdentityProvider.js +101 -101
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +4 -4
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +4 -4
- package/dist-es/pagination/ListGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +4 -4
- package/dist-es/pagination/ListResourceServersPaginator.js +4 -4
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +4 -4
- package/dist-es/pagination/ListUserPoolsPaginator.js +4 -4
- package/dist-es/pagination/ListUsersInGroupPaginator.js +4 -4
- package/dist-es/pagination/ListUsersPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +7 -10
- package/dist-types/CognitoIdentityProvider.d.ts +261 -250
- package/dist-types/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +18 -16
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +7 -4
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +17 -16
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +17 -17
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +17 -16
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +17 -16
- package/dist-types/commands/CreateUserPoolCommand.d.ts +17 -17
- package/dist-types/commands/ForgotPasswordCommand.d.ts +17 -17
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +17 -17
- package/dist-types/commands/InitiateAuthCommand.d.ts +17 -16
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +17 -17
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +17 -16
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -14
- package/dist-types/commands/SignUpCommand.d.ts +17 -17
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +17 -17
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -17
- package/dist-types/models/models_0.d.ts +352 -213
- package/dist-types/models/models_1.d.ts +21 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -113,7 +113,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
113
113
|
}
|
|
114
114
|
else if (typeof cb === "function") {
|
|
115
115
|
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error("Expect http options but get "
|
|
116
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
117
117
|
this.send(command, optionsOrCb || {}, cb);
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
@@ -127,7 +127,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
127
127
|
}
|
|
128
128
|
else if (typeof cb === "function") {
|
|
129
129
|
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error("Expect http options but get "
|
|
130
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
131
131
|
this.send(command, optionsOrCb || {}, cb);
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
@@ -141,7 +141,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
141
141
|
}
|
|
142
142
|
else if (typeof cb === "function") {
|
|
143
143
|
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error("Expect http options but get "
|
|
144
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
145
145
|
this.send(command, optionsOrCb || {}, cb);
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
@@ -155,7 +155,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
155
155
|
}
|
|
156
156
|
else if (typeof cb === "function") {
|
|
157
157
|
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error("Expect http options but get "
|
|
158
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
159
159
|
this.send(command, optionsOrCb || {}, cb);
|
|
160
160
|
}
|
|
161
161
|
else {
|
|
@@ -169,7 +169,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
169
169
|
}
|
|
170
170
|
else if (typeof cb === "function") {
|
|
171
171
|
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error("Expect http options but get "
|
|
172
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
173
173
|
this.send(command, optionsOrCb || {}, cb);
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
@@ -183,7 +183,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
183
183
|
}
|
|
184
184
|
else if (typeof cb === "function") {
|
|
185
185
|
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error("Expect http options but get "
|
|
186
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
187
187
|
this.send(command, optionsOrCb || {}, cb);
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
@@ -197,7 +197,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
197
197
|
}
|
|
198
198
|
else if (typeof cb === "function") {
|
|
199
199
|
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error("Expect http options but get "
|
|
200
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
201
201
|
this.send(command, optionsOrCb || {}, cb);
|
|
202
202
|
}
|
|
203
203
|
else {
|
|
@@ -211,7 +211,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
211
211
|
}
|
|
212
212
|
else if (typeof cb === "function") {
|
|
213
213
|
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error("Expect http options but get "
|
|
214
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
215
215
|
this.send(command, optionsOrCb || {}, cb);
|
|
216
216
|
}
|
|
217
217
|
else {
|
|
@@ -225,7 +225,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
225
225
|
}
|
|
226
226
|
else if (typeof cb === "function") {
|
|
227
227
|
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error("Expect http options but get "
|
|
228
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
229
229
|
this.send(command, optionsOrCb || {}, cb);
|
|
230
230
|
}
|
|
231
231
|
else {
|
|
@@ -239,7 +239,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
239
239
|
}
|
|
240
240
|
else if (typeof cb === "function") {
|
|
241
241
|
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error("Expect http options but get "
|
|
242
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
243
243
|
this.send(command, optionsOrCb || {}, cb);
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
@@ -253,7 +253,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
253
253
|
}
|
|
254
254
|
else if (typeof cb === "function") {
|
|
255
255
|
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error("Expect http options but get "
|
|
256
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
257
257
|
this.send(command, optionsOrCb || {}, cb);
|
|
258
258
|
}
|
|
259
259
|
else {
|
|
@@ -267,7 +267,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
267
267
|
}
|
|
268
268
|
else if (typeof cb === "function") {
|
|
269
269
|
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error("Expect http options but get "
|
|
270
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
271
271
|
this.send(command, optionsOrCb || {}, cb);
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
@@ -281,7 +281,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
281
281
|
}
|
|
282
282
|
else if (typeof cb === "function") {
|
|
283
283
|
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error("Expect http options but get "
|
|
284
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
285
285
|
this.send(command, optionsOrCb || {}, cb);
|
|
286
286
|
}
|
|
287
287
|
else {
|
|
@@ -295,7 +295,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
295
295
|
}
|
|
296
296
|
else if (typeof cb === "function") {
|
|
297
297
|
if (typeof optionsOrCb !== "object")
|
|
298
|
-
throw new Error("Expect http options but get "
|
|
298
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
299
299
|
this.send(command, optionsOrCb || {}, cb);
|
|
300
300
|
}
|
|
301
301
|
else {
|
|
@@ -309,7 +309,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
309
309
|
}
|
|
310
310
|
else if (typeof cb === "function") {
|
|
311
311
|
if (typeof optionsOrCb !== "object")
|
|
312
|
-
throw new Error("Expect http options but get "
|
|
312
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
313
313
|
this.send(command, optionsOrCb || {}, cb);
|
|
314
314
|
}
|
|
315
315
|
else {
|
|
@@ -323,7 +323,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
323
323
|
}
|
|
324
324
|
else if (typeof cb === "function") {
|
|
325
325
|
if (typeof optionsOrCb !== "object")
|
|
326
|
-
throw new Error("Expect http options but get "
|
|
326
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
327
327
|
this.send(command, optionsOrCb || {}, cb);
|
|
328
328
|
}
|
|
329
329
|
else {
|
|
@@ -337,7 +337,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
337
337
|
}
|
|
338
338
|
else if (typeof cb === "function") {
|
|
339
339
|
if (typeof optionsOrCb !== "object")
|
|
340
|
-
throw new Error("Expect http options but get "
|
|
340
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
341
341
|
this.send(command, optionsOrCb || {}, cb);
|
|
342
342
|
}
|
|
343
343
|
else {
|
|
@@ -351,7 +351,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
351
351
|
}
|
|
352
352
|
else if (typeof cb === "function") {
|
|
353
353
|
if (typeof optionsOrCb !== "object")
|
|
354
|
-
throw new Error("Expect http options but get "
|
|
354
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
355
355
|
this.send(command, optionsOrCb || {}, cb);
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
@@ -365,7 +365,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
365
365
|
}
|
|
366
366
|
else if (typeof cb === "function") {
|
|
367
367
|
if (typeof optionsOrCb !== "object")
|
|
368
|
-
throw new Error("Expect http options but get "
|
|
368
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
369
369
|
this.send(command, optionsOrCb || {}, cb);
|
|
370
370
|
}
|
|
371
371
|
else {
|
|
@@ -379,7 +379,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
379
379
|
}
|
|
380
380
|
else if (typeof cb === "function") {
|
|
381
381
|
if (typeof optionsOrCb !== "object")
|
|
382
|
-
throw new Error("Expect http options but get "
|
|
382
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
383
383
|
this.send(command, optionsOrCb || {}, cb);
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
@@ -393,7 +393,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
393
393
|
}
|
|
394
394
|
else if (typeof cb === "function") {
|
|
395
395
|
if (typeof optionsOrCb !== "object")
|
|
396
|
-
throw new Error("Expect http options but get "
|
|
396
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
397
397
|
this.send(command, optionsOrCb || {}, cb);
|
|
398
398
|
}
|
|
399
399
|
else {
|
|
@@ -407,7 +407,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
407
407
|
}
|
|
408
408
|
else if (typeof cb === "function") {
|
|
409
409
|
if (typeof optionsOrCb !== "object")
|
|
410
|
-
throw new Error("Expect http options but get "
|
|
410
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
411
411
|
this.send(command, optionsOrCb || {}, cb);
|
|
412
412
|
}
|
|
413
413
|
else {
|
|
@@ -421,7 +421,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
421
421
|
}
|
|
422
422
|
else if (typeof cb === "function") {
|
|
423
423
|
if (typeof optionsOrCb !== "object")
|
|
424
|
-
throw new Error("Expect http options but get "
|
|
424
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
425
425
|
this.send(command, optionsOrCb || {}, cb);
|
|
426
426
|
}
|
|
427
427
|
else {
|
|
@@ -435,7 +435,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
435
435
|
}
|
|
436
436
|
else if (typeof cb === "function") {
|
|
437
437
|
if (typeof optionsOrCb !== "object")
|
|
438
|
-
throw new Error("Expect http options but get "
|
|
438
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
439
439
|
this.send(command, optionsOrCb || {}, cb);
|
|
440
440
|
}
|
|
441
441
|
else {
|
|
@@ -449,7 +449,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
449
449
|
}
|
|
450
450
|
else if (typeof cb === "function") {
|
|
451
451
|
if (typeof optionsOrCb !== "object")
|
|
452
|
-
throw new Error("Expect http options but get "
|
|
452
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
453
453
|
this.send(command, optionsOrCb || {}, cb);
|
|
454
454
|
}
|
|
455
455
|
else {
|
|
@@ -463,7 +463,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
463
463
|
}
|
|
464
464
|
else if (typeof cb === "function") {
|
|
465
465
|
if (typeof optionsOrCb !== "object")
|
|
466
|
-
throw new Error("Expect http options but get "
|
|
466
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
467
467
|
this.send(command, optionsOrCb || {}, cb);
|
|
468
468
|
}
|
|
469
469
|
else {
|
|
@@ -477,7 +477,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
477
477
|
}
|
|
478
478
|
else if (typeof cb === "function") {
|
|
479
479
|
if (typeof optionsOrCb !== "object")
|
|
480
|
-
throw new Error("Expect http options but get "
|
|
480
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
481
481
|
this.send(command, optionsOrCb || {}, cb);
|
|
482
482
|
}
|
|
483
483
|
else {
|
|
@@ -491,7 +491,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
491
491
|
}
|
|
492
492
|
else if (typeof cb === "function") {
|
|
493
493
|
if (typeof optionsOrCb !== "object")
|
|
494
|
-
throw new Error("Expect http options but get "
|
|
494
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
495
495
|
this.send(command, optionsOrCb || {}, cb);
|
|
496
496
|
}
|
|
497
497
|
else {
|
|
@@ -505,7 +505,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
505
505
|
}
|
|
506
506
|
else if (typeof cb === "function") {
|
|
507
507
|
if (typeof optionsOrCb !== "object")
|
|
508
|
-
throw new Error("Expect http options but get "
|
|
508
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
509
509
|
this.send(command, optionsOrCb || {}, cb);
|
|
510
510
|
}
|
|
511
511
|
else {
|
|
@@ -519,7 +519,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
519
519
|
}
|
|
520
520
|
else if (typeof cb === "function") {
|
|
521
521
|
if (typeof optionsOrCb !== "object")
|
|
522
|
-
throw new Error("Expect http options but get "
|
|
522
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
523
523
|
this.send(command, optionsOrCb || {}, cb);
|
|
524
524
|
}
|
|
525
525
|
else {
|
|
@@ -533,7 +533,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
533
533
|
}
|
|
534
534
|
else if (typeof cb === "function") {
|
|
535
535
|
if (typeof optionsOrCb !== "object")
|
|
536
|
-
throw new Error("Expect http options but get "
|
|
536
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
537
537
|
this.send(command, optionsOrCb || {}, cb);
|
|
538
538
|
}
|
|
539
539
|
else {
|
|
@@ -547,7 +547,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
547
547
|
}
|
|
548
548
|
else if (typeof cb === "function") {
|
|
549
549
|
if (typeof optionsOrCb !== "object")
|
|
550
|
-
throw new Error("Expect http options but get "
|
|
550
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
551
551
|
this.send(command, optionsOrCb || {}, cb);
|
|
552
552
|
}
|
|
553
553
|
else {
|
|
@@ -561,7 +561,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
561
561
|
}
|
|
562
562
|
else if (typeof cb === "function") {
|
|
563
563
|
if (typeof optionsOrCb !== "object")
|
|
564
|
-
throw new Error("Expect http options but get "
|
|
564
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
565
565
|
this.send(command, optionsOrCb || {}, cb);
|
|
566
566
|
}
|
|
567
567
|
else {
|
|
@@ -575,7 +575,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
575
575
|
}
|
|
576
576
|
else if (typeof cb === "function") {
|
|
577
577
|
if (typeof optionsOrCb !== "object")
|
|
578
|
-
throw new Error("Expect http options but get "
|
|
578
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
579
579
|
this.send(command, optionsOrCb || {}, cb);
|
|
580
580
|
}
|
|
581
581
|
else {
|
|
@@ -589,7 +589,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
589
589
|
}
|
|
590
590
|
else if (typeof cb === "function") {
|
|
591
591
|
if (typeof optionsOrCb !== "object")
|
|
592
|
-
throw new Error("Expect http options but get "
|
|
592
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
593
593
|
this.send(command, optionsOrCb || {}, cb);
|
|
594
594
|
}
|
|
595
595
|
else {
|
|
@@ -603,7 +603,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
603
603
|
}
|
|
604
604
|
else if (typeof cb === "function") {
|
|
605
605
|
if (typeof optionsOrCb !== "object")
|
|
606
|
-
throw new Error("Expect http options but get "
|
|
606
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
607
607
|
this.send(command, optionsOrCb || {}, cb);
|
|
608
608
|
}
|
|
609
609
|
else {
|
|
@@ -617,7 +617,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
617
617
|
}
|
|
618
618
|
else if (typeof cb === "function") {
|
|
619
619
|
if (typeof optionsOrCb !== "object")
|
|
620
|
-
throw new Error("Expect http options but get "
|
|
620
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
621
621
|
this.send(command, optionsOrCb || {}, cb);
|
|
622
622
|
}
|
|
623
623
|
else {
|
|
@@ -631,7 +631,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
631
631
|
}
|
|
632
632
|
else if (typeof cb === "function") {
|
|
633
633
|
if (typeof optionsOrCb !== "object")
|
|
634
|
-
throw new Error("Expect http options but get "
|
|
634
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
635
635
|
this.send(command, optionsOrCb || {}, cb);
|
|
636
636
|
}
|
|
637
637
|
else {
|
|
@@ -645,7 +645,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
645
645
|
}
|
|
646
646
|
else if (typeof cb === "function") {
|
|
647
647
|
if (typeof optionsOrCb !== "object")
|
|
648
|
-
throw new Error("Expect http options but get "
|
|
648
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
649
649
|
this.send(command, optionsOrCb || {}, cb);
|
|
650
650
|
}
|
|
651
651
|
else {
|
|
@@ -659,7 +659,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
659
659
|
}
|
|
660
660
|
else if (typeof cb === "function") {
|
|
661
661
|
if (typeof optionsOrCb !== "object")
|
|
662
|
-
throw new Error("Expect http options but get "
|
|
662
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
663
663
|
this.send(command, optionsOrCb || {}, cb);
|
|
664
664
|
}
|
|
665
665
|
else {
|
|
@@ -673,7 +673,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
673
673
|
}
|
|
674
674
|
else if (typeof cb === "function") {
|
|
675
675
|
if (typeof optionsOrCb !== "object")
|
|
676
|
-
throw new Error("Expect http options but get "
|
|
676
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
677
677
|
this.send(command, optionsOrCb || {}, cb);
|
|
678
678
|
}
|
|
679
679
|
else {
|
|
@@ -687,7 +687,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
687
687
|
}
|
|
688
688
|
else if (typeof cb === "function") {
|
|
689
689
|
if (typeof optionsOrCb !== "object")
|
|
690
|
-
throw new Error("Expect http options but get "
|
|
690
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
691
691
|
this.send(command, optionsOrCb || {}, cb);
|
|
692
692
|
}
|
|
693
693
|
else {
|
|
@@ -701,7 +701,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
701
701
|
}
|
|
702
702
|
else if (typeof cb === "function") {
|
|
703
703
|
if (typeof optionsOrCb !== "object")
|
|
704
|
-
throw new Error("Expect http options but get "
|
|
704
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
705
705
|
this.send(command, optionsOrCb || {}, cb);
|
|
706
706
|
}
|
|
707
707
|
else {
|
|
@@ -715,7 +715,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
715
715
|
}
|
|
716
716
|
else if (typeof cb === "function") {
|
|
717
717
|
if (typeof optionsOrCb !== "object")
|
|
718
|
-
throw new Error("Expect http options but get "
|
|
718
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
719
719
|
this.send(command, optionsOrCb || {}, cb);
|
|
720
720
|
}
|
|
721
721
|
else {
|
|
@@ -729,7 +729,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
729
729
|
}
|
|
730
730
|
else if (typeof cb === "function") {
|
|
731
731
|
if (typeof optionsOrCb !== "object")
|
|
732
|
-
throw new Error("Expect http options but get "
|
|
732
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
733
733
|
this.send(command, optionsOrCb || {}, cb);
|
|
734
734
|
}
|
|
735
735
|
else {
|
|
@@ -743,7 +743,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
743
743
|
}
|
|
744
744
|
else if (typeof cb === "function") {
|
|
745
745
|
if (typeof optionsOrCb !== "object")
|
|
746
|
-
throw new Error("Expect http options but get "
|
|
746
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
747
747
|
this.send(command, optionsOrCb || {}, cb);
|
|
748
748
|
}
|
|
749
749
|
else {
|
|
@@ -757,7 +757,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
757
757
|
}
|
|
758
758
|
else if (typeof cb === "function") {
|
|
759
759
|
if (typeof optionsOrCb !== "object")
|
|
760
|
-
throw new Error("Expect http options but get "
|
|
760
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
761
761
|
this.send(command, optionsOrCb || {}, cb);
|
|
762
762
|
}
|
|
763
763
|
else {
|
|
@@ -771,7 +771,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
771
771
|
}
|
|
772
772
|
else if (typeof cb === "function") {
|
|
773
773
|
if (typeof optionsOrCb !== "object")
|
|
774
|
-
throw new Error("Expect http options but get "
|
|
774
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
775
775
|
this.send(command, optionsOrCb || {}, cb);
|
|
776
776
|
}
|
|
777
777
|
else {
|
|
@@ -785,7 +785,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
785
785
|
}
|
|
786
786
|
else if (typeof cb === "function") {
|
|
787
787
|
if (typeof optionsOrCb !== "object")
|
|
788
|
-
throw new Error("Expect http options but get "
|
|
788
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
789
789
|
this.send(command, optionsOrCb || {}, cb);
|
|
790
790
|
}
|
|
791
791
|
else {
|
|
@@ -799,7 +799,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
799
799
|
}
|
|
800
800
|
else if (typeof cb === "function") {
|
|
801
801
|
if (typeof optionsOrCb !== "object")
|
|
802
|
-
throw new Error("Expect http options but get "
|
|
802
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
803
803
|
this.send(command, optionsOrCb || {}, cb);
|
|
804
804
|
}
|
|
805
805
|
else {
|
|
@@ -813,7 +813,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
813
813
|
}
|
|
814
814
|
else if (typeof cb === "function") {
|
|
815
815
|
if (typeof optionsOrCb !== "object")
|
|
816
|
-
throw new Error("Expect http options but get "
|
|
816
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
817
817
|
this.send(command, optionsOrCb || {}, cb);
|
|
818
818
|
}
|
|
819
819
|
else {
|
|
@@ -827,7 +827,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
827
827
|
}
|
|
828
828
|
else if (typeof cb === "function") {
|
|
829
829
|
if (typeof optionsOrCb !== "object")
|
|
830
|
-
throw new Error("Expect http options but get "
|
|
830
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
831
831
|
this.send(command, optionsOrCb || {}, cb);
|
|
832
832
|
}
|
|
833
833
|
else {
|
|
@@ -841,7 +841,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
841
841
|
}
|
|
842
842
|
else if (typeof cb === "function") {
|
|
843
843
|
if (typeof optionsOrCb !== "object")
|
|
844
|
-
throw new Error("Expect http options but get "
|
|
844
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
845
845
|
this.send(command, optionsOrCb || {}, cb);
|
|
846
846
|
}
|
|
847
847
|
else {
|
|
@@ -855,7 +855,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
855
855
|
}
|
|
856
856
|
else if (typeof cb === "function") {
|
|
857
857
|
if (typeof optionsOrCb !== "object")
|
|
858
|
-
throw new Error("Expect http options but get "
|
|
858
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
859
859
|
this.send(command, optionsOrCb || {}, cb);
|
|
860
860
|
}
|
|
861
861
|
else {
|
|
@@ -869,7 +869,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
869
869
|
}
|
|
870
870
|
else if (typeof cb === "function") {
|
|
871
871
|
if (typeof optionsOrCb !== "object")
|
|
872
|
-
throw new Error("Expect http options but get "
|
|
872
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
873
873
|
this.send(command, optionsOrCb || {}, cb);
|
|
874
874
|
}
|
|
875
875
|
else {
|
|
@@ -883,7 +883,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
883
883
|
}
|
|
884
884
|
else if (typeof cb === "function") {
|
|
885
885
|
if (typeof optionsOrCb !== "object")
|
|
886
|
-
throw new Error("Expect http options but get "
|
|
886
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
887
887
|
this.send(command, optionsOrCb || {}, cb);
|
|
888
888
|
}
|
|
889
889
|
else {
|
|
@@ -897,7 +897,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
897
897
|
}
|
|
898
898
|
else if (typeof cb === "function") {
|
|
899
899
|
if (typeof optionsOrCb !== "object")
|
|
900
|
-
throw new Error("Expect http options but get "
|
|
900
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
901
901
|
this.send(command, optionsOrCb || {}, cb);
|
|
902
902
|
}
|
|
903
903
|
else {
|
|
@@ -911,7 +911,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
911
911
|
}
|
|
912
912
|
else if (typeof cb === "function") {
|
|
913
913
|
if (typeof optionsOrCb !== "object")
|
|
914
|
-
throw new Error("Expect http options but get "
|
|
914
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
915
915
|
this.send(command, optionsOrCb || {}, cb);
|
|
916
916
|
}
|
|
917
917
|
else {
|
|
@@ -925,7 +925,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
925
925
|
}
|
|
926
926
|
else if (typeof cb === "function") {
|
|
927
927
|
if (typeof optionsOrCb !== "object")
|
|
928
|
-
throw new Error("Expect http options but get "
|
|
928
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
929
929
|
this.send(command, optionsOrCb || {}, cb);
|
|
930
930
|
}
|
|
931
931
|
else {
|
|
@@ -939,7 +939,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
939
939
|
}
|
|
940
940
|
else if (typeof cb === "function") {
|
|
941
941
|
if (typeof optionsOrCb !== "object")
|
|
942
|
-
throw new Error("Expect http options but get "
|
|
942
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
943
943
|
this.send(command, optionsOrCb || {}, cb);
|
|
944
944
|
}
|
|
945
945
|
else {
|
|
@@ -953,7 +953,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
953
953
|
}
|
|
954
954
|
else if (typeof cb === "function") {
|
|
955
955
|
if (typeof optionsOrCb !== "object")
|
|
956
|
-
throw new Error("Expect http options but get "
|
|
956
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
957
957
|
this.send(command, optionsOrCb || {}, cb);
|
|
958
958
|
}
|
|
959
959
|
else {
|
|
@@ -967,7 +967,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
967
967
|
}
|
|
968
968
|
else if (typeof cb === "function") {
|
|
969
969
|
if (typeof optionsOrCb !== "object")
|
|
970
|
-
throw new Error("Expect http options but get "
|
|
970
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
971
971
|
this.send(command, optionsOrCb || {}, cb);
|
|
972
972
|
}
|
|
973
973
|
else {
|
|
@@ -981,7 +981,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
981
981
|
}
|
|
982
982
|
else if (typeof cb === "function") {
|
|
983
983
|
if (typeof optionsOrCb !== "object")
|
|
984
|
-
throw new Error("Expect http options but get "
|
|
984
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
985
985
|
this.send(command, optionsOrCb || {}, cb);
|
|
986
986
|
}
|
|
987
987
|
else {
|
|
@@ -995,7 +995,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
995
995
|
}
|
|
996
996
|
else if (typeof cb === "function") {
|
|
997
997
|
if (typeof optionsOrCb !== "object")
|
|
998
|
-
throw new Error("Expect http options but get "
|
|
998
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
999
999
|
this.send(command, optionsOrCb || {}, cb);
|
|
1000
1000
|
}
|
|
1001
1001
|
else {
|
|
@@ -1009,7 +1009,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
else if (typeof cb === "function") {
|
|
1011
1011
|
if (typeof optionsOrCb !== "object")
|
|
1012
|
-
throw new Error("Expect http options but get "
|
|
1012
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1013
1013
|
this.send(command, optionsOrCb || {}, cb);
|
|
1014
1014
|
}
|
|
1015
1015
|
else {
|
|
@@ -1023,7 +1023,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
else if (typeof cb === "function") {
|
|
1025
1025
|
if (typeof optionsOrCb !== "object")
|
|
1026
|
-
throw new Error("Expect http options but get "
|
|
1026
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1027
1027
|
this.send(command, optionsOrCb || {}, cb);
|
|
1028
1028
|
}
|
|
1029
1029
|
else {
|
|
@@ -1037,7 +1037,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
else if (typeof cb === "function") {
|
|
1039
1039
|
if (typeof optionsOrCb !== "object")
|
|
1040
|
-
throw new Error("Expect http options but get "
|
|
1040
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1041
1041
|
this.send(command, optionsOrCb || {}, cb);
|
|
1042
1042
|
}
|
|
1043
1043
|
else {
|
|
@@ -1051,7 +1051,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
else if (typeof cb === "function") {
|
|
1053
1053
|
if (typeof optionsOrCb !== "object")
|
|
1054
|
-
throw new Error("Expect http options but get "
|
|
1054
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1055
1055
|
this.send(command, optionsOrCb || {}, cb);
|
|
1056
1056
|
}
|
|
1057
1057
|
else {
|
|
@@ -1065,7 +1065,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
else if (typeof cb === "function") {
|
|
1067
1067
|
if (typeof optionsOrCb !== "object")
|
|
1068
|
-
throw new Error("Expect http options but get "
|
|
1068
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1069
1069
|
this.send(command, optionsOrCb || {}, cb);
|
|
1070
1070
|
}
|
|
1071
1071
|
else {
|
|
@@ -1079,7 +1079,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
else if (typeof cb === "function") {
|
|
1081
1081
|
if (typeof optionsOrCb !== "object")
|
|
1082
|
-
throw new Error("Expect http options but get "
|
|
1082
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1083
1083
|
this.send(command, optionsOrCb || {}, cb);
|
|
1084
1084
|
}
|
|
1085
1085
|
else {
|
|
@@ -1093,7 +1093,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1093
1093
|
}
|
|
1094
1094
|
else if (typeof cb === "function") {
|
|
1095
1095
|
if (typeof optionsOrCb !== "object")
|
|
1096
|
-
throw new Error("Expect http options but get "
|
|
1096
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1097
1097
|
this.send(command, optionsOrCb || {}, cb);
|
|
1098
1098
|
}
|
|
1099
1099
|
else {
|
|
@@ -1107,7 +1107,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1107
1107
|
}
|
|
1108
1108
|
else if (typeof cb === "function") {
|
|
1109
1109
|
if (typeof optionsOrCb !== "object")
|
|
1110
|
-
throw new Error("Expect http options but get "
|
|
1110
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1111
1111
|
this.send(command, optionsOrCb || {}, cb);
|
|
1112
1112
|
}
|
|
1113
1113
|
else {
|
|
@@ -1121,7 +1121,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
else if (typeof cb === "function") {
|
|
1123
1123
|
if (typeof optionsOrCb !== "object")
|
|
1124
|
-
throw new Error("Expect http options but get "
|
|
1124
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1125
1125
|
this.send(command, optionsOrCb || {}, cb);
|
|
1126
1126
|
}
|
|
1127
1127
|
else {
|
|
@@ -1135,7 +1135,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
else if (typeof cb === "function") {
|
|
1137
1137
|
if (typeof optionsOrCb !== "object")
|
|
1138
|
-
throw new Error("Expect http options but get "
|
|
1138
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1139
1139
|
this.send(command, optionsOrCb || {}, cb);
|
|
1140
1140
|
}
|
|
1141
1141
|
else {
|
|
@@ -1149,7 +1149,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
else if (typeof cb === "function") {
|
|
1151
1151
|
if (typeof optionsOrCb !== "object")
|
|
1152
|
-
throw new Error("Expect http options but get "
|
|
1152
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1153
1153
|
this.send(command, optionsOrCb || {}, cb);
|
|
1154
1154
|
}
|
|
1155
1155
|
else {
|
|
@@ -1163,7 +1163,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
else if (typeof cb === "function") {
|
|
1165
1165
|
if (typeof optionsOrCb !== "object")
|
|
1166
|
-
throw new Error("Expect http options but get "
|
|
1166
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1167
1167
|
this.send(command, optionsOrCb || {}, cb);
|
|
1168
1168
|
}
|
|
1169
1169
|
else {
|
|
@@ -1177,7 +1177,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
else if (typeof cb === "function") {
|
|
1179
1179
|
if (typeof optionsOrCb !== "object")
|
|
1180
|
-
throw new Error("Expect http options but get "
|
|
1180
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1181
1181
|
this.send(command, optionsOrCb || {}, cb);
|
|
1182
1182
|
}
|
|
1183
1183
|
else {
|
|
@@ -1191,7 +1191,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
else if (typeof cb === "function") {
|
|
1193
1193
|
if (typeof optionsOrCb !== "object")
|
|
1194
|
-
throw new Error("Expect http options but get "
|
|
1194
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1195
1195
|
this.send(command, optionsOrCb || {}, cb);
|
|
1196
1196
|
}
|
|
1197
1197
|
else {
|
|
@@ -1205,7 +1205,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
else if (typeof cb === "function") {
|
|
1207
1207
|
if (typeof optionsOrCb !== "object")
|
|
1208
|
-
throw new Error("Expect http options but get "
|
|
1208
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1209
1209
|
this.send(command, optionsOrCb || {}, cb);
|
|
1210
1210
|
}
|
|
1211
1211
|
else {
|
|
@@ -1219,7 +1219,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
else if (typeof cb === "function") {
|
|
1221
1221
|
if (typeof optionsOrCb !== "object")
|
|
1222
|
-
throw new Error("Expect http options but get "
|
|
1222
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1223
1223
|
this.send(command, optionsOrCb || {}, cb);
|
|
1224
1224
|
}
|
|
1225
1225
|
else {
|
|
@@ -1233,7 +1233,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
else if (typeof cb === "function") {
|
|
1235
1235
|
if (typeof optionsOrCb !== "object")
|
|
1236
|
-
throw new Error("Expect http options but get "
|
|
1236
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1237
1237
|
this.send(command, optionsOrCb || {}, cb);
|
|
1238
1238
|
}
|
|
1239
1239
|
else {
|
|
@@ -1247,7 +1247,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
else if (typeof cb === "function") {
|
|
1249
1249
|
if (typeof optionsOrCb !== "object")
|
|
1250
|
-
throw new Error("Expect http options but get "
|
|
1250
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1251
1251
|
this.send(command, optionsOrCb || {}, cb);
|
|
1252
1252
|
}
|
|
1253
1253
|
else {
|
|
@@ -1261,7 +1261,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
else if (typeof cb === "function") {
|
|
1263
1263
|
if (typeof optionsOrCb !== "object")
|
|
1264
|
-
throw new Error("Expect http options but get "
|
|
1264
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1265
1265
|
this.send(command, optionsOrCb || {}, cb);
|
|
1266
1266
|
}
|
|
1267
1267
|
else {
|
|
@@ -1275,7 +1275,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
else if (typeof cb === "function") {
|
|
1277
1277
|
if (typeof optionsOrCb !== "object")
|
|
1278
|
-
throw new Error("Expect http options but get "
|
|
1278
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1279
1279
|
this.send(command, optionsOrCb || {}, cb);
|
|
1280
1280
|
}
|
|
1281
1281
|
else {
|
|
@@ -1289,7 +1289,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1289
1289
|
}
|
|
1290
1290
|
else if (typeof cb === "function") {
|
|
1291
1291
|
if (typeof optionsOrCb !== "object")
|
|
1292
|
-
throw new Error("Expect http options but get "
|
|
1292
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1293
1293
|
this.send(command, optionsOrCb || {}, cb);
|
|
1294
1294
|
}
|
|
1295
1295
|
else {
|
|
@@ -1303,7 +1303,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
else if (typeof cb === "function") {
|
|
1305
1305
|
if (typeof optionsOrCb !== "object")
|
|
1306
|
-
throw new Error("Expect http options but get "
|
|
1306
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1307
1307
|
this.send(command, optionsOrCb || {}, cb);
|
|
1308
1308
|
}
|
|
1309
1309
|
else {
|
|
@@ -1317,7 +1317,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
else if (typeof cb === "function") {
|
|
1319
1319
|
if (typeof optionsOrCb !== "object")
|
|
1320
|
-
throw new Error("Expect http options but get "
|
|
1320
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1321
1321
|
this.send(command, optionsOrCb || {}, cb);
|
|
1322
1322
|
}
|
|
1323
1323
|
else {
|
|
@@ -1331,7 +1331,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
else if (typeof cb === "function") {
|
|
1333
1333
|
if (typeof optionsOrCb !== "object")
|
|
1334
|
-
throw new Error("Expect http options but get "
|
|
1334
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1335
1335
|
this.send(command, optionsOrCb || {}, cb);
|
|
1336
1336
|
}
|
|
1337
1337
|
else {
|
|
@@ -1345,7 +1345,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
else if (typeof cb === "function") {
|
|
1347
1347
|
if (typeof optionsOrCb !== "object")
|
|
1348
|
-
throw new Error("Expect http options but get "
|
|
1348
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1349
1349
|
this.send(command, optionsOrCb || {}, cb);
|
|
1350
1350
|
}
|
|
1351
1351
|
else {
|
|
@@ -1359,7 +1359,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
else if (typeof cb === "function") {
|
|
1361
1361
|
if (typeof optionsOrCb !== "object")
|
|
1362
|
-
throw new Error("Expect http options but get "
|
|
1362
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1363
1363
|
this.send(command, optionsOrCb || {}, cb);
|
|
1364
1364
|
}
|
|
1365
1365
|
else {
|
|
@@ -1373,7 +1373,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
else if (typeof cb === "function") {
|
|
1375
1375
|
if (typeof optionsOrCb !== "object")
|
|
1376
|
-
throw new Error("Expect http options but get "
|
|
1376
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1377
1377
|
this.send(command, optionsOrCb || {}, cb);
|
|
1378
1378
|
}
|
|
1379
1379
|
else {
|
|
@@ -1387,7 +1387,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1387
1387
|
}
|
|
1388
1388
|
else if (typeof cb === "function") {
|
|
1389
1389
|
if (typeof optionsOrCb !== "object")
|
|
1390
|
-
throw new Error("Expect http options but get "
|
|
1390
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1391
1391
|
this.send(command, optionsOrCb || {}, cb);
|
|
1392
1392
|
}
|
|
1393
1393
|
else {
|
|
@@ -1401,7 +1401,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
else if (typeof cb === "function") {
|
|
1403
1403
|
if (typeof optionsOrCb !== "object")
|
|
1404
|
-
throw new Error("Expect http options but get "
|
|
1404
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1405
1405
|
this.send(command, optionsOrCb || {}, cb);
|
|
1406
1406
|
}
|
|
1407
1407
|
else {
|
|
@@ -1415,7 +1415,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
else if (typeof cb === "function") {
|
|
1417
1417
|
if (typeof optionsOrCb !== "object")
|
|
1418
|
-
throw new Error("Expect http options but get "
|
|
1418
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1419
1419
|
this.send(command, optionsOrCb || {}, cb);
|
|
1420
1420
|
}
|
|
1421
1421
|
else {
|
|
@@ -1429,7 +1429,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
else if (typeof cb === "function") {
|
|
1431
1431
|
if (typeof optionsOrCb !== "object")
|
|
1432
|
-
throw new Error("Expect http options but get "
|
|
1432
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1433
1433
|
this.send(command, optionsOrCb || {}, cb);
|
|
1434
1434
|
}
|
|
1435
1435
|
else {
|
|
@@ -1443,7 +1443,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
else if (typeof cb === "function") {
|
|
1445
1445
|
if (typeof optionsOrCb !== "object")
|
|
1446
|
-
throw new Error("Expect http options but get "
|
|
1446
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1447
1447
|
this.send(command, optionsOrCb || {}, cb);
|
|
1448
1448
|
}
|
|
1449
1449
|
else {
|
|
@@ -1457,7 +1457,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
else if (typeof cb === "function") {
|
|
1459
1459
|
if (typeof optionsOrCb !== "object")
|
|
1460
|
-
throw new Error("Expect http options but get "
|
|
1460
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1461
1461
|
this.send(command, optionsOrCb || {}, cb);
|
|
1462
1462
|
}
|
|
1463
1463
|
else {
|
|
@@ -1471,7 +1471,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1471
1471
|
}
|
|
1472
1472
|
else if (typeof cb === "function") {
|
|
1473
1473
|
if (typeof optionsOrCb !== "object")
|
|
1474
|
-
throw new Error("Expect http options but get "
|
|
1474
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1475
1475
|
this.send(command, optionsOrCb || {}, cb);
|
|
1476
1476
|
}
|
|
1477
1477
|
else {
|
|
@@ -1485,7 +1485,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
else if (typeof cb === "function") {
|
|
1487
1487
|
if (typeof optionsOrCb !== "object")
|
|
1488
|
-
throw new Error("Expect http options but get "
|
|
1488
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1489
1489
|
this.send(command, optionsOrCb || {}, cb);
|
|
1490
1490
|
}
|
|
1491
1491
|
else {
|
|
@@ -1499,7 +1499,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
else if (typeof cb === "function") {
|
|
1501
1501
|
if (typeof optionsOrCb !== "object")
|
|
1502
|
-
throw new Error("Expect http options but get "
|
|
1502
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1503
1503
|
this.send(command, optionsOrCb || {}, cb);
|
|
1504
1504
|
}
|
|
1505
1505
|
else {
|
|
@@ -1513,7 +1513,7 @@ var CognitoIdentityProvider = (function (_super) {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
else if (typeof cb === "function") {
|
|
1515
1515
|
if (typeof optionsOrCb !== "object")
|
|
1516
|
-
throw new Error("Expect http options but get "
|
|
1516
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1517
1517
|
this.send(command, optionsOrCb || {}, cb);
|
|
1518
1518
|
}
|
|
1519
1519
|
else {
|