Class AWSCognitoIdentityProviderAsyncClient
- All Implemented Interfaces:
AWSCognitoIdentityProvider,AWSCognitoIdentityProviderAsync
AsyncHandler can be
used to receive notification when an asynchronous operation completes.
You can create a user pool in Amazon Cognito Identity to manage directories and users. You can authenticate a user to obtain tokens related to user identity and access policies.
This API reference provides information about user pools in Amazon Cognito Identity, which is a new capability that is available as a beta.
-
Field Summary
Fields inherited from class com.amazonaws.services.cognitoidp.AWSCognitoIdentityProviderClient
configFactoryFields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider.AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials.AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials provider.AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the provided AWS account credentials provider and client configuration options.AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials provider, executor service, and client configuration options.AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials provider and executor service.AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials, executor service, and client configuration options.AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials and executor service.AWSCognitoIdentityProviderAsyncClient(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider. -
Method Summary
Modifier and TypeMethodDescriptionAdds additional user attributes to the user pool schema.addCustomAttributesAsync(AddCustomAttributesRequest request, AsyncHandler<AddCustomAttributesRequest, AddCustomAttributesResult> asyncHandler) Adds additional user attributes to the user pool schema.Confirms user registration as an admin without using a confirmation code.adminConfirmSignUpAsync(AdminConfirmSignUpRequest request, AsyncHandler<AdminConfirmSignUpRequest, AdminConfirmSignUpResult> asyncHandler) Confirms user registration as an admin without using a confirmation code.Deletes a user as an administrator.adminDeleteUserAsync(AdminDeleteUserRequest request, AsyncHandler<AdminDeleteUserRequest, AdminDeleteUserResult> asyncHandler) Deletes a user as an administrator.Deletes the user attributes in a user pool as an administrator.adminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request, AsyncHandler<AdminDeleteUserAttributesRequest, AdminDeleteUserAttributesResult> asyncHandler) Deletes the user attributes in a user pool as an administrator.Disables the specified user as an administrator.adminDisableUserAsync(AdminDisableUserRequest request, AsyncHandler<AdminDisableUserRequest, AdminDisableUserResult> asyncHandler) Disables the specified user as an administrator.Enables the specified user as an administrator.adminEnableUserAsync(AdminEnableUserRequest request, AsyncHandler<AdminEnableUserRequest, AdminEnableUserResult> asyncHandler) Enables the specified user as an administrator.adminGetUserAsync(AdminGetUserRequest request) Gets the specified user by user name in a user pool as an administrator.adminGetUserAsync(AdminGetUserRequest request, AsyncHandler<AdminGetUserRequest, AdminGetUserResult> asyncHandler) Gets the specified user by user name in a user pool as an administrator.Resets the specified user's password in a user pool as an administrator.adminResetUserPasswordAsync(AdminResetUserPasswordRequest request, AsyncHandler<AdminResetUserPasswordRequest, AdminResetUserPasswordResult> asyncHandler) Resets the specified user's password in a user pool as an administrator.Sets all the user settings for a specified user name.adminSetUserSettingsAsync(AdminSetUserSettingsRequest request, AsyncHandler<AdminSetUserSettingsRequest, AdminSetUserSettingsResult> asyncHandler) Sets all the user settings for a specified user name.Updates the specified user's attributes, including developer attributes, as an administrator.adminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request, AsyncHandler<AdminUpdateUserAttributesRequest, AdminUpdateUserAttributesResult> asyncHandler) Updates the specified user's attributes, including developer attributes, as an administrator.changePasswordAsync(ChangePasswordRequest request) Changes the password for a specified user in a user pool.changePasswordAsync(ChangePasswordRequest request, AsyncHandler<ChangePasswordRequest, ChangePasswordResult> asyncHandler) Changes the password for a specified user in a user pool.Allows a user to enter a code provided when they reset their password to update their password.confirmForgotPasswordAsync(ConfirmForgotPasswordRequest request, AsyncHandler<ConfirmForgotPasswordRequest, ConfirmForgotPasswordResult> asyncHandler) Allows a user to enter a code provided when they reset their password to update their password.confirmSignUpAsync(ConfirmSignUpRequest request) Confirms registration of a user and handles the existing alias from a previous user.confirmSignUpAsync(ConfirmSignUpRequest request, AsyncHandler<ConfirmSignUpRequest, ConfirmSignUpResult> asyncHandler) Confirms registration of a user and handles the existing alias from a previous user.createUserPoolAsync(CreateUserPoolRequest request) Creates a new Amazon Cognito user pool and sets the password policy for the pool.createUserPoolAsync(CreateUserPoolRequest request, AsyncHandler<CreateUserPoolRequest, CreateUserPoolResult> asyncHandler) Creates a new Amazon Cognito user pool and sets the password policy for the pool.Creates the user pool client.createUserPoolClientAsync(CreateUserPoolClientRequest request, AsyncHandler<CreateUserPoolClientRequest, CreateUserPoolClientResult> asyncHandler) Creates the user pool client.deleteUserAsync(DeleteUserRequest request) Allows a user to delete one's self.deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest, DeleteUserResult> asyncHandler) Allows a user to delete one's self.Deletes the attributes for a user.deleteUserAttributesAsync(DeleteUserAttributesRequest request, AsyncHandler<DeleteUserAttributesRequest, DeleteUserAttributesResult> asyncHandler) Deletes the attributes for a user.deleteUserPoolAsync(DeleteUserPoolRequest request) Deletes the specified Amazon Cognito user pool.deleteUserPoolAsync(DeleteUserPoolRequest request, AsyncHandler<DeleteUserPoolRequest, DeleteUserPoolResult> asyncHandler) Deletes the specified Amazon Cognito user pool.Allows the developer to delete the user pool client.deleteUserPoolClientAsync(DeleteUserPoolClientRequest request, AsyncHandler<DeleteUserPoolClientRequest, DeleteUserPoolClientResult> asyncHandler) Allows the developer to delete the user pool client.Returns the configuration information and metadata of the specified user pool.describeUserPoolAsync(DescribeUserPoolRequest request, AsyncHandler<DescribeUserPoolRequest, DescribeUserPoolResult> asyncHandler) Returns the configuration information and metadata of the specified user pool.Client method for returning the configuration information and metadata of the specified user pool client.describeUserPoolClientAsync(DescribeUserPoolClientRequest request, AsyncHandler<DescribeUserPoolClientRequest, DescribeUserPoolClientResult> asyncHandler) Client method for returning the configuration information and metadata of the specified user pool client.forgotPasswordAsync(ForgotPasswordRequest request) Retrieves the password for the specified client ID or username.forgotPasswordAsync(ForgotPasswordRequest request, AsyncHandler<ForgotPasswordRequest, ForgotPasswordResult> asyncHandler) Retrieves the password for the specified client ID or username.Returns the executor service used by this client to execute async requests.getUserAsync(GetUserRequest request) Gets the user attributes and metadata for a user.getUserAsync(GetUserRequest request, AsyncHandler<GetUserRequest, GetUserResult> asyncHandler) Gets the user attributes and metadata for a user.Gets the user attribute verification code for the specified attribute name.getUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request, AsyncHandler<GetUserAttributeVerificationCodeRequest, GetUserAttributeVerificationCodeResult> asyncHandler) Gets the user attribute verification code for the specified attribute name.Lists the clients that have been created for the specified user pool.listUserPoolClientsAsync(ListUserPoolClientsRequest request, AsyncHandler<ListUserPoolClientsRequest, ListUserPoolClientsResult> asyncHandler) Lists the clients that have been created for the specified user pool.listUserPoolsAsync(ListUserPoolsRequest request) Lists the user pools associated with an AWS account.listUserPoolsAsync(ListUserPoolsRequest request, AsyncHandler<ListUserPoolsRequest, ListUserPoolsResult> asyncHandler) Lists the user pools associated with an AWS account.listUsersAsync(ListUsersRequest request) Lists the users in the Amazon Cognito user pool.listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest, ListUsersResult> asyncHandler) Lists the users in the Amazon Cognito user pool.Resends the confirmation (for confirmation of registration) to a specific user in the user pool.resendConfirmationCodeAsync(ResendConfirmationCodeRequest request, AsyncHandler<ResendConfirmationCodeRequest, ResendConfirmationCodeResult> asyncHandler) Resends the confirmation (for confirmation of registration) to a specific user in the user pool.Sets the user settings like multi-factor authentication (MFA).setUserSettingsAsync(SetUserSettingsRequest request, AsyncHandler<SetUserSettingsRequest, SetUserSettingsResult> asyncHandler) Sets the user settings like multi-factor authentication (MFA).voidshutdown()Shuts down the client, releasing all managed resources.signUpAsync(SignUpRequest request) Registers the user in the specified user pool and creates a user name, password, and user attributes.signUpAsync(SignUpRequest request, AsyncHandler<SignUpRequest, SignUpResult> asyncHandler) Registers the user in the specified user pool and creates a user name, password, and user attributes.Allows a user to update a specific attribute (one at a time).updateUserAttributesAsync(UpdateUserAttributesRequest request, AsyncHandler<UpdateUserAttributesRequest, UpdateUserAttributesResult> asyncHandler) Allows a user to update a specific attribute (one at a time).updateUserPoolAsync(UpdateUserPoolRequest request) Updates the specified user pool with the specified attributes.updateUserPoolAsync(UpdateUserPoolRequest request, AsyncHandler<UpdateUserPoolRequest, UpdateUserPoolResult> asyncHandler) Updates the specified user pool with the specified attributes.Allows the developer to update the specified user pool client and password policy.updateUserPoolClientAsync(UpdateUserPoolClientRequest request, AsyncHandler<UpdateUserPoolClientRequest, UpdateUserPoolClientResult> asyncHandler) Allows the developer to update the specified user pool client and password policy.Verifies the specified user attributes in the user pool.verifyUserAttributeAsync(VerifyUserAttributeRequest request, AsyncHandler<VerifyUserAttributeRequest, VerifyUserAttributeResult> asyncHandler) Verifies the specified user attributes in the user pool.Methods inherited from class com.amazonaws.services.cognitoidp.AWSCognitoIdentityProviderClient
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, setUserSettings, signUp, updateUserAttributes, updateUserPool, updateUserPoolClient, verifyUserAttributeMethods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, signUp, updateUserAttributes, updateUserPool, updateUserPoolClient, verifyUserAttribute
-
Constructor Details
-
AWSCognitoIdentityProviderAsyncClient
public AWSCognitoIdentityProviderAsyncClient()Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- See Also:
-
AWSCognitoIdentityProviderAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections().- Parameters:
clientConfiguration- The client configuration options controlling how this client connects to Amazon Cognito Identity Provider (ex: proxy settings, retry counts, etc).- See Also:
-
AWSCognitoIdentityProviderAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AWSCognitoIdentityProviderAsyncClient
public AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials and executor service. Default client settings will be used.- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService- The executor service by which all asynchronous requests will be executed.
-
AWSCognitoIdentityProviderAsyncClient
public AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials, executor service, and client configuration options.- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).executorService- The executor service by which all asynchronous requests will be executed.
-
AWSCognitoIdentityProviderAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials provider. Default client settings will be used.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AWSCognitoIdentityProviderAsyncClient
public AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the provided AWS account credentials provider and client configuration options.Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections().- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).- See Also:
-
AWSCognitoIdentityProviderAsyncClient
public AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials provider and executor service. Default client settings will be used.- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService- The executor service by which all asynchronous requests will be executed.
-
AWSCognitoIdentityProviderAsyncClient
public AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon Cognito Identity Provider using the specified AWS account credentials provider, executor service, and client configuration options.- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).executorService- The executor service by which all asynchronous requests will be executed.
-
-
Method Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
addCustomAttributesAsync
public Future<AddCustomAttributesResult> addCustomAttributesAsync(AddCustomAttributesRequest request) Description copied from interface:AWSCognitoIdentityProviderAsyncAdds additional user attributes to the user pool schema.
- Specified by:
addCustomAttributesAsyncin 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:AWSCognitoIdentityProviderAsyncAdds additional user attributes to the user pool schema.
- Specified by:
addCustomAttributesAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncConfirms user registration as an admin without using a confirmation code. Works on any user.
- Specified by:
adminConfirmSignUpAsyncin 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:AWSCognitoIdentityProviderAsyncConfirms user registration as an admin without using a confirmation code. Works on any user.
- Specified by:
adminConfirmSignUpAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncDeletes a user as an administrator. Works on any user.
- Specified by:
adminDeleteUserAsyncin 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:AWSCognitoIdentityProviderAsyncDeletes a user as an administrator. Works on any user.
- Specified by:
adminDeleteUserAsyncin 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:AWSCognitoIdentityProviderAsyncDeletes the user attributes in a user pool as an administrator. Works on any user.
- Specified by:
adminDeleteUserAttributesAsyncin 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:AWSCognitoIdentityProviderAsyncDeletes the user attributes in a user pool as an administrator. Works on any user.
- Specified by:
adminDeleteUserAttributesAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncDisables the specified user as an administrator. Works on any user.
- Specified by:
adminDisableUserAsyncin 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:AWSCognitoIdentityProviderAsyncDisables the specified user as an administrator. Works on any user.
- Specified by:
adminDisableUserAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncEnables the specified user as an administrator. Works on any user.
- Specified by:
adminEnableUserAsyncin 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:AWSCognitoIdentityProviderAsyncEnables the specified user as an administrator. Works on any user.
- Specified by:
adminEnableUserAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncGets the specified user by user name in a user pool as an administrator. Works on any user.
- Specified by:
adminGetUserAsyncin 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:AWSCognitoIdentityProviderAsyncGets the specified user by user name in a user pool as an administrator. Works on any user.
- Specified by:
adminGetUserAsyncin 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:AWSCognitoIdentityProviderAsyncResets the specified user's password in a user pool as an administrator. Works on any user.
- Specified by:
adminResetUserPasswordAsyncin 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:AWSCognitoIdentityProviderAsyncResets the specified user's password in a user pool as an administrator. Works on any user.
- Specified by:
adminResetUserPasswordAsyncin 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:AWSCognitoIdentityProviderAsyncSets all the user settings for a specified user name. Works on any user.
- Specified by:
adminSetUserSettingsAsyncin 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:AWSCognitoIdentityProviderAsyncSets all the user settings for a specified user name. Works on any user.
- Specified by:
adminSetUserSettingsAsyncin 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:AWSCognitoIdentityProviderAsyncUpdates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
- Specified by:
adminUpdateUserAttributesAsyncin 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:AWSCognitoIdentityProviderAsyncUpdates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
- Specified by:
adminUpdateUserAttributesAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncChanges the password for a specified user in a user pool.
- Specified by:
changePasswordAsyncin 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:AWSCognitoIdentityProviderAsyncChanges the password for a specified user in a user pool.
- Specified by:
changePasswordAsyncin 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:AWSCognitoIdentityProviderAsyncAllows a user to enter a code provided when they reset their password to update their password.
- Specified by:
confirmForgotPasswordAsyncin 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:AWSCognitoIdentityProviderAsyncAllows a user to enter a code provided when they reset their password to update their password.
- Specified by:
confirmForgotPasswordAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncConfirms registration of a user and handles the existing alias from a previous user.
- Specified by:
confirmSignUpAsyncin 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:AWSCognitoIdentityProviderAsyncConfirms registration of a user and handles the existing alias from a previous user.
- Specified by:
confirmSignUpAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncCreates a new Amazon Cognito user pool and sets the password policy for the pool.
- Specified by:
createUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncCreates a new Amazon Cognito user pool and sets the password policy for the pool.
- Specified by:
createUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncCreates the user pool client.
- Specified by:
createUserPoolClientAsyncin 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:AWSCognitoIdentityProviderAsyncCreates the user pool client.
- Specified by:
createUserPoolClientAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncAllows a user to delete one's self.
- Specified by:
deleteUserAsyncin 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:AWSCognitoIdentityProviderAsyncAllows a user to delete one's self.
- Specified by:
deleteUserAsyncin 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:AWSCognitoIdentityProviderAsyncDeletes the attributes for a user.
- Specified by:
deleteUserAttributesAsyncin 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:AWSCognitoIdentityProviderAsyncDeletes the attributes for a user.
- Specified by:
deleteUserAttributesAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncDeletes the specified Amazon Cognito user pool.
- Specified by:
deleteUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncDeletes the specified Amazon Cognito user pool.
- Specified by:
deleteUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncAllows the developer to delete the user pool client.
- Specified by:
deleteUserPoolClientAsyncin 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:AWSCognitoIdentityProviderAsyncAllows the developer to delete the user pool client.
- Specified by:
deleteUserPoolClientAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncReturns the configuration information and metadata of the specified user pool.
- Specified by:
describeUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncReturns the configuration information and metadata of the specified user pool.
- Specified by:
describeUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncClient method for returning the configuration information and metadata of the specified user pool client.
- Specified by:
describeUserPoolClientAsyncin 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:AWSCognitoIdentityProviderAsyncClient method for returning the configuration information and metadata of the specified user pool client.
- Specified by:
describeUserPoolClientAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncRetrieves the password for the specified client ID or username.
- Specified by:
forgotPasswordAsyncin 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:AWSCognitoIdentityProviderAsyncRetrieves the password for the specified client ID or username.
- Specified by:
forgotPasswordAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncGets the user attributes and metadata for a user.
- Specified by:
getUserAsyncin 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:AWSCognitoIdentityProviderAsyncGets the user attributes and metadata for a user.
- Specified by:
getUserAsyncin 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:AWSCognitoIdentityProviderAsyncGets the user attribute verification code for the specified attribute name.
- Specified by:
getUserAttributeVerificationCodeAsyncin 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:AWSCognitoIdentityProviderAsyncGets the user attribute verification code for the specified attribute name.
- Specified by:
getUserAttributeVerificationCodeAsyncin 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:AWSCognitoIdentityProviderAsyncLists the clients that have been created for the specified user pool.
- Specified by:
listUserPoolClientsAsyncin 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:AWSCognitoIdentityProviderAsyncLists the clients that have been created for the specified user pool.
- Specified by:
listUserPoolClientsAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncLists the user pools associated with an AWS account.
- Specified by:
listUserPoolsAsyncin 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:AWSCognitoIdentityProviderAsyncLists the user pools associated with an AWS account.
- Specified by:
listUserPoolsAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncLists the users in the Amazon Cognito user pool.
- Specified by:
listUsersAsyncin 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:AWSCognitoIdentityProviderAsyncLists the users in the Amazon Cognito user pool.
- Specified by:
listUsersAsyncin 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:AWSCognitoIdentityProviderAsyncResends the confirmation (for confirmation of registration) to a specific user in the user pool.
- Specified by:
resendConfirmationCodeAsyncin 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:AWSCognitoIdentityProviderAsyncResends the confirmation (for confirmation of registration) to a specific user in the user pool.
- Specified by:
resendConfirmationCodeAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncSets 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:
setUserSettingsAsyncin 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:AWSCognitoIdentityProviderAsyncSets 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:
setUserSettingsAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncRegisters the user in the specified user pool and creates a user name, password, and user attributes.
- Specified by:
signUpAsyncin 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:AWSCognitoIdentityProviderAsyncRegisters the user in the specified user pool and creates a user name, password, and user attributes.
- Specified by:
signUpAsyncin 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:AWSCognitoIdentityProviderAsyncAllows a user to update a specific attribute (one at a time).
- Specified by:
updateUserAttributesAsyncin 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:AWSCognitoIdentityProviderAsyncAllows a user to update a specific attribute (one at a time).
- Specified by:
updateUserAttributesAsyncin 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
Description copied from interface:AWSCognitoIdentityProviderAsyncUpdates the specified user pool with the specified attributes.
- Specified by:
updateUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncUpdates the specified user pool with the specified attributes.
- Specified by:
updateUserPoolAsyncin 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:AWSCognitoIdentityProviderAsyncAllows the developer to update the specified user pool client and password policy.
- Specified by:
updateUserPoolClientAsyncin 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:AWSCognitoIdentityProviderAsyncAllows the developer to update the specified user pool client and password policy.
- Specified by:
updateUserPoolClientAsyncin 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:AWSCognitoIdentityProviderAsyncVerifies the specified user attributes in the user pool.
- Specified by:
verifyUserAttributeAsyncin 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:AWSCognitoIdentityProviderAsyncVerifies the specified user attributes in the user pool.
- Specified by:
verifyUserAttributeAsyncin 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.
-
shutdown
public void shutdown()Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()followed bygetExecutorService().awaitTermination()prior to calling this method.- Specified by:
shutdownin interfaceAWSCognitoIdentityProvider- Overrides:
shutdownin classAmazonWebServiceClient
-