@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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CognitoIdentityProviderServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +514 -6
- package/dist-cjs/models/models_1.js +15 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1368 -5904
- package/dist-es/index.js +1 -0
- package/dist-es/models/CognitoIdentityProviderServiceException.js +12 -0
- package/dist-es/models/models_0.js +470 -1
- package/dist-es/models/models_1.js +14 -1
- package/dist-es/protocols/Aws_json1_1.js +2960 -6235
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CognitoIdentityProviderServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +219 -185
- package/dist-types/models/models_1.d.ts +9 -5
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CognitoIdentityProviderServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +169 -157
- package/dist-types/ts3.4/models/models_1.d.ts +7 -5
- package/package.json +25 -25
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
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
|
|
706
|
-
name: "EnableSoftwareTokenMFAException";
|
|
707
|
-
$fault: "client";
|
|
708
|
-
|
|
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
|
/**
|
|
@@ -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 {
|
|
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
|
|
169
|
-
name: "InternalErrorException";
|
|
170
|
-
$fault: "server";
|
|
169
|
+
export declare class InternalErrorException extends __BaseException {
|
|
170
|
+
readonly name: "InternalErrorException";
|
|
171
|
+
readonly $fault: "server";
|
|
171
172
|
|
|
172
|
-
|
|
173
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
173
174
|
}
|
|
174
175
|
|
|
175
|
-
export
|
|
176
|
-
name: "InvalidParameterException";
|
|
177
|
-
$fault: "client";
|
|
176
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
177
|
+
readonly name: "InvalidParameterException";
|
|
178
|
+
readonly $fault: "client";
|
|
178
179
|
|
|
179
|
-
|
|
180
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
180
181
|
}
|
|
181
182
|
|
|
182
|
-
export
|
|
183
|
-
name: "NotAuthorizedException";
|
|
184
|
-
$fault: "client";
|
|
183
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
184
|
+
readonly name: "NotAuthorizedException";
|
|
185
|
+
readonly $fault: "client";
|
|
185
186
|
|
|
186
|
-
|
|
187
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
187
188
|
}
|
|
188
189
|
|
|
189
|
-
export
|
|
190
|
-
name: "ResourceNotFoundException";
|
|
191
|
-
$fault: "client";
|
|
190
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
191
|
+
readonly name: "ResourceNotFoundException";
|
|
192
|
+
readonly $fault: "client";
|
|
192
193
|
|
|
193
|
-
|
|
194
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
194
195
|
}
|
|
195
196
|
|
|
196
|
-
export
|
|
197
|
-
name: "TooManyRequestsException";
|
|
198
|
-
$fault: "client";
|
|
197
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
198
|
+
readonly name: "TooManyRequestsException";
|
|
199
|
+
readonly $fault: "client";
|
|
199
200
|
|
|
200
|
-
|
|
201
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
201
202
|
}
|
|
202
203
|
|
|
203
|
-
export
|
|
204
|
-
name: "UserImportInProgressException";
|
|
205
|
-
$fault: "client";
|
|
204
|
+
export declare class UserImportInProgressException extends __BaseException {
|
|
205
|
+
readonly name: "UserImportInProgressException";
|
|
206
|
+
readonly $fault: "client";
|
|
206
207
|
|
|
207
|
-
|
|
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
|
|
223
|
-
name: "UserNotFoundException";
|
|
224
|
-
$fault: "client";
|
|
223
|
+
export declare class UserNotFoundException extends __BaseException {
|
|
224
|
+
readonly name: "UserNotFoundException";
|
|
225
|
+
readonly $fault: "client";
|
|
225
226
|
|
|
226
|
-
|
|
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
|
|
252
|
-
name: "InvalidLambdaResponseException";
|
|
253
|
-
$fault: "client";
|
|
252
|
+
export declare class InvalidLambdaResponseException extends __BaseException {
|
|
253
|
+
readonly name: "InvalidLambdaResponseException";
|
|
254
|
+
readonly $fault: "client";
|
|
254
255
|
|
|
255
|
-
|
|
256
|
+
constructor(opts: __ExceptionOptionType<InvalidLambdaResponseException, __BaseException>);
|
|
256
257
|
}
|
|
257
258
|
|
|
258
|
-
export
|
|
259
|
-
name: "LimitExceededException";
|
|
260
|
-
$fault: "client";
|
|
259
|
+
export declare class LimitExceededException extends __BaseException {
|
|
260
|
+
readonly name: "LimitExceededException";
|
|
261
|
+
readonly $fault: "client";
|
|
261
262
|
|
|
262
|
-
|
|
263
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
263
264
|
}
|
|
264
265
|
|
|
265
|
-
export
|
|
266
|
-
name: "TooManyFailedAttemptsException";
|
|
267
|
-
$fault: "client";
|
|
266
|
+
export declare class TooManyFailedAttemptsException extends __BaseException {
|
|
267
|
+
readonly name: "TooManyFailedAttemptsException";
|
|
268
|
+
readonly $fault: "client";
|
|
268
269
|
|
|
269
|
-
|
|
270
|
+
constructor(opts: __ExceptionOptionType<TooManyFailedAttemptsException, __BaseException>);
|
|
270
271
|
}
|
|
271
272
|
|
|
272
|
-
export
|
|
273
|
-
name: "UnexpectedLambdaException";
|
|
274
|
-
$fault: "client";
|
|
273
|
+
export declare class UnexpectedLambdaException extends __BaseException {
|
|
274
|
+
readonly name: "UnexpectedLambdaException";
|
|
275
|
+
readonly $fault: "client";
|
|
275
276
|
|
|
276
|
-
|
|
277
|
+
constructor(opts: __ExceptionOptionType<UnexpectedLambdaException, __BaseException>);
|
|
277
278
|
}
|
|
278
279
|
|
|
279
|
-
export
|
|
280
|
-
name: "UserLambdaValidationException";
|
|
281
|
-
$fault: "client";
|
|
280
|
+
export declare class UserLambdaValidationException extends __BaseException {
|
|
281
|
+
readonly name: "UserLambdaValidationException";
|
|
282
|
+
readonly $fault: "client";
|
|
282
283
|
|
|
283
|
-
|
|
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
|
|
383
|
-
name: "CodeDeliveryFailureException";
|
|
384
|
-
$fault: "client";
|
|
383
|
+
export declare class CodeDeliveryFailureException extends __BaseException {
|
|
384
|
+
readonly name: "CodeDeliveryFailureException";
|
|
385
|
+
readonly $fault: "client";
|
|
385
386
|
|
|
386
|
-
|
|
387
|
+
constructor(opts: __ExceptionOptionType<CodeDeliveryFailureException, __BaseException>);
|
|
387
388
|
}
|
|
388
389
|
|
|
389
|
-
export
|
|
390
|
-
name: "InvalidPasswordException";
|
|
391
|
-
$fault: "client";
|
|
390
|
+
export declare class InvalidPasswordException extends __BaseException {
|
|
391
|
+
readonly name: "InvalidPasswordException";
|
|
392
|
+
readonly $fault: "client";
|
|
392
393
|
|
|
393
|
-
|
|
394
|
+
constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
|
|
394
395
|
}
|
|
395
396
|
|
|
396
|
-
export
|
|
397
|
-
name: "InvalidSmsRoleAccessPolicyException";
|
|
398
|
-
$fault: "client";
|
|
397
|
+
export declare class InvalidSmsRoleAccessPolicyException extends __BaseException {
|
|
398
|
+
readonly name: "InvalidSmsRoleAccessPolicyException";
|
|
399
|
+
readonly $fault: "client";
|
|
399
400
|
|
|
400
|
-
|
|
401
|
+
constructor(opts: __ExceptionOptionType<InvalidSmsRoleAccessPolicyException, __BaseException>);
|
|
401
402
|
}
|
|
402
403
|
|
|
403
|
-
export
|
|
404
|
-
name: "InvalidSmsRoleTrustRelationshipException";
|
|
405
|
-
$fault: "client";
|
|
404
|
+
export declare class InvalidSmsRoleTrustRelationshipException extends __BaseException {
|
|
405
|
+
readonly name: "InvalidSmsRoleTrustRelationshipException";
|
|
406
|
+
readonly $fault: "client";
|
|
406
407
|
|
|
407
|
-
|
|
408
|
+
constructor(opts: __ExceptionOptionType<InvalidSmsRoleTrustRelationshipException, __BaseException>);
|
|
408
409
|
}
|
|
409
410
|
|
|
410
|
-
export
|
|
411
|
-
name: "PreconditionNotMetException";
|
|
412
|
-
$fault: "client";
|
|
411
|
+
export declare class PreconditionNotMetException extends __BaseException {
|
|
412
|
+
readonly name: "PreconditionNotMetException";
|
|
413
|
+
readonly $fault: "client";
|
|
413
414
|
|
|
414
|
-
|
|
415
|
+
constructor(opts: __ExceptionOptionType<PreconditionNotMetException, __BaseException>);
|
|
415
416
|
}
|
|
416
417
|
|
|
417
|
-
export
|
|
418
|
-
name: "UnsupportedUserStateException";
|
|
419
|
-
$fault: "client";
|
|
418
|
+
export declare class UnsupportedUserStateException extends __BaseException {
|
|
419
|
+
readonly name: "UnsupportedUserStateException";
|
|
420
|
+
readonly $fault: "client";
|
|
420
421
|
|
|
421
|
-
|
|
422
|
+
constructor(opts: __ExceptionOptionType<UnsupportedUserStateException, __BaseException>);
|
|
422
423
|
}
|
|
423
424
|
|
|
424
|
-
export
|
|
425
|
-
name: "UsernameExistsException";
|
|
426
|
-
$fault: "client";
|
|
425
|
+
export declare class UsernameExistsException extends __BaseException {
|
|
426
|
+
readonly name: "UsernameExistsException";
|
|
427
|
+
readonly $fault: "client";
|
|
427
428
|
|
|
428
|
-
|
|
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
|
|
518
|
-
name: "AliasExistsException";
|
|
519
|
-
$fault: "client";
|
|
518
|
+
export declare class AliasExistsException extends __BaseException {
|
|
519
|
+
readonly name: "AliasExistsException";
|
|
520
|
+
readonly $fault: "client";
|
|
520
521
|
|
|
521
|
-
|
|
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
|
|
574
|
-
name: "InvalidUserPoolConfigurationException";
|
|
575
|
-
$fault: "client";
|
|
574
|
+
export declare class InvalidUserPoolConfigurationException extends __BaseException {
|
|
575
|
+
readonly name: "InvalidUserPoolConfigurationException";
|
|
576
|
+
readonly $fault: "client";
|
|
576
577
|
|
|
577
|
-
|
|
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
|
|
786
|
-
name: "MFAMethodNotFoundException";
|
|
787
|
-
$fault: "client";
|
|
786
|
+
export declare class MFAMethodNotFoundException extends __BaseException {
|
|
787
|
+
readonly name: "MFAMethodNotFoundException";
|
|
788
|
+
readonly $fault: "client";
|
|
788
789
|
|
|
789
|
-
|
|
790
|
+
constructor(opts: __ExceptionOptionType<MFAMethodNotFoundException, __BaseException>);
|
|
790
791
|
}
|
|
791
792
|
|
|
792
|
-
export
|
|
793
|
-
name: "PasswordResetRequiredException";
|
|
794
|
-
$fault: "client";
|
|
793
|
+
export declare class PasswordResetRequiredException extends __BaseException {
|
|
794
|
+
readonly name: "PasswordResetRequiredException";
|
|
795
|
+
readonly $fault: "client";
|
|
795
796
|
|
|
796
|
-
|
|
797
|
+
constructor(opts: __ExceptionOptionType<PasswordResetRequiredException, __BaseException>);
|
|
797
798
|
}
|
|
798
799
|
|
|
799
|
-
export
|
|
800
|
-
name: "UserNotConfirmedException";
|
|
801
|
-
$fault: "client";
|
|
800
|
+
export declare class UserNotConfirmedException extends __BaseException {
|
|
801
|
+
readonly name: "UserNotConfirmedException";
|
|
802
|
+
readonly $fault: "client";
|
|
802
803
|
|
|
803
|
-
|
|
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
|
|
1028
|
-
name: "UserPoolAddOnNotEnabledException";
|
|
1029
|
-
$fault: "client";
|
|
1030
|
-
|
|
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
|
|
1068
|
-
name: "InvalidEmailRoleAccessPolicyException";
|
|
1069
|
-
$fault: "client";
|
|
1069
|
+
export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
|
|
1070
|
+
readonly name: "InvalidEmailRoleAccessPolicyException";
|
|
1071
|
+
readonly $fault: "client";
|
|
1070
1072
|
|
|
1071
|
-
|
|
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
|
|
1119
|
-
name: "CodeMismatchException";
|
|
1120
|
-
$fault: "client";
|
|
1120
|
+
export declare class CodeMismatchException extends __BaseException {
|
|
1121
|
+
readonly name: "CodeMismatchException";
|
|
1122
|
+
readonly $fault: "client";
|
|
1121
1123
|
|
|
1122
|
-
|
|
1124
|
+
constructor(opts: __ExceptionOptionType<CodeMismatchException, __BaseException>);
|
|
1123
1125
|
}
|
|
1124
1126
|
|
|
1125
|
-
export
|
|
1126
|
-
name: "ExpiredCodeException";
|
|
1127
|
-
$fault: "client";
|
|
1127
|
+
export declare class ExpiredCodeException extends __BaseException {
|
|
1128
|
+
readonly name: "ExpiredCodeException";
|
|
1129
|
+
readonly $fault: "client";
|
|
1128
1130
|
|
|
1129
|
-
|
|
1131
|
+
constructor(opts: __ExceptionOptionType<ExpiredCodeException, __BaseException>);
|
|
1130
1132
|
}
|
|
1131
1133
|
|
|
1132
|
-
export
|
|
1133
|
-
name: "SoftwareTokenMFANotFoundException";
|
|
1134
|
-
$fault: "client";
|
|
1135
|
-
|
|
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
|
|
1356
|
-
name: "ConcurrentModificationException";
|
|
1357
|
-
$fault: "client";
|
|
1358
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
1359
|
+
readonly name: "ConcurrentModificationException";
|
|
1360
|
+
readonly $fault: "client";
|
|
1358
1361
|
|
|
1359
|
-
|
|
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
|
|
1515
|
-
name: "GroupExistsException";
|
|
1516
|
-
$fault: "client";
|
|
1517
|
-
|
|
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
|
|
1586
|
-
name: "DuplicateProviderException";
|
|
1587
|
-
$fault: "client";
|
|
1588
|
-
|
|
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
|
|
2026
|
-
name: "UserPoolTaggingException";
|
|
2027
|
-
$fault: "client";
|
|
2028
|
-
|
|
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
|
|
2179
|
-
name: "InvalidOAuthFlowException";
|
|
2180
|
-
$fault: "client";
|
|
2181
|
-
|
|
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
|
|
2185
|
-
name: "ScopeDoesNotExistException";
|
|
2186
|
-
$fault: "client";
|
|
2187
|
-
|
|
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
|
|
2240
|
-
name: "UnsupportedIdentityProviderException";
|
|
2241
|
-
$fault: "client";
|
|
2242
|
-
|
|
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
|
|
3236
|
-
name: "UnauthorizedException";
|
|
3237
|
-
$fault: "client";
|
|
3238
|
-
|
|
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
|
|
3242
|
-
name: "UnsupportedOperationException";
|
|
3243
|
-
$fault: "client";
|
|
3244
|
-
|
|
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
|
|
3248
|
-
name: "UnsupportedTokenTypeException";
|
|
3249
|
-
$fault: "client";
|
|
3250
|
-
|
|
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 {
|
|
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
|
|
336
|
-
name: "EnableSoftwareTokenMFAException";
|
|
337
|
-
$fault: "client";
|
|
338
|
-
|
|
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.
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
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.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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"
|