@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, assumeImpersonationRole, cancelMailboxExportJob, createAlias, createAvailabilityConfiguration, createGroup, createImpersonationRole, createMobileDeviceAccessRule, createOrganization, createResource, createUser, deleteAccessControlRule, deleteAlias, deleteAvailabilityConfiguration, deleteEmailMonitoringConfiguration, deleteGroup, deleteImpersonationRole, deleteMailboxPermissions, deleteMobileDeviceAccessOverride, deleteMobileDeviceAccessRule, deleteOrganization, deleteResource, deleteRetentionPolicy, deleteUser, deregisterFromWorkMail, deregisterMailDomain, describeEmailMonitoringConfiguration, describeEntity, describeGroup, describeInboundDmarcSettings, describeMailboxExportJob, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getAccessControlEffect, getCachedResponseMetadata, getDefaultRetentionPolicy, getImpersonationRole, getImpersonationRoleEffect, getMailboxDetails, getMailDomain, getMobileDeviceAccessEffect, getMobileDeviceAccessOverride, listAccessControlRules, listAliases, listAvailabilityConfigurations, listGroupMembers, listGroups, listGroupsForEntity, listImpersonationRoles, listMailboxExportJobs, listMailboxPermissions, listMailDomains, listMobileDeviceAccessOverrides, listMobileDeviceAccessRules, listOrganizations, listResourceDelegates, listResources, listTagsForResource, listUsers, putAccessControlRule, putEmailMonitoringConfiguration, putInboundDmarcSettings, putMailboxPermissions, putMobileDeviceAccessOverride, putRetentionPolicy, registerMailDomain, registerToWorkMail, resetPassword, shutdown, startMailboxExportJob, tagResource, testAvailabilityConfiguration, untagResource, updateAvailabilityConfiguration, updateDefaultMailDomain, updateGroup, updateImpersonationRole, updateMailboxQuota, updateMobileDeviceAccessRule, updatePrimaryEmailAddress, updateResource, updateUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateDelegateToResource, associateMemberToGroup, assumeImpersonationRole, cancelMailboxExportJob, createAlias, createAvailabilityConfiguration, createGroup, createImpersonationRole, createMobileDeviceAccessRule, createOrganization, createResource, createUser, deleteAccessControlRule, deleteAlias, deleteAvailabilityConfiguration, deleteEmailMonitoringConfiguration, deleteGroup, deleteImpersonationRole, deleteMailboxPermissions, deleteMobileDeviceAccessOverride, deleteMobileDeviceAccessRule, deleteOrganization, deleteResource, deleteRetentionPolicy, deleteUser, deregisterFromWorkMail, deregisterMailDomain, describeEmailMonitoringConfiguration, describeEntity, describeGroup, describeInboundDmarcSettings, describeMailboxExportJob, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getAccessControlEffect, getCachedResponseMetadata, getDefaultRetentionPolicy, getImpersonationRole, getImpersonationRoleEffect, getMailboxDetails, getMailDomain, getMobileDeviceAccessEffect, getMobileDeviceAccessOverride, listAccessControlRules, listAliases, listAvailabilityConfigurations, listGroupMembers, listGroups, listGroupsForEntity, listImpersonationRoles, listMailboxExportJobs, listMailboxPermissions, listMailDomains, listMobileDeviceAccessOverrides, listMobileDeviceAccessRules, listOrganizations, listResourceDelegates, listResources, listTagsForResource, listUsers, putAccessControlRule, putEmailMonitoringConfiguration, putInboundDmarcSettings, putMailboxPermissions, putMobileDeviceAccessOverride, putRetentionPolicy, registerMailDomain, registerToWorkMail, resetPassword, shutdown, startMailboxExportJob, tagResource, testAvailabilityConfiguration, untagResource, updateAvailabilityConfiguration, updateDefaultMailDomain, updateGroup, updateImpersonationRole, updateMailboxQuota, updateMobileDeviceAccessRule, updatePrimaryEmailAddress, updateResource, updateUser
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<AssumeImpersonationRoleResult> assumeImpersonationRoleAsync(AssumeImpersonationRoleRequest request)
AmazonWorkMailAsync
Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.
assumeImpersonationRoleAsync
in interface AmazonWorkMailAsync
public Future<AssumeImpersonationRoleResult> assumeImpersonationRoleAsync(AssumeImpersonationRoleRequest request, AsyncHandler<AssumeImpersonationRoleRequest,AssumeImpersonationRoleResult> asyncHandler)
AmazonWorkMailAsync
Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.
assumeImpersonationRoleAsync
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<CancelMailboxExportJobResult> cancelMailboxExportJobAsync(CancelMailboxExportJobRequest request)
AmazonWorkMailAsync
Cancels a mailbox export job.
If the mailbox export job is near completion, it might not be possible to cancel it.
cancelMailboxExportJobAsync
in interface AmazonWorkMailAsync
public Future<CancelMailboxExportJobResult> cancelMailboxExportJobAsync(CancelMailboxExportJobRequest request, AsyncHandler<CancelMailboxExportJobRequest,CancelMailboxExportJobResult> asyncHandler)
AmazonWorkMailAsync
Cancels a mailbox export job.
If the mailbox export job is near completion, it might not be possible to cancel it.
cancelMailboxExportJobAsync
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 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 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<CreateAvailabilityConfigurationResult> createAvailabilityConfigurationAsync(CreateAvailabilityConfigurationRequest request)
AmazonWorkMailAsync
Creates an AvailabilityConfiguration
for the given WorkMail organization and domain.
createAvailabilityConfigurationAsync
in interface AmazonWorkMailAsync
public Future<CreateAvailabilityConfigurationResult> createAvailabilityConfigurationAsync(CreateAvailabilityConfigurationRequest request, AsyncHandler<CreateAvailabilityConfigurationRequest,CreateAvailabilityConfigurationResult> asyncHandler)
AmazonWorkMailAsync
Creates an AvailabilityConfiguration
for the given WorkMail organization and domain.
createAvailabilityConfigurationAsync
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 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 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<CreateImpersonationRoleResult> createImpersonationRoleAsync(CreateImpersonationRoleRequest request)
AmazonWorkMailAsync
Creates an impersonation role for the given WorkMail organization.
Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.
createImpersonationRoleAsync
in interface AmazonWorkMailAsync
public Future<CreateImpersonationRoleResult> createImpersonationRoleAsync(CreateImpersonationRoleRequest request, AsyncHandler<CreateImpersonationRoleRequest,CreateImpersonationRoleResult> asyncHandler)
AmazonWorkMailAsync
Creates an impersonation role for the given WorkMail organization.
Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.
createImpersonationRoleAsync
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<CreateMobileDeviceAccessRuleResult> createMobileDeviceAccessRuleAsync(CreateMobileDeviceAccessRuleRequest request)
AmazonWorkMailAsync
Creates a new mobile device access rule for the specified WorkMail organization.
createMobileDeviceAccessRuleAsync
in interface AmazonWorkMailAsync
public Future<CreateMobileDeviceAccessRuleResult> createMobileDeviceAccessRuleAsync(CreateMobileDeviceAccessRuleRequest request, AsyncHandler<CreateMobileDeviceAccessRuleRequest,CreateMobileDeviceAccessRuleResult> asyncHandler)
AmazonWorkMailAsync
Creates a new mobile device access rule for the specified WorkMail organization.
createMobileDeviceAccessRuleAsync
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<CreateOrganizationResult> createOrganizationAsync(CreateOrganizationRequest request)
AmazonWorkMailAsync
Creates a new 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 WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide.
You can associate multiple email domains with an organization, then choose your default email domain from the 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 WorkMail Administrator Guide.
Optionally, you can use a customer managed key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail creates a default, AWS managed key for you.
createOrganizationAsync
in interface AmazonWorkMailAsync
public Future<CreateOrganizationResult> createOrganizationAsync(CreateOrganizationRequest request, AsyncHandler<CreateOrganizationRequest,CreateOrganizationResult> asyncHandler)
AmazonWorkMailAsync
Creates a new 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 WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide.
You can associate multiple email domains with an organization, then choose your default email domain from the 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 WorkMail Administrator Guide.
Optionally, you can use a customer managed key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail creates a default, AWS managed key for you.
createOrganizationAsync
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 WorkMail resource.
createResourceAsync
in interface AmazonWorkMailAsync
public Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request, AsyncHandler<CreateResourceRequest,CreateResourceResult> asyncHandler)
AmazonWorkMailAsync
Creates a new 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 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 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<DeleteAccessControlRuleResult> deleteAccessControlRuleAsync(DeleteAccessControlRuleRequest request)
AmazonWorkMailAsync
Deletes 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 AmazonWorkMailAsync
public Future<DeleteAccessControlRuleResult> deleteAccessControlRuleAsync(DeleteAccessControlRuleRequest request, AsyncHandler<DeleteAccessControlRuleRequest,DeleteAccessControlRuleResult> asyncHandler)
AmazonWorkMailAsync
Deletes 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 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<DeleteAvailabilityConfigurationResult> deleteAvailabilityConfigurationAsync(DeleteAvailabilityConfigurationRequest request)
AmazonWorkMailAsync
Deletes the AvailabilityConfiguration
for the given WorkMail organization and domain.
deleteAvailabilityConfigurationAsync
in interface AmazonWorkMailAsync
public Future<DeleteAvailabilityConfigurationResult> deleteAvailabilityConfigurationAsync(DeleteAvailabilityConfigurationRequest request, AsyncHandler<DeleteAvailabilityConfigurationRequest,DeleteAvailabilityConfigurationResult> asyncHandler)
AmazonWorkMailAsync
Deletes the AvailabilityConfiguration
for the given WorkMail organization and domain.
deleteAvailabilityConfigurationAsync
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<DeleteEmailMonitoringConfigurationResult> deleteEmailMonitoringConfigurationAsync(DeleteEmailMonitoringConfigurationRequest request)
AmazonWorkMailAsync
Deletes the email monitoring configuration for a specified organization.
deleteEmailMonitoringConfigurationAsync
in interface AmazonWorkMailAsync
public Future<DeleteEmailMonitoringConfigurationResult> deleteEmailMonitoringConfigurationAsync(DeleteEmailMonitoringConfigurationRequest request, AsyncHandler<DeleteEmailMonitoringConfigurationRequest,DeleteEmailMonitoringConfigurationResult> asyncHandler)
AmazonWorkMailAsync
Deletes the email monitoring configuration for a specified organization.
deleteEmailMonitoringConfigurationAsync
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 WorkMail.
deleteGroupAsync
in interface AmazonWorkMailAsync
public Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request, AsyncHandler<DeleteGroupRequest,DeleteGroupResult> asyncHandler)
AmazonWorkMailAsync
Deletes a group from 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<DeleteImpersonationRoleResult> deleteImpersonationRoleAsync(DeleteImpersonationRoleRequest request)
AmazonWorkMailAsync
Deletes an impersonation role for the given WorkMail organization.
deleteImpersonationRoleAsync
in interface AmazonWorkMailAsync
public Future<DeleteImpersonationRoleResult> deleteImpersonationRoleAsync(DeleteImpersonationRoleRequest request, AsyncHandler<DeleteImpersonationRoleRequest,DeleteImpersonationRoleResult> asyncHandler)
AmazonWorkMailAsync
Deletes an impersonation role for the given WorkMail organization.
deleteImpersonationRoleAsync
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<DeleteMobileDeviceAccessOverrideResult> deleteMobileDeviceAccessOverrideAsync(DeleteMobileDeviceAccessOverrideRequest request)
AmazonWorkMailAsync
Deletes 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 AmazonWorkMailAsync
public Future<DeleteMobileDeviceAccessOverrideResult> deleteMobileDeviceAccessOverrideAsync(DeleteMobileDeviceAccessOverrideRequest request, AsyncHandler<DeleteMobileDeviceAccessOverrideRequest,DeleteMobileDeviceAccessOverrideResult> asyncHandler)
AmazonWorkMailAsync
Deletes 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 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<DeleteMobileDeviceAccessRuleResult> deleteMobileDeviceAccessRuleAsync(DeleteMobileDeviceAccessRuleRequest request)
AmazonWorkMailAsync
Deletes a mobile device access 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.
deleteMobileDeviceAccessRuleAsync
in interface AmazonWorkMailAsync
public Future<DeleteMobileDeviceAccessRuleResult> deleteMobileDeviceAccessRuleAsync(DeleteMobileDeviceAccessRuleRequest request, AsyncHandler<DeleteMobileDeviceAccessRuleRequest,DeleteMobileDeviceAccessRuleResult> asyncHandler)
AmazonWorkMailAsync
Deletes a mobile device access 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.
deleteMobileDeviceAccessRuleAsync
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<DeleteOrganizationResult> deleteOrganizationAsync(DeleteOrganizationRequest request)
AmazonWorkMailAsync
Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.
deleteOrganizationAsync
in interface AmazonWorkMailAsync
public Future<DeleteOrganizationResult> deleteOrganizationAsync(DeleteOrganizationRequest request, AsyncHandler<DeleteOrganizationRequest,DeleteOrganizationResult> asyncHandler)
AmazonWorkMailAsync
Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.
deleteOrganizationAsync
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<DeleteRetentionPolicyResult> deleteRetentionPolicyAsync(DeleteRetentionPolicyRequest request)
AmazonWorkMailAsync
Deletes the specified retention policy from the specified organization.
deleteRetentionPolicyAsync
in interface AmazonWorkMailAsync
public Future<DeleteRetentionPolicyResult> deleteRetentionPolicyAsync(DeleteRetentionPolicyRequest request, AsyncHandler<DeleteRetentionPolicyRequest,DeleteRetentionPolicyResult> asyncHandler)
AmazonWorkMailAsync
Deletes the specified retention policy from the specified organization.
deleteRetentionPolicyAsync
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 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 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 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 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<DeregisterMailDomainResult> deregisterMailDomainAsync(DeregisterMailDomainRequest request)
AmazonWorkMailAsync
Removes a domain from 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 AmazonWorkMailAsync
public Future<DeregisterMailDomainResult> deregisterMailDomainAsync(DeregisterMailDomainRequest request, AsyncHandler<DeregisterMailDomainRequest,DeregisterMailDomainResult> asyncHandler)
AmazonWorkMailAsync
Removes a domain from 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 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<DescribeEmailMonitoringConfigurationResult> describeEmailMonitoringConfigurationAsync(DescribeEmailMonitoringConfigurationRequest request)
AmazonWorkMailAsync
Describes the current email monitoring configuration for a specified organization.
describeEmailMonitoringConfigurationAsync
in interface AmazonWorkMailAsync
public Future<DescribeEmailMonitoringConfigurationResult> describeEmailMonitoringConfigurationAsync(DescribeEmailMonitoringConfigurationRequest request, AsyncHandler<DescribeEmailMonitoringConfigurationRequest,DescribeEmailMonitoringConfigurationResult> asyncHandler)
AmazonWorkMailAsync
Describes the current email monitoring configuration for a specified organization.
describeEmailMonitoringConfigurationAsync
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<DescribeEntityResult> describeEntityAsync(DescribeEntityRequest request)
AmazonWorkMailAsync
Returns basic details about an entity in WorkMail.
describeEntityAsync
in interface AmazonWorkMailAsync
public Future<DescribeEntityResult> describeEntityAsync(DescribeEntityRequest request, AsyncHandler<DescribeEntityRequest,DescribeEntityResult> asyncHandler)
AmazonWorkMailAsync
Returns basic details about an entity in WorkMail.
describeEntityAsync
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<DescribeInboundDmarcSettingsResult> describeInboundDmarcSettingsAsync(DescribeInboundDmarcSettingsRequest request)
AmazonWorkMailAsync
Lists the settings in a DMARC policy for a specified organization.
describeInboundDmarcSettingsAsync
in interface AmazonWorkMailAsync
public Future<DescribeInboundDmarcSettingsResult> describeInboundDmarcSettingsAsync(DescribeInboundDmarcSettingsRequest request, AsyncHandler<DescribeInboundDmarcSettingsRequest,DescribeInboundDmarcSettingsResult> asyncHandler)
AmazonWorkMailAsync
Lists the settings in a DMARC policy for a specified organization.
describeInboundDmarcSettingsAsync
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<DescribeMailboxExportJobResult> describeMailboxExportJobAsync(DescribeMailboxExportJobRequest request)
AmazonWorkMailAsync
Describes the current status of a mailbox export job.
describeMailboxExportJobAsync
in interface AmazonWorkMailAsync
public Future<DescribeMailboxExportJobResult> describeMailboxExportJobAsync(DescribeMailboxExportJobRequest request, AsyncHandler<DescribeMailboxExportJobRequest,DescribeMailboxExportJobResult> asyncHandler)
AmazonWorkMailAsync
Describes the current status of a mailbox export job.
describeMailboxExportJobAsync
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<GetAccessControlEffectResult> getAccessControlEffectAsync(GetAccessControlEffectRequest request)
AmazonWorkMailAsync
Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
getAccessControlEffectAsync
in interface AmazonWorkMailAsync
public Future<GetAccessControlEffectResult> getAccessControlEffectAsync(GetAccessControlEffectRequest request, AsyncHandler<GetAccessControlEffectRequest,GetAccessControlEffectResult> asyncHandler)
AmazonWorkMailAsync
Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
getAccessControlEffectAsync
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<GetDefaultRetentionPolicyResult> getDefaultRetentionPolicyAsync(GetDefaultRetentionPolicyRequest request)
AmazonWorkMailAsync
Gets the default retention policy details for the specified organization.
getDefaultRetentionPolicyAsync
in interface AmazonWorkMailAsync
public Future<GetDefaultRetentionPolicyResult> getDefaultRetentionPolicyAsync(GetDefaultRetentionPolicyRequest request, AsyncHandler<GetDefaultRetentionPolicyRequest,GetDefaultRetentionPolicyResult> asyncHandler)
AmazonWorkMailAsync
Gets the default retention policy details for the specified organization.
getDefaultRetentionPolicyAsync
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<GetImpersonationRoleResult> getImpersonationRoleAsync(GetImpersonationRoleRequest request)
AmazonWorkMailAsync
Gets the impersonation role details for the given WorkMail organization.
getImpersonationRoleAsync
in interface AmazonWorkMailAsync
public Future<GetImpersonationRoleResult> getImpersonationRoleAsync(GetImpersonationRoleRequest request, AsyncHandler<GetImpersonationRoleRequest,GetImpersonationRoleResult> asyncHandler)
AmazonWorkMailAsync
Gets the impersonation role details for the given WorkMail organization.
getImpersonationRoleAsync
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<GetImpersonationRoleEffectResult> getImpersonationRoleEffectAsync(GetImpersonationRoleEffectRequest request)
AmazonWorkMailAsync
Tests whether the given impersonation role can impersonate a target user.
getImpersonationRoleEffectAsync
in interface AmazonWorkMailAsync
public Future<GetImpersonationRoleEffectResult> getImpersonationRoleEffectAsync(GetImpersonationRoleEffectRequest request, AsyncHandler<GetImpersonationRoleEffectRequest,GetImpersonationRoleEffectResult> asyncHandler)
AmazonWorkMailAsync
Tests whether the given impersonation role can impersonate a target user.
getImpersonationRoleEffectAsync
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<GetMailDomainResult> getMailDomainAsync(GetMailDomainRequest request)
AmazonWorkMailAsync
Gets details for a mail domain, including domain records required to configure your domain with recommended security.
getMailDomainAsync
in interface AmazonWorkMailAsync
public Future<GetMailDomainResult> getMailDomainAsync(GetMailDomainRequest request, AsyncHandler<GetMailDomainRequest,GetMailDomainResult> asyncHandler)
AmazonWorkMailAsync
Gets details for a mail domain, including domain records required to configure your domain with recommended security.
getMailDomainAsync
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<GetMobileDeviceAccessEffectResult> getMobileDeviceAccessEffectAsync(GetMobileDeviceAccessEffectRequest request)
AmazonWorkMailAsync
Simulates 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 WorkMail organization for a particular user's attributes.
getMobileDeviceAccessEffectAsync
in interface AmazonWorkMailAsync
public Future<GetMobileDeviceAccessEffectResult> getMobileDeviceAccessEffectAsync(GetMobileDeviceAccessEffectRequest request, AsyncHandler<GetMobileDeviceAccessEffectRequest,GetMobileDeviceAccessEffectResult> asyncHandler)
AmazonWorkMailAsync
Simulates 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 WorkMail organization for a particular user's attributes.
getMobileDeviceAccessEffectAsync
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<GetMobileDeviceAccessOverrideResult> getMobileDeviceAccessOverrideAsync(GetMobileDeviceAccessOverrideRequest request)
AmazonWorkMailAsync
Gets the mobile device access override for the given WorkMail organization, user, and device.
getMobileDeviceAccessOverrideAsync
in interface AmazonWorkMailAsync
public Future<GetMobileDeviceAccessOverrideResult> getMobileDeviceAccessOverrideAsync(GetMobileDeviceAccessOverrideRequest request, AsyncHandler<GetMobileDeviceAccessOverrideRequest,GetMobileDeviceAccessOverrideResult> asyncHandler)
AmazonWorkMailAsync
Gets the mobile device access override for the given WorkMail organization, user, and device.
getMobileDeviceAccessOverrideAsync
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<ListAccessControlRulesResult> listAccessControlRulesAsync(ListAccessControlRulesRequest request)
AmazonWorkMailAsync
Lists the access control rules for the specified organization.
listAccessControlRulesAsync
in interface AmazonWorkMailAsync
public Future<ListAccessControlRulesResult> listAccessControlRulesAsync(ListAccessControlRulesRequest request, AsyncHandler<ListAccessControlRulesRequest,ListAccessControlRulesResult> asyncHandler)
AmazonWorkMailAsync
Lists the access control rules for the specified organization.
listAccessControlRulesAsync
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<ListAvailabilityConfigurationsResult> listAvailabilityConfigurationsAsync(ListAvailabilityConfigurationsRequest request)
AmazonWorkMailAsync
List all the AvailabilityConfiguration
's for the given WorkMail organization.
listAvailabilityConfigurationsAsync
in interface AmazonWorkMailAsync
public Future<ListAvailabilityConfigurationsResult> listAvailabilityConfigurationsAsync(ListAvailabilityConfigurationsRequest request, AsyncHandler<ListAvailabilityConfigurationsRequest,ListAvailabilityConfigurationsResult> asyncHandler)
AmazonWorkMailAsync
List all the AvailabilityConfiguration
's for the given WorkMail organization.
listAvailabilityConfigurationsAsync
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<ListGroupsForEntityResult> listGroupsForEntityAsync(ListGroupsForEntityRequest request)
AmazonWorkMailAsync
Returns all the groups to which an entity belongs.
listGroupsForEntityAsync
in interface AmazonWorkMailAsync
public Future<ListGroupsForEntityResult> listGroupsForEntityAsync(ListGroupsForEntityRequest request, AsyncHandler<ListGroupsForEntityRequest,ListGroupsForEntityResult> asyncHandler)
AmazonWorkMailAsync
Returns all the groups to which an entity belongs.
listGroupsForEntityAsync
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<ListImpersonationRolesResult> listImpersonationRolesAsync(ListImpersonationRolesRequest request)
AmazonWorkMailAsync
Lists all the impersonation roles for the given WorkMail organization.
listImpersonationRolesAsync
in interface AmazonWorkMailAsync
public Future<ListImpersonationRolesResult> listImpersonationRolesAsync(ListImpersonationRolesRequest request, AsyncHandler<ListImpersonationRolesRequest,ListImpersonationRolesResult> asyncHandler)
AmazonWorkMailAsync
Lists all the impersonation roles for the given WorkMail organization.
listImpersonationRolesAsync
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<ListMailDomainsResult> listMailDomainsAsync(ListMailDomainsRequest request)
AmazonWorkMailAsync
Lists the mail domains in a given WorkMail organization.
listMailDomainsAsync
in interface AmazonWorkMailAsync
public Future<ListMailDomainsResult> listMailDomainsAsync(ListMailDomainsRequest request, AsyncHandler<ListMailDomainsRequest,ListMailDomainsResult> asyncHandler)
AmazonWorkMailAsync
Lists the mail domains in a given WorkMail organization.
listMailDomainsAsync
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<ListMailboxExportJobsResult> listMailboxExportJobsAsync(ListMailboxExportJobsRequest request)
AmazonWorkMailAsync
Lists the mailbox export jobs started for the specified organization within the last seven days.
listMailboxExportJobsAsync
in interface AmazonWorkMailAsync
public Future<ListMailboxExportJobsResult> listMailboxExportJobsAsync(ListMailboxExportJobsRequest request, AsyncHandler<ListMailboxExportJobsRequest,ListMailboxExportJobsResult> asyncHandler)
AmazonWorkMailAsync
Lists the mailbox export jobs started for the specified organization within the last seven days.
listMailboxExportJobsAsync
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<ListMobileDeviceAccessOverridesResult> listMobileDeviceAccessOverridesAsync(ListMobileDeviceAccessOverridesRequest request)
AmazonWorkMailAsync
Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
listMobileDeviceAccessOverridesAsync
in interface AmazonWorkMailAsync
public Future<ListMobileDeviceAccessOverridesResult> listMobileDeviceAccessOverridesAsync(ListMobileDeviceAccessOverridesRequest request, AsyncHandler<ListMobileDeviceAccessOverridesRequest,ListMobileDeviceAccessOverridesResult> asyncHandler)
AmazonWorkMailAsync
Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
listMobileDeviceAccessOverridesAsync
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<ListMobileDeviceAccessRulesResult> listMobileDeviceAccessRulesAsync(ListMobileDeviceAccessRulesRequest request)
AmazonWorkMailAsync
Lists the mobile device access rules for the specified WorkMail organization.
listMobileDeviceAccessRulesAsync
in interface AmazonWorkMailAsync
public Future<ListMobileDeviceAccessRulesResult> listMobileDeviceAccessRulesAsync(ListMobileDeviceAccessRulesRequest request, AsyncHandler<ListMobileDeviceAccessRulesRequest,ListMobileDeviceAccessRulesResult> asyncHandler)
AmazonWorkMailAsync
Lists the mobile device access rules for the specified WorkMail organization.
listMobileDeviceAccessRulesAsync
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 organizations.
listOrganizationsAsync
in interface AmazonWorkMailAsync
public Future<ListOrganizationsResult> listOrganizationsAsync(ListOrganizationsRequest request, AsyncHandler<ListOrganizationsRequest,ListOrganizationsResult> asyncHandler)
AmazonWorkMailAsync
Returns summaries of the customer's 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonWorkMailAsync
Lists the tags applied to an WorkMail organization resource.
listTagsForResourceAsync
in interface AmazonWorkMailAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonWorkMailAsync
Lists the tags applied to an WorkMail organization resource.
listTagsForResourceAsync
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<PutAccessControlRuleResult> putAccessControlRuleAsync(PutAccessControlRuleRequest request)
AmazonWorkMailAsync
Adds 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, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
putAccessControlRuleAsync
in interface AmazonWorkMailAsync
public Future<PutAccessControlRuleResult> putAccessControlRuleAsync(PutAccessControlRuleRequest request, AsyncHandler<PutAccessControlRuleRequest,PutAccessControlRuleResult> asyncHandler)
AmazonWorkMailAsync
Adds 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, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
putAccessControlRuleAsync
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<PutEmailMonitoringConfigurationResult> putEmailMonitoringConfigurationAsync(PutEmailMonitoringConfigurationRequest request)
AmazonWorkMailAsync
Creates or updates the email monitoring configuration for a specified organization.
putEmailMonitoringConfigurationAsync
in interface AmazonWorkMailAsync
public Future<PutEmailMonitoringConfigurationResult> putEmailMonitoringConfigurationAsync(PutEmailMonitoringConfigurationRequest request, AsyncHandler<PutEmailMonitoringConfigurationRequest,PutEmailMonitoringConfigurationResult> asyncHandler)
AmazonWorkMailAsync
Creates or updates the email monitoring configuration for a specified organization.
putEmailMonitoringConfigurationAsync
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<PutInboundDmarcSettingsResult> putInboundDmarcSettingsAsync(PutInboundDmarcSettingsRequest request)
AmazonWorkMailAsync
Enables or disables a DMARC policy for a given organization.
putInboundDmarcSettingsAsync
in interface AmazonWorkMailAsync
public Future<PutInboundDmarcSettingsResult> putInboundDmarcSettingsAsync(PutInboundDmarcSettingsRequest request, AsyncHandler<PutInboundDmarcSettingsRequest,PutInboundDmarcSettingsResult> asyncHandler)
AmazonWorkMailAsync
Enables or disables a DMARC policy for a given organization.
putInboundDmarcSettingsAsync
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<PutMobileDeviceAccessOverrideResult> putMobileDeviceAccessOverrideAsync(PutMobileDeviceAccessOverrideRequest request)
AmazonWorkMailAsync
Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
putMobileDeviceAccessOverrideAsync
in interface AmazonWorkMailAsync
public Future<PutMobileDeviceAccessOverrideResult> putMobileDeviceAccessOverrideAsync(PutMobileDeviceAccessOverrideRequest request, AsyncHandler<PutMobileDeviceAccessOverrideRequest,PutMobileDeviceAccessOverrideResult> asyncHandler)
AmazonWorkMailAsync
Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
putMobileDeviceAccessOverrideAsync
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<PutRetentionPolicyResult> putRetentionPolicyAsync(PutRetentionPolicyRequest request)
AmazonWorkMailAsync
Puts a retention policy to the specified organization.
putRetentionPolicyAsync
in interface AmazonWorkMailAsync
public Future<PutRetentionPolicyResult> putRetentionPolicyAsync(PutRetentionPolicyRequest request, AsyncHandler<PutRetentionPolicyRequest,PutRetentionPolicyResult> asyncHandler)
AmazonWorkMailAsync
Puts a retention policy to the specified organization.
putRetentionPolicyAsync
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<RegisterMailDomainResult> registerMailDomainAsync(RegisterMailDomainRequest request)
AmazonWorkMailAsync
Registers a new domain in 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 AmazonWorkMailAsync
public Future<RegisterMailDomainResult> registerMailDomainAsync(RegisterMailDomainRequest request, AsyncHandler<RegisterMailDomainRequest,RegisterMailDomainResult> asyncHandler)
AmazonWorkMailAsync
Registers a new domain in 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 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 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 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<StartMailboxExportJobResult> startMailboxExportJobAsync(StartMailboxExportJobRequest request)
AmazonWorkMailAsync
Starts 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 WorkMail Administrator Guide.
startMailboxExportJobAsync
in interface AmazonWorkMailAsync
public Future<StartMailboxExportJobResult> startMailboxExportJobAsync(StartMailboxExportJobRequest request, AsyncHandler<StartMailboxExportJobRequest,StartMailboxExportJobResult> asyncHandler)
AmazonWorkMailAsync
Starts 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 WorkMail Administrator Guide.
startMailboxExportJobAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonWorkMailAsync
Applies the specified tags to the specified WorkMailorganization resource.
tagResourceAsync
in interface AmazonWorkMailAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonWorkMailAsync
Applies the specified tags to the specified WorkMailorganization resource.
tagResourceAsync
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<TestAvailabilityConfigurationResult> testAvailabilityConfigurationAsync(TestAvailabilityConfigurationRequest request)
AmazonWorkMailAsync
Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided
credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked
and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done
without providing either a SourceArn
or SourceAccount
header.
The request must contain either one provider definition (EwsProvider
or LambdaProvider
)
or the DomainName
parameter. If the DomainName
parameter is provided, the configuration
stored under the DomainName
will be tested.
testAvailabilityConfigurationAsync
in interface AmazonWorkMailAsync
public Future<TestAvailabilityConfigurationResult> testAvailabilityConfigurationAsync(TestAvailabilityConfigurationRequest request, AsyncHandler<TestAvailabilityConfigurationRequest,TestAvailabilityConfigurationResult> asyncHandler)
AmazonWorkMailAsync
Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided
credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked
and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done
without providing either a SourceArn
or SourceAccount
header.
The request must contain either one provider definition (EwsProvider
or LambdaProvider
)
or the DomainName
parameter. If the DomainName
parameter is provided, the configuration
stored under the DomainName
will be tested.
testAvailabilityConfigurationAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonWorkMailAsync
Untags the specified tags from the specified WorkMail organization resource.
untagResourceAsync
in interface AmazonWorkMailAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonWorkMailAsync
Untags the specified tags from the specified WorkMail organization resource.
untagResourceAsync
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<UpdateAvailabilityConfigurationResult> updateAvailabilityConfigurationAsync(UpdateAvailabilityConfigurationRequest request)
AmazonWorkMailAsync
Updates an existing AvailabilityConfiguration
for the given WorkMail organization and domain.
updateAvailabilityConfigurationAsync
in interface AmazonWorkMailAsync
public Future<UpdateAvailabilityConfigurationResult> updateAvailabilityConfigurationAsync(UpdateAvailabilityConfigurationRequest request, AsyncHandler<UpdateAvailabilityConfigurationRequest,UpdateAvailabilityConfigurationResult> asyncHandler)
AmazonWorkMailAsync
Updates an existing AvailabilityConfiguration
for the given WorkMail organization and domain.
updateAvailabilityConfigurationAsync
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<UpdateDefaultMailDomainResult> updateDefaultMailDomainAsync(UpdateDefaultMailDomainRequest request)
AmazonWorkMailAsync
Updates 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 AmazonWorkMailAsync
public Future<UpdateDefaultMailDomainResult> updateDefaultMailDomainAsync(UpdateDefaultMailDomainRequest request, AsyncHandler<UpdateDefaultMailDomainRequest,UpdateDefaultMailDomainResult> asyncHandler)
AmazonWorkMailAsync
Updates 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 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<UpdateGroupResult> updateGroupAsync(UpdateGroupRequest request)
AmazonWorkMailAsync
Updates attibutes in a group.
updateGroupAsync
in interface AmazonWorkMailAsync
public Future<UpdateGroupResult> updateGroupAsync(UpdateGroupRequest request, AsyncHandler<UpdateGroupRequest,UpdateGroupResult> asyncHandler)
AmazonWorkMailAsync
Updates attibutes in a group.
updateGroupAsync
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<UpdateImpersonationRoleResult> updateImpersonationRoleAsync(UpdateImpersonationRoleRequest request)
AmazonWorkMailAsync
Updates an impersonation role for the given WorkMail organization.
updateImpersonationRoleAsync
in interface AmazonWorkMailAsync
public Future<UpdateImpersonationRoleResult> updateImpersonationRoleAsync(UpdateImpersonationRoleRequest request, AsyncHandler<UpdateImpersonationRoleRequest,UpdateImpersonationRoleResult> asyncHandler)
AmazonWorkMailAsync
Updates an impersonation role for the given WorkMail organization.
updateImpersonationRoleAsync
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<UpdateMobileDeviceAccessRuleResult> updateMobileDeviceAccessRuleAsync(UpdateMobileDeviceAccessRuleRequest request)
AmazonWorkMailAsync
Updates a mobile device access rule for the specified WorkMail organization.
updateMobileDeviceAccessRuleAsync
in interface AmazonWorkMailAsync
public Future<UpdateMobileDeviceAccessRuleResult> updateMobileDeviceAccessRuleAsync(UpdateMobileDeviceAccessRuleRequest request, AsyncHandler<UpdateMobileDeviceAccessRuleRequest,UpdateMobileDeviceAccessRuleResult> asyncHandler)
AmazonWorkMailAsync
Updates a mobile device access rule for the specified WorkMail organization.
updateMobileDeviceAccessRuleAsync
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.public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request)
AmazonWorkMailAsync
Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The
dataset in the request should be the one expected when performing another DescribeUser
call.
updateUserAsync
in interface AmazonWorkMailAsync
public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request, AsyncHandler<UpdateUserRequest,UpdateUserResult> asyncHandler)
AmazonWorkMailAsync
Updates data for the user. To have the latest information, it must be preceded by a DescribeUser call. The
dataset in the request should be the one expected when performing another DescribeUser
call.
updateUserAsync
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.