# Packages
Package workmailiface provides an interface to enable mocking the Amazon WorkMail service client for testing your code.
# Functions
AccessControlRuleEffect_Values returns all elements of the AccessControlRuleEffect enum.
AccessEffect_Values returns all elements of the AccessEffect enum.
AvailabilityProviderType_Values returns all elements of the AvailabilityProviderType enum.
DnsRecordVerificationStatus_Values returns all elements of the DnsRecordVerificationStatus enum.
EntityState_Values returns all elements of the EntityState enum.
EntityType_Values returns all elements of the EntityType enum.
FolderName_Values returns all elements of the FolderName enum.
ImpersonationRoleType_Values returns all elements of the ImpersonationRoleType enum.
MailboxExportJobState_Values returns all elements of the MailboxExportJobState enum.
MemberType_Values returns all elements of the MemberType enum.
MobileDeviceAccessRuleEffect_Values returns all elements of the MobileDeviceAccessRuleEffect enum.
New creates a new instance of the WorkMail client with a session.
PermissionType_Values returns all elements of the PermissionType enum.
ResourceType_Values returns all elements of the ResourceType enum.
RetentionAction_Values returns all elements of the RetentionAction enum.
UserRole_Values returns all elements of the UserRole enum.
# Constants
AccessControlRuleEffectAllow is a AccessControlRuleEffect enum value.
AccessControlRuleEffectDeny is a AccessControlRuleEffect enum value.
AccessEffectAllow is a AccessEffect enum value.
AccessEffectDeny is a AccessEffect enum value.
AvailabilityProviderTypeEws is a AvailabilityProviderType enum value.
AvailabilityProviderTypeLambda is a AvailabilityProviderType enum value.
DnsRecordVerificationStatusFailed is a DnsRecordVerificationStatus enum value.
DnsRecordVerificationStatusPending is a DnsRecordVerificationStatus enum value.
DnsRecordVerificationStatusVerified is a DnsRecordVerificationStatus enum value.
ID to lookup a service endpoint with.
EntityStateDeleted is a EntityState enum value.
EntityStateDisabled is a EntityState enum value.
EntityStateEnabled is a EntityState enum value.
EntityTypeGroup is a EntityType enum value.
EntityTypeResource is a EntityType enum value.
EntityTypeUser is a EntityType enum value.
ErrCodeDirectoryInUseException for service response error code "DirectoryInUseException".
ErrCodeDirectoryServiceAuthenticationFailedException for service response error code "DirectoryServiceAuthenticationFailedException".
ErrCodeDirectoryUnavailableException for service response error code "DirectoryUnavailableException".
ErrCodeEmailAddressInUseException for service response error code "EmailAddressInUseException".
ErrCodeEntityAlreadyRegisteredException for service response error code "EntityAlreadyRegisteredException".
ErrCodeEntityNotFoundException for service response error code "EntityNotFoundException".
ErrCodeEntityStateException for service response error code "EntityStateException".
ErrCodeInvalidConfigurationException for service response error code "InvalidConfigurationException".
ErrCodeInvalidCustomSesConfigurationException for service response error code "InvalidCustomSesConfigurationException".
ErrCodeInvalidParameterException for service response error code "InvalidParameterException".
ErrCodeInvalidPasswordException for service response error code "InvalidPasswordException".
ErrCodeLimitExceededException for service response error code "LimitExceededException".
ErrCodeMailDomainInUseException for service response error code "MailDomainInUseException".
ErrCodeMailDomainNotFoundException for service response error code "MailDomainNotFoundException".
ErrCodeMailDomainStateException for service response error code "MailDomainStateException".
ErrCodeNameAvailabilityException for service response error code "NameAvailabilityException".
ErrCodeOrganizationNotFoundException for service response error code "OrganizationNotFoundException".
ErrCodeOrganizationStateException for service response error code "OrganizationStateException".
ErrCodeReservedNameException for service response error code "ReservedNameException".
ErrCodeResourceNotFoundException for service response error code "ResourceNotFoundException".
ErrCodeTooManyTagsException for service response error code "TooManyTagsException".
ErrCodeUnsupportedOperationException for service response error code "UnsupportedOperationException".
FolderNameDeletedItems is a FolderName enum value.
FolderNameDrafts is a FolderName enum value.
FolderNameInbox is a FolderName enum value.
FolderNameJunkEmail is a FolderName enum value.
FolderNameSentItems is a FolderName enum value.
ImpersonationRoleTypeFullAccess is a ImpersonationRoleType enum value.
ImpersonationRoleTypeReadOnly is a ImpersonationRoleType enum value.
MailboxExportJobStateCancelled is a MailboxExportJobState enum value.
MailboxExportJobStateCompleted is a MailboxExportJobState enum value.
MailboxExportJobStateFailed is a MailboxExportJobState enum value.
MailboxExportJobStateRunning is a MailboxExportJobState enum value.
MemberTypeGroup is a MemberType enum value.
MemberTypeUser is a MemberType enum value.
MobileDeviceAccessRuleEffectAllow is a MobileDeviceAccessRuleEffect enum value.
MobileDeviceAccessRuleEffectDeny is a MobileDeviceAccessRuleEffect enum value.
PermissionTypeFullAccess is a PermissionType enum value.
PermissionTypeSendAs is a PermissionType enum value.
PermissionTypeSendOnBehalf is a PermissionType enum value.
ResourceTypeEquipment is a ResourceType enum value.
ResourceTypeRoom is a ResourceType enum value.
RetentionActionDelete is a RetentionAction enum value.
RetentionActionNone is a RetentionAction enum value.
RetentionActionPermanentlyDelete is a RetentionAction enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
UserRoleRemoteUser is a UserRole enum value.
UserRoleResource is a UserRole enum value.
UserRoleSystemUser is a UserRole enum value.
UserRoleUser is a UserRole enum value.
# Structs
A rule that controls access to an WorkMail organization.
List all the AvailabilityConfiguration's for the given WorkMail organization.
At least one delegate must be associated to the resource to disable automatic replies from the resource.
The name of the attribute, which is one of the values defined in the UserAttribute enumeration.
The directory is already in use by another WorkMail organization in the same account and Region.
The directory service doesn't recognize the credentials supplied by WorkMail.
The directory is unavailable.
A DNS record uploaded to your DNS provider.
The domain to associate with an WorkMail organization.
The email address that you're trying to assign is already created for a different user, group, or resource.
The user, group, or resource that you're trying to register is already registered.
The identifier supplied for the user, group, or resource does not exist in your organization.
You are performing an operation on a user, group, or resource that isn't in the expected state, such as trying to delete an active user.
Describes an EWS based availability provider.
The configuration applied to an organization's folders by its retention policy.
The representation of an WorkMail group.
The identifier that contains the Group ID and name of a group.
The impersonation rule that matched the input.
An impersonation role for the given WorkMail organization.
The rules for the given impersonation role.
The configuration for a resource isn't valid.
You SES configuration has customizations that WorkMail cannot save.
One or more of the input parameters don't match the service's restrictions.
The supplied password doesn't match the minimum security constraints, such as length or use of special characters.
Describes a Lambda based availability provider.
The request exceeds the limit of the resource.
Filtering options for ListGroups operation.
Filtering options for ListGroupsForEntity operation.
Filtering options for ListResources operation.
Filtering options for ListUsers operation.
The details of a mailbox export job, including the user or resource ID associated with the mailbox and the S3 bucket that the mailbox contents are exported to.
The domain you're trying to change is in use by another user or organization in your account.
The domain specified is not found in your organization.
After a domain has been added to the organization, it must be verified.
The data for a given domain.
The representation of a user or group.
The rule that a simulated user matches.
The override object.
A rule that controls access to mobile devices for an WorkMail group.
The user, group, or resource name isn't unique in WorkMail.
An operation received a valid organization identifier that either doesn't belong or exist in the system.
The organization must have a valid state to perform certain operations on the organization or its members.
The representation of an organization.
Permission granted to a user, group, or resource to access a certain aspect of another user, group, or resource mailbox.
Describes an EWS based availability provider when returned from the service.
This user, group, or resource name is not allowed in WorkMail.
The representation of a resource.
The resource cannot be found.
Describes a tag applied to a resource.
The resource can have up to 50 user-applied tags.
You can't perform a write operation against a read-only directory.
The representation of an WorkMail user.
WorkMail provides the API operation methods for making requests to Amazon WorkMail.