com.amazonaws.services.workmail.AmazonWorkMailAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-workmail Show documentation
/*
* Copyright 2016-2021 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.
*
*
*
* Amazon WorkMail is a secure, managed business email and calendaring service with support for existing desktop and
* mobile email clients. You can access your email, contacts, and calendars using Microsoft Outlook, your browser, or
* other native iOS and Android email applications. You can integrate WorkMail with your existing corporate directory
* and control both the keys that encrypt your data and the location in which your data is stored.
*
*
* The WorkMail API is designed for the following scenarios:
*
*
* -
*
* Listing and describing organizations
*
*
*
*
* -
*
* Managing users
*
*
*
*
* -
*
* Managing groups
*
*
*
*
* -
*
* Managing resources
*
*
*
*
* All WorkMail API operations are Amazon-authenticated and certificate-signed. They not only require the use of the AWS
* SDK, but also allow for the exclusive use of AWS Identity and Access Management users and roles to help facilitate
* access, trust, and permission policies. By creating a role and allowing an IAM user to access the WorkMail site, the
* IAM user gains full administrative visibility into the entire WorkMail organization (or as set in the IAM policy).
* This includes, but is not limited to, the ability to create, update, and delete users, groups, and resources. This
* allows developers to perform the scenarios listed above, as well as give users the ability to grant access on a
* selective basis using the IAM model.
*
*/
@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);
/**
*
* 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 Amazon 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 Amazon 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 a group that can be used in Amazon 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 Amazon 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 a new mobile device access rule for the specified Amazon 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 Amazon 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 Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory
* Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization
* alias must match the directory alias. If you choose not to associate an existing directory with your
* organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an
* organization in the Amazon WorkMail Administrator Guide.
*
*
* You can associate multiple email domains with an organization, then set your default email domain from the Amazon
* WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For
* more information, see Adding a
* domain and Choosing the
* default domain in the Amazon WorkMail Administrator Guide.
*
*
* Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email
* for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed
* master key for you.
*
*
* @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 Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory
* Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization
* alias must match the directory alias. If you choose not to associate an existing directory with your
* organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an
* organization in the Amazon WorkMail Administrator Guide.
*
*
* You can associate multiple email domains with an organization, then set your default email domain from the Amazon
* WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For
* more information, see Adding a
* domain and Choosing the
* default domain in the Amazon WorkMail Administrator Guide.
*
*
* Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email
* for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed
* master key for you.
*
*
* @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 Amazon 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 Amazon 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 Amazon 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 Amazon 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.
*
*
* @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.
*
*
* @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 a group from Amazon 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 Amazon 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 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 a mobile device access rule for the specified Amazon WorkMail organization.
*
*
* @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 Amazon WorkMail organization.
*
*
* @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 Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of
* the organization. You can choose whether to delete the associated directory. For more information, see Removing an
* organization in the Amazon WorkMail Administrator Guide.
*
*
* @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 Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of
* the organization. You can choose whether to delete the associated directory. For more information, see Removing an
* organization in the Amazon WorkMail Administrator Guide.
*
*
* @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 Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must
* be DISABLED
. Use the DescribeUser action to confirm the user state.
*
*
* Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are
* permanently removed.
*
*
* @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 Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must
* be DISABLED
. Use the DescribeUser action to confirm the user state.
*
*
* Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are
* permanently removed.
*
*
* @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 Amazon WorkMail. This action disassociates the mailbox and
* schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The
* functionality in the console is Disable.
*
*
* @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 Amazon WorkMail. This action disassociates the mailbox and
* schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The
* functionality in the console is Disable.
*
*
* @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);
/**
*
* 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);
/**
*
* 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, or user ID.
*
*
* @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, or user ID.
*
*
* @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);
/**
*
* 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 Amazon 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 Amazon 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);
/**
*
* 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);
/**
*
* 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);
/**
*
* 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 the mobile device access rules for the specified Amazon 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 Amazon 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 Amazon 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 Amazon 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, and user 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, and user 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);
/**
*
* 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);
/**
*
* 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 an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and
* calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user,
* group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this
* operation is Enable.
*
*
* Users can either be created by calling the CreateUser API operation or they can be synchronized from your
* directory. For more information, see DeregisterFromWorkMail.
*
*
* @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 Amazon WorkMail use by associating a mailbox and
* calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user,
* group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this
* operation is Enable.
*
*
* Users can either be created by calling the CreateUser API operation or they can be synchronized from your
* directory. For more information, see DeregisterFromWorkMail.
*
*
* @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 Amazon 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 Amazon 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 Amazon WorkMail organization 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 Amazon WorkMail organization 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);
/**
*
* Untags the specified tags from the specified Amazon 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 Amazon 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 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 Amazon 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 Amazon 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);
}