amazonka-workmail-1.6.1: Amazon WorkMail SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WorkMail

Contents

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 their native iOS and Android email applications. You can integrate Amazon 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 Amazon WorkMail API is designed for the following scenarios:

  • Listing and describing organizations
  • Managing users
  • Managing groups
  • Managing resources

All Amazon WorkMail API actions are Amazon-authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of IAM users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the Amazon WorkMail site, the IAM user gains full administrative visibility into the entire Amazon 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.

Synopsis

Service Configuration

workMail :: Service Source #

API version 2017-10-01 of the Amazon WorkMail SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by WorkMail.

DirectoryUnavailableException

_DirectoryUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The directory that you are trying to perform operations on isn't available.

InvalidParameterException

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

One or more of the input parameters don't match the service's restrictions.

UnsupportedOperationException

_UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You can't perform a write operation against a read-only directory.

DirectoryServiceAuthenticationFailedException

_DirectoryServiceAuthenticationFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Directory Service doesn't recognize the credentials supplied by the Amazon WorkMail service.

OrganizationStateException

_OrganizationStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its entities.

EntityStateException

_EntityStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You are performing an operation on an entity that isn't in the expected state, such as trying to update a deleted user.

InvalidConfigurationException

_InvalidConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The configuration for a resource isn't valid. A resource must either be able to auto-respond to requests or have at least one delegate associated that can do it on its behalf.

MailDomainStateException

_MailDomainStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

After a domain has been added to the organization, it must be verified. The domain is not yet verified.

ReservedNameException

_ReservedNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This entity name is not allowed in Amazon WorkMail.

OrganizationNotFoundException

_OrganizationNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An operation received a valid organization identifier that either doesn't belong or exist in the system.

EntityNotFoundException

_EntityNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The identifier supplied for the entity is valid, but it does not exist in your organization.

EntityAlreadyRegisteredException

_EntityAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The user, group, or resource that you're trying to register is already registered.

MailDomainNotFoundException

_MailDomainNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

For an email or alias to be created in Amazon WorkMail, the included domain must be defined in the organization.

EmailAddressInUseException

_EmailAddressInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The email address that you're trying to assign is already created for a different user, group, or resource.

NameAvailabilityException

_NameAvailabilityException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The entity (user, group, or user) name isn't unique in Amazon WorkMail.

InvalidPasswordException

_InvalidPasswordException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The supplied password doesn't match the minimum security constraints, such as length or use of special characters.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

UpdatePrimaryEmailAddress

DescribeResource

CreateAlias

ResetPassword

DescribeGroup

RegisterToWorkMail

ListAliases (Paginated)

PutMailboxPermissions

DeleteMailboxPermissions

ListUsers (Paginated)

AssociateMemberToGroup

DeleteResource

UpdateResource

DisassociateMemberFromGroup

ListResources (Paginated)

DeregisterFromWorkMail

ListMailboxPermissions

ListGroupMembers (Paginated)

DisassociateDelegateFromResource

ListResourceDelegates

DescribeUser

DeleteAlias

ListOrganizations (Paginated)

AssociateDelegateToResource

CreateUser

DeleteUser

CreateGroup

DeleteGroup

ListGroups (Paginated)

DescribeOrganization

CreateResource

Types

EntityState

data EntityState Source #

Constructors

Deleted 
Disabled 
Enabled 
Instances
Bounded EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Enum EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Eq EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Data EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EntityState -> c EntityState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EntityState #

toConstr :: EntityState -> Constr #

dataTypeOf :: EntityState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EntityState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EntityState) #

gmapT :: (forall b. Data b => b -> b) -> EntityState -> EntityState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EntityState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EntityState -> r #

gmapQ :: (forall d. Data d => d -> u) -> EntityState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EntityState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EntityState -> m EntityState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EntityState -> m EntityState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EntityState -> m EntityState #

Ord EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Read EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Show EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Generic EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Associated Types

type Rep EntityState :: Type -> Type #

Hashable EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromJSON EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToHeader EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToQuery EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToByteString EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromText EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToText EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

toText :: EntityState -> Text #

NFData EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

rnf :: EntityState -> () #

type Rep EntityState Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

type Rep EntityState = D1 (MetaData "EntityState" "Network.AWS.WorkMail.Types.Sum" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "Deleted" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type)))

MemberType

data MemberType Source #

Constructors

Group 
User 
Instances
Bounded MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Enum MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Eq MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Data MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MemberType -> c MemberType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MemberType #

toConstr :: MemberType -> Constr #

dataTypeOf :: MemberType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MemberType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MemberType) #

gmapT :: (forall b. Data b => b -> b) -> MemberType -> MemberType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MemberType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MemberType -> r #

gmapQ :: (forall d. Data d => d -> u) -> MemberType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MemberType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MemberType -> m MemberType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MemberType -> m MemberType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MemberType -> m MemberType #

Ord MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Read MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Show MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Generic MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Associated Types

type Rep MemberType :: Type -> Type #

Hashable MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromJSON MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToHeader MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToQuery MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToByteString MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromText MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToText MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

toText :: MemberType -> Text #

NFData MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

rnf :: MemberType -> () #

type Rep MemberType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

type Rep MemberType = D1 (MetaData "MemberType" "Network.AWS.WorkMail.Types.Sum" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "Group" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "User" PrefixI False) (U1 :: Type -> Type))

PermissionType

data PermissionType Source #

Instances
Bounded PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Enum PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Eq PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Data PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PermissionType -> c PermissionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PermissionType #

toConstr :: PermissionType -> Constr #

dataTypeOf :: PermissionType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PermissionType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PermissionType) #

gmapT :: (forall b. Data b => b -> b) -> PermissionType -> PermissionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PermissionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PermissionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PermissionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PermissionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PermissionType -> m PermissionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionType -> m PermissionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionType -> m PermissionType #

Ord PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Read PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Show PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Generic PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Associated Types

type Rep PermissionType :: Type -> Type #

Hashable PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToJSON PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromJSON PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToHeader PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToQuery PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToByteString PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromText PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToText PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

NFData PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

rnf :: PermissionType -> () #

type Rep PermissionType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

type Rep PermissionType = D1 (MetaData "PermissionType" "Network.AWS.WorkMail.Types.Sum" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "FullAccess" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SendAs" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SendOnBehalf" PrefixI False) (U1 :: Type -> Type)))

ResourceType

data ResourceType Source #

Constructors

Equipment 
Room 
Instances
Bounded ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Enum ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Eq ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Data ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResourceType -> c ResourceType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResourceType #

toConstr :: ResourceType -> Constr #

dataTypeOf :: ResourceType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ResourceType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResourceType) #

gmapT :: (forall b. Data b => b -> b) -> ResourceType -> ResourceType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResourceType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResourceType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResourceType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResourceType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResourceType -> m ResourceType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceType -> m ResourceType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceType -> m ResourceType #

Ord ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Read ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Show ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Generic ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Associated Types

type Rep ResourceType :: Type -> Type #

Hashable ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToJSON ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromJSON ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToHeader ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToQuery ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToByteString ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

FromText ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToText ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

toText :: ResourceType -> Text #

NFData ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

rnf :: ResourceType -> () #

type Rep ResourceType Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

type Rep ResourceType = D1 (MetaData "ResourceType" "Network.AWS.WorkMail.Types.Sum" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "Equipment" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Room" PrefixI False) (U1 :: Type -> Type))

UserRole

data UserRole Source #

Instances
Bounded UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Enum UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Eq UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Data UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserRole -> c UserRole #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserRole #

toConstr :: UserRole -> Constr #

dataTypeOf :: UserRole -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserRole) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserRole) #

gmapT :: (forall b. Data b => b -> b) -> UserRole -> UserRole #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserRole -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserRole -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserRole -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserRole -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserRole -> m UserRole #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserRole -> m UserRole #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserRole -> m UserRole #

Ord UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Read UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Show UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Generic UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Associated Types

type Rep UserRole :: Type -> Type #

Methods

from :: UserRole -> Rep UserRole x #

to :: Rep UserRole x -> UserRole #

Hashable UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

hashWithSalt :: Int -> UserRole -> Int #

hash :: UserRole -> Int #

FromJSON UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToHeader UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

toHeader :: HeaderName -> UserRole -> [Header] #

ToQuery UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToByteString UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

toBS :: UserRole -> ByteString #

FromText UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

ToText UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

toText :: UserRole -> Text #

NFData UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

Methods

rnf :: UserRole -> () #

type Rep UserRole Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Sum

type Rep UserRole = D1 (MetaData "UserRole" "Network.AWS.WorkMail.Types.Sum" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "URResource" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "URSystemUser" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "URUser" PrefixI False) (U1 :: Type -> Type)))

BookingOptions

data BookingOptions Source #

At least one delegate must be associated to the resource to disable automatic replies from the resource.

See: bookingOptions smart constructor.

Instances
Eq BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Data BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BookingOptions -> c BookingOptions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BookingOptions #

toConstr :: BookingOptions -> Constr #

dataTypeOf :: BookingOptions -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BookingOptions) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BookingOptions) #

gmapT :: (forall b. Data b => b -> b) -> BookingOptions -> BookingOptions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BookingOptions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BookingOptions -> r #

gmapQ :: (forall d. Data d => d -> u) -> BookingOptions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BookingOptions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BookingOptions -> m BookingOptions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BookingOptions -> m BookingOptions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BookingOptions -> m BookingOptions #

Read BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Generic BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep BookingOptions :: Type -> Type #

Hashable BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

ToJSON BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

FromJSON BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: BookingOptions -> () #

type Rep BookingOptions Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

type Rep BookingOptions = D1 (MetaData "BookingOptions" "Network.AWS.WorkMail.Types.Product" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "BookingOptions'" PrefixI True) (S1 (MetaSel (Just "_boAutoDeclineConflictingRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_boAutoDeclineRecurringRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_boAutoAcceptRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

bookingOptions :: BookingOptions Source #

Creates a value of BookingOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

boAutoDeclineConflictingRequests :: Lens' BookingOptions (Maybe Bool) Source #

The resource's ability to automatically decline any conflicting requests.

boAutoDeclineRecurringRequests :: Lens' BookingOptions (Maybe Bool) Source #

The resource's ability to automatically decline any recurring requests.

boAutoAcceptRequests :: Lens' BookingOptions (Maybe Bool) Source #

The resource's ability to automatically reply to requests. If disabled, delegates must be associated to the resource.

Delegate

data Delegate Source #

The name of the attribute, which is one of the values defined in the UserAttribute enumeration.

See: delegate smart constructor.

Instances
Eq Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Data Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Delegate -> c Delegate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Delegate #

toConstr :: Delegate -> Constr #

dataTypeOf :: Delegate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Delegate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Delegate) #

gmapT :: (forall b. Data b => b -> b) -> Delegate -> Delegate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Delegate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Delegate -> r #

gmapQ :: (forall d. Data d => d -> u) -> Delegate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Delegate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Delegate -> m Delegate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Delegate -> m Delegate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Delegate -> m Delegate #

Read Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Generic Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep Delegate :: Type -> Type #

Methods

from :: Delegate -> Rep Delegate x #

to :: Rep Delegate x -> Delegate #

Hashable Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

hashWithSalt :: Int -> Delegate -> Int #

hash :: Delegate -> Int #

FromJSON Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: Delegate -> () #

type Rep Delegate Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

type Rep Delegate = D1 (MetaData "Delegate" "Network.AWS.WorkMail.Types.Product" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "Delegate'" PrefixI True) (S1 (MetaSel (Just "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MemberType)))

delegate Source #

Arguments

:: Text

dId

-> MemberType

dType

-> Delegate 

Creates a value of Delegate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dId - The identifier for the user or group is associated as the resource's delegate.
  • dType - The type of the delegate: user or group.

dId :: Lens' Delegate Text Source #

The identifier for the user or group is associated as the resource's delegate.

dType :: Lens' Delegate MemberType Source #

The type of the delegate: user or group.

Group

data Group Source #

The representation of an Amazon WorkMail group.

See: group' smart constructor.

Instances
Eq Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

(==) :: Group -> Group -> Bool #

(/=) :: Group -> Group -> Bool #

Data Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Group -> c Group #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Group #

toConstr :: Group -> Constr #

dataTypeOf :: Group -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Group) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Group) #

gmapT :: (forall b. Data b => b -> b) -> Group -> Group #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r #

gmapQ :: (forall d. Data d => d -> u) -> Group -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Group -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Group -> m Group #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group #

Read Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

Hashable Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

FromJSON Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: Group -> () #

type Rep Group Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

group' :: Group Source #

Creates a value of Group with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gEmail - The email of the group.
  • gState - The state of the group, which can be ENABLED, DISABLED, or DELETED.
  • gDisabledDate - The date indicating when the group was disabled from Amazon WorkMail use.
  • gName - The name of the group.
  • gId - The identifier of the group.
  • gEnabledDate - The date indicating when the group was enabled for Amazon WorkMail use.

gEmail :: Lens' Group (Maybe Text) Source #

The email of the group.

gState :: Lens' Group (Maybe EntityState) Source #

The state of the group, which can be ENABLED, DISABLED, or DELETED.

gDisabledDate :: Lens' Group (Maybe UTCTime) Source #

The date indicating when the group was disabled from Amazon WorkMail use.

gName :: Lens' Group (Maybe Text) Source #

The name of the group.

gId :: Lens' Group (Maybe Text) Source #

The identifier of the group.

gEnabledDate :: Lens' Group (Maybe UTCTime) Source #

The date indicating when the group was enabled for Amazon WorkMail use.

Member

data Member Source #

The representation of a group member (user or group).

See: member smart constructor.

Instances
Eq Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

(==) :: Member -> Member -> Bool #

(/=) :: Member -> Member -> Bool #

Data Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Member -> c Member #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Member #

toConstr :: Member -> Constr #

dataTypeOf :: Member -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Member) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Member) #

gmapT :: (forall b. Data b => b -> b) -> Member -> Member #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Member -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Member -> r #

gmapQ :: (forall d. Data d => d -> u) -> Member -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Member -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Member -> m Member #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Member -> m Member #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Member -> m Member #

Read Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Generic Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep Member :: Type -> Type #

Methods

from :: Member -> Rep Member x #

to :: Rep Member x -> Member #

Hashable Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

hashWithSalt :: Int -> Member -> Int #

hash :: Member -> Int #

FromJSON Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: Member -> () #

type Rep Member Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

member :: Member Source #

Creates a value of Member with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mState - The state of the member, which can be ENABLED, DISABLED, or DELETED.
  • mDisabledDate - The date indicating when the member was disabled from Amazon WorkMail use.
  • mName - The name of the member.
  • mId - The identifier of the member.
  • mType - A member can be a user or group.
  • mEnabledDate - The date indicating when the member was enabled for Amazon WorkMail use.

mState :: Lens' Member (Maybe EntityState) Source #

The state of the member, which can be ENABLED, DISABLED, or DELETED.

mDisabledDate :: Lens' Member (Maybe UTCTime) Source #

The date indicating when the member was disabled from Amazon WorkMail use.

mName :: Lens' Member (Maybe Text) Source #

The name of the member.

mId :: Lens' Member (Maybe Text) Source #

The identifier of the member.

mType :: Lens' Member (Maybe MemberType) Source #

A member can be a user or group.

mEnabledDate :: Lens' Member (Maybe UTCTime) Source #

The date indicating when the member was enabled for Amazon WorkMail use.

OrganizationSummary

data OrganizationSummary Source #

The brief overview associated with an organization.

See: organizationSummary smart constructor.

Instances
Eq OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Data OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrganizationSummary -> c OrganizationSummary #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrganizationSummary #

toConstr :: OrganizationSummary -> Constr #

dataTypeOf :: OrganizationSummary -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrganizationSummary) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrganizationSummary) #

gmapT :: (forall b. Data b => b -> b) -> OrganizationSummary -> OrganizationSummary #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationSummary -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationSummary -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrganizationSummary -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrganizationSummary -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrganizationSummary -> m OrganizationSummary #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationSummary -> m OrganizationSummary #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationSummary -> m OrganizationSummary #

Read OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Generic OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep OrganizationSummary :: Type -> Type #

Hashable OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

FromJSON OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: OrganizationSummary -> () #

type Rep OrganizationSummary Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

type Rep OrganizationSummary = D1 (MetaData "OrganizationSummary" "Network.AWS.WorkMail.Types.Product" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "OrganizationSummary'" PrefixI True) ((S1 (MetaSel (Just "_osState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_osAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_osErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_osOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

organizationSummary :: OrganizationSummary Source #

Creates a value of OrganizationSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • osState - The state associated with the organization.
  • osAlias - The alias associated with the organization.
  • osErrorMessage - The error message associated with the organization. It is only present if unexpected behavior has occurred with regards to the organization. It provides insight or solutions regarding unexpected behavior.
  • osOrganizationId - The identifier associated with the organization.

osState :: Lens' OrganizationSummary (Maybe Text) Source #

The state associated with the organization.

osAlias :: Lens' OrganizationSummary (Maybe Text) Source #

The alias associated with the organization.

osErrorMessage :: Lens' OrganizationSummary (Maybe Text) Source #

The error message associated with the organization. It is only present if unexpected behavior has occurred with regards to the organization. It provides insight or solutions regarding unexpected behavior.

osOrganizationId :: Lens' OrganizationSummary (Maybe Text) Source #

The identifier associated with the organization.

Permission

data Permission Source #

Permission granted to an entity (user, group) to access a certain aspect of another entity's mailbox.

See: permission smart constructor.

Instances
Eq Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Data Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Permission -> c Permission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Permission #

toConstr :: Permission -> Constr #

dataTypeOf :: Permission -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Permission) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Permission) #

gmapT :: (forall b. Data b => b -> b) -> Permission -> Permission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Permission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Permission -> r #

gmapQ :: (forall d. Data d => d -> u) -> Permission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Permission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Permission -> m Permission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Permission -> m Permission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Permission -> m Permission #

Read Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Generic Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep Permission :: Type -> Type #

Hashable Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

FromJSON Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: Permission -> () #

type Rep Permission Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

type Rep Permission = D1 (MetaData "Permission" "Network.AWS.WorkMail.Types.Product" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "Permission'" PrefixI True) (S1 (MetaSel (Just "_pGranteeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pGranteeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MemberType) :*: S1 (MetaSel (Just "_pPermissionValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [PermissionType]))))

permission Source #

Creates a value of Permission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pGranteeId - The identifier of the entity (user or group) to which the permissions are granted.
  • pGranteeType - The type of entity (user, group) of the entity referred to in GranteeId.
  • pPermissionValues - The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.

pGranteeId :: Lens' Permission Text Source #

The identifier of the entity (user or group) to which the permissions are granted.

pGranteeType :: Lens' Permission MemberType Source #

The type of entity (user, group) of the entity referred to in GranteeId.

pPermissionValues :: Lens' Permission [PermissionType] Source #

The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.

Resource

data Resource Source #

The overview for a resource containing relevant data regarding it.

See: resource smart constructor.

Instances
Eq Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Data Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Resource -> c Resource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Resource #

toConstr :: Resource -> Constr #

dataTypeOf :: Resource -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Resource) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Resource) #

gmapT :: (forall b. Data b => b -> b) -> Resource -> Resource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r #

gmapQ :: (forall d. Data d => d -> u) -> Resource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Resource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

Read Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Generic Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Hashable Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: Resource -> () #

type Rep Resource Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

resource :: Resource Source #

Creates a value of Resource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rEmail - The email of the resource.
  • rState - The state of the resource, which can be ENABLED, DISABLED, or DELETED.
  • rDisabledDate - The date indicating when the resource was disabled from Amazon WorkMail use.
  • rName - The name of the resource.
  • rId - The identifier of the resource.
  • rType - The type of the resource: equipment or room.
  • rEnabledDate - The date indicating when the resource was enabled for Amazon WorkMail use.

rEmail :: Lens' Resource (Maybe Text) Source #

The email of the resource.

rState :: Lens' Resource (Maybe EntityState) Source #

The state of the resource, which can be ENABLED, DISABLED, or DELETED.

rDisabledDate :: Lens' Resource (Maybe UTCTime) Source #

The date indicating when the resource was disabled from Amazon WorkMail use.

rName :: Lens' Resource (Maybe Text) Source #

The name of the resource.

rId :: Lens' Resource (Maybe Text) Source #

The identifier of the resource.

rType :: Lens' Resource (Maybe ResourceType) Source #

The type of the resource: equipment or room.

rEnabledDate :: Lens' Resource (Maybe UTCTime) Source #

The date indicating when the resource was enabled for Amazon WorkMail use.

User

data User Source #

The representation of an Amazon WorkMail user.

See: user smart constructor.

Instances
Eq User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Data User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> User -> c User #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User #

toConstr :: User -> Constr #

dataTypeOf :: User -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) #

gmapT :: (forall b. Data b => b -> b) -> User -> User #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r #

gmapQ :: (forall d. Data d => d -> u) -> User -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User #

Read User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Show User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

Hashable User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

hashWithSalt :: Int -> User -> Int #

hash :: User -> Int #

FromJSON User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

NFData User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

Methods

rnf :: User -> () #

type Rep User Source # 
Instance details

Defined in Network.AWS.WorkMail.Types.Product

user :: User Source #

Creates a value of User with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uEmail - The email of the user.
  • uState - The state of the user, which can be ENABLED, DISABLED, or DELETED.
  • uDisabledDate - The date indicating when the user was disabled from Amazon WorkMail use.
  • uName - The name of the user.
  • uId - The identifier of the user.
  • uDisplayName - The display name of the user.
  • uUserRole - The role of the user.
  • uEnabledDate - The date indicating when the user was enabled for Amazon WorkMail use.

uEmail :: Lens' User (Maybe Text) Source #

The email of the user.

uState :: Lens' User (Maybe EntityState) Source #

The state of the user, which can be ENABLED, DISABLED, or DELETED.

uDisabledDate :: Lens' User (Maybe UTCTime) Source #

The date indicating when the user was disabled from Amazon WorkMail use.

uName :: Lens' User (Maybe Text) Source #

The name of the user.

uId :: Lens' User (Maybe Text) Source #

The identifier of the user.

uDisplayName :: Lens' User (Maybe Text) Source #

The display name of the user.

uUserRole :: Lens' User (Maybe UserRole) Source #

The role of the user.

uEnabledDate :: Lens' User (Maybe UTCTime) Source #

The date indicating when the user was enabled for Amazon WorkMail use.