@aws-sdk/client-cognito-identity-provider 3.1030.0 → 3.1032.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 +5 -0
- package/dist-cjs/schemas/schemas_0.js +17 -9
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +14 -6
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -0
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +3 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +1 -2
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +56 -40
- package/dist-types/models/models_1.d.ts +33 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -6
- package/dist-types/ts3.4/models/models_1.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -2010,6 +2010,10 @@ const LogLevel = {
|
|
|
2010
2010
|
ERROR: "ERROR",
|
|
2011
2011
|
INFO: "INFO",
|
|
2012
2012
|
};
|
|
2013
|
+
const WebAuthnFactorConfigurationType = {
|
|
2014
|
+
MULTI_FACTOR_WITH_USER_VERIFICATION: "MULTI_FACTOR_WITH_USER_VERIFICATION",
|
|
2015
|
+
SINGLE_FACTOR: "SINGLE_FACTOR",
|
|
2016
|
+
};
|
|
2013
2017
|
const UserVerificationType = {
|
|
2014
2018
|
PREFERRED: "preferred",
|
|
2015
2019
|
REQUIRED: "required",
|
|
@@ -2197,6 +2201,7 @@ exports.VerifiedAttributeType = VerifiedAttributeType;
|
|
|
2197
2201
|
exports.VerifySoftwareTokenCommand = VerifySoftwareTokenCommand;
|
|
2198
2202
|
exports.VerifySoftwareTokenResponseType = VerifySoftwareTokenResponseType;
|
|
2199
2203
|
exports.VerifyUserAttributeCommand = VerifyUserAttributeCommand;
|
|
2204
|
+
exports.WebAuthnFactorConfigurationType = WebAuthnFactorConfigurationType;
|
|
2200
2205
|
exports.paginateAdminListGroupsForUser = paginateAdminListGroupsForUser;
|
|
2201
2206
|
exports.paginateAdminListUserAuthEvents = paginateAdminListUserAuthEvents;
|
|
2202
2207
|
exports.paginateListGroups = paginateListGroups;
|
|
@@ -7,9 +7,9 @@ exports.DeviceConfigurationType$ = exports.DescribeUserPoolResponse$ = exports.D
|
|
|
7
7
|
exports.ListGroupsResponse$ = exports.ListGroupsRequest$ = exports.ListDevicesResponse$ = exports.ListDevicesRequest$ = exports.LambdaConfigType$ = exports.InitiateAuthResponse$ = exports.InitiateAuthRequest$ = exports.InboundFederationLambdaType$ = exports.IdentityProviderType$ = exports.HttpHeader$ = exports.GroupType$ = exports.GlobalSignOutResponse$ = exports.GlobalSignOutRequest$ = exports.GetUserResponse$ = exports.GetUserRequest$ = exports.GetUserPoolMfaConfigResponse$ = exports.GetUserPoolMfaConfigRequest$ = exports.GetUserAuthFactorsResponse$ = exports.GetUserAuthFactorsRequest$ = exports.GetUserAttributeVerificationCodeResponse$ = exports.GetUserAttributeVerificationCodeRequest$ = exports.GetUICustomizationResponse$ = exports.GetUICustomizationRequest$ = exports.GetTokensFromRefreshTokenResponse$ = exports.GetTokensFromRefreshTokenRequest$ = exports.GetSigningCertificateResponse$ = exports.GetSigningCertificateRequest$ = exports.GetLogDeliveryConfigurationResponse$ = exports.GetLogDeliveryConfigurationRequest$ = exports.GetIdentityProviderByIdentifierResponse$ = exports.GetIdentityProviderByIdentifierRequest$ = exports.GetGroupResponse$ = exports.GetGroupRequest$ = exports.GetDeviceResponse$ = exports.GetDeviceRequest$ = exports.GetCSVHeaderResponse$ = exports.GetCSVHeaderRequest$ = exports.ForgotPasswordResponse$ = exports.ForgotPasswordRequest$ = exports.ForgetDeviceRequest$ = exports.FirehoseConfigurationType$ = exports.EventRiskType$ = exports.EventFeedbackType$ = exports.EventContextDataType$ = exports.EmailMfaSettingsType$ = exports.EmailMfaConfigType$ = exports.EmailConfigurationType$ = exports.DomainDescriptionType$ = exports.DeviceType$ = exports.DeviceSecretVerifierConfigType$ = void 0;
|
|
8
8
|
exports.SetLogDeliveryConfigurationRequest$ = exports.SchemaAttributeType$ = exports.S3ConfigurationType$ = exports.RiskExceptionConfigurationType$ = exports.RiskConfigurationType$ = exports.RevokeTokenResponse$ = exports.RevokeTokenRequest$ = exports.RespondToAuthChallengeResponse$ = exports.RespondToAuthChallengeRequest$ = exports.ResourceServerType$ = exports.ResourceServerScopeType$ = exports.ResendConfirmationCodeResponse$ = exports.ResendConfirmationCodeRequest$ = exports.RefreshTokenRotationType$ = exports.RecoveryOptionType$ = exports.ProviderUserIdentifierType$ = exports.ProviderDescription$ = exports.PreTokenGenerationVersionConfigType$ = exports.PasswordPolicyType$ = exports.NumberAttributeConstraintsType$ = exports.NotifyEmailType$ = exports.NotifyConfigurationType$ = exports.NewDeviceMetadataType$ = exports.MFAOptionType$ = exports.MessageTemplateType$ = exports.ManagedLoginBrandingType$ = exports.LogDeliveryConfigurationType$ = exports.LogConfigurationType$ = exports.ListWebAuthnCredentialsResponse$ = exports.ListWebAuthnCredentialsRequest$ = exports.ListUsersResponse$ = exports.ListUsersRequest$ = exports.ListUsersInGroupResponse$ = exports.ListUsersInGroupRequest$ = exports.ListUserPoolsResponse$ = exports.ListUserPoolsRequest$ = exports.ListUserPoolClientsResponse$ = exports.ListUserPoolClientsRequest$ = exports.ListUserPoolClientSecretsResponse$ = exports.ListUserPoolClientSecretsRequest$ = exports.ListUserImportJobsResponse$ = exports.ListUserImportJobsRequest$ = exports.ListTermsResponse$ = exports.ListTermsRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListResourceServersResponse$ = exports.ListResourceServersRequest$ = exports.ListIdentityProvidersResponse$ = exports.ListIdentityProvidersRequest$ = void 0;
|
|
9
9
|
exports.UpdateUserAttributesResponse$ = exports.UpdateUserAttributesRequest$ = exports.UpdateTermsResponse$ = exports.UpdateTermsRequest$ = exports.UpdateResourceServerResponse$ = exports.UpdateResourceServerRequest$ = exports.UpdateManagedLoginBrandingResponse$ = exports.UpdateManagedLoginBrandingRequest$ = exports.UpdateIdentityProviderResponse$ = exports.UpdateIdentityProviderRequest$ = exports.UpdateGroupResponse$ = exports.UpdateGroupRequest$ = exports.UpdateDeviceStatusResponse$ = exports.UpdateDeviceStatusRequest$ = exports.UpdateAuthEventFeedbackResponse$ = exports.UpdateAuthEventFeedbackRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.UICustomizationType$ = exports.TokenValidityUnitsType$ = exports.TermsType$ = exports.TermsDescriptionType$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StringAttributeConstraintsType$ = exports.StopUserImportJobResponse$ = exports.StopUserImportJobRequest$ = exports.StartWebAuthnRegistrationResponse$ = exports.StartWebAuthnRegistrationRequest$ = exports.StartUserImportJobResponse$ = exports.StartUserImportJobRequest$ = exports.SoftwareTokenMfaSettingsType$ = exports.SoftwareTokenMfaConfigType$ = exports.SMSMfaSettingsType$ = exports.SmsMfaConfigType$ = exports.SmsConfigurationType$ = exports.SignUpResponse$ = exports.SignUpRequest$ = exports.SignInPolicyType$ = exports.SetUserSettingsResponse$ = exports.SetUserSettingsRequest$ = exports.SetUserPoolMfaConfigResponse$ = exports.SetUserPoolMfaConfigRequest$ = exports.SetUserMFAPreferenceResponse$ = exports.SetUserMFAPreferenceRequest$ = exports.SetUICustomizationResponse$ = exports.SetUICustomizationRequest$ = exports.SetRiskConfigurationResponse$ = exports.SetRiskConfigurationRequest$ = exports.SetLogDeliveryConfigurationResponse$ = void 0;
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.VerifyUserAttribute$ = exports.VerifySoftwareToken$ = exports.UpdateUserPoolDomain$ = exports.UpdateUserPoolClient$ = exports.UpdateUserPool$ = exports.UpdateUserAttributes$ = exports.UpdateTerms$ = exports.UpdateResourceServer$ = exports.UpdateManagedLoginBranding$ = exports.UpdateIdentityProvider$ = exports.UpdateGroup$ = exports.UpdateDeviceStatus$ = exports.UpdateAuthEventFeedback$ = exports.UntagResource$ = exports.TagResource$ = exports.StopUserImportJob$ = exports.StartWebAuthnRegistration$ = exports.StartUserImportJob$ = exports.SignUp$ = exports.SetUserSettings$ = exports.SetUserPoolMfaConfig$ = exports.SetUserMFAPreference$ = exports.SetUICustomization$ = exports.SetRiskConfiguration$ = exports.SetLogDeliveryConfiguration$ = exports.RevokeToken$ = exports.RespondToAuthChallenge$ = exports.ResendConfirmationCode$ = exports.ListWebAuthnCredentials$ = exports.ListUsersInGroup$ = exports.ListUsers$ = exports.ListUserPools$ = exports.ListUserPoolClientSecrets$ = exports.ListUserPoolClients$ = exports.ListUserImportJobs$ = exports.ListTerms$ = exports.ListTagsForResource$ = exports.ListResourceServers$ = exports.ListIdentityProviders$ = exports.ListGroups$ = exports.ListDevices$ = exports.InitiateAuth$ = exports.GlobalSignOut$ = exports.GetUserPoolMfaConfig$ = exports.GetUserAuthFactors$ = exports.GetUserAttributeVerificationCode$ = void 0;
|
|
10
|
+
exports.AdminUpdateAuthEventFeedback$ = exports.AdminSetUserSettings$ = exports.AdminSetUserPassword$ = exports.AdminSetUserMFAPreference$ = exports.AdminRespondToAuthChallenge$ = exports.AdminResetUserPassword$ = exports.AdminRemoveUserFromGroup$ = exports.AdminListUserAuthEvents$ = exports.AdminListGroupsForUser$ = exports.AdminListDevices$ = exports.AdminLinkProviderForUser$ = exports.AdminInitiateAuth$ = exports.AdminGetUser$ = exports.AdminGetDevice$ = exports.AdminForgetDevice$ = exports.AdminEnableUser$ = exports.AdminDisableUser$ = exports.AdminDisableProviderForUser$ = exports.AdminDeleteUserAttributes$ = exports.AdminDeleteUser$ = exports.AdminCreateUser$ = exports.AdminConfirmSignUp$ = exports.AdminAddUserToGroup$ = exports.AddUserPoolClientSecret$ = exports.AddCustomAttributes$ = exports.WebAuthnMfaSettingsType$ = exports.WebAuthnCredentialDescription$ = exports.WebAuthnConfigurationType$ = exports.VerifyUserAttributeResponse$ = exports.VerifyUserAttributeRequest$ = exports.VerifySoftwareTokenResponse$ = exports.VerifySoftwareTokenRequest$ = exports.VerificationMessageTemplateType$ = exports.UserType$ = exports.UserPoolType$ = exports.UserPoolPolicyType$ = exports.UserPoolDescriptionType$ = exports.UserPoolClientType$ = exports.UserPoolClientDescription$ = exports.UserPoolAddOnsType$ = exports.UsernameConfigurationType$ = exports.UserImportJobType$ = exports.UserContextDataType$ = exports.UserAttributeUpdateSettingsType$ = exports.UpdateUserPoolResponse$ = exports.UpdateUserPoolRequest$ = exports.UpdateUserPoolDomainResponse$ = exports.UpdateUserPoolDomainRequest$ = exports.UpdateUserPoolClientResponse$ = exports.UpdateUserPoolClientRequest$ = void 0;
|
|
11
|
+
exports.GetUICustomization$ = exports.GetTokensFromRefreshToken$ = exports.GetSigningCertificate$ = exports.GetLogDeliveryConfiguration$ = exports.GetIdentityProviderByIdentifier$ = exports.GetGroup$ = exports.GetDevice$ = exports.GetCSVHeader$ = exports.ForgotPassword$ = exports.ForgetDevice$ = exports.DescribeUserPoolDomain$ = exports.DescribeUserPoolClient$ = exports.DescribeUserPool$ = exports.DescribeUserImportJob$ = exports.DescribeTerms$ = exports.DescribeRiskConfiguration$ = exports.DescribeResourceServer$ = exports.DescribeManagedLoginBrandingByClient$ = exports.DescribeManagedLoginBranding$ = exports.DescribeIdentityProvider$ = exports.DeleteWebAuthnCredential$ = exports.DeleteUserPoolDomain$ = exports.DeleteUserPoolClientSecret$ = exports.DeleteUserPoolClient$ = exports.DeleteUserPool$ = exports.DeleteUserAttributes$ = exports.DeleteUser$ = exports.DeleteTerms$ = exports.DeleteResourceServer$ = exports.DeleteManagedLoginBranding$ = exports.DeleteIdentityProvider$ = exports.DeleteGroup$ = exports.CreateUserPoolDomain$ = exports.CreateUserPoolClient$ = exports.CreateUserPool$ = exports.CreateUserImportJob$ = exports.CreateTerms$ = exports.CreateResourceServer$ = exports.CreateManagedLoginBranding$ = exports.CreateIdentityProvider$ = exports.CreateGroup$ = exports.ConfirmSignUp$ = exports.ConfirmForgotPassword$ = exports.ConfirmDevice$ = exports.CompleteWebAuthnRegistration$ = exports.ChangePassword$ = exports.AssociateSoftwareToken$ = exports.AdminUserGlobalSignOut$ = exports.AdminUpdateUserAttributes$ = exports.AdminUpdateDeviceStatus$ = void 0;
|
|
12
|
+
exports.VerifyUserAttribute$ = exports.VerifySoftwareToken$ = exports.UpdateUserPoolDomain$ = exports.UpdateUserPoolClient$ = exports.UpdateUserPool$ = exports.UpdateUserAttributes$ = exports.UpdateTerms$ = exports.UpdateResourceServer$ = exports.UpdateManagedLoginBranding$ = exports.UpdateIdentityProvider$ = exports.UpdateGroup$ = exports.UpdateDeviceStatus$ = exports.UpdateAuthEventFeedback$ = exports.UntagResource$ = exports.TagResource$ = exports.StopUserImportJob$ = exports.StartWebAuthnRegistration$ = exports.StartUserImportJob$ = exports.SignUp$ = exports.SetUserSettings$ = exports.SetUserPoolMfaConfig$ = exports.SetUserMFAPreference$ = exports.SetUICustomization$ = exports.SetRiskConfiguration$ = exports.SetLogDeliveryConfiguration$ = exports.RevokeToken$ = exports.RespondToAuthChallenge$ = exports.ResendConfirmationCode$ = exports.ListWebAuthnCredentials$ = exports.ListUsersInGroup$ = exports.ListUsers$ = exports.ListUserPools$ = exports.ListUserPoolClientSecrets$ = exports.ListUserPoolClients$ = exports.ListUserImportJobs$ = exports.ListTerms$ = exports.ListTagsForResource$ = exports.ListResourceServers$ = exports.ListIdentityProviders$ = exports.ListGroups$ = exports.ListDevices$ = exports.InitiateAuth$ = exports.GlobalSignOut$ = exports.GetUserPoolMfaConfig$ = exports.GetUserAuthFactors$ = exports.GetUserAttributeVerificationCode$ = exports.GetUser$ = void 0;
|
|
13
13
|
const _A = "Actions";
|
|
14
14
|
const _AA = "ApplicationArn";
|
|
15
15
|
const _AACUO = "AllowAdminCreateUserOnly";
|
|
@@ -402,6 +402,7 @@ const _FAC = "ForceAliasCreation";
|
|
|
402
402
|
const _FC = "FirehoseConfiguration";
|
|
403
403
|
const _FCN = "FriendlyCredentialName";
|
|
404
404
|
const _FCT = "FirehoseConfigurationType";
|
|
405
|
+
const _FCa = "FactorConfiguration";
|
|
405
406
|
const _FD = "FeedbackDate";
|
|
406
407
|
const _FDN = "FriendlyDeviceName";
|
|
407
408
|
const _FDR = "ForgetDeviceRequest";
|
|
@@ -898,6 +899,8 @@ const _WACMEe = "WebAuthnConfigurationMissingException";
|
|
|
898
899
|
const _WACNFE = "WebAuthnChallengeNotFoundException";
|
|
899
900
|
const _WACNSE = "WebAuthnCredentialNotSupportedException";
|
|
900
901
|
const _WACT = "WebAuthnConfigurationType";
|
|
902
|
+
const _WAMS = "WebAuthnMfaSettings";
|
|
903
|
+
const _WAMST = "WebAuthnMfaSettingsType";
|
|
901
904
|
const _WANEE = "WebAuthnNotEnabledException";
|
|
902
905
|
const _WAONAE = "WebAuthnOriginNotAllowedException";
|
|
903
906
|
const _WARPME = "WebAuthnRelyingPartyMismatchException";
|
|
@@ -1491,8 +1494,8 @@ exports.AdminRespondToAuthChallengeResponse$ = [3, n0, _ARTACRd,
|
|
|
1491
1494
|
];
|
|
1492
1495
|
exports.AdminSetUserMFAPreferenceRequest$ = [3, n0, _ASUMFAPR,
|
|
1493
1496
|
0,
|
|
1494
|
-
[_U, _UPI, _SMSMS, _STMS, _EMS],
|
|
1495
|
-
[[() => UsernameType, 0], 0, () => exports.SMSMfaSettingsType$, () => exports.SoftwareTokenMfaSettingsType$, () => exports.EmailMfaSettingsType$], 2
|
|
1497
|
+
[_U, _UPI, _SMSMS, _STMS, _EMS, _WAMS],
|
|
1498
|
+
[[() => UsernameType, 0], 0, () => exports.SMSMfaSettingsType$, () => exports.SoftwareTokenMfaSettingsType$, () => exports.EmailMfaSettingsType$, () => exports.WebAuthnMfaSettingsType$], 2
|
|
1496
1499
|
];
|
|
1497
1500
|
exports.AdminSetUserMFAPreferenceResponse$ = [3, n0, _ASUMFAPRd,
|
|
1498
1501
|
0,
|
|
@@ -2506,8 +2509,8 @@ exports.SetUICustomizationResponse$ = [3, n0, _SUICRe,
|
|
|
2506
2509
|
];
|
|
2507
2510
|
exports.SetUserMFAPreferenceRequest$ = [3, n0, _SUMFAPR,
|
|
2508
2511
|
0,
|
|
2509
|
-
[_ATc, _SMSMS, _STMS, _EMS],
|
|
2510
|
-
[[() => TokenModelType, 0], () => exports.SMSMfaSettingsType$, () => exports.SoftwareTokenMfaSettingsType$, () => exports.EmailMfaSettingsType$], 1
|
|
2512
|
+
[_ATc, _SMSMS, _STMS, _EMS, _WAMS],
|
|
2513
|
+
[[() => TokenModelType, 0], () => exports.SMSMfaSettingsType$, () => exports.SoftwareTokenMfaSettingsType$, () => exports.EmailMfaSettingsType$, () => exports.WebAuthnMfaSettingsType$], 1
|
|
2511
2514
|
];
|
|
2512
2515
|
exports.SetUserMFAPreferenceResponse$ = [3, n0, _SUMFAPRe,
|
|
2513
2516
|
0,
|
|
@@ -2841,14 +2844,19 @@ exports.VerifyUserAttributeResponse$ = [3, n0, _VUARe,
|
|
|
2841
2844
|
];
|
|
2842
2845
|
exports.WebAuthnConfigurationType$ = [3, n0, _WACT,
|
|
2843
2846
|
0,
|
|
2844
|
-
[_RPI, _UV],
|
|
2845
|
-
[0, 0]
|
|
2847
|
+
[_RPI, _UV, _FCa],
|
|
2848
|
+
[0, 0, 0]
|
|
2846
2849
|
];
|
|
2847
2850
|
exports.WebAuthnCredentialDescription$ = [3, n0, _WACD,
|
|
2848
2851
|
0,
|
|
2849
2852
|
[_CIr, _FCN, _RPI, _ATu, _CAr, _AAu],
|
|
2850
2853
|
[0, 0, 0, 64 | 0, 4, 0], 5
|
|
2851
2854
|
];
|
|
2855
|
+
exports.WebAuthnMfaSettingsType$ = [3, n0, _WAMST,
|
|
2856
|
+
0,
|
|
2857
|
+
[_E],
|
|
2858
|
+
[2]
|
|
2859
|
+
];
|
|
2852
2860
|
var __Unit = "unit";
|
|
2853
2861
|
var AliasAttributesListType = 64 | 0;
|
|
2854
2862
|
var AllowedFirstAuthFactorsListType = 64 | 0;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -274,6 +274,10 @@ export const LogLevel = {
|
|
|
274
274
|
ERROR: "ERROR",
|
|
275
275
|
INFO: "INFO",
|
|
276
276
|
};
|
|
277
|
+
export const WebAuthnFactorConfigurationType = {
|
|
278
|
+
MULTI_FACTOR_WITH_USER_VERIFICATION: "MULTI_FACTOR_WITH_USER_VERIFICATION",
|
|
279
|
+
SINGLE_FACTOR: "SINGLE_FACTOR",
|
|
280
|
+
};
|
|
277
281
|
export const UserVerificationType = {
|
|
278
282
|
PREFERRED: "preferred",
|
|
279
283
|
REQUIRED: "required",
|
|
@@ -390,6 +390,7 @@ const _FAC = "ForceAliasCreation";
|
|
|
390
390
|
const _FC = "FirehoseConfiguration";
|
|
391
391
|
const _FCN = "FriendlyCredentialName";
|
|
392
392
|
const _FCT = "FirehoseConfigurationType";
|
|
393
|
+
const _FCa = "FactorConfiguration";
|
|
393
394
|
const _FD = "FeedbackDate";
|
|
394
395
|
const _FDN = "FriendlyDeviceName";
|
|
395
396
|
const _FDR = "ForgetDeviceRequest";
|
|
@@ -886,6 +887,8 @@ const _WACMEe = "WebAuthnConfigurationMissingException";
|
|
|
886
887
|
const _WACNFE = "WebAuthnChallengeNotFoundException";
|
|
887
888
|
const _WACNSE = "WebAuthnCredentialNotSupportedException";
|
|
888
889
|
const _WACT = "WebAuthnConfigurationType";
|
|
890
|
+
const _WAMS = "WebAuthnMfaSettings";
|
|
891
|
+
const _WAMST = "WebAuthnMfaSettingsType";
|
|
889
892
|
const _WANEE = "WebAuthnNotEnabledException";
|
|
890
893
|
const _WAONAE = "WebAuthnOriginNotAllowedException";
|
|
891
894
|
const _WARPME = "WebAuthnRelyingPartyMismatchException";
|
|
@@ -1479,8 +1482,8 @@ export var AdminRespondToAuthChallengeResponse$ = [3, n0, _ARTACRd,
|
|
|
1479
1482
|
];
|
|
1480
1483
|
export var AdminSetUserMFAPreferenceRequest$ = [3, n0, _ASUMFAPR,
|
|
1481
1484
|
0,
|
|
1482
|
-
[_U, _UPI, _SMSMS, _STMS, _EMS],
|
|
1483
|
-
[[() => UsernameType, 0], 0, () => SMSMfaSettingsType$, () => SoftwareTokenMfaSettingsType$, () => EmailMfaSettingsType$], 2
|
|
1485
|
+
[_U, _UPI, _SMSMS, _STMS, _EMS, _WAMS],
|
|
1486
|
+
[[() => UsernameType, 0], 0, () => SMSMfaSettingsType$, () => SoftwareTokenMfaSettingsType$, () => EmailMfaSettingsType$, () => WebAuthnMfaSettingsType$], 2
|
|
1484
1487
|
];
|
|
1485
1488
|
export var AdminSetUserMFAPreferenceResponse$ = [3, n0, _ASUMFAPRd,
|
|
1486
1489
|
0,
|
|
@@ -2494,8 +2497,8 @@ export var SetUICustomizationResponse$ = [3, n0, _SUICRe,
|
|
|
2494
2497
|
];
|
|
2495
2498
|
export var SetUserMFAPreferenceRequest$ = [3, n0, _SUMFAPR,
|
|
2496
2499
|
0,
|
|
2497
|
-
[_ATc, _SMSMS, _STMS, _EMS],
|
|
2498
|
-
[[() => TokenModelType, 0], () => SMSMfaSettingsType$, () => SoftwareTokenMfaSettingsType$, () => EmailMfaSettingsType$], 1
|
|
2500
|
+
[_ATc, _SMSMS, _STMS, _EMS, _WAMS],
|
|
2501
|
+
[[() => TokenModelType, 0], () => SMSMfaSettingsType$, () => SoftwareTokenMfaSettingsType$, () => EmailMfaSettingsType$, () => WebAuthnMfaSettingsType$], 1
|
|
2499
2502
|
];
|
|
2500
2503
|
export var SetUserMFAPreferenceResponse$ = [3, n0, _SUMFAPRe,
|
|
2501
2504
|
0,
|
|
@@ -2829,14 +2832,19 @@ export var VerifyUserAttributeResponse$ = [3, n0, _VUARe,
|
|
|
2829
2832
|
];
|
|
2830
2833
|
export var WebAuthnConfigurationType$ = [3, n0, _WACT,
|
|
2831
2834
|
0,
|
|
2832
|
-
[_RPI, _UV],
|
|
2833
|
-
[0, 0]
|
|
2835
|
+
[_RPI, _UV, _FCa],
|
|
2836
|
+
[0, 0, 0]
|
|
2834
2837
|
];
|
|
2835
2838
|
export var WebAuthnCredentialDescription$ = [3, n0, _WACD,
|
|
2836
2839
|
0,
|
|
2837
2840
|
[_CIr, _FCN, _RPI, _ATu, _CAr, _AAu],
|
|
2838
2841
|
[0, 0, 0, 64 | 0, 4, 0], 5
|
|
2839
2842
|
];
|
|
2843
|
+
export var WebAuthnMfaSettingsType$ = [3, n0, _WAMST,
|
|
2844
|
+
0,
|
|
2845
|
+
[_E],
|
|
2846
|
+
[2]
|
|
2847
|
+
];
|
|
2840
2848
|
var __Unit = "unit";
|
|
2841
2849
|
var AliasAttributesListType = 64 | 0;
|
|
2842
2850
|
var AllowedFirstAuthFactorsListType = 64 | 0;
|
|
@@ -73,6 +73,9 @@ declare const AdminSetUserMFAPreferenceCommand_base: {
|
|
|
73
73
|
* Enabled: true || false,
|
|
74
74
|
* PreferredMfa: true || false,
|
|
75
75
|
* },
|
|
76
|
+
* WebAuthnMfaSettings: { // WebAuthnMfaSettingsType
|
|
77
|
+
* Enabled: true || false,
|
|
78
|
+
* },
|
|
76
79
|
* Username: "STRING_VALUE", // required
|
|
77
80
|
* UserPoolId: "STRING_VALUE", // required
|
|
78
81
|
* };
|
|
@@ -99,6 +99,7 @@ declare const GetUserPoolMfaConfigCommand_base: {
|
|
|
99
99
|
* // WebAuthnConfiguration: { // WebAuthnConfigurationType
|
|
100
100
|
* // RelyingPartyId: "STRING_VALUE",
|
|
101
101
|
* // UserVerification: "required" || "preferred",
|
|
102
|
+
* // FactorConfiguration: "SINGLE_FACTOR" || "MULTI_FACTOR_WITH_USER_VERIFICATION",
|
|
102
103
|
* // },
|
|
103
104
|
* // };
|
|
104
105
|
*
|
|
@@ -64,6 +64,9 @@ declare const SetUserMFAPreferenceCommand_base: {
|
|
|
64
64
|
* Enabled: true || false,
|
|
65
65
|
* PreferredMfa: true || false,
|
|
66
66
|
* },
|
|
67
|
+
* WebAuthnMfaSettings: { // WebAuthnMfaSettingsType
|
|
68
|
+
* Enabled: true || false,
|
|
69
|
+
* },
|
|
67
70
|
* AccessToken: "STRING_VALUE", // required
|
|
68
71
|
* };
|
|
69
72
|
* const command = new SetUserMFAPreferenceCommand(input);
|
|
@@ -75,6 +75,7 @@ declare const SetUserPoolMfaConfigCommand_base: {
|
|
|
75
75
|
* WebAuthnConfiguration: { // WebAuthnConfigurationType
|
|
76
76
|
* RelyingPartyId: "STRING_VALUE",
|
|
77
77
|
* UserVerification: "required" || "preferred",
|
|
78
|
+
* FactorConfiguration: "SINGLE_FACTOR" || "MULTI_FACTOR_WITH_USER_VERIFICATION",
|
|
78
79
|
* },
|
|
79
80
|
* };
|
|
80
81
|
* const command = new SetUserPoolMfaConfigCommand(input);
|
|
@@ -99,6 +100,7 @@ declare const SetUserPoolMfaConfigCommand_base: {
|
|
|
99
100
|
* // WebAuthnConfiguration: { // WebAuthnConfigurationType
|
|
100
101
|
* // RelyingPartyId: "STRING_VALUE",
|
|
101
102
|
* // UserVerification: "required" || "preferred",
|
|
103
|
+
* // FactorConfiguration: "SINGLE_FACTOR" || "MULTI_FACTOR_WITH_USER_VERIFICATION",
|
|
102
104
|
* // },
|
|
103
105
|
* // };
|
|
104
106
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import type { UpdateResourceServerRequest } from "../models/
|
|
5
|
-
import type { UpdateResourceServerResponse } from "../models/models_1";
|
|
4
|
+
import type { UpdateResourceServerRequest, UpdateResourceServerResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -666,6 +666,18 @@ export declare const LogLevel: {
|
|
|
666
666
|
* @public
|
|
667
667
|
*/
|
|
668
668
|
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
* @enum
|
|
672
|
+
*/
|
|
673
|
+
export declare const WebAuthnFactorConfigurationType: {
|
|
674
|
+
readonly MULTI_FACTOR_WITH_USER_VERIFICATION: "MULTI_FACTOR_WITH_USER_VERIFICATION";
|
|
675
|
+
readonly SINGLE_FACTOR: "SINGLE_FACTOR";
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
export type WebAuthnFactorConfigurationType = (typeof WebAuthnFactorConfigurationType)[keyof typeof WebAuthnFactorConfigurationType];
|
|
669
681
|
/**
|
|
670
682
|
* @public
|
|
671
683
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AccountTakeoverEventActionType, AdvancedSecurityEnabledModeType, AdvancedSecurityModeType, AliasAttributeType, AssetCategoryType, AssetExtensionType, AttributeDataType, AuthFactorType, AuthFlowType, ChallengeName, ChallengeNameType, ChallengeResponse, ColorSchemeModeType, CompromisedCredentialsEventActionType, CustomEmailSenderLambdaVersionType, CustomSMSSenderLambdaVersionType, DefaultEmailOptionType, DeletionProtectionType, DeliveryMediumType, DeviceRememberedStatusType, DomainStatusType, EmailSendingAccountType, EventFilterType, EventResponseType, EventSourceName, EventType, ExplicitAuthFlowsType, FeatureType, FeedbackValueType, IdentityProviderTypeType, InboundFederationLambdaVersionType, LogLevel, MessageActionType, OAuthFlowType, PreTokenGenerationLambdaVersionType, PreventUserExistenceErrorTypes, RecoveryOptionNameType, RiskDecisionType, RiskLevelType, StatusType, TermsEnforcementType, TermsSourceType, TimeUnitsType, UserImportJobStatusType, UsernameAttributeType, UserPoolMfaType, UserPoolTierType, UserStatusType, UserVerificationType, VerifiedAttributeType } from "./enums";
|
|
2
|
+
import type { AccountTakeoverEventActionType, AdvancedSecurityEnabledModeType, AdvancedSecurityModeType, AliasAttributeType, AssetCategoryType, AssetExtensionType, AttributeDataType, AuthFactorType, AuthFlowType, ChallengeName, ChallengeNameType, ChallengeResponse, ColorSchemeModeType, CompromisedCredentialsEventActionType, CustomEmailSenderLambdaVersionType, CustomSMSSenderLambdaVersionType, DefaultEmailOptionType, DeletionProtectionType, DeliveryMediumType, DeviceRememberedStatusType, DomainStatusType, EmailSendingAccountType, EventFilterType, EventResponseType, EventSourceName, EventType, ExplicitAuthFlowsType, FeatureType, FeedbackValueType, IdentityProviderTypeType, InboundFederationLambdaVersionType, LogLevel, MessageActionType, OAuthFlowType, PreTokenGenerationLambdaVersionType, PreventUserExistenceErrorTypes, RecoveryOptionNameType, RiskDecisionType, RiskLevelType, StatusType, TermsEnforcementType, TermsSourceType, TimeUnitsType, UserImportJobStatusType, UsernameAttributeType, UserPoolMfaType, UserPoolTierType, UserStatusType, UserVerificationType, VerifiedAttributeType, WebAuthnFactorConfigurationType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>A recovery option for a user. The <code>AccountRecoverySettingType</code> data type is
|
|
5
5
|
* an array of this object. Each <code>RecoveryOptionType</code> has a priority property
|
|
@@ -3086,6 +3086,23 @@ export interface SoftwareTokenMfaSettingsType {
|
|
|
3086
3086
|
*/
|
|
3087
3087
|
PreferredMfa?: boolean | undefined;
|
|
3088
3088
|
}
|
|
3089
|
+
/**
|
|
3090
|
+
* <p>A user's preference for using passkey, or WebAuthn, multi-factor authentication
|
|
3091
|
+
* (MFA). Turns passkey MFA on and off for the user. Unlike other MFA settings types,
|
|
3092
|
+
* this type doesn't include a <code>PreferredMfa</code> option because passkey MFA
|
|
3093
|
+
* applies only when passkey is the first authentication factor.</p>
|
|
3094
|
+
* @public
|
|
3095
|
+
*/
|
|
3096
|
+
export interface WebAuthnMfaSettingsType {
|
|
3097
|
+
/**
|
|
3098
|
+
* <p>Specifies whether passkey MFA is activated for a user. When activated, the user's
|
|
3099
|
+
* passkey authentication requires user verification, and passkey sign-in is available
|
|
3100
|
+
* when MFA is required. The user must also have at least one other MFA method such as
|
|
3101
|
+
* SMS, TOTP, or email activated to prevent account lockout.</p>
|
|
3102
|
+
* @public
|
|
3103
|
+
*/
|
|
3104
|
+
Enabled?: boolean | undefined;
|
|
3105
|
+
}
|
|
3089
3106
|
/**
|
|
3090
3107
|
* @public
|
|
3091
3108
|
*/
|
|
@@ -3111,6 +3128,17 @@ export interface AdminSetUserMFAPreferenceRequest {
|
|
|
3111
3128
|
* @public
|
|
3112
3129
|
*/
|
|
3113
3130
|
EmailMfaSettings?: EmailMfaSettingsType | undefined;
|
|
3131
|
+
/**
|
|
3132
|
+
* <p>User preferences for passkey MFA. Activates or deactivates passkey MFA for the user.
|
|
3133
|
+
* When activated, passkey authentication requires user verification, and passkey sign-in
|
|
3134
|
+
* is available when MFA is required. To activate this setting, the
|
|
3135
|
+
* <code>FactorConfiguration</code> of your user pool <code>WebAuthnConfiguration</code>
|
|
3136
|
+
* must be <code>MULTI_FACTOR_WITH_USER_VERIFICATION</code>.
|
|
3137
|
+
* To activate this setting, your user pool must be in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/feature-plans-features-essentials.html">
|
|
3138
|
+
* Essentials tier</a> or higher.</p>
|
|
3139
|
+
* @public
|
|
3140
|
+
*/
|
|
3141
|
+
WebAuthnMfaSettings?: WebAuthnMfaSettingsType | undefined;
|
|
3114
3142
|
/**
|
|
3115
3143
|
* <p>The name of the user that you want to query or modify. The value of this parameter
|
|
3116
3144
|
* is typically your user's username, but it can be any of their alias attributes. If
|
|
@@ -8205,6 +8233,15 @@ export interface WebAuthnConfigurationType {
|
|
|
8205
8233
|
* @public
|
|
8206
8234
|
*/
|
|
8207
8235
|
UserVerification?: UserVerificationType | undefined;
|
|
8236
|
+
/**
|
|
8237
|
+
* <p>Sets whether passkeys can be used as multi-factor authentication (MFA). When set to
|
|
8238
|
+
* <code>MULTI_FACTOR_WITH_USER_VERIFICATION</code>, passkey authentication with user
|
|
8239
|
+
* verification satisfies MFA requirements. When set to <code>SINGLE_FACTOR</code> or not
|
|
8240
|
+
* set, passkeys are a single authentication factor. To activate this setting, your user pool must be in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/feature-plans-features-essentials.html">
|
|
8241
|
+
* Essentials tier</a> or higher.</p>
|
|
8242
|
+
* @public
|
|
8243
|
+
*/
|
|
8244
|
+
FactorConfiguration?: WebAuthnFactorConfigurationType | undefined;
|
|
8208
8245
|
}
|
|
8209
8246
|
/**
|
|
8210
8247
|
* @public
|
|
@@ -8244,10 +8281,10 @@ export interface GetUserPoolMfaConfigResponse {
|
|
|
8244
8281
|
*/
|
|
8245
8282
|
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
8246
8283
|
/**
|
|
8247
|
-
* <p>Shows user pool configuration for sign-in with passkey authenticators
|
|
8248
|
-
* devices and security keys.
|
|
8249
|
-
*
|
|
8250
|
-
*
|
|
8284
|
+
* <p>Shows user pool configuration for sign-in with passkey authenticators such as
|
|
8285
|
+
* biometric devices and security keys. Includes relying-party configuration,
|
|
8286
|
+
* user-verification requirements, and whether passkeys can satisfy MFA
|
|
8287
|
+
* requirements.</p>
|
|
8251
8288
|
* @public
|
|
8252
8289
|
*/
|
|
8253
8290
|
WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
|
|
@@ -10291,6 +10328,17 @@ export interface SetUserMFAPreferenceRequest {
|
|
|
10291
10328
|
* @public
|
|
10292
10329
|
*/
|
|
10293
10330
|
EmailMfaSettings?: EmailMfaSettingsType | undefined;
|
|
10331
|
+
/**
|
|
10332
|
+
* <p>User preferences for passkey MFA. Activates or deactivates passkey MFA for the user.
|
|
10333
|
+
* When activated, passkey authentication requires user verification, and passkey sign-in
|
|
10334
|
+
* is available when MFA is required. To activate this setting, the
|
|
10335
|
+
* <code>FactorConfiguration</code> of your user pool <code>WebAuthnConfiguration</code>
|
|
10336
|
+
* must be <code>MULTI_FACTOR_WITH_USER_VERIFICATION</code>.
|
|
10337
|
+
* To activate this setting, your user pool must be in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/feature-plans-features-essentials.html">
|
|
10338
|
+
* Essentials tier</a> or higher.</p>
|
|
10339
|
+
* @public
|
|
10340
|
+
*/
|
|
10341
|
+
WebAuthnMfaSettings?: WebAuthnMfaSettingsType | undefined;
|
|
10294
10342
|
/**
|
|
10295
10343
|
* <p>A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for
|
|
10296
10344
|
* <code>aws.cognito.signin.user.admin</code>.</p>
|
|
@@ -10347,8 +10395,8 @@ export interface SetUserPoolMfaConfigRequest {
|
|
|
10347
10395
|
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
10348
10396
|
/**
|
|
10349
10397
|
* <p>The configuration of your user pool for passkey, or WebAuthn, authentication and
|
|
10350
|
-
* registration.
|
|
10351
|
-
*
|
|
10398
|
+
* registration. Includes relying-party configuration, user-verification requirements,
|
|
10399
|
+
* and whether passkeys can satisfy MFA requirements.</p>
|
|
10352
10400
|
* @public
|
|
10353
10401
|
*/
|
|
10354
10402
|
WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
|
|
@@ -10393,7 +10441,7 @@ export interface SetUserPoolMfaConfigResponse {
|
|
|
10393
10441
|
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
10394
10442
|
/**
|
|
10395
10443
|
* <p>The configuration of your user pool for passkey, or WebAuthn, sign-in with
|
|
10396
|
-
* authenticators
|
|
10444
|
+
* authenticators such as biometric and security-key devices. Includes relying-party
|
|
10397
10445
|
* configuration and settings for user-verification requirements.</p>
|
|
10398
10446
|
* @public
|
|
10399
10447
|
*/
|
|
@@ -11044,35 +11092,3 @@ export interface UpdateManagedLoginBrandingResponse {
|
|
|
11044
11092
|
*/
|
|
11045
11093
|
ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
|
|
11046
11094
|
}
|
|
11047
|
-
/**
|
|
11048
|
-
* @public
|
|
11049
|
-
*/
|
|
11050
|
-
export interface UpdateResourceServerRequest {
|
|
11051
|
-
/**
|
|
11052
|
-
* <p>The ID of the user pool that contains the resource server that you want to
|
|
11053
|
-
* update.</p>
|
|
11054
|
-
* @public
|
|
11055
|
-
*/
|
|
11056
|
-
UserPoolId: string | undefined;
|
|
11057
|
-
/**
|
|
11058
|
-
* <p>A unique resource server identifier for the resource server. The identifier can be an
|
|
11059
|
-
* API friendly name like <code>solar-system-data</code>. You can also set an API URL like
|
|
11060
|
-
* <code>https://solar-system-data-api.example.com</code> as your identifier.</p>
|
|
11061
|
-
* <p>Amazon Cognito represents scopes in the access token in the format
|
|
11062
|
-
* <code>$resource-server-identifier/$scope</code>. Longer scope-identifier strings
|
|
11063
|
-
* increase the size of your access tokens.</p>
|
|
11064
|
-
* @public
|
|
11065
|
-
*/
|
|
11066
|
-
Identifier: string | undefined;
|
|
11067
|
-
/**
|
|
11068
|
-
* <p>The updated name of the resource server.</p>
|
|
11069
|
-
* @public
|
|
11070
|
-
*/
|
|
11071
|
-
Name: string | undefined;
|
|
11072
|
-
/**
|
|
11073
|
-
* <p>An array of updated custom scope names and descriptions that you want to associate
|
|
11074
|
-
* with your resource server.</p>
|
|
11075
|
-
* @public
|
|
11076
|
-
*/
|
|
11077
|
-
Scopes?: ResourceServerScopeType[] | undefined;
|
|
11078
|
-
}
|
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
import type { DeletionProtectionType, ExplicitAuthFlowsType, OAuthFlowType, PreventUserExistenceErrorTypes, TermsEnforcementType, TermsSourceType, UserPoolMfaType, UserPoolTierType, VerifiedAttributeType, VerifySoftwareTokenResponseType } from "./enums";
|
|
2
|
-
import type { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, EmailConfigurationType, LambdaConfigType, RefreshTokenRotationType, ResourceServerType, SmsConfigurationType, TermsType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserPoolAddOnsType, UserPoolClientType, UserPoolPolicyType, VerificationMessageTemplateType } from "./models_0";
|
|
2
|
+
import type { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, EmailConfigurationType, LambdaConfigType, RefreshTokenRotationType, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TermsType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserPoolAddOnsType, UserPoolClientType, UserPoolPolicyType, VerificationMessageTemplateType } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateResourceServerRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ID of the user pool that contains the resource server that you want to
|
|
9
|
+
* update.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
UserPoolId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>A unique resource server identifier for the resource server. The identifier can be an
|
|
15
|
+
* API friendly name like <code>solar-system-data</code>. You can also set an API URL like
|
|
16
|
+
* <code>https://solar-system-data-api.example.com</code> as your identifier.</p>
|
|
17
|
+
* <p>Amazon Cognito represents scopes in the access token in the format
|
|
18
|
+
* <code>$resource-server-identifier/$scope</code>. Longer scope-identifier strings
|
|
19
|
+
* increase the size of your access tokens.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
Identifier: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The updated name of the resource server.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
Name: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>An array of updated custom scope names and descriptions that you want to associate
|
|
30
|
+
* with your resource server.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
Scopes?: ResourceServerScopeType[] | undefined;
|
|
34
|
+
}
|
|
3
35
|
/**
|
|
4
36
|
* @public
|
|
5
37
|
*/
|
|
@@ -379,6 +379,7 @@ export declare var VerifyUserAttributeRequest$: StaticStructureSchema;
|
|
|
379
379
|
export declare var VerifyUserAttributeResponse$: StaticStructureSchema;
|
|
380
380
|
export declare var WebAuthnConfigurationType$: StaticStructureSchema;
|
|
381
381
|
export declare var WebAuthnCredentialDescription$: StaticStructureSchema;
|
|
382
|
+
export declare var WebAuthnMfaSettingsType$: StaticStructureSchema;
|
|
382
383
|
export declare var AddCustomAttributes$: StaticOperationSchema;
|
|
383
384
|
export declare var AddUserPoolClientSecret$: StaticOperationSchema;
|
|
384
385
|
export declare var AdminAddUserToGroup$: StaticOperationSchema;
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CognitoIdentityProviderClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
UpdateResourceServerRequest,
|
|
10
|
+
UpdateResourceServerResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface UpdateResourceServerCommandInput
|
|
@@ -363,6 +363,12 @@ export declare const LogLevel: {
|
|
|
363
363
|
readonly INFO: "INFO";
|
|
364
364
|
};
|
|
365
365
|
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
366
|
+
export declare const WebAuthnFactorConfigurationType: {
|
|
367
|
+
readonly MULTI_FACTOR_WITH_USER_VERIFICATION: "MULTI_FACTOR_WITH_USER_VERIFICATION";
|
|
368
|
+
readonly SINGLE_FACTOR: "SINGLE_FACTOR";
|
|
369
|
+
};
|
|
370
|
+
export type WebAuthnFactorConfigurationType =
|
|
371
|
+
(typeof WebAuthnFactorConfigurationType)[keyof typeof WebAuthnFactorConfigurationType];
|
|
366
372
|
export declare const UserVerificationType: {
|
|
367
373
|
readonly PREFERRED: "preferred";
|
|
368
374
|
readonly REQUIRED: "required";
|
|
@@ -50,6 +50,7 @@ import {
|
|
|
50
50
|
UserStatusType,
|
|
51
51
|
UserVerificationType,
|
|
52
52
|
VerifiedAttributeType,
|
|
53
|
+
WebAuthnFactorConfigurationType,
|
|
53
54
|
} from "./enums";
|
|
54
55
|
export interface RecoveryOptionType {
|
|
55
56
|
Priority: number | undefined;
|
|
@@ -394,10 +395,14 @@ export interface SoftwareTokenMfaSettingsType {
|
|
|
394
395
|
Enabled?: boolean | undefined;
|
|
395
396
|
PreferredMfa?: boolean | undefined;
|
|
396
397
|
}
|
|
398
|
+
export interface WebAuthnMfaSettingsType {
|
|
399
|
+
Enabled?: boolean | undefined;
|
|
400
|
+
}
|
|
397
401
|
export interface AdminSetUserMFAPreferenceRequest {
|
|
398
402
|
SMSMfaSettings?: SMSMfaSettingsType | undefined;
|
|
399
403
|
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
|
|
400
404
|
EmailMfaSettings?: EmailMfaSettingsType | undefined;
|
|
405
|
+
WebAuthnMfaSettings?: WebAuthnMfaSettingsType | undefined;
|
|
401
406
|
Username: string | undefined;
|
|
402
407
|
UserPoolId: string | undefined;
|
|
403
408
|
}
|
|
@@ -1169,6 +1174,7 @@ export interface SoftwareTokenMfaConfigType {
|
|
|
1169
1174
|
export interface WebAuthnConfigurationType {
|
|
1170
1175
|
RelyingPartyId?: string | undefined;
|
|
1171
1176
|
UserVerification?: UserVerificationType | undefined;
|
|
1177
|
+
FactorConfiguration?: WebAuthnFactorConfigurationType | undefined;
|
|
1172
1178
|
}
|
|
1173
1179
|
export interface GetUserPoolMfaConfigResponse {
|
|
1174
1180
|
SmsMfaConfiguration?: SmsMfaConfigType | undefined;
|
|
@@ -1413,6 +1419,7 @@ export interface SetUserMFAPreferenceRequest {
|
|
|
1413
1419
|
SMSMfaSettings?: SMSMfaSettingsType | undefined;
|
|
1414
1420
|
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
|
|
1415
1421
|
EmailMfaSettings?: EmailMfaSettingsType | undefined;
|
|
1422
|
+
WebAuthnMfaSettings?: WebAuthnMfaSettingsType | undefined;
|
|
1416
1423
|
AccessToken: string | undefined;
|
|
1417
1424
|
}
|
|
1418
1425
|
export interface SetUserMFAPreferenceResponse {}
|
|
@@ -1527,9 +1534,3 @@ export interface UpdateManagedLoginBrandingRequest {
|
|
|
1527
1534
|
export interface UpdateManagedLoginBrandingResponse {
|
|
1528
1535
|
ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
|
|
1529
1536
|
}
|
|
1530
|
-
export interface UpdateResourceServerRequest {
|
|
1531
|
-
UserPoolId: string | undefined;
|
|
1532
|
-
Identifier: string | undefined;
|
|
1533
|
-
Name: string | undefined;
|
|
1534
|
-
Scopes?: ResourceServerScopeType[] | undefined;
|
|
1535
|
-
}
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
EmailConfigurationType,
|
|
22
22
|
LambdaConfigType,
|
|
23
23
|
RefreshTokenRotationType,
|
|
24
|
+
ResourceServerScopeType,
|
|
24
25
|
ResourceServerType,
|
|
25
26
|
SmsConfigurationType,
|
|
26
27
|
TermsType,
|
|
@@ -31,6 +32,12 @@ import {
|
|
|
31
32
|
UserPoolPolicyType,
|
|
32
33
|
VerificationMessageTemplateType,
|
|
33
34
|
} from "./models_0";
|
|
35
|
+
export interface UpdateResourceServerRequest {
|
|
36
|
+
UserPoolId: string | undefined;
|
|
37
|
+
Identifier: string | undefined;
|
|
38
|
+
Name: string | undefined;
|
|
39
|
+
Scopes?: ResourceServerScopeType[] | undefined;
|
|
40
|
+
}
|
|
34
41
|
export interface UpdateResourceServerResponse {
|
|
35
42
|
ResourceServer: ResourceServerType | undefined;
|
|
36
43
|
}
|
|
@@ -378,6 +378,7 @@ export declare var VerifyUserAttributeRequest$: StaticStructureSchema;
|
|
|
378
378
|
export declare var VerifyUserAttributeResponse$: StaticStructureSchema;
|
|
379
379
|
export declare var WebAuthnConfigurationType$: StaticStructureSchema;
|
|
380
380
|
export declare var WebAuthnCredentialDescription$: StaticStructureSchema;
|
|
381
|
+
export declare var WebAuthnMfaSettingsType$: StaticStructureSchema;
|
|
381
382
|
export declare var AddCustomAttributes$: StaticOperationSchema;
|
|
382
383
|
export declare var AddUserPoolClientSecret$: StaticOperationSchema;
|
|
383
384
|
export declare var AdminAddUserToGroup$: StaticOperationSchema;
|
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.1032.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-identity-provider",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.5.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.12.
|
|
49
|
-
"@smithy/types": "^4.14.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "^3.974.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.32",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.31",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.12",
|
|
31
|
+
"@aws-sdk/types": "^3.973.8",
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.7",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.17",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.16",
|
|
36
|
+
"@smithy/core": "^3.23.15",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.17",
|
|
38
|
+
"@smithy/hash-node": "^4.2.14",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.30",
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.3",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.18",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.14",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.14",
|
|
46
|
+
"@smithy/node-http-handler": "^4.5.3",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.14",
|
|
48
|
+
"@smithy/smithy-client": "^4.12.11",
|
|
49
|
+
"@smithy/types": "^4.14.1",
|
|
50
|
+
"@smithy/url-parser": "^4.2.14",
|
|
51
51
|
"@smithy/util-base64": "^4.3.2",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.47",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.52",
|
|
56
|
+
"@smithy/util-endpoints": "^3.4.1",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
+
"@smithy/util-retry": "^4.3.2",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|