Class: AWS.WorkMail
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.WorkMail
- Identifier:
- workmail
- API Version:
- 2017-10-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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.
Sending a Request Using WorkMail
var workmail = new AWS.WorkMail();
workmail.associateDelegateToResource(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the WorkMail object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var workmail = new AWS.WorkMail({apiVersion: '2017-10-01'});
You can also set the API version globally in AWS.config.apiVersions using
the workmail service identifier:
AWS.config.apiVersions = {
workmail: '2017-10-01',
// other service API versions
};
var workmail = new AWS.WorkMail();
Constructor Summary collapse
-
new AWS.WorkMail(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
associateDelegateToResource(params = {}, callback) ⇒ AWS.Request
Adds a member (user or group) to the resource's set of delegates.
.
-
associateMemberToGroup(params = {}, callback) ⇒ AWS.Request
Adds a member (user or group) to the group's set.
.
-
assumeImpersonationRole(params = {}, callback) ⇒ AWS.Request
Assumes an impersonation role for the given WorkMail organization.
-
cancelMailboxExportJob(params = {}, callback) ⇒ AWS.Request
Cancels a mailbox export job.
Note: If the mailbox export job is near completion, it might not be possible to cancel it.- createAlias(params = {}, callback) ⇒ AWS.Request
Adds an alias to the set of a given member (user or group) of WorkMail.
.
- createAvailabilityConfiguration(params = {}, callback) ⇒ AWS.Request
Creates an
AvailabilityConfigurationfor the given WorkMail organization and domain..
- createGroup(params = {}, callback) ⇒ AWS.Request
Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.
.
- createImpersonationRole(params = {}, callback) ⇒ AWS.Request
Creates an impersonation role for the given WorkMail organization.
Idempotency ensures that an API request completes no more than one time.
- createMobileDeviceAccessRule(params = {}, callback) ⇒ AWS.Request
Creates a new mobile device access rule for the specified WorkMail organization.
.
- createOrganization(params = {}, callback) ⇒ AWS.Request
Creates a new WorkMail organization.
- createResource(params = {}, callback) ⇒ AWS.Request
Creates a new WorkMail resource.
.
- createUser(params = {}, callback) ⇒ AWS.Request
Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.
.
- deleteAccessControlRule(params = {}, callback) ⇒ AWS.Request
Deletes an access control rule for the specified WorkMail organization.
Note: Deleting already deleted and non-existing rules does not produce an error.- deleteAlias(params = {}, callback) ⇒ AWS.Request
Remove one or more specified aliases from a set of aliases for a given user.
.
- deleteAvailabilityConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes the
AvailabilityConfigurationfor the given WorkMail organization and domain..
- deleteEmailMonitoringConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes the email monitoring configuration for a specified organization.
.
- deleteGroup(params = {}, callback) ⇒ AWS.Request
Deletes a group from WorkMail.
.
- deleteImpersonationRole(params = {}, callback) ⇒ AWS.Request
Deletes an impersonation role for the given WorkMail organization.
.
- deleteMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Deletes permissions granted to a member (user or group).
.
- deleteMobileDeviceAccessOverride(params = {}, callback) ⇒ AWS.Request
Deletes the mobile device access override for the given WorkMail organization, user, and device.
Note: Deleting already deleted and non-existing overrides does not produce an error.- deleteMobileDeviceAccessRule(params = {}, callback) ⇒ AWS.Request
Deletes a mobile device access rule for the specified WorkMail organization.
Note: Deleting already deleted and non-existing rules does not produce an error.- deleteOrganization(params = {}, callback) ⇒ AWS.Request
Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization.
- deleteResource(params = {}, callback) ⇒ AWS.Request
Deletes the specified resource.
.
- deleteRetentionPolicy(params = {}, callback) ⇒ AWS.Request
Deletes the specified retention policy from the specified organization.
.
- deleteUser(params = {}, callback) ⇒ AWS.Request
Deletes a user from WorkMail and all subsequent systems.
- deregisterFromWorkMail(params = {}, callback) ⇒ AWS.Request
Mark a user, group, or resource as no longer used in WorkMail.
- deregisterMailDomain(params = {}, callback) ⇒ AWS.Request
Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use.
- describeEmailMonitoringConfiguration(params = {}, callback) ⇒ AWS.Request
Describes the current email monitoring configuration for a specified organization.
.
- describeEntity(params = {}, callback) ⇒ AWS.Request
Returns basic details about an entity in WorkMail.
- describeGroup(params = {}, callback) ⇒ AWS.Request
Returns the data available for the group.
.
- describeInboundDmarcSettings(params = {}, callback) ⇒ AWS.Request
Lists the settings in a DMARC policy for a specified organization.
.
- describeMailboxExportJob(params = {}, callback) ⇒ AWS.Request
Describes the current status of a mailbox export job.
.
- describeOrganization(params = {}, callback) ⇒ AWS.Request
Provides more information regarding a given organization based on its identifier.
.
- describeResource(params = {}, callback) ⇒ AWS.Request
Returns the data available for the resource.
.
- describeUser(params = {}, callback) ⇒ AWS.Request
Provides information regarding the user.
.
- disassociateDelegateFromResource(params = {}, callback) ⇒ AWS.Request
Removes a member from the resource's set of delegates.
.
- disassociateMemberFromGroup(params = {}, callback) ⇒ AWS.Request
Removes a member from a group.
.
- getAccessControlEffect(params = {}, callback) ⇒ AWS.Request
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.
- getDefaultRetentionPolicy(params = {}, callback) ⇒ AWS.Request
Gets the default retention policy details for the specified organization.
.
- getImpersonationRole(params = {}, callback) ⇒ AWS.Request
Gets the impersonation role details for the given WorkMail organization.
.
- getImpersonationRoleEffect(params = {}, callback) ⇒ AWS.Request
Tests whether the given impersonation role can impersonate a target user.
.
- getMailboxDetails(params = {}, callback) ⇒ AWS.Request
Requests a user's mailbox details for a specified organization and user.
.
- getMailDomain(params = {}, callback) ⇒ AWS.Request
Gets details for a mail domain, including domain records required to configure your domain with recommended security.
.
- getMobileDeviceAccessEffect(params = {}, callback) ⇒ AWS.Request
Simulates the effect of the mobile device access rules for the given attributes of a sample access event.
- getMobileDeviceAccessOverride(params = {}, callback) ⇒ AWS.Request
Gets the mobile device access override for the given WorkMail organization, user, and device.
.
- listAccessControlRules(params = {}, callback) ⇒ AWS.Request
Lists the access control rules for the specified organization.
.
- listAliases(params = {}, callback) ⇒ AWS.Request
Creates a paginated call to list the aliases associated with a given entity.
.
- listAvailabilityConfigurations(params = {}, callback) ⇒ AWS.Request
List all the
AvailabilityConfiguration's for the given WorkMail organization..
- listGroupMembers(params = {}, callback) ⇒ AWS.Request
Returns an overview of the members of a group.
- listGroups(params = {}, callback) ⇒ AWS.Request
Returns summaries of the organization's groups.
.
- listGroupsForEntity(params = {}, callback) ⇒ AWS.Request
Returns all the groups to which an entity belongs.
.
- listImpersonationRoles(params = {}, callback) ⇒ AWS.Request
Lists all the impersonation roles for the given WorkMail organization.
.
- listMailboxExportJobs(params = {}, callback) ⇒ AWS.Request
Lists the mailbox export jobs started for the specified organization within the last seven days.
.
- listMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Lists the mailbox permissions associated with a user, group, or resource mailbox.
.
- listMailDomains(params = {}, callback) ⇒ AWS.Request
Lists the mail domains in a given WorkMail organization.
.
- listMobileDeviceAccessOverrides(params = {}, callback) ⇒ AWS.Request
Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
.
- listMobileDeviceAccessRules(params = {}, callback) ⇒ AWS.Request
Lists the mobile device access rules for the specified WorkMail organization.
.
- listOrganizations(params = {}, callback) ⇒ AWS.Request
Returns summaries of the customer's organizations.
.
- listResourceDelegates(params = {}, callback) ⇒ AWS.Request
Lists the delegates associated with a resource.
- listResources(params = {}, callback) ⇒ AWS.Request
Returns summaries of the organization's resources.
.
- listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists the tags applied to an WorkMail organization resource.
.
- listUsers(params = {}, callback) ⇒ AWS.Request
Returns summaries of the organization's users.
.
- putAccessControlRule(params = {}, callback) ⇒ AWS.Request
Adds a new access control rule for the specified organization.
- putEmailMonitoringConfiguration(params = {}, callback) ⇒ AWS.Request
Creates or updates the email monitoring configuration for a specified organization.
.
- putInboundDmarcSettings(params = {}, callback) ⇒ AWS.Request
Enables or disables a DMARC policy for a given organization.
.
- putMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Sets permissions for a user, group, or resource.
- putMobileDeviceAccessOverride(params = {}, callback) ⇒ AWS.Request
Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
.
- putRetentionPolicy(params = {}, callback) ⇒ AWS.Request
Puts a retention policy to the specified organization.
.
- registerMailDomain(params = {}, callback) ⇒ AWS.Request
Registers a new domain in WorkMail and SES, and configures it for use by WorkMail.
- registerToWorkMail(params = {}, callback) ⇒ AWS.Request
Registers an existing and disabled user, group, or resource for WorkMail use by associating a mailbox and calendaring capabilities.
- resetPassword(params = {}, callback) ⇒ AWS.Request
Allows the administrator to reset the password for a user.
.
- startMailboxExportJob(params = {}, callback) ⇒ AWS.Request
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.
- tagResource(params = {}, callback) ⇒ AWS.Request
Applies the specified tags to the specified WorkMailorganization resource.
.
- testAvailabilityConfiguration(params = {}, callback) ⇒ AWS.Request
Performs a test on an availability provider to ensure that access is allowed.
- untagResource(params = {}, callback) ⇒ AWS.Request
Untags the specified tags from the specified WorkMail organization resource.
.
- updateAvailabilityConfiguration(params = {}, callback) ⇒ AWS.Request
Updates an existing
AvailabilityConfigurationfor the given WorkMail organization and domain..
- updateDefaultMailDomain(params = {}, callback) ⇒ AWS.Request
Updates the default mail domain for an organization.
- createAlias(params = {}, callback) ⇒ AWS.Request