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
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.
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
-
new AWS.WorkMail(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
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.
-
createAlias(params = {}, callback) ⇒ AWS.Request
Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
-
createGroup(params = {}, callback) ⇒ AWS.Request
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
-
createResource(params = {}, callback) ⇒ AWS.Request
Creates a new Amazon WorkMail resource.
-
createUser(params = {}, callback) ⇒ AWS.Request
Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
-
deleteAlias(params = {}, callback) ⇒ AWS.Request
Remove one or more specified aliases from a set of aliases for a given user.
-
deleteGroup(params = {}, callback) ⇒ AWS.Request
Deletes a group from Amazon WorkMail.
-
deleteMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Deletes permissions granted to a member (user or group).
-
deleteResource(params = {}, callback) ⇒ AWS.Request
Deletes the specified resource.
-
deleteUser(params = {}, callback) ⇒ AWS.Request
Deletes a user from Amazon WorkMail and all subsequent systems.
-
deregisterFromWorkMail(params = {}, callback) ⇒ AWS.Request
Mark a user, group, or resource as no longer used in Amazon WorkMail.
-
describeGroup(params = {}, callback) ⇒ AWS.Request
Returns the data available for the group.
-
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.
-
listAliases(params = {}, callback) ⇒ AWS.Request
Creates a paginated call to list the aliases associated with a given entity.
-
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.
-
listMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Lists the mailbox permissions associated with a user, group, or resource mailbox.
-
listOrganizations(params = {}, callback) ⇒ AWS.Request
Returns summaries of the customer's non-deleted 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.
-
listUsers(params = {}, callback) ⇒ AWS.Request
Returns summaries of the organization's users.
-
putMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Sets permissions for a user, group, or resource.
-
registerToWorkMail(params = {}, callback) ⇒ AWS.Request
Registers an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and calendaring capabilities.
-
resetPassword(params = {}, callback) ⇒ AWS.Request
Allows the administrator to reset the password for a user.
-
updatePrimaryEmailAddress(params = {}, callback) ⇒ AWS.Request
Updates the primary email for a user, group, or resource.
-
updateResource(params = {}, callback) ⇒ AWS.Request
Updates data for the resource.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
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.
createAlias(params = {}, callback) ⇒ AWS.Request
Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
createGroup(params = {}, callback) ⇒ AWS.Request
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createUser(params = {}, callback) ⇒ AWS.Request
Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
deleteAlias(params = {}, callback) ⇒ AWS.Request
Remove one or more specified aliases from a set of aliases for a given user.
deleteMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Deletes permissions granted to a member (user or group).
deleteUser(params = {}, callback) ⇒ AWS.Request
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.
deregisterFromWorkMail(params = {}, callback) ⇒ AWS.Request
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.
describeOrganization(params = {}, callback) ⇒ AWS.Request
Provides more information regarding a given organization based on its identifier.
disassociateDelegateFromResource(params = {}, callback) ⇒ AWS.Request
Removes a member from the resource's set of delegates.
listAliases(params = {}, callback) ⇒ AWS.Request
Creates a paginated call to list the aliases associated with a given entity.
listGroupMembers(params = {}, callback) ⇒ AWS.Request
Returns an overview of the members of a group. Users and groups can be members of a group.
listMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Lists the mailbox permissions associated with a user, group, or resource mailbox.
listOrganizations(params = {}, callback) ⇒ AWS.Request
Returns summaries of the customer's non-deleted organizations.
listResourceDelegates(params = {}, callback) ⇒ AWS.Request
Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.
listResources(params = {}, callback) ⇒ AWS.Request
Returns summaries of the organization's resources.
putMailboxPermissions(params = {}, callback) ⇒ AWS.Request
Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
registerToWorkMail(params = {}, callback) ⇒ AWS.Request
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.
resetPassword(params = {}, callback) ⇒ AWS.Request
Allows the administrator to reset the password for a user.
updatePrimaryEmailAddress(params = {}, callback) ⇒ AWS.Request
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.
updateResource(params = {}, callback) ⇒ AWS.Request
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.