com.amazonaws.services.workmail.AmazonWorkMailAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-workmail Show documentation
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.workmail;
import javax.annotation.Generated;
import com.amazonaws.services.workmail.model.*;
/**
* Interface for accessing Amazon WorkMail asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.workmail.AbstractAmazonWorkMailAsync} instead.
*
*
*
* 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.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonWorkMailAsync extends AmazonWorkMail {
/**
*
* Adds a member (user or group) to the resource's set of delegates.
*
*
* @param associateDelegateToResourceRequest
* @return A Java Future containing the result of the AssociateDelegateToResource operation returned by the service.
* @sample AmazonWorkMailAsync.AssociateDelegateToResource
* @see AWS API Documentation
*/
java.util.concurrent.Future associateDelegateToResourceAsync(
AssociateDelegateToResourceRequest associateDelegateToResourceRequest);
/**
*
* Adds a member (user or group) to the resource's set of delegates.
*
*
* @param associateDelegateToResourceRequest
* @param 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.
* @return A Java Future containing the result of the AssociateDelegateToResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.AssociateDelegateToResource
* @see AWS API Documentation
*/
java.util.concurrent.Future associateDelegateToResourceAsync(
AssociateDelegateToResourceRequest associateDelegateToResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds a member (user or group) to the group's set.
*
*
* @param associateMemberToGroupRequest
* @return A Java Future containing the result of the AssociateMemberToGroup operation returned by the service.
* @sample AmazonWorkMailAsync.AssociateMemberToGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future associateMemberToGroupAsync(AssociateMemberToGroupRequest associateMemberToGroupRequest);
/**
*
* Adds a member (user or group) to the group's set.
*
*
* @param associateMemberToGroupRequest
* @param 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.
* @return A Java Future containing the result of the AssociateMemberToGroup operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.AssociateMemberToGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future associateMemberToGroupAsync(AssociateMemberToGroupRequest associateMemberToGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token
* you can use to make impersonated calls.
*
*
* @param assumeImpersonationRoleRequest
* @return A Java Future containing the result of the AssumeImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsync.AssumeImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future assumeImpersonationRoleAsync(AssumeImpersonationRoleRequest assumeImpersonationRoleRequest);
/**
*
* Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token
* you can use to make impersonated calls.
*
*
* @param assumeImpersonationRoleRequest
* @param 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.
* @return A Java Future containing the result of the AssumeImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.AssumeImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future assumeImpersonationRoleAsync(AssumeImpersonationRoleRequest assumeImpersonationRoleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Cancels a mailbox export job.
*
*
*
* If the mailbox export job is near completion, it might not be possible to cancel it.
*
*
*
* @param cancelMailboxExportJobRequest
* @return A Java Future containing the result of the CancelMailboxExportJob operation returned by the service.
* @sample AmazonWorkMailAsync.CancelMailboxExportJob
* @see AWS API Documentation
*/
java.util.concurrent.Future cancelMailboxExportJobAsync(CancelMailboxExportJobRequest cancelMailboxExportJobRequest);
/**
*
* Cancels a mailbox export job.
*
*
*
* If the mailbox export job is near completion, it might not be possible to cancel it.
*
*
*
* @param cancelMailboxExportJobRequest
* @param 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.
* @return A Java Future containing the result of the CancelMailboxExportJob operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.CancelMailboxExportJob
* @see AWS API Documentation
*/
java.util.concurrent.Future cancelMailboxExportJobAsync(CancelMailboxExportJobRequest cancelMailboxExportJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds an alias to the set of a given member (user or group) of WorkMail.
*
*
* @param createAliasRequest
* @return A Java Future containing the result of the CreateAlias operation returned by the service.
* @sample AmazonWorkMailAsync.CreateAlias
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createAliasAsync(CreateAliasRequest createAliasRequest);
/**
*
* Adds an alias to the set of a given member (user or group) of WorkMail.
*
*
* @param createAliasRequest
* @param 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.
* @return A Java Future containing the result of the CreateAlias operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.CreateAlias
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createAliasAsync(CreateAliasRequest createAliasRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an AvailabilityConfiguration
for the given WorkMail organization and domain.
*
*
* @param createAvailabilityConfigurationRequest
* @return A Java Future containing the result of the CreateAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsync.CreateAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future createAvailabilityConfigurationAsync(
CreateAvailabilityConfigurationRequest createAvailabilityConfigurationRequest);
/**
*
* Creates an AvailabilityConfiguration
for the given WorkMail organization and domain.
*
*
* @param createAvailabilityConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the CreateAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.CreateAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future createAvailabilityConfigurationAsync(
CreateAvailabilityConfigurationRequest createAvailabilityConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.
*
*
* @param createGroupRequest
* @return A Java Future containing the result of the CreateGroup operation returned by the service.
* @sample AmazonWorkMailAsync.CreateGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createGroupAsync(CreateGroupRequest createGroupRequest);
/**
*
* Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.
*
*
* @param createGroupRequest
* @param 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.
* @return A Java Future containing the result of the CreateGroup operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.CreateGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createGroupAsync(CreateGroupRequest createGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param createImpersonationRoleRequest
* @return A Java Future containing the result of the CreateImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsync.CreateImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future createImpersonationRoleAsync(CreateImpersonationRoleRequest createImpersonationRoleRequest);
/**
*
* 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.
*
*
* @param createImpersonationRoleRequest
* @param 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.
* @return A Java Future containing the result of the CreateImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.CreateImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future createImpersonationRoleAsync(CreateImpersonationRoleRequest createImpersonationRoleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new mobile device access rule for the specified WorkMail organization.
*
*
* @param createMobileDeviceAccessRuleRequest
* @return A Java Future containing the result of the CreateMobileDeviceAccessRule operation returned by the
* service.
* @sample AmazonWorkMailAsync.CreateMobileDeviceAccessRule
* @see AWS API Documentation
*/
java.util.concurrent.Future createMobileDeviceAccessRuleAsync(
CreateMobileDeviceAccessRuleRequest createMobileDeviceAccessRuleRequest);
/**
*
* Creates a new mobile device access rule for the specified WorkMail organization.
*
*
* @param createMobileDeviceAccessRuleRequest
* @param 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.
* @return A Java Future containing the result of the CreateMobileDeviceAccessRule operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.CreateMobileDeviceAccessRule
* @see AWS API Documentation
*/
java.util.concurrent.Future createMobileDeviceAccessRuleAsync(
CreateMobileDeviceAccessRuleRequest createMobileDeviceAccessRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param createOrganizationRequest
* @return A Java Future containing the result of the CreateOrganization operation returned by the service.
* @sample AmazonWorkMailAsync.CreateOrganization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createOrganizationAsync(CreateOrganizationRequest createOrganizationRequest);
/**
*
* 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.
*
*
* @param createOrganizationRequest
* @param 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.
* @return A Java Future containing the result of the CreateOrganization operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.CreateOrganization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createOrganizationAsync(CreateOrganizationRequest createOrganizationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new WorkMail resource.
*
*
* @param createResourceRequest
* @return A Java Future containing the result of the CreateResource operation returned by the service.
* @sample AmazonWorkMailAsync.CreateResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createResourceAsync(CreateResourceRequest createResourceRequest);
/**
*
* Creates a new WorkMail resource.
*
*
* @param createResourceRequest
* @param 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.
* @return A Java Future containing the result of the CreateResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.CreateResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createResourceAsync(CreateResourceRequest createResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.
*
*
* @param createUserRequest
* @return A Java Future containing the result of the CreateUser operation returned by the service.
* @sample AmazonWorkMailAsync.CreateUser
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createUserAsync(CreateUserRequest createUserRequest);
/**
*
* Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.
*
*
* @param createUserRequest
* @param 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.
* @return A Java Future containing the result of the CreateUser operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.CreateUser
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createUserAsync(CreateUserRequest createUserRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param deleteAccessControlRuleRequest
* @return A Java Future containing the result of the DeleteAccessControlRule operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteAccessControlRule
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAccessControlRuleAsync(DeleteAccessControlRuleRequest deleteAccessControlRuleRequest);
/**
*
* 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.
*
*
*
* @param deleteAccessControlRuleRequest
* @param 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.
* @return A Java Future containing the result of the DeleteAccessControlRule operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteAccessControlRule
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAccessControlRuleAsync(DeleteAccessControlRuleRequest deleteAccessControlRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Remove one or more specified aliases from a set of aliases for a given user.
*
*
* @param deleteAliasRequest
* @return A Java Future containing the result of the DeleteAlias operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteAlias
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteAliasAsync(DeleteAliasRequest deleteAliasRequest);
/**
*
* Remove one or more specified aliases from a set of aliases for a given user.
*
*
* @param deleteAliasRequest
* @param 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.
* @return A Java Future containing the result of the DeleteAlias operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteAlias
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteAliasAsync(DeleteAliasRequest deleteAliasRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the AvailabilityConfiguration
for the given WorkMail organization and domain.
*
*
* @param deleteAvailabilityConfigurationRequest
* @return A Java Future containing the result of the DeleteAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsync.DeleteAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAvailabilityConfigurationAsync(
DeleteAvailabilityConfigurationRequest deleteAvailabilityConfigurationRequest);
/**
*
* Deletes the AvailabilityConfiguration
for the given WorkMail organization and domain.
*
*
* @param deleteAvailabilityConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the DeleteAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.DeleteAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteAvailabilityConfigurationAsync(
DeleteAvailabilityConfigurationRequest deleteAvailabilityConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the email monitoring configuration for a specified organization.
*
*
* @param deleteEmailMonitoringConfigurationRequest
* @return A Java Future containing the result of the DeleteEmailMonitoringConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsync.DeleteEmailMonitoringConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteEmailMonitoringConfigurationAsync(
DeleteEmailMonitoringConfigurationRequest deleteEmailMonitoringConfigurationRequest);
/**
*
* Deletes the email monitoring configuration for a specified organization.
*
*
* @param deleteEmailMonitoringConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the DeleteEmailMonitoringConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.DeleteEmailMonitoringConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteEmailMonitoringConfigurationAsync(
DeleteEmailMonitoringConfigurationRequest deleteEmailMonitoringConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a group from WorkMail.
*
*
* @param deleteGroupRequest
* @return A Java Future containing the result of the DeleteGroup operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteGroupAsync(DeleteGroupRequest deleteGroupRequest);
/**
*
* Deletes a group from WorkMail.
*
*
* @param deleteGroupRequest
* @param 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.
* @return A Java Future containing the result of the DeleteGroup operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteGroupAsync(DeleteGroupRequest deleteGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an impersonation role for the given WorkMail organization.
*
*
* @param deleteImpersonationRoleRequest
* @return A Java Future containing the result of the DeleteImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteImpersonationRoleAsync(DeleteImpersonationRoleRequest deleteImpersonationRoleRequest);
/**
*
* Deletes an impersonation role for the given WorkMail organization.
*
*
* @param deleteImpersonationRoleRequest
* @param 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.
* @return A Java Future containing the result of the DeleteImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteImpersonationRoleAsync(DeleteImpersonationRoleRequest deleteImpersonationRoleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes permissions granted to a member (user or group).
*
*
* @param deleteMailboxPermissionsRequest
* @return A Java Future containing the result of the DeleteMailboxPermissions operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteMailboxPermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteMailboxPermissionsAsync(DeleteMailboxPermissionsRequest deleteMailboxPermissionsRequest);
/**
*
* Deletes permissions granted to a member (user or group).
*
*
* @param deleteMailboxPermissionsRequest
* @param 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.
* @return A Java Future containing the result of the DeleteMailboxPermissions operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteMailboxPermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteMailboxPermissionsAsync(DeleteMailboxPermissionsRequest deleteMailboxPermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param deleteMobileDeviceAccessOverrideRequest
* @return A Java Future containing the result of the DeleteMobileDeviceAccessOverride operation returned by the
* service.
* @sample AmazonWorkMailAsync.DeleteMobileDeviceAccessOverride
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteMobileDeviceAccessOverrideAsync(
DeleteMobileDeviceAccessOverrideRequest deleteMobileDeviceAccessOverrideRequest);
/**
*
* 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.
*
*
*
* @param deleteMobileDeviceAccessOverrideRequest
* @param 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.
* @return A Java Future containing the result of the DeleteMobileDeviceAccessOverride operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.DeleteMobileDeviceAccessOverride
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteMobileDeviceAccessOverrideAsync(
DeleteMobileDeviceAccessOverrideRequest deleteMobileDeviceAccessOverrideRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param deleteMobileDeviceAccessRuleRequest
* @return A Java Future containing the result of the DeleteMobileDeviceAccessRule operation returned by the
* service.
* @sample AmazonWorkMailAsync.DeleteMobileDeviceAccessRule
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteMobileDeviceAccessRuleAsync(
DeleteMobileDeviceAccessRuleRequest deleteMobileDeviceAccessRuleRequest);
/**
*
* 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.
*
*
*
* @param deleteMobileDeviceAccessRuleRequest
* @param 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.
* @return A Java Future containing the result of the DeleteMobileDeviceAccessRule operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.DeleteMobileDeviceAccessRule
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteMobileDeviceAccessRuleAsync(
DeleteMobileDeviceAccessRuleRequest deleteMobileDeviceAccessRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deleteOrganizationRequest
* @return A Java Future containing the result of the DeleteOrganization operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteOrganization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteOrganizationAsync(DeleteOrganizationRequest deleteOrganizationRequest);
/**
*
* 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.
*
*
* @param deleteOrganizationRequest
* @param 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.
* @return A Java Future containing the result of the DeleteOrganization operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteOrganization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteOrganizationAsync(DeleteOrganizationRequest deleteOrganizationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified resource.
*
*
* @param deleteResourceRequest
* @return A Java Future containing the result of the DeleteResource operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteResourceAsync(DeleteResourceRequest deleteResourceRequest);
/**
*
* Deletes the specified resource.
*
*
* @param deleteResourceRequest
* @param 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.
* @return A Java Future containing the result of the DeleteResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteResourceAsync(DeleteResourceRequest deleteResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified retention policy from the specified organization.
*
*
* @param deleteRetentionPolicyRequest
* @return A Java Future containing the result of the DeleteRetentionPolicy operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteRetentionPolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteRetentionPolicyAsync(DeleteRetentionPolicyRequest deleteRetentionPolicyRequest);
/**
*
* Deletes the specified retention policy from the specified organization.
*
*
* @param deleteRetentionPolicyRequest
* @param 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.
* @return A Java Future containing the result of the DeleteRetentionPolicy operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteRetentionPolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteRetentionPolicyAsync(DeleteRetentionPolicyRequest deleteRetentionPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deleteUserRequest
* @return A Java Future containing the result of the DeleteUser operation returned by the service.
* @sample AmazonWorkMailAsync.DeleteUser
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteUserAsync(DeleteUserRequest deleteUserRequest);
/**
*
* 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.
*
*
* @param deleteUserRequest
* @param 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.
* @return A Java Future containing the result of the DeleteUser operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeleteUser
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteUserAsync(DeleteUserRequest deleteUserRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deregisterFromWorkMailRequest
* @return A Java Future containing the result of the DeregisterFromWorkMail operation returned by the service.
* @sample AmazonWorkMailAsync.DeregisterFromWorkMail
* @see AWS API Documentation
*/
java.util.concurrent.Future deregisterFromWorkMailAsync(DeregisterFromWorkMailRequest deregisterFromWorkMailRequest);
/**
*
* 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.
*
*
* @param deregisterFromWorkMailRequest
* @param 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.
* @return A Java Future containing the result of the DeregisterFromWorkMail operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeregisterFromWorkMail
* @see AWS API Documentation
*/
java.util.concurrent.Future deregisterFromWorkMailAsync(DeregisterFromWorkMailRequest deregisterFromWorkMailRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deregisterMailDomainRequest
* @return A Java Future containing the result of the DeregisterMailDomain operation returned by the service.
* @sample AmazonWorkMailAsync.DeregisterMailDomain
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deregisterMailDomainAsync(DeregisterMailDomainRequest deregisterMailDomainRequest);
/**
*
* 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.
*
*
* @param deregisterMailDomainRequest
* @param 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.
* @return A Java Future containing the result of the DeregisterMailDomain operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DeregisterMailDomain
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deregisterMailDomainAsync(DeregisterMailDomainRequest deregisterMailDomainRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the current email monitoring configuration for a specified organization.
*
*
* @param describeEmailMonitoringConfigurationRequest
* @return A Java Future containing the result of the DescribeEmailMonitoringConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsync.DescribeEmailMonitoringConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future describeEmailMonitoringConfigurationAsync(
DescribeEmailMonitoringConfigurationRequest describeEmailMonitoringConfigurationRequest);
/**
*
* Describes the current email monitoring configuration for a specified organization.
*
*
* @param describeEmailMonitoringConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the DescribeEmailMonitoringConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.DescribeEmailMonitoringConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future describeEmailMonitoringConfigurationAsync(
DescribeEmailMonitoringConfigurationRequest describeEmailMonitoringConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns basic details about an entity in WorkMail.
*
*
* @param describeEntityRequest
* @return A Java Future containing the result of the DescribeEntity operation returned by the service.
* @sample AmazonWorkMailAsync.DescribeEntity
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeEntityAsync(DescribeEntityRequest describeEntityRequest);
/**
*
* Returns basic details about an entity in WorkMail.
*
*
* @param describeEntityRequest
* @param 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.
* @return A Java Future containing the result of the DescribeEntity operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DescribeEntity
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeEntityAsync(DescribeEntityRequest describeEntityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the data available for the group.
*
*
* @param describeGroupRequest
* @return A Java Future containing the result of the DescribeGroup operation returned by the service.
* @sample AmazonWorkMailAsync.DescribeGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeGroupAsync(DescribeGroupRequest describeGroupRequest);
/**
*
* Returns the data available for the group.
*
*
* @param describeGroupRequest
* @param 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.
* @return A Java Future containing the result of the DescribeGroup operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DescribeGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeGroupAsync(DescribeGroupRequest describeGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the settings in a DMARC policy for a specified organization.
*
*
* @param describeInboundDmarcSettingsRequest
* @return A Java Future containing the result of the DescribeInboundDmarcSettings operation returned by the
* service.
* @sample AmazonWorkMailAsync.DescribeInboundDmarcSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future describeInboundDmarcSettingsAsync(
DescribeInboundDmarcSettingsRequest describeInboundDmarcSettingsRequest);
/**
*
* Lists the settings in a DMARC policy for a specified organization.
*
*
* @param describeInboundDmarcSettingsRequest
* @param 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.
* @return A Java Future containing the result of the DescribeInboundDmarcSettings operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.DescribeInboundDmarcSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future describeInboundDmarcSettingsAsync(
DescribeInboundDmarcSettingsRequest describeInboundDmarcSettingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Describes the current status of a mailbox export job.
*
*
* @param describeMailboxExportJobRequest
* @return A Java Future containing the result of the DescribeMailboxExportJob operation returned by the service.
* @sample AmazonWorkMailAsync.DescribeMailboxExportJob
* @see AWS API Documentation
*/
java.util.concurrent.Future describeMailboxExportJobAsync(DescribeMailboxExportJobRequest describeMailboxExportJobRequest);
/**
*
* Describes the current status of a mailbox export job.
*
*
* @param describeMailboxExportJobRequest
* @param 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.
* @return A Java Future containing the result of the DescribeMailboxExportJob operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DescribeMailboxExportJob
* @see AWS API Documentation
*/
java.util.concurrent.Future describeMailboxExportJobAsync(DescribeMailboxExportJobRequest describeMailboxExportJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Provides more information regarding a given organization based on its identifier.
*
*
* @param describeOrganizationRequest
* @return A Java Future containing the result of the DescribeOrganization operation returned by the service.
* @sample AmazonWorkMailAsync.DescribeOrganization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeOrganizationAsync(DescribeOrganizationRequest describeOrganizationRequest);
/**
*
* Provides more information regarding a given organization based on its identifier.
*
*
* @param describeOrganizationRequest
* @param 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.
* @return A Java Future containing the result of the DescribeOrganization operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DescribeOrganization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeOrganizationAsync(DescribeOrganizationRequest describeOrganizationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the data available for the resource.
*
*
* @param describeResourceRequest
* @return A Java Future containing the result of the DescribeResource operation returned by the service.
* @sample AmazonWorkMailAsync.DescribeResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeResourceAsync(DescribeResourceRequest describeResourceRequest);
/**
*
* Returns the data available for the resource.
*
*
* @param describeResourceRequest
* @param 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.
* @return A Java Future containing the result of the DescribeResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DescribeResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeResourceAsync(DescribeResourceRequest describeResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Provides information regarding the user.
*
*
* @param describeUserRequest
* @return A Java Future containing the result of the DescribeUser operation returned by the service.
* @sample AmazonWorkMailAsync.DescribeUser
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeUserAsync(DescribeUserRequest describeUserRequest);
/**
*
* Provides information regarding the user.
*
*
* @param describeUserRequest
* @param 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.
* @return A Java Future containing the result of the DescribeUser operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DescribeUser
* @see AWS API
* Documentation
*/
java.util.concurrent.Future describeUserAsync(DescribeUserRequest describeUserRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes a member from the resource's set of delegates.
*
*
* @param disassociateDelegateFromResourceRequest
* @return A Java Future containing the result of the DisassociateDelegateFromResource operation returned by the
* service.
* @sample AmazonWorkMailAsync.DisassociateDelegateFromResource
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateDelegateFromResourceAsync(
DisassociateDelegateFromResourceRequest disassociateDelegateFromResourceRequest);
/**
*
* Removes a member from the resource's set of delegates.
*
*
* @param disassociateDelegateFromResourceRequest
* @param 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.
* @return A Java Future containing the result of the DisassociateDelegateFromResource operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.DisassociateDelegateFromResource
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateDelegateFromResourceAsync(
DisassociateDelegateFromResourceRequest disassociateDelegateFromResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes a member from a group.
*
*
* @param disassociateMemberFromGroupRequest
* @return A Java Future containing the result of the DisassociateMemberFromGroup operation returned by the service.
* @sample AmazonWorkMailAsync.DisassociateMemberFromGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateMemberFromGroupAsync(
DisassociateMemberFromGroupRequest disassociateMemberFromGroupRequest);
/**
*
* Removes a member from a group.
*
*
* @param disassociateMemberFromGroupRequest
* @param 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.
* @return A Java Future containing the result of the DisassociateMemberFromGroup operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.DisassociateMemberFromGroup
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateMemberFromGroupAsync(
DisassociateMemberFromGroupRequest disassociateMemberFromGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param getAccessControlEffectRequest
* @return A Java Future containing the result of the GetAccessControlEffect operation returned by the service.
* @sample AmazonWorkMailAsync.GetAccessControlEffect
* @see AWS API Documentation
*/
java.util.concurrent.Future getAccessControlEffectAsync(GetAccessControlEffectRequest getAccessControlEffectRequest);
/**
*
* 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.
*
*
* @param getAccessControlEffectRequest
* @param 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.
* @return A Java Future containing the result of the GetAccessControlEffect operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.GetAccessControlEffect
* @see AWS API Documentation
*/
java.util.concurrent.Future getAccessControlEffectAsync(GetAccessControlEffectRequest getAccessControlEffectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the default retention policy details for the specified organization.
*
*
* @param getDefaultRetentionPolicyRequest
* @return A Java Future containing the result of the GetDefaultRetentionPolicy operation returned by the service.
* @sample AmazonWorkMailAsync.GetDefaultRetentionPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future getDefaultRetentionPolicyAsync(
GetDefaultRetentionPolicyRequest getDefaultRetentionPolicyRequest);
/**
*
* Gets the default retention policy details for the specified organization.
*
*
* @param getDefaultRetentionPolicyRequest
* @param 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.
* @return A Java Future containing the result of the GetDefaultRetentionPolicy operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.GetDefaultRetentionPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future getDefaultRetentionPolicyAsync(
GetDefaultRetentionPolicyRequest getDefaultRetentionPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the impersonation role details for the given WorkMail organization.
*
*
* @param getImpersonationRoleRequest
* @return A Java Future containing the result of the GetImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsync.GetImpersonationRole
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getImpersonationRoleAsync(GetImpersonationRoleRequest getImpersonationRoleRequest);
/**
*
* Gets the impersonation role details for the given WorkMail organization.
*
*
* @param getImpersonationRoleRequest
* @param 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.
* @return A Java Future containing the result of the GetImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.GetImpersonationRole
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getImpersonationRoleAsync(GetImpersonationRoleRequest getImpersonationRoleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Tests whether the given impersonation role can impersonate a target user.
*
*
* @param getImpersonationRoleEffectRequest
* @return A Java Future containing the result of the GetImpersonationRoleEffect operation returned by the service.
* @sample AmazonWorkMailAsync.GetImpersonationRoleEffect
* @see AWS API Documentation
*/
java.util.concurrent.Future getImpersonationRoleEffectAsync(
GetImpersonationRoleEffectRequest getImpersonationRoleEffectRequest);
/**
*
* Tests whether the given impersonation role can impersonate a target user.
*
*
* @param getImpersonationRoleEffectRequest
* @param 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.
* @return A Java Future containing the result of the GetImpersonationRoleEffect operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.GetImpersonationRoleEffect
* @see AWS API Documentation
*/
java.util.concurrent.Future getImpersonationRoleEffectAsync(
GetImpersonationRoleEffectRequest getImpersonationRoleEffectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets details for a mail domain, including domain records required to configure your domain with recommended
* security.
*
*
* @param getMailDomainRequest
* @return A Java Future containing the result of the GetMailDomain operation returned by the service.
* @sample AmazonWorkMailAsync.GetMailDomain
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getMailDomainAsync(GetMailDomainRequest getMailDomainRequest);
/**
*
* Gets details for a mail domain, including domain records required to configure your domain with recommended
* security.
*
*
* @param getMailDomainRequest
* @param 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.
* @return A Java Future containing the result of the GetMailDomain operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.GetMailDomain
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getMailDomainAsync(GetMailDomainRequest getMailDomainRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Requests a user's mailbox details for a specified organization and user.
*
*
* @param getMailboxDetailsRequest
* @return A Java Future containing the result of the GetMailboxDetails operation returned by the service.
* @sample AmazonWorkMailAsync.GetMailboxDetails
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getMailboxDetailsAsync(GetMailboxDetailsRequest getMailboxDetailsRequest);
/**
*
* Requests a user's mailbox details for a specified organization and user.
*
*
* @param getMailboxDetailsRequest
* @param 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.
* @return A Java Future containing the result of the GetMailboxDetails operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.GetMailboxDetails
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getMailboxDetailsAsync(GetMailboxDetailsRequest getMailboxDetailsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param getMobileDeviceAccessEffectRequest
* @return A Java Future containing the result of the GetMobileDeviceAccessEffect operation returned by the service.
* @sample AmazonWorkMailAsync.GetMobileDeviceAccessEffect
* @see AWS API Documentation
*/
java.util.concurrent.Future getMobileDeviceAccessEffectAsync(
GetMobileDeviceAccessEffectRequest getMobileDeviceAccessEffectRequest);
/**
*
* 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.
*
*
* @param getMobileDeviceAccessEffectRequest
* @param 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.
* @return A Java Future containing the result of the GetMobileDeviceAccessEffect operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.GetMobileDeviceAccessEffect
* @see AWS API Documentation
*/
java.util.concurrent.Future getMobileDeviceAccessEffectAsync(
GetMobileDeviceAccessEffectRequest getMobileDeviceAccessEffectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the mobile device access override for the given WorkMail organization, user, and device.
*
*
* @param getMobileDeviceAccessOverrideRequest
* @return A Java Future containing the result of the GetMobileDeviceAccessOverride operation returned by the
* service.
* @sample AmazonWorkMailAsync.GetMobileDeviceAccessOverride
* @see AWS API Documentation
*/
java.util.concurrent.Future getMobileDeviceAccessOverrideAsync(
GetMobileDeviceAccessOverrideRequest getMobileDeviceAccessOverrideRequest);
/**
*
* Gets the mobile device access override for the given WorkMail organization, user, and device.
*
*
* @param getMobileDeviceAccessOverrideRequest
* @param 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.
* @return A Java Future containing the result of the GetMobileDeviceAccessOverride operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.GetMobileDeviceAccessOverride
* @see AWS API Documentation
*/
java.util.concurrent.Future getMobileDeviceAccessOverrideAsync(
GetMobileDeviceAccessOverrideRequest getMobileDeviceAccessOverrideRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the access control rules for the specified organization.
*
*
* @param listAccessControlRulesRequest
* @return A Java Future containing the result of the ListAccessControlRules operation returned by the service.
* @sample AmazonWorkMailAsync.ListAccessControlRules
* @see AWS API Documentation
*/
java.util.concurrent.Future listAccessControlRulesAsync(ListAccessControlRulesRequest listAccessControlRulesRequest);
/**
*
* Lists the access control rules for the specified organization.
*
*
* @param listAccessControlRulesRequest
* @param 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.
* @return A Java Future containing the result of the ListAccessControlRules operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListAccessControlRules
* @see AWS API Documentation
*/
java.util.concurrent.Future listAccessControlRulesAsync(ListAccessControlRulesRequest listAccessControlRulesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a paginated call to list the aliases associated with a given entity.
*
*
* @param listAliasesRequest
* @return A Java Future containing the result of the ListAliases operation returned by the service.
* @sample AmazonWorkMailAsync.ListAliases
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listAliasesAsync(ListAliasesRequest listAliasesRequest);
/**
*
* Creates a paginated call to list the aliases associated with a given entity.
*
*
* @param listAliasesRequest
* @param 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.
* @return A Java Future containing the result of the ListAliases operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListAliases
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listAliasesAsync(ListAliasesRequest listAliasesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* List all the AvailabilityConfiguration
's for the given WorkMail organization.
*
*
* @param listAvailabilityConfigurationsRequest
* @return A Java Future containing the result of the ListAvailabilityConfigurations operation returned by the
* service.
* @sample AmazonWorkMailAsync.ListAvailabilityConfigurations
* @see AWS API Documentation
*/
java.util.concurrent.Future listAvailabilityConfigurationsAsync(
ListAvailabilityConfigurationsRequest listAvailabilityConfigurationsRequest);
/**
*
* List all the AvailabilityConfiguration
's for the given WorkMail organization.
*
*
* @param listAvailabilityConfigurationsRequest
* @param 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.
* @return A Java Future containing the result of the ListAvailabilityConfigurations operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.ListAvailabilityConfigurations
* @see AWS API Documentation
*/
java.util.concurrent.Future listAvailabilityConfigurationsAsync(
ListAvailabilityConfigurationsRequest listAvailabilityConfigurationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an overview of the members of a group. Users and groups can be members of a group.
*
*
* @param listGroupMembersRequest
* @return A Java Future containing the result of the ListGroupMembers operation returned by the service.
* @sample AmazonWorkMailAsync.ListGroupMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listGroupMembersAsync(ListGroupMembersRequest listGroupMembersRequest);
/**
*
* Returns an overview of the members of a group. Users and groups can be members of a group.
*
*
* @param listGroupMembersRequest
* @param 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.
* @return A Java Future containing the result of the ListGroupMembers operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListGroupMembers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listGroupMembersAsync(ListGroupMembersRequest listGroupMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns summaries of the organization's groups.
*
*
* @param listGroupsRequest
* @return A Java Future containing the result of the ListGroups operation returned by the service.
* @sample AmazonWorkMailAsync.ListGroups
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listGroupsAsync(ListGroupsRequest listGroupsRequest);
/**
*
* Returns summaries of the organization's groups.
*
*
* @param listGroupsRequest
* @param 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.
* @return A Java Future containing the result of the ListGroups operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListGroups
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listGroupsAsync(ListGroupsRequest listGroupsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns all the groups to which an entity belongs.
*
*
* @param listGroupsForEntityRequest
* @return A Java Future containing the result of the ListGroupsForEntity operation returned by the service.
* @sample AmazonWorkMailAsync.ListGroupsForEntity
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listGroupsForEntityAsync(ListGroupsForEntityRequest listGroupsForEntityRequest);
/**
*
* Returns all the groups to which an entity belongs.
*
*
* @param listGroupsForEntityRequest
* @param 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.
* @return A Java Future containing the result of the ListGroupsForEntity operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListGroupsForEntity
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listGroupsForEntityAsync(ListGroupsForEntityRequest listGroupsForEntityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all the impersonation roles for the given WorkMail organization.
*
*
* @param listImpersonationRolesRequest
* @return A Java Future containing the result of the ListImpersonationRoles operation returned by the service.
* @sample AmazonWorkMailAsync.ListImpersonationRoles
* @see AWS API Documentation
*/
java.util.concurrent.Future listImpersonationRolesAsync(ListImpersonationRolesRequest listImpersonationRolesRequest);
/**
*
* Lists all the impersonation roles for the given WorkMail organization.
*
*
* @param listImpersonationRolesRequest
* @param 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.
* @return A Java Future containing the result of the ListImpersonationRoles operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListImpersonationRoles
* @see AWS API Documentation
*/
java.util.concurrent.Future listImpersonationRolesAsync(ListImpersonationRolesRequest listImpersonationRolesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the mail domains in a given WorkMail organization.
*
*
* @param listMailDomainsRequest
* @return A Java Future containing the result of the ListMailDomains operation returned by the service.
* @sample AmazonWorkMailAsync.ListMailDomains
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMailDomainsAsync(ListMailDomainsRequest listMailDomainsRequest);
/**
*
* Lists the mail domains in a given WorkMail organization.
*
*
* @param listMailDomainsRequest
* @param 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.
* @return A Java Future containing the result of the ListMailDomains operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListMailDomains
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listMailDomainsAsync(ListMailDomainsRequest listMailDomainsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the mailbox export jobs started for the specified organization within the last seven days.
*
*
* @param listMailboxExportJobsRequest
* @return A Java Future containing the result of the ListMailboxExportJobs operation returned by the service.
* @sample AmazonWorkMailAsync.ListMailboxExportJobs
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listMailboxExportJobsAsync(ListMailboxExportJobsRequest listMailboxExportJobsRequest);
/**
*
* Lists the mailbox export jobs started for the specified organization within the last seven days.
*
*
* @param listMailboxExportJobsRequest
* @param 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.
* @return A Java Future containing the result of the ListMailboxExportJobs operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListMailboxExportJobs
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listMailboxExportJobsAsync(ListMailboxExportJobsRequest listMailboxExportJobsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the mailbox permissions associated with a user, group, or resource mailbox.
*
*
* @param listMailboxPermissionsRequest
* @return A Java Future containing the result of the ListMailboxPermissions operation returned by the service.
* @sample AmazonWorkMailAsync.ListMailboxPermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future listMailboxPermissionsAsync(ListMailboxPermissionsRequest listMailboxPermissionsRequest);
/**
*
* Lists the mailbox permissions associated with a user, group, or resource mailbox.
*
*
* @param listMailboxPermissionsRequest
* @param 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.
* @return A Java Future containing the result of the ListMailboxPermissions operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListMailboxPermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future listMailboxPermissionsAsync(ListMailboxPermissionsRequest listMailboxPermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
*
*
* @param listMobileDeviceAccessOverridesRequest
* @return A Java Future containing the result of the ListMobileDeviceAccessOverrides operation returned by the
* service.
* @sample AmazonWorkMailAsync.ListMobileDeviceAccessOverrides
* @see AWS API Documentation
*/
java.util.concurrent.Future listMobileDeviceAccessOverridesAsync(
ListMobileDeviceAccessOverridesRequest listMobileDeviceAccessOverridesRequest);
/**
*
* Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
*
*
* @param listMobileDeviceAccessOverridesRequest
* @param 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.
* @return A Java Future containing the result of the ListMobileDeviceAccessOverrides operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.ListMobileDeviceAccessOverrides
* @see AWS API Documentation
*/
java.util.concurrent.Future listMobileDeviceAccessOverridesAsync(
ListMobileDeviceAccessOverridesRequest listMobileDeviceAccessOverridesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the mobile device access rules for the specified WorkMail organization.
*
*
* @param listMobileDeviceAccessRulesRequest
* @return A Java Future containing the result of the ListMobileDeviceAccessRules operation returned by the service.
* @sample AmazonWorkMailAsync.ListMobileDeviceAccessRules
* @see AWS API Documentation
*/
java.util.concurrent.Future listMobileDeviceAccessRulesAsync(
ListMobileDeviceAccessRulesRequest listMobileDeviceAccessRulesRequest);
/**
*
* Lists the mobile device access rules for the specified WorkMail organization.
*
*
* @param listMobileDeviceAccessRulesRequest
* @param 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.
* @return A Java Future containing the result of the ListMobileDeviceAccessRules operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListMobileDeviceAccessRules
* @see AWS API Documentation
*/
java.util.concurrent.Future listMobileDeviceAccessRulesAsync(
ListMobileDeviceAccessRulesRequest listMobileDeviceAccessRulesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns summaries of the customer's organizations.
*
*
* @param listOrganizationsRequest
* @return A Java Future containing the result of the ListOrganizations operation returned by the service.
* @sample AmazonWorkMailAsync.ListOrganizations
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listOrganizationsAsync(ListOrganizationsRequest listOrganizationsRequest);
/**
*
* Returns summaries of the customer's organizations.
*
*
* @param listOrganizationsRequest
* @param 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.
* @return A Java Future containing the result of the ListOrganizations operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListOrganizations
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listOrganizationsAsync(ListOrganizationsRequest listOrganizationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on
* behalf of the resource.
*
*
* @param listResourceDelegatesRequest
* @return A Java Future containing the result of the ListResourceDelegates operation returned by the service.
* @sample AmazonWorkMailAsync.ListResourceDelegates
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listResourceDelegatesAsync(ListResourceDelegatesRequest listResourceDelegatesRequest);
/**
*
* Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on
* behalf of the resource.
*
*
* @param listResourceDelegatesRequest
* @param 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.
* @return A Java Future containing the result of the ListResourceDelegates operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListResourceDelegates
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listResourceDelegatesAsync(ListResourceDelegatesRequest listResourceDelegatesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns summaries of the organization's resources.
*
*
* @param listResourcesRequest
* @return A Java Future containing the result of the ListResources operation returned by the service.
* @sample AmazonWorkMailAsync.ListResources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listResourcesAsync(ListResourcesRequest listResourcesRequest);
/**
*
* Returns summaries of the organization's resources.
*
*
* @param listResourcesRequest
* @param 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.
* @return A Java Future containing the result of the ListResources operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListResources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listResourcesAsync(ListResourcesRequest listResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the tags applied to an WorkMail organization resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonWorkMailAsync.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Lists the tags applied to an WorkMail organization resource.
*
*
* @param listTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListTagsForResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns summaries of the organization's users.
*
*
* @param listUsersRequest
* @return A Java Future containing the result of the ListUsers operation returned by the service.
* @sample AmazonWorkMailAsync.ListUsers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listUsersAsync(ListUsersRequest listUsersRequest);
/**
*
* Returns summaries of the organization's users.
*
*
* @param listUsersRequest
* @param 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.
* @return A Java Future containing the result of the ListUsers operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ListUsers
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listUsersAsync(ListUsersRequest listUsersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param putAccessControlRuleRequest
* @return A Java Future containing the result of the PutAccessControlRule operation returned by the service.
* @sample AmazonWorkMailAsync.PutAccessControlRule
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putAccessControlRuleAsync(PutAccessControlRuleRequest putAccessControlRuleRequest);
/**
*
* 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.
*
*
* @param putAccessControlRuleRequest
* @param 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.
* @return A Java Future containing the result of the PutAccessControlRule operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.PutAccessControlRule
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putAccessControlRuleAsync(PutAccessControlRuleRequest putAccessControlRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates or updates the email monitoring configuration for a specified organization.
*
*
* @param putEmailMonitoringConfigurationRequest
* @return A Java Future containing the result of the PutEmailMonitoringConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsync.PutEmailMonitoringConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future putEmailMonitoringConfigurationAsync(
PutEmailMonitoringConfigurationRequest putEmailMonitoringConfigurationRequest);
/**
*
* Creates or updates the email monitoring configuration for a specified organization.
*
*
* @param putEmailMonitoringConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the PutEmailMonitoringConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.PutEmailMonitoringConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future putEmailMonitoringConfigurationAsync(
PutEmailMonitoringConfigurationRequest putEmailMonitoringConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables or disables a DMARC policy for a given organization.
*
*
* @param putInboundDmarcSettingsRequest
* @return A Java Future containing the result of the PutInboundDmarcSettings operation returned by the service.
* @sample AmazonWorkMailAsync.PutInboundDmarcSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future putInboundDmarcSettingsAsync(PutInboundDmarcSettingsRequest putInboundDmarcSettingsRequest);
/**
*
* Enables or disables a DMARC policy for a given organization.
*
*
* @param putInboundDmarcSettingsRequest
* @param 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.
* @return A Java Future containing the result of the PutInboundDmarcSettings operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.PutInboundDmarcSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future putInboundDmarcSettingsAsync(PutInboundDmarcSettingsRequest putInboundDmarcSettingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
*
*
* @param putMailboxPermissionsRequest
* @return A Java Future containing the result of the PutMailboxPermissions operation returned by the service.
* @sample AmazonWorkMailAsync.PutMailboxPermissions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putMailboxPermissionsAsync(PutMailboxPermissionsRequest putMailboxPermissionsRequest);
/**
*
* Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
*
*
* @param putMailboxPermissionsRequest
* @param 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.
* @return A Java Future containing the result of the PutMailboxPermissions operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.PutMailboxPermissions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putMailboxPermissionsAsync(PutMailboxPermissionsRequest putMailboxPermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
*
*
* @param putMobileDeviceAccessOverrideRequest
* @return A Java Future containing the result of the PutMobileDeviceAccessOverride operation returned by the
* service.
* @sample AmazonWorkMailAsync.PutMobileDeviceAccessOverride
* @see AWS API Documentation
*/
java.util.concurrent.Future putMobileDeviceAccessOverrideAsync(
PutMobileDeviceAccessOverrideRequest putMobileDeviceAccessOverrideRequest);
/**
*
* Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
*
*
* @param putMobileDeviceAccessOverrideRequest
* @param 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.
* @return A Java Future containing the result of the PutMobileDeviceAccessOverride operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.PutMobileDeviceAccessOverride
* @see AWS API Documentation
*/
java.util.concurrent.Future putMobileDeviceAccessOverrideAsync(
PutMobileDeviceAccessOverrideRequest putMobileDeviceAccessOverrideRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Puts a retention policy to the specified organization.
*
*
* @param putRetentionPolicyRequest
* @return A Java Future containing the result of the PutRetentionPolicy operation returned by the service.
* @sample AmazonWorkMailAsync.PutRetentionPolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest);
/**
*
* Puts a retention policy to the specified organization.
*
*
* @param putRetentionPolicyRequest
* @param 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.
* @return A Java Future containing the result of the PutRetentionPolicy operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.PutRetentionPolicy
* @see AWS
* API Documentation
*/
java.util.concurrent.Future putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param registerMailDomainRequest
* @return A Java Future containing the result of the RegisterMailDomain operation returned by the service.
* @sample AmazonWorkMailAsync.RegisterMailDomain
* @see AWS
* API Documentation
*/
java.util.concurrent.Future registerMailDomainAsync(RegisterMailDomainRequest registerMailDomainRequest);
/**
*
* 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.
*
*
* @param registerMailDomainRequest
* @param 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.
* @return A Java Future containing the result of the RegisterMailDomain operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.RegisterMailDomain
* @see AWS
* API Documentation
*/
java.util.concurrent.Future registerMailDomainAsync(RegisterMailDomainRequest registerMailDomainRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param registerToWorkMailRequest
* @return A Java Future containing the result of the RegisterToWorkMail operation returned by the service.
* @sample AmazonWorkMailAsync.RegisterToWorkMail
* @see AWS
* API Documentation
*/
java.util.concurrent.Future registerToWorkMailAsync(RegisterToWorkMailRequest registerToWorkMailRequest);
/**
*
* 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.
*
*
* @param registerToWorkMailRequest
* @param 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.
* @return A Java Future containing the result of the RegisterToWorkMail operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.RegisterToWorkMail
* @see AWS
* API Documentation
*/
java.util.concurrent.Future registerToWorkMailAsync(RegisterToWorkMailRequest registerToWorkMailRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Allows the administrator to reset the password for a user.
*
*
* @param resetPasswordRequest
* @return A Java Future containing the result of the ResetPassword operation returned by the service.
* @sample AmazonWorkMailAsync.ResetPassword
* @see AWS API
* Documentation
*/
java.util.concurrent.Future resetPasswordAsync(ResetPasswordRequest resetPasswordRequest);
/**
*
* Allows the administrator to reset the password for a user.
*
*
* @param resetPasswordRequest
* @param 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.
* @return A Java Future containing the result of the ResetPassword operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.ResetPassword
* @see AWS API
* Documentation
*/
java.util.concurrent.Future resetPasswordAsync(ResetPasswordRequest resetPasswordRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param startMailboxExportJobRequest
* @return A Java Future containing the result of the StartMailboxExportJob operation returned by the service.
* @sample AmazonWorkMailAsync.StartMailboxExportJob
* @see AWS
* API Documentation
*/
java.util.concurrent.Future startMailboxExportJobAsync(StartMailboxExportJobRequest startMailboxExportJobRequest);
/**
*
* 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.
*
*
* @param startMailboxExportJobRequest
* @param 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.
* @return A Java Future containing the result of the StartMailboxExportJob operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.StartMailboxExportJob
* @see AWS
* API Documentation
*/
java.util.concurrent.Future startMailboxExportJobAsync(StartMailboxExportJobRequest startMailboxExportJobRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Applies the specified tags to the specified WorkMailorganization resource.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AmazonWorkMailAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Applies the specified tags to the specified WorkMailorganization resource.
*
*
* @param tagResourceRequest
* @param 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.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
*
* @param testAvailabilityConfigurationRequest
* @return A Java Future containing the result of the TestAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsync.TestAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future testAvailabilityConfigurationAsync(
TestAvailabilityConfigurationRequest testAvailabilityConfigurationRequest);
/**
*
* 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.
*
*
*
* @param testAvailabilityConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the TestAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.TestAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future testAvailabilityConfigurationAsync(
TestAvailabilityConfigurationRequest testAvailabilityConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Untags the specified tags from the specified WorkMail organization resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AmazonWorkMailAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Untags the specified tags from the specified WorkMail organization resource.
*
*
* @param untagResourceRequest
* @param 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.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates an existing AvailabilityConfiguration
for the given WorkMail organization and domain.
*
*
* @param updateAvailabilityConfigurationRequest
* @return A Java Future containing the result of the UpdateAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsync.UpdateAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateAvailabilityConfigurationAsync(
UpdateAvailabilityConfigurationRequest updateAvailabilityConfigurationRequest);
/**
*
* Updates an existing AvailabilityConfiguration
for the given WorkMail organization and domain.
*
*
* @param updateAvailabilityConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the UpdateAvailabilityConfiguration operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.UpdateAvailabilityConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateAvailabilityConfigurationAsync(
UpdateAvailabilityConfigurationRequest updateAvailabilityConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param updateDefaultMailDomainRequest
* @return A Java Future containing the result of the UpdateDefaultMailDomain operation returned by the service.
* @sample AmazonWorkMailAsync.UpdateDefaultMailDomain
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDefaultMailDomainAsync(UpdateDefaultMailDomainRequest updateDefaultMailDomainRequest);
/**
*
* 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.
*
*
* @param updateDefaultMailDomainRequest
* @param 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.
* @return A Java Future containing the result of the UpdateDefaultMailDomain operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.UpdateDefaultMailDomain
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDefaultMailDomainAsync(UpdateDefaultMailDomainRequest updateDefaultMailDomainRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates attibutes in a group.
*
*
* @param updateGroupRequest
* @return A Java Future containing the result of the UpdateGroup operation returned by the service.
* @sample AmazonWorkMailAsync.UpdateGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateGroupAsync(UpdateGroupRequest updateGroupRequest);
/**
*
* Updates attibutes in a group.
*
*
* @param updateGroupRequest
* @param 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.
* @return A Java Future containing the result of the UpdateGroup operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.UpdateGroup
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateGroupAsync(UpdateGroupRequest updateGroupRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates an impersonation role for the given WorkMail organization.
*
*
* @param updateImpersonationRoleRequest
* @return A Java Future containing the result of the UpdateImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsync.UpdateImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future updateImpersonationRoleAsync(UpdateImpersonationRoleRequest updateImpersonationRoleRequest);
/**
*
* Updates an impersonation role for the given WorkMail organization.
*
*
* @param updateImpersonationRoleRequest
* @param 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.
* @return A Java Future containing the result of the UpdateImpersonationRole operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.UpdateImpersonationRole
* @see AWS API Documentation
*/
java.util.concurrent.Future updateImpersonationRoleAsync(UpdateImpersonationRoleRequest updateImpersonationRoleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a user's current mailbox quota for a specified organization and user.
*
*
* @param updateMailboxQuotaRequest
* @return A Java Future containing the result of the UpdateMailboxQuota operation returned by the service.
* @sample AmazonWorkMailAsync.UpdateMailboxQuota
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateMailboxQuotaAsync(UpdateMailboxQuotaRequest updateMailboxQuotaRequest);
/**
*
* Updates a user's current mailbox quota for a specified organization and user.
*
*
* @param updateMailboxQuotaRequest
* @param 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.
* @return A Java Future containing the result of the UpdateMailboxQuota operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.UpdateMailboxQuota
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateMailboxQuotaAsync(UpdateMailboxQuotaRequest updateMailboxQuotaRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a mobile device access rule for the specified WorkMail organization.
*
*
* @param updateMobileDeviceAccessRuleRequest
* @return A Java Future containing the result of the UpdateMobileDeviceAccessRule operation returned by the
* service.
* @sample AmazonWorkMailAsync.UpdateMobileDeviceAccessRule
* @see AWS API Documentation
*/
java.util.concurrent.Future updateMobileDeviceAccessRuleAsync(
UpdateMobileDeviceAccessRuleRequest updateMobileDeviceAccessRuleRequest);
/**
*
* Updates a mobile device access rule for the specified WorkMail organization.
*
*
* @param updateMobileDeviceAccessRuleRequest
* @param 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.
* @return A Java Future containing the result of the UpdateMobileDeviceAccessRule operation returned by the
* service.
* @sample AmazonWorkMailAsyncHandler.UpdateMobileDeviceAccessRule
* @see AWS API Documentation
*/
java.util.concurrent.Future updateMobileDeviceAccessRuleAsync(
UpdateMobileDeviceAccessRuleRequest updateMobileDeviceAccessRuleRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param updatePrimaryEmailAddressRequest
* @return A Java Future containing the result of the UpdatePrimaryEmailAddress operation returned by the service.
* @sample AmazonWorkMailAsync.UpdatePrimaryEmailAddress
* @see AWS API Documentation
*/
java.util.concurrent.Future updatePrimaryEmailAddressAsync(
UpdatePrimaryEmailAddressRequest updatePrimaryEmailAddressRequest);
/**
*
* 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.
*
*
* @param updatePrimaryEmailAddressRequest
* @param 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.
* @return A Java Future containing the result of the UpdatePrimaryEmailAddress operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.UpdatePrimaryEmailAddress
* @see AWS API Documentation
*/
java.util.concurrent.Future updatePrimaryEmailAddressAsync(
UpdatePrimaryEmailAddressRequest updatePrimaryEmailAddressRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param updateResourceRequest
* @return A Java Future containing the result of the UpdateResource operation returned by the service.
* @sample AmazonWorkMailAsync.UpdateResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateResourceAsync(UpdateResourceRequest updateResourceRequest);
/**
*
* 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.
*
*
* @param updateResourceRequest
* @param 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.
* @return A Java Future containing the result of the UpdateResource operation returned by the service.
* @sample AmazonWorkMailAsyncHandler.UpdateResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateResourceAsync(UpdateResourceRequest updateResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param updateUserRequest
* @return A Java Future containing the result of the UpdateUser operation returned by the service.
* @sample AmazonWorkMailAsync.UpdateUser
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateUserAsync(UpdateUserRequest updateUserRequest);
/**
*
* Updates data for the user. To have the latest information, it must be preceded by a