@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonWorkMailAsyncClient extends AmazonWorkMailClient implements AmazonWorkMailAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Amazon WorkMail is a secure, managed business email and calendaring service with support for existing desktop and mobile email clients. You can access your email, contacts, and calendars using Microsoft Outlook, your browser, or other native iOS and Android email applications. You can integrate WorkMail with your existing corporate directory and control both the keys that encrypt your data and the location in which your data is stored.
The WorkMail API is designed for the following scenarios:
Listing and describing organizations
Managing users
Managing groups
Managing resources
All WorkMail API operations are Amazon-authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the WorkMail site, the IAM user gains full administrative visibility into the entire WorkMail organization (or as set in the IAM policy). This includes, but is not limited to, the ability to create, update, and delete users, groups, and resources. This allows developers to perform the scenarios listed above, as well as give users the ability to grant access on a selective basis using the IAM model.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXassociateDelegateToResource, associateMemberToGroup, builder, cancelMailboxExportJob, createAlias, createGroup, createMobileDeviceAccessRule, createOrganization, createResource, createUser, deleteAccessControlRule, deleteAlias, deleteGroup, deleteMailboxPermissions, deleteMobileDeviceAccessOverride, deleteMobileDeviceAccessRule, deleteOrganization, deleteResource, deleteRetentionPolicy, deleteUser, deregisterFromWorkMail, deregisterMailDomain, describeGroup, describeInboundDmarcSettings, describeMailboxExportJob, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getAccessControlEffect, getCachedResponseMetadata, getDefaultRetentionPolicy, getMailboxDetails, getMailDomain, getMobileDeviceAccessEffect, getMobileDeviceAccessOverride, listAccessControlRules, listAliases, listGroupMembers, listGroups, listMailboxExportJobs, listMailboxPermissions, listMailDomains, listMobileDeviceAccessOverrides, listMobileDeviceAccessRules, listOrganizations, listResourceDelegates, listResources, listTagsForResource, listUsers, putAccessControlRule, putInboundDmarcSettings, putMailboxPermissions, putMobileDeviceAccessOverride, putRetentionPolicy, registerMailDomain, registerToWorkMail, resetPassword, startMailboxExportJob, tagResource, untagResource, updateDefaultMailDomain, updateMailboxQuota, updateMobileDeviceAccessRule, updatePrimaryEmailAddress, updateResourceaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateDelegateToResource, associateMemberToGroup, cancelMailboxExportJob, createAlias, createGroup, createMobileDeviceAccessRule, createOrganization, createResource, createUser, deleteAccessControlRule, deleteAlias, deleteGroup, deleteMailboxPermissions, deleteMobileDeviceAccessOverride, deleteMobileDeviceAccessRule, deleteOrganization, deleteResource, deleteRetentionPolicy, deleteUser, deregisterFromWorkMail, deregisterMailDomain, describeGroup, describeInboundDmarcSettings, describeMailboxExportJob, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getAccessControlEffect, getCachedResponseMetadata, getDefaultRetentionPolicy, getMailboxDetails, getMailDomain, getMobileDeviceAccessEffect, getMobileDeviceAccessOverride, listAccessControlRules, listAliases, listGroupMembers, listGroups, listMailboxExportJobs, listMailboxPermissions, listMailDomains, listMobileDeviceAccessOverrides, listMobileDeviceAccessRules, listOrganizations, listResourceDelegates, listResources, listTagsForResource, listUsers, putAccessControlRule, putInboundDmarcSettings, putMailboxPermissions, putMobileDeviceAccessOverride, putRetentionPolicy, registerMailDomain, registerToWorkMail, resetPassword, startMailboxExportJob, tagResource, untagResource, updateDefaultMailDomain, updateMailboxQuota, updateMobileDeviceAccessRule, updatePrimaryEmailAddress, updateResourcepublic static AmazonWorkMailAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateDelegateToResourceResult> associateDelegateToResourceAsync(AssociateDelegateToResourceRequest request)
AmazonWorkMailAsyncAdds a member (user or group) to the resource's set of delegates.
associateDelegateToResourceAsync in interface AmazonWorkMailAsyncpublic Future<AssociateDelegateToResourceResult> associateDelegateToResourceAsync(AssociateDelegateToResourceRequest request, AsyncHandler<AssociateDelegateToResourceRequest,AssociateDelegateToResourceResult> asyncHandler)
AmazonWorkMailAsyncAdds a member (user or group) to the resource's set of delegates.
associateDelegateToResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncAdds a member (user or group) to the group's set.
associateMemberToGroupAsync in interface AmazonWorkMailAsyncpublic Future<AssociateMemberToGroupResult> associateMemberToGroupAsync(AssociateMemberToGroupRequest request, AsyncHandler<AssociateMemberToGroupRequest,AssociateMemberToGroupResult> asyncHandler)
AmazonWorkMailAsyncAdds a member (user or group) to the group's set.
associateMemberToGroupAsync in interface AmazonWorkMailAsyncasyncHandler - 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<CancelMailboxExportJobResult> cancelMailboxExportJobAsync(CancelMailboxExportJobRequest request)
AmazonWorkMailAsyncCancels a mailbox export job.
If the mailbox export job is near completion, it might not be possible to cancel it.
cancelMailboxExportJobAsync in interface AmazonWorkMailAsyncpublic Future<CancelMailboxExportJobResult> cancelMailboxExportJobAsync(CancelMailboxExportJobRequest request, AsyncHandler<CancelMailboxExportJobRequest,CancelMailboxExportJobResult> asyncHandler)
AmazonWorkMailAsyncCancels a mailbox export job.
If the mailbox export job is near completion, it might not be possible to cancel it.
cancelMailboxExportJobAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncAdds an alias to the set of a given member (user or group) of Amazon WorkMail.
createAliasAsync in interface AmazonWorkMailAsyncpublic Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
AmazonWorkMailAsyncAdds an alias to the set of a given member (user or group) of Amazon WorkMail.
createAliasAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncCreates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createGroupAsync in interface AmazonWorkMailAsyncpublic Future<CreateGroupResult> createGroupAsync(CreateGroupRequest request, AsyncHandler<CreateGroupRequest,CreateGroupResult> asyncHandler)
AmazonWorkMailAsyncCreates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createGroupAsync in interface AmazonWorkMailAsyncasyncHandler - 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<CreateMobileDeviceAccessRuleResult> createMobileDeviceAccessRuleAsync(CreateMobileDeviceAccessRuleRequest request)
AmazonWorkMailAsyncCreates a new mobile device access rule for the specified Amazon WorkMail organization.
createMobileDeviceAccessRuleAsync in interface AmazonWorkMailAsyncpublic Future<CreateMobileDeviceAccessRuleResult> createMobileDeviceAccessRuleAsync(CreateMobileDeviceAccessRuleRequest request, AsyncHandler<CreateMobileDeviceAccessRuleRequest,CreateMobileDeviceAccessRuleResult> asyncHandler)
AmazonWorkMailAsyncCreates a new mobile device access rule for the specified Amazon WorkMail organization.
createMobileDeviceAccessRuleAsync in interface AmazonWorkMailAsyncasyncHandler - 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<CreateOrganizationResult> createOrganizationAsync(CreateOrganizationRequest request)
AmazonWorkMailAsyncCreates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide.
You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide.
Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master key for you.
createOrganizationAsync in interface AmazonWorkMailAsyncpublic Future<CreateOrganizationResult> createOrganizationAsync(CreateOrganizationRequest request, AsyncHandler<CreateOrganizationRequest,CreateOrganizationResult> asyncHandler)
AmazonWorkMailAsyncCreates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide.
You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide.
Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master key for you.
createOrganizationAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncCreates a new Amazon WorkMail resource.
createResourceAsync in interface AmazonWorkMailAsyncpublic Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request, AsyncHandler<CreateResourceRequest,CreateResourceResult> asyncHandler)
AmazonWorkMailAsyncCreates a new Amazon WorkMail resource.
createResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncCreates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createUserAsync in interface AmazonWorkMailAsyncpublic Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonWorkMailAsyncCreates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createUserAsync in interface AmazonWorkMailAsyncasyncHandler - 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<DeleteAccessControlRuleResult> deleteAccessControlRuleAsync(DeleteAccessControlRuleRequest request)
AmazonWorkMailAsyncDeletes an access control rule for the specified WorkMail organization.
Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
deleteAccessControlRuleAsync in interface AmazonWorkMailAsyncpublic Future<DeleteAccessControlRuleResult> deleteAccessControlRuleAsync(DeleteAccessControlRuleRequest request, AsyncHandler<DeleteAccessControlRuleRequest,DeleteAccessControlRuleResult> asyncHandler)
AmazonWorkMailAsyncDeletes an access control rule for the specified WorkMail organization.
Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
deleteAccessControlRuleAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncRemove one or more specified aliases from a set of aliases for a given user.
deleteAliasAsync in interface AmazonWorkMailAsyncpublic Future<DeleteAliasResult> deleteAliasAsync(DeleteAliasRequest request, AsyncHandler<DeleteAliasRequest,DeleteAliasResult> asyncHandler)
AmazonWorkMailAsyncRemove one or more specified aliases from a set of aliases for a given user.
deleteAliasAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncDeletes a group from Amazon WorkMail.
deleteGroupAsync in interface AmazonWorkMailAsyncpublic Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request, AsyncHandler<DeleteGroupRequest,DeleteGroupResult> asyncHandler)
AmazonWorkMailAsyncDeletes a group from Amazon WorkMail.
deleteGroupAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncDeletes permissions granted to a member (user or group).
deleteMailboxPermissionsAsync in interface AmazonWorkMailAsyncpublic Future<DeleteMailboxPermissionsResult> deleteMailboxPermissionsAsync(DeleteMailboxPermissionsRequest request, AsyncHandler<DeleteMailboxPermissionsRequest,DeleteMailboxPermissionsResult> asyncHandler)
AmazonWorkMailAsyncDeletes permissions granted to a member (user or group).
deleteMailboxPermissionsAsync in interface AmazonWorkMailAsyncasyncHandler - 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<DeleteMobileDeviceAccessOverrideResult> deleteMobileDeviceAccessOverrideAsync(DeleteMobileDeviceAccessOverrideRequest request)
AmazonWorkMailAsyncDeletes the mobile device access override for the given WorkMail organization, user, and device.
Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
deleteMobileDeviceAccessOverrideAsync in interface AmazonWorkMailAsyncpublic Future<DeleteMobileDeviceAccessOverrideResult> deleteMobileDeviceAccessOverrideAsync(DeleteMobileDeviceAccessOverrideRequest request, AsyncHandler<DeleteMobileDeviceAccessOverrideRequest,DeleteMobileDeviceAccessOverrideResult> asyncHandler)
AmazonWorkMailAsyncDeletes the mobile device access override for the given WorkMail organization, user, and device.
Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
deleteMobileDeviceAccessOverrideAsync in interface AmazonWorkMailAsyncasyncHandler - 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<DeleteMobileDeviceAccessRuleResult> deleteMobileDeviceAccessRuleAsync(DeleteMobileDeviceAccessRuleRequest request)
AmazonWorkMailAsyncDeletes a mobile device access rule for the specified Amazon WorkMail organization.
Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
deleteMobileDeviceAccessRuleAsync in interface AmazonWorkMailAsyncpublic Future<DeleteMobileDeviceAccessRuleResult> deleteMobileDeviceAccessRuleAsync(DeleteMobileDeviceAccessRuleRequest request, AsyncHandler<DeleteMobileDeviceAccessRuleRequest,DeleteMobileDeviceAccessRuleResult> asyncHandler)
AmazonWorkMailAsyncDeletes a mobile device access rule for the specified Amazon WorkMail organization.
Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
deleteMobileDeviceAccessRuleAsync in interface AmazonWorkMailAsyncasyncHandler - 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<DeleteOrganizationResult> deleteOrganizationAsync(DeleteOrganizationRequest request)
AmazonWorkMailAsyncDeletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the Amazon WorkMail Administrator Guide.
deleteOrganizationAsync in interface AmazonWorkMailAsyncpublic Future<DeleteOrganizationResult> deleteOrganizationAsync(DeleteOrganizationRequest request, AsyncHandler<DeleteOrganizationRequest,DeleteOrganizationResult> asyncHandler)
AmazonWorkMailAsyncDeletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the Amazon WorkMail Administrator Guide.
deleteOrganizationAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncDeletes the specified resource.
deleteResourceAsync in interface AmazonWorkMailAsyncpublic Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request, AsyncHandler<DeleteResourceRequest,DeleteResourceResult> asyncHandler)
AmazonWorkMailAsyncDeletes the specified resource.
deleteResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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<DeleteRetentionPolicyResult> deleteRetentionPolicyAsync(DeleteRetentionPolicyRequest request)
AmazonWorkMailAsyncDeletes the specified retention policy from the specified organization.
deleteRetentionPolicyAsync in interface AmazonWorkMailAsyncpublic Future<DeleteRetentionPolicyResult> deleteRetentionPolicyAsync(DeleteRetentionPolicyRequest request, AsyncHandler<DeleteRetentionPolicyRequest,DeleteRetentionPolicyResult> asyncHandler)
AmazonWorkMailAsyncDeletes the specified retention policy from the specified organization.
deleteRetentionPolicyAsync in interface AmazonWorkMailAsyncasyncHandler - 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 AmazonWorkMailAsyncpublic 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 AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncMark 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 AmazonWorkMailAsyncpublic Future<DeregisterFromWorkMailResult> deregisterFromWorkMailAsync(DeregisterFromWorkMailRequest request, AsyncHandler<DeregisterFromWorkMailRequest,DeregisterFromWorkMailResult> asyncHandler)
AmazonWorkMailAsyncMark 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 AmazonWorkMailAsyncasyncHandler - 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<DeregisterMailDomainResult> deregisterMailDomainAsync(DeregisterMailDomainRequest request)
AmazonWorkMailAsyncRemoves a domain from Amazon WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.
deregisterMailDomainAsync in interface AmazonWorkMailAsyncpublic Future<DeregisterMailDomainResult> deregisterMailDomainAsync(DeregisterMailDomainRequest request, AsyncHandler<DeregisterMailDomainRequest,DeregisterMailDomainResult> asyncHandler)
AmazonWorkMailAsyncRemoves a domain from Amazon WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.
deregisterMailDomainAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncReturns the data available for the group.
describeGroupAsync in interface AmazonWorkMailAsyncpublic Future<DescribeGroupResult> describeGroupAsync(DescribeGroupRequest request, AsyncHandler<DescribeGroupRequest,DescribeGroupResult> asyncHandler)
AmazonWorkMailAsyncReturns the data available for the group.
describeGroupAsync in interface AmazonWorkMailAsyncasyncHandler - 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<DescribeInboundDmarcSettingsResult> describeInboundDmarcSettingsAsync(DescribeInboundDmarcSettingsRequest request)
AmazonWorkMailAsyncLists the settings in a DMARC policy for a specified organization.
describeInboundDmarcSettingsAsync in interface AmazonWorkMailAsyncpublic Future<DescribeInboundDmarcSettingsResult> describeInboundDmarcSettingsAsync(DescribeInboundDmarcSettingsRequest request, AsyncHandler<DescribeInboundDmarcSettingsRequest,DescribeInboundDmarcSettingsResult> asyncHandler)
AmazonWorkMailAsyncLists the settings in a DMARC policy for a specified organization.
describeInboundDmarcSettingsAsync in interface AmazonWorkMailAsyncasyncHandler - 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<DescribeMailboxExportJobResult> describeMailboxExportJobAsync(DescribeMailboxExportJobRequest request)
AmazonWorkMailAsyncDescribes the current status of a mailbox export job.
describeMailboxExportJobAsync in interface AmazonWorkMailAsyncpublic Future<DescribeMailboxExportJobResult> describeMailboxExportJobAsync(DescribeMailboxExportJobRequest request, AsyncHandler<DescribeMailboxExportJobRequest,DescribeMailboxExportJobResult> asyncHandler)
AmazonWorkMailAsyncDescribes the current status of a mailbox export job.
describeMailboxExportJobAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncProvides more information regarding a given organization based on its identifier.
describeOrganizationAsync in interface AmazonWorkMailAsyncpublic Future<DescribeOrganizationResult> describeOrganizationAsync(DescribeOrganizationRequest request, AsyncHandler<DescribeOrganizationRequest,DescribeOrganizationResult> asyncHandler)
AmazonWorkMailAsyncProvides more information regarding a given organization based on its identifier.
describeOrganizationAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncReturns the data available for the resource.
describeResourceAsync in interface AmazonWorkMailAsyncpublic Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request, AsyncHandler<DescribeResourceRequest,DescribeResourceResult> asyncHandler)
AmazonWorkMailAsyncReturns the data available for the resource.
describeResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncProvides information regarding the user.
describeUserAsync in interface AmazonWorkMailAsyncpublic Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request, AsyncHandler<DescribeUserRequest,DescribeUserResult> asyncHandler)
AmazonWorkMailAsyncProvides information regarding the user.
describeUserAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncRemoves a member from the resource's set of delegates.
disassociateDelegateFromResourceAsync in interface AmazonWorkMailAsyncpublic Future<DisassociateDelegateFromResourceResult> disassociateDelegateFromResourceAsync(DisassociateDelegateFromResourceRequest request, AsyncHandler<DisassociateDelegateFromResourceRequest,DisassociateDelegateFromResourceResult> asyncHandler)
AmazonWorkMailAsyncRemoves a member from the resource's set of delegates.
disassociateDelegateFromResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncRemoves a member from a group.
disassociateMemberFromGroupAsync in interface AmazonWorkMailAsyncpublic Future<DisassociateMemberFromGroupResult> disassociateMemberFromGroupAsync(DisassociateMemberFromGroupRequest request, AsyncHandler<DisassociateMemberFromGroupRequest,DisassociateMemberFromGroupResult> asyncHandler)
AmazonWorkMailAsyncRemoves a member from a group.
disassociateMemberFromGroupAsync in interface AmazonWorkMailAsyncasyncHandler - 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<GetAccessControlEffectResult> getAccessControlEffectAsync(GetAccessControlEffectRequest request)
AmazonWorkMailAsyncGets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.
getAccessControlEffectAsync in interface AmazonWorkMailAsyncpublic Future<GetAccessControlEffectResult> getAccessControlEffectAsync(GetAccessControlEffectRequest request, AsyncHandler<GetAccessControlEffectRequest,GetAccessControlEffectResult> asyncHandler)
AmazonWorkMailAsyncGets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.
getAccessControlEffectAsync in interface AmazonWorkMailAsyncasyncHandler - 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<GetDefaultRetentionPolicyResult> getDefaultRetentionPolicyAsync(GetDefaultRetentionPolicyRequest request)
AmazonWorkMailAsyncGets the default retention policy details for the specified organization.
getDefaultRetentionPolicyAsync in interface AmazonWorkMailAsyncpublic Future<GetDefaultRetentionPolicyResult> getDefaultRetentionPolicyAsync(GetDefaultRetentionPolicyRequest request, AsyncHandler<GetDefaultRetentionPolicyRequest,GetDefaultRetentionPolicyResult> asyncHandler)
AmazonWorkMailAsyncGets the default retention policy details for the specified organization.
getDefaultRetentionPolicyAsync in interface AmazonWorkMailAsyncasyncHandler - 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<GetMailDomainResult> getMailDomainAsync(GetMailDomainRequest request)
AmazonWorkMailAsyncGets details for a mail domain, including domain records required to configure your domain with recommended security.
getMailDomainAsync in interface AmazonWorkMailAsyncpublic Future<GetMailDomainResult> getMailDomainAsync(GetMailDomainRequest request, AsyncHandler<GetMailDomainRequest,GetMailDomainResult> asyncHandler)
AmazonWorkMailAsyncGets details for a mail domain, including domain records required to configure your domain with recommended security.
getMailDomainAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncRequests a user's mailbox details for a specified organization and user.
getMailboxDetailsAsync in interface AmazonWorkMailAsyncpublic Future<GetMailboxDetailsResult> getMailboxDetailsAsync(GetMailboxDetailsRequest request, AsyncHandler<GetMailboxDetailsRequest,GetMailboxDetailsResult> asyncHandler)
AmazonWorkMailAsyncRequests a user's mailbox details for a specified organization and user.
getMailboxDetailsAsync in interface AmazonWorkMailAsyncasyncHandler - 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<GetMobileDeviceAccessEffectResult> getMobileDeviceAccessEffectAsync(GetMobileDeviceAccessEffectRequest request)
AmazonWorkMailAsyncSimulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.
getMobileDeviceAccessEffectAsync in interface AmazonWorkMailAsyncpublic Future<GetMobileDeviceAccessEffectResult> getMobileDeviceAccessEffectAsync(GetMobileDeviceAccessEffectRequest request, AsyncHandler<GetMobileDeviceAccessEffectRequest,GetMobileDeviceAccessEffectResult> asyncHandler)
AmazonWorkMailAsyncSimulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.
getMobileDeviceAccessEffectAsync in interface AmazonWorkMailAsyncasyncHandler - 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<GetMobileDeviceAccessOverrideResult> getMobileDeviceAccessOverrideAsync(GetMobileDeviceAccessOverrideRequest request)
AmazonWorkMailAsyncGets the mobile device access override for the given WorkMail organization, user, and device.
getMobileDeviceAccessOverrideAsync in interface AmazonWorkMailAsyncpublic Future<GetMobileDeviceAccessOverrideResult> getMobileDeviceAccessOverrideAsync(GetMobileDeviceAccessOverrideRequest request, AsyncHandler<GetMobileDeviceAccessOverrideRequest,GetMobileDeviceAccessOverrideResult> asyncHandler)
AmazonWorkMailAsyncGets the mobile device access override for the given WorkMail organization, user, and device.
getMobileDeviceAccessOverrideAsync in interface AmazonWorkMailAsyncasyncHandler - 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<ListAccessControlRulesResult> listAccessControlRulesAsync(ListAccessControlRulesRequest request)
AmazonWorkMailAsyncLists the access control rules for the specified organization.
listAccessControlRulesAsync in interface AmazonWorkMailAsyncpublic Future<ListAccessControlRulesResult> listAccessControlRulesAsync(ListAccessControlRulesRequest request, AsyncHandler<ListAccessControlRulesRequest,ListAccessControlRulesResult> asyncHandler)
AmazonWorkMailAsyncLists the access control rules for the specified organization.
listAccessControlRulesAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncCreates a paginated call to list the aliases associated with a given entity.
listAliasesAsync in interface AmazonWorkMailAsyncpublic Future<ListAliasesResult> listAliasesAsync(ListAliasesRequest request, AsyncHandler<ListAliasesRequest,ListAliasesResult> asyncHandler)
AmazonWorkMailAsyncCreates a paginated call to list the aliases associated with a given entity.
listAliasesAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncReturns an overview of the members of a group. Users and groups can be members of a group.
listGroupMembersAsync in interface AmazonWorkMailAsyncpublic Future<ListGroupMembersResult> listGroupMembersAsync(ListGroupMembersRequest request, AsyncHandler<ListGroupMembersRequest,ListGroupMembersResult> asyncHandler)
AmazonWorkMailAsyncReturns an overview of the members of a group. Users and groups can be members of a group.
listGroupMembersAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncReturns summaries of the organization's groups.
listGroupsAsync in interface AmazonWorkMailAsyncpublic Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest request, AsyncHandler<ListGroupsRequest,ListGroupsResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the organization's groups.
listGroupsAsync in interface AmazonWorkMailAsyncasyncHandler - 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<ListMailDomainsResult> listMailDomainsAsync(ListMailDomainsRequest request)
AmazonWorkMailAsyncLists the mail domains in a given Amazon WorkMail organization.
listMailDomainsAsync in interface AmazonWorkMailAsyncpublic Future<ListMailDomainsResult> listMailDomainsAsync(ListMailDomainsRequest request, AsyncHandler<ListMailDomainsRequest,ListMailDomainsResult> asyncHandler)
AmazonWorkMailAsyncLists the mail domains in a given Amazon WorkMail organization.
listMailDomainsAsync in interface AmazonWorkMailAsyncasyncHandler - 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<ListMailboxExportJobsResult> listMailboxExportJobsAsync(ListMailboxExportJobsRequest request)
AmazonWorkMailAsyncLists the mailbox export jobs started for the specified organization within the last seven days.
listMailboxExportJobsAsync in interface AmazonWorkMailAsyncpublic Future<ListMailboxExportJobsResult> listMailboxExportJobsAsync(ListMailboxExportJobsRequest request, AsyncHandler<ListMailboxExportJobsRequest,ListMailboxExportJobsResult> asyncHandler)
AmazonWorkMailAsyncLists the mailbox export jobs started for the specified organization within the last seven days.
listMailboxExportJobsAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncLists the mailbox permissions associated with a user, group, or resource mailbox.
listMailboxPermissionsAsync in interface AmazonWorkMailAsyncpublic Future<ListMailboxPermissionsResult> listMailboxPermissionsAsync(ListMailboxPermissionsRequest request, AsyncHandler<ListMailboxPermissionsRequest,ListMailboxPermissionsResult> asyncHandler)
AmazonWorkMailAsyncLists the mailbox permissions associated with a user, group, or resource mailbox.
listMailboxPermissionsAsync in interface AmazonWorkMailAsyncasyncHandler - 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<ListMobileDeviceAccessOverridesResult> listMobileDeviceAccessOverridesAsync(ListMobileDeviceAccessOverridesRequest request)
AmazonWorkMailAsyncLists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
listMobileDeviceAccessOverridesAsync in interface AmazonWorkMailAsyncpublic Future<ListMobileDeviceAccessOverridesResult> listMobileDeviceAccessOverridesAsync(ListMobileDeviceAccessOverridesRequest request, AsyncHandler<ListMobileDeviceAccessOverridesRequest,ListMobileDeviceAccessOverridesResult> asyncHandler)
AmazonWorkMailAsyncLists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
listMobileDeviceAccessOverridesAsync in interface AmazonWorkMailAsyncasyncHandler - 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<ListMobileDeviceAccessRulesResult> listMobileDeviceAccessRulesAsync(ListMobileDeviceAccessRulesRequest request)
AmazonWorkMailAsyncLists the mobile device access rules for the specified Amazon WorkMail organization.
listMobileDeviceAccessRulesAsync in interface AmazonWorkMailAsyncpublic Future<ListMobileDeviceAccessRulesResult> listMobileDeviceAccessRulesAsync(ListMobileDeviceAccessRulesRequest request, AsyncHandler<ListMobileDeviceAccessRulesRequest,ListMobileDeviceAccessRulesResult> asyncHandler)
AmazonWorkMailAsyncLists the mobile device access rules for the specified Amazon WorkMail organization.
listMobileDeviceAccessRulesAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncReturns summaries of the customer's organizations.
listOrganizationsAsync in interface AmazonWorkMailAsyncpublic Future<ListOrganizationsResult> listOrganizationsAsync(ListOrganizationsRequest request, AsyncHandler<ListOrganizationsRequest,ListOrganizationsResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the customer's organizations.
listOrganizationsAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncLists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.
listResourceDelegatesAsync in interface AmazonWorkMailAsyncpublic Future<ListResourceDelegatesResult> listResourceDelegatesAsync(ListResourceDelegatesRequest request, AsyncHandler<ListResourceDelegatesRequest,ListResourceDelegatesResult> asyncHandler)
AmazonWorkMailAsyncLists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.
listResourceDelegatesAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncReturns summaries of the organization's resources.
listResourcesAsync in interface AmazonWorkMailAsyncpublic Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the organization's resources.
listResourcesAsync in interface AmazonWorkMailAsyncasyncHandler - 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonWorkMailAsyncLists the tags applied to an Amazon WorkMail organization resource.
listTagsForResourceAsync in interface AmazonWorkMailAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonWorkMailAsyncLists the tags applied to an Amazon WorkMail organization resource.
listTagsForResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncReturns summaries of the organization's users.
listUsersAsync in interface AmazonWorkMailAsyncpublic Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the organization's users.
listUsersAsync in interface AmazonWorkMailAsyncasyncHandler - 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<PutAccessControlRuleResult> putAccessControlRuleAsync(PutAccessControlRuleRequest request)
AmazonWorkMailAsyncAdds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, and user IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
putAccessControlRuleAsync in interface AmazonWorkMailAsyncpublic Future<PutAccessControlRuleResult> putAccessControlRuleAsync(PutAccessControlRuleRequest request, AsyncHandler<PutAccessControlRuleRequest,PutAccessControlRuleResult> asyncHandler)
AmazonWorkMailAsyncAdds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, and user IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
putAccessControlRuleAsync in interface AmazonWorkMailAsyncasyncHandler - 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<PutInboundDmarcSettingsResult> putInboundDmarcSettingsAsync(PutInboundDmarcSettingsRequest request)
AmazonWorkMailAsyncEnables or disables a DMARC policy for a given organization.
putInboundDmarcSettingsAsync in interface AmazonWorkMailAsyncpublic Future<PutInboundDmarcSettingsResult> putInboundDmarcSettingsAsync(PutInboundDmarcSettingsRequest request, AsyncHandler<PutInboundDmarcSettingsRequest,PutInboundDmarcSettingsResult> asyncHandler)
AmazonWorkMailAsyncEnables or disables a DMARC policy for a given organization.
putInboundDmarcSettingsAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncSets permissions for a user, group, or resource. This replaces any pre-existing permissions.
putMailboxPermissionsAsync in interface AmazonWorkMailAsyncpublic Future<PutMailboxPermissionsResult> putMailboxPermissionsAsync(PutMailboxPermissionsRequest request, AsyncHandler<PutMailboxPermissionsRequest,PutMailboxPermissionsResult> asyncHandler)
AmazonWorkMailAsyncSets permissions for a user, group, or resource. This replaces any pre-existing permissions.
putMailboxPermissionsAsync in interface AmazonWorkMailAsyncasyncHandler - 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<PutMobileDeviceAccessOverrideResult> putMobileDeviceAccessOverrideAsync(PutMobileDeviceAccessOverrideRequest request)
AmazonWorkMailAsyncCreates or updates a mobile device access override for the given WorkMail organization, user, and device.
putMobileDeviceAccessOverrideAsync in interface AmazonWorkMailAsyncpublic Future<PutMobileDeviceAccessOverrideResult> putMobileDeviceAccessOverrideAsync(PutMobileDeviceAccessOverrideRequest request, AsyncHandler<PutMobileDeviceAccessOverrideRequest,PutMobileDeviceAccessOverrideResult> asyncHandler)
AmazonWorkMailAsyncCreates or updates a mobile device access override for the given WorkMail organization, user, and device.
putMobileDeviceAccessOverrideAsync in interface AmazonWorkMailAsyncasyncHandler - 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<PutRetentionPolicyResult> putRetentionPolicyAsync(PutRetentionPolicyRequest request)
AmazonWorkMailAsyncPuts a retention policy to the specified organization.
putRetentionPolicyAsync in interface AmazonWorkMailAsyncpublic Future<PutRetentionPolicyResult> putRetentionPolicyAsync(PutRetentionPolicyRequest request, AsyncHandler<PutRetentionPolicyRequest,PutRetentionPolicyResult> asyncHandler)
AmazonWorkMailAsyncPuts a retention policy to the specified organization.
putRetentionPolicyAsync in interface AmazonWorkMailAsyncasyncHandler - 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<RegisterMailDomainResult> registerMailDomainAsync(RegisterMailDomainRequest request)
AmazonWorkMailAsyncRegisters a new domain in Amazon WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.
registerMailDomainAsync in interface AmazonWorkMailAsyncpublic Future<RegisterMailDomainResult> registerMailDomainAsync(RegisterMailDomainRequest request, AsyncHandler<RegisterMailDomainRequest,RegisterMailDomainResult> asyncHandler)
AmazonWorkMailAsyncRegisters a new domain in Amazon WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.
registerMailDomainAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncRegisters 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 AmazonWorkMailAsyncpublic Future<RegisterToWorkMailResult> registerToWorkMailAsync(RegisterToWorkMailRequest request, AsyncHandler<RegisterToWorkMailRequest,RegisterToWorkMailResult> asyncHandler)
AmazonWorkMailAsyncRegisters 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 AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncAllows the administrator to reset the password for a user.
resetPasswordAsync in interface AmazonWorkMailAsyncpublic Future<ResetPasswordResult> resetPasswordAsync(ResetPasswordRequest request, AsyncHandler<ResetPasswordRequest,ResetPasswordResult> asyncHandler)
AmazonWorkMailAsyncAllows the administrator to reset the password for a user.
resetPasswordAsync in interface AmazonWorkMailAsyncasyncHandler - 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<StartMailboxExportJobResult> startMailboxExportJobAsync(StartMailboxExportJobRequest request)
AmazonWorkMailAsyncStarts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the Amazon WorkMail Administrator Guide.
startMailboxExportJobAsync in interface AmazonWorkMailAsyncpublic Future<StartMailboxExportJobResult> startMailboxExportJobAsync(StartMailboxExportJobRequest request, AsyncHandler<StartMailboxExportJobRequest,StartMailboxExportJobResult> asyncHandler)
AmazonWorkMailAsyncStarts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the Amazon WorkMail Administrator Guide.
startMailboxExportJobAsync in interface AmazonWorkMailAsyncasyncHandler - 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonWorkMailAsyncApplies the specified tags to the specified Amazon WorkMail organization resource.
tagResourceAsync in interface AmazonWorkMailAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonWorkMailAsyncApplies the specified tags to the specified Amazon WorkMail organization resource.
tagResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonWorkMailAsyncUntags the specified tags from the specified Amazon WorkMail organization resource.
untagResourceAsync in interface AmazonWorkMailAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonWorkMailAsyncUntags the specified tags from the specified Amazon WorkMail organization resource.
untagResourceAsync in interface AmazonWorkMailAsyncasyncHandler - 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<UpdateDefaultMailDomainResult> updateDefaultMailDomainAsync(UpdateDefaultMailDomainRequest request)
AmazonWorkMailAsyncUpdates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.
updateDefaultMailDomainAsync in interface AmazonWorkMailAsyncpublic Future<UpdateDefaultMailDomainResult> updateDefaultMailDomainAsync(UpdateDefaultMailDomainRequest request, AsyncHandler<UpdateDefaultMailDomainRequest,UpdateDefaultMailDomainResult> asyncHandler)
AmazonWorkMailAsyncUpdates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.
updateDefaultMailDomainAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncUpdates a user's current mailbox quota for a specified organization and user.
updateMailboxQuotaAsync in interface AmazonWorkMailAsyncpublic Future<UpdateMailboxQuotaResult> updateMailboxQuotaAsync(UpdateMailboxQuotaRequest request, AsyncHandler<UpdateMailboxQuotaRequest,UpdateMailboxQuotaResult> asyncHandler)
AmazonWorkMailAsyncUpdates a user's current mailbox quota for a specified organization and user.
updateMailboxQuotaAsync in interface AmazonWorkMailAsyncasyncHandler - 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<UpdateMobileDeviceAccessRuleResult> updateMobileDeviceAccessRuleAsync(UpdateMobileDeviceAccessRuleRequest request)
AmazonWorkMailAsyncUpdates a mobile device access rule for the specified Amazon WorkMail organization.
updateMobileDeviceAccessRuleAsync in interface AmazonWorkMailAsyncpublic Future<UpdateMobileDeviceAccessRuleResult> updateMobileDeviceAccessRuleAsync(UpdateMobileDeviceAccessRuleRequest request, AsyncHandler<UpdateMobileDeviceAccessRuleRequest,UpdateMobileDeviceAccessRuleResult> asyncHandler)
AmazonWorkMailAsyncUpdates a mobile device access rule for the specified Amazon WorkMail organization.
updateMobileDeviceAccessRuleAsync in interface AmazonWorkMailAsyncasyncHandler - 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)
AmazonWorkMailAsyncUpdates 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 AmazonWorkMailAsyncpublic Future<UpdatePrimaryEmailAddressResult> updatePrimaryEmailAddressAsync(UpdatePrimaryEmailAddressRequest request, AsyncHandler<UpdatePrimaryEmailAddressRequest,UpdatePrimaryEmailAddressResult> asyncHandler)
AmazonWorkMailAsyncUpdates 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 AmazonWorkMailAsyncasyncHandler - 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 AmazonWorkMailAsyncpublic 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 AmazonWorkMailAsyncasyncHandler - 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 AmazonWorkMailshutdown in class AmazonWorkMailClient