Awso_cognito_idp_syncSourceval add_custom_attributes :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AddCustomAttributesRequest.t ->
(Awso_cognito_idp.Values.AddCustomAttributesResponse.t,
Awso_cognito_idp.Values.AddCustomAttributesResponse.error)
Result.tval add_user_pool_client_secret :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AddUserPoolClientSecretRequest.t ->
(Awso_cognito_idp.Values.AddUserPoolClientSecretResponse.t,
Awso_cognito_idp.Values.AddUserPoolClientSecretResponse.error)
Result.tval admin_add_user_to_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminAddUserToGroupRequest.t ->
(unit, unit) Result.tval admin_confirm_sign_up :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminConfirmSignUpRequest.t ->
(Awso_cognito_idp.Values.AdminConfirmSignUpResponse.t,
Awso_cognito_idp.Values.AdminConfirmSignUpResponse.error)
Result.tval admin_create_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminCreateUserRequest.t ->
(Awso_cognito_idp.Values.AdminCreateUserResponse.t,
Awso_cognito_idp.Values.AdminCreateUserResponse.error)
Result.tval admin_delete_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminDeleteUserRequest.t ->
(unit, unit) Result.tval admin_delete_user_attributes :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminDeleteUserAttributesRequest.t ->
(Awso_cognito_idp.Values.AdminDeleteUserAttributesResponse.t,
Awso_cognito_idp.Values.AdminDeleteUserAttributesResponse.error)
Result.tval admin_disable_provider_for_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminDisableProviderForUserRequest.t ->
(Awso_cognito_idp.Values.AdminDisableProviderForUserResponse.t,
Awso_cognito_idp.Values.AdminDisableProviderForUserResponse.error)
Result.tval admin_disable_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminDisableUserRequest.t ->
(Awso_cognito_idp.Values.AdminDisableUserResponse.t,
Awso_cognito_idp.Values.AdminDisableUserResponse.error)
Result.tval admin_enable_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminEnableUserRequest.t ->
(Awso_cognito_idp.Values.AdminEnableUserResponse.t,
Awso_cognito_idp.Values.AdminEnableUserResponse.error)
Result.tval admin_forget_device :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminForgetDeviceRequest.t ->
(unit, unit) Result.tval admin_get_device :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminGetDeviceRequest.t ->
(Awso_cognito_idp.Values.AdminGetDeviceResponse.t,
Awso_cognito_idp.Values.AdminGetDeviceResponse.error)
Result.tval admin_get_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminGetUserRequest.t ->
(Awso_cognito_idp.Values.AdminGetUserResponse.t,
Awso_cognito_idp.Values.AdminGetUserResponse.error)
Result.tval admin_initiate_auth :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminInitiateAuthRequest.t ->
(Awso_cognito_idp.Values.AdminInitiateAuthResponse.t,
Awso_cognito_idp.Values.AdminInitiateAuthResponse.error)
Result.tval admin_link_provider_for_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminLinkProviderForUserRequest.t ->
(Awso_cognito_idp.Values.AdminLinkProviderForUserResponse.t,
Awso_cognito_idp.Values.AdminLinkProviderForUserResponse.error)
Result.tval admin_list_devices :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminListDevicesRequest.t ->
(Awso_cognito_idp.Values.AdminListDevicesResponse.t,
Awso_cognito_idp.Values.AdminListDevicesResponse.error)
Result.tval admin_list_groups_for_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminListGroupsForUserRequest.t ->
(Awso_cognito_idp.Values.AdminListGroupsForUserResponse.t,
Awso_cognito_idp.Values.AdminListGroupsForUserResponse.error)
Result.tval admin_list_user_auth_events :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminListUserAuthEventsRequest.t ->
(Awso_cognito_idp.Values.AdminListUserAuthEventsResponse.t,
Awso_cognito_idp.Values.AdminListUserAuthEventsResponse.error)
Result.tval admin_remove_user_from_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminRemoveUserFromGroupRequest.t ->
(unit, unit) Result.tval admin_reset_user_password :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminResetUserPasswordRequest.t ->
(Awso_cognito_idp.Values.AdminResetUserPasswordResponse.t,
Awso_cognito_idp.Values.AdminResetUserPasswordResponse.error)
Result.tval admin_respond_to_auth_challenge :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminRespondToAuthChallengeRequest.t ->
(Awso_cognito_idp.Values.AdminRespondToAuthChallengeResponse.t,
Awso_cognito_idp.Values.AdminRespondToAuthChallengeResponse.error)
Result.tval admin_set_user_m_f_a_preference :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminSetUserMFAPreferenceRequest.t ->
(Awso_cognito_idp.Values.AdminSetUserMFAPreferenceResponse.t,
Awso_cognito_idp.Values.AdminSetUserMFAPreferenceResponse.error)
Result.tval admin_set_user_password :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminSetUserPasswordRequest.t ->
(Awso_cognito_idp.Values.AdminSetUserPasswordResponse.t,
Awso_cognito_idp.Values.AdminSetUserPasswordResponse.error)
Result.tval admin_set_user_settings :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminSetUserSettingsRequest.t ->
(Awso_cognito_idp.Values.AdminSetUserSettingsResponse.t,
Awso_cognito_idp.Values.AdminSetUserSettingsResponse.error)
Result.tval admin_update_auth_event_feedback :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminUpdateAuthEventFeedbackRequest.t ->
(Awso_cognito_idp.Values.AdminUpdateAuthEventFeedbackResponse.t,
Awso_cognito_idp.Values.AdminUpdateAuthEventFeedbackResponse.error)
Result.tval admin_update_device_status :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminUpdateDeviceStatusRequest.t ->
(Awso_cognito_idp.Values.AdminUpdateDeviceStatusResponse.t,
Awso_cognito_idp.Values.AdminUpdateDeviceStatusResponse.error)
Result.tval admin_update_user_attributes :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminUpdateUserAttributesRequest.t ->
(Awso_cognito_idp.Values.AdminUpdateUserAttributesResponse.t,
Awso_cognito_idp.Values.AdminUpdateUserAttributesResponse.error)
Result.tval admin_user_global_sign_out :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AdminUserGlobalSignOutRequest.t ->
(Awso_cognito_idp.Values.AdminUserGlobalSignOutResponse.t,
Awso_cognito_idp.Values.AdminUserGlobalSignOutResponse.error)
Result.tval associate_software_token :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.AssociateSoftwareTokenRequest.t ->
(Awso_cognito_idp.Values.AssociateSoftwareTokenResponse.t,
Awso_cognito_idp.Values.AssociateSoftwareTokenResponse.error)
Result.tval change_password :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ChangePasswordRequest.t ->
(Awso_cognito_idp.Values.ChangePasswordResponse.t,
Awso_cognito_idp.Values.ChangePasswordResponse.error)
Result.tval complete_web_authn_registration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CompleteWebAuthnRegistrationRequest.t ->
(Awso_cognito_idp.Values.CompleteWebAuthnRegistrationResponse.t,
Awso_cognito_idp.Values.CompleteWebAuthnRegistrationResponse.error)
Result.tval confirm_device :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ConfirmDeviceRequest.t ->
(Awso_cognito_idp.Values.ConfirmDeviceResponse.t,
Awso_cognito_idp.Values.ConfirmDeviceResponse.error)
Result.tval confirm_forgot_password :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ConfirmForgotPasswordRequest.t ->
(Awso_cognito_idp.Values.ConfirmForgotPasswordResponse.t,
Awso_cognito_idp.Values.ConfirmForgotPasswordResponse.error)
Result.tval confirm_sign_up :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ConfirmSignUpRequest.t ->
(Awso_cognito_idp.Values.ConfirmSignUpResponse.t,
Awso_cognito_idp.Values.ConfirmSignUpResponse.error)
Result.tval create_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateGroupRequest.t ->
(Awso_cognito_idp.Values.CreateGroupResponse.t,
Awso_cognito_idp.Values.CreateGroupResponse.error)
Result.tval create_identity_provider :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateIdentityProviderRequest.t ->
(Awso_cognito_idp.Values.CreateIdentityProviderResponse.t,
Awso_cognito_idp.Values.CreateIdentityProviderResponse.error)
Result.tval create_managed_login_branding :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateManagedLoginBrandingRequest.t ->
(Awso_cognito_idp.Values.CreateManagedLoginBrandingResponse.t,
Awso_cognito_idp.Values.CreateManagedLoginBrandingResponse.error)
Result.tval create_resource_server :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateResourceServerRequest.t ->
(Awso_cognito_idp.Values.CreateResourceServerResponse.t,
Awso_cognito_idp.Values.CreateResourceServerResponse.error)
Result.tval create_terms :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateTermsRequest.t ->
(Awso_cognito_idp.Values.CreateTermsResponse.t,
Awso_cognito_idp.Values.CreateTermsResponse.error)
Result.tval create_user_import_job :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateUserImportJobRequest.t ->
(Awso_cognito_idp.Values.CreateUserImportJobResponse.t,
Awso_cognito_idp.Values.CreateUserImportJobResponse.error)
Result.tval create_user_pool :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateUserPoolRequest.t ->
(Awso_cognito_idp.Values.CreateUserPoolResponse.t,
Awso_cognito_idp.Values.CreateUserPoolResponse.error)
Result.tval create_user_pool_client :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateUserPoolClientRequest.t ->
(Awso_cognito_idp.Values.CreateUserPoolClientResponse.t,
Awso_cognito_idp.Values.CreateUserPoolClientResponse.error)
Result.tval create_user_pool_domain :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.CreateUserPoolDomainRequest.t ->
(Awso_cognito_idp.Values.CreateUserPoolDomainResponse.t,
Awso_cognito_idp.Values.CreateUserPoolDomainResponse.error)
Result.tval delete_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteGroupRequest.t ->
(unit, unit) Result.tval delete_identity_provider :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteIdentityProviderRequest.t ->
(unit, unit) Result.tval delete_managed_login_branding :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteManagedLoginBrandingRequest.t ->
(unit, unit) Result.tval delete_resource_server :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteResourceServerRequest.t ->
(unit, unit) Result.tval delete_terms :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteTermsRequest.t ->
(unit, unit) Result.tval delete_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteUserRequest.t ->
(unit, unit) Result.tval delete_user_attributes :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteUserAttributesRequest.t ->
(Awso_cognito_idp.Values.DeleteUserAttributesResponse.t,
Awso_cognito_idp.Values.DeleteUserAttributesResponse.error)
Result.tval delete_user_pool :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteUserPoolRequest.t ->
(unit, unit) Result.tval delete_user_pool_client :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteUserPoolClientRequest.t ->
(unit, unit) Result.tval delete_user_pool_client_secret :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteUserPoolClientSecretRequest.t ->
(Awso_cognito_idp.Values.DeleteUserPoolClientSecretResponse.t,
Awso_cognito_idp.Values.DeleteUserPoolClientSecretResponse.error)
Result.tval delete_user_pool_domain :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteUserPoolDomainRequest.t ->
(Awso_cognito_idp.Values.DeleteUserPoolDomainResponse.t,
Awso_cognito_idp.Values.DeleteUserPoolDomainResponse.error)
Result.tval delete_web_authn_credential :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DeleteWebAuthnCredentialRequest.t ->
(Awso_cognito_idp.Values.DeleteWebAuthnCredentialResponse.t,
Awso_cognito_idp.Values.DeleteWebAuthnCredentialResponse.error)
Result.tval describe_identity_provider :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeIdentityProviderRequest.t ->
(Awso_cognito_idp.Values.DescribeIdentityProviderResponse.t,
Awso_cognito_idp.Values.DescribeIdentityProviderResponse.error)
Result.tval describe_managed_login_branding :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeManagedLoginBrandingRequest.t ->
(Awso_cognito_idp.Values.DescribeManagedLoginBrandingResponse.t,
Awso_cognito_idp.Values.DescribeManagedLoginBrandingResponse.error)
Result.tval describe_managed_login_branding_by_client :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeManagedLoginBrandingByClientRequest.t ->
(Awso_cognito_idp.Values.DescribeManagedLoginBrandingByClientResponse.t,
Awso_cognito_idp.Values.DescribeManagedLoginBrandingByClientResponse.error)
Result.tval describe_resource_server :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeResourceServerRequest.t ->
(Awso_cognito_idp.Values.DescribeResourceServerResponse.t,
Awso_cognito_idp.Values.DescribeResourceServerResponse.error)
Result.tval describe_risk_configuration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeRiskConfigurationRequest.t ->
(Awso_cognito_idp.Values.DescribeRiskConfigurationResponse.t,
Awso_cognito_idp.Values.DescribeRiskConfigurationResponse.error)
Result.tval describe_terms :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeTermsRequest.t ->
(Awso_cognito_idp.Values.DescribeTermsResponse.t,
Awso_cognito_idp.Values.DescribeTermsResponse.error)
Result.tval describe_user_import_job :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeUserImportJobRequest.t ->
(Awso_cognito_idp.Values.DescribeUserImportJobResponse.t,
Awso_cognito_idp.Values.DescribeUserImportJobResponse.error)
Result.tval describe_user_pool :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeUserPoolRequest.t ->
(Awso_cognito_idp.Values.DescribeUserPoolResponse.t,
Awso_cognito_idp.Values.DescribeUserPoolResponse.error)
Result.tval describe_user_pool_client :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeUserPoolClientRequest.t ->
(Awso_cognito_idp.Values.DescribeUserPoolClientResponse.t,
Awso_cognito_idp.Values.DescribeUserPoolClientResponse.error)
Result.tval describe_user_pool_domain :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.DescribeUserPoolDomainRequest.t ->
(Awso_cognito_idp.Values.DescribeUserPoolDomainResponse.t,
Awso_cognito_idp.Values.DescribeUserPoolDomainResponse.error)
Result.tval forget_device :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ForgetDeviceRequest.t ->
(unit, unit) Result.tval forgot_password :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ForgotPasswordRequest.t ->
(Awso_cognito_idp.Values.ForgotPasswordResponse.t,
Awso_cognito_idp.Values.ForgotPasswordResponse.error)
Result.tval get_c_s_v_header :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetCSVHeaderRequest.t ->
(Awso_cognito_idp.Values.GetCSVHeaderResponse.t,
Awso_cognito_idp.Values.GetCSVHeaderResponse.error)
Result.tval get_device :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetDeviceRequest.t ->
(Awso_cognito_idp.Values.GetDeviceResponse.t,
Awso_cognito_idp.Values.GetDeviceResponse.error)
Result.tval get_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetGroupRequest.t ->
(Awso_cognito_idp.Values.GetGroupResponse.t,
Awso_cognito_idp.Values.GetGroupResponse.error)
Result.tval get_identity_provider_by_identifier :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetIdentityProviderByIdentifierRequest.t ->
(Awso_cognito_idp.Values.GetIdentityProviderByIdentifierResponse.t,
Awso_cognito_idp.Values.GetIdentityProviderByIdentifierResponse.error)
Result.tval get_log_delivery_configuration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetLogDeliveryConfigurationRequest.t ->
(Awso_cognito_idp.Values.GetLogDeliveryConfigurationResponse.t,
Awso_cognito_idp.Values.GetLogDeliveryConfigurationResponse.error)
Result.tval get_signing_certificate :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetSigningCertificateRequest.t ->
(Awso_cognito_idp.Values.GetSigningCertificateResponse.t,
Awso_cognito_idp.Values.GetSigningCertificateResponse.error)
Result.tval get_tokens_from_refresh_token :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetTokensFromRefreshTokenRequest.t ->
(Awso_cognito_idp.Values.GetTokensFromRefreshTokenResponse.t,
Awso_cognito_idp.Values.GetTokensFromRefreshTokenResponse.error)
Result.tval get_u_i_customization :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetUICustomizationRequest.t ->
(Awso_cognito_idp.Values.GetUICustomizationResponse.t,
Awso_cognito_idp.Values.GetUICustomizationResponse.error)
Result.tval get_user :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetUserRequest.t ->
(Awso_cognito_idp.Values.GetUserResponse.t,
Awso_cognito_idp.Values.GetUserResponse.error)
Result.tval get_user_attribute_verification_code :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetUserAttributeVerificationCodeRequest.t ->
(Awso_cognito_idp.Values.GetUserAttributeVerificationCodeResponse.t,
Awso_cognito_idp.Values.GetUserAttributeVerificationCodeResponse.error)
Result.tval get_user_auth_factors :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetUserAuthFactorsRequest.t ->
(Awso_cognito_idp.Values.GetUserAuthFactorsResponse.t,
Awso_cognito_idp.Values.GetUserAuthFactorsResponse.error)
Result.tval get_user_pool_mfa_config :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GetUserPoolMfaConfigRequest.t ->
(Awso_cognito_idp.Values.GetUserPoolMfaConfigResponse.t,
Awso_cognito_idp.Values.GetUserPoolMfaConfigResponse.error)
Result.tval global_sign_out :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.GlobalSignOutRequest.t ->
(Awso_cognito_idp.Values.GlobalSignOutResponse.t,
Awso_cognito_idp.Values.GlobalSignOutResponse.error)
Result.tval initiate_auth :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.InitiateAuthRequest.t ->
(Awso_cognito_idp.Values.InitiateAuthResponse.t,
Awso_cognito_idp.Values.InitiateAuthResponse.error)
Result.tval list_devices :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListDevicesRequest.t ->
(Awso_cognito_idp.Values.ListDevicesResponse.t,
Awso_cognito_idp.Values.ListDevicesResponse.error)
Result.tval list_groups :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListGroupsRequest.t ->
(Awso_cognito_idp.Values.ListGroupsResponse.t,
Awso_cognito_idp.Values.ListGroupsResponse.error)
Result.tval list_identity_providers :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListIdentityProvidersRequest.t ->
(Awso_cognito_idp.Values.ListIdentityProvidersResponse.t,
Awso_cognito_idp.Values.ListIdentityProvidersResponse.error)
Result.tval list_resource_servers :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListResourceServersRequest.t ->
(Awso_cognito_idp.Values.ListResourceServersResponse.t,
Awso_cognito_idp.Values.ListResourceServersResponse.error)
Result.tval list_tags_for_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListTagsForResourceRequest.t ->
(Awso_cognito_idp.Values.ListTagsForResourceResponse.t,
Awso_cognito_idp.Values.ListTagsForResourceResponse.error)
Result.tval list_terms :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListTermsRequest.t ->
(Awso_cognito_idp.Values.ListTermsResponse.t,
Awso_cognito_idp.Values.ListTermsResponse.error)
Result.tval list_user_import_jobs :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListUserImportJobsRequest.t ->
(Awso_cognito_idp.Values.ListUserImportJobsResponse.t,
Awso_cognito_idp.Values.ListUserImportJobsResponse.error)
Result.tval list_user_pool_client_secrets :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListUserPoolClientSecretsRequest.t ->
(Awso_cognito_idp.Values.ListUserPoolClientSecretsResponse.t,
Awso_cognito_idp.Values.ListUserPoolClientSecretsResponse.error)
Result.tval list_user_pool_clients :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListUserPoolClientsRequest.t ->
(Awso_cognito_idp.Values.ListUserPoolClientsResponse.t,
Awso_cognito_idp.Values.ListUserPoolClientsResponse.error)
Result.tval list_user_pools :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListUserPoolsRequest.t ->
(Awso_cognito_idp.Values.ListUserPoolsResponse.t,
Awso_cognito_idp.Values.ListUserPoolsResponse.error)
Result.tval list_users :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListUsersRequest.t ->
(Awso_cognito_idp.Values.ListUsersResponse.t,
Awso_cognito_idp.Values.ListUsersResponse.error)
Result.tval list_users_in_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListUsersInGroupRequest.t ->
(Awso_cognito_idp.Values.ListUsersInGroupResponse.t,
Awso_cognito_idp.Values.ListUsersInGroupResponse.error)
Result.tval list_web_authn_credentials :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ListWebAuthnCredentialsRequest.t ->
(Awso_cognito_idp.Values.ListWebAuthnCredentialsResponse.t,
Awso_cognito_idp.Values.ListWebAuthnCredentialsResponse.error)
Result.tval resend_confirmation_code :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.ResendConfirmationCodeRequest.t ->
(Awso_cognito_idp.Values.ResendConfirmationCodeResponse.t,
Awso_cognito_idp.Values.ResendConfirmationCodeResponse.error)
Result.tval respond_to_auth_challenge :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.RespondToAuthChallengeRequest.t ->
(Awso_cognito_idp.Values.RespondToAuthChallengeResponse.t,
Awso_cognito_idp.Values.RespondToAuthChallengeResponse.error)
Result.tval revoke_token :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.RevokeTokenRequest.t ->
(Awso_cognito_idp.Values.RevokeTokenResponse.t,
Awso_cognito_idp.Values.RevokeTokenResponse.error)
Result.tval set_log_delivery_configuration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.SetLogDeliveryConfigurationRequest.t ->
(Awso_cognito_idp.Values.SetLogDeliveryConfigurationResponse.t,
Awso_cognito_idp.Values.SetLogDeliveryConfigurationResponse.error)
Result.tval set_risk_configuration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.SetRiskConfigurationRequest.t ->
(Awso_cognito_idp.Values.SetRiskConfigurationResponse.t,
Awso_cognito_idp.Values.SetRiskConfigurationResponse.error)
Result.tval set_u_i_customization :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.SetUICustomizationRequest.t ->
(Awso_cognito_idp.Values.SetUICustomizationResponse.t,
Awso_cognito_idp.Values.SetUICustomizationResponse.error)
Result.tval set_user_m_f_a_preference :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.SetUserMFAPreferenceRequest.t ->
(Awso_cognito_idp.Values.SetUserMFAPreferenceResponse.t,
Awso_cognito_idp.Values.SetUserMFAPreferenceResponse.error)
Result.tval set_user_pool_mfa_config :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.SetUserPoolMfaConfigRequest.t ->
(Awso_cognito_idp.Values.SetUserPoolMfaConfigResponse.t,
Awso_cognito_idp.Values.SetUserPoolMfaConfigResponse.error)
Result.tval set_user_settings :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.SetUserSettingsRequest.t ->
(Awso_cognito_idp.Values.SetUserSettingsResponse.t,
Awso_cognito_idp.Values.SetUserSettingsResponse.error)
Result.tval sign_up :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.SignUpRequest.t ->
(Awso_cognito_idp.Values.SignUpResponse.t,
Awso_cognito_idp.Values.SignUpResponse.error)
Result.tval start_user_import_job :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.StartUserImportJobRequest.t ->
(Awso_cognito_idp.Values.StartUserImportJobResponse.t,
Awso_cognito_idp.Values.StartUserImportJobResponse.error)
Result.tval start_web_authn_registration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.StartWebAuthnRegistrationRequest.t ->
(Awso_cognito_idp.Values.StartWebAuthnRegistrationResponse.t,
Awso_cognito_idp.Values.StartWebAuthnRegistrationResponse.error)
Result.tval stop_user_import_job :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.StopUserImportJobRequest.t ->
(Awso_cognito_idp.Values.StopUserImportJobResponse.t,
Awso_cognito_idp.Values.StopUserImportJobResponse.error)
Result.tval tag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.TagResourceRequest.t ->
(Awso_cognito_idp.Values.TagResourceResponse.t,
Awso_cognito_idp.Values.TagResourceResponse.error)
Result.tval untag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UntagResourceRequest.t ->
(Awso_cognito_idp.Values.UntagResourceResponse.t,
Awso_cognito_idp.Values.UntagResourceResponse.error)
Result.tval update_auth_event_feedback :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateAuthEventFeedbackRequest.t ->
(Awso_cognito_idp.Values.UpdateAuthEventFeedbackResponse.t,
Awso_cognito_idp.Values.UpdateAuthEventFeedbackResponse.error)
Result.tval update_device_status :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateDeviceStatusRequest.t ->
(Awso_cognito_idp.Values.UpdateDeviceStatusResponse.t,
Awso_cognito_idp.Values.UpdateDeviceStatusResponse.error)
Result.tval update_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateGroupRequest.t ->
(Awso_cognito_idp.Values.UpdateGroupResponse.t,
Awso_cognito_idp.Values.UpdateGroupResponse.error)
Result.tval update_identity_provider :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateIdentityProviderRequest.t ->
(Awso_cognito_idp.Values.UpdateIdentityProviderResponse.t,
Awso_cognito_idp.Values.UpdateIdentityProviderResponse.error)
Result.tval update_managed_login_branding :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateManagedLoginBrandingRequest.t ->
(Awso_cognito_idp.Values.UpdateManagedLoginBrandingResponse.t,
Awso_cognito_idp.Values.UpdateManagedLoginBrandingResponse.error)
Result.tval update_resource_server :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateResourceServerRequest.t ->
(Awso_cognito_idp.Values.UpdateResourceServerResponse.t,
Awso_cognito_idp.Values.UpdateResourceServerResponse.error)
Result.tval update_terms :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateTermsRequest.t ->
(Awso_cognito_idp.Values.UpdateTermsResponse.t,
Awso_cognito_idp.Values.UpdateTermsResponse.error)
Result.tval update_user_attributes :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateUserAttributesRequest.t ->
(Awso_cognito_idp.Values.UpdateUserAttributesResponse.t,
Awso_cognito_idp.Values.UpdateUserAttributesResponse.error)
Result.tval update_user_pool :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateUserPoolRequest.t ->
(Awso_cognito_idp.Values.UpdateUserPoolResponse.t,
Awso_cognito_idp.Values.UpdateUserPoolResponse.error)
Result.tval update_user_pool_client :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateUserPoolClientRequest.t ->
(Awso_cognito_idp.Values.UpdateUserPoolClientResponse.t,
Awso_cognito_idp.Values.UpdateUserPoolClientResponse.error)
Result.tval update_user_pool_domain :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.UpdateUserPoolDomainRequest.t ->
(Awso_cognito_idp.Values.UpdateUserPoolDomainResponse.t,
Awso_cognito_idp.Values.UpdateUserPoolDomainResponse.error)
Result.tval verify_software_token :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.VerifySoftwareTokenRequest.t ->
(Awso_cognito_idp.Values.VerifySoftwareTokenResponse.t,
Awso_cognito_idp.Values.VerifySoftwareTokenResponse.error)
Result.tval verify_user_attribute :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cognito_idp.Values.VerifyUserAttributeRequest.t ->
(Awso_cognito_idp.Values.VerifyUserAttributeResponse.t,
Awso_cognito_idp.Values.VerifyUserAttributeResponse.error)
Result.tinclude module type of struct include Awso_cognito_idp.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]module AccountTakeoverActionNotifyType =
Awso_cognito_idp.Values.AccountTakeoverActionNotifyTypemodule AccountTakeoverEventActionType =
Awso_cognito_idp.Values.AccountTakeoverEventActionTypemodule CustomEmailSenderLambdaVersionType =
Awso_cognito_idp.Values.CustomEmailSenderLambdaVersionTypemodule CustomSMSSenderLambdaVersionType =
Awso_cognito_idp.Values.CustomSMSSenderLambdaVersionTypemodule InboundFederationLambdaVersionType =
Awso_cognito_idp.Values.InboundFederationLambdaVersionTypemodule PreTokenGenerationLambdaVersionType =
Awso_cognito_idp.Values.PreTokenGenerationLambdaVersionTypemodule ResourceServerScopeDescriptionType =
Awso_cognito_idp.Values.ResourceServerScopeDescriptionTypeThe automated response to a risk level for adaptive authentication in full-function, or ENFORCED, mode. You can assign an action to each risk level that threat protection evaluates.
The template for email messages that threat protection sends to a user when your threat protection automated response has a Notify action.
module CompromisedCredentialsEventActionType =
Awso_cognito_idp.Values.CompromisedCredentialsEventActionTypemodule CloudWatchLogsConfigurationType =
Awso_cognito_idp.Values.CloudWatchLogsConfigurationTypeConfiguration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with threat protection.
Configuration for the Amazon Data Firehose stream destination of user activity log export with threat protection.
Configuration for the Amazon S3 bucket destination of user activity log export with threat protection.
module WebAuthnAuthenticatorTransportType =
Awso_cognito_idp.Values.WebAuthnAuthenticatorTransportTypeThe name and value of a user attribute.
This data type is no longer supported. Applies only to SMS multi-factor authentication (MFA) configurations. Does not apply to time-based one-time password (TOTP) software token MFA configurations.
module CustomEmailLambdaVersionConfigType =
Awso_cognito_idp.Values.CustomEmailLambdaVersionConfigTypeThe properties of a custom email sender Lambda trigger.
module CustomSMSLambdaVersionConfigType =
Awso_cognito_idp.Values.CustomSMSLambdaVersionConfigTypeThe properties of a custom SMS sender Lambda trigger.
The properties of an inbound federation Lambda trigger.
module PreTokenGenerationVersionConfigType =
Awso_cognito_idp.Values.PreTokenGenerationVersionConfigTypeThe properties of a pre token generation Lambda trigger.
One custom scope associated with a user pool resource server. This data type is a member of ResourceServerScopeType. For more information, see Scopes, M2M, and API authorization with resource servers.
A recovery option for a user. The AccountRecoverySettingType data type is an array of this object. Each RecoveryOptionType has a priority property that determines whether it is a primary or secondary option. For example, if verified_email has a priority of 1 and verified_phone_number has a priority of 2, your user pool sends account-recovery messages to a verified email address but falls back to an SMS message if the user has a verified phone number. The admin_only option prevents self-service account recovery.
module NumberAttributeConstraintsType =
Awso_cognito_idp.Values.NumberAttributeConstraintsTypeThe minimum and maximum values of an attribute that is of the number type, for example custom:age.
module StringAttributeConstraintsType =
Awso_cognito_idp.Values.StringAttributeConstraintsTypeThe minimum and maximum length values of an attribute that is of the string type, for example custom:department.
module AdvancedSecurityEnabledModeType =
Awso_cognito_idp.Values.AdvancedSecurityEnabledModeTypemodule TemporaryPasswordValidityDaysType =
Awso_cognito_idp.Values.TemporaryPasswordValidityDaysTypemodule AllowedFirstAuthFactorsListType =
Awso_cognito_idp.Values.AllowedFirstAuthFactorsListTypeThe responses to the challenge that you received in the previous request. Each challenge has its own required response parameters. The following examples are partial JSON request bodies that highlight challenge-response parameters. You must provide a SECRET_HASH parameter in all challenge responses to an app client that has a client secret. Include a DEVICE_KEY for device authentication. SELECT_CHALLENGE "ChallengeName": "SELECT_CHALLENGE", "ChallengeResponses": { "USERNAME": "[username]", "ANSWER": "[Challenge name]"} Available challenges are PASSWORD, PASSWORD_SRP, EMAIL_OTP, SMS_OTP, and WEB_AUTHN. Complete authentication in the SELECT_CHALLENGE response for PASSWORD, PASSWORD_SRP, and WEB_AUTHN: "ChallengeName": "SELECT_CHALLENGE", "ChallengeResponses": { "ANSWER": "WEB_AUTHN", "USERNAME": "[username]", "CREDENTIAL": "[AuthenticationResponseJSON]"} See AuthenticationResponseJSON. "ChallengeName": "SELECT_CHALLENGE", "ChallengeResponses": { "ANSWER": "PASSWORD", "USERNAME": "[username]", "PASSWORD": "[password]"} "ChallengeName": "SELECT_CHALLENGE", "ChallengeResponses": { "ANSWER": "PASSWORD_SRP", "USERNAME": "[username]", "SRP_A": "[SRP_A]"} For SMS_OTP and EMAIL_OTP, respond with the username and answer. Your user pool will send a code for the user to submit in the next challenge response. "ChallengeName": "SELECT_CHALLENGE", "ChallengeResponses": { "ANSWER": "SMS_OTP", "USERNAME": "[username]"} "ChallengeName": "SELECT_CHALLENGE", "ChallengeResponses": { "ANSWER": "EMAIL_OTP", "USERNAME": "[username]"} WEB_AUTHN "ChallengeName": "WEB_AUTHN", "ChallengeResponses": { "USERNAME": "[username]", "CREDENTIAL": "[AuthenticationResponseJSON]"} See AuthenticationResponseJSON. PASSWORD "ChallengeName": "PASSWORD", "ChallengeResponses": { "USERNAME": "[username]", "PASSWORD": "[password]"} PASSWORD_SRP "ChallengeName": "PASSWORD_SRP", "ChallengeResponses": { "USERNAME": "[username]", "SRP_A": "[SRP_A]"} SMS_OTP "ChallengeName": "SMS_OTP", "ChallengeResponses": {"SMS_OTP_CODE": "[code]", "USERNAME": "[username]"} EMAIL_OTP "ChallengeName": "EMAIL_OTP", "ChallengeResponses": {"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"} SMS_MFA "ChallengeName": "SMS_MFA", "ChallengeResponses": {"SMS_MFA_CODE": "[code]", "USERNAME": "[username]"} PASSWORD_VERIFIER This challenge response is part of the SRP flow. Amazon Cognito requires that your application respond to this challenge within a few seconds. When the response time exceeds this period, your user pool returns a NotAuthorizedException error. "ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses": {"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]", "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP": [timestamp], "USERNAME": "[username]"} CUSTOM_CHALLENGE "ChallengeName": "CUSTOM_CHALLENGE", "ChallengeResponses": {"USERNAME": "[username]", "ANSWER": "[challenge_answer]"} NEW_PASSWORD_REQUIRED "ChallengeName": "NEW_PASSWORD_REQUIRED", "ChallengeResponses": {"NEW_PASSWORD": "[new_password]", "USERNAME": "[username]"} To set any required attributes that InitiateAuth returned in an requiredAttributes parameter, add "userAttributes.[attribute_name]": "[attribute_value]". This parameter can also set values for writable attributes that aren't required by your user pool. In a NEW_PASSWORD_REQUIRED challenge response, you can't modify a required attribute that already has a value. In AdminRespondToAuthChallenge or RespondToAuthChallenge, set a value for any keys that Amazon Cognito returned in the requiredAttributes parameter, then use the AdminUpdateUserAttributes or UpdateUserAttributes API operation to modify the value of any additional attributes. SOFTWARE_TOKEN_MFA "ChallengeName": "SOFTWARE_TOKEN_MFA", "ChallengeResponses": {"USERNAME": "[username]", "SOFTWARE_TOKEN_MFA_CODE": [authenticator_code]} DEVICE_SRP_AUTH "ChallengeName": "DEVICE_SRP_AUTH", "ChallengeResponses": {"USERNAME": "[username]", "DEVICE_KEY": "[device_key]", "SRP_A": "[srp_a]"} DEVICE_PASSWORD_VERIFIER "ChallengeName": "DEVICE_PASSWORD_VERIFIER", "ChallengeResponses": {"DEVICE_KEY": "[device_key]", "PASSWORD_CLAIM_SIGNATURE": "[claim_signature]", "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP": [timestamp], "USERNAME": "[username]"} MFA_SETUP "ChallengeName": "MFA_SETUP", "ChallengeResponses": {"USERNAME": "[username]"}, "SESSION": "[Session ID from VerifySoftwareToken]" SELECT_MFA_TYPE "ChallengeName": "SELECT_MFA_TYPE", "ChallengeResponses": {"USERNAME": "[username]", "ANSWER": "[SMS_MFA|EMAIL_MFA|SOFTWARE_TOKEN_MFA]"} For more information about SECRET_HASH, see Computing secret hash values. For information about DEVICE_KEY, see Working with user devices in your user pool.
An image file from a managed login branding style in a user pool.
A list of account-takeover actions for each level of risk that Amazon Cognito might assess with threat protection features.
The configuration for Amazon SES email messages that threat protection sends to a user when your adaptive authentication automated response has a Notify action.
module CompromisedCredentialsActionsType =
Awso_cognito_idp.Values.CompromisedCredentialsActionsTypeSettings for user pool actions when Amazon Cognito detects compromised credentials with threat protection in full-function ENFORCED mode.
The configuration of user event logs to an external Amazon Web Services service like Amazon Data Firehose, Amazon S3, or Amazon CloudWatch Logs.
module WebAuthnAuthenticatorAttachmentType =
Awso_cognito_idp.Values.WebAuthnAuthenticatorAttachmentTypemodule WebAuthnAuthenticatorTransportsList =
Awso_cognito_idp.Values.WebAuthnAuthenticatorTransportsListA collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of user pool operations. Triggers can modify the outcome of the operations that invoked them.
module AdminCreateUserUnusedAccountValidityDaysType =
Awso_cognito_idp.Values.AdminCreateUserUnusedAccountValidityDaysTypeThe message template structure.
A list of the user attributes and their properties in your user pool. The attribute schema contains standard attributes, custom attributes with a custom: prefix, and developer attributes with a dev: prefix. For more information, see User pool attributes. Developer-only dev: attributes are a legacy feature of user pools, and are read-only to all app clients. You can create and update developer-only attributes only with IAM-authenticated API operations. Use app client read/write permissions instead.
module AttributesRequireVerificationBeforeUpdateType =
Awso_cognito_idp.Values.AttributesRequireVerificationBeforeUpdateTypemodule AdvancedSecurityAdditionalFlowsType =
Awso_cognito_idp.Values.AdvancedSecurityAdditionalFlowsTypeThreat protection configuration options for additional authentication types in your user pool, including custom authentication.
The password policy settings for a user pool, including complexity, history, and length requirements.
The policy for allowed types of authentication in a user pool. To activate this setting, your user pool must be in the Essentials tier or higher.
module EmailVerificationMessageByLinkType =
Awso_cognito_idp.Values.EmailVerificationMessageByLinkTypemodule EmailVerificationSubjectByLinkType =
Awso_cognito_idp.Values.EmailVerificationSubjectByLinkTypeThe HTTP header in the ContextData parameter.
The context data that your application submitted in an authentication request with threat protection, as displayed in an AdminListUserAuthEvents response.
The feedback that your application submitted to a threat protection event log, as displayed in an AdminListUserAuthEvents response.
The risk evaluation by adaptive authentication, as displayed in an AdminListUserAuthEvents response. Contains evaluations of compromised-credentials detection and assessed risk level and action taken by adaptive authentication.
module InvalidParameterExceptionReasonCodeType =
Awso_cognito_idp.Values.InvalidParameterExceptionReasonCodeTypeThe settings for Amazon Pinpoint analytics configuration. With an analytics configuration, your application can collect user-activity metrics for user notifications with a Amazon Pinpoint campaign. Amazon Pinpoint isn't available in all Amazon Web Services Regions. For a list of available Regions, see Amazon Cognito and Amazon Pinpoint Region availability.
module PreventUserExistenceErrorTypes =
Awso_cognito_idp.Values.PreventUserExistenceErrorTypesThe configuration of your app client for refresh token rotation. When enabled, your app client issues new ID, access, and refresh tokens when users renew their sessions with refresh tokens. When disabled, token refresh issues only ID and access tokens.
module SupportedIdentityProvidersListType =
Awso_cognito_idp.Values.SupportedIdentityProvidersListTypeThe time units that, with IdTokenValidity, AccessTokenValidity, and RefreshTokenValidity, set and display the duration of ID, access, and refresh tokens for an app client. You can assign a separate token validity unit to each type of token.
The delivery details for an email or SMS message that Amazon Cognito sent for authentication or verification.
User pool configuration for delivery of SMS messages with Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account.
module WebAuthnFactorConfigurationType =
Awso_cognito_idp.Values.WebAuthnFactorConfigurationTypemodule AccountTakeoverRiskConfigurationType =
Awso_cognito_idp.Values.AccountTakeoverRiskConfigurationTypeThe settings for automated responses and notification templates for adaptive authentication with threat protection features.
module CompromisedCredentialsRiskConfigurationType =
Awso_cognito_idp.Values.CompromisedCredentialsRiskConfigurationTypeSettings for compromised-credentials actions and authentication-event sources with threat protection in full-function ENFORCED mode.
module RiskExceptionConfigurationType =
Awso_cognito_idp.Values.RiskExceptionConfigurationTypeExceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
Information that your user pool responds with in AuthenticationResultwhen you configure it to remember devices and a user signs in with an unrecognized device. Amazon Cognito presents a new device key that you can use to set up device authentication in a "Remember me on this device" authentication model.
The details of a passkey, or webauthN, biometric or security-key authentication factor for a user.
A user profile in a Amazon Cognito user pool.
A short description of a user pool.
A short description of a user pool app client.
Contains information about a client secret, including its unique identifier, value, and creation timestamp.
A user import job in a user pool. Describes the status of user import with a CSV file. For more information, see Importing users into user pools from a CSV file.
The details of a set of terms documents. For more information, see Terms documents.
The details of a resource server configuration and associated custom scopes in a user pool.
The details of a user pool identity provider (IdP), including name and type.
A user pool group. Contains details about the group and the way that it contributes to IAM role decisions with identity pools. Identity pools can make decisions about the IAM role to assign based on groups: users get credentials for the role associated with their highest-priority group.
Information about a user's device that they've registered for device SRP authentication in your application. For more information, see Working with user devices in your user pool.
The settings for user message delivery in forgot-password operations. Contains preference for email or SMS message delivery of password reset codes, or for admin-only password reset.
The settings for administrator creation of users in a user pool. Contains settings for allowing user sign-up, customizing invitation messages to new users, and the amount of time before temporary passwords expire.
The device-remembering configuration for a user pool. When you provide a value for any property of DeviceConfiguration, you activate the device remembering for the user pool.
The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages from your user pool. Amazon Cognito can send email messages with Amazon Simple Email Service resources in the Amazon Web Services Region where you created your user pool, and in alternate Regions in some cases. For more information on the supported Regions, see Email settings for Amazon Cognito user pools.
module UserAttributeUpdateSettingsType =
Awso_cognito_idp.Values.UserAttributeUpdateSettingsTypeThe settings for updates to user attributes. These settings include the property AttributesRequireVerificationBeforeUpdate, a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For more information, see Verifying updates to email addresses and phone numbers.
Contains settings for activation of threat protection, including the operating mode and additional authentication types. To log user security information but take no action, set to AUDIT. To configure automatic security responses to potentially unwanted traffic to your user pool, set to ENFORCED. For more information, see Adding advanced security to a user pool. To activate this setting, your user pool must be on the Plus tier.
A list of user pool policies. Contains the policy that sets password-complexity requirements.
The configuration of a user pool for username case sensitivity.
module VerificationMessageTemplateType =
Awso_cognito_idp.Values.VerificationMessageTemplateTypeThe template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
The configuration for a hosted UI custom domain.
One authentication event that Amazon Cognito logged in a user pool with threat protection active. Contains user and device metadata and a risk assessment from your user pool.
This exception is thrown when a user tries to confirm the account with an email address or phone number that has already been supplied as an alias for a different user profile. This exception indicates that an account with this email address or phone already exists in a user pool that you've configured to use email address or phone number as a sign-in alias.
This exception is thrown if the provided code doesn't match what the server was expecting.
This exception is thrown if a code has expired.
This exception is thrown when WAF doesn't allow your request based on a web ACL that's associated with your user pool.
This exception is thrown when Amazon Cognito encounters an internal error.
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
This exception is thrown when a user exceeds the limit for a requested Amazon Web Services resource.
This exception is thrown when a user isn't authorized.
module PasswordResetRequiredException =
Awso_cognito_idp.Values.PasswordResetRequiredExceptionThis exception is thrown when a password reset is required.
This exception is thrown when the Amazon Cognito service can't find the requested resource.
This exception is thrown when the user has made too many requests for a given operation.
This exception is thrown when a user isn't confirmed successfully.
This exception is thrown when a user isn't found.
module EnableSoftwareTokenMFAException =
Awso_cognito_idp.Values.EnableSoftwareTokenMFAExceptionThis exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).
module InvalidUserPoolConfigurationException =
Awso_cognito_idp.Values.InvalidUserPoolConfigurationExceptionThis exception is thrown when the user pool configuration is not valid.
module SoftwareTokenMFANotFoundException =
Awso_cognito_idp.Values.SoftwareTokenMFANotFoundExceptionThis exception is thrown when the software token time-based one-time password (TOTP) multi-factor authentication (MFA) isn't activated for the user pool.
module VerifySoftwareTokenResponseType =
Awso_cognito_idp.Values.VerifySoftwareTokenResponseTypemodule ConcurrentModificationException =
Awso_cognito_idp.Values.ConcurrentModificationExceptionThis exception is thrown if two or more modifications are happening concurrently.
This exception is thrown when a feature you attempted to configure isn't available in your current feature plan.
module InvalidEmailRoleAccessPolicyException =
Awso_cognito_idp.Values.InvalidEmailRoleAccessPolicyExceptionThis exception is thrown when Amazon Cognito isn't allowed to use your email identity. HTTP status code: 400.
module InvalidSmsRoleAccessPolicyException =
Awso_cognito_idp.Values.InvalidSmsRoleAccessPolicyExceptionThis exception is returned when the role provided for SMS configuration doesn't have permission to publish using Amazon SNS.
module InvalidSmsRoleTrustRelationshipException =
Awso_cognito_idp.Values.InvalidSmsRoleTrustRelationshipExceptionThis exception is thrown when the trust relationship is not valid for the role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com or the external ID provided in the role does not match what is provided in the SMS configuration for the user pool.
This exception is thrown when you've attempted to change your feature plan but the operation isn't permitted.
This exception is thrown when you're trying to modify a user pool while a user import job is in progress for that pool.
This exception is thrown when a user pool tag can't be set or updated.
This exception is thrown when the specified OAuth flow is not valid.
This exception is thrown when the specified scope doesn't exist.
The configuration of a user pool client.
This exception is thrown when a verification code fails to deliver successfully.
module InvalidLambdaResponseException =
Awso_cognito_idp.Values.InvalidLambdaResponseExceptionThis exception is thrown when Amazon Cognito encounters an invalid Lambda response.
This exception is thrown when Amazon Cognito encounters an unexpected exception with Lambda.
This exception is thrown when the Amazon Cognito service encounters a user validation exception with the Lambda service.
Terms document names must be unique to the app client. This exception is thrown when you attempt to create terms documents with a duplicate TermsName.
The details of a set of terms documents. For more information, see Terms documents.
A managed login branding style that's assigned to a user pool app client.
A user pool identity provider (IdP). Contains information about a third-party IdP to a user pool, the attributes that it populates to user profiles, and the trust relationship between the IdP and your user pool.
module UnsupportedIdentityProviderException =
Awso_cognito_idp.Values.UnsupportedIdentityProviderExceptionThis exception is thrown when the specified identifier isn't supported.
module UserPoolAddOnNotEnabledException =
Awso_cognito_idp.Values.UserPoolAddOnNotEnabledExceptionThis exception is thrown when user pool add-ons aren't enabled.
This exception is thrown when a precondition is not met.
module WebAuthnConfigurationMissingException =
Awso_cognito_idp.Values.WebAuthnConfigurationMissingExceptionThis exception is thrown when a user pool doesn't have a configured relying party id or a user pool domain.
This exception is thrown when the passkey feature isn't enabled for the user pool.
This exception is thrown when Amazon Cognito encounters an invalid password.
This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.
Information that your application adds to authentication requests. Applies an endpoint ID to the analytics data that your user pool sends to Amazon Pinpoint. An endpoint ID uniquely identifies a mobile device, email address or phone number that can receive messages from Amazon Pinpoint analytics. For more information about Amazon Web Services Regions that can contain Amazon Pinpoint resources for use with Amazon Cognito user pools, see Using Amazon Pinpoint analytics with Amazon Cognito user pools.
Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito threat protection.
Sets or shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs). Includes the subject and body of the email message template for sign-in and MFA messages. To activate this setting, your user pool must be in the Essentials tier or higher.
The configuration of multi-factor authentication (MFA) with SMS messages in a user pool.
Settings for time-based one-time password (TOTP) multi-factor authentication (MFA) in a user pool. Enables and disables availability of this feature.
Settings for authentication (MFA) with passkey, or webauthN, biometric and security-key devices in a user pool. Configures the following: Configuration for requiring user-verification support in passkeys. The user pool relying-party ID. This is the domain, typically your user pool domain, that user's passkey providers should trust as a receiver of passkey authentication. The providers that you want to allow as origins for passkey authentication.
User preferences for multi-factor authentication with email messages. Activates or deactivates email MFA and sets it as the preferred MFA method when multiple methods are available. To activate this setting, your user pool must be in the Essentials tier or higher.
A user's preference for using SMS message multi-factor authentication (MFA). Turns SMS MFA on and off, and can set SMS as preferred when other MFA options are available. You can't turn off SMS MFA for any of your users when MFA is required in your user pool; you can only set the type that your user prefers.
A user's preference for using time-based one-time password (TOTP) multi-factor authentication (MFA). Turns TOTP MFA on and off, and can set TOTP as preferred when other MFA options are available. You can't turn off TOTP MFA for any of your users when MFA is required in your user pool; you can only set the type that your user prefers.
A user's preference for using passkey, or WebAuthn, multi-factor authentication (MFA). Turns passkey MFA on and off for the user. Unlike other MFA settings types, this type doesn't include a PreferredMfa option because passkey MFA applies only when passkey is the first authentication factor.
A container for the UI customization information for the hosted UI in a user pool.
The settings of risk configuration for threat protection with threat protection in a user pool.
The logging parameters of a user pool, as returned in the response to a GetLogDeliveryConfiguration request.
Exception that is thrown when the request isn't authorized. This can happen due to an invalid access token in the request.
Exception that is thrown when you attempt to perform an operation that isn't enabled for the user pool client.
Exception that is thrown when an unsupported token is passed to an operation.
The object that your application receives after authentication. Contains tokens and information for device authentication.
This exception is thrown when Amazon Cognito can't find a multi-factor authentication (MFA) method.
module PasswordHistoryPolicyViolationException =
Awso_cognito_idp.Values.PasswordHistoryPolicyViolationExceptionThe message returned when a user's new password matches a previous password and doesn't comply with the password-history policy.
module WebAuthnCredentialDescriptionListType =
Awso_cognito_idp.Values.WebAuthnCredentialDescriptionListTypemodule WebAuthnCredentialsQueryLimitType =
Awso_cognito_idp.Values.WebAuthnCredentialsQueryLimitTypemodule SearchedAttributeNamesListType =
Awso_cognito_idp.Values.SearchedAttributeNamesListTypemodule ClientSecretDescriptorListType =
Awso_cognito_idp.Values.ClientSecretDescriptorListTypeThis exception is thrown when Amazon Cognito encounters an internal server error.
module ListTermsRequestMaxResultsInteger =
Awso_cognito_idp.Values.ListTermsRequestMaxResultsIntegermodule ConfiguredUserAuthFactorsListType =
Awso_cognito_idp.Values.ConfiguredUserAuthFactorsListTypeThis exception is throw when your application requests token refresh with a refresh token that has been invalidated by refresh-token rotation.
The configuration of a user pool.
A container for information about the user pool domain associated with the hosted UI and OAuth endpoints.
module ManagedLoginBrandingExistsException =
Awso_cognito_idp.Values.ManagedLoginBrandingExistsExceptionThis exception is thrown when you attempt to apply a managed login branding style to an app client that already has an assigned style.
This exception is thrown when the provider is already supported by the user pool.
This exception is thrown when Amazon Cognito encounters a group that already exists in the user pool.
module TooManyFailedAttemptsException =
Awso_cognito_idp.Values.TooManyFailedAttemptsExceptionThis exception is thrown when the user has made too many failed attempts for a given action, such as sign-in.
This exception is thrown when a user attempts to confirm a device with a device key that already exists.
module DeviceSecretVerifierConfigType =
Awso_cognito_idp.Values.DeviceSecretVerifierConfigTypeA Secure Remote Password (SRP) value that your application generates when you register a user's device. For more information, see Getting a device key.
module WebAuthnChallengeNotFoundException =
Awso_cognito_idp.Values.WebAuthnChallengeNotFoundExceptionThis exception is thrown when the challenge from StartWebAuthn registration has expired.
module WebAuthnClientMismatchException =
Awso_cognito_idp.Values.WebAuthnClientMismatchExceptionThis exception is thrown when the access token is for a different client than the one in the original StartWebAuthnRegistration request.
module WebAuthnCredentialNotSupportedException =
Awso_cognito_idp.Values.WebAuthnCredentialNotSupportedExceptionThis exception is thrown when a user presents passkey credentials from an unsupported device or provider.
module WebAuthnOriginNotAllowedException =
Awso_cognito_idp.Values.WebAuthnOriginNotAllowedExceptionThis exception is thrown when the passkey credential's registration origin does not align with the user pool relying party id.
module WebAuthnRelyingPartyMismatchException =
Awso_cognito_idp.Values.WebAuthnRelyingPartyMismatchExceptionThis exception is thrown when the given passkey credential is associated with a different relying party ID than the user pool relying party ID.
Contextual user data used for evaluating the risk of an authentication event by user pool threat protection.
The characteristics of a source or destination user for linking a federated user profile to a local user profile.
The request failed because the user is in an unsupported state.
This exception is thrown when you don't have sufficient permissions to perform the requested operation.
A container representing the response from the server from the request to verify user attributes.
Represents the request to verify user attributes.
Registers the current user's time-based one-time password (TOTP) authenticator with a code generated in their authenticator app from a private key that's supplied by your user pool. Marks the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Registers the current user's time-based one-time password (TOTP) authenticator with a code generated in their authenticator app from a private key that's supplied by your user pool. Marks the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Represents the response from the server when you make a request to update the user pool.
Represents the request to update the user pool.
The UpdateUserPoolDomain response output.
The UpdateUserPoolDomain request input.
Represents the response from the server to the request to update the user pool client.
Represents the request to update the user pool client.
Represents the response from the server for the request to update user attributes.
Represents the request to update user attributes.
Modifies existing terms documents for the requested app client. When Terms and conditions and Privacy policy documents are configured, the app client displays links to them in the sign-up page of managed login for the app client. You can provide URLs for terms documents in the languages that are supported by managed login localization. Amazon Cognito directs users to the terms documents for their current language, with fallback to default if no document exists for the language. Each request accepts one type of terms document and a map of language-to-link for that document type. You must provide both types of terms documents in at least one language before Amazon Cognito displays your terms documents. Supply each type in separate requests. For more information, see Terms documents. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Modifies existing terms documents for the requested app client. When Terms and conditions and Privacy policy documents are configured, the app client displays links to them in the sign-up page of managed login for the app client. You can provide URLs for terms documents in the languages that are supported by managed login localization. Amazon Cognito directs users to the terms documents for their current language, with fallback to default if no document exists for the language. Each request accepts one type of terms document and a map of language-to-link for that document type. You must provide both types of terms documents in at least one language before Amazon Cognito displays your terms documents. Supply each type in separate requests. For more information, see Terms documents. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Updates the name and scopes of a resource server. All other fields are read-only. For more information about resource servers, see Access control with resource servers. If you don't provide a value for an attribute, it is set to the default value. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Updates the name and scopes of a resource server. All other fields are read-only. For more information about resource servers, see Access control with resource servers. If you don't provide a value for an attribute, it is set to the default value. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module UpdateManagedLoginBrandingResponse =
Awso_cognito_idp.Values.UpdateManagedLoginBrandingResponseConfigures the branding settings for a user pool style. This operation is the programmatic option for the configuration of a style in the branding editor. Provides values for UI customization in a Settings JSON object and image files in an Assets array. This operation has a 2-megabyte request-size limit and include the CSS settings and image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito doesn't require that you pass all parameters in one request and preserves existing style settings that you don't specify. If your request is larger than 2MB, separate it into multiple requests, each with a size smaller than the limit. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module UpdateManagedLoginBrandingRequest =
Awso_cognito_idp.Values.UpdateManagedLoginBrandingRequestConfigures the branding settings for a user pool style. This operation is the programmatic option for the configuration of a style in the branding editor. Provides values for UI customization in a Settings JSON object and image files in an Assets array. This operation has a 2-megabyte request-size limit and include the CSS settings and image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito doesn't require that you pass all parameters in one request and preserves existing style settings that you don't specify. If your request is larger than 2MB, separate it into multiple requests, each with a size smaller than the limit. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module UpdateIdentityProviderResponse =
Awso_cognito_idp.Values.UpdateIdentityProviderResponseModifies the configuration and trust relationship between a third-party identity provider (IdP) and a user pool. Amazon Cognito accepts sign-in with third-party identity providers through managed login and OIDC relying-party libraries. For more information, see Third-party IdP sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Modifies the configuration and trust relationship between a third-party identity provider (IdP) and a user pool. Amazon Cognito accepts sign-in with third-party identity providers through managed login and OIDC relying-party libraries. For more information, see Third-party IdP sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given the name of a user pool group, updates any of the properties for precedence, IAM role, or description. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given the name of a user pool group, updates any of the properties for precedence, IAM role, or description. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
The response to the request to update the device status.
Represents the request to update the device status.
module UpdateAuthEventFeedbackResponse =
Awso_cognito_idp.Values.UpdateAuthEventFeedbackResponseProvides the feedback for an authentication event generated by threat protection features. The user's response indicates that you think that the event either was from a valid user or was an unwanted authentication attempt. This feedback improves the risk evaluation decision for the user pool as part of Amazon Cognito threat protection. To activate this setting, your user pool must be on the Plus tier. This operation requires a FeedbackToken that Amazon Cognito generates and adds to notification emails when users have potentially suspicious authentication events. Users invoke this operation when they select the link that corresponds to {one-click-link-valid} or {one-click-link-invalid} in your notification template. Because FeedbackToken is a required parameter, you can't make requests to UpdateAuthEventFeedback without the contents of the notification email message. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
module UpdateAuthEventFeedbackRequest =
Awso_cognito_idp.Values.UpdateAuthEventFeedbackRequestProvides the feedback for an authentication event generated by threat protection features. The user's response indicates that you think that the event either was from a valid user or was an unwanted authentication attempt. This feedback improves the risk evaluation decision for the user pool as part of Amazon Cognito threat protection. To activate this setting, your user pool must be on the Plus tier. This operation requires a FeedbackToken that Amazon Cognito generates and adds to notification emails when users have potentially suspicious authentication events. Users invoke this operation when they select the link that corresponds to {one-click-link-valid} or {one-click-link-invalid} in your notification template. Because FeedbackToken is a required parameter, you can't make requests to UpdateAuthEventFeedback without the contents of the notification email message. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Given tag IDs that you previously assigned to a user pool, removes them.
Given tag IDs that you previously assigned to a user pool, removes them.
Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool, and Production for the other. Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an Identity and Access Management policy, you can constrain permissions for user pools based on specific tags or tag values. You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags.
Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool, and Production for the other. Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an Identity and Access Management policy, you can constrain permissions for user pools based on specific tags or tag values. You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags.
Represents the response from the server to the request to stop the user import job.
Represents the request to stop the user import job.
module StartWebAuthnRegistrationResponse =
Awso_cognito_idp.Values.StartWebAuthnRegistrationResponseRequests credential creation options from your user pool for the currently signed-in user. Returns information about the user pool, the user profile, and authentication requirements. Users must provide this information in their request to enroll your application with their passkey provider. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
module StartWebAuthnRegistrationRequest =
Awso_cognito_idp.Values.StartWebAuthnRegistrationRequestRequests credential creation options from your user pool for the currently signed-in user. Returns information about the user pool, the user profile, and authentication requirements. Users must provide this information in their request to enroll your application with their passkey provider. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
Represents the response from the server to the request to start the user import job.
Represents the request to start the user import job.
The response from the server for a registration request.
Represents the request to register a user.
The response from the server for a set user settings request.
Represents the request to set user settings.
Sets user pool multi-factor authentication (MFA) and passkey configuration. For more information about user pool MFA, see Adding MFA. For more information about WebAuthn passkeys see Authentication flows. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Sets user pool multi-factor authentication (MFA) and passkey configuration. For more information about user pool MFA, see Adding MFA. For more information about WebAuthn passkeys see Authentication flows. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Configures UI branding settings for domains with the hosted UI (classic) branding version. Your user pool must have a domain. Configure a domain with . Set the default configuration for all clients with a ClientId of ALL. When the ClientId value is an app client ID, the settings you pass in this request apply to that app client and override the default ALL configuration. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Configures UI branding settings for domains with the hosted UI (classic) branding version. Your user pool must have a domain. Configure a domain with . Set the default configuration for all clients with a ClientId of ALL. When the ClientId value is an app client ID, the settings you pass in this request apply to that app client and override the default ALL configuration. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Configures threat protection for a user pool or app client. Sets configuration for the following. Responses to risks with adaptive authentication Responses to vulnerable passwords with compromised-credentials detection Notifications to users who have had risky activity detected IP-address denylist and allowlist To set the risk configuration for the user pool to defaults, send this request with only the UserPoolId parameter. To reset the threat protection settings of an app client to be inherited from the user pool, send UserPoolId and ClientId parameters only. To change threat protection to audit-only or off, update the value of UserPoolAddOns in an UpdateUserPool request. To activate this setting, your user pool must be on the Plus tier.
Configures threat protection for a user pool or app client. Sets configuration for the following. Responses to risks with adaptive authentication Responses to vulnerable passwords with compromised-credentials detection Notifications to users who have had risky activity detected IP-address denylist and allowlist To set the risk configuration for the user pool to defaults, send this request with only the UserPoolId parameter. To reset the threat protection settings of an app client to be inherited from the user pool, send UserPoolId and ClientId parameters only. To change threat protection to audit-only or off, update the value of UserPoolAddOns in an UpdateUserPool request. To activate this setting, your user pool must be on the Plus tier.
module SetLogDeliveryConfigurationResponse =
Awso_cognito_idp.Values.SetLogDeliveryConfigurationResponseSets up or modifies the logging configuration of a user pool. User pools can export user notification logs and, when threat protection is active, user-activity logs. For more information, see Exporting user pool logs.
module SetLogDeliveryConfigurationRequest =
Awso_cognito_idp.Values.SetLogDeliveryConfigurationRequestSets up or modifies the logging configuration of a user pool. User pools can export user notification logs and, when threat protection is active, user-activity logs. For more information, see Exporting user pool logs.
Revokes all of the access tokens generated by, and at the same time as, the specified refresh token. After a token is revoked, you can't use the revoked token to access Amazon Cognito user APIs, or to authorize access to your resource server. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Revokes all of the access tokens generated by, and at the same time as, the specified refresh token. After a token is revoked, you can't use the revoked token to access Amazon Cognito user APIs, or to authorize access to your resource server. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
module RespondToAuthChallengeResponse =
Awso_cognito_idp.Values.RespondToAuthChallengeResponseThe response to respond to the authentication challenge.
The request to respond to an authentication challenge.
module ResendConfirmationCodeResponse =
Awso_cognito_idp.Values.ResendConfirmationCodeResponseThe response from the server when Amazon Cognito makes the request to resend a confirmation code.
Represents the request to resend the confirmation code.
module ListWebAuthnCredentialsResponse =
Awso_cognito_idp.Values.ListWebAuthnCredentialsResponseGenerates a list of the currently signed-in user's registered passkey, or WebAuthn, credentials. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
module ListWebAuthnCredentialsRequest =
Awso_cognito_idp.Values.ListWebAuthnCredentialsRequestGenerates a list of the currently signed-in user's registered passkey, or WebAuthn, credentials. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
The response from the request to list users.
Represents the request to list users.
Given a user pool ID and a group name, returns a list of users in the group. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID and a group name, returns a list of users in the group. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Represents the response to list user pools.
Represents the request to list user pools.
Represents the response from the server that lists user pool clients.
Represents the request to list the user pool clients.
module ListUserPoolClientSecretsResponse =
Awso_cognito_idp.Values.ListUserPoolClientSecretsResponseThe response containing the list of client secret metadata. This response does not include a NextToken field as all secrets are returned in a single response.
module ListUserPoolClientSecretsRequest =
Awso_cognito_idp.Values.ListUserPoolClientSecretsRequestThe request to list client secrets for a user pool app client.
Represents the response from the server to the request to list the user import jobs.
Represents the request to list the user import jobs.
Returns details about all terms documents for the requested user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Returns details about all terms documents for the requested user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Lists the tags that are assigned to an Amazon Cognito user pool. For more information, see Tagging resources.
Lists the tags that are assigned to an Amazon Cognito user pool. For more information, see Tagging resources.
Given a user pool ID, returns all resource servers and their details. For more information about resource servers, see Access control with resource servers. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID, returns all resource servers and their details. For more information about resource servers, see Access control with resource servers. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID, returns information about configured identity providers (IdPs). For more information about IdPs, see Third-party IdP sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID, returns information about configured identity providers (IdPs). For more information about IdPs, see Third-party IdP sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID, returns user pool groups and their details. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID, returns user pool groups and their details. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Represents the response to list devices.
Represents the request to list the devices.
Initiates the authentication response.
Initiates the authentication request.
The response to the request to sign out all devices.
Represents the request to sign out all devices.
Represents the response from the server from the request to get information about the user.
Represents the request to get information about the user.
Given a user pool ID, returns configuration for sign-in with WebAuthn authenticators and for multi-factor authentication (MFA). This operation describes the following: The WebAuthn relying party (RP) ID and user-verification settings. The required, optional, or disabled state of MFA for all user pool users. The message templates for email and SMS MFA. The enabled or disabled state of time-based one-time password (TOTP) MFA. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID, returns configuration for sign-in with WebAuthn authenticators and for multi-factor authentication (MFA). This operation describes the following: The WebAuthn relying party (RP) ID and user-verification settings. The required, optional, or disabled state of MFA for all user pool users. The message templates for email and SMS MFA. The enabled or disabled state of time-based one-time password (TOTP) MFA. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Lists the authentication options for the currently signed-in user. Returns the following: The user's multi-factor authentication (MFA) preferences. The user's options for choice-based authentication with the USER_AUTH flow. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Lists the authentication options for the currently signed-in user. Returns the following: The user's multi-factor authentication (MFA) preferences. The user's options for choice-based authentication with the USER_AUTH flow. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
module GetUserAttributeVerificationCodeResponse =
Awso_cognito_idp.Values.GetUserAttributeVerificationCodeResponseThe verification code response returned by the server response to get the user attribute verification code.
module GetUserAttributeVerificationCodeRequest =
Awso_cognito_idp.Values.GetUserAttributeVerificationCodeRequestRepresents the request to get user attribute verification.
Given a user pool ID or app client, returns information about classic hosted UI branding that you applied, if any. Returns user-pool level branding information if no app client branding is applied, or if you don't specify an app client ID. Returns an empty object if you haven't applied hosted UI branding to either the client or the user pool. For more information, see Hosted UI (classic) branding.
Given a user pool ID or app client, returns information about classic hosted UI branding that you applied, if any. Returns user-pool level branding information if no app client branding is applied, or if you don't specify an app client ID. Returns an empty object if you haven't applied hosted UI branding to either the client or the user pool. For more information, see Hosted UI (classic) branding.
module GetTokensFromRefreshTokenResponse =
Awso_cognito_idp.Values.GetTokensFromRefreshTokenResponseGiven a refresh token, issues new ID, access, and optionally refresh tokens for the user who owns the submitted token. This operation issues a new refresh token and invalidates the original refresh token after an optional grace period when refresh token rotation is enabled. If refresh token rotation is disabled, issues new ID and access tokens only.
module GetTokensFromRefreshTokenRequest =
Awso_cognito_idp.Values.GetTokensFromRefreshTokenRequestGiven a refresh token, issues new ID, access, and optionally refresh tokens for the user who owns the submitted token. This operation issues a new refresh token and invalidates the original refresh token after an optional grace period when refresh token rotation is enabled. If refresh token rotation is disabled, issues new ID and access tokens only.
Response from Amazon Cognito for a signing certificate request.
Request to get a signing certificate from Amazon Cognito.
module GetLogDeliveryConfigurationResponse =
Awso_cognito_idp.Values.GetLogDeliveryConfigurationResponseGiven a user pool ID, returns the logging configuration. User pools can export message-delivery error and threat-protection activity logs to external Amazon Web Services services. For more information, see Exporting user pool logs. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module GetLogDeliveryConfigurationRequest =
Awso_cognito_idp.Values.GetLogDeliveryConfigurationRequestGiven a user pool ID, returns the logging configuration. User pools can export message-delivery error and threat-protection activity logs to external Amazon Web Services services. For more information, see Exporting user pool logs. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module GetIdentityProviderByIdentifierResponse =
Awso_cognito_idp.Values.GetIdentityProviderByIdentifierResponseGiven the identifier of an identity provider (IdP), for example examplecorp, returns information about the user pool configuration for that IdP. For more information about IdPs, see Third-party IdP sign-in.
module GetIdentityProviderByIdentifierRequest =
Awso_cognito_idp.Values.GetIdentityProviderByIdentifierRequestGiven the identifier of an identity provider (IdP), for example examplecorp, returns information about the user pool configuration for that IdP. For more information about IdPs, see Third-party IdP sign-in.
Given a user pool ID and a group name, returns information about the user group. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool ID and a group name, returns information about the user group. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Gets the device response.
Represents the request to get the device.
Represents the response from the server to the request to get the header information of the CSV file for the user import job.
Represents the request to get the header information of the CSV file for the user import job.
The response from Amazon Cognito to a request to reset a password.
Represents the request to reset a user's password.
Represents the request to forget the device.
Represents the response to describe the user pool.
Represents the request to describe the user pool.
module DescribeUserPoolDomainResponse =
Awso_cognito_idp.Values.DescribeUserPoolDomainResponseGiven a user pool domain name, returns information about the domain configuration. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Given a user pool domain name, returns information about the domain configuration. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module DescribeUserPoolClientResponse =
Awso_cognito_idp.Values.DescribeUserPoolClientResponseRepresents the response from the server from a request to describe the user pool client.
Represents the request to describe a user pool client.
Represents the response from the server to the request to describe the user import job.
Represents the request to describe the user import job.
Returns details for the requested terms documents ID. For more information, see Terms documents. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Returns details for the requested terms documents ID. For more information, see Terms documents. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module DescribeRiskConfigurationResponse =
Awso_cognito_idp.Values.DescribeRiskConfigurationResponseGiven an app client or user pool ID where threat protection is configured, describes the risk configuration. This operation returns details about adaptive authentication, compromised credentials, and IP-address allow- and denylists. For more information about threat protection, see Threat protection.
module DescribeRiskConfigurationRequest =
Awso_cognito_idp.Values.DescribeRiskConfigurationRequestGiven an app client or user pool ID where threat protection is configured, describes the risk configuration. This operation returns details about adaptive authentication, compromised credentials, and IP-address allow- and denylists. For more information about threat protection, see Threat protection.
module DescribeResourceServerResponse =
Awso_cognito_idp.Values.DescribeResourceServerResponseDescribes a resource server. For more information about resource servers, see Access control with resource servers.
Describes a resource server. For more information about resource servers, see Access control with resource servers.
module DescribeManagedLoginBrandingResponse =
Awso_cognito_idp.Values.DescribeManagedLoginBrandingResponseGiven the ID of a managed login branding style, returns detailed information about the style.
module DescribeManagedLoginBrandingRequest =
Awso_cognito_idp.Values.DescribeManagedLoginBrandingRequestGiven the ID of a managed login branding style, returns detailed information about the style.
module DescribeManagedLoginBrandingByClientResponse =
Awso_cognito_idp.Values.DescribeManagedLoginBrandingByClientResponseGiven the ID of a user pool app client, returns detailed information about the style assigned to the app client.
module DescribeManagedLoginBrandingByClientRequest =
Awso_cognito_idp.Values.DescribeManagedLoginBrandingByClientRequestGiven the ID of a user pool app client, returns detailed information about the style assigned to the app client.
module DescribeIdentityProviderResponse =
Awso_cognito_idp.Values.DescribeIdentityProviderResponseGiven a user pool ID and identity provider (IdP) name, returns details about the IdP.
module DescribeIdentityProviderRequest =
Awso_cognito_idp.Values.DescribeIdentityProviderRequestGiven a user pool ID and identity provider (IdP) name, returns details about the IdP.
module DeleteWebAuthnCredentialResponse =
Awso_cognito_idp.Values.DeleteWebAuthnCredentialResponseDeletes a registered passkey, or WebAuthn, authenticator for the currently signed-in user. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
module DeleteWebAuthnCredentialRequest =
Awso_cognito_idp.Values.DeleteWebAuthnCredentialRequestDeletes a registered passkey, or WebAuthn, authenticator for the currently signed-in user. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Represents the request to delete a user.
Represents the request to delete a user pool.
Given a user pool ID and domain identifier, deletes a user pool domain. After you delete a user pool domain, your managed login pages and authorization server are no longer available.
Given a user pool ID and domain identifier, deletes a user pool domain. After you delete a user pool domain, your managed login pages and authorization server are no longer available.
module DeleteUserPoolClientSecretResponse =
Awso_cognito_idp.Values.DeleteUserPoolClientSecretResponseThe response from deleting a client secret.
module DeleteUserPoolClientSecretRequest =
Awso_cognito_idp.Values.DeleteUserPoolClientSecretRequestThe request to delete a specific client secret from a user pool app client.
Represents the request to delete a user pool client.
Represents the response from the server to delete user attributes.
Represents the request to delete user attributes.
Deletes the terms documents with the requested ID from your app client. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Deletes a resource server. After you delete a resource server, users can no longer generate access tokens with scopes that are associate with that resource server. Resource servers are associated with custom scopes and machine-to-machine (M2M) authorization. For more information, see Access control with resource servers. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module DeleteManagedLoginBrandingRequest =
Awso_cognito_idp.Values.DeleteManagedLoginBrandingRequestDeletes a managed login branding style. When you delete a style, you delete the branding association for an app client. When an app client doesn't have a style assigned, your managed login pages for that app client are nonfunctional until you create a new style or switch the domain branding version. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Deletes a user pool identity provider (IdP). After you delete an IdP, users can no longer sign in to your user pool through that IdP. For more information about user pool IdPs, see Third-party IdP sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Deletes a group from the specified user pool. When you delete a group, that group no longer contributes to users' cognito:preferred_group or cognito:groups claims, and no longer influence access-control decision that are based on group membership. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Represents the response from the server for the request to create a user pool.
Represents the request to create a user pool.
A user pool domain hosts managed login, an authorization server and web server for authentication in your application. This operation creates a new user pool prefix domain or custom domain and sets the managed login branding version. Set the branding version to 1 for hosted UI (classic) or 2 for managed login. When you choose a custom domain, you must provide an SSL certificate in the US East (N. Virginia) Amazon Web Services Region in your request. Your prefix domain might take up to one minute to take effect. Your custom domain is online within five minutes, but it can take up to one hour to distribute your SSL certificate. For more information about adding a custom domain to your user pool, see Configuring a user pool domain. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
A user pool domain hosts managed login, an authorization server and web server for authentication in your application. This operation creates a new user pool prefix domain or custom domain and sets the managed login branding version. Set the branding version to 1 for hosted UI (classic) or 2 for managed login. When you choose a custom domain, you must provide an SSL certificate in the US East (N. Virginia) Amazon Web Services Region in your request. Your prefix domain might take up to one minute to take effect. Your custom domain is online within five minutes, but it can take up to one hour to distribute your SSL certificate. For more information about adding a custom domain to your user pool, see Configuring a user pool domain. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Represents the response from the server to create a user pool client.
Represents the request to create a user pool client.
Represents the response from the server to the request to create the user import job.
Represents the request to create the user import job.
Creates terms documents for the requested app client. When Terms and conditions and Privacy policy documents are configured, the app client displays links to them in the sign-up page of managed login for the app client. You can provide URLs for terms documents in the languages that are supported by managed login localization. Amazon Cognito directs users to the terms documents for their current language, with fallback to default if no document exists for the language. Each request accepts one type of terms document and a map of language-to-link for that document type. You must provide both types of terms documents in at least one language before Amazon Cognito displays your terms documents. Supply each type in separate requests. For more information, see Terms documents. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Creates terms documents for the requested app client. When Terms and conditions and Privacy policy documents are configured, the app client displays links to them in the sign-up page of managed login for the app client. You can provide URLs for terms documents in the languages that are supported by managed login localization. Amazon Cognito directs users to the terms documents for their current language, with fallback to default if no document exists for the language. Each request accepts one type of terms document and a map of language-to-link for that document type. You must provide both types of terms documents in at least one language before Amazon Cognito displays your terms documents. Supply each type in separate requests. For more information, see Terms documents. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Creates a new OAuth2.0 resource server and defines custom scopes within it. Resource servers are associated with custom scopes and machine-to-machine (M2M) authorization. For more information, see Access control with resource servers. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Creates a new OAuth2.0 resource server and defines custom scopes within it. Resource servers are associated with custom scopes and machine-to-machine (M2M) authorization. For more information, see Access control with resource servers. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module CreateManagedLoginBrandingResponse =
Awso_cognito_idp.Values.CreateManagedLoginBrandingResponseCreates a new set of branding settings for a user pool style and associates it with an app client. This operation is the programmatic option for the creation of a new style in the branding editor. Provides values for UI customization in a Settings JSON object and image files in an Assets array. To send the JSON object Document type parameter in Settings, you might need to update to the most recent version of your Amazon Web Services SDK. To create a new style with default settings, set UseCognitoProvidedValues to true and don't provide values for any other options. This operation has a 2-megabyte request-size limit and include the CSS settings and image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito doesn't require that you pass all parameters in one request and preserves existing style settings that you don't specify. If your request is larger than 2MB, separate it into multiple requests, each with a size smaller than the limit. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module CreateManagedLoginBrandingRequest =
Awso_cognito_idp.Values.CreateManagedLoginBrandingRequestCreates a new set of branding settings for a user pool style and associates it with an app client. This operation is the programmatic option for the creation of a new style in the branding editor. Provides values for UI customization in a Settings JSON object and image files in an Assets array. To send the JSON object Document type parameter in Settings, you might need to update to the most recent version of your Amazon Web Services SDK. To create a new style with default settings, set UseCognitoProvidedValues to true and don't provide values for any other options. This operation has a 2-megabyte request-size limit and include the CSS settings and image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito doesn't require that you pass all parameters in one request and preserves existing style settings that you don't specify. If your request is larger than 2MB, separate it into multiple requests, each with a size smaller than the limit. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module CreateIdentityProviderResponse =
Awso_cognito_idp.Values.CreateIdentityProviderResponseAdds a configuration and trust relationship between a third-party identity provider (IdP) and a user pool. Amazon Cognito accepts sign-in with third-party identity providers through managed login and OIDC relying-party libraries. For more information, see Third-party IdP sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Adds a configuration and trust relationship between a third-party identity provider (IdP) and a user pool. Amazon Cognito accepts sign-in with third-party identity providers through managed login and OIDC relying-party libraries. For more information, see Third-party IdP sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Creates a new group in the specified user pool. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Creates a new group in the specified user pool. For more information about user pool groups, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Represents the response from the server for the registration confirmation.
Represents the request to confirm registration of a user.
The response from the server that results from a user's request to retrieve a forgotten password.
The request representing the confirmation for a password reset.
The confirm-device response.
The confirm-device request.
module CompleteWebAuthnRegistrationResponse =
Awso_cognito_idp.Values.CompleteWebAuthnRegistrationResponseCompletes registration of a passkey authenticator for the currently signed-in user. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
module CompleteWebAuthnRegistrationRequest =
Awso_cognito_idp.Values.CompleteWebAuthnRegistrationRequestCompletes registration of a passkey authenticator for the currently signed-in user. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
The response from the server to the change password request.
Represents the request to change a user password.
module AssociateSoftwareTokenResponse =
Awso_cognito_idp.Values.AssociateSoftwareTokenResponseBegins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints. Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
module AdminUserGlobalSignOutResponse =
Awso_cognito_idp.Values.AdminUserGlobalSignOutResponseThe global sign-out response, as an administrator.
The request to sign out of all devices, as an administrator.
module AdminUpdateUserAttributesResponse =
Awso_cognito_idp.Values.AdminUpdateUserAttributesResponseRepresents the response from the server for the request to update user attributes as an administrator.
module AdminUpdateUserAttributesRequest =
Awso_cognito_idp.Values.AdminUpdateUserAttributesRequestRepresents the request to update the user's attributes as an administrator.
module AdminUpdateDeviceStatusResponse =
Awso_cognito_idp.Values.AdminUpdateDeviceStatusResponseThe status response to the request to update the device, as an administrator.
module AdminUpdateDeviceStatusRequest =
Awso_cognito_idp.Values.AdminUpdateDeviceStatusRequestThe request to update the device status, as an administrator.
module AdminUpdateAuthEventFeedbackResponse =
Awso_cognito_idp.Values.AdminUpdateAuthEventFeedbackResponseProvides the feedback for an authentication event generated by threat protection features. Your response indicates that you think that the event either was from a valid user or was an unwanted authentication attempt. This feedback improves the risk evaluation decision for the user pool as part of Amazon Cognito threat protection. To activate this setting, your user pool must be on the Plus tier. To train the threat-protection model to recognize trusted and untrusted sign-in characteristics, configure threat protection in audit-only mode and provide a mechanism for users or administrators to submit feedback. Your feedback can tell Amazon Cognito that a risk rating was assigned at a level you don't agree with. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminUpdateAuthEventFeedbackRequest =
Awso_cognito_idp.Values.AdminUpdateAuthEventFeedbackRequestProvides the feedback for an authentication event generated by threat protection features. Your response indicates that you think that the event either was from a valid user or was an unwanted authentication attempt. This feedback improves the risk evaluation decision for the user pool as part of Amazon Cognito threat protection. To activate this setting, your user pool must be on the Plus tier. To train the threat-protection model to recognize trusted and untrusted sign-in characteristics, configure threat protection in audit-only mode and provide a mechanism for users or administrators to submit feedback. Your feedback can tell Amazon Cognito that a risk rating was assigned at a level you don't agree with. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Represents the response from the server to set user settings as an administrator.
You can use this parameter to set an MFA configuration that uses the SMS delivery medium.
Sets the specified user's password in a user pool. This operation administratively sets a temporary or permanent password for a user. With this operation, you can bypass self-service password changes and permit immediate sign-in with the password that you set. To do this, set Permanent to true. You can also set a new temporary password in this request, send it to a user, and require them to choose a new password on their next sign-in. To do this, set Permanent to false. If the password is temporary, the user's Status becomes FORCE_CHANGE_PASSWORD. When the user next tries to sign in, the InitiateAuth or AdminInitiateAuth response includes the NEW_PASSWORD_REQUIRED challenge. If the user doesn't sign in before the temporary password expires, they can no longer sign in and you must repeat this operation to set a temporary or permanent password for them. After the user sets a new password, or if you set a permanent password, their status becomes Confirmed. AdminSetUserPassword can set a password for the user profile that Amazon Cognito creates for third-party federated users. When you set a password, the federated user's status changes from EXTERNAL_PROVIDER to CONFIRMED. A user in this state can sign in as a federated user, and initiate authentication flows in the API like a linked native user. They can also modify their password and attributes in token-authenticated API requests like ChangePassword and UpdateUserAttributes. As a best security practice and to keep users in sync with your external IdP, don't set passwords on federated user profiles. To set up a federated user for native sign-in with a linked native user, refer to Linking federated users to an existing user profile. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Sets the specified user's password in a user pool. This operation administratively sets a temporary or permanent password for a user. With this operation, you can bypass self-service password changes and permit immediate sign-in with the password that you set. To do this, set Permanent to true. You can also set a new temporary password in this request, send it to a user, and require them to choose a new password on their next sign-in. To do this, set Permanent to false. If the password is temporary, the user's Status becomes FORCE_CHANGE_PASSWORD. When the user next tries to sign in, the InitiateAuth or AdminInitiateAuth response includes the NEW_PASSWORD_REQUIRED challenge. If the user doesn't sign in before the temporary password expires, they can no longer sign in and you must repeat this operation to set a temporary or permanent password for them. After the user sets a new password, or if you set a permanent password, their status becomes Confirmed. AdminSetUserPassword can set a password for the user profile that Amazon Cognito creates for third-party federated users. When you set a password, the federated user's status changes from EXTERNAL_PROVIDER to CONFIRMED. A user in this state can sign in as a federated user, and initiate authentication flows in the API like a linked native user. They can also modify their password and attributes in token-authenticated API requests like ChangePassword and UpdateUserAttributes. As a best security practice and to keep users in sync with your external IdP, don't set passwords on federated user profiles. To set up a federated user for native sign-in with a linked native user, refer to Linking federated users to an existing user profile. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminSetUserMFAPreferenceResponse =
Awso_cognito_idp.Values.AdminSetUserMFAPreferenceResponseSets the user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminSetUserMFAPreferenceRequest =
Awso_cognito_idp.Values.AdminSetUserMFAPreferenceRequestSets the user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminRespondToAuthChallengeResponse =
Awso_cognito_idp.Values.AdminRespondToAuthChallengeResponseResponds to the authentication challenge, as an administrator.
module AdminRespondToAuthChallengeRequest =
Awso_cognito_idp.Values.AdminRespondToAuthChallengeRequestThe request to respond to the authentication challenge, as an administrator.
module AdminResetUserPasswordResponse =
Awso_cognito_idp.Values.AdminResetUserPasswordResponseRepresents the response from the server to reset a user password as an administrator.
Represents the request to reset a user's password as an administrator.
module AdminRemoveUserFromGroupRequest =
Awso_cognito_idp.Values.AdminRemoveUserFromGroupRequestGiven a username and a group name, removes them from the group. User pool groups are identifiers that you can reference from the contents of ID and access tokens, and set preferred IAM roles for identity-pool authentication. For more information, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminListUserAuthEventsResponse =
Awso_cognito_idp.Values.AdminListUserAuthEventsResponseRequests a history of user activity and any risks detected as part of Amazon Cognito threat protection. For more information, see Viewing user event history. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminListUserAuthEventsRequest =
Awso_cognito_idp.Values.AdminListUserAuthEventsRequestRequests a history of user activity and any risks detected as part of Amazon Cognito threat protection. For more information, see Viewing user event history. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminListGroupsForUserResponse =
Awso_cognito_idp.Values.AdminListGroupsForUserResponseLists the groups that a user belongs to. User pool groups are identifiers that you can reference from the contents of ID and access tokens, and set preferred IAM roles for identity-pool authentication. For more information, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Lists the groups that a user belongs to. User pool groups are identifiers that you can reference from the contents of ID and access tokens, and set preferred IAM roles for identity-pool authentication. For more information, see Adding groups to a user pool. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Lists the device's response, as an administrator.
Represents the request to list devices, as an administrator.
module AdminLinkProviderForUserResponse =
Awso_cognito_idp.Values.AdminLinkProviderForUserResponseLinks an existing user account in a user pool, or DestinationUser, to an identity from an external IdP, or SourceUser, based on a specified attribute name and value from the external IdP. This operation connects a local user profile with a user identity who hasn't yet signed in from their third-party IdP. When the user signs in with their IdP, they get access-control configuration from the local user profile. Linked local users can also sign in with SDK-based API operations like InitiateAuth after they sign in at least once through their IdP. For more information, see Linking federated users. The maximum number of federated identities linked to a user is five. Because this API allows a user with an external federated identity to sign in as a local user, it is critical that it only be used with external IdPs and linked attributes that you trust. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminLinkProviderForUserRequest =
Awso_cognito_idp.Values.AdminLinkProviderForUserRequestLinks an existing user account in a user pool, or DestinationUser, to an identity from an external IdP, or SourceUser, based on a specified attribute name and value from the external IdP. This operation connects a local user profile with a user identity who hasn't yet signed in from their third-party IdP. When the user signs in with their IdP, they get access-control configuration from the local user profile. Linked local users can also sign in with SDK-based API operations like InitiateAuth after they sign in at least once through their IdP. For more information, see Linking federated users. The maximum number of federated identities linked to a user is five. Because this API allows a user with an external federated identity to sign in as a local user, it is critical that it only be used with external IdPs and linked attributes that you trust. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Initiates the authentication response, as an administrator.
Initiates the authorization request, as an administrator.
Represents the response from the server from the request to get the specified user as an administrator.
Represents the request to get the specified user as an administrator.
Gets the device response, as an administrator.
Represents the request to get the device, as an administrator.
Sends the forgot device request, as an administrator.
Represents the response from the server for the request to enable a user as an administrator.
Represents the request that enables the user as an administrator.
Represents the response received from the server to disable the user as an administrator.
Represents the request to disable the user as an administrator.
module AdminDisableProviderForUserResponse =
Awso_cognito_idp.Values.AdminDisableProviderForUserResponsePrevents the user from signing in with the specified external (SAML or social) identity provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools native username + password user, they can't use their password to sign in. If the user to deactivate is a linked external IdP user, any link between that user and an existing user is removed. When the external user signs in again, and the user is no longer attached to the previously linked DestinationUser, the user must create a new user account. The value of ProviderName must match the name of a user pool IdP. To deactivate a local user, set ProviderName to Cognito and the ProviderAttributeName to Cognito_Subject. The ProviderAttributeValue must be user's local username. The ProviderAttributeName must always be Cognito_Subject for social IdPs. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user. For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. This is also true if the linking was done with ProviderAttributeName set to Cognito_Subject. If the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the NameID from their SAML assertion. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AdminDisableProviderForUserRequest =
Awso_cognito_idp.Values.AdminDisableProviderForUserRequestPrevents the user from signing in with the specified external (SAML or social) identity provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools native username + password user, they can't use their password to sign in. If the user to deactivate is a linked external IdP user, any link between that user and an existing user is removed. When the external user signs in again, and the user is no longer attached to the previously linked DestinationUser, the user must create a new user account. The value of ProviderName must match the name of a user pool IdP. To deactivate a local user, set ProviderName to Cognito and the ProviderAttributeName to Cognito_Subject. The ProviderAttributeValue must be user's local username. The ProviderAttributeName must always be Cognito_Subject for social IdPs. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user. For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. This is also true if the linking was done with ProviderAttributeName set to Cognito_Subject. If the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the NameID from their SAML assertion. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
Represents the request to delete a user as an administrator.
module AdminDeleteUserAttributesResponse =
Awso_cognito_idp.Values.AdminDeleteUserAttributesResponseRepresents the response received from the server for a request to delete user attributes.
module AdminDeleteUserAttributesRequest =
Awso_cognito_idp.Values.AdminDeleteUserAttributesRequestRepresents the request to delete user attributes as an administrator.
Represents the response from the server to the request to create the user.
Creates a new user in the specified user pool.
Represents the response from the server for the request to confirm registration.
Confirm a user's registration as a user pool administrator.
Adds a user to a group. A user who is in a group can present a preferred-role claim to an identity pool, and populates a cognito:groups claim to their access and identity tokens. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more Signing Amazon Web Services API Requests Using the Amazon Cognito user pools API and user pool endpoints
module AddUserPoolClientSecretResponse =
Awso_cognito_idp.Values.AddUserPoolClientSecretResponseThe response from creating a new client secret.
module AddUserPoolClientSecretRequest =
Awso_cognito_idp.Values.AddUserPoolClientSecretRequestThe request to create a new client secret for a user pool app client.
Represents the response from the server for the request to add custom attributes.
Represents the request to add custom attributes.