@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonWorkMailAsync extends AbstractAmazonWorkMail implements AmazonWorkMailAsync
AmazonWorkMailAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
associateDelegateToResource, associateMemberToGroup, createAlias, createGroup, createResource, createUser, deleteAlias, deleteGroup, deleteMailboxPermissions, deleteResource, deleteUser, deregisterFromWorkMail, describeGroup, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getCachedResponseMetadata, getMailboxDetails, listAliases, listGroupMembers, listGroups, listMailboxPermissions, listOrganizations, listResourceDelegates, listResources, listUsers, putMailboxPermissions, registerToWorkMail, resetPassword, shutdown, updateMailboxQuota, updatePrimaryEmailAddress, updateResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateDelegateToResource, associateMemberToGroup, createAlias, createGroup, createResource, createUser, deleteAlias, deleteGroup, deleteMailboxPermissions, deleteResource, deleteUser, deregisterFromWorkMail, describeGroup, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getCachedResponseMetadata, getMailboxDetails, listAliases, listGroupMembers, listGroups, listMailboxPermissions, listOrganizations, listResourceDelegates, listResources, listUsers, putMailboxPermissions, registerToWorkMail, resetPassword, shutdown, updateMailboxQuota, updatePrimaryEmailAddress, updateResource
public Future<AssociateDelegateToResourceResult> associateDelegateToResourceAsync(AssociateDelegateToResourceRequest request)
AmazonWorkMailAsync
Adds a member (user or group) to the resource's set of delegates.
associateDelegateToResourceAsync
in interface AmazonWorkMailAsync
public Future<AssociateDelegateToResourceResult> associateDelegateToResourceAsync(AssociateDelegateToResourceRequest request, AsyncHandler<AssociateDelegateToResourceRequest,AssociateDelegateToResourceResult> asyncHandler)
AmazonWorkMailAsync
Adds a member (user or group) to the resource's set of delegates.
associateDelegateToResourceAsync
in interface AmazonWorkMailAsync
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 Future<AssociateMemberToGroupResult> associateMemberToGroupAsync(AssociateMemberToGroupRequest request)
AmazonWorkMailAsync
Adds a member (user or group) to the group's set.
associateMemberToGroupAsync
in interface AmazonWorkMailAsync
public Future<AssociateMemberToGroupResult> associateMemberToGroupAsync(AssociateMemberToGroupRequest request, AsyncHandler<AssociateMemberToGroupRequest,AssociateMemberToGroupResult> asyncHandler)
AmazonWorkMailAsync
Adds a member (user or group) to the group's set.
associateMemberToGroupAsync
in interface AmazonWorkMailAsync
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 Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request)
AmazonWorkMailAsync
Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
createAliasAsync
in interface AmazonWorkMailAsync
public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
AmazonWorkMailAsync
Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
createAliasAsync
in interface AmazonWorkMailAsync
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 Future<CreateGroupResult> createGroupAsync(CreateGroupRequest request)
AmazonWorkMailAsync
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createGroupAsync
in interface AmazonWorkMailAsync
public Future<CreateGroupResult> createGroupAsync(CreateGroupRequest request, AsyncHandler<CreateGroupRequest,CreateGroupResult> asyncHandler)
AmazonWorkMailAsync
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createGroupAsync
in interface AmazonWorkMailAsync
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 Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request)
AmazonWorkMailAsync
Creates a new Amazon WorkMail resource.
createResourceAsync
in interface AmazonWorkMailAsync
public Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request, AsyncHandler<CreateResourceRequest,CreateResourceResult> asyncHandler)
AmazonWorkMailAsync
Creates a new Amazon WorkMail resource.
createResourceAsync
in interface AmazonWorkMailAsync
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 Future<CreateUserResult> createUserAsync(CreateUserRequest request)
AmazonWorkMailAsync
Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createUserAsync
in interface AmazonWorkMailAsync
public Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonWorkMailAsync
Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createUserAsync
in interface AmazonWorkMailAsync
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 Future<DeleteAliasResult> deleteAliasAsync(DeleteAliasRequest request)
AmazonWorkMailAsync
Remove one or more specified aliases from a set of aliases for a given user.
deleteAliasAsync
in interface AmazonWorkMailAsync
public Future<DeleteAliasResult> deleteAliasAsync(DeleteAliasRequest request, AsyncHandler<DeleteAliasRequest,DeleteAliasResult> asyncHandler)
AmazonWorkMailAsync
Remove one or more specified aliases from a set of aliases for a given user.
deleteAliasAsync
in interface AmazonWorkMailAsync
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 Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request)
AmazonWorkMailAsync
Deletes a group from Amazon WorkMail.
deleteGroupAsync
in interface AmazonWorkMailAsync
public Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request, AsyncHandler<DeleteGroupRequest,DeleteGroupResult> asyncHandler)
AmazonWorkMailAsync
Deletes a group from Amazon WorkMail.
deleteGroupAsync
in interface AmazonWorkMailAsync
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 Future<DeleteMailboxPermissionsResult> deleteMailboxPermissionsAsync(DeleteMailboxPermissionsRequest request)
AmazonWorkMailAsync
Deletes permissions granted to a member (user or group).
deleteMailboxPermissionsAsync
in interface AmazonWorkMailAsync
public Future<DeleteMailboxPermissionsResult> deleteMailboxPermissionsAsync(DeleteMailboxPermissionsRequest request, AsyncHandler<DeleteMailboxPermissionsRequest,DeleteMailboxPermissionsResult> asyncHandler)
AmazonWorkMailAsync
Deletes permissions granted to a member (user or group).
deleteMailboxPermissionsAsync
in interface AmazonWorkMailAsync
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 Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request)
AmazonWorkMailAsync
Deletes the specified resource.
deleteResourceAsync
in interface AmazonWorkMailAsync
public Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request, AsyncHandler<DeleteResourceRequest,DeleteResourceResult> asyncHandler)
AmazonWorkMailAsync
Deletes the specified resource.
deleteResourceAsync
in interface AmazonWorkMailAsync
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 Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AmazonWorkMailAsync
Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must
be DISABLED
. Use the DescribeUser action to confirm the user state.
Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
deleteUserAsync
in interface AmazonWorkMailAsync
public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AmazonWorkMailAsync
Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must
be DISABLED
. Use the DescribeUser action to confirm the user state.
Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
deleteUserAsync
in interface AmazonWorkMailAsync
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 Future<DeregisterFromWorkMailResult> deregisterFromWorkMailAsync(DeregisterFromWorkMailRequest request)
AmazonWorkMailAsync
Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
deregisterFromWorkMailAsync
in interface AmazonWorkMailAsync
public Future<DeregisterFromWorkMailResult> deregisterFromWorkMailAsync(DeregisterFromWorkMailRequest request, AsyncHandler<DeregisterFromWorkMailRequest,DeregisterFromWorkMailResult> asyncHandler)
AmazonWorkMailAsync
Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
deregisterFromWorkMailAsync
in interface AmazonWorkMailAsync
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 Future<DescribeGroupResult> describeGroupAsync(DescribeGroupRequest request)
AmazonWorkMailAsync
Returns the data available for the group.
describeGroupAsync
in interface AmazonWorkMailAsync
public Future<DescribeGroupResult> describeGroupAsync(DescribeGroupRequest request, AsyncHandler<DescribeGroupRequest,DescribeGroupResult> asyncHandler)
AmazonWorkMailAsync
Returns the data available for the group.
describeGroupAsync
in interface AmazonWorkMailAsync
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 Future<DescribeOrganizationResult> describeOrganizationAsync(DescribeOrganizationRequest request)
AmazonWorkMailAsync
Provides more information regarding a given organization based on its identifier.
describeOrganizationAsync
in interface AmazonWorkMailAsync
public Future<DescribeOrganizationResult> describeOrganizationAsync(DescribeOrganizationRequest request, AsyncHandler<DescribeOrganizationRequest,DescribeOrganizationResult> asyncHandler)
AmazonWorkMailAsync
Provides more information regarding a given organization based on its identifier.
describeOrganizationAsync
in interface AmazonWorkMailAsync
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 Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request)
AmazonWorkMailAsync
Returns the data available for the resource.
describeResourceAsync
in interface AmazonWorkMailAsync
public Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request, AsyncHandler<DescribeResourceRequest,DescribeResourceResult> asyncHandler)
AmazonWorkMailAsync
Returns the data available for the resource.
describeResourceAsync
in interface AmazonWorkMailAsync
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 Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request)
AmazonWorkMailAsync
Provides information regarding the user.
describeUserAsync
in interface AmazonWorkMailAsync
public Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request, AsyncHandler<DescribeUserRequest,DescribeUserResult> asyncHandler)
AmazonWorkMailAsync
Provides information regarding the user.
describeUserAsync
in interface AmazonWorkMailAsync
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 Future<DisassociateDelegateFromResourceResult> disassociateDelegateFromResourceAsync(DisassociateDelegateFromResourceRequest request)
AmazonWorkMailAsync
Removes a member from the resource's set of delegates.
disassociateDelegateFromResourceAsync
in interface AmazonWorkMailAsync
public Future<DisassociateDelegateFromResourceResult> disassociateDelegateFromResourceAsync(DisassociateDelegateFromResourceRequest request, AsyncHandler<DisassociateDelegateFromResourceRequest,DisassociateDelegateFromResourceResult> asyncHandler)
AmazonWorkMailAsync
Removes a member from the resource's set of delegates.
disassociateDelegateFromResourceAsync
in interface AmazonWorkMailAsync
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 Future<DisassociateMemberFromGroupResult> disassociateMemberFromGroupAsync(DisassociateMemberFromGroupRequest request)
AmazonWorkMailAsync
Removes a member from a group.
disassociateMemberFromGroupAsync
in interface AmazonWorkMailAsync
public Future<DisassociateMemberFromGroupResult> disassociateMemberFromGroupAsync(DisassociateMemberFromGroupRequest request, AsyncHandler<DisassociateMemberFromGroupRequest,DisassociateMemberFromGroupResult> asyncHandler)
AmazonWorkMailAsync
Removes a member from a group.
disassociateMemberFromGroupAsync
in interface AmazonWorkMailAsync
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 Future<GetMailboxDetailsResult> getMailboxDetailsAsync(GetMailboxDetailsRequest request)
AmazonWorkMailAsync
Requests a user's mailbox details for a specified organization and user.
getMailboxDetailsAsync
in interface AmazonWorkMailAsync
public Future<GetMailboxDetailsResult> getMailboxDetailsAsync(GetMailboxDetailsRequest request, AsyncHandler<GetMailboxDetailsRequest,GetMailboxDetailsResult> asyncHandler)
AmazonWorkMailAsync
Requests a user's mailbox details for a specified organization and user.
getMailboxDetailsAsync
in interface AmazonWorkMailAsync
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 Future<ListAliasesResult> listAliasesAsync(ListAliasesRequest request)
AmazonWorkMailAsync
Creates a paginated call to list the aliases associated with a given entity.
listAliasesAsync
in interface AmazonWorkMailAsync
public Future<ListAliasesResult> listAliasesAsync(ListAliasesRequest request, AsyncHandler<ListAliasesRequest,ListAliasesResult> asyncHandler)
AmazonWorkMailAsync
Creates a paginated call to list the aliases associated with a given entity.
listAliasesAsync
in interface AmazonWorkMailAsync
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 Future<ListGroupMembersResult> listGroupMembersAsync(ListGroupMembersRequest request)
AmazonWorkMailAsync
Returns an overview of the members of a group. Users and groups can be members of a group.
listGroupMembersAsync
in interface AmazonWorkMailAsync
public Future<ListGroupMembersResult> listGroupMembersAsync(ListGroupMembersRequest request, AsyncHandler<ListGroupMembersRequest,ListGroupMembersResult> asyncHandler)
AmazonWorkMailAsync
Returns an overview of the members of a group. Users and groups can be members of a group.
listGroupMembersAsync
in interface AmazonWorkMailAsync
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 Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest request)
AmazonWorkMailAsync
Returns summaries of the organization's groups.
listGroupsAsync
in interface AmazonWorkMailAsync
public Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest request, AsyncHandler<ListGroupsRequest,ListGroupsResult> asyncHandler)
AmazonWorkMailAsync
Returns summaries of the organization's groups.
listGroupsAsync
in interface AmazonWorkMailAsync
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 Future<ListMailboxPermissionsResult> listMailboxPermissionsAsync(ListMailboxPermissionsRequest request)
AmazonWorkMailAsync
Lists the mailbox permissions associated with a user, group, or resource mailbox.
listMailboxPermissionsAsync
in interface AmazonWorkMailAsync
public Future<ListMailboxPermissionsResult> listMailboxPermissionsAsync(ListMailboxPermissionsRequest request, AsyncHandler<ListMailboxPermissionsRequest,ListMailboxPermissionsResult> asyncHandler)
AmazonWorkMailAsync
Lists the mailbox permissions associated with a user, group, or resource mailbox.
listMailboxPermissionsAsync
in interface AmazonWorkMailAsync
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 Future<ListOrganizationsResult> listOrganizationsAsync(ListOrganizationsRequest request)
AmazonWorkMailAsync
Returns summaries of the customer's non-deleted organizations.
listOrganizationsAsync
in interface AmazonWorkMailAsync
public Future<ListOrganizationsResult> listOrganizationsAsync(ListOrganizationsRequest request, AsyncHandler<ListOrganizationsRequest,ListOrganizationsResult> asyncHandler)
AmazonWorkMailAsync
Returns summaries of the customer's non-deleted organizations.
listOrganizationsAsync
in interface AmazonWorkMailAsync
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 Future<ListResourceDelegatesResult> listResourceDelegatesAsync(ListResourceDelegatesRequest request)
AmazonWorkMailAsync
Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.
listResourceDelegatesAsync
in interface AmazonWorkMailAsync
public Future<ListResourceDelegatesResult> listResourceDelegatesAsync(ListResourceDelegatesRequest request, AsyncHandler<ListResourceDelegatesRequest,ListResourceDelegatesResult> asyncHandler)
AmazonWorkMailAsync
Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.
listResourceDelegatesAsync
in interface AmazonWorkMailAsync
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 Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request)
AmazonWorkMailAsync
Returns summaries of the organization's resources.
listResourcesAsync
in interface AmazonWorkMailAsync
public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AmazonWorkMailAsync
Returns summaries of the organization's resources.
listResourcesAsync
in interface AmazonWorkMailAsync
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 Future<ListUsersResult> listUsersAsync(ListUsersRequest request)
AmazonWorkMailAsync
Returns summaries of the organization's users.
listUsersAsync
in interface AmazonWorkMailAsync
public Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
AmazonWorkMailAsync
Returns summaries of the organization's users.
listUsersAsync
in interface AmazonWorkMailAsync
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 Future<PutMailboxPermissionsResult> putMailboxPermissionsAsync(PutMailboxPermissionsRequest request)
AmazonWorkMailAsync
Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
putMailboxPermissionsAsync
in interface AmazonWorkMailAsync
public Future<PutMailboxPermissionsResult> putMailboxPermissionsAsync(PutMailboxPermissionsRequest request, AsyncHandler<PutMailboxPermissionsRequest,PutMailboxPermissionsResult> asyncHandler)
AmazonWorkMailAsync
Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
putMailboxPermissionsAsync
in interface AmazonWorkMailAsync
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 Future<RegisterToWorkMailResult> registerToWorkMailAsync(RegisterToWorkMailRequest request)
AmazonWorkMailAsync
Registers an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable.
Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
registerToWorkMailAsync
in interface AmazonWorkMailAsync
public Future<RegisterToWorkMailResult> registerToWorkMailAsync(RegisterToWorkMailRequest request, AsyncHandler<RegisterToWorkMailRequest,RegisterToWorkMailResult> asyncHandler)
AmazonWorkMailAsync
Registers an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable.
Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
registerToWorkMailAsync
in interface AmazonWorkMailAsync
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 Future<ResetPasswordResult> resetPasswordAsync(ResetPasswordRequest request)
AmazonWorkMailAsync
Allows the administrator to reset the password for a user.
resetPasswordAsync
in interface AmazonWorkMailAsync
public Future<ResetPasswordResult> resetPasswordAsync(ResetPasswordRequest request, AsyncHandler<ResetPasswordRequest,ResetPasswordResult> asyncHandler)
AmazonWorkMailAsync
Allows the administrator to reset the password for a user.
resetPasswordAsync
in interface AmazonWorkMailAsync
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 Future<UpdateMailboxQuotaResult> updateMailboxQuotaAsync(UpdateMailboxQuotaRequest request)
AmazonWorkMailAsync
Updates a user's current mailbox quota for a specified organization and user.
updateMailboxQuotaAsync
in interface AmazonWorkMailAsync
public Future<UpdateMailboxQuotaResult> updateMailboxQuotaAsync(UpdateMailboxQuotaRequest request, AsyncHandler<UpdateMailboxQuotaRequest,UpdateMailboxQuotaResult> asyncHandler)
AmazonWorkMailAsync
Updates a user's current mailbox quota for a specified organization and user.
updateMailboxQuotaAsync
in interface AmazonWorkMailAsync
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 Future<UpdatePrimaryEmailAddressResult> updatePrimaryEmailAddressAsync(UpdatePrimaryEmailAddressRequest request)
AmazonWorkMailAsync
Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.
updatePrimaryEmailAddressAsync
in interface AmazonWorkMailAsync
public Future<UpdatePrimaryEmailAddressResult> updatePrimaryEmailAddressAsync(UpdatePrimaryEmailAddressRequest request, AsyncHandler<UpdatePrimaryEmailAddressRequest,UpdatePrimaryEmailAddressResult> asyncHandler)
AmazonWorkMailAsync
Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.
updatePrimaryEmailAddressAsync
in interface AmazonWorkMailAsync
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 Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request)
AmazonWorkMailAsync
Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource
call. The dataset in the request should be the one expected when performing another DescribeResource
call.
updateResourceAsync
in interface AmazonWorkMailAsync
public Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
AmazonWorkMailAsync
Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource
call. The dataset in the request should be the one expected when performing another DescribeResource
call.
updateResourceAsync
in interface AmazonWorkMailAsync
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.