@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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
2
3
  import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
3
4
  /**
4
5
  * <p>Represents the response from the server to the request to start the user import job.</p>
@@ -702,10 +703,13 @@ export declare namespace UpdateUserPoolDomainResponse {
702
703
  /**
703
704
  * <p>This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).</p>
704
705
  */
705
- export interface EnableSoftwareTokenMFAException extends __SmithyException, $MetadataBearer {
706
- name: "EnableSoftwareTokenMFAException";
707
- $fault: "client";
708
- message?: string;
706
+ export declare class EnableSoftwareTokenMFAException extends __BaseException {
707
+ readonly name: "EnableSoftwareTokenMFAException";
708
+ readonly $fault: "client";
709
+ /**
710
+ * @internal
711
+ */
712
+ constructor(opts: __ExceptionOptionType<EnableSoftwareTokenMFAException, __BaseException>);
709
713
  }
710
714
  export interface VerifySoftwareTokenRequest {
711
715
  /**
@@ -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,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class CognitoIdentityProviderServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
2
3
  export declare enum RecoveryOptionNameType {
3
4
  ADMIN_ONLY = "admin_only",
4
5
  VERIFIED_EMAIL = "verified_email",
@@ -165,46 +166,46 @@ export declare namespace AddCustomAttributesResponse {
165
166
  const filterSensitiveLog: (obj: AddCustomAttributesResponse) => any;
166
167
  }
167
168
 
168
- export interface InternalErrorException extends __SmithyException, $MetadataBearer {
169
- name: "InternalErrorException";
170
- $fault: "server";
169
+ export declare class InternalErrorException extends __BaseException {
170
+ readonly name: "InternalErrorException";
171
+ readonly $fault: "server";
171
172
 
172
- message?: string;
173
+ constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
173
174
  }
174
175
 
175
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
176
- name: "InvalidParameterException";
177
- $fault: "client";
176
+ export declare class InvalidParameterException extends __BaseException {
177
+ readonly name: "InvalidParameterException";
178
+ readonly $fault: "client";
178
179
 
179
- message?: string;
180
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
180
181
  }
181
182
 
182
- export interface NotAuthorizedException extends __SmithyException, $MetadataBearer {
183
- name: "NotAuthorizedException";
184
- $fault: "client";
183
+ export declare class NotAuthorizedException extends __BaseException {
184
+ readonly name: "NotAuthorizedException";
185
+ readonly $fault: "client";
185
186
 
186
- message?: string;
187
+ constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
187
188
  }
188
189
 
189
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
190
- name: "ResourceNotFoundException";
191
- $fault: "client";
190
+ export declare class ResourceNotFoundException extends __BaseException {
191
+ readonly name: "ResourceNotFoundException";
192
+ readonly $fault: "client";
192
193
 
193
- message?: string;
194
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
194
195
  }
195
196
 
196
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
197
- name: "TooManyRequestsException";
198
- $fault: "client";
197
+ export declare class TooManyRequestsException extends __BaseException {
198
+ readonly name: "TooManyRequestsException";
199
+ readonly $fault: "client";
199
200
 
200
- message?: string;
201
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
201
202
  }
202
203
 
203
- export interface UserImportInProgressException extends __SmithyException, $MetadataBearer {
204
- name: "UserImportInProgressException";
205
- $fault: "client";
204
+ export declare class UserImportInProgressException extends __BaseException {
205
+ readonly name: "UserImportInProgressException";
206
+ readonly $fault: "client";
206
207
 
207
- message?: string;
208
+ constructor(opts: __ExceptionOptionType<UserImportInProgressException, __BaseException>);
208
209
  }
209
210
  export interface AdminAddUserToGroupRequest {
210
211
 
@@ -219,11 +220,11 @@ export declare namespace AdminAddUserToGroupRequest {
219
220
  const filterSensitiveLog: (obj: AdminAddUserToGroupRequest) => any;
220
221
  }
221
222
 
222
- export interface UserNotFoundException extends __SmithyException, $MetadataBearer {
223
- name: "UserNotFoundException";
224
- $fault: "client";
223
+ export declare class UserNotFoundException extends __BaseException {
224
+ readonly name: "UserNotFoundException";
225
+ readonly $fault: "client";
225
226
 
226
- message?: string;
227
+ constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
227
228
  }
228
229
 
229
230
  export interface AdminConfirmSignUpRequest {
@@ -248,39 +249,39 @@ export declare namespace AdminConfirmSignUpResponse {
248
249
  const filterSensitiveLog: (obj: AdminConfirmSignUpResponse) => any;
249
250
  }
250
251
 
251
- export interface InvalidLambdaResponseException extends __SmithyException, $MetadataBearer {
252
- name: "InvalidLambdaResponseException";
253
- $fault: "client";
252
+ export declare class InvalidLambdaResponseException extends __BaseException {
253
+ readonly name: "InvalidLambdaResponseException";
254
+ readonly $fault: "client";
254
255
 
255
- message?: string;
256
+ constructor(opts: __ExceptionOptionType<InvalidLambdaResponseException, __BaseException>);
256
257
  }
257
258
 
258
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
259
- name: "LimitExceededException";
260
- $fault: "client";
259
+ export declare class LimitExceededException extends __BaseException {
260
+ readonly name: "LimitExceededException";
261
+ readonly $fault: "client";
261
262
 
262
- message?: string;
263
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
263
264
  }
264
265
 
265
- export interface TooManyFailedAttemptsException extends __SmithyException, $MetadataBearer {
266
- name: "TooManyFailedAttemptsException";
267
- $fault: "client";
266
+ export declare class TooManyFailedAttemptsException extends __BaseException {
267
+ readonly name: "TooManyFailedAttemptsException";
268
+ readonly $fault: "client";
268
269
 
269
- message?: string;
270
+ constructor(opts: __ExceptionOptionType<TooManyFailedAttemptsException, __BaseException>);
270
271
  }
271
272
 
272
- export interface UnexpectedLambdaException extends __SmithyException, $MetadataBearer {
273
- name: "UnexpectedLambdaException";
274
- $fault: "client";
273
+ export declare class UnexpectedLambdaException extends __BaseException {
274
+ readonly name: "UnexpectedLambdaException";
275
+ readonly $fault: "client";
275
276
 
276
- message?: string;
277
+ constructor(opts: __ExceptionOptionType<UnexpectedLambdaException, __BaseException>);
277
278
  }
278
279
 
279
- export interface UserLambdaValidationException extends __SmithyException, $MetadataBearer {
280
- name: "UserLambdaValidationException";
281
- $fault: "client";
280
+ export declare class UserLambdaValidationException extends __BaseException {
281
+ readonly name: "UserLambdaValidationException";
282
+ readonly $fault: "client";
282
283
 
283
- message?: string;
284
+ constructor(opts: __ExceptionOptionType<UserLambdaValidationException, __BaseException>);
284
285
  }
285
286
  export declare enum DeliveryMediumType {
286
287
  EMAIL = "EMAIL",
@@ -379,53 +380,53 @@ export declare namespace AdminCreateUserResponse {
379
380
  const filterSensitiveLog: (obj: AdminCreateUserResponse) => any;
380
381
  }
381
382
 
382
- export interface CodeDeliveryFailureException extends __SmithyException, $MetadataBearer {
383
- name: "CodeDeliveryFailureException";
384
- $fault: "client";
383
+ export declare class CodeDeliveryFailureException extends __BaseException {
384
+ readonly name: "CodeDeliveryFailureException";
385
+ readonly $fault: "client";
385
386
 
386
- message?: string;
387
+ constructor(opts: __ExceptionOptionType<CodeDeliveryFailureException, __BaseException>);
387
388
  }
388
389
 
389
- export interface InvalidPasswordException extends __SmithyException, $MetadataBearer {
390
- name: "InvalidPasswordException";
391
- $fault: "client";
390
+ export declare class InvalidPasswordException extends __BaseException {
391
+ readonly name: "InvalidPasswordException";
392
+ readonly $fault: "client";
392
393
 
393
- message?: string;
394
+ constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
394
395
  }
395
396
 
396
- export interface InvalidSmsRoleAccessPolicyException extends __SmithyException, $MetadataBearer {
397
- name: "InvalidSmsRoleAccessPolicyException";
398
- $fault: "client";
397
+ export declare class InvalidSmsRoleAccessPolicyException extends __BaseException {
398
+ readonly name: "InvalidSmsRoleAccessPolicyException";
399
+ readonly $fault: "client";
399
400
 
400
- message?: string;
401
+ constructor(opts: __ExceptionOptionType<InvalidSmsRoleAccessPolicyException, __BaseException>);
401
402
  }
402
403
 
403
- export interface InvalidSmsRoleTrustRelationshipException extends __SmithyException, $MetadataBearer {
404
- name: "InvalidSmsRoleTrustRelationshipException";
405
- $fault: "client";
404
+ export declare class InvalidSmsRoleTrustRelationshipException extends __BaseException {
405
+ readonly name: "InvalidSmsRoleTrustRelationshipException";
406
+ readonly $fault: "client";
406
407
 
407
- message?: string;
408
+ constructor(opts: __ExceptionOptionType<InvalidSmsRoleTrustRelationshipException, __BaseException>);
408
409
  }
409
410
 
410
- export interface PreconditionNotMetException extends __SmithyException, $MetadataBearer {
411
- name: "PreconditionNotMetException";
412
- $fault: "client";
411
+ export declare class PreconditionNotMetException extends __BaseException {
412
+ readonly name: "PreconditionNotMetException";
413
+ readonly $fault: "client";
413
414
 
414
- message?: string;
415
+ constructor(opts: __ExceptionOptionType<PreconditionNotMetException, __BaseException>);
415
416
  }
416
417
 
417
- export interface UnsupportedUserStateException extends __SmithyException, $MetadataBearer {
418
- name: "UnsupportedUserStateException";
419
- $fault: "client";
418
+ export declare class UnsupportedUserStateException extends __BaseException {
419
+ readonly name: "UnsupportedUserStateException";
420
+ readonly $fault: "client";
420
421
 
421
- message?: string;
422
+ constructor(opts: __ExceptionOptionType<UnsupportedUserStateException, __BaseException>);
422
423
  }
423
424
 
424
- export interface UsernameExistsException extends __SmithyException, $MetadataBearer {
425
- name: "UsernameExistsException";
426
- $fault: "client";
425
+ export declare class UsernameExistsException extends __BaseException {
426
+ readonly name: "UsernameExistsException";
427
+ readonly $fault: "client";
427
428
 
428
- message?: string;
429
+ constructor(opts: __ExceptionOptionType<UsernameExistsException, __BaseException>);
429
430
  }
430
431
 
431
432
  export interface MessageTemplateType {
@@ -514,11 +515,11 @@ export declare namespace AdminDisableProviderForUserResponse {
514
515
  const filterSensitiveLog: (obj: AdminDisableProviderForUserResponse) => any;
515
516
  }
516
517
 
517
- export interface AliasExistsException extends __SmithyException, $MetadataBearer {
518
- name: "AliasExistsException";
519
- $fault: "client";
518
+ export declare class AliasExistsException extends __BaseException {
519
+ readonly name: "AliasExistsException";
520
+ readonly $fault: "client";
520
521
 
521
- message?: string;
522
+ constructor(opts: __ExceptionOptionType<AliasExistsException, __BaseException>);
522
523
  }
523
524
 
524
525
  export interface AdminDisableUserRequest {
@@ -570,11 +571,11 @@ export declare namespace AdminForgetDeviceRequest {
570
571
  const filterSensitiveLog: (obj: AdminForgetDeviceRequest) => any;
571
572
  }
572
573
 
573
- export interface InvalidUserPoolConfigurationException extends __SmithyException, $MetadataBearer {
574
- name: "InvalidUserPoolConfigurationException";
575
- $fault: "client";
574
+ export declare class InvalidUserPoolConfigurationException extends __BaseException {
575
+ readonly name: "InvalidUserPoolConfigurationException";
576
+ readonly $fault: "client";
576
577
 
577
- message?: string;
578
+ constructor(opts: __ExceptionOptionType<InvalidUserPoolConfigurationException, __BaseException>);
578
579
  }
579
580
 
580
581
  export interface AdminGetDeviceRequest {
@@ -782,25 +783,25 @@ export declare namespace AdminInitiateAuthResponse {
782
783
  const filterSensitiveLog: (obj: AdminInitiateAuthResponse) => any;
783
784
  }
784
785
 
785
- export interface MFAMethodNotFoundException extends __SmithyException, $MetadataBearer {
786
- name: "MFAMethodNotFoundException";
787
- $fault: "client";
786
+ export declare class MFAMethodNotFoundException extends __BaseException {
787
+ readonly name: "MFAMethodNotFoundException";
788
+ readonly $fault: "client";
788
789
 
789
- message?: string;
790
+ constructor(opts: __ExceptionOptionType<MFAMethodNotFoundException, __BaseException>);
790
791
  }
791
792
 
792
- export interface PasswordResetRequiredException extends __SmithyException, $MetadataBearer {
793
- name: "PasswordResetRequiredException";
794
- $fault: "client";
793
+ export declare class PasswordResetRequiredException extends __BaseException {
794
+ readonly name: "PasswordResetRequiredException";
795
+ readonly $fault: "client";
795
796
 
796
- message?: string;
797
+ constructor(opts: __ExceptionOptionType<PasswordResetRequiredException, __BaseException>);
797
798
  }
798
799
 
799
- export interface UserNotConfirmedException extends __SmithyException, $MetadataBearer {
800
- name: "UserNotConfirmedException";
801
- $fault: "client";
800
+ export declare class UserNotConfirmedException extends __BaseException {
801
+ readonly name: "UserNotConfirmedException";
802
+ readonly $fault: "client";
802
803
 
803
- message?: string;
804
+ constructor(opts: __ExceptionOptionType<UserNotConfirmedException, __BaseException>);
804
805
  }
805
806
  export interface AdminLinkProviderForUserRequest {
806
807
 
@@ -1024,10 +1025,11 @@ export declare namespace AdminListUserAuthEventsResponse {
1024
1025
  const filterSensitiveLog: (obj: AdminListUserAuthEventsResponse) => any;
1025
1026
  }
1026
1027
 
1027
- export interface UserPoolAddOnNotEnabledException extends __SmithyException, $MetadataBearer {
1028
- name: "UserPoolAddOnNotEnabledException";
1029
- $fault: "client";
1030
- message?: string;
1028
+ export declare class UserPoolAddOnNotEnabledException extends __BaseException {
1029
+ readonly name: "UserPoolAddOnNotEnabledException";
1030
+ readonly $fault: "client";
1031
+
1032
+ constructor(opts: __ExceptionOptionType<UserPoolAddOnNotEnabledException, __BaseException>);
1031
1033
  }
1032
1034
  export interface AdminRemoveUserFromGroupRequest {
1033
1035
 
@@ -1064,11 +1066,11 @@ export declare namespace AdminResetUserPasswordResponse {
1064
1066
  const filterSensitiveLog: (obj: AdminResetUserPasswordResponse) => any;
1065
1067
  }
1066
1068
 
1067
- export interface InvalidEmailRoleAccessPolicyException extends __SmithyException, $MetadataBearer {
1068
- name: "InvalidEmailRoleAccessPolicyException";
1069
- $fault: "client";
1069
+ export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
1070
+ readonly name: "InvalidEmailRoleAccessPolicyException";
1071
+ readonly $fault: "client";
1070
1072
 
1071
- message?: string;
1073
+ constructor(opts: __ExceptionOptionType<InvalidEmailRoleAccessPolicyException, __BaseException>);
1072
1074
  }
1073
1075
 
1074
1076
  export interface AdminRespondToAuthChallengeRequest {
@@ -1115,24 +1117,25 @@ export declare namespace AdminRespondToAuthChallengeResponse {
1115
1117
  const filterSensitiveLog: (obj: AdminRespondToAuthChallengeResponse) => any;
1116
1118
  }
1117
1119
 
1118
- export interface CodeMismatchException extends __SmithyException, $MetadataBearer {
1119
- name: "CodeMismatchException";
1120
- $fault: "client";
1120
+ export declare class CodeMismatchException extends __BaseException {
1121
+ readonly name: "CodeMismatchException";
1122
+ readonly $fault: "client";
1121
1123
 
1122
- message?: string;
1124
+ constructor(opts: __ExceptionOptionType<CodeMismatchException, __BaseException>);
1123
1125
  }
1124
1126
 
1125
- export interface ExpiredCodeException extends __SmithyException, $MetadataBearer {
1126
- name: "ExpiredCodeException";
1127
- $fault: "client";
1127
+ export declare class ExpiredCodeException extends __BaseException {
1128
+ readonly name: "ExpiredCodeException";
1129
+ readonly $fault: "client";
1128
1130
 
1129
- message?: string;
1131
+ constructor(opts: __ExceptionOptionType<ExpiredCodeException, __BaseException>);
1130
1132
  }
1131
1133
 
1132
- export interface SoftwareTokenMFANotFoundException extends __SmithyException, $MetadataBearer {
1133
- name: "SoftwareTokenMFANotFoundException";
1134
- $fault: "client";
1135
- message?: string;
1134
+ export declare class SoftwareTokenMFANotFoundException extends __BaseException {
1135
+ readonly name: "SoftwareTokenMFANotFoundException";
1136
+ readonly $fault: "client";
1137
+
1138
+ constructor(opts: __ExceptionOptionType<SoftwareTokenMFANotFoundException, __BaseException>);
1136
1139
  }
1137
1140
 
1138
1141
  export interface SMSMfaSettingsType {
@@ -1352,11 +1355,11 @@ export declare namespace AssociateSoftwareTokenResponse {
1352
1355
  const filterSensitiveLog: (obj: AssociateSoftwareTokenResponse) => any;
1353
1356
  }
1354
1357
 
1355
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
1356
- name: "ConcurrentModificationException";
1357
- $fault: "client";
1358
+ export declare class ConcurrentModificationException extends __BaseException {
1359
+ readonly name: "ConcurrentModificationException";
1360
+ readonly $fault: "client";
1358
1361
 
1359
- message?: string;
1362
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
1360
1363
  }
1361
1364
 
1362
1365
  export interface ChangePasswordRequest {
@@ -1511,10 +1514,11 @@ export declare namespace CreateGroupResponse {
1511
1514
  const filterSensitiveLog: (obj: CreateGroupResponse) => any;
1512
1515
  }
1513
1516
 
1514
- export interface GroupExistsException extends __SmithyException, $MetadataBearer {
1515
- name: "GroupExistsException";
1516
- $fault: "client";
1517
- message?: string;
1517
+ export declare class GroupExistsException extends __BaseException {
1518
+ readonly name: "GroupExistsException";
1519
+ readonly $fault: "client";
1520
+
1521
+ constructor(opts: __ExceptionOptionType<GroupExistsException, __BaseException>);
1518
1522
  }
1519
1523
  export declare enum IdentityProviderTypeType {
1520
1524
  Facebook = "Facebook",
@@ -1582,10 +1586,11 @@ export declare namespace CreateIdentityProviderResponse {
1582
1586
  const filterSensitiveLog: (obj: CreateIdentityProviderResponse) => any;
1583
1587
  }
1584
1588
 
1585
- export interface DuplicateProviderException extends __SmithyException, $MetadataBearer {
1586
- name: "DuplicateProviderException";
1587
- $fault: "client";
1588
- message?: string;
1589
+ export declare class DuplicateProviderException extends __BaseException {
1590
+ readonly name: "DuplicateProviderException";
1591
+ readonly $fault: "client";
1592
+
1593
+ constructor(opts: __ExceptionOptionType<DuplicateProviderException, __BaseException>);
1589
1594
  }
1590
1595
 
1591
1596
  export interface ResourceServerScopeType {
@@ -2022,10 +2027,11 @@ export declare namespace CreateUserPoolResponse {
2022
2027
  const filterSensitiveLog: (obj: CreateUserPoolResponse) => any;
2023
2028
  }
2024
2029
 
2025
- export interface UserPoolTaggingException extends __SmithyException, $MetadataBearer {
2026
- name: "UserPoolTaggingException";
2027
- $fault: "client";
2028
- message?: string;
2030
+ export declare class UserPoolTaggingException extends __BaseException {
2031
+ readonly name: "UserPoolTaggingException";
2032
+ readonly $fault: "client";
2033
+
2034
+ constructor(opts: __ExceptionOptionType<UserPoolTaggingException, __BaseException>);
2029
2035
  }
2030
2036
  export declare enum OAuthFlowType {
2031
2037
  client_credentials = "client_credentials",
@@ -2175,16 +2181,18 @@ export declare namespace CreateUserPoolClientResponse {
2175
2181
  const filterSensitiveLog: (obj: CreateUserPoolClientResponse) => any;
2176
2182
  }
2177
2183
 
2178
- export interface InvalidOAuthFlowException extends __SmithyException, $MetadataBearer {
2179
- name: "InvalidOAuthFlowException";
2180
- $fault: "client";
2181
- message?: string;
2184
+ export declare class InvalidOAuthFlowException extends __BaseException {
2185
+ readonly name: "InvalidOAuthFlowException";
2186
+ readonly $fault: "client";
2187
+
2188
+ constructor(opts: __ExceptionOptionType<InvalidOAuthFlowException, __BaseException>);
2182
2189
  }
2183
2190
 
2184
- export interface ScopeDoesNotExistException extends __SmithyException, $MetadataBearer {
2185
- name: "ScopeDoesNotExistException";
2186
- $fault: "client";
2187
- message?: string;
2191
+ export declare class ScopeDoesNotExistException extends __BaseException {
2192
+ readonly name: "ScopeDoesNotExistException";
2193
+ readonly $fault: "client";
2194
+
2195
+ constructor(opts: __ExceptionOptionType<ScopeDoesNotExistException, __BaseException>);
2188
2196
  }
2189
2197
 
2190
2198
  export interface CustomDomainConfigType {
@@ -2236,10 +2244,11 @@ export declare namespace DeleteIdentityProviderRequest {
2236
2244
  const filterSensitiveLog: (obj: DeleteIdentityProviderRequest) => any;
2237
2245
  }
2238
2246
 
2239
- export interface UnsupportedIdentityProviderException extends __SmithyException, $MetadataBearer {
2240
- name: "UnsupportedIdentityProviderException";
2241
- $fault: "client";
2242
- message?: string;
2247
+ export declare class UnsupportedIdentityProviderException extends __BaseException {
2248
+ readonly name: "UnsupportedIdentityProviderException";
2249
+ readonly $fault: "client";
2250
+
2251
+ constructor(opts: __ExceptionOptionType<UnsupportedIdentityProviderException, __BaseException>);
2243
2252
  }
2244
2253
  export interface DeleteResourceServerRequest {
2245
2254
 
@@ -3232,22 +3241,25 @@ export declare namespace RevokeTokenResponse {
3232
3241
  const filterSensitiveLog: (obj: RevokeTokenResponse) => any;
3233
3242
  }
3234
3243
 
3235
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
3236
- name: "UnauthorizedException";
3237
- $fault: "client";
3238
- message?: string;
3244
+ export declare class UnauthorizedException extends __BaseException {
3245
+ readonly name: "UnauthorizedException";
3246
+ readonly $fault: "client";
3247
+
3248
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
3239
3249
  }
3240
3250
 
3241
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
3242
- name: "UnsupportedOperationException";
3243
- $fault: "client";
3244
- message?: string;
3251
+ export declare class UnsupportedOperationException extends __BaseException {
3252
+ readonly name: "UnsupportedOperationException";
3253
+ readonly $fault: "client";
3254
+
3255
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
3245
3256
  }
3246
3257
 
3247
- export interface UnsupportedTokenTypeException extends __SmithyException, $MetadataBearer {
3248
- name: "UnsupportedTokenTypeException";
3249
- $fault: "client";
3250
- message?: string;
3258
+ export declare class UnsupportedTokenTypeException extends __BaseException {
3259
+ readonly name: "UnsupportedTokenTypeException";
3260
+ readonly $fault: "client";
3261
+
3262
+ constructor(opts: __ExceptionOptionType<UnsupportedTokenTypeException, __BaseException>);
3251
3263
  }
3252
3264
  export interface SetRiskConfigurationRequest {
3253
3265
 
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
2
3
  import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
3
4
 
4
5
  export interface StartUserImportJobResponse {
@@ -332,10 +333,11 @@ export declare namespace UpdateUserPoolDomainResponse {
332
333
  const filterSensitiveLog: (obj: UpdateUserPoolDomainResponse) => any;
333
334
  }
334
335
 
335
- export interface EnableSoftwareTokenMFAException extends __SmithyException, $MetadataBearer {
336
- name: "EnableSoftwareTokenMFAException";
337
- $fault: "client";
338
- message?: string;
336
+ export declare class EnableSoftwareTokenMFAException extends __BaseException {
337
+ readonly name: "EnableSoftwareTokenMFAException";
338
+ readonly $fault: "client";
339
+
340
+ constructor(opts: __ExceptionOptionType<EnableSoftwareTokenMFAException, __BaseException>);
339
341
  }
340
342
  export interface VerifySoftwareTokenRequest {
341
343
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"