@aws-sdk/client-cognito-identity-provider 3.649.0 → 3.651.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-cjs/index.js +140 -345
- package/dist-es/commands/AddCustomAttributesCommand.js +1 -3
- package/dist-es/commands/AdminAddUserToGroupCommand.js +1 -3
- package/dist-es/commands/AdminConfirmSignUpCommand.js +1 -3
- package/dist-es/commands/AdminCreateUserCommand.js +1 -3
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +1 -3
- package/dist-es/commands/AdminDeleteUserCommand.js +1 -3
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +1 -3
- package/dist-es/commands/AdminDisableUserCommand.js +1 -3
- package/dist-es/commands/AdminEnableUserCommand.js +1 -3
- package/dist-es/commands/AdminForgetDeviceCommand.js +1 -3
- package/dist-es/commands/AdminGetDeviceCommand.js +1 -3
- package/dist-es/commands/AdminGetUserCommand.js +1 -3
- package/dist-es/commands/AdminInitiateAuthCommand.js +1 -3
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +1 -3
- package/dist-es/commands/AdminListDevicesCommand.js +1 -3
- package/dist-es/commands/AdminListGroupsForUserCommand.js +1 -3
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +1 -3
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +1 -3
- package/dist-es/commands/AdminResetUserPasswordCommand.js +1 -3
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +1 -3
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +1 -3
- package/dist-es/commands/AdminSetUserPasswordCommand.js +1 -3
- package/dist-es/commands/AdminSetUserSettingsCommand.js +1 -3
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +1 -3
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +1 -3
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +1 -3
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +1 -3
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +1 -3
- package/dist-es/commands/ChangePasswordCommand.js +1 -3
- package/dist-es/commands/ConfirmDeviceCommand.js +1 -3
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +1 -3
- package/dist-es/commands/ConfirmSignUpCommand.js +1 -3
- package/dist-es/commands/CreateGroupCommand.js +1 -3
- package/dist-es/commands/CreateIdentityProviderCommand.js +1 -3
- package/dist-es/commands/CreateResourceServerCommand.js +1 -3
- package/dist-es/commands/CreateUserImportJobCommand.js +1 -3
- package/dist-es/commands/CreateUserPoolClientCommand.js +1 -3
- package/dist-es/commands/CreateUserPoolCommand.js +1 -3
- package/dist-es/commands/CreateUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/DeleteGroupCommand.js +1 -3
- package/dist-es/commands/DeleteIdentityProviderCommand.js +1 -3
- package/dist-es/commands/DeleteResourceServerCommand.js +1 -3
- package/dist-es/commands/DeleteUserAttributesCommand.js +1 -3
- package/dist-es/commands/DeleteUserCommand.js +1 -3
- package/dist-es/commands/DeleteUserPoolClientCommand.js +1 -3
- package/dist-es/commands/DeleteUserPoolCommand.js +1 -3
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/DescribeIdentityProviderCommand.js +1 -3
- package/dist-es/commands/DescribeResourceServerCommand.js +1 -3
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +1 -3
- package/dist-es/commands/DescribeUserImportJobCommand.js +1 -3
- package/dist-es/commands/DescribeUserPoolClientCommand.js +1 -3
- package/dist-es/commands/DescribeUserPoolCommand.js +1 -3
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/ForgetDeviceCommand.js +1 -3
- package/dist-es/commands/ForgotPasswordCommand.js +1 -3
- package/dist-es/commands/GetCSVHeaderCommand.js +1 -3
- package/dist-es/commands/GetDeviceCommand.js +1 -3
- package/dist-es/commands/GetGroupCommand.js +1 -3
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +1 -3
- package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +1 -3
- package/dist-es/commands/GetSigningCertificateCommand.js +1 -3
- package/dist-es/commands/GetUICustomizationCommand.js +1 -3
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +1 -3
- package/dist-es/commands/GetUserCommand.js +1 -3
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +1 -3
- package/dist-es/commands/GlobalSignOutCommand.js +1 -3
- package/dist-es/commands/InitiateAuthCommand.js +1 -3
- package/dist-es/commands/ListDevicesCommand.js +1 -3
- package/dist-es/commands/ListGroupsCommand.js +1 -3
- package/dist-es/commands/ListIdentityProvidersCommand.js +1 -3
- package/dist-es/commands/ListResourceServersCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/ListUserImportJobsCommand.js +1 -3
- package/dist-es/commands/ListUserPoolClientsCommand.js +1 -3
- package/dist-es/commands/ListUserPoolsCommand.js +1 -3
- package/dist-es/commands/ListUsersCommand.js +1 -3
- package/dist-es/commands/ListUsersInGroupCommand.js +1 -3
- package/dist-es/commands/ResendConfirmationCodeCommand.js +1 -3
- package/dist-es/commands/RespondToAuthChallengeCommand.js +3 -4
- package/dist-es/commands/RevokeTokenCommand.js +2 -4
- package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +1 -3
- package/dist-es/commands/SetRiskConfigurationCommand.js +1 -3
- package/dist-es/commands/SetUICustomizationCommand.js +1 -3
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +1 -3
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +1 -3
- package/dist-es/commands/SetUserSettingsCommand.js +1 -3
- package/dist-es/commands/SignUpCommand.js +1 -3
- package/dist-es/commands/StartUserImportJobCommand.js +1 -3
- package/dist-es/commands/StopUserImportJobCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +1 -3
- package/dist-es/commands/UpdateDeviceStatusCommand.js +1 -3
- package/dist-es/commands/UpdateGroupCommand.js +1 -3
- package/dist-es/commands/UpdateIdentityProviderCommand.js +1 -3
- package/dist-es/commands/UpdateResourceServerCommand.js +1 -3
- package/dist-es/commands/UpdateUserAttributesCommand.js +1 -3
- package/dist-es/commands/UpdateUserPoolClientCommand.js +1 -3
- package/dist-es/commands/UpdateUserPoolCommand.js +1 -3
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/VerifySoftwareTokenCommand.js +1 -3
- package/dist-es/commands/VerifyUserAttributeCommand.js +1 -3
- package/dist-es/models/models_0.js +13 -25
- package/dist-es/models/models_1.js +14 -1
- package/dist-es/protocols/Aws_json1_1.js +3 -3
- package/dist-types/commands/AdminCreateUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +6 -2
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +1 -1
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +7 -3
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +9 -5
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolCommand.d.ts +1 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +4 -0
- package/dist-types/commands/InitiateAuthCommand.d.ts +6 -2
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +1 -1
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +9 -4
- package/dist-types/commands/RevokeTokenCommand.d.ts +1 -2
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +4 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +9 -1
- package/dist-types/commands/SignUpCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +139 -95
- package/dist-types/models/models_1.d.ts +96 -9
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +21 -27
- package/dist-types/ts3.4/models/models_1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -425,6 +425,7 @@ export declare const ChallengeNameType: {
|
|
|
425
425
|
readonly CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE";
|
|
426
426
|
readonly DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER";
|
|
427
427
|
readonly DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH";
|
|
428
|
+
readonly EMAIL_OTP: "EMAIL_OTP";
|
|
428
429
|
readonly MFA_SETUP: "MFA_SETUP";
|
|
429
430
|
readonly NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED";
|
|
430
431
|
readonly PASSWORD_VERIFIER: "PASSWORD_VERIFIER";
|
|
@@ -440,6 +441,16 @@ export interface AdminInitiateAuthResponse {
|
|
|
440
441
|
ChallengeParameters?: Record<string, string>;
|
|
441
442
|
AuthenticationResult?: AuthenticationResultType;
|
|
442
443
|
}
|
|
444
|
+
export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
|
|
445
|
+
readonly name: "InvalidEmailRoleAccessPolicyException";
|
|
446
|
+
readonly $fault: "client";
|
|
447
|
+
constructor(
|
|
448
|
+
opts: __ExceptionOptionType<
|
|
449
|
+
InvalidEmailRoleAccessPolicyException,
|
|
450
|
+
__BaseException
|
|
451
|
+
>
|
|
452
|
+
);
|
|
453
|
+
}
|
|
443
454
|
export declare class MFAMethodNotFoundException extends __BaseException {
|
|
444
455
|
readonly name: "MFAMethodNotFoundException";
|
|
445
456
|
readonly $fault: "client";
|
|
@@ -603,16 +614,6 @@ export interface AdminResetUserPasswordRequest {
|
|
|
603
614
|
ClientMetadata?: Record<string, string>;
|
|
604
615
|
}
|
|
605
616
|
export interface AdminResetUserPasswordResponse {}
|
|
606
|
-
export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
|
|
607
|
-
readonly name: "InvalidEmailRoleAccessPolicyException";
|
|
608
|
-
readonly $fault: "client";
|
|
609
|
-
constructor(
|
|
610
|
-
opts: __ExceptionOptionType<
|
|
611
|
-
InvalidEmailRoleAccessPolicyException,
|
|
612
|
-
__BaseException
|
|
613
|
-
>
|
|
614
|
-
);
|
|
615
|
-
}
|
|
616
617
|
export interface AdminRespondToAuthChallengeRequest {
|
|
617
618
|
UserPoolId: string | undefined;
|
|
618
619
|
ClientId: string | undefined;
|
|
@@ -663,6 +664,10 @@ export declare class SoftwareTokenMFANotFoundException extends __BaseException {
|
|
|
663
664
|
>
|
|
664
665
|
);
|
|
665
666
|
}
|
|
667
|
+
export interface EmailMfaSettingsType {
|
|
668
|
+
Enabled?: boolean;
|
|
669
|
+
PreferredMfa?: boolean;
|
|
670
|
+
}
|
|
666
671
|
export interface SMSMfaSettingsType {
|
|
667
672
|
Enabled?: boolean;
|
|
668
673
|
PreferredMfa?: boolean;
|
|
@@ -674,6 +679,7 @@ export interface SoftwareTokenMfaSettingsType {
|
|
|
674
679
|
export interface AdminSetUserMFAPreferenceRequest {
|
|
675
680
|
SMSMfaSettings?: SMSMfaSettingsType;
|
|
676
681
|
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
|
|
682
|
+
EmailMfaSettings?: EmailMfaSettingsType;
|
|
677
683
|
Username: string | undefined;
|
|
678
684
|
UserPoolId: string | undefined;
|
|
679
685
|
}
|
|
@@ -1515,6 +1521,10 @@ export interface GetUserAttributeVerificationCodeResponse {
|
|
|
1515
1521
|
export interface GetUserPoolMfaConfigRequest {
|
|
1516
1522
|
UserPoolId: string | undefined;
|
|
1517
1523
|
}
|
|
1524
|
+
export interface EmailMfaConfigType {
|
|
1525
|
+
Message?: string;
|
|
1526
|
+
Subject?: string;
|
|
1527
|
+
}
|
|
1518
1528
|
export interface SmsMfaConfigType {
|
|
1519
1529
|
SmsAuthenticationMessage?: string;
|
|
1520
1530
|
SmsConfiguration?: SmsConfigurationType;
|
|
@@ -1525,6 +1535,7 @@ export interface SoftwareTokenMfaConfigType {
|
|
|
1525
1535
|
export interface GetUserPoolMfaConfigResponse {
|
|
1526
1536
|
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
1527
1537
|
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
1538
|
+
EmailMfaConfiguration?: EmailMfaConfigType;
|
|
1528
1539
|
MfaConfiguration?: UserPoolMfaType;
|
|
1529
1540
|
}
|
|
1530
1541
|
export interface GlobalSignOutRequest {
|
|
@@ -1673,17 +1684,6 @@ export interface RespondToAuthChallengeRequest {
|
|
|
1673
1684
|
UserContextData?: UserContextDataType;
|
|
1674
1685
|
ClientMetadata?: Record<string, string>;
|
|
1675
1686
|
}
|
|
1676
|
-
export interface RespondToAuthChallengeResponse {
|
|
1677
|
-
ChallengeName?: ChallengeNameType;
|
|
1678
|
-
Session?: string;
|
|
1679
|
-
ChallengeParameters?: Record<string, string>;
|
|
1680
|
-
AuthenticationResult?: AuthenticationResultType;
|
|
1681
|
-
}
|
|
1682
|
-
export interface RevokeTokenRequest {
|
|
1683
|
-
Token: string | undefined;
|
|
1684
|
-
ClientId: string | undefined;
|
|
1685
|
-
ClientSecret?: string;
|
|
1686
|
-
}
|
|
1687
1687
|
export declare const AdminAddUserToGroupRequestFilterSensitiveLog: (
|
|
1688
1688
|
obj: AdminAddUserToGroupRequest
|
|
1689
1689
|
) => any;
|
|
@@ -1896,9 +1896,3 @@ export declare const ResendConfirmationCodeRequestFilterSensitiveLog: (
|
|
|
1896
1896
|
export declare const RespondToAuthChallengeRequestFilterSensitiveLog: (
|
|
1897
1897
|
obj: RespondToAuthChallengeRequest
|
|
1898
1898
|
) => any;
|
|
1899
|
-
export declare const RespondToAuthChallengeResponseFilterSensitiveLog: (
|
|
1900
|
-
obj: RespondToAuthChallengeResponse
|
|
1901
|
-
) => any;
|
|
1902
|
-
export declare const RevokeTokenRequestFilterSensitiveLog: (
|
|
1903
|
-
obj: RevokeTokenRequest
|
|
1904
|
-
) => any;
|
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
AnalyticsConfigurationType,
|
|
8
8
|
AnalyticsMetadataType,
|
|
9
9
|
AttributeType,
|
|
10
|
+
AuthenticationResultType,
|
|
11
|
+
ChallengeNameType,
|
|
10
12
|
CodeDeliveryDetailsType,
|
|
11
13
|
CompromisedCredentialsRiskConfigurationType,
|
|
12
14
|
CustomDomainConfigType,
|
|
@@ -14,6 +16,8 @@ import {
|
|
|
14
16
|
DeviceConfigurationType,
|
|
15
17
|
DeviceRememberedStatusType,
|
|
16
18
|
EmailConfigurationType,
|
|
19
|
+
EmailMfaConfigType,
|
|
20
|
+
EmailMfaSettingsType,
|
|
17
21
|
ExplicitAuthFlowsType,
|
|
18
22
|
FeedbackValueType,
|
|
19
23
|
GroupType,
|
|
@@ -45,6 +49,17 @@ import {
|
|
|
45
49
|
VerificationMessageTemplateType,
|
|
46
50
|
VerifiedAttributeType,
|
|
47
51
|
} from "./models_0";
|
|
52
|
+
export interface RespondToAuthChallengeResponse {
|
|
53
|
+
ChallengeName?: ChallengeNameType;
|
|
54
|
+
Session?: string;
|
|
55
|
+
ChallengeParameters?: Record<string, string>;
|
|
56
|
+
AuthenticationResult?: AuthenticationResultType;
|
|
57
|
+
}
|
|
58
|
+
export interface RevokeTokenRequest {
|
|
59
|
+
Token: string | undefined;
|
|
60
|
+
ClientId: string | undefined;
|
|
61
|
+
ClientSecret?: string;
|
|
62
|
+
}
|
|
48
63
|
export interface RevokeTokenResponse {}
|
|
49
64
|
export declare class UnauthorizedException extends __BaseException {
|
|
50
65
|
readonly name: "UnauthorizedException";
|
|
@@ -96,6 +111,7 @@ export interface SetUICustomizationResponse {
|
|
|
96
111
|
export interface SetUserMFAPreferenceRequest {
|
|
97
112
|
SMSMfaSettings?: SMSMfaSettingsType;
|
|
98
113
|
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
|
|
114
|
+
EmailMfaSettings?: EmailMfaSettingsType;
|
|
99
115
|
AccessToken: string | undefined;
|
|
100
116
|
}
|
|
101
117
|
export interface SetUserMFAPreferenceResponse {}
|
|
@@ -103,11 +119,13 @@ export interface SetUserPoolMfaConfigRequest {
|
|
|
103
119
|
UserPoolId: string | undefined;
|
|
104
120
|
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
105
121
|
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
122
|
+
EmailMfaConfiguration?: EmailMfaConfigType;
|
|
106
123
|
MfaConfiguration?: UserPoolMfaType;
|
|
107
124
|
}
|
|
108
125
|
export interface SetUserPoolMfaConfigResponse {
|
|
109
126
|
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
110
127
|
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
128
|
+
EmailMfaConfiguration?: EmailMfaConfigType;
|
|
111
129
|
MfaConfiguration?: UserPoolMfaType;
|
|
112
130
|
}
|
|
113
131
|
export interface SetUserSettingsRequest {
|
|
@@ -295,6 +313,12 @@ export interface VerifyUserAttributeRequest {
|
|
|
295
313
|
Code: string | undefined;
|
|
296
314
|
}
|
|
297
315
|
export interface VerifyUserAttributeResponse {}
|
|
316
|
+
export declare const RespondToAuthChallengeResponseFilterSensitiveLog: (
|
|
317
|
+
obj: RespondToAuthChallengeResponse
|
|
318
|
+
) => any;
|
|
319
|
+
export declare const RevokeTokenRequestFilterSensitiveLog: (
|
|
320
|
+
obj: RevokeTokenRequest
|
|
321
|
+
) => any;
|
|
298
322
|
export declare const SetRiskConfigurationRequestFilterSensitiveLog: (
|
|
299
323
|
obj: SetRiskConfigurationRequest
|
|
300
324
|
) => any;
|
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.651.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-identity-provider",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
25
|
"@aws-sdk/core": "3.649.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|