@aws-sdk/client-cognito-identity-provider 3.758.0 → 3.760.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/README.md +4 -61
- package/dist-cjs/index.js +39 -6
- package/dist-es/models/models_0.js +13 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +13 -1
- package/dist-types/CognitoIdentityProvider.d.ts +5 -62
- package/dist-types/CognitoIdentityProviderClient.d.ts +5 -62
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +0 -3
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +12 -12
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +10 -13
- package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +4 -3
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +3 -0
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +11 -12
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -12
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +0 -3
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +1 -1
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +10 -7
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +20 -20
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +0 -12
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
- package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +2 -3
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +4 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +7 -10
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +0 -3
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +1 -3
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +4 -5
- package/dist-types/commands/CreateUserPoolCommand.d.ts +8 -10
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +3 -3
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +7 -1
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +1 -1
- package/dist-types/commands/ForgetDeviceCommand.d.ts +2 -2
- package/dist-types/commands/ForgotPasswordCommand.d.ts +6 -11
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +26 -2
- package/dist-types/commands/GetDeviceCommand.d.ts +2 -1
- package/dist-types/commands/GetGroupCommand.d.ts +23 -2
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +3 -1
- package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +22 -1
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +26 -5
- package/dist-types/commands/GetUICustomizationCommand.d.ts +5 -5
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -3
- package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +9 -3
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +39 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +5 -2
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -1
- package/dist-types/commands/ListResourceServersCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -4
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +3 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +2 -1
- package/dist-types/commands/ListUserPoolsCommand.d.ts +2 -2
- package/dist-types/commands/ListUsersCommand.d.ts +2 -1
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +2 -1
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +9 -2
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +5 -2
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +3 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +24 -5
- package/dist-types/commands/SetUICustomizationCommand.d.ts +23 -10
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +0 -3
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
- package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -1
- package/dist-types/commands/SignUpCommand.d.ts +3 -5
- package/dist-types/commands/StartUserImportJobCommand.d.ts +3 -1
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +4 -6
- package/dist-types/commands/StopUserImportJobCommand.d.ts +3 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +13 -3
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +6 -2
- package/dist-types/commands/UpdateGroupCommand.d.ts +2 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +4 -1
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -5
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -1
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +4 -5
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +7 -4
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +8 -7
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +4 -3
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +5 -3
- package/dist-types/index.d.ts +5 -62
- package/dist-types/models/models_0.d.ts +730 -642
- package/dist-types/models/models_1.d.ts +834 -558
- package/dist-types/ts3.4/models/models_0.d.ts +9 -6
- package/dist-types/ts3.4/models/models_1.d.ts +6 -1
- package/package.json +1 -1
|
@@ -449,6 +449,7 @@ export interface AdminInitiateAuthResponse {
|
|
|
449
449
|
Session?: string | undefined;
|
|
450
450
|
ChallengeParameters?: Record<string, string> | undefined;
|
|
451
451
|
AuthenticationResult?: AuthenticationResultType | undefined;
|
|
452
|
+
AvailableChallenges?: ChallengeNameType[] | undefined;
|
|
452
453
|
}
|
|
453
454
|
export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
|
|
454
455
|
readonly name: "InvalidEmailRoleAccessPolicyException";
|
|
@@ -928,6 +929,13 @@ export interface ConfirmDeviceRequest {
|
|
|
928
929
|
export interface ConfirmDeviceResponse {
|
|
929
930
|
UserConfirmationNecessary?: boolean | undefined;
|
|
930
931
|
}
|
|
932
|
+
export declare class DeviceKeyExistsException extends __BaseException {
|
|
933
|
+
readonly name: "DeviceKeyExistsException";
|
|
934
|
+
readonly $fault: "client";
|
|
935
|
+
constructor(
|
|
936
|
+
opts: __ExceptionOptionType<DeviceKeyExistsException, __BaseException>
|
|
937
|
+
);
|
|
938
|
+
}
|
|
931
939
|
export interface UserContextDataType {
|
|
932
940
|
IpAddress?: string | undefined;
|
|
933
941
|
EncodedData?: string | undefined;
|
|
@@ -1139,6 +1147,7 @@ export interface CustomSMSLambdaVersionConfigType {
|
|
|
1139
1147
|
export declare const PreTokenGenerationLambdaVersionType: {
|
|
1140
1148
|
readonly V1_0: "V1_0";
|
|
1141
1149
|
readonly V2_0: "V2_0";
|
|
1150
|
+
readonly V3_0: "V3_0";
|
|
1142
1151
|
};
|
|
1143
1152
|
export type PreTokenGenerationLambdaVersionType =
|
|
1144
1153
|
(typeof PreTokenGenerationLambdaVersionType)[keyof typeof PreTokenGenerationLambdaVersionType];
|
|
@@ -1761,12 +1770,6 @@ export interface SmsMfaConfigType {
|
|
|
1761
1770
|
export interface SoftwareTokenMfaConfigType {
|
|
1762
1771
|
Enabled?: boolean | undefined;
|
|
1763
1772
|
}
|
|
1764
|
-
export declare const UserVerificationType: {
|
|
1765
|
-
readonly PREFERRED: "preferred";
|
|
1766
|
-
readonly REQUIRED: "required";
|
|
1767
|
-
};
|
|
1768
|
-
export type UserVerificationType =
|
|
1769
|
-
(typeof UserVerificationType)[keyof typeof UserVerificationType];
|
|
1770
1773
|
export declare const AdminAddUserToGroupRequestFilterSensitiveLog: (
|
|
1771
1774
|
obj: AdminAddUserToGroupRequest
|
|
1772
1775
|
) => any;
|
|
@@ -55,10 +55,15 @@ import {
|
|
|
55
55
|
UserPoolPolicyType,
|
|
56
56
|
UserPoolTierType,
|
|
57
57
|
UserType,
|
|
58
|
-
UserVerificationType,
|
|
59
58
|
VerificationMessageTemplateType,
|
|
60
59
|
VerifiedAttributeType,
|
|
61
60
|
} from "./models_0";
|
|
61
|
+
export declare const UserVerificationType: {
|
|
62
|
+
readonly PREFERRED: "preferred";
|
|
63
|
+
readonly REQUIRED: "required";
|
|
64
|
+
};
|
|
65
|
+
export type UserVerificationType =
|
|
66
|
+
(typeof UserVerificationType)[keyof typeof UserVerificationType];
|
|
62
67
|
export interface WebAuthnConfigurationType {
|
|
63
68
|
RelyingPartyId?: string | undefined;
|
|
64
69
|
UserVerification?: UserVerificationType | undefined;
|
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.760.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",
|