Class AbstractAWSCognitoIdentityProviderAsync
- java.lang.Object
-
- com.amazonaws.services.cognitoidp.AbstractAWSCognitoIdentityProvider
-
- com.amazonaws.services.cognitoidp.AbstractAWSCognitoIdentityProviderAsync
-
- All Implemented Interfaces:
AWSCognitoIdentityProvider
,AWSCognitoIdentityProviderAsync
public class AbstractAWSCognitoIdentityProviderAsync extends AbstractAWSCognitoIdentityProvider implements AWSCognitoIdentityProviderAsync
Abstract implementation ofAWSCognitoIdentityProviderAsync
. Convenient method forms pass through to the corresponding overload that takes a request object and anAsyncHandler
, which throws anUnsupportedOperationException
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAWSCognitoIdentityProviderAsync()
-
Method Summary
-
Methods inherited from class com.amazonaws.services.cognitoidp.AbstractAWSCognitoIdentityProvider
addCustomAttributes, adminConfirmSignUp, adminDeleteUser, adminDeleteUserAttributes, adminDisableUser, adminEnableUser, adminGetUser, adminResetUserPassword, adminSetUserSettings, adminUpdateUserAttributes, changePassword, confirmForgotPassword, confirmSignUp, createUserPool, createUserPoolClient, deleteUser, deleteUserAttributes, deleteUserPool, deleteUserPoolClient, describeUserPool, describeUserPoolClient, forgotPassword, getCachedResponseMetadata, getUser, getUserAttributeVerificationCode, listUserPoolClients, listUserPools, listUsers, resendConfirmationCode, setEndpoint, setRegion, setUserSettings, shutdown, signUp, updateUserAttributes, updateUserPool, updateUserPoolClient, verifyUserAttribute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.cognitoidp.AWSCognitoIdentityProvider
addCustomAttributes, adminConfirmSignUp, adminDeleteUser, adminDeleteUserAttributes, adminDisableUser, adminEnableUser, adminGetUser, adminResetUserPassword, adminSetUserSettings, adminUpdateUserAttributes, changePassword, confirmForgotPassword, confirmSignUp, createUserPool, createUserPoolClient, deleteUser, deleteUserAttributes, deleteUserPool, deleteUserPoolClient, describeUserPool, describeUserPoolClient, forgotPassword, getCachedResponseMetadata, getUser, getUserAttributeVerificationCode, listUserPoolClients, listUserPools, listUsers, resendConfirmationCode, setEndpoint, setRegion, setUserSettings, shutdown, signUp, updateUserAttributes, updateUserPool, updateUserPoolClient, verifyUserAttribute
-
-
-
-
Method Detail
-
addCustomAttributesAsync
public Future<AddCustomAttributesResult> addCustomAttributesAsync(AddCustomAttributesRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Adds additional user attributes to the user pool schema.
- Specified by:
addCustomAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to add custom attributes.- Returns:
- A Java Future containing the result of the AddCustomAttributes operation returned by the service.
-
addCustomAttributesAsync
public Future<AddCustomAttributesResult> addCustomAttributesAsync(AddCustomAttributesRequest request, AsyncHandler<AddCustomAttributesRequest,AddCustomAttributesResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Adds additional user attributes to the user pool schema.
- Specified by:
addCustomAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to add custom attributes.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AddCustomAttributes operation returned by the service.
-
adminConfirmSignUpAsync
public Future<AdminConfirmSignUpResult> adminConfirmSignUpAsync(AdminConfirmSignUpRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Confirms user registration as an admin without using a confirmation code. Works on any user.
- Specified by:
adminConfirmSignUpAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to confirm user registration.- Returns:
- A Java Future containing the result of the AdminConfirmSignUp operation returned by the service.
-
adminConfirmSignUpAsync
public Future<AdminConfirmSignUpResult> adminConfirmSignUpAsync(AdminConfirmSignUpRequest request, AsyncHandler<AdminConfirmSignUpRequest,AdminConfirmSignUpResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Confirms user registration as an admin without using a confirmation code. Works on any user.
- Specified by:
adminConfirmSignUpAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to confirm user registration.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminConfirmSignUp operation returned by the service.
-
adminDeleteUserAsync
public Future<AdminDeleteUserResult> adminDeleteUserAsync(AdminDeleteUserRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes a user as an administrator. Works on any user.
- Specified by:
adminDeleteUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user as an administrator.- Returns:
- A Java Future containing the result of the AdminDeleteUser operation returned by the service.
-
adminDeleteUserAsync
public Future<AdminDeleteUserResult> adminDeleteUserAsync(AdminDeleteUserRequest request, AsyncHandler<AdminDeleteUserRequest,AdminDeleteUserResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes a user as an administrator. Works on any user.
- Specified by:
adminDeleteUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminDeleteUser operation returned by the service.
-
adminDeleteUserAttributesAsync
public Future<AdminDeleteUserAttributesResult> adminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes the user attributes in a user pool as an administrator. Works on any user.
- Specified by:
adminDeleteUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete user attributes as an administrator.- Returns:
- A Java Future containing the result of the AdminDeleteUserAttributes operation returned by the service.
-
adminDeleteUserAttributesAsync
public Future<AdminDeleteUserAttributesResult> adminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request, AsyncHandler<AdminDeleteUserAttributesRequest,AdminDeleteUserAttributesResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes the user attributes in a user pool as an administrator. Works on any user.
- Specified by:
adminDeleteUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete user attributes as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminDeleteUserAttributes operation returned by the service.
-
adminDisableUserAsync
public Future<AdminDisableUserResult> adminDisableUserAsync(AdminDisableUserRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Disables the specified user as an administrator. Works on any user.
- Specified by:
adminDisableUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to disable any user as an administrator.- Returns:
- A Java Future containing the result of the AdminDisableUser operation returned by the service.
-
adminDisableUserAsync
public Future<AdminDisableUserResult> adminDisableUserAsync(AdminDisableUserRequest request, AsyncHandler<AdminDisableUserRequest,AdminDisableUserResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Disables the specified user as an administrator. Works on any user.
- Specified by:
adminDisableUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to disable any user as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminDisableUser operation returned by the service.
-
adminEnableUserAsync
public Future<AdminEnableUserResult> adminEnableUserAsync(AdminEnableUserRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Enables the specified user as an administrator. Works on any user.
- Specified by:
adminEnableUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request that enables the user as an administrator.- Returns:
- A Java Future containing the result of the AdminEnableUser operation returned by the service.
-
adminEnableUserAsync
public Future<AdminEnableUserResult> adminEnableUserAsync(AdminEnableUserRequest request, AsyncHandler<AdminEnableUserRequest,AdminEnableUserResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Enables the specified user as an administrator. Works on any user.
- Specified by:
adminEnableUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request that enables the user as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminEnableUser operation returned by the service.
-
adminGetUserAsync
public Future<AdminGetUserResult> adminGetUserAsync(AdminGetUserRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Gets the specified user by user name in a user pool as an administrator. Works on any user.
- Specified by:
adminGetUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to get the specified user as an administrator.- Returns:
- A Java Future containing the result of the AdminGetUser operation returned by the service.
-
adminGetUserAsync
public Future<AdminGetUserResult> adminGetUserAsync(AdminGetUserRequest request, AsyncHandler<AdminGetUserRequest,AdminGetUserResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Gets the specified user by user name in a user pool as an administrator. Works on any user.
- Specified by:
adminGetUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to get the specified user as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminGetUser operation returned by the service.
-
adminResetUserPasswordAsync
public Future<AdminResetUserPasswordResult> adminResetUserPasswordAsync(AdminResetUserPasswordRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Resets the specified user's password in a user pool as an administrator. Works on any user.
- Specified by:
adminResetUserPasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to reset a user's password as an administrator.- Returns:
- A Java Future containing the result of the AdminResetUserPassword operation returned by the service.
-
adminResetUserPasswordAsync
public Future<AdminResetUserPasswordResult> adminResetUserPasswordAsync(AdminResetUserPasswordRequest request, AsyncHandler<AdminResetUserPasswordRequest,AdminResetUserPasswordResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Resets the specified user's password in a user pool as an administrator. Works on any user.
- Specified by:
adminResetUserPasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to reset a user's password as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminResetUserPassword operation returned by the service.
-
adminSetUserSettingsAsync
public Future<AdminSetUserSettingsResult> adminSetUserSettingsAsync(AdminSetUserSettingsRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Sets all the user settings for a specified user name. Works on any user.
- Specified by:
adminSetUserSettingsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to set user settings as an administrator.- Returns:
- A Java Future containing the result of the AdminSetUserSettings operation returned by the service.
-
adminSetUserSettingsAsync
public Future<AdminSetUserSettingsResult> adminSetUserSettingsAsync(AdminSetUserSettingsRequest request, AsyncHandler<AdminSetUserSettingsRequest,AdminSetUserSettingsResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Sets all the user settings for a specified user name. Works on any user.
- Specified by:
adminSetUserSettingsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to set user settings as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminSetUserSettings operation returned by the service.
-
adminUpdateUserAttributesAsync
public Future<AdminUpdateUserAttributesResult> adminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
- Specified by:
adminUpdateUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update the user's attributes as an administrator.- Returns:
- A Java Future containing the result of the AdminUpdateUserAttributes operation returned by the service.
-
adminUpdateUserAttributesAsync
public Future<AdminUpdateUserAttributesResult> adminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request, AsyncHandler<AdminUpdateUserAttributesRequest,AdminUpdateUserAttributesResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
- Specified by:
adminUpdateUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update the user's attributes as an administrator.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AdminUpdateUserAttributes operation returned by the service.
-
changePasswordAsync
public Future<ChangePasswordResult> changePasswordAsync(ChangePasswordRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Changes the password for a specified user in a user pool.
- Specified by:
changePasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to change a user password.- Returns:
- A Java Future containing the result of the ChangePassword operation returned by the service.
-
changePasswordAsync
public Future<ChangePasswordResult> changePasswordAsync(ChangePasswordRequest request, AsyncHandler<ChangePasswordRequest,ChangePasswordResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Changes the password for a specified user in a user pool.
- Specified by:
changePasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to change a user password.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ChangePassword operation returned by the service.
-
confirmForgotPasswordAsync
public Future<ConfirmForgotPasswordResult> confirmForgotPasswordAsync(ConfirmForgotPasswordRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows a user to enter a code provided when they reset their password to update their password.
- Specified by:
confirmForgotPasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- The request representing the confirmation for a password reset.- Returns:
- A Java Future containing the result of the ConfirmForgotPassword operation returned by the service.
-
confirmForgotPasswordAsync
public Future<ConfirmForgotPasswordResult> confirmForgotPasswordAsync(ConfirmForgotPasswordRequest request, AsyncHandler<ConfirmForgotPasswordRequest,ConfirmForgotPasswordResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows a user to enter a code provided when they reset their password to update their password.
- Specified by:
confirmForgotPasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- The request representing the confirmation for a password reset.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ConfirmForgotPassword operation returned by the service.
-
confirmSignUpAsync
public Future<ConfirmSignUpResult> confirmSignUpAsync(ConfirmSignUpRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Confirms registration of a user and handles the existing alias from a previous user.
- Specified by:
confirmSignUpAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to confirm registration of a user.- Returns:
- A Java Future containing the result of the ConfirmSignUp operation returned by the service.
-
confirmSignUpAsync
public Future<ConfirmSignUpResult> confirmSignUpAsync(ConfirmSignUpRequest request, AsyncHandler<ConfirmSignUpRequest,ConfirmSignUpResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Confirms registration of a user and handles the existing alias from a previous user.
- Specified by:
confirmSignUpAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to confirm registration of a user.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ConfirmSignUp operation returned by the service.
-
createUserPoolAsync
public Future<CreateUserPoolResult> createUserPoolAsync(CreateUserPoolRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Creates a new Amazon Cognito user pool and sets the password policy for the pool.
- Specified by:
createUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to create a user pool.- Returns:
- A Java Future containing the result of the CreateUserPool operation returned by the service.
-
createUserPoolAsync
public Future<CreateUserPoolResult> createUserPoolAsync(CreateUserPoolRequest request, AsyncHandler<CreateUserPoolRequest,CreateUserPoolResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Creates a new Amazon Cognito user pool and sets the password policy for the pool.
- Specified by:
createUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to create a user pool.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateUserPool operation returned by the service.
-
createUserPoolClientAsync
public Future<CreateUserPoolClientResult> createUserPoolClientAsync(CreateUserPoolClientRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Creates the user pool client.
- Specified by:
createUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to create a user pool client.- Returns:
- A Java Future containing the result of the CreateUserPoolClient operation returned by the service.
-
createUserPoolClientAsync
public Future<CreateUserPoolClientResult> createUserPoolClientAsync(CreateUserPoolClientRequest request, AsyncHandler<CreateUserPoolClientRequest,CreateUserPoolClientResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Creates the user pool client.
- Specified by:
createUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to create a user pool client.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateUserPoolClient operation returned by the service.
-
deleteUserAsync
public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows a user to delete one's self.
- Specified by:
deleteUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user.- Returns:
- A Java Future containing the result of the DeleteUser operation returned by the service.
-
deleteUserAsync
public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows a user to delete one's self.
- Specified by:
deleteUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteUser operation returned by the service.
-
deleteUserAttributesAsync
public Future<DeleteUserAttributesResult> deleteUserAttributesAsync(DeleteUserAttributesRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes the attributes for a user.
- Specified by:
deleteUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete user attributes.- Returns:
- A Java Future containing the result of the DeleteUserAttributes operation returned by the service.
-
deleteUserAttributesAsync
public Future<DeleteUserAttributesResult> deleteUserAttributesAsync(DeleteUserAttributesRequest request, AsyncHandler<DeleteUserAttributesRequest,DeleteUserAttributesResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes the attributes for a user.
- Specified by:
deleteUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete user attributes.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteUserAttributes operation returned by the service.
-
deleteUserPoolAsync
public Future<DeleteUserPoolResult> deleteUserPoolAsync(DeleteUserPoolRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes the specified Amazon Cognito user pool.
- Specified by:
deleteUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user pool.- Returns:
- A Java Future containing the result of the DeleteUserPool operation returned by the service.
-
deleteUserPoolAsync
public Future<DeleteUserPoolResult> deleteUserPoolAsync(DeleteUserPoolRequest request, AsyncHandler<DeleteUserPoolRequest,DeleteUserPoolResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Deletes the specified Amazon Cognito user pool.
- Specified by:
deleteUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user pool.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteUserPool operation returned by the service.
-
deleteUserPoolClientAsync
public Future<DeleteUserPoolClientResult> deleteUserPoolClientAsync(DeleteUserPoolClientRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows the developer to delete the user pool client.
- Specified by:
deleteUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user pool client.- Returns:
- A Java Future containing the result of the DeleteUserPoolClient operation returned by the service.
-
deleteUserPoolClientAsync
public Future<DeleteUserPoolClientResult> deleteUserPoolClientAsync(DeleteUserPoolClientRequest request, AsyncHandler<DeleteUserPoolClientRequest,DeleteUserPoolClientResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows the developer to delete the user pool client.
- Specified by:
deleteUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to delete a user pool client.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteUserPoolClient operation returned by the service.
-
describeUserPoolAsync
public Future<DescribeUserPoolResult> describeUserPoolAsync(DescribeUserPoolRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Returns the configuration information and metadata of the specified user pool.
- Specified by:
describeUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to describe the user pool.- Returns:
- A Java Future containing the result of the DescribeUserPool operation returned by the service.
-
describeUserPoolAsync
public Future<DescribeUserPoolResult> describeUserPoolAsync(DescribeUserPoolRequest request, AsyncHandler<DescribeUserPoolRequest,DescribeUserPoolResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Returns the configuration information and metadata of the specified user pool.
- Specified by:
describeUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to describe the user pool.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeUserPool operation returned by the service.
-
describeUserPoolClientAsync
public Future<DescribeUserPoolClientResult> describeUserPoolClientAsync(DescribeUserPoolClientRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Client method for returning the configuration information and metadata of the specified user pool client.
- Specified by:
describeUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to describe a user pool client.- Returns:
- A Java Future containing the result of the DescribeUserPoolClient operation returned by the service.
-
describeUserPoolClientAsync
public Future<DescribeUserPoolClientResult> describeUserPoolClientAsync(DescribeUserPoolClientRequest request, AsyncHandler<DescribeUserPoolClientRequest,DescribeUserPoolClientResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Client method for returning the configuration information and metadata of the specified user pool client.
- Specified by:
describeUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to describe a user pool client.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeUserPoolClient operation returned by the service.
-
forgotPasswordAsync
public Future<ForgotPasswordResult> forgotPasswordAsync(ForgotPasswordRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Retrieves the password for the specified client ID or username.
- Specified by:
forgotPasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to reset a user's password.- Returns:
- A Java Future containing the result of the ForgotPassword operation returned by the service.
-
forgotPasswordAsync
public Future<ForgotPasswordResult> forgotPasswordAsync(ForgotPasswordRequest request, AsyncHandler<ForgotPasswordRequest,ForgotPasswordResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Retrieves the password for the specified client ID or username.
- Specified by:
forgotPasswordAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to reset a user's password.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ForgotPassword operation returned by the service.
-
getUserAsync
public Future<GetUserResult> getUserAsync(GetUserRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Gets the user attributes and metadata for a user.
- Specified by:
getUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to get information about the user.- Returns:
- A Java Future containing the result of the GetUser operation returned by the service.
-
getUserAsync
public Future<GetUserResult> getUserAsync(GetUserRequest request, AsyncHandler<GetUserRequest,GetUserResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Gets the user attributes and metadata for a user.
- Specified by:
getUserAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to get information about the user.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetUser operation returned by the service.
-
getUserAttributeVerificationCodeAsync
public Future<GetUserAttributeVerificationCodeResult> getUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Gets the user attribute verification code for the specified attribute name.
- Specified by:
getUserAttributeVerificationCodeAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to get user attribute verification.- Returns:
- A Java Future containing the result of the GetUserAttributeVerificationCode operation returned by the service.
-
getUserAttributeVerificationCodeAsync
public Future<GetUserAttributeVerificationCodeResult> getUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request, AsyncHandler<GetUserAttributeVerificationCodeRequest,GetUserAttributeVerificationCodeResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Gets the user attribute verification code for the specified attribute name.
- Specified by:
getUserAttributeVerificationCodeAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to get user attribute verification.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetUserAttributeVerificationCode operation returned by the service.
-
listUserPoolClientsAsync
public Future<ListUserPoolClientsResult> listUserPoolClientsAsync(ListUserPoolClientsRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Lists the clients that have been created for the specified user pool.
- Specified by:
listUserPoolClientsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to list the user pool clients.- Returns:
- A Java Future containing the result of the ListUserPoolClients operation returned by the service.
-
listUserPoolClientsAsync
public Future<ListUserPoolClientsResult> listUserPoolClientsAsync(ListUserPoolClientsRequest request, AsyncHandler<ListUserPoolClientsRequest,ListUserPoolClientsResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Lists the clients that have been created for the specified user pool.
- Specified by:
listUserPoolClientsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to list the user pool clients.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListUserPoolClients operation returned by the service.
-
listUserPoolsAsync
public Future<ListUserPoolsResult> listUserPoolsAsync(ListUserPoolsRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Lists the user pools associated with an AWS account.
- Specified by:
listUserPoolsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to list user pools.- Returns:
- A Java Future containing the result of the ListUserPools operation returned by the service.
-
listUserPoolsAsync
public Future<ListUserPoolsResult> listUserPoolsAsync(ListUserPoolsRequest request, AsyncHandler<ListUserPoolsRequest,ListUserPoolsResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Lists the user pools associated with an AWS account.
- Specified by:
listUserPoolsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to list user pools.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListUserPools operation returned by the service.
-
listUsersAsync
public Future<ListUsersResult> listUsersAsync(ListUsersRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Lists the users in the Amazon Cognito user pool.
- Specified by:
listUsersAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to list users.- Returns:
- A Java Future containing the result of the ListUsers operation returned by the service.
-
listUsersAsync
public Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Lists the users in the Amazon Cognito user pool.
- Specified by:
listUsersAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to list users.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListUsers operation returned by the service.
-
resendConfirmationCodeAsync
public Future<ResendConfirmationCodeResult> resendConfirmationCodeAsync(ResendConfirmationCodeRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
- Specified by:
resendConfirmationCodeAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to resend the confirmation code.- Returns:
- A Java Future containing the result of the ResendConfirmationCode operation returned by the service.
-
resendConfirmationCodeAsync
public Future<ResendConfirmationCodeResult> resendConfirmationCodeAsync(ResendConfirmationCodeRequest request, AsyncHandler<ResendConfirmationCodeRequest,ResendConfirmationCodeResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
- Specified by:
resendConfirmationCodeAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to resend the confirmation code.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ResendConfirmationCode operation returned by the service.
-
setUserSettingsAsync
public Future<SetUserSettingsResult> setUserSettingsAsync(SetUserSettingsRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed.
- Specified by:
setUserSettingsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to set user settings.- Returns:
- A Java Future containing the result of the SetUserSettings operation returned by the service.
-
setUserSettingsAsync
public Future<SetUserSettingsResult> setUserSettingsAsync(SetUserSettingsRequest request, AsyncHandler<SetUserSettingsRequest,SetUserSettingsResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed.
- Specified by:
setUserSettingsAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to set user settings.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetUserSettings operation returned by the service.
-
signUpAsync
public Future<SignUpResult> signUpAsync(SignUpRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Registers the user in the specified user pool and creates a user name, password, and user attributes.
- Specified by:
signUpAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to register a user.- Returns:
- A Java Future containing the result of the SignUp operation returned by the service.
-
signUpAsync
public Future<SignUpResult> signUpAsync(SignUpRequest request, AsyncHandler<SignUpRequest,SignUpResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Registers the user in the specified user pool and creates a user name, password, and user attributes.
- Specified by:
signUpAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to register a user.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SignUp operation returned by the service.
-
updateUserAttributesAsync
public Future<UpdateUserAttributesResult> updateUserAttributesAsync(UpdateUserAttributesRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows a user to update a specific attribute (one at a time).
- Specified by:
updateUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update user attributes.- Returns:
- A Java Future containing the result of the UpdateUserAttributes operation returned by the service.
-
updateUserAttributesAsync
public Future<UpdateUserAttributesResult> updateUserAttributesAsync(UpdateUserAttributesRequest request, AsyncHandler<UpdateUserAttributesRequest,UpdateUserAttributesResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows a user to update a specific attribute (one at a time).
- Specified by:
updateUserAttributesAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update user attributes.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateUserAttributes operation returned by the service.
-
updateUserPoolAsync
public Future<UpdateUserPoolResult> updateUserPoolAsync(UpdateUserPoolRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Updates the specified user pool with the specified attributes.
- Specified by:
updateUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update the user pool.- Returns:
- A Java Future containing the result of the UpdateUserPool operation returned by the service.
-
updateUserPoolAsync
public Future<UpdateUserPoolResult> updateUserPoolAsync(UpdateUserPoolRequest request, AsyncHandler<UpdateUserPoolRequest,UpdateUserPoolResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Updates the specified user pool with the specified attributes.
- Specified by:
updateUserPoolAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update the user pool.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateUserPool operation returned by the service.
-
updateUserPoolClientAsync
public Future<UpdateUserPoolClientResult> updateUserPoolClientAsync(UpdateUserPoolClientRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows the developer to update the specified user pool client and password policy.
- Specified by:
updateUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update the user pool client.- Returns:
- A Java Future containing the result of the UpdateUserPoolClient operation returned by the service.
-
updateUserPoolClientAsync
public Future<UpdateUserPoolClientResult> updateUserPoolClientAsync(UpdateUserPoolClientRequest request, AsyncHandler<UpdateUserPoolClientRequest,UpdateUserPoolClientResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Allows the developer to update the specified user pool client and password policy.
- Specified by:
updateUserPoolClientAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to update the user pool client.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateUserPoolClient operation returned by the service.
-
verifyUserAttributeAsync
public Future<VerifyUserAttributeResult> verifyUserAttributeAsync(VerifyUserAttributeRequest request)
Description copied from interface:AWSCognitoIdentityProviderAsync
Verifies the specified user attributes in the user pool.
- Specified by:
verifyUserAttributeAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to verify user attributes.- Returns:
- A Java Future containing the result of the VerifyUserAttribute operation returned by the service.
-
verifyUserAttributeAsync
public Future<VerifyUserAttributeResult> verifyUserAttributeAsync(VerifyUserAttributeRequest request, AsyncHandler<VerifyUserAttributeRequest,VerifyUserAttributeResult> asyncHandler)
Description copied from interface:AWSCognitoIdentityProviderAsync
Verifies the specified user attributes in the user pool.
- Specified by:
verifyUserAttributeAsync
in interfaceAWSCognitoIdentityProviderAsync
- Parameters:
request
- Represents the request to verify user attributes.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the VerifyUserAttribute operation returned by the service.
-
-