@aws-sdk/client-cognito-identity-provider 3.52.0 → 3.53.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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./CognitoIdentityProviderClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { CognitoIdentityProviderServiceException } from "./models/CognitoIdentityProviderServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var CognitoIdentityProviderServiceException = (function (_super) {
4
+ __extends(CognitoIdentityProviderServiceException, _super);
5
+ function CognitoIdentityProviderServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, CognitoIdentityProviderServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return CognitoIdentityProviderServiceException;
11
+ }(__ServiceException));
12
+ export { CognitoIdentityProviderServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
4
  export var RecoveryOptionNameType;
4
5
  (function (RecoveryOptionNameType) {
5
6
  RecoveryOptionNameType["ADMIN_ONLY"] = "admin_only";
@@ -68,10 +69,94 @@ export var AddCustomAttributesResponse;
68
69
  (function (AddCustomAttributesResponse) {
69
70
  AddCustomAttributesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
71
  })(AddCustomAttributesResponse || (AddCustomAttributesResponse = {}));
72
+ var InternalErrorException = (function (_super) {
73
+ __extends(InternalErrorException, _super);
74
+ function InternalErrorException(opts) {
75
+ var _this = _super.call(this, __assign({ name: "InternalErrorException", $fault: "server" }, opts)) || this;
76
+ _this.name = "InternalErrorException";
77
+ _this.$fault = "server";
78
+ Object.setPrototypeOf(_this, InternalErrorException.prototype);
79
+ return _this;
80
+ }
81
+ return InternalErrorException;
82
+ }(__BaseException));
83
+ export { InternalErrorException };
84
+ var InvalidParameterException = (function (_super) {
85
+ __extends(InvalidParameterException, _super);
86
+ function InvalidParameterException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
88
+ _this.name = "InvalidParameterException";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
91
+ return _this;
92
+ }
93
+ return InvalidParameterException;
94
+ }(__BaseException));
95
+ export { InvalidParameterException };
96
+ var NotAuthorizedException = (function (_super) {
97
+ __extends(NotAuthorizedException, _super);
98
+ function NotAuthorizedException(opts) {
99
+ var _this = _super.call(this, __assign({ name: "NotAuthorizedException", $fault: "client" }, opts)) || this;
100
+ _this.name = "NotAuthorizedException";
101
+ _this.$fault = "client";
102
+ Object.setPrototypeOf(_this, NotAuthorizedException.prototype);
103
+ return _this;
104
+ }
105
+ return NotAuthorizedException;
106
+ }(__BaseException));
107
+ export { NotAuthorizedException };
108
+ var ResourceNotFoundException = (function (_super) {
109
+ __extends(ResourceNotFoundException, _super);
110
+ function ResourceNotFoundException(opts) {
111
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
112
+ _this.name = "ResourceNotFoundException";
113
+ _this.$fault = "client";
114
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
115
+ return _this;
116
+ }
117
+ return ResourceNotFoundException;
118
+ }(__BaseException));
119
+ export { ResourceNotFoundException };
120
+ var TooManyRequestsException = (function (_super) {
121
+ __extends(TooManyRequestsException, _super);
122
+ function TooManyRequestsException(opts) {
123
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
124
+ _this.name = "TooManyRequestsException";
125
+ _this.$fault = "client";
126
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
127
+ return _this;
128
+ }
129
+ return TooManyRequestsException;
130
+ }(__BaseException));
131
+ export { TooManyRequestsException };
132
+ var UserImportInProgressException = (function (_super) {
133
+ __extends(UserImportInProgressException, _super);
134
+ function UserImportInProgressException(opts) {
135
+ var _this = _super.call(this, __assign({ name: "UserImportInProgressException", $fault: "client" }, opts)) || this;
136
+ _this.name = "UserImportInProgressException";
137
+ _this.$fault = "client";
138
+ Object.setPrototypeOf(_this, UserImportInProgressException.prototype);
139
+ return _this;
140
+ }
141
+ return UserImportInProgressException;
142
+ }(__BaseException));
143
+ export { UserImportInProgressException };
71
144
  export var AdminAddUserToGroupRequest;
72
145
  (function (AdminAddUserToGroupRequest) {
73
146
  AdminAddUserToGroupRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING }))); };
74
147
  })(AdminAddUserToGroupRequest || (AdminAddUserToGroupRequest = {}));
148
+ var UserNotFoundException = (function (_super) {
149
+ __extends(UserNotFoundException, _super);
150
+ function UserNotFoundException(opts) {
151
+ var _this = _super.call(this, __assign({ name: "UserNotFoundException", $fault: "client" }, opts)) || this;
152
+ _this.name = "UserNotFoundException";
153
+ _this.$fault = "client";
154
+ Object.setPrototypeOf(_this, UserNotFoundException.prototype);
155
+ return _this;
156
+ }
157
+ return UserNotFoundException;
158
+ }(__BaseException));
159
+ export { UserNotFoundException };
75
160
  export var AdminConfirmSignUpRequest;
76
161
  (function (AdminConfirmSignUpRequest) {
77
162
  AdminConfirmSignUpRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING }))); };
@@ -80,6 +165,66 @@ export var AdminConfirmSignUpResponse;
80
165
  (function (AdminConfirmSignUpResponse) {
81
166
  AdminConfirmSignUpResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
82
167
  })(AdminConfirmSignUpResponse || (AdminConfirmSignUpResponse = {}));
168
+ var InvalidLambdaResponseException = (function (_super) {
169
+ __extends(InvalidLambdaResponseException, _super);
170
+ function InvalidLambdaResponseException(opts) {
171
+ var _this = _super.call(this, __assign({ name: "InvalidLambdaResponseException", $fault: "client" }, opts)) || this;
172
+ _this.name = "InvalidLambdaResponseException";
173
+ _this.$fault = "client";
174
+ Object.setPrototypeOf(_this, InvalidLambdaResponseException.prototype);
175
+ return _this;
176
+ }
177
+ return InvalidLambdaResponseException;
178
+ }(__BaseException));
179
+ export { InvalidLambdaResponseException };
180
+ var LimitExceededException = (function (_super) {
181
+ __extends(LimitExceededException, _super);
182
+ function LimitExceededException(opts) {
183
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
184
+ _this.name = "LimitExceededException";
185
+ _this.$fault = "client";
186
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
187
+ return _this;
188
+ }
189
+ return LimitExceededException;
190
+ }(__BaseException));
191
+ export { LimitExceededException };
192
+ var TooManyFailedAttemptsException = (function (_super) {
193
+ __extends(TooManyFailedAttemptsException, _super);
194
+ function TooManyFailedAttemptsException(opts) {
195
+ var _this = _super.call(this, __assign({ name: "TooManyFailedAttemptsException", $fault: "client" }, opts)) || this;
196
+ _this.name = "TooManyFailedAttemptsException";
197
+ _this.$fault = "client";
198
+ Object.setPrototypeOf(_this, TooManyFailedAttemptsException.prototype);
199
+ return _this;
200
+ }
201
+ return TooManyFailedAttemptsException;
202
+ }(__BaseException));
203
+ export { TooManyFailedAttemptsException };
204
+ var UnexpectedLambdaException = (function (_super) {
205
+ __extends(UnexpectedLambdaException, _super);
206
+ function UnexpectedLambdaException(opts) {
207
+ var _this = _super.call(this, __assign({ name: "UnexpectedLambdaException", $fault: "client" }, opts)) || this;
208
+ _this.name = "UnexpectedLambdaException";
209
+ _this.$fault = "client";
210
+ Object.setPrototypeOf(_this, UnexpectedLambdaException.prototype);
211
+ return _this;
212
+ }
213
+ return UnexpectedLambdaException;
214
+ }(__BaseException));
215
+ export { UnexpectedLambdaException };
216
+ var UserLambdaValidationException = (function (_super) {
217
+ __extends(UserLambdaValidationException, _super);
218
+ function UserLambdaValidationException(opts) {
219
+ var _this = _super.call(this, __assign({ name: "UserLambdaValidationException", $fault: "client" }, opts)) || this;
220
+ _this.name = "UserLambdaValidationException";
221
+ _this.$fault = "client";
222
+ Object.setPrototypeOf(_this, UserLambdaValidationException.prototype);
223
+ return _this;
224
+ }
225
+ return UserLambdaValidationException;
226
+ }(__BaseException));
227
+ export { UserLambdaValidationException };
83
228
  export var DeliveryMediumType;
84
229
  (function (DeliveryMediumType) {
85
230
  DeliveryMediumType["EMAIL"] = "EMAIL";
@@ -124,6 +269,90 @@ export var AdminCreateUserResponse;
124
269
  (function (AdminCreateUserResponse) {
125
270
  AdminCreateUserResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.User && { User: UserType.filterSensitiveLog(obj.User) }))); };
126
271
  })(AdminCreateUserResponse || (AdminCreateUserResponse = {}));
272
+ var CodeDeliveryFailureException = (function (_super) {
273
+ __extends(CodeDeliveryFailureException, _super);
274
+ function CodeDeliveryFailureException(opts) {
275
+ var _this = _super.call(this, __assign({ name: "CodeDeliveryFailureException", $fault: "client" }, opts)) || this;
276
+ _this.name = "CodeDeliveryFailureException";
277
+ _this.$fault = "client";
278
+ Object.setPrototypeOf(_this, CodeDeliveryFailureException.prototype);
279
+ return _this;
280
+ }
281
+ return CodeDeliveryFailureException;
282
+ }(__BaseException));
283
+ export { CodeDeliveryFailureException };
284
+ var InvalidPasswordException = (function (_super) {
285
+ __extends(InvalidPasswordException, _super);
286
+ function InvalidPasswordException(opts) {
287
+ var _this = _super.call(this, __assign({ name: "InvalidPasswordException", $fault: "client" }, opts)) || this;
288
+ _this.name = "InvalidPasswordException";
289
+ _this.$fault = "client";
290
+ Object.setPrototypeOf(_this, InvalidPasswordException.prototype);
291
+ return _this;
292
+ }
293
+ return InvalidPasswordException;
294
+ }(__BaseException));
295
+ export { InvalidPasswordException };
296
+ var InvalidSmsRoleAccessPolicyException = (function (_super) {
297
+ __extends(InvalidSmsRoleAccessPolicyException, _super);
298
+ function InvalidSmsRoleAccessPolicyException(opts) {
299
+ var _this = _super.call(this, __assign({ name: "InvalidSmsRoleAccessPolicyException", $fault: "client" }, opts)) || this;
300
+ _this.name = "InvalidSmsRoleAccessPolicyException";
301
+ _this.$fault = "client";
302
+ Object.setPrototypeOf(_this, InvalidSmsRoleAccessPolicyException.prototype);
303
+ return _this;
304
+ }
305
+ return InvalidSmsRoleAccessPolicyException;
306
+ }(__BaseException));
307
+ export { InvalidSmsRoleAccessPolicyException };
308
+ var InvalidSmsRoleTrustRelationshipException = (function (_super) {
309
+ __extends(InvalidSmsRoleTrustRelationshipException, _super);
310
+ function InvalidSmsRoleTrustRelationshipException(opts) {
311
+ var _this = _super.call(this, __assign({ name: "InvalidSmsRoleTrustRelationshipException", $fault: "client" }, opts)) || this;
312
+ _this.name = "InvalidSmsRoleTrustRelationshipException";
313
+ _this.$fault = "client";
314
+ Object.setPrototypeOf(_this, InvalidSmsRoleTrustRelationshipException.prototype);
315
+ return _this;
316
+ }
317
+ return InvalidSmsRoleTrustRelationshipException;
318
+ }(__BaseException));
319
+ export { InvalidSmsRoleTrustRelationshipException };
320
+ var PreconditionNotMetException = (function (_super) {
321
+ __extends(PreconditionNotMetException, _super);
322
+ function PreconditionNotMetException(opts) {
323
+ var _this = _super.call(this, __assign({ name: "PreconditionNotMetException", $fault: "client" }, opts)) || this;
324
+ _this.name = "PreconditionNotMetException";
325
+ _this.$fault = "client";
326
+ Object.setPrototypeOf(_this, PreconditionNotMetException.prototype);
327
+ return _this;
328
+ }
329
+ return PreconditionNotMetException;
330
+ }(__BaseException));
331
+ export { PreconditionNotMetException };
332
+ var UnsupportedUserStateException = (function (_super) {
333
+ __extends(UnsupportedUserStateException, _super);
334
+ function UnsupportedUserStateException(opts) {
335
+ var _this = _super.call(this, __assign({ name: "UnsupportedUserStateException", $fault: "client" }, opts)) || this;
336
+ _this.name = "UnsupportedUserStateException";
337
+ _this.$fault = "client";
338
+ Object.setPrototypeOf(_this, UnsupportedUserStateException.prototype);
339
+ return _this;
340
+ }
341
+ return UnsupportedUserStateException;
342
+ }(__BaseException));
343
+ export { UnsupportedUserStateException };
344
+ var UsernameExistsException = (function (_super) {
345
+ __extends(UsernameExistsException, _super);
346
+ function UsernameExistsException(opts) {
347
+ var _this = _super.call(this, __assign({ name: "UsernameExistsException", $fault: "client" }, opts)) || this;
348
+ _this.name = "UsernameExistsException";
349
+ _this.$fault = "client";
350
+ Object.setPrototypeOf(_this, UsernameExistsException.prototype);
351
+ return _this;
352
+ }
353
+ return UsernameExistsException;
354
+ }(__BaseException));
355
+ export { UsernameExistsException };
127
356
  export var MessageTemplateType;
128
357
  (function (MessageTemplateType) {
129
358
  MessageTemplateType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -156,6 +385,18 @@ export var AdminDisableProviderForUserResponse;
156
385
  (function (AdminDisableProviderForUserResponse) {
157
386
  AdminDisableProviderForUserResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
158
387
  })(AdminDisableProviderForUserResponse || (AdminDisableProviderForUserResponse = {}));
388
+ var AliasExistsException = (function (_super) {
389
+ __extends(AliasExistsException, _super);
390
+ function AliasExistsException(opts) {
391
+ var _this = _super.call(this, __assign({ name: "AliasExistsException", $fault: "client" }, opts)) || this;
392
+ _this.name = "AliasExistsException";
393
+ _this.$fault = "client";
394
+ Object.setPrototypeOf(_this, AliasExistsException.prototype);
395
+ return _this;
396
+ }
397
+ return AliasExistsException;
398
+ }(__BaseException));
399
+ export { AliasExistsException };
159
400
  export var AdminDisableUserRequest;
160
401
  (function (AdminDisableUserRequest) {
161
402
  AdminDisableUserRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING }))); };
@@ -176,6 +417,18 @@ export var AdminForgetDeviceRequest;
176
417
  (function (AdminForgetDeviceRequest) {
177
418
  AdminForgetDeviceRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING }))); };
178
419
  })(AdminForgetDeviceRequest || (AdminForgetDeviceRequest = {}));
420
+ var InvalidUserPoolConfigurationException = (function (_super) {
421
+ __extends(InvalidUserPoolConfigurationException, _super);
422
+ function InvalidUserPoolConfigurationException(opts) {
423
+ var _this = _super.call(this, __assign({ name: "InvalidUserPoolConfigurationException", $fault: "client" }, opts)) || this;
424
+ _this.name = "InvalidUserPoolConfigurationException";
425
+ _this.$fault = "client";
426
+ Object.setPrototypeOf(_this, InvalidUserPoolConfigurationException.prototype);
427
+ return _this;
428
+ }
429
+ return InvalidUserPoolConfigurationException;
430
+ }(__BaseException));
431
+ export { InvalidUserPoolConfigurationException };
179
432
  export var AdminGetDeviceRequest;
180
433
  (function (AdminGetDeviceRequest) {
181
434
  AdminGetDeviceRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING }))); };
@@ -253,6 +506,42 @@ export var AdminInitiateAuthResponse;
253
506
  AuthenticationResult: AuthenticationResultType.filterSensitiveLog(obj.AuthenticationResult),
254
507
  }))); };
255
508
  })(AdminInitiateAuthResponse || (AdminInitiateAuthResponse = {}));
509
+ var MFAMethodNotFoundException = (function (_super) {
510
+ __extends(MFAMethodNotFoundException, _super);
511
+ function MFAMethodNotFoundException(opts) {
512
+ var _this = _super.call(this, __assign({ name: "MFAMethodNotFoundException", $fault: "client" }, opts)) || this;
513
+ _this.name = "MFAMethodNotFoundException";
514
+ _this.$fault = "client";
515
+ Object.setPrototypeOf(_this, MFAMethodNotFoundException.prototype);
516
+ return _this;
517
+ }
518
+ return MFAMethodNotFoundException;
519
+ }(__BaseException));
520
+ export { MFAMethodNotFoundException };
521
+ var PasswordResetRequiredException = (function (_super) {
522
+ __extends(PasswordResetRequiredException, _super);
523
+ function PasswordResetRequiredException(opts) {
524
+ var _this = _super.call(this, __assign({ name: "PasswordResetRequiredException", $fault: "client" }, opts)) || this;
525
+ _this.name = "PasswordResetRequiredException";
526
+ _this.$fault = "client";
527
+ Object.setPrototypeOf(_this, PasswordResetRequiredException.prototype);
528
+ return _this;
529
+ }
530
+ return PasswordResetRequiredException;
531
+ }(__BaseException));
532
+ export { PasswordResetRequiredException };
533
+ var UserNotConfirmedException = (function (_super) {
534
+ __extends(UserNotConfirmedException, _super);
535
+ function UserNotConfirmedException(opts) {
536
+ var _this = _super.call(this, __assign({ name: "UserNotConfirmedException", $fault: "client" }, opts)) || this;
537
+ _this.name = "UserNotConfirmedException";
538
+ _this.$fault = "client";
539
+ Object.setPrototypeOf(_this, UserNotConfirmedException.prototype);
540
+ return _this;
541
+ }
542
+ return UserNotConfirmedException;
543
+ }(__BaseException));
544
+ export { UserNotConfirmedException };
256
545
  export var AdminLinkProviderForUserRequest;
257
546
  (function (AdminLinkProviderForUserRequest) {
258
547
  AdminLinkProviderForUserRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -347,6 +636,18 @@ export var AdminListUserAuthEventsResponse;
347
636
  (function (AdminListUserAuthEventsResponse) {
348
637
  AdminListUserAuthEventsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
349
638
  })(AdminListUserAuthEventsResponse || (AdminListUserAuthEventsResponse = {}));
639
+ var UserPoolAddOnNotEnabledException = (function (_super) {
640
+ __extends(UserPoolAddOnNotEnabledException, _super);
641
+ function UserPoolAddOnNotEnabledException(opts) {
642
+ var _this = _super.call(this, __assign({ name: "UserPoolAddOnNotEnabledException", $fault: "client" }, opts)) || this;
643
+ _this.name = "UserPoolAddOnNotEnabledException";
644
+ _this.$fault = "client";
645
+ Object.setPrototypeOf(_this, UserPoolAddOnNotEnabledException.prototype);
646
+ return _this;
647
+ }
648
+ return UserPoolAddOnNotEnabledException;
649
+ }(__BaseException));
650
+ export { UserPoolAddOnNotEnabledException };
350
651
  export var AdminRemoveUserFromGroupRequest;
351
652
  (function (AdminRemoveUserFromGroupRequest) {
352
653
  AdminRemoveUserFromGroupRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING }))); };
@@ -359,6 +660,18 @@ export var AdminResetUserPasswordResponse;
359
660
  (function (AdminResetUserPasswordResponse) {
360
661
  AdminResetUserPasswordResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
361
662
  })(AdminResetUserPasswordResponse || (AdminResetUserPasswordResponse = {}));
663
+ var InvalidEmailRoleAccessPolicyException = (function (_super) {
664
+ __extends(InvalidEmailRoleAccessPolicyException, _super);
665
+ function InvalidEmailRoleAccessPolicyException(opts) {
666
+ var _this = _super.call(this, __assign({ name: "InvalidEmailRoleAccessPolicyException", $fault: "client" }, opts)) || this;
667
+ _this.name = "InvalidEmailRoleAccessPolicyException";
668
+ _this.$fault = "client";
669
+ Object.setPrototypeOf(_this, InvalidEmailRoleAccessPolicyException.prototype);
670
+ return _this;
671
+ }
672
+ return InvalidEmailRoleAccessPolicyException;
673
+ }(__BaseException));
674
+ export { InvalidEmailRoleAccessPolicyException };
362
675
  export var AdminRespondToAuthChallengeRequest;
363
676
  (function (AdminRespondToAuthChallengeRequest) {
364
677
  AdminRespondToAuthChallengeRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ClientId && { ClientId: SENSITIVE_STRING }))); };
@@ -369,6 +682,42 @@ export var AdminRespondToAuthChallengeResponse;
369
682
  AuthenticationResult: AuthenticationResultType.filterSensitiveLog(obj.AuthenticationResult),
370
683
  }))); };
371
684
  })(AdminRespondToAuthChallengeResponse || (AdminRespondToAuthChallengeResponse = {}));
685
+ var CodeMismatchException = (function (_super) {
686
+ __extends(CodeMismatchException, _super);
687
+ function CodeMismatchException(opts) {
688
+ var _this = _super.call(this, __assign({ name: "CodeMismatchException", $fault: "client" }, opts)) || this;
689
+ _this.name = "CodeMismatchException";
690
+ _this.$fault = "client";
691
+ Object.setPrototypeOf(_this, CodeMismatchException.prototype);
692
+ return _this;
693
+ }
694
+ return CodeMismatchException;
695
+ }(__BaseException));
696
+ export { CodeMismatchException };
697
+ var ExpiredCodeException = (function (_super) {
698
+ __extends(ExpiredCodeException, _super);
699
+ function ExpiredCodeException(opts) {
700
+ var _this = _super.call(this, __assign({ name: "ExpiredCodeException", $fault: "client" }, opts)) || this;
701
+ _this.name = "ExpiredCodeException";
702
+ _this.$fault = "client";
703
+ Object.setPrototypeOf(_this, ExpiredCodeException.prototype);
704
+ return _this;
705
+ }
706
+ return ExpiredCodeException;
707
+ }(__BaseException));
708
+ export { ExpiredCodeException };
709
+ var SoftwareTokenMFANotFoundException = (function (_super) {
710
+ __extends(SoftwareTokenMFANotFoundException, _super);
711
+ function SoftwareTokenMFANotFoundException(opts) {
712
+ var _this = _super.call(this, __assign({ name: "SoftwareTokenMFANotFoundException", $fault: "client" }, opts)) || this;
713
+ _this.name = "SoftwareTokenMFANotFoundException";
714
+ _this.$fault = "client";
715
+ Object.setPrototypeOf(_this, SoftwareTokenMFANotFoundException.prototype);
716
+ return _this;
717
+ }
718
+ return SoftwareTokenMFANotFoundException;
719
+ }(__BaseException));
720
+ export { SoftwareTokenMFANotFoundException };
372
721
  export var SMSMfaSettingsType;
373
722
  (function (SMSMfaSettingsType) {
374
723
  SMSMfaSettingsType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -464,6 +813,18 @@ export var AssociateSoftwareTokenResponse;
464
813
  (function (AssociateSoftwareTokenResponse) {
465
814
  AssociateSoftwareTokenResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SecretCode && { SecretCode: SENSITIVE_STRING }))); };
466
815
  })(AssociateSoftwareTokenResponse || (AssociateSoftwareTokenResponse = {}));
816
+ var ConcurrentModificationException = (function (_super) {
817
+ __extends(ConcurrentModificationException, _super);
818
+ function ConcurrentModificationException(opts) {
819
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
820
+ _this.name = "ConcurrentModificationException";
821
+ _this.$fault = "client";
822
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
823
+ return _this;
824
+ }
825
+ return ConcurrentModificationException;
826
+ }(__BaseException));
827
+ export { ConcurrentModificationException };
467
828
  export var ChangePasswordRequest;
468
829
  (function (ChangePasswordRequest) {
469
830
  ChangePasswordRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.PreviousPassword && { PreviousPassword: SENSITIVE_STRING })), (obj.ProposedPassword && { ProposedPassword: SENSITIVE_STRING })), (obj.AccessToken && { AccessToken: SENSITIVE_STRING }))); };
@@ -512,6 +873,18 @@ export var CreateGroupResponse;
512
873
  (function (CreateGroupResponse) {
513
874
  CreateGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
514
875
  })(CreateGroupResponse || (CreateGroupResponse = {}));
876
+ var GroupExistsException = (function (_super) {
877
+ __extends(GroupExistsException, _super);
878
+ function GroupExistsException(opts) {
879
+ var _this = _super.call(this, __assign({ name: "GroupExistsException", $fault: "client" }, opts)) || this;
880
+ _this.name = "GroupExistsException";
881
+ _this.$fault = "client";
882
+ Object.setPrototypeOf(_this, GroupExistsException.prototype);
883
+ return _this;
884
+ }
885
+ return GroupExistsException;
886
+ }(__BaseException));
887
+ export { GroupExistsException };
515
888
  export var IdentityProviderTypeType;
516
889
  (function (IdentityProviderTypeType) {
517
890
  IdentityProviderTypeType["Facebook"] = "Facebook";
@@ -533,6 +906,18 @@ export var CreateIdentityProviderResponse;
533
906
  (function (CreateIdentityProviderResponse) {
534
907
  CreateIdentityProviderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
535
908
  })(CreateIdentityProviderResponse || (CreateIdentityProviderResponse = {}));
909
+ var DuplicateProviderException = (function (_super) {
910
+ __extends(DuplicateProviderException, _super);
911
+ function DuplicateProviderException(opts) {
912
+ var _this = _super.call(this, __assign({ name: "DuplicateProviderException", $fault: "client" }, opts)) || this;
913
+ _this.name = "DuplicateProviderException";
914
+ _this.$fault = "client";
915
+ Object.setPrototypeOf(_this, DuplicateProviderException.prototype);
916
+ return _this;
917
+ }
918
+ return DuplicateProviderException;
919
+ }(__BaseException));
920
+ export { DuplicateProviderException };
536
921
  export var ResourceServerScopeType;
537
922
  (function (ResourceServerScopeType) {
538
923
  ResourceServerScopeType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -667,6 +1052,18 @@ export var CreateUserPoolResponse;
667
1052
  (function (CreateUserPoolResponse) {
668
1053
  CreateUserPoolResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
669
1054
  })(CreateUserPoolResponse || (CreateUserPoolResponse = {}));
1055
+ var UserPoolTaggingException = (function (_super) {
1056
+ __extends(UserPoolTaggingException, _super);
1057
+ function UserPoolTaggingException(opts) {
1058
+ var _this = _super.call(this, __assign({ name: "UserPoolTaggingException", $fault: "client" }, opts)) || this;
1059
+ _this.name = "UserPoolTaggingException";
1060
+ _this.$fault = "client";
1061
+ Object.setPrototypeOf(_this, UserPoolTaggingException.prototype);
1062
+ return _this;
1063
+ }
1064
+ return UserPoolTaggingException;
1065
+ }(__BaseException));
1066
+ export { UserPoolTaggingException };
670
1067
  export var OAuthFlowType;
671
1068
  (function (OAuthFlowType) {
672
1069
  OAuthFlowType["client_credentials"] = "client_credentials";
@@ -712,6 +1109,30 @@ export var CreateUserPoolClientResponse;
712
1109
  (function (CreateUserPoolClientResponse) {
713
1110
  CreateUserPoolClientResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.UserPoolClient && { UserPoolClient: UserPoolClientType.filterSensitiveLog(obj.UserPoolClient) }))); };
714
1111
  })(CreateUserPoolClientResponse || (CreateUserPoolClientResponse = {}));
1112
+ var InvalidOAuthFlowException = (function (_super) {
1113
+ __extends(InvalidOAuthFlowException, _super);
1114
+ function InvalidOAuthFlowException(opts) {
1115
+ var _this = _super.call(this, __assign({ name: "InvalidOAuthFlowException", $fault: "client" }, opts)) || this;
1116
+ _this.name = "InvalidOAuthFlowException";
1117
+ _this.$fault = "client";
1118
+ Object.setPrototypeOf(_this, InvalidOAuthFlowException.prototype);
1119
+ return _this;
1120
+ }
1121
+ return InvalidOAuthFlowException;
1122
+ }(__BaseException));
1123
+ export { InvalidOAuthFlowException };
1124
+ var ScopeDoesNotExistException = (function (_super) {
1125
+ __extends(ScopeDoesNotExistException, _super);
1126
+ function ScopeDoesNotExistException(opts) {
1127
+ var _this = _super.call(this, __assign({ name: "ScopeDoesNotExistException", $fault: "client" }, opts)) || this;
1128
+ _this.name = "ScopeDoesNotExistException";
1129
+ _this.$fault = "client";
1130
+ Object.setPrototypeOf(_this, ScopeDoesNotExistException.prototype);
1131
+ return _this;
1132
+ }
1133
+ return ScopeDoesNotExistException;
1134
+ }(__BaseException));
1135
+ export { ScopeDoesNotExistException };
715
1136
  export var CustomDomainConfigType;
716
1137
  (function (CustomDomainConfigType) {
717
1138
  CustomDomainConfigType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -732,6 +1153,18 @@ export var DeleteIdentityProviderRequest;
732
1153
  (function (DeleteIdentityProviderRequest) {
733
1154
  DeleteIdentityProviderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
734
1155
  })(DeleteIdentityProviderRequest || (DeleteIdentityProviderRequest = {}));
1156
+ var UnsupportedIdentityProviderException = (function (_super) {
1157
+ __extends(UnsupportedIdentityProviderException, _super);
1158
+ function UnsupportedIdentityProviderException(opts) {
1159
+ var _this = _super.call(this, __assign({ name: "UnsupportedIdentityProviderException", $fault: "client" }, opts)) || this;
1160
+ _this.name = "UnsupportedIdentityProviderException";
1161
+ _this.$fault = "client";
1162
+ Object.setPrototypeOf(_this, UnsupportedIdentityProviderException.prototype);
1163
+ return _this;
1164
+ }
1165
+ return UnsupportedIdentityProviderException;
1166
+ }(__BaseException));
1167
+ export { UnsupportedIdentityProviderException };
735
1168
  export var DeleteResourceServerRequest;
736
1169
  (function (DeleteResourceServerRequest) {
737
1170
  DeleteResourceServerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1101,6 +1534,42 @@ export var RevokeTokenResponse;
1101
1534
  (function (RevokeTokenResponse) {
1102
1535
  RevokeTokenResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1103
1536
  })(RevokeTokenResponse || (RevokeTokenResponse = {}));
1537
+ var UnauthorizedException = (function (_super) {
1538
+ __extends(UnauthorizedException, _super);
1539
+ function UnauthorizedException(opts) {
1540
+ var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
1541
+ _this.name = "UnauthorizedException";
1542
+ _this.$fault = "client";
1543
+ Object.setPrototypeOf(_this, UnauthorizedException.prototype);
1544
+ return _this;
1545
+ }
1546
+ return UnauthorizedException;
1547
+ }(__BaseException));
1548
+ export { UnauthorizedException };
1549
+ var UnsupportedOperationException = (function (_super) {
1550
+ __extends(UnsupportedOperationException, _super);
1551
+ function UnsupportedOperationException(opts) {
1552
+ var _this = _super.call(this, __assign({ name: "UnsupportedOperationException", $fault: "client" }, opts)) || this;
1553
+ _this.name = "UnsupportedOperationException";
1554
+ _this.$fault = "client";
1555
+ Object.setPrototypeOf(_this, UnsupportedOperationException.prototype);
1556
+ return _this;
1557
+ }
1558
+ return UnsupportedOperationException;
1559
+ }(__BaseException));
1560
+ export { UnsupportedOperationException };
1561
+ var UnsupportedTokenTypeException = (function (_super) {
1562
+ __extends(UnsupportedTokenTypeException, _super);
1563
+ function UnsupportedTokenTypeException(opts) {
1564
+ var _this = _super.call(this, __assign({ name: "UnsupportedTokenTypeException", $fault: "client" }, opts)) || this;
1565
+ _this.name = "UnsupportedTokenTypeException";
1566
+ _this.$fault = "client";
1567
+ Object.setPrototypeOf(_this, UnsupportedTokenTypeException.prototype);
1568
+ return _this;
1569
+ }
1570
+ return UnsupportedTokenTypeException;
1571
+ }(__BaseException));
1572
+ export { UnsupportedTokenTypeException };
1104
1573
  export var SetRiskConfigurationRequest;
1105
1574
  (function (SetRiskConfigurationRequest) {
1106
1575
  SetRiskConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ClientId && { ClientId: SENSITIVE_STRING }))); };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
4
  import { AttributeType, UserPoolClientType, } from "./models_0";
4
5
  export var StartUserImportJobResponse;
5
6
  (function (StartUserImportJobResponse) {
@@ -103,6 +104,18 @@ export var UpdateUserPoolDomainResponse;
103
104
  (function (UpdateUserPoolDomainResponse) {
104
105
  UpdateUserPoolDomainResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
106
  })(UpdateUserPoolDomainResponse || (UpdateUserPoolDomainResponse = {}));
107
+ var EnableSoftwareTokenMFAException = (function (_super) {
108
+ __extends(EnableSoftwareTokenMFAException, _super);
109
+ function EnableSoftwareTokenMFAException(opts) {
110
+ var _this = _super.call(this, __assign({ name: "EnableSoftwareTokenMFAException", $fault: "client" }, opts)) || this;
111
+ _this.name = "EnableSoftwareTokenMFAException";
112
+ _this.$fault = "client";
113
+ Object.setPrototypeOf(_this, EnableSoftwareTokenMFAException.prototype);
114
+ return _this;
115
+ }
116
+ return EnableSoftwareTokenMFAException;
117
+ }(__BaseException));
118
+ export { EnableSoftwareTokenMFAException };
106
119
  export var VerifySoftwareTokenRequest;
107
120
  (function (VerifySoftwareTokenRequest) {
108
121
  VerifySoftwareTokenRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AccessToken && { AccessToken: SENSITIVE_STRING }))); };