@ThreadSafe public class AWSCognitoIdentityProviderAsyncClient extends AWSCognitoIdentityProviderClient implements 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.
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_THREAD_POOL_SIZE |
private java.util.concurrent.ExecutorService |
executorService |
configFactory
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSCognitoIdentityProviderAsyncClient()
Constructs 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(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.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,
java.util.concurrent.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(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,
java.util.concurrent.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,
java.util.concurrent.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(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
Cognito Identity Provider.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<AddCustomAttributesResult> |
addCustomAttributesAsync(AddCustomAttributesRequest request)
Adds additional user attributes to the user pool schema.
|
java.util.concurrent.Future<AddCustomAttributesResult> |
addCustomAttributesAsync(AddCustomAttributesRequest request,
AsyncHandler<AddCustomAttributesRequest,AddCustomAttributesResult> asyncHandler)
Adds additional user attributes to the user pool schema.
|
java.util.concurrent.Future<AdminConfirmSignUpResult> |
adminConfirmSignUpAsync(AdminConfirmSignUpRequest request)
Confirms user registration as an admin without using a confirmation code.
|
java.util.concurrent.Future<AdminConfirmSignUpResult> |
adminConfirmSignUpAsync(AdminConfirmSignUpRequest request,
AsyncHandler<AdminConfirmSignUpRequest,AdminConfirmSignUpResult> asyncHandler)
Confirms user registration as an admin without using a confirmation code.
|
java.util.concurrent.Future<AdminDeleteUserResult> |
adminDeleteUserAsync(AdminDeleteUserRequest request)
Deletes a user as an administrator.
|
java.util.concurrent.Future<AdminDeleteUserResult> |
adminDeleteUserAsync(AdminDeleteUserRequest request,
AsyncHandler<AdminDeleteUserRequest,AdminDeleteUserResult> asyncHandler)
Deletes a user as an administrator.
|
java.util.concurrent.Future<AdminDeleteUserAttributesResult> |
adminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request)
Deletes the user attributes in a user pool as an administrator.
|
java.util.concurrent.Future<AdminDeleteUserAttributesResult> |
adminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request,
AsyncHandler<AdminDeleteUserAttributesRequest,AdminDeleteUserAttributesResult> asyncHandler)
Deletes the user attributes in a user pool as an administrator.
|
java.util.concurrent.Future<AdminDisableUserResult> |
adminDisableUserAsync(AdminDisableUserRequest request)
Disables the specified user as an administrator.
|
java.util.concurrent.Future<AdminDisableUserResult> |
adminDisableUserAsync(AdminDisableUserRequest request,
AsyncHandler<AdminDisableUserRequest,AdminDisableUserResult> asyncHandler)
Disables the specified user as an administrator.
|
java.util.concurrent.Future<AdminEnableUserResult> |
adminEnableUserAsync(AdminEnableUserRequest request)
Enables the specified user as an administrator.
|
java.util.concurrent.Future<AdminEnableUserResult> |
adminEnableUserAsync(AdminEnableUserRequest request,
AsyncHandler<AdminEnableUserRequest,AdminEnableUserResult> asyncHandler)
Enables the specified user as an administrator.
|
java.util.concurrent.Future<AdminGetUserResult> |
adminGetUserAsync(AdminGetUserRequest request)
Gets the specified user by user name in a user pool as an administrator.
|
java.util.concurrent.Future<AdminGetUserResult> |
adminGetUserAsync(AdminGetUserRequest request,
AsyncHandler<AdminGetUserRequest,AdminGetUserResult> asyncHandler)
Gets the specified user by user name in a user pool as an administrator.
|
java.util.concurrent.Future<AdminResetUserPasswordResult> |
adminResetUserPasswordAsync(AdminResetUserPasswordRequest request)
Resets the specified user's password in a user pool as an administrator.
|
java.util.concurrent.Future<AdminResetUserPasswordResult> |
adminResetUserPasswordAsync(AdminResetUserPasswordRequest request,
AsyncHandler<AdminResetUserPasswordRequest,AdminResetUserPasswordResult> asyncHandler)
Resets the specified user's password in a user pool as an administrator.
|
java.util.concurrent.Future<AdminSetUserSettingsResult> |
adminSetUserSettingsAsync(AdminSetUserSettingsRequest request)
Sets all the user settings for a specified user name.
|
java.util.concurrent.Future<AdminSetUserSettingsResult> |
adminSetUserSettingsAsync(AdminSetUserSettingsRequest request,
AsyncHandler<AdminSetUserSettingsRequest,AdminSetUserSettingsResult> asyncHandler)
Sets all the user settings for a specified user name.
|
java.util.concurrent.Future<AdminUpdateUserAttributesResult> |
adminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request)
Updates the specified user's attributes, including developer attributes,
as an administrator.
|
java.util.concurrent.Future<AdminUpdateUserAttributesResult> |
adminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request,
AsyncHandler<AdminUpdateUserAttributesRequest,AdminUpdateUserAttributesResult> asyncHandler)
Updates the specified user's attributes, including developer attributes,
as an administrator.
|
java.util.concurrent.Future<ChangePasswordResult> |
changePasswordAsync(ChangePasswordRequest request)
Changes the password for a specified user in a user pool.
|
java.util.concurrent.Future<ChangePasswordResult> |
changePasswordAsync(ChangePasswordRequest request,
AsyncHandler<ChangePasswordRequest,ChangePasswordResult> asyncHandler)
Changes the password for a specified user in a user pool.
|
java.util.concurrent.Future<ConfirmForgotPasswordResult> |
confirmForgotPasswordAsync(ConfirmForgotPasswordRequest request)
Allows a user to enter a code provided when they reset their password to
update their password.
|
java.util.concurrent.Future<ConfirmForgotPasswordResult> |
confirmForgotPasswordAsync(ConfirmForgotPasswordRequest request,
AsyncHandler<ConfirmForgotPasswordRequest,ConfirmForgotPasswordResult> asyncHandler)
Allows a user to enter a code provided when they reset their password to
update their password.
|
java.util.concurrent.Future<ConfirmSignUpResult> |
confirmSignUpAsync(ConfirmSignUpRequest request)
Confirms registration of a user and handles the existing alias from a
previous user.
|
java.util.concurrent.Future<ConfirmSignUpResult> |
confirmSignUpAsync(ConfirmSignUpRequest request,
AsyncHandler<ConfirmSignUpRequest,ConfirmSignUpResult> asyncHandler)
Confirms registration of a user and handles the existing alias from a
previous user.
|
java.util.concurrent.Future<CreateUserPoolResult> |
createUserPoolAsync(CreateUserPoolRequest request)
Creates a new Amazon Cognito user pool and sets the password policy for
the pool.
|
java.util.concurrent.Future<CreateUserPoolResult> |
createUserPoolAsync(CreateUserPoolRequest request,
AsyncHandler<CreateUserPoolRequest,CreateUserPoolResult> asyncHandler)
Creates a new Amazon Cognito user pool and sets the password policy for
the pool.
|
java.util.concurrent.Future<CreateUserPoolClientResult> |
createUserPoolClientAsync(CreateUserPoolClientRequest request)
Creates the user pool client.
|
java.util.concurrent.Future<CreateUserPoolClientResult> |
createUserPoolClientAsync(CreateUserPoolClientRequest request,
AsyncHandler<CreateUserPoolClientRequest,CreateUserPoolClientResult> asyncHandler)
Creates the user pool client.
|
java.util.concurrent.Future<DeleteUserResult> |
deleteUserAsync(DeleteUserRequest request)
Allows a user to delete one's self.
|
java.util.concurrent.Future<DeleteUserResult> |
deleteUserAsync(DeleteUserRequest request,
AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
Allows a user to delete one's self.
|
java.util.concurrent.Future<DeleteUserAttributesResult> |
deleteUserAttributesAsync(DeleteUserAttributesRequest request)
Deletes the attributes for a user.
|
java.util.concurrent.Future<DeleteUserAttributesResult> |
deleteUserAttributesAsync(DeleteUserAttributesRequest request,
AsyncHandler<DeleteUserAttributesRequest,DeleteUserAttributesResult> asyncHandler)
Deletes the attributes for a user.
|
java.util.concurrent.Future<DeleteUserPoolResult> |
deleteUserPoolAsync(DeleteUserPoolRequest request)
Deletes the specified Amazon Cognito user pool.
|
java.util.concurrent.Future<DeleteUserPoolResult> |
deleteUserPoolAsync(DeleteUserPoolRequest request,
AsyncHandler<DeleteUserPoolRequest,DeleteUserPoolResult> asyncHandler)
Deletes the specified Amazon Cognito user pool.
|
java.util.concurrent.Future<DeleteUserPoolClientResult> |
deleteUserPoolClientAsync(DeleteUserPoolClientRequest request)
Allows the developer to delete the user pool client.
|
java.util.concurrent.Future<DeleteUserPoolClientResult> |
deleteUserPoolClientAsync(DeleteUserPoolClientRequest request,
AsyncHandler<DeleteUserPoolClientRequest,DeleteUserPoolClientResult> asyncHandler)
Allows the developer to delete the user pool client.
|
java.util.concurrent.Future<DescribeUserPoolResult> |
describeUserPoolAsync(DescribeUserPoolRequest request)
Returns the configuration information and metadata of the specified user
pool.
|
java.util.concurrent.Future<DescribeUserPoolResult> |
describeUserPoolAsync(DescribeUserPoolRequest request,
AsyncHandler<DescribeUserPoolRequest,DescribeUserPoolResult> asyncHandler)
Returns the configuration information and metadata of the specified user
pool.
|
java.util.concurrent.Future<DescribeUserPoolClientResult> |
describeUserPoolClientAsync(DescribeUserPoolClientRequest request)
Client method for returning the configuration information and metadata of
the specified user pool client.
|
java.util.concurrent.Future<DescribeUserPoolClientResult> |
describeUserPoolClientAsync(DescribeUserPoolClientRequest request,
AsyncHandler<DescribeUserPoolClientRequest,DescribeUserPoolClientResult> asyncHandler)
Client method for returning the configuration information and metadata of
the specified user pool client.
|
java.util.concurrent.Future<ForgotPasswordResult> |
forgotPasswordAsync(ForgotPasswordRequest request)
Retrieves the password for the specified client ID or username.
|
java.util.concurrent.Future<ForgotPasswordResult> |
forgotPasswordAsync(ForgotPasswordRequest request,
AsyncHandler<ForgotPasswordRequest,ForgotPasswordResult> asyncHandler)
Retrieves the password for the specified client ID or username.
|
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async
requests.
|
java.util.concurrent.Future<GetUserResult> |
getUserAsync(GetUserRequest request)
Gets the user attributes and metadata for a user.
|
java.util.concurrent.Future<GetUserResult> |
getUserAsync(GetUserRequest request,
AsyncHandler<GetUserRequest,GetUserResult> asyncHandler)
Gets the user attributes and metadata for a user.
|
java.util.concurrent.Future<GetUserAttributeVerificationCodeResult> |
getUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request)
Gets the user attribute verification code for the specified attribute
name.
|
java.util.concurrent.Future<GetUserAttributeVerificationCodeResult> |
getUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request,
AsyncHandler<GetUserAttributeVerificationCodeRequest,GetUserAttributeVerificationCodeResult> asyncHandler)
Gets the user attribute verification code for the specified attribute
name.
|
java.util.concurrent.Future<ListUserPoolClientsResult> |
listUserPoolClientsAsync(ListUserPoolClientsRequest request)
Lists the clients that have been created for the specified user pool.
|
java.util.concurrent.Future<ListUserPoolClientsResult> |
listUserPoolClientsAsync(ListUserPoolClientsRequest request,
AsyncHandler<ListUserPoolClientsRequest,ListUserPoolClientsResult> asyncHandler)
Lists the clients that have been created for the specified user pool.
|
java.util.concurrent.Future<ListUserPoolsResult> |
listUserPoolsAsync(ListUserPoolsRequest request)
Lists the user pools associated with an AWS account.
|
java.util.concurrent.Future<ListUserPoolsResult> |
listUserPoolsAsync(ListUserPoolsRequest request,
AsyncHandler<ListUserPoolsRequest,ListUserPoolsResult> asyncHandler)
Lists the user pools associated with an AWS account.
|
java.util.concurrent.Future<ListUsersResult> |
listUsersAsync(ListUsersRequest request)
Lists the users in the Amazon Cognito user pool.
|
java.util.concurrent.Future<ListUsersResult> |
listUsersAsync(ListUsersRequest request,
AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
Lists the users in the Amazon Cognito user pool.
|
java.util.concurrent.Future<ResendConfirmationCodeResult> |
resendConfirmationCodeAsync(ResendConfirmationCodeRequest request)
Resends the confirmation (for confirmation of registration) to a specific
user in the user pool.
|
java.util.concurrent.Future<ResendConfirmationCodeResult> |
resendConfirmationCodeAsync(ResendConfirmationCodeRequest request,
AsyncHandler<ResendConfirmationCodeRequest,ResendConfirmationCodeResult> asyncHandler)
Resends the confirmation (for confirmation of registration) to a specific
user in the user pool.
|
java.util.concurrent.Future<SetUserSettingsResult> |
setUserSettingsAsync(SetUserSettingsRequest request)
Sets the user settings like multi-factor authentication (MFA).
|
java.util.concurrent.Future<SetUserSettingsResult> |
setUserSettingsAsync(SetUserSettingsRequest request,
AsyncHandler<SetUserSettingsRequest,SetUserSettingsResult> asyncHandler)
Sets the user settings like multi-factor authentication (MFA).
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
java.util.concurrent.Future<SignUpResult> |
signUpAsync(SignUpRequest request)
Registers the user in the specified user pool and creates a user name,
password, and user attributes.
|
java.util.concurrent.Future<SignUpResult> |
signUpAsync(SignUpRequest request,
AsyncHandler<SignUpRequest,SignUpResult> asyncHandler)
Registers the user in the specified user pool and creates a user name,
password, and user attributes.
|
java.util.concurrent.Future<UpdateUserAttributesResult> |
updateUserAttributesAsync(UpdateUserAttributesRequest request)
Allows a user to update a specific attribute (one at a time).
|
java.util.concurrent.Future<UpdateUserAttributesResult> |
updateUserAttributesAsync(UpdateUserAttributesRequest request,
AsyncHandler<UpdateUserAttributesRequest,UpdateUserAttributesResult> asyncHandler)
Allows a user to update a specific attribute (one at a time).
|
java.util.concurrent.Future<UpdateUserPoolResult> |
updateUserPoolAsync(UpdateUserPoolRequest request)
Updates the specified user pool with the specified attributes.
|
java.util.concurrent.Future<UpdateUserPoolResult> |
updateUserPoolAsync(UpdateUserPoolRequest request,
AsyncHandler<UpdateUserPoolRequest,UpdateUserPoolResult> asyncHandler)
Updates the specified user pool with the specified attributes.
|
java.util.concurrent.Future<UpdateUserPoolClientResult> |
updateUserPoolClientAsync(UpdateUserPoolClientRequest request)
Allows the developer to update the specified user pool client and
password policy.
|
java.util.concurrent.Future<UpdateUserPoolClientResult> |
updateUserPoolClientAsync(UpdateUserPoolClientRequest request,
AsyncHandler<UpdateUserPoolClientRequest,UpdateUserPoolClientResult> asyncHandler)
Allows the developer to update the specified user pool client and
password policy.
|
java.util.concurrent.Future<VerifyUserAttributeResult> |
verifyUserAttributeAsync(VerifyUserAttributeRequest request)
Verifies the specified user attributes in the user pool.
|
java.util.concurrent.Future<VerifyUserAttributeResult> |
verifyUserAttributeAsync(VerifyUserAttributeRequest request,
AsyncHandler<VerifyUserAttributeRequest,VerifyUserAttributeResult> asyncHandler)
Verifies the specified user attributes in the user pool.
|
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, verifyUserAttribute
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, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
private static final int DEFAULT_THREAD_POOL_SIZE
private final java.util.concurrent.ExecutorService executorService
public AWSCognitoIdentityProviderAsyncClient()
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).
DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSCognitoIdentityProviderAsyncClient(ClientConfiguration clientConfiguration)
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()
.
clientConfiguration
- The client configuration options controlling how this client
connects to Amazon Cognito Identity Provider (ex: proxy settings,
retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials)
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).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
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.public AWSCognitoIdentityProviderAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
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.public AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
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).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
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()
.
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).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
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.public AWSCognitoIdentityProviderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
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.public java.util.concurrent.ExecutorService getExecutorService()
public java.util.concurrent.Future<AddCustomAttributesResult> addCustomAttributesAsync(AddCustomAttributesRequest request)
AWSCognitoIdentityProviderAsync
Adds additional user attributes to the user pool schema.
addCustomAttributesAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to add custom attributes.public java.util.concurrent.Future<AddCustomAttributesResult> addCustomAttributesAsync(AddCustomAttributesRequest request, AsyncHandler<AddCustomAttributesRequest,AddCustomAttributesResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Adds additional user attributes to the user pool schema.
addCustomAttributesAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminConfirmSignUpResult> adminConfirmSignUpAsync(AdminConfirmSignUpRequest request)
AWSCognitoIdentityProviderAsync
Confirms user registration as an admin without using a confirmation code. Works on any user.
adminConfirmSignUpAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to confirm user registration.public java.util.concurrent.Future<AdminConfirmSignUpResult> adminConfirmSignUpAsync(AdminConfirmSignUpRequest request, AsyncHandler<AdminConfirmSignUpRequest,AdminConfirmSignUpResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Confirms user registration as an admin without using a confirmation code. Works on any user.
adminConfirmSignUpAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminDeleteUserResult> adminDeleteUserAsync(AdminDeleteUserRequest request)
AWSCognitoIdentityProviderAsync
Deletes a user as an administrator. Works on any user.
adminDeleteUserAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to delete a user as an administrator.public java.util.concurrent.Future<AdminDeleteUserResult> adminDeleteUserAsync(AdminDeleteUserRequest request, AsyncHandler<AdminDeleteUserRequest,AdminDeleteUserResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Deletes a user as an administrator. Works on any user.
adminDeleteUserAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminDeleteUserAttributesResult> adminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request)
AWSCognitoIdentityProviderAsync
Deletes the user attributes in a user pool as an administrator. Works on any user.
adminDeleteUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to delete user attributes as an
administrator.public java.util.concurrent.Future<AdminDeleteUserAttributesResult> adminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request, AsyncHandler<AdminDeleteUserAttributesRequest,AdminDeleteUserAttributesResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Deletes the user attributes in a user pool as an administrator. Works on any user.
adminDeleteUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminDisableUserResult> adminDisableUserAsync(AdminDisableUserRequest request)
AWSCognitoIdentityProviderAsync
Disables the specified user as an administrator. Works on any user.
adminDisableUserAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to disable any user as an administrator.public java.util.concurrent.Future<AdminDisableUserResult> adminDisableUserAsync(AdminDisableUserRequest request, AsyncHandler<AdminDisableUserRequest,AdminDisableUserResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Disables the specified user as an administrator. Works on any user.
adminDisableUserAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminEnableUserResult> adminEnableUserAsync(AdminEnableUserRequest request)
AWSCognitoIdentityProviderAsync
Enables the specified user as an administrator. Works on any user.
adminEnableUserAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request that enables the user as an administrator.public java.util.concurrent.Future<AdminEnableUserResult> adminEnableUserAsync(AdminEnableUserRequest request, AsyncHandler<AdminEnableUserRequest,AdminEnableUserResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Enables the specified user as an administrator. Works on any user.
adminEnableUserAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminGetUserResult> adminGetUserAsync(AdminGetUserRequest request)
AWSCognitoIdentityProviderAsync
Gets the specified user by user name in a user pool as an administrator. Works on any user.
adminGetUserAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to get the specified user as an
administrator.public java.util.concurrent.Future<AdminGetUserResult> adminGetUserAsync(AdminGetUserRequest request, AsyncHandler<AdminGetUserRequest,AdminGetUserResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Gets the specified user by user name in a user pool as an administrator. Works on any user.
adminGetUserAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminResetUserPasswordResult> adminResetUserPasswordAsync(AdminResetUserPasswordRequest request)
AWSCognitoIdentityProviderAsync
Resets the specified user's password in a user pool as an administrator. Works on any user.
adminResetUserPasswordAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to reset a user's password as an
administrator.public java.util.concurrent.Future<AdminResetUserPasswordResult> adminResetUserPasswordAsync(AdminResetUserPasswordRequest request, AsyncHandler<AdminResetUserPasswordRequest,AdminResetUserPasswordResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Resets the specified user's password in a user pool as an administrator. Works on any user.
adminResetUserPasswordAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminSetUserSettingsResult> adminSetUserSettingsAsync(AdminSetUserSettingsRequest request)
AWSCognitoIdentityProviderAsync
Sets all the user settings for a specified user name. Works on any user.
adminSetUserSettingsAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to set user settings as an administrator.public java.util.concurrent.Future<AdminSetUserSettingsResult> adminSetUserSettingsAsync(AdminSetUserSettingsRequest request, AsyncHandler<AdminSetUserSettingsRequest,AdminSetUserSettingsResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Sets all the user settings for a specified user name. Works on any user.
adminSetUserSettingsAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<AdminUpdateUserAttributesResult> adminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request)
AWSCognitoIdentityProviderAsync
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
adminUpdateUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to update the user's attributes as an
administrator.public java.util.concurrent.Future<AdminUpdateUserAttributesResult> adminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request, AsyncHandler<AdminUpdateUserAttributesRequest,AdminUpdateUserAttributesResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
adminUpdateUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ChangePasswordResult> changePasswordAsync(ChangePasswordRequest request)
AWSCognitoIdentityProviderAsync
Changes the password for a specified user in a user pool.
changePasswordAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to change a user password.public java.util.concurrent.Future<ChangePasswordResult> changePasswordAsync(ChangePasswordRequest request, AsyncHandler<ChangePasswordRequest,ChangePasswordResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Changes the password for a specified user in a user pool.
changePasswordAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ConfirmForgotPasswordResult> confirmForgotPasswordAsync(ConfirmForgotPasswordRequest request)
AWSCognitoIdentityProviderAsync
Allows a user to enter a code provided when they reset their password to update their password.
confirmForgotPasswordAsync
in interface AWSCognitoIdentityProviderAsync
request
- The request representing the confirmation for a password reset.public java.util.concurrent.Future<ConfirmForgotPasswordResult> confirmForgotPasswordAsync(ConfirmForgotPasswordRequest request, AsyncHandler<ConfirmForgotPasswordRequest,ConfirmForgotPasswordResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Allows a user to enter a code provided when they reset their password to update their password.
confirmForgotPasswordAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ConfirmSignUpResult> confirmSignUpAsync(ConfirmSignUpRequest request)
AWSCognitoIdentityProviderAsync
Confirms registration of a user and handles the existing alias from a previous user.
confirmSignUpAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to confirm registration of a user.public java.util.concurrent.Future<ConfirmSignUpResult> confirmSignUpAsync(ConfirmSignUpRequest request, AsyncHandler<ConfirmSignUpRequest,ConfirmSignUpResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Confirms registration of a user and handles the existing alias from a previous user.
confirmSignUpAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<CreateUserPoolResult> createUserPoolAsync(CreateUserPoolRequest request)
AWSCognitoIdentityProviderAsync
Creates a new Amazon Cognito user pool and sets the password policy for the pool.
createUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to create a user pool.public java.util.concurrent.Future<CreateUserPoolResult> createUserPoolAsync(CreateUserPoolRequest request, AsyncHandler<CreateUserPoolRequest,CreateUserPoolResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Creates a new Amazon Cognito user pool and sets the password policy for the pool.
createUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<CreateUserPoolClientResult> createUserPoolClientAsync(CreateUserPoolClientRequest request)
AWSCognitoIdentityProviderAsync
Creates the user pool client.
createUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to create a user pool client.public java.util.concurrent.Future<CreateUserPoolClientResult> createUserPoolClientAsync(CreateUserPoolClientRequest request, AsyncHandler<CreateUserPoolClientRequest,CreateUserPoolClientResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Creates the user pool client.
createUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AWSCognitoIdentityProviderAsync
Allows a user to delete one's self.
deleteUserAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to delete a user.public java.util.concurrent.Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Allows a user to delete one's self.
deleteUserAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<DeleteUserAttributesResult> deleteUserAttributesAsync(DeleteUserAttributesRequest request)
AWSCognitoIdentityProviderAsync
Deletes the attributes for a user.
deleteUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to delete user attributes.public java.util.concurrent.Future<DeleteUserAttributesResult> deleteUserAttributesAsync(DeleteUserAttributesRequest request, AsyncHandler<DeleteUserAttributesRequest,DeleteUserAttributesResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Deletes the attributes for a user.
deleteUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<DeleteUserPoolResult> deleteUserPoolAsync(DeleteUserPoolRequest request)
AWSCognitoIdentityProviderAsync
Deletes the specified Amazon Cognito user pool.
deleteUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to delete a user pool.public java.util.concurrent.Future<DeleteUserPoolResult> deleteUserPoolAsync(DeleteUserPoolRequest request, AsyncHandler<DeleteUserPoolRequest,DeleteUserPoolResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Deletes the specified Amazon Cognito user pool.
deleteUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<DeleteUserPoolClientResult> deleteUserPoolClientAsync(DeleteUserPoolClientRequest request)
AWSCognitoIdentityProviderAsync
Allows the developer to delete the user pool client.
deleteUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to delete a user pool client.public java.util.concurrent.Future<DeleteUserPoolClientResult> deleteUserPoolClientAsync(DeleteUserPoolClientRequest request, AsyncHandler<DeleteUserPoolClientRequest,DeleteUserPoolClientResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Allows the developer to delete the user pool client.
deleteUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<DescribeUserPoolResult> describeUserPoolAsync(DescribeUserPoolRequest request)
AWSCognitoIdentityProviderAsync
Returns the configuration information and metadata of the specified user pool.
describeUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to describe the user pool.public java.util.concurrent.Future<DescribeUserPoolResult> describeUserPoolAsync(DescribeUserPoolRequest request, AsyncHandler<DescribeUserPoolRequest,DescribeUserPoolResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Returns the configuration information and metadata of the specified user pool.
describeUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<DescribeUserPoolClientResult> describeUserPoolClientAsync(DescribeUserPoolClientRequest request)
AWSCognitoIdentityProviderAsync
Client method for returning the configuration information and metadata of the specified user pool client.
describeUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to describe a user pool client.public java.util.concurrent.Future<DescribeUserPoolClientResult> describeUserPoolClientAsync(DescribeUserPoolClientRequest request, AsyncHandler<DescribeUserPoolClientRequest,DescribeUserPoolClientResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Client method for returning the configuration information and metadata of the specified user pool client.
describeUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ForgotPasswordResult> forgotPasswordAsync(ForgotPasswordRequest request)
AWSCognitoIdentityProviderAsync
Retrieves the password for the specified client ID or username.
forgotPasswordAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to reset a user's password.public java.util.concurrent.Future<ForgotPasswordResult> forgotPasswordAsync(ForgotPasswordRequest request, AsyncHandler<ForgotPasswordRequest,ForgotPasswordResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Retrieves the password for the specified client ID or username.
forgotPasswordAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<GetUserResult> getUserAsync(GetUserRequest request)
AWSCognitoIdentityProviderAsync
Gets the user attributes and metadata for a user.
getUserAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to get information about the user.public java.util.concurrent.Future<GetUserResult> getUserAsync(GetUserRequest request, AsyncHandler<GetUserRequest,GetUserResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Gets the user attributes and metadata for a user.
getUserAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<GetUserAttributeVerificationCodeResult> getUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request)
AWSCognitoIdentityProviderAsync
Gets the user attribute verification code for the specified attribute name.
getUserAttributeVerificationCodeAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to get user attribute verification.public java.util.concurrent.Future<GetUserAttributeVerificationCodeResult> getUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request, AsyncHandler<GetUserAttributeVerificationCodeRequest,GetUserAttributeVerificationCodeResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Gets the user attribute verification code for the specified attribute name.
getUserAttributeVerificationCodeAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ListUserPoolClientsResult> listUserPoolClientsAsync(ListUserPoolClientsRequest request)
AWSCognitoIdentityProviderAsync
Lists the clients that have been created for the specified user pool.
listUserPoolClientsAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to list the user pool clients.public java.util.concurrent.Future<ListUserPoolClientsResult> listUserPoolClientsAsync(ListUserPoolClientsRequest request, AsyncHandler<ListUserPoolClientsRequest,ListUserPoolClientsResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Lists the clients that have been created for the specified user pool.
listUserPoolClientsAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ListUserPoolsResult> listUserPoolsAsync(ListUserPoolsRequest request)
AWSCognitoIdentityProviderAsync
Lists the user pools associated with an AWS account.
listUserPoolsAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to list user pools.public java.util.concurrent.Future<ListUserPoolsResult> listUserPoolsAsync(ListUserPoolsRequest request, AsyncHandler<ListUserPoolsRequest,ListUserPoolsResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Lists the user pools associated with an AWS account.
listUserPoolsAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ListUsersResult> listUsersAsync(ListUsersRequest request)
AWSCognitoIdentityProviderAsync
Lists the users in the Amazon Cognito user pool.
listUsersAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to list users.public java.util.concurrent.Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Lists the users in the Amazon Cognito user pool.
listUsersAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<ResendConfirmationCodeResult> resendConfirmationCodeAsync(ResendConfirmationCodeRequest request)
AWSCognitoIdentityProviderAsync
Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
resendConfirmationCodeAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to resend the confirmation code.public java.util.concurrent.Future<ResendConfirmationCodeResult> resendConfirmationCodeAsync(ResendConfirmationCodeRequest request, AsyncHandler<ResendConfirmationCodeRequest,ResendConfirmationCodeResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
resendConfirmationCodeAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<SetUserSettingsResult> setUserSettingsAsync(SetUserSettingsRequest request)
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.
setUserSettingsAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to set user settings.public java.util.concurrent.Future<SetUserSettingsResult> setUserSettingsAsync(SetUserSettingsRequest request, AsyncHandler<SetUserSettingsRequest,SetUserSettingsResult> asyncHandler)
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.
setUserSettingsAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<SignUpResult> signUpAsync(SignUpRequest request)
AWSCognitoIdentityProviderAsync
Registers the user in the specified user pool and creates a user name, password, and user attributes.
signUpAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to register a user.public java.util.concurrent.Future<SignUpResult> signUpAsync(SignUpRequest request, AsyncHandler<SignUpRequest,SignUpResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Registers the user in the specified user pool and creates a user name, password, and user attributes.
signUpAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<UpdateUserAttributesResult> updateUserAttributesAsync(UpdateUserAttributesRequest request)
AWSCognitoIdentityProviderAsync
Allows a user to update a specific attribute (one at a time).
updateUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to update user attributes.public java.util.concurrent.Future<UpdateUserAttributesResult> updateUserAttributesAsync(UpdateUserAttributesRequest request, AsyncHandler<UpdateUserAttributesRequest,UpdateUserAttributesResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Allows a user to update a specific attribute (one at a time).
updateUserAttributesAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<UpdateUserPoolResult> updateUserPoolAsync(UpdateUserPoolRequest request)
AWSCognitoIdentityProviderAsync
Updates the specified user pool with the specified attributes.
updateUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to update the user pool.public java.util.concurrent.Future<UpdateUserPoolResult> updateUserPoolAsync(UpdateUserPoolRequest request, AsyncHandler<UpdateUserPoolRequest,UpdateUserPoolResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Updates the specified user pool with the specified attributes.
updateUserPoolAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<UpdateUserPoolClientResult> updateUserPoolClientAsync(UpdateUserPoolClientRequest request)
AWSCognitoIdentityProviderAsync
Allows the developer to update the specified user pool client and password policy.
updateUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to update the user pool client.public java.util.concurrent.Future<UpdateUserPoolClientResult> updateUserPoolClientAsync(UpdateUserPoolClientRequest request, AsyncHandler<UpdateUserPoolClientRequest,UpdateUserPoolClientResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Allows the developer to update the specified user pool client and password policy.
updateUserPoolClientAsync
in interface AWSCognitoIdentityProviderAsync
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.public java.util.concurrent.Future<VerifyUserAttributeResult> verifyUserAttributeAsync(VerifyUserAttributeRequest request)
AWSCognitoIdentityProviderAsync
Verifies the specified user attributes in the user pool.
verifyUserAttributeAsync
in interface AWSCognitoIdentityProviderAsync
request
- Represents the request to verify user attributes.public java.util.concurrent.Future<VerifyUserAttributeResult> verifyUserAttributeAsync(VerifyUserAttributeRequest request, AsyncHandler<VerifyUserAttributeRequest,VerifyUserAttributeResult> asyncHandler)
AWSCognitoIdentityProviderAsync
Verifies the specified user attributes in the user pool.
verifyUserAttributeAsync
in interface AWSCognitoIdentityProviderAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AWSCognitoIdentityProvider
shutdown
in class AmazonWebServiceClient